diff --git a/includes/remarks/System.IO.Compression/ZipArchive/ZipArchive.md b/includes/remarks/System.IO.Compression/ZipArchive/ZipArchive.md index 4012e408b97..4361957ded0 100644 --- a/includes/remarks/System.IO.Compression/ZipArchive/ZipArchive.md +++ b/includes/remarks/System.IO.Compression/ZipArchive/ZipArchive.md @@ -19,14 +19,14 @@ If you reference the `System.IO.Compression.FileSystem` assembly in your project The first example shows how to create a new entry and write to it by using a stream. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/CreateEntry/program1.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/vb/program1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/CreateEntry/program1.vb" id="Snippet1"::: The following example shows how to open a zip archive and iterate through the collection of entries. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/Entries/program1.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program1.vb" id="Snippet1"::: The third example shows how to use extension methods to create a new entry in a zip archive from an existing file and extract the archive contents. You must reference the `System.IO.Compression.FileSystem` assembly to execute the code. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/Entries/program3.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program3.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program3.vb" id="Snippet3"::: diff --git a/includes/remarks/System.IO.Compression/ZipArchiveEntry/FullName.md b/includes/remarks/System.IO.Compression/ZipArchiveEntry/FullName.md index 2e31e6b32d2..c669c3c31d9 100644 --- a/includes/remarks/System.IO.Compression/ZipArchiveEntry/FullName.md +++ b/includes/remarks/System.IO.Compression/ZipArchiveEntry/FullName.md @@ -7,4 +7,4 @@ You can specify any string as the path of an entry, including strings that speci The following example shows how to iterate through the contents of a .zip file, and extract files that contain the .txt extension. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/Entries/program1.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program1.vb" id="Snippet1"::: diff --git a/includes/remarks/System.IO.Compression/ZipArchiveEntry/LastWriteTime.md b/includes/remarks/System.IO.Compression/ZipArchiveEntry/LastWriteTime.md index ab2005cb2aa..e78d01eb5e3 100644 --- a/includes/remarks/System.IO.Compression/ZipArchiveEntry/LastWriteTime.md +++ b/includes/remarks/System.IO.Compression/ZipArchiveEntry/LastWriteTime.md @@ -7,4 +7,4 @@ When you set this property, the value is converted The following example shows how to open an entry in a zip archive, modify it, and set the property to the current time. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/GetEntry/program2.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/vb/program2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/GetEntry/program2.vb" id="Snippet2"::: diff --git a/includes/remarks/System.IO.Compression/ZipArchiveEntry/Name.md b/includes/remarks/System.IO.Compression/ZipArchiveEntry/Name.md index d3bee1e9795..185898facf6 100644 --- a/includes/remarks/System.IO.Compression/ZipArchiveEntry/Name.md +++ b/includes/remarks/System.IO.Compression/ZipArchiveEntry/Name.md @@ -5,4 +5,4 @@ The property contains the p The following example shows how to retrieve entries from a zip archive and evaluate the properties of the entries. It uses the property to display the name of the entry, and the and properties to calculate how much the file was compressed. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/GetEntry/program1.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/vb/program1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/GetEntry/program1.vb" id="Snippet1"::: diff --git a/includes/remarks/System.IO.Compression/ZipArchiveEntry/ZipArchiveEntry.md b/includes/remarks/System.IO.Compression/ZipArchiveEntry/ZipArchiveEntry.md index e7ef401ec9c..2d2ee597580 100644 --- a/includes/remarks/System.IO.Compression/ZipArchiveEntry/ZipArchiveEntry.md +++ b/includes/remarks/System.IO.Compression/ZipArchiveEntry/ZipArchiveEntry.md @@ -19,9 +19,9 @@ If you reference the `System.IO.Compression.FileSystem` assembly in your project The first example shows how to create a new entry in a zip archive and write to it. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/CreateEntry/program1.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/vb/program1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/CreateEntry/program1.vb" id="Snippet1"::: The second example shows how to use the extension method. You must reference the `System.IO.Compression.FileSystem` assembly in your project for the code to execute. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/Entries/program1.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program1.vb" id="Snippet1"::: diff --git a/includes/remarks/System.IO.Compression/ZipArchiveMode/ZipArchiveMode.md b/includes/remarks/System.IO.Compression/ZipArchiveMode/ZipArchiveMode.md index 47c1ca5e954..82e41ac61ee 100644 --- a/includes/remarks/System.IO.Compression/ZipArchiveMode/ZipArchiveMode.md +++ b/includes/remarks/System.IO.Compression/ZipArchiveMode/ZipArchiveMode.md @@ -17,4 +17,4 @@ The following methods include a parameter named `mode` that lets you specify the The following example shows how to specify a `ZipArchiveMode` value when creating a object. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/CreateEntry/program1.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/vb/program1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/CreateEntry/program1.vb" id="Snippet1"::: diff --git a/includes/remarks/System.IO.Compression/ZipFile/ZipFile.md b/includes/remarks/System.IO.Compression/ZipFile/ZipFile.md index 6aed81e7576..489afac7817 100644 --- a/includes/remarks/System.IO.Compression/ZipFile/ZipFile.md +++ b/includes/remarks/System.IO.Compression/ZipFile/ZipFile.md @@ -3,15 +3,15 @@ The methods for manipulating zip archives and their files are spread across three classes: , , and . -|To...|Use...| -|---------|----------| -|Create a zip archive from a directory|| -|Extract the contents of a zip archive to a directory|| -|Add new files to an existing zip archive|| -|Retrieve a file in a zip archive|| -|Retrieve all of the files in a zip archive|| -|To open a stream to an individual file contained in a zip archive|| -|Delete a file from a zip archive|| +| To... | Use... | +|---------------------------------------|--------| +| Create a zip archive from a directory | | +| Extract the contents of a zip archive to a directory | | +| Add new files to an existing zip archive | | +| Retrieve a file in a zip archive | | +| Retrieve all of the files in a zip archive | | +| Open a stream to an individual file contained in a zip archive| | +| Delete a file from a zip archive | | ## Examples diff --git a/includes/remarks/System.IO.Compression/ZipFileExtensions/ZipFileExtensions.md b/includes/remarks/System.IO.Compression/ZipFileExtensions/ZipFileExtensions.md index 927c25a2ab8..eea3bc321eb 100644 --- a/includes/remarks/System.IO.Compression/ZipFileExtensions/ZipFileExtensions.md +++ b/includes/remarks/System.IO.Compression/ZipFileExtensions/ZipFileExtensions.md @@ -23,10 +23,9 @@ The class contains two methods th The following example shows how to create a new entry in a zip archive from an existing file, and extract the contents of the archive to a directory. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/Entries/program3.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program3.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program3.vb" id="Snippet3"::: The following example shows how to iterate through the contents of a zip archive and extract files that have a .txt extension. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/Entries/program1.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program1.vb" id="Snippet1"::: - \ No newline at end of file +:::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program1.vb" id="Snippet1"::: diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeDom_GenerateCodeFromMember/vb/module1.vb b/snippets/visualbasic/Microsoft.CSharp/CSharpCodeProvider/GenerateCodeFromMember/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeDom_GenerateCodeFromMember/vb/module1.vb rename to snippets/visualbasic/Microsoft.CSharp/CSharpCodeProvider/GenerateCodeFromMember/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeDom_CodeProviders/VB/source.vb b/snippets/visualbasic/Microsoft.CSharp/CSharpCodeProvider/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeDom_CodeProviders/VB/source.vb rename to snippets/visualbasic/Microsoft.CSharp/CSharpCodeProvider/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/Aggregate1.vb b/snippets/visualbasic/Microsoft.SqlServer.Server/SqlFunctionAttribute/Name/Aggregate1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/Aggregate1.vb rename to snippets/visualbasic/Microsoft.SqlServer.Server/SqlFunctionAttribute/Name/Aggregate1.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/Function1.vb b/snippets/visualbasic/Microsoft.SqlServer.Server/SqlFunctionAttribute/Name/Function1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/Function1.vb rename to snippets/visualbasic/Microsoft.SqlServer.Server/SqlFunctionAttribute/Name/Function1.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/InsertCurrency.vb b/snippets/visualbasic/Microsoft.SqlServer.Server/SqlFunctionAttribute/Name/InsertCurrency.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/InsertCurrency.vb rename to snippets/visualbasic/Microsoft.SqlServer.Server/SqlFunctionAttribute/Name/InsertCurrency.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/Test.sql b/snippets/visualbasic/Microsoft.SqlServer.Server/SqlFunctionAttribute/Name/Test.sql similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/Test.sql rename to snippets/visualbasic/Microsoft.SqlServer.Server/SqlFunctionAttribute/Name/Test.sql diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/Trigger1.vb b/snippets/visualbasic/Microsoft.SqlServer.Server/SqlFunctionAttribute/Name/Trigger1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/Trigger1.vb rename to snippets/visualbasic/Microsoft.SqlServer.Server/SqlFunctionAttribute/Name/Trigger1.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/Type1.vb b/snippets/visualbasic/Microsoft.SqlServer.Server/SqlFunctionAttribute/Name/Type1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/Type1.vb rename to snippets/visualbasic/Microsoft.SqlServer.Server/SqlFunctionAttribute/Name/Type1.vb diff --git a/snippets/visualbasic/Microsoft.SqlServer.Server/SqlFunctionAttribute/Name/VB.vbproj b/snippets/visualbasic/Microsoft.SqlServer.Server/SqlFunctionAttribute/Name/VB.vbproj new file mode 100644 index 00000000000..cfcf572daf6 --- /dev/null +++ b/snippets/visualbasic/Microsoft.SqlServer.Server/SqlFunctionAttribute/Name/VB.vbproj @@ -0,0 +1,9 @@ + + + + + Library + net481 + + + diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/Form1.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/Form1.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Form1.resx b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Form1.resx rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/Form1.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/Form1.vb similarity index 96% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/Form1.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/Form1.vb index 4d570259e7d..fe076390244 100644 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/Form1.vb +++ b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/Form1.vb @@ -3,6 +3,10 @@ Option Strict On Public Class Form1 + Public Shared Sub Main() + + End Sub + Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ' SetFormTitle() ' SetFormIcon() @@ -80,7 +84,7 @@ Public Class Form1 ' Sub PlayFormGreeting() - My.Computer.Audio.Play(My.Resources.Form1Greeting, + My.Computer.Audio.Play(My.Resources.Form1Greeting, AudioPlayMode.Background) End Sub ' diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/My Project/ApplicationEvents.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/My Project/ApplicationEvents.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/My Project/ApplicationEvents.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/My Project/ApplicationEvents.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/My Project/Resources.resx b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/My Project/Resources.resx rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/My Project/Settings.settings b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/My Project/Settings.settings rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/My Project/Settings.settings diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/Resources.fr-FR.resx b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/Resources.fr-FR.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/Resources.fr-FR.resx rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/Resources.fr-FR.resx diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/Resources/hermes.ico b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/Resources/hermes.ico similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/Resources/hermes.ico rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/Resources/hermes.ico diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Resources/tada.wav b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/Resources/tada.wav similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Resources/tada.wav rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/Resources/tada.wav diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/Resources/tpevening.jpg b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/Resources/tpevening.jpg similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/Resources/tpevening.jpg rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/Resources/tpevening.jpg diff --git a/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/VbVbalrMyResources2.vbproj b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/VbVbalrMyResources2.vbproj new file mode 100644 index 00000000000..16d52facc37 --- /dev/null +++ b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/VbVbalrMyResources2.vbproj @@ -0,0 +1,11 @@ + + + Exe + net481-windows + true + true + + + + + diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/app.config b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/app.config similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/app.config rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/app.config diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/FakeMyEvents.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/FakeMyEvents.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/FakeMyEvents.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/FakeMyEvents.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.resx b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.resx rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form2.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form2.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form2.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form2.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form2.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form2.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form2.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/My Project/MyApplication.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/My Project/MyApplication.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/My Project/MyApplication.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/My Project/MyApplication.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/My Project/MyApplication.myapp b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/My Project/MyApplication.myapp similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/My Project/MyApplication.myapp rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/My Project/MyApplication.myapp diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/My Project/MyEvents.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/My Project/MyEvents.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/My Project/MyEvents.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/My Project/MyEvents.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/My Project/MyResources.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/My Project/MyResources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/My Project/MyResources.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/My Project/MyResources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/My Project/MyResources.resx b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/My Project/MyResources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/My Project/MyResources.resx rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/My Project/MyResources.resx diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/My Project/MyResources.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/My Project/MyResources.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/My Project/MyResources.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/My Project/MyResources.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/My Project/MySettings.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/My Project/MySettings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/My Project/MySettings.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/My Project/MySettings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/My Project/MySettings.settings b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/My Project/MySettings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/My Project/MySettings.settings rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/My Project/MySettings.settings diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Reflectors.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Reflectors.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Reflectors.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Reflectors.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/SplashScreen1.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/SplashScreen1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/SplashScreen1.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/SplashScreen1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/SplashScreen1.resx b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/SplashScreen1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/SplashScreen1.resx rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/SplashScreen1.resx diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/SplashScreen1.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/SplashScreen1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/SplashScreen1.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/SplashScreen1.vb diff --git a/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/VbVbalrMyApplication.vbproj b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/VbVbalrMyApplication.vbproj new file mode 100644 index 00000000000..ab5beeb5834 --- /dev/null +++ b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/VbVbalrMyApplication.vbproj @@ -0,0 +1,7 @@ + + + Exe + net481-windows + true + + diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/app.config b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/app.config similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/app.config rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/app.config diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/Class1.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/Class1.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/Form1.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/Form1.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/Form1.resx b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/Form1.resx rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/Form1.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/Form1.vb similarity index 88% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/Form1.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/Form1.vb index 49891fa6704..211f013370c 100644 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/Form1.vb +++ b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/Form1.vb @@ -6,9 +6,15 @@ Option Strict On Public Class Form1 + Dim loginForm As LoginForm1 + + Public Shared Sub Main() + + End Sub + Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ' - My.Forms.LoginForm1.ShowDialog() + loginForm.ShowDialog() ' Check if the user was authenticated. If My.User.IsAuthenticated Then Me.Label1.Text = "Authenticated " & My.User.Name diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/LoginForm1.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/LoginForm1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/LoginForm1.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/LoginForm1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/LoginForm1.resx b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/LoginForm1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/LoginForm1.resx rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/LoginForm1.resx diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/LoginForm1.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/LoginForm1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/LoginForm1.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/LoginForm1.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/My Project/ApplicationEvents.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/My Project/ApplicationEvents.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/My Project/ApplicationEvents.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/My Project/ApplicationEvents.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/My Project/Resources.resx b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/My Project/Resources.resx rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/My Project/Settings.settings b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/My Project/Settings.settings rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/My Project/Settings.settings diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/SampleIIdentity.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/SampleIIdentity.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/SampleIIdentity.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/SampleIIdentity.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/SampleIPrincipal.vb b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/SampleIPrincipal.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/SampleIPrincipal.vb rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/SampleIPrincipal.vb diff --git a/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/VbVbalrMyUser.vbproj b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/VbVbalrMyUser.vbproj new file mode 100644 index 00000000000..16d52facc37 --- /dev/null +++ b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/VbVbalrMyUser.vbproj @@ -0,0 +1,11 @@ + + + Exe + net481-windows + true + true + + + + + diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/app.config b/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/app.config similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/app.config rename to snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/app.config diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb b/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb similarity index 77% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb rename to snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb index a03c81cd05a..ce92a2a3789 100644 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb +++ b/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb @@ -1,7 +1,11 @@ Option Strict On Option Explicit On +Imports System.Windows.Forms Class Class1 + Public Shared Sub Main() + End Sub + Public Sub testClock() ' MsgBox("Current local time: " & My.Computer.Clock.LocalTime) @@ -18,18 +22,18 @@ Class Class1 Loop End Sub - Private Function IsTimeUp( - ByVal startTicks As Integer, - ByVal seconds As Integer + Private Function IsTimeUp( + ByVal startTicks As Integer, + ByVal seconds As Integer ) As Boolean ' This function throws an overflow exception if the ' tick count difference is greater than 2,147,483,647, ' about 24 days for My.Computer.Clock.TickCount. ' Use UInteger to simplify the code for roll over. - Dim uStart As UInteger = + Dim uStart As UInteger = CUInt(CLng(startTicks) - Integer.MinValue) - Dim uCurrent As UInteger = + Dim uCurrent As UInteger = CUInt(CLng(My.Computer.Clock.TickCount) - Integer.MinValue) ' Calculate the tick count difference. @@ -52,42 +56,42 @@ Class Class1 ' Sub PlaySystemSound() - My.Computer.Audio.PlaySystemSound( + My.Computer.Audio.PlaySystemSound( System.Media.SystemSounds.Asterisk) End Sub ' ' Sub PlayBackgroundSoundResource() - My.Computer.Audio.Play(My.Resources.Waterfall, + My.Computer.Audio.Play(My.Resources.Waterfall, AudioPlayMode.WaitToComplete) End Sub ' ' Sub PlayBackgroundSoundFile() - My.Computer.Audio.Play("C:\Waterfall.wav", + My.Computer.Audio.Play("C:\Waterfall.wav", AudioPlayMode.WaitToComplete) End Sub ' ' Sub PlaySoundResource() - My.Computer.Audio.Play(My.Resources.Waterfall, + My.Computer.Audio.Play(My.Resources.Waterfall, AudioPlayMode.WaitToComplete) End Sub ' ' Sub PlaySoundFile() - My.Computer.Audio.Play("C:\Waterfall.wav", + My.Computer.Audio.Play("C:\Waterfall.wav", AudioPlayMode.WaitToComplete) End Sub ' ' Sub PlayLoopingBackgroundSoundResource() - My.Computer.Audio.Play(My.Resources.Waterfall, + My.Computer.Audio.Play(My.Resources.Waterfall, AudioPlayMode.BackgroundLoop) End Sub ' @@ -95,7 +99,7 @@ Class Class1 ' ' Sub PlayLoopingBackgroundSoundFile() - My.Computer.Audio.Play("C:\Waterfall.wav", + My.Computer.Audio.Play("C:\Waterfall.wav", AudioPlayMode.BackgroundLoop) End Sub ' @@ -121,35 +125,35 @@ Class Class1 MsgBox("Computer name: " & My.Computer.Name) ' ' - MsgBox("Computer's available physical memory: " & + MsgBox("Computer's available physical memory: " & My.Computer.Info.AvailablePhysicalMemory) ' ' - MsgBox("Computer's available virtual memory: " & + MsgBox("Computer's available virtual memory: " & My.Computer.Info.AvailableVirtualMemory) ' ' - MsgBox("Computer's UI culture name: " & + MsgBox("Computer's UI culture name: " & My.Computer.Info.InstalledUICulture.DisplayName) ' ' - MsgBox("Computer's operating system name: " & + MsgBox("Computer's operating system name: " & My.Computer.Info.OSFullName) ' ' - MsgBox("Computer's operating system platform: " & + MsgBox("Computer's operating system platform: " & My.Computer.Info.OSPlatform) ' ' - MsgBox("Computer's operating system version: " & + MsgBox("Computer's operating system version: " & My.Computer.Info.OSVersion) ' ' - MsgBox("Computer's available physical memory: " & + MsgBox("Computer's available physical memory: " & My.Computer.Info.TotalPhysicalMemory) ' ' - MsgBox("Computer's available virtual memory: " & + MsgBox("Computer's available virtual memory: " & My.Computer.Info.TotalVirtualMemory) ' diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb b/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb similarity index 78% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb rename to snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb index 32129a349e7..4661bfd2afb 100644 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb +++ b/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb @@ -1,5 +1,8 @@ Option Explicit On Option Strict On +Imports System.Windows.Forms + + '''''''''''''''' ' Keyboard @@ -7,7 +10,7 @@ Option Strict On Namespace Keyboard Class Class0746a247f57e45fc93b7de462bef9206 - + Public Sub Method23() ' 0746a247-f57e-45fc-93b7-de462bef9206 ' My.Computer.Keyboard.AltKeyDown Property @@ -18,7 +21,7 @@ Namespace Keyboard MsgBox("ALT key up") End If ' - + ' 3a08efec-d444-4200-9341-fff79474d0cc ' My.Computer.Keyboard.ScrollLock Property ' @@ -121,7 +124,7 @@ Namespace Keyboard End Sub End Class - + End Namespace '''''''''''''''' @@ -136,7 +139,7 @@ Namespace Ports ' Sub DialModem() ' Dial a number via an attached modem on COM1. - Using com1 As IO.Ports.SerialPort = + Using com1 As IO.Ports.SerialPort = My.Computer.Ports.OpenSerialPort("COM1", 9600) ' com1.DtrEnable = True @@ -151,7 +154,7 @@ Namespace Ports Public Sub Method28() ' - Using com1 As IO.Ports.SerialPort = + Using com1 As IO.Ports.SerialPort = My.Computer.Ports.OpenSerialPort("COM1", 9600) End Using ' @@ -172,7 +175,7 @@ Namespace Ports ' Sub SendSerialData(ByVal data As String) ' Send strings to a serial port. - Using com1 As IO.Ports.SerialPort = + Using com1 As IO.Ports.SerialPort = My.Computer.Ports.OpenSerialPort("COM1") com1.WriteLine(data) End Using @@ -184,71 +187,71 @@ Namespace Ports ' 8371ce2c-e1c7-476b-a86d-9afc2614b6b7 ' How to: Receive Strings From Serial Ports in Visual Basic - ' - Function ReceiveSerialData() As String - ' Receive strings from a serial port. - ' - Dim returnStr As String = "" - ' - - Dim com1 As IO.Ports.SerialPort = Nothing - Try - com1 = My.Computer.Ports.OpenSerialPort("COM1") - com1.ReadTimeout = 10000 + ' + Function ReceiveSerialData() As String + ' Receive strings from a serial port. + ' + Dim returnStr As String = "" + ' + + Dim com1 As IO.Ports.SerialPort = Nothing + Try + com1 = My.Computer.Ports.OpenSerialPort("COM1") + com1.ReadTimeout = 10000 + Do + ' + Dim Incoming As String = com1.ReadLine() + ' + If Incoming Is Nothing Then + Exit Do + ' + Else + returnStr &= Incoming & vbCrLf + ' + End If + Loop + Catch ex As TimeoutException + returnStr = "Error: Serial Port read timed out." + Finally + If com1 IsNot Nothing Then com1.Close() + End Try + + ' + Return returnStr + ' + End Function + ' + + Public Sub Method39() + Dim returnStr As String + Do - ' - Dim Incoming As String = com1.ReadLine() - ' + Dim Incoming As String = "" + ' If Incoming Is Nothing Then Exit Do - ' - Else - returnStr &= Incoming & vbCrLf - ' End If + ' Loop - Catch ex As TimeoutException - returnStr = "Error: Serial Port read timed out." - Finally - If com1 IsNot Nothing Then com1.Close() - End Try - - ' - Return returnStr - ' - End Function - ' - - Public Sub Method39() - Dim returnStr As String - - Do - Dim Incoming As String = "" - ' - If Incoming Is Nothing Then - Exit Do - End If - ' - Loop - - ' - Dim com1 As IO.Ports.SerialPort = Nothing - Try - com1 = My.Computer.Ports.OpenSerialPort("COM1") - com1.ReadTimeout = 10000 - - Catch ex As TimeoutException - returnStr = "Error: Serial Port read timed out." - Finally - If com1 IsNot Nothing Then com1.Close() - End Try - ' - - ' - Do - Loop - ' - End Sub + + ' + Dim com1 As IO.Ports.SerialPort = Nothing + Try + com1 = My.Computer.Ports.OpenSerialPort("COM1") + com1.ReadTimeout = 10000 + + Catch ex As TimeoutException + returnStr = "Error: Serial Port read timed out." + Finally + If com1 IsNot Nothing Then com1.Close() + End Try + ' + + ' + Do + Loop + ' + End Sub End Class @@ -291,10 +294,10 @@ Namespace Mouse If My.Computer.Mouse.WheelExists Then Dim lines As Integer = My.Computer.Mouse.WheelScrollLines If lines > 0 Then - MsgBox("Application scrolls " & + MsgBox("Application scrolls " & lines & " line(s) for each wheel turn.") Else - MsgBox("Application scrolls " & + MsgBox("Application scrolls " & (-lines) & " page(s) for each wheel turn.") End If Else diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Form1.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Form1.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/Form1.resx b/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/Form1.resx rename to snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Form1.vb b/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Form1.vb rename to snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/MyResources.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/My Project/MyResources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/MyResources.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/My Project/MyResources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/MyResources.resx b/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/My Project/MyResources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/MyResources.resx rename to snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/My Project/MyResources.resx diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/My Project/Resources.resx b/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/My Project/Resources.resx rename to snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/Resources/tada.wav b/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Resources/tada.wav similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/Resources/tada.wav rename to snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Resources/tada.wav diff --git a/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/VbVbalrMyComputer.vbproj b/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/VbVbalrMyComputer.vbproj new file mode 100644 index 00000000000..7c8a39236e7 --- /dev/null +++ b/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/VbVbalrMyComputer.vbproj @@ -0,0 +1,7 @@ + + + WinExe + net481-windows + true + + diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/app.config b/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/app.config similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/app.config rename to snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/app.config diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyClipboard/VB/Class1.vb b/snippets/visualbasic/Microsoft.VisualBasic.Devices/Computer/Clipboard/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyClipboard/VB/Class1.vb rename to snippets/visualbasic/Microsoft.VisualBasic.Devices/Computer/Clipboard/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb b/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb rename to snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb b/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb rename to snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyRegistry/VB/Class1.vb b/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/Registry/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyRegistry/VB/Class1.vb rename to snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/Registry/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb b/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb rename to snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTextFieldParser/VB/Class1.vb b/snippets/visualbasic/Microsoft.VisualBasic.FileIO/TextFieldParser/Overview/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTextFieldParser/VB/Class1.vb rename to snippets/visualbasic/Microsoft.VisualBasic.FileIO/TextFieldParser/Overview/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefClipbd/VB/Class1.vb b/snippets/visualbasic/Microsoft.VisualBasic.MyServices/ClipboardProxy/ContainsAudio/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbRefClipbd/VB/Class1.vb rename to snippets/visualbasic/Microsoft.VisualBasic.MyServices/ClipboardProxy/ContainsAudio/Class1.vb diff --git a/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Class1.vb b/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Class1.vb new file mode 100644 index 00000000000..798ea1fdba5 --- /dev/null +++ b/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Class1.vb @@ -0,0 +1,140 @@ +Public Class Class1 + + Public Shared Sub Main() + End Sub + + '**************************************************************************** + Shared Sub TestGetEnumerator() + ' + Dim customers As New Collection + ' Insert code to add elements to the customers collection. + Dim custEnum As IEnumerator = customers.GetEnumerator() + custEnum.Reset() + Dim thisCustomer As Object + While custEnum.MoveNext() + thisCustomer = custEnum.Current() + ' Insert code to process this element of the collection. + End While + ' + End Sub + + '**************************************************************************** + Shared Sub BirthdayCollection() + ' + Dim birthdays As New Collection() + birthdays.Add(New DateTime(2001, 1, 12), "Bill") + birthdays.Add(New DateTime(2001, 1, 13), "Joe") + birthdays.Add(New DateTime(2001, 1, 14), "Mike") + birthdays.Add(New DateTime(2001, 1, 15), "Pete") + ' + + ' + MsgBox("Number of birthdays in collection: " & CStr(birthdays.Count)) + ' + + ' + Dim aBirthday As DateTime + aBirthday = birthdays.Item("Bill") + MsgBox(CStr(aBirthday)) + aBirthday = birthdays("Bill") + MsgBox(CStr(aBirthday)) + ' + + ' + birthdays.Remove(1) + birthdays.Remove("Mike") + ' + + MsgBox("Number of birthdays in collection: " & CStr(birthdays.Count)) + End Sub + + + '**************************************************************************** + Class Customer + Private _accountNumber As String + Public Property accountNumber() As String + Get + Return _accountNumber + End Get + Set(ByVal value As String) + _accountNumber = value + End Set + End Property + End Class + + + '**************************************************************************** + Shared Sub TestContains() + Dim newCustomer As New Customer + + ' + Dim customers As New Microsoft.VisualBasic.Collection() + Dim accountNumber As String = "1234" + ' Insert code that obtains new customer objects. + ' Use the new customer's account number as the key. + customers.Add(newCustomer, accountNumber) + ' The preceding statements can be repeated for several customers. + Dim searchNumber As String = "1234" + ' Insert code to obtain an account number to search for. + If customers.Contains(searchNumber) Then + MsgBox("The desired customer is in the collection.") + Else + MsgBox("The desired customer is not in the collection.") + End If + ' + + End Sub + + + '**************************************************************************** + Shared Function TestClear() As Integer + ' + Dim customers As New Microsoft.VisualBasic.Collection() + ' Insert code that adds customers to collection. + customers.Clear() + ' + + Return customers.Count + End Function + + + '**************************************************************************** + ' + Public Class nameClass + Public instanceName As String + End Class + Sub classNamer() + ' Create a Visual Basic Collection object. + Dim names As New Microsoft.VisualBasic.Collection() + Dim key As Integer + Dim msg As String + Dim name As String + Dim nameList As String = "" + ' 1. Get names from the user to add to the collection. + Do + Dim inst As New nameClass() + key += 1 + msg = "Please enter a name for this object." & vbCrLf & + "Press Cancel to see names in collection." + name = InputBox(msg, "Name the Collection items") + inst.instanceName = name + ' If user entered a name, add it to the collection. + If inst.instanceName <> "" Then + names.Add(inst, CStr(key)) + End If + Loop Until name = "" + ' 2. Create and display a list of names from the collection. + For Each oneInst As nameClass In names + nameList &= oneInst.instanceName & vbCrLf + Next oneInst + MsgBox(nameList, , "Instance Names in names Collection") + ' 3. Remove elements from the collection without disposing of the collection. + For count As Integer = 1 To names.Count + names.Remove(1) + ' Since Visual Basic collections are reindexed automatically, + ' remove the first member on each iteration. + Next count + End Sub + ' + +End Class diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Class2.vb b/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Class2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Class2.vb rename to snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Class2.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Form1.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Form1.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/Form1.resx b/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/Form1.resx rename to snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Form1.vb b/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Form1.vb rename to snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/My Project/ApplicationEvents.vb b/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/My Project/ApplicationEvents.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/My Project/ApplicationEvents.vb rename to snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/My Project/ApplicationEvents.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/My Project/Resources.resx b/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/My Project/Resources.resx rename to snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/My Project/Settings.settings b/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/My Project/Settings.settings rename to snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/My Project/Settings.settings diff --git a/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/VbVbalrCollectionObject.vbproj b/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/VbVbalrCollectionObject.vbproj new file mode 100644 index 00000000000..ab5beeb5834 --- /dev/null +++ b/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/VbVbalrCollectionObject.vbproj @@ -0,0 +1,7 @@ + + + Exe + net481-windows + true + + diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/Class1.vb b/snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/Class1.vb similarity index 85% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/Class1.vb rename to snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/Class1.vb index 48c7b2ab94f..dd137e45db1 100644 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/Class1.vb +++ b/snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/Class1.vb @@ -10,12 +10,16 @@ Imports System.Web.Services ' Imports System.Reflection +Module: CLSCompliant(True)> ' Class Class2b1703ed443749b3bc0b568094324f47 ' Application of Attributes + Public Shared Sub Main() + + End Sub + Class tmp1 ' Class Class1 @@ -59,17 +63,7 @@ Class Class2b1703ed443749b3bc0b568094324f47 Public Sub New(Optional ByVal Update As Boolean = True, Optional ByVal Keep As Boolean = True) End Sub Public Property Update() As Boolean - Get - End Get - Set(ByVal Value As Boolean) - End Set - End Property Public Property Keep() As Boolean - Get - End Get - Set(ByVal Value As Boolean) - End Set - End Property End Class End Class diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/Class2.vb b/snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/Class2.vb similarity index 94% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/Class2.vb rename to snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/Class2.vb index 841ffab130c..30c929fac0c 100644 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/Class2.vb +++ b/snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/Class2.vb @@ -6,14 +6,6 @@ Imports System.Attribute ' Global Attributes in Visual Basic -' -'Set version number for assembly. - -'Set culture as German. - -' - - ' @@ -70,6 +62,7 @@ Class Class0bedc36e7a024b22ac006570e17bef6e Obsolete("This method should not be used.")> Public Shadows Function Update(ByVal x As Integer) As Integer ' The function code goes here. + Return x + 1 End Function ' @@ -267,17 +260,7 @@ Class Classd404ed869d404982bd874863a4c9fdf6 Public Sub New(Optional ByVal Update As Boolean = True, Optional ByVal Keep As Boolean = True) End Sub Public Property Label() As Boolean - Get - End Get - Set(ByVal Value As Boolean) - End Set - End Property Public Property Value() As Boolean - Get - End Get - Set(ByVal Value As Boolean) - End Set - End Property End Class End Class diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/Form1.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/Form1.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/Form1.vb b/snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/Form1.vb rename to snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/My Project/Application.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/My Project/Application.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/My Project/Application.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/My Project/Application.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/My Project/Application.myapp b/snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/My Project/Application.myapp similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/My Project/Application.myapp rename to snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/My Project/Application.myapp diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/My Project/ApplicationEvents.vb b/snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/My Project/ApplicationEvents.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/My Project/ApplicationEvents.vb rename to snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/My Project/ApplicationEvents.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/Resources.resx b/snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/Resources.resx rename to snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/My Project/Settings.settings b/snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/My Project/Settings.settings rename to snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/My Project/Settings.settings diff --git a/snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/VbCnAttributes.vbproj b/snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/VbCnAttributes.vbproj new file mode 100644 index 00000000000..7b325df07ac --- /dev/null +++ b/snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/VbCnAttributes.vbproj @@ -0,0 +1,11 @@ + + + Exe + net481-windows + true + false + + + + + diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/app.config b/snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/app.config similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/app.config rename to snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/app.config diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/myKey.snk b/snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/myKey.snk similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/myKey.snk rename to snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/myKey.snk diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrConstants/VB/Class1.vb b/snippets/visualbasic/Microsoft.VisualBasic/Constants/vbDefaultButton1/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrConstants/VB/Class1.vb rename to snippets/visualbasic/Microsoft.VisualBasic/Constants/vbDefaultButton1/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb b/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb rename to snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb b/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb rename to snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class2.vb b/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class2.vb rename to snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class2.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb b/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb rename to snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb b/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb rename to snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/Module1.vb b/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/DateString/Module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/Module1.vb rename to snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/DateString/Module1.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/My Project/Application.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/DateString/My Project/Application.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/My Project/Application.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/DateString/My Project/Application.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/My Project/Application.myapp b/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/DateString/My Project/Application.myapp similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/My Project/Application.myapp rename to snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/DateString/My Project/Application.myapp diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/DateString/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/DateString/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/DateString/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/DateString/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/Settings.settings b/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/DateString/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/Settings.settings rename to snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/DateString/My Project/Settings.settings diff --git a/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/DateString/VbVbalrDateProperties.vbproj b/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/DateString/VbVbalrDateProperties.vbproj new file mode 100644 index 00000000000..ab5beeb5834 --- /dev/null +++ b/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/DateString/VbVbalrDateProperties.vbproj @@ -0,0 +1,7 @@ + + + Exe + net481-windows + true + + diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/Form1.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/Timer/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/Form1.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/Timer/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/Form1.resx b/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/Timer/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/Form1.resx rename to snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/Timer/Form1.resx diff --git a/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/Timer/Form1.vb b/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/Timer/Form1.vb new file mode 100644 index 00000000000..301d3a8ede5 --- /dev/null +++ b/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/Timer/Form1.vb @@ -0,0 +1,37 @@ +Public Class Form1 + + Public Shared Sub Main() + End Sub + + ' + Public Sub waitFiveSeconds() + ' + If TimeOfDay >= #11:59:55 PM# Then + MsgBox("The current time is within 5 seconds of midnight" & + vbCrLf & "The timer returns to 0.0 at midnight") + Return + End If + ' + Dim start, finish, totalTime As Double + If (MsgBox("Press Yes to pause for 5 seconds", MsgBoxStyle.YesNo)) = + MsgBoxResult.Yes Then + + start = Microsoft.VisualBasic.DateAndTime.Timer + ' Set end time for 5-second duration. + finish = start + 5.0 + ' + Do While Microsoft.VisualBasic.DateAndTime.Timer < finish + ' Do other processing while waiting for 5 seconds to elapse. + Loop + ' + totalTime = Microsoft.VisualBasic.DateAndTime.Timer - start + MsgBox("Paused for " & totalTime & " seconds") + End If + End Sub + ' + + Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click + waitFiveSeconds() + End Sub + +End Class diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/My Project/ApplicationEvents.vb b/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/Timer/My Project/ApplicationEvents.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/My Project/ApplicationEvents.vb rename to snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/Timer/My Project/ApplicationEvents.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/Timer/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/Timer/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/My Project/Resources.resx b/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/Timer/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/My Project/Resources.resx rename to snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/Timer/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/Timer/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/Timer/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/My Project/Settings.settings b/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/Timer/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/My Project/Settings.settings rename to snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/Timer/My Project/Settings.settings diff --git a/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/Timer/VbVbalrTimerProperty.vbproj b/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/Timer/VbVbalrTimerProperty.vbproj new file mode 100644 index 00000000000..ab5beeb5834 --- /dev/null +++ b/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/Timer/VbVbalrTimerProperty.vbproj @@ -0,0 +1,7 @@ + + + Exe + net481-windows + true + + diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrErrorHandling/VB/Class1.vb b/snippets/visualbasic/Microsoft.VisualBasic/ErrObject/Clear/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrErrorHandling/VB/Class1.vb rename to snippets/visualbasic/Microsoft.VisualBasic/ErrObject/Clear/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/Module1.vb b/snippets/visualbasic/Microsoft.VisualBasic/Globals/ScriptEngine/Module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/Module1.vb rename to snippets/visualbasic/Microsoft.VisualBasic/Globals/ScriptEngine/Module1.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/My Project/Application.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic/Globals/ScriptEngine/My Project/Application.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/My Project/Application.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic/Globals/ScriptEngine/My Project/Application.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/My Project/Application.myapp b/snippets/visualbasic/Microsoft.VisualBasic/Globals/ScriptEngine/My Project/Application.myapp similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/My Project/Application.myapp rename to snippets/visualbasic/Microsoft.VisualBasic/Globals/ScriptEngine/My Project/Application.myapp diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic/Globals/ScriptEngine/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic/Globals/ScriptEngine/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/My Project/Resources.resx b/snippets/visualbasic/Microsoft.VisualBasic/Globals/ScriptEngine/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/My Project/Resources.resx rename to snippets/visualbasic/Microsoft.VisualBasic/Globals/ScriptEngine/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/Microsoft.VisualBasic/Globals/ScriptEngine/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/Microsoft.VisualBasic/Globals/ScriptEngine/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/My Project/Settings.settings b/snippets/visualbasic/Microsoft.VisualBasic/Globals/ScriptEngine/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/My Project/Settings.settings rename to snippets/visualbasic/Microsoft.VisualBasic/Globals/ScriptEngine/My Project/Settings.settings diff --git a/snippets/visualbasic/Microsoft.VisualBasic/Globals/ScriptEngine/VbVbalrScriptEngineProperties.vbproj b/snippets/visualbasic/Microsoft.VisualBasic/Globals/ScriptEngine/VbVbalrScriptEngineProperties.vbproj new file mode 100644 index 00000000000..ab5beeb5834 --- /dev/null +++ b/snippets/visualbasic/Microsoft.VisualBasic/Globals/ScriptEngine/VbVbalrScriptEngineProperties.vbproj @@ -0,0 +1,7 @@ + + + Exe + net481-windows + true + + diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrExcelObject/VB/Class1.vb b/snippets/visualbasic/Microsoft.VisualBasic/Interaction/CreateObject/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrExcelObject/VB/Class1.vb rename to snippets/visualbasic/Microsoft.VisualBasic/Interaction/CreateObject/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/vbprovider.provideroptions/vb/program.vb b/snippets/visualbasic/Microsoft.VisualBasic/VBCodeProvider/.ctor/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/vbprovider.provideroptions/vb/program.vb rename to snippets/visualbasic/Microsoft.VisualBasic/VBCodeProvider/.ctor/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.SafeHandles.SafeFileHandle.ctor/vb/sample.vb b/snippets/visualbasic/Microsoft.Win32.SafeHandles/SafeFileHandle/.ctor/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.SafeHandles.SafeFileHandle.ctor/vb/sample.vb rename to snippets/visualbasic/Microsoft.Win32.SafeHandles/SafeFileHandle/.ctor/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.SafeHandles.SafeFileHandle/vb/sample.vb b/snippets/visualbasic/Microsoft.Win32.SafeHandles/SafeFileHandle/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.SafeHandles.SafeFileHandle/vb/sample.vb rename to snippets/visualbasic/Microsoft.Win32.SafeHandles/SafeFileHandle/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.SafeHandles.SafeWaitHandle-ctor/vb/sample.vb b/snippets/visualbasic/Microsoft.Win32.SafeHandles/SafeWaitHandle/.ctor/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.SafeHandles.SafeWaitHandle-ctor/vb/sample.vb rename to snippets/visualbasic/Microsoft.Win32.SafeHandles/SafeWaitHandle/.ctor/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.SafeHandles.SafeWaitHandle/vb/sample.vb b/snippets/visualbasic/Microsoft.Win32.SafeHandles/SafeWaitHandle/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.SafeHandles.SafeWaitHandle/vb/sample.vb rename to snippets/visualbasic/Microsoft.Win32.SafeHandles/SafeWaitHandle/Overview/sample.vb diff --git a/snippets/visualbasic/Microsoft.Win32/Registry/Overview/source.vb b/snippets/visualbasic/Microsoft.Win32/Registry/Overview/source.vb index 62529d62029..41ff03368e9 100644 --- a/snippets/visualbasic/Microsoft.Win32/Registry/Overview/source.vb +++ b/snippets/visualbasic/Microsoft.Win32/Registry/Overview/source.vb @@ -2,40 +2,40 @@ Imports Microsoft.Win32 Class Reg - + Public Shared Sub Main() - + ' Create a RegistryKey, which will access the HKEY_USERS ' key in the registry of this machine. Dim rk As RegistryKey = Registry.Users - + ' Print out the keys. PrintKeys(rk) - End Sub - + End Sub + Shared Sub PrintKeys(rkey As RegistryKey) - + ' Retrieve all the subkeys for the specified key. Dim names As String() = rkey.GetSubKeyNames() - + Dim icount As Integer = 0 - + Console.WriteLine("Subkeys of " & rkey.Name) Console.WriteLine("-----------------------------------------------") - + ' Print the contents of the array to the console. Dim s As String For Each s In names Console.WriteLine(s) - + ' The following code puts a limit on the number ' of keys displayed. Comment it out to print the ' complete list. - icount += 1 + icount += 1 If icount >= 10 Then Exit For End If Next s End Sub End Class -' \ No newline at end of file +' diff --git a/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.Registry.GetSet/VB/source.vb b/snippets/visualbasic/Microsoft.Win32/Registry/Overview/source1.vb similarity index 96% rename from snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.Registry.GetSet/VB/source.vb rename to snippets/visualbasic/Microsoft.Win32/Registry/Overview/source1.vb index 1320078b563..7354ec64b52 100644 --- a/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.Registry.GetSet/VB/source.vb +++ b/snippets/visualbasic/Microsoft.Win32/Registry/Overview/source1.vb @@ -24,7 +24,7 @@ Public Class Example Registry.SetValue(keyName, "TestExpand2", "My path: %path%", _ RegistryValueKind.ExpandString) - ' Arrays of strings are stored automatically as + ' Arrays of strings are stored automatically as ' MultiString. Similarly, arrays of Byte are stored ' automatically as Binary. Dim strings() As String = {"One", "Two", "Three"} @@ -37,7 +37,7 @@ Public Class Example "Return this default if NoSuchName does not exist.") Console.WriteLine(vbCrLf & "NoSuchName: {0}", noSuch) - ' Retrieve the Integer and Long values, specifying + ' Retrieve the Integer and Long values, specifying ' numeric default values in case the name/value pairs ' do not exist. The Integer value is retrieved from the ' default (nameless) name/value pair for the key. @@ -93,4 +93,4 @@ End Class ' 'Use the registry editor to examine the key. 'Press the Enter key to delete the key. -' \ No newline at end of file +' diff --git a/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryKey.OpenRemoteBaseKey/VB/source.vb b/snippets/visualbasic/Microsoft.Win32/RegistryHive/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryKey.OpenRemoteBaseKey/VB/source.vb rename to snippets/visualbasic/Microsoft.Win32/RegistryHive/Overview/source.vb diff --git a/snippets/visualbasic/Microsoft.Win32/RegistryKey/GetValue/source.vb b/snippets/visualbasic/Microsoft.Win32/RegistryKey/GetValue/source.vb index 21da8af6bcf..10aaed97258 100644 --- a/snippets/visualbasic/Microsoft.Win32/RegistryKey/GetValue/source.vb +++ b/snippets/visualbasic/Microsoft.Win32/RegistryKey/GetValue/source.vb @@ -43,7 +43,7 @@ Public Class RegGetDef Dim Def As String = rk.GetValue("notavalue", "The default to return") Console.WriteLine() Console.WriteLine(def) - + rk.Close() End Sub End Class diff --git a/snippets/visualbasic/VS_Snippets_CLR/RegistryValueOptions/VB/source.vb b/snippets/visualbasic/Microsoft.Win32/RegistryKey/GetValue/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/RegistryValueOptions/VB/source.vb rename to snippets/visualbasic/Microsoft.Win32/RegistryKey/GetValue/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryValueKind/VB/source.vb b/snippets/visualbasic/Microsoft.Win32/RegistryKey/GetValue/source2.vb similarity index 95% rename from snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryValueKind/VB/source.vb rename to snippets/visualbasic/Microsoft.Win32/RegistryKey/GetValue/source2.vb index d96882e065b..2ff05e44918 100644 --- a/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryValueKind/VB/source.vb +++ b/snippets/visualbasic/Microsoft.Win32/RegistryKey/GetValue/source2.vb @@ -6,24 +6,24 @@ Public Class Example ' Delete and recreate the test key. Registry.CurrentUser.DeleteSubKey("RegistryValueKindExample", False) Dim rk As RegistryKey = Registry.CurrentUser.CreateSubKey("RegistryValueKindExample") - + ' Create name/value pairs. - ' This overload supports QWord (long) values. + ' This overload supports QWord (long) values. rk.SetValue("QuadWordValue", 42, RegistryValueKind.QWord) - + ' The following SetValue calls have the same effect as using the ' SetValue overload that does not specify RegistryValueKind. ' rk.SetValue("DWordValue", 42, RegistryValueKind.DWord) rk.SetValue("MultipleStringValue", New String() {"One", "Two", "Three"}, RegistryValueKind.MultiString) rk.SetValue("BinaryValue", New Byte() {10, 43, 44, 45, 14, 255}, RegistryValueKind.Binary) - rk.SetValue("StringValue", "The path is %PATH%", RegistryValueKind.String) - + rk.SetValue("StringValue", "The path is %PATH%", RegistryValueKind.String) + ' This overload supports setting expandable string values. Compare ' the output from this value with the previous string value. rk.SetValue("ExpandedStringValue", "The path is %PATH%", RegistryValueKind.ExpandString) - - + + ' Display all name/value pairs stored in the test key, with each ' registry data type in parentheses. ' @@ -40,7 +40,7 @@ Public Class Example Console.Write(" ""{0}""", values(i)) Next i Console.WriteLine() - + Case RegistryValueKind.Binary Dim bytes As Byte() = CType(rk.GetValue(s), Byte()) Console.Write(vbCrLf & " {0} ({1}) =", s, rvk) @@ -49,7 +49,7 @@ Public Class Example Console.Write(" {0:X2}", bytes(i)) Next i Console.WriteLine() - + Case Else Console.WriteLine(vbCrLf & " {0} ({1}) = {2}", s, rvk, rk.GetValue(s)) End Select diff --git a/snippets/visualbasic/VS_Snippets_CLR/RegistryKey.OpenSubKey/VB/opensubkey.vb b/snippets/visualbasic/Microsoft.Win32/RegistryKey/OpenSubKey/opensubkey.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/RegistryKey.OpenSubKey/VB/opensubkey.vb rename to snippets/visualbasic/Microsoft.Win32/RegistryKey/OpenSubKey/opensubkey.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/RegistryKey.OpenSubKey_PermCheck/vb/source.vb b/snippets/visualbasic/Microsoft.Win32/RegistryKey/OpenSubKey/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/RegistryKey.OpenSubKey_PermCheck/vb/source.vb rename to snippets/visualbasic/Microsoft.Win32/RegistryKey/OpenSubKey/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/VB/source.vb b/snippets/visualbasic/Microsoft.Win32/RegistryKey/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/VB/source.vb rename to snippets/visualbasic/Microsoft.Win32/RegistryKey/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/VB/source2.vb b/snippets/visualbasic/Microsoft.Win32/RegistryKey/Overview/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/VB/source2.vb rename to snippets/visualbasic/Microsoft.Win32/RegistryKey/Overview/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/RegistrySecurity101/VB/source.vb b/snippets/visualbasic/Microsoft.Win32/RegistryKey/SetAccessControl/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/RegistrySecurity101/VB/source.vb rename to snippets/visualbasic/Microsoft.Win32/RegistryKey/SetAccessControl/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryKey.SetValue1/VB/source.vb b/snippets/visualbasic/Microsoft.Win32/RegistryKey/SetValue/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryKey.SetValue1/VB/source.vb rename to snippets/visualbasic/Microsoft.Win32/RegistryKey/SetValue/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemEvents/VB/SystemEvents.vb b/snippets/visualbasic/Microsoft.Win32/SystemEvents/Overview/SystemEvents.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemEvents/VB/SystemEvents.vb rename to snippets/visualbasic/Microsoft.Win32/SystemEvents/Overview/SystemEvents.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ManagedWindowsService/VB/source.vb b/snippets/visualbasic/Microsoft.Win32/SystemEvents/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ManagedWindowsService/VB/source.vb rename to snippets/visualbasic/Microsoft.Win32/SystemEvents/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/My Project/Resources.Designer.vb b/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/My Project/Settings.Designer.vb b/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/My Project/Settings.settings b/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/My Project/Settings.settings rename to snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/My Project/Settings.settings diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/My Project/resources.resx b/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/My Project/resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/My Project/resources.resx rename to snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/My Project/resources.resx diff --git a/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/addinp3hostvb.vbproj b/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/addinp3hostvb.vbproj new file mode 100644 index 00000000000..d039d906dae --- /dev/null +++ b/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/addinp3hostvb.vbproj @@ -0,0 +1,12 @@ + + + + Exe + net481 + + + + + + + diff --git a/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb b/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb new file mode 100644 index 00000000000..7598ee65494 --- /dev/null +++ b/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb @@ -0,0 +1,245 @@ +' + +Imports System.AddIn.Hosting +Imports System.Collections.ObjectModel + +Namespace MathHost + Class Program + + Public Shared Sub Main() + + ' + ' Get the path for the pipeline root. + ' Assumes that the current directory is the + ' pipline directory structure root directory. + Dim pipeRoot As String = Environment.CurrentDirectory + ' + ' Update the cache files of the + ' pipeline segments and add-ins. + Dim warnings() As String = AddInStore.Update(pipeRoot) + For Each warning As String In warnings + Console.WriteLine(warning) + Next + + ' + ' + ' Search for add-ins of type Calculator (the host view of the add-in) + ' specifying the host's application base, instead of a path, + ' for the FindAddIns method. + Dim tokens As Collection(Of AddInToken) = + AddInStore.FindAddIns(GetType(Calculator), PipelineStoreLocation.ApplicationBase) + ' + ' + + ' + 'Ask the user which add-in they would like to use. + Dim selectedToken As AddInToken = ChooseAddIn(tokens) + 'Activate the selected AddInToken in a new + 'application domain with the Internet trust level. + Dim CalcAddIn As Calculator = selectedToken.Activate(Of Calculator)(AddInSecurityLevel.Internet) + 'Run the add-in using a custom method. + RunCalculator(CalcAddIn) + ' + + ' + ' Find a specific add-in. + ' Construct the path to the add-in. + Dim addInFilePath As String = (pipeRoot + "\AddIns\P3AddIn2\P3AddIn2.dll") + ' The fourth parameter, addinTypeName, takes the full name + ' of the type qualified by its namespace. Same as AddInToken.AddInFullName. + Dim tokenColl As System.Collections.ObjectModel.Collection(Of AddInToken) = AddInStore.FindAddIn(GetType(Calculator), pipeRoot, addInFilePath, "CalcAddIns.P3AddIn2") + Console.WriteLine("Found {0}", tokenColl(0).Name) + ' + + ' + ' Get the AddInController of a + ' currently activated add-in (CalcAddIn). + Dim aiController As AddInController = AddInController.GetAddInController(CalcAddIn) + + ' Select another token. + Dim selectedToken2 As AddInToken = ChooseAddIn(tokens) + + ' Activate a second add-in, CalcAddIn2, in the same + ' appliation domain and process as the first add-in by passing + ' the first add-in's AddInEnvironment object to the Activate method. + + Dim aiEnvironment As AddInEnvironment = aiController.AddInEnvironment + Dim CalcAddIn2 As Calculator = + selectedToken2.Activate(Of Calculator)(aiEnvironment) + + ' Get the AddInController for the second add-in to compare environments. + Dim aiController2 As AddInController = AddInController.GetAddInController(CalcAddIn2) + + Console.WriteLine("Add-ins in same application domain: {0}", + aiController.AppDomain.Equals(aiController2.AppDomain)) + Console.WriteLine("Add-ins in same process: {0}", + aiEnvironment.Process.Equals(aiController2.AddInEnvironment.Process)) + ' + + ' + ' Get the application domain + ' of an existing add-in (CalcAddIn). + + Dim aiCtrl As AddInController = AddInController.GetAddInController(CalcAddIn) + Dim AddInAppDom As AppDomain = aiCtrl.AppDomain + + ' Activate another add-in in the same appliation domain. + Dim CalcAddIn3 As Calculator = selectedToken2.Activate(Of Calculator)(AddInAppDom) + + ' Show that the CalcAddIn3 was loaded + ' into CalcCaddIn's application domain. + Dim aic As AddInController = AddInController.GetAddInController(CalcAddIn3) + Console.WriteLine("Add-in loaded into existing application domain: {0}", + aic.AppDomain.Equals(AddInAppDom)) + ' + + ' + ' Create an external process. + Dim pExternal As New AddInProcess() + + ' Activate an add-in in the external process + ' with a full trust security level. + Dim CalcAddIn4 As Calculator = + selectedToken.Activate(Of Calculator)(pExternal, + AddInSecurityLevel.FullTrust) + + ' Show that the add-in is an external process + ' by verifying that it is not in the current (host's) process. + Dim AddinCtl As AddInController = AddInController.GetAddInController(CalcAddIn4) + Console.WriteLine("Add-in in host's process: {0}", + AddinCtl.AddInEnvironment.Process.IsCurrentProcess) + ' + + ' + ' Use qualification data to control + ' how an add-in should be activated. + + If selectedToken.QualificationData(AddInSegmentType.AddIn)("Isolation").Equals("NewProcess") Then + ' Create an external process. + Dim external As AddInProcess = New AddInProcess + + ' Activate an add-in in an automatically generated + ' application domain with a full trust security level. + Dim CalcAddin5 As Calculator = + selectedToken.Activate(Of Calculator)(external, + AddInSecurityLevel.FullTrust) + Console.WriteLine("Add-in activated per qualification data.") + Else + Console.WriteLine("This add-in is not designated to be activated in a new process.") + End If + ' + + ' + ' Show the qualification data for each + ' token in an AddInToken collection. + For Each token As AddInToken In tokens + For Each qdi As QualificationDataItem In token + Console.WriteLine("{0} {1}\n\t QD Name: {2}, QD Value: {3}", + token.Name, qdi.Segment, qdi.Name, qdi.Value) + Next + Next + ' + + End Sub + ' + ' Method to select a token by + ' enumeratng the AddInToken collection. + + Private Shared Function ChooseAddIn(ByVal tokens As System.Collections.ObjectModel.Collection(Of AddInToken)) As AddInToken + If (tokens.Count = 0) Then + Console.WriteLine("No add-ins are available") + Return Nothing + End If + Console.WriteLine("Available add-ins: ") + ' + ' Show the token properties for each token + ' in the AddInToken collection (tokens), + ' preceded by the add-in number in [] brackets. + + Dim tokNumber As Integer = 1 + For Each tok As AddInToken In tokens + Console.WriteLine(vbTab & "{0}: {1} - {2}" & + vbLf & vbTab & "{3}" & + vbLf & vbTab & "{4}" & + vbLf & vbTab & "{5} - {6}", + tokNumber.ToString, tok.Name, + tok.AddInFullName, tok.AssemblyName, + tok.Description, tok.Version, tok.Publisher) + tokNumber = tokNumber + 1 + Next + ' + Console.WriteLine("Which calculator do you want to use?") + Dim line As String = Console.ReadLine + Dim selection As Integer + If Int32.TryParse(line, selection) Then + If (selection <= tokens.Count) Then + Return tokens((selection - 1)) + End If + End If + Console.WriteLine("Invalid selection: {0}. Please choose again.", line) + Return ChooseAddIn(tokens) + + End Function + ' + + Private Shared Sub RunCalculator(ByVal calc As Calculator) + If IsNothing(calc) Then + 'No calculators were found, read a line and exit. + Console.ReadLine() + End If + Console.WriteLine(("Available operations: " + calc.Operations)) + Console.WriteLine("Type 'exit' to exit") + Dim line As String = Console.ReadLine + + While Not line.Equals("exit") + ' The Parser class parses the user's input. + Try + Dim c As Parser = New Parser(line) + Console.WriteLine(calc.Operate(c.Action, c.A, c.B)) + Catch Ex As System.Exception + Console.WriteLine("Invalid command: {0}. Commands must be formatted: [number] [operation] [number]", line) + Console.WriteLine(("Available operations: " + calc.Operations)) + End Try + line = Console.ReadLine + + End While + End Sub + End Class + + Class Parser + + Private partA As Double + + Private partB As Double + + Private act As String + + Friend Sub New(ByVal line As String) + MyBase.New() + Dim parts() As String = line.Trim.Split(" ") + partA = Double.Parse(parts(0)) + act = parts(1) + partB = Double.Parse(parts(2)) + End Sub + + Public ReadOnly Property A() As Double + Get + Return partA + End Get + End Property + + Public ReadOnly Property B() As Double + Get + Return partB + End Get + End Property + + Public ReadOnly Property Action() As String + Get + Return act + End Get + End Property + End Class +End Namespace +' + diff --git a/snippets/visualbasic/System.AddIn.Hosting/AddInController/Shutdown/BookInfo.vb b/snippets/visualbasic/System.AddIn.Hosting/AddInController/Shutdown/BookInfo.vb new file mode 100644 index 00000000000..e493fe74857 --- /dev/null +++ b/snippets/visualbasic/System.AddIn.Hosting/AddInController/Shutdown/BookInfo.vb @@ -0,0 +1,17 @@ +' + +Namespace ListAdaptersHost + Friend Class BookInfo + Friend Function Genre() As Boolean + Throw New NotImplementedException() + End Function + + Friend Function Title() As Integer + Throw New NotImplementedException() + End Function + + Friend Function Author() As Integer + Throw New NotImplementedException() + End Function + End Class +End Namespace diff --git a/snippets/visualbasic/System.AddIn.Hosting/AddInController/Shutdown/LibraryManager.vb b/snippets/visualbasic/System.AddIn.Hosting/AddInController/Shutdown/LibraryManager.vb new file mode 100644 index 00000000000..0bca8d64d5c --- /dev/null +++ b/snippets/visualbasic/System.AddIn.Hosting/AddInController/Shutdown/LibraryManager.vb @@ -0,0 +1,17 @@ +' + +Namespace ListAdaptersHost + Friend Class LibraryManager + Friend Sub ProcessBooks(books As IList(Of BookInfo)) + Throw New NotImplementedException() + End Sub + + Friend Sub Data(v As String) + Throw New NotImplementedException() + End Sub + + Friend Function GetBestSeller() As BookInfo + Throw New NotImplementedException() + End Function + End Class +End Namespace diff --git a/snippets/visualbasic/System.AddIn.Hosting/AddInController/Shutdown/ListAdaptersHost.vbproj b/snippets/visualbasic/System.AddIn.Hosting/AddInController/Shutdown/ListAdaptersHost.vbproj new file mode 100644 index 00000000000..d039d906dae --- /dev/null +++ b/snippets/visualbasic/System.AddIn.Hosting/AddInController/Shutdown/ListAdaptersHost.vbproj @@ -0,0 +1,12 @@ + + + + Exe + net481 + + + + + + + diff --git a/snippets/visualbasic/System.AddIn.Hosting/AddInController/Shutdown/Program.vb b/snippets/visualbasic/System.AddIn.Hosting/AddInController/Shutdown/Program.vb new file mode 100644 index 00000000000..44abd2569b7 --- /dev/null +++ b/snippets/visualbasic/System.AddIn.Hosting/AddInController/Shutdown/Program.vb @@ -0,0 +1,196 @@ +' + +Imports System.AddIn.Hosting +Imports System.Collections.ObjectModel +Imports System.Xml + +Namespace ListAdaptersHost + Friend Class Program + Shared Sub Main(ByVal args As String()) + + ' + ' In this example, the pipeline root is the current directory. + Dim pipeRoot As String = Environment.CurrentDirectory + + ' Rebuild the cache of pipeline and add-in information. + Dim warnings As String() = AddInStore.Update(pipeRoot) + If warnings.Length > 0 Then + For Each one As String In warnings + Console.WriteLine(one) + Next one + End If + ' + + ' + ' Find add-ins of type LibraryManager under the specified pipeline root directory. + Dim tokens As Collection(Of AddInToken) = AddInStore.FindAddIns(GetType(LibraryManager), pipeRoot) + ' + ' Determine which add-in to use. + Dim selectedToken As AddInToken = ChooseAddIn(tokens) + + ' + ' Activate the selected AddInToken in a new + ' application domain with a specified security trust level. + Dim manager As LibraryManager = selectedToken.Activate(Of LibraryManager)(AddInSecurityLevel.FullTrust) + ' + + ' Create a collection of books. + Dim books As IList(Of BookInfo) = CreateBooks() + + ' Show the collection count. + Console.WriteLine("Number of books: {0}", books.Count.ToString()) + + ' Have the add-in process the books. + ' The add-in will discount computer books by $20 + ' and list their before and after prices. It + ' will also remove all horror books. + manager.ProcessBooks(books) + + ' List the genre of each book. There + ' should be no horror books. + For Each bk As BookInfo In books + Console.WriteLine(bk.Genre()) + Next bk + + Console.WriteLine("Number of books: {0}", books.Count.ToString()) + + Console.WriteLine() + ' Have the add-in pass a BookInfo object + ' of the best selling book. + Dim bestBook As BookInfo = manager.GetBestSeller() + Console.WriteLine("Best seller is {0} by {1}", bestBook.Title(), bestBook.Author()) + + ' Have the add-in show the sales tax rate. + manager.Data("sales tax") + + ' + Dim ctrl As AddInController = AddInController.GetAddInController(manager) + ctrl.Shutdown() + ' + Console.WriteLine("Press any key to exit.") + Console.ReadLine() + End Sub + + + + Private Shared Function ChooseAddIn(ByVal tokens As Collection(Of AddInToken)) As AddInToken + If tokens.Count = 0 Then + Console.WriteLine("No add-ins of this type are available") + Return Nothing + End If + Console.WriteLine("{0} Available add-in(s):", tokens.Count.ToString()) + ' + For i As Integer = 0 To tokens.Count - 1 + ' Show AddInToken properties. + Console.WriteLine("[{0}] - {1}, Publisher: {2}, Version: {3}, Description: {4}", (i + 1).ToString(), tokens(i).Name, tokens(i).Publisher, tokens(i).Version, tokens(i).Description) + Next i + ' + Console.WriteLine("Select add-in by number:") + Dim line As String = Console.ReadLine() + Dim selection As Integer + If Int32.TryParse(line, selection) Then + If selection <= tokens.Count Then + Return tokens(selection - 1) + End If + End If + Console.WriteLine("Invalid selection: {0}. Please choose again.", line) + Return ChooseAddIn(tokens) + End Function + + + Friend Shared Function CreateBooks() As IList(Of BookInfo) + Dim books As List(Of BookInfo) = New List(Of BookInfo)() + + Dim ParamId As String = "" + Dim ParamAuthor As String = "" + Dim ParamTitle As String = "" + Dim ParamGenre As String = "" + Dim ParamPrice As String = "" + Dim ParamPublish_Date As String = "" + Dim ParamDescription As String = "" + + Dim xDoc As XmlDocument = New XmlDocument() + xDoc.Load("c:\Books.xml") + + Dim xRoot As XmlNode = xDoc.DocumentElement + If xRoot.Name = "catalog" Then + Dim bklist As XmlNodeList = xRoot.ChildNodes + For Each bk As XmlNode In bklist + ParamId = bk.Attributes(0).Value + Dim dataItems As XmlNodeList = bk.ChildNodes + Dim items As Integer = dataItems.Count + For Each di As XmlNode In dataItems + Select Case di.Name + Case "author" + ParamAuthor = di.InnerText + Case "title" + ParamTitle = di.InnerText + Case "genre" + ParamGenre = di.InnerText + Case "price" + ParamPrice = di.InnerText + Case "publish_date" + ParamAuthor = di.InnerText + Case "description" + ParamDescription = di.InnerText + Case Else + End Select + + Next di + books.Add(New MyBookInfo(ParamId, ParamAuthor, ParamTitle, ParamGenre, ParamPrice, ParamPublish_Date, ParamDescription)) + Next bk + + End If + Return books + End Function + + + End Class + + Friend Class MyBookInfo + Inherits BookInfo + Private _id As String + Private _author As String + Private _title As String + Private _genre As String + Private _price As String + Private _publish_date As String + Private _description As String + + Public Sub New(ByVal id As String, ByVal author As String, ByVal title As String, ByVal genre As String, ByVal price As String, ByVal publish_date As String, ByVal description As String) + _id = id + _author = author + _title = title + _genre = genre + _price = price + _publish_date = publish_date + _description = description + End Sub + + 'Public Overrides Function ID() As String + ' Return _id + 'End Function + + 'Public Overrides Function Title() As String + ' Return _title + 'End Function + + 'Public Overrides Function Author() As String + ' Return _author + 'End Function + + 'Public Overrides Function Genre() As String + ' Return _genre + 'End Function + 'Public Overrides Function Price() As String + ' Return _price + 'End Function + 'Public Overrides Function Publish_Date() As String + ' Return _publish_date + 'End Function + 'Public Overrides Function Description() As String + ' Return _description + 'End Function + End Class +End Namespace +' diff --git a/snippets/visualbasic/System.AddIn.Pipeline/AddInAdapterAttribute/Overview/Calc1AddInSideAdapter.vbproj b/snippets/visualbasic/System.AddIn.Pipeline/AddInAdapterAttribute/Overview/Calc1AddInSideAdapter.vbproj new file mode 100644 index 00000000000..d039d906dae --- /dev/null +++ b/snippets/visualbasic/System.AddIn.Pipeline/AddInAdapterAttribute/Overview/Calc1AddInSideAdapter.vbproj @@ -0,0 +1,12 @@ + + + + Exe + net481 + + + + + + + diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/Calc1ViewToContractAddInSideAdapter.vb b/snippets/visualbasic/System.AddIn.Pipeline/AddInAdapterAttribute/Overview/Calc1ViewToContractAddInSideAdapter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/Calc1ViewToContractAddInSideAdapter.vb rename to snippets/visualbasic/System.AddIn.Pipeline/AddInAdapterAttribute/Overview/Calc1ViewToContractAddInSideAdapter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/My Project/Resources.Designer.vb b/snippets/visualbasic/System.AddIn.Pipeline/AddInAdapterAttribute/Overview/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.AddIn.Pipeline/AddInAdapterAttribute/Overview/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/My Project/Settings.Designer.vb b/snippets/visualbasic/System.AddIn.Pipeline/AddInAdapterAttribute/Overview/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.AddIn.Pipeline/AddInAdapterAttribute/Overview/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/My Project/Settings.settings b/snippets/visualbasic/System.AddIn.Pipeline/AddInAdapterAttribute/Overview/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/My Project/Settings.settings rename to snippets/visualbasic/System.AddIn.Pipeline/AddInAdapterAttribute/Overview/My Project/Settings.settings diff --git a/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/My Project/resources.resx b/snippets/visualbasic/System.AddIn.Pipeline/AddInAdapterAttribute/Overview/My Project/resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/My Project/resources.resx rename to snippets/visualbasic/System.AddIn.Pipeline/AddInAdapterAttribute/Overview/My Project/resources.resx diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/Calc1AddInView.vb b/snippets/visualbasic/System.AddIn.Pipeline/AddInBaseAttribute/Overview/Calc1AddInView.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/Calc1AddInView.vb rename to snippets/visualbasic/System.AddIn.Pipeline/AddInBaseAttribute/Overview/Calc1AddInView.vb diff --git a/snippets/visualbasic/System.AddIn.Pipeline/AddInBaseAttribute/Overview/Calc1AddInView.vbproj b/snippets/visualbasic/System.AddIn.Pipeline/AddInBaseAttribute/Overview/Calc1AddInView.vbproj new file mode 100644 index 00000000000..d039d906dae --- /dev/null +++ b/snippets/visualbasic/System.AddIn.Pipeline/AddInBaseAttribute/Overview/Calc1AddInView.vbproj @@ -0,0 +1,12 @@ + + + + Exe + net481 + + + + + + + diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/My Project/Resources.Designer.vb b/snippets/visualbasic/System.AddIn.Pipeline/AddInBaseAttribute/Overview/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.AddIn.Pipeline/AddInBaseAttribute/Overview/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/My Project/Resources.resx b/snippets/visualbasic/System.AddIn.Pipeline/AddInBaseAttribute/Overview/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/My Project/Resources.resx rename to snippets/visualbasic/System.AddIn.Pipeline/AddInBaseAttribute/Overview/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/My Project/Settings.Designer.vb b/snippets/visualbasic/System.AddIn.Pipeline/AddInBaseAttribute/Overview/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.AddIn.Pipeline/AddInBaseAttribute/Overview/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/My Project/Settings.settings b/snippets/visualbasic/System.AddIn.Pipeline/AddInBaseAttribute/Overview/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/My Project/Settings.settings rename to snippets/visualbasic/System.AddIn.Pipeline/AddInBaseAttribute/Overview/My Project/Settings.settings diff --git a/snippets/visualbasic/System.AddIn.Pipeline/AddInContractAttribute/Overview/Calc1Contract.vbproj b/snippets/visualbasic/System.AddIn.Pipeline/AddInContractAttribute/Overview/Calc1Contract.vbproj new file mode 100644 index 00000000000..d039d906dae --- /dev/null +++ b/snippets/visualbasic/System.AddIn.Pipeline/AddInContractAttribute/Overview/Calc1Contract.vbproj @@ -0,0 +1,12 @@ + + + + Exe + net481 + + + + + + + diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/ICalc1Contract.vb b/snippets/visualbasic/System.AddIn.Pipeline/AddInContractAttribute/Overview/ICalc1Contract.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/ICalc1Contract.vb rename to snippets/visualbasic/System.AddIn.Pipeline/AddInContractAttribute/Overview/ICalc1Contract.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/My Project/Resources.Designer.vb b/snippets/visualbasic/System.AddIn.Pipeline/AddInContractAttribute/Overview/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.AddIn.Pipeline/AddInContractAttribute/Overview/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/Resources.resx b/snippets/visualbasic/System.AddIn.Pipeline/AddInContractAttribute/Overview/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/Resources.resx rename to snippets/visualbasic/System.AddIn.Pipeline/AddInContractAttribute/Overview/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/My Project/Settings.Designer.vb b/snippets/visualbasic/System.AddIn.Pipeline/AddInContractAttribute/Overview/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.AddIn.Pipeline/AddInContractAttribute/Overview/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/My Project/Settings.settings b/snippets/visualbasic/System.AddIn.Pipeline/AddInContractAttribute/Overview/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/My Project/Settings.settings rename to snippets/visualbasic/System.AddIn.Pipeline/AddInContractAttribute/Overview/My Project/Settings.settings diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/vb/BookInfoContractToViewHostAdapter.vb b/snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListContractT/BookInfoContractToViewHostAdapter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/vb/BookInfoContractToViewHostAdapter.vb rename to snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListContractT/BookInfoContractToViewHostAdapter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/vb/BookInfoHostAdapter.vb b/snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListContractT/BookInfoHostAdapter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/vb/BookInfoHostAdapter.vb rename to snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListContractT/BookInfoHostAdapter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/vb/BookInfoViewToContractHostAdapter.vb b/snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListContractT/BookInfoViewToContractHostAdapter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/vb/BookInfoViewToContractHostAdapter.vb rename to snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListContractT/BookInfoViewToContractHostAdapter.vb diff --git a/snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListContractT/HostSideAdapters.vbproj b/snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListContractT/HostSideAdapters.vbproj new file mode 100644 index 00000000000..d875e6af07c --- /dev/null +++ b/snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListContractT/HostSideAdapters.vbproj @@ -0,0 +1,12 @@ + + + + Exe + net481 + + + + + + + diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/vb/LibraryManagerContractToViewHostAdapter.vb b/snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListContractT/LibraryManagerContractToViewHostAdapter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/vb/LibraryManagerContractToViewHostAdapter.vb rename to snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListContractT/LibraryManagerContractToViewHostAdapter.vb diff --git a/snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListT/AddInSideAdapters.vbproj b/snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListT/AddInSideAdapters.vbproj new file mode 100644 index 00000000000..d875e6af07c --- /dev/null +++ b/snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListT/AddInSideAdapters.vbproj @@ -0,0 +1,12 @@ + + + + Exe + net481 + + + + + + + diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/vb/BookInfoAddInAdapter.vb b/snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListT/BookInfoAddInAdapter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/vb/BookInfoAddInAdapter.vb rename to snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListT/BookInfoAddInAdapter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/vb/BookInfoContractToViewAddInAdapter.vb b/snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListT/BookInfoContractToViewAddInAdapter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/vb/BookInfoContractToViewAddInAdapter.vb rename to snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListT/BookInfoContractToViewAddInAdapter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/vb/BookInfoViewToContractAddInAdapter.vb b/snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListT/BookInfoViewToContractAddInAdapter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/vb/BookInfoViewToContractAddInAdapter.vb rename to snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListT/BookInfoViewToContractAddInAdapter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/vb/LibraryManagerViewToContractAddInAdapter.vb b/snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListT/LibraryManagerViewToContractAddInAdapter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/vb/LibraryManagerViewToContractAddInAdapter.vb rename to snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListT/LibraryManagerViewToContractAddInAdapter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/Calc2ContractToViewHostSideAdapter.vb b/snippets/visualbasic/System.AddIn.Pipeline/ContractHandle/Overview/Calc2ContractToViewHostSideAdapter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/Calc2ContractToViewHostSideAdapter.vb rename to snippets/visualbasic/System.AddIn.Pipeline/ContractHandle/Overview/Calc2ContractToViewHostSideAdapter.vb diff --git a/snippets/visualbasic/System.AddIn.Pipeline/ContractHandle/Overview/Calc2HostSideAdapter.vbproj b/snippets/visualbasic/System.AddIn.Pipeline/ContractHandle/Overview/Calc2HostSideAdapter.vbproj new file mode 100644 index 00000000000..d039d906dae --- /dev/null +++ b/snippets/visualbasic/System.AddIn.Pipeline/ContractHandle/Overview/Calc2HostSideAdapter.vbproj @@ -0,0 +1,12 @@ + + + + Exe + net481 + + + + + + + diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/My Project/Resources.Designer.vb b/snippets/visualbasic/System.AddIn.Pipeline/ContractHandle/Overview/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.AddIn.Pipeline/ContractHandle/Overview/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/My Project/Resources.resx b/snippets/visualbasic/System.AddIn.Pipeline/ContractHandle/Overview/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/My Project/Resources.resx rename to snippets/visualbasic/System.AddIn.Pipeline/ContractHandle/Overview/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/My Project/Settings.Designer.vb b/snippets/visualbasic/System.AddIn.Pipeline/ContractHandle/Overview/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.AddIn.Pipeline/ContractHandle/Overview/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/My Project/Settings.settings b/snippets/visualbasic/System.AddIn.Pipeline/ContractHandle/Overview/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/My Project/Settings.settings rename to snippets/visualbasic/System.AddIn.Pipeline/ContractHandle/Overview/My Project/Settings.settings diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/Calc1ContractToViewHostSideAdapter.vb b/snippets/visualbasic/System.AddIn.Pipeline/HostAdapterAttribute/Overview/Calc1ContractToViewHostSideAdapter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/Calc1ContractToViewHostSideAdapter.vb rename to snippets/visualbasic/System.AddIn.Pipeline/HostAdapterAttribute/Overview/Calc1ContractToViewHostSideAdapter.vb diff --git a/snippets/visualbasic/System.AddIn.Pipeline/HostAdapterAttribute/Overview/Calc1HostSideSideAdapter.vbproj b/snippets/visualbasic/System.AddIn.Pipeline/HostAdapterAttribute/Overview/Calc1HostSideSideAdapter.vbproj new file mode 100644 index 00000000000..d039d906dae --- /dev/null +++ b/snippets/visualbasic/System.AddIn.Pipeline/HostAdapterAttribute/Overview/Calc1HostSideSideAdapter.vbproj @@ -0,0 +1,12 @@ + + + + Exe + net481 + + + + + + + diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/My Project/Resources.Designer.vb b/snippets/visualbasic/System.AddIn.Pipeline/HostAdapterAttribute/Overview/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.AddIn.Pipeline/HostAdapterAttribute/Overview/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/My Project/Resources.resx b/snippets/visualbasic/System.AddIn.Pipeline/HostAdapterAttribute/Overview/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/My Project/Resources.resx rename to snippets/visualbasic/System.AddIn.Pipeline/HostAdapterAttribute/Overview/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/My Project/Settings.Designer.vb b/snippets/visualbasic/System.AddIn.Pipeline/HostAdapterAttribute/Overview/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.AddIn.Pipeline/HostAdapterAttribute/Overview/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/My Project/Settings.settings b/snippets/visualbasic/System.AddIn.Pipeline/HostAdapterAttribute/Overview/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/My Project/Settings.settings rename to snippets/visualbasic/System.AddIn.Pipeline/HostAdapterAttribute/Overview/My Project/Settings.settings diff --git a/snippets/visualbasic/System.AddIn/AddInAttribute/Overview/AddInCalcV2.vb b/snippets/visualbasic/System.AddIn/AddInAttribute/Overview/AddInCalcV2.vb new file mode 100644 index 00000000000..3bc5bfec2dc --- /dev/null +++ b/snippets/visualbasic/System.AddIn/AddInAttribute/Overview/AddInCalcV2.vb @@ -0,0 +1,48 @@ +' + +Imports System.AddIn +Imports System.AddIn.Pipeline + +Namespace CalculatorAddIns + ' + ' This pipeline segment has + ' two attributes: + ' 1 - An AddInAttribute to identify + ' this segment as an add-in. + ' + ' 2 - A QualificationDataAttribute to + ' indicate that the add-in should + ' be loaded into a new application domain. + + + + Public Class SampleV2AddIn + ' + Inherits Calculator2 + Public Overrides ReadOnly Property Operations() As String + Get + Return "+, -, *, /, **" + End Get + End Property + + Public Overrides Function Operate(ByVal operation As String, + ByVal a As Double, ByVal b As Double) As Double + Select Case operation + Case "+" + Return a + b + Case "-" + Return a - b + Case "*" + Return a * b + Case "/" + Return a / b + Case "**" + Return Math.Pow(a, b) + Case Else + Throw New InvalidOperationException("This add-in does not support: " & operation) + End Select + End Function + + End Class +End Namespace +' diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/AddInCalcV2.vbproj b/snippets/visualbasic/System.AddIn/AddInAttribute/Overview/AddInCalcV2.vbproj similarity index 93% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/AddInCalcV2.vbproj rename to snippets/visualbasic/System.AddIn/AddInAttribute/Overview/AddInCalcV2.vbproj index 089f82c0eed..3c838acdee3 100644 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/AddInCalcV2.vbproj +++ b/snippets/visualbasic/System.AddIn/AddInAttribute/Overview/AddInCalcV2.vbproj @@ -1,5 +1,5 @@  - + Debug AnyCPU @@ -11,11 +11,16 @@ AddInCalcV2 512 Windows - v3.5 + v4.81 On Binary Off On + + + + + 3.5 true @@ -75,6 +80,7 @@ True Application.myapp + True True @@ -121,4 +127,4 @@ --> - \ No newline at end of file + diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/My Project/Application.Designer.vb b/snippets/visualbasic/System.AddIn/AddInAttribute/Overview/My Project/Application.Designer.vb similarity index 91% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/My Project/Application.Designer.vb rename to snippets/visualbasic/System.AddIn/AddInAttribute/Overview/My Project/Application.Designer.vb index 0e8f9f4ce37..88dd01c78a6 100644 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/My Project/Application.Designer.vb +++ b/snippets/visualbasic/System.AddIn/AddInAttribute/Overview/My Project/Application.Designer.vb @@ -1,7 +1,7 @@ '------------------------------------------------------------------------------ ' ' This code was generated by a tool. -' Runtime Version:2.0.50727.1378 +' Runtime Version:4.0.30319.42000 ' ' Changes to this file may cause incorrect behavior and will be lost if ' the code is regenerated. diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/My Project/Application.myapp b/snippets/visualbasic/System.AddIn/AddInAttribute/Overview/My Project/Application.myapp similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/My Project/Application.myapp rename to snippets/visualbasic/System.AddIn/AddInAttribute/Overview/My Project/Application.myapp diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/My Project/AssemblyInfo.vb b/snippets/visualbasic/System.AddIn/AddInAttribute/Overview/My Project/AssemblyInfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/My Project/AssemblyInfo.vb rename to snippets/visualbasic/System.AddIn/AddInAttribute/Overview/My Project/AssemblyInfo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/My Project/Resources.Designer.vb b/snippets/visualbasic/System.AddIn/AddInAttribute/Overview/My Project/Resources.Designer.vb similarity index 78% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.AddIn/AddInAttribute/Overview/My Project/Resources.Designer.vb index 74eb79114f7..0a396818c56 100644 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/My Project/Resources.Designer.vb +++ b/snippets/visualbasic/System.AddIn/AddInAttribute/Overview/My Project/Resources.Designer.vb @@ -1,7 +1,7 @@ '------------------------------------------------------------------------------ ' ' This code was generated by a tool. -' Runtime Version:2.0.50727.1378 +' Runtime Version:4.0.30319.42000 ' ' Changes to this file may cause incorrect behavior and will be lost if ' the code is regenerated. @@ -11,6 +11,7 @@ Option Strict On Option Explicit On +Imports System Namespace My.Resources @@ -18,10 +19,10 @@ Namespace My.Resources 'class via a tool like ResGen or Visual Studio. 'To add or remove a member, edit your .ResX file then rerun ResGen 'with the /str option, or rebuild your VS project. - ' - ' A strongly-typed resource class, for looking up localized strings, etc. - ' - + ''' A strongly-typed resource class, for looking up localized strings, etc. + ''' + _ @@ -31,9 +32,9 @@ Namespace My.Resources Private resourceCulture As Global.System.Globalization.CultureInfo - ' - ' Returns the cached ResourceManager instance used by this class. - ' + ''' + ''' Returns the cached ResourceManager instance used by this class. + ''' _ Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager Get @@ -45,16 +46,16 @@ Namespace My.Resources End Get End Property - ' - ' Overrides the current thread's CurrentUICulture property for all - ' resource lookups using this strongly typed resource class. - ' + ''' + ''' Overrides the current thread's CurrentUICulture property for all + ''' resource lookups using this strongly typed resource class. + ''' _ Friend Property Culture() As Global.System.Globalization.CultureInfo Get Return resourceCulture End Get - Set(ByVal value As Global.System.Globalization.CultureInfo) + Set resourceCulture = value End Set End Property diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/My Project/Resources.resx b/snippets/visualbasic/System.AddIn/AddInAttribute/Overview/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/My Project/Resources.resx rename to snippets/visualbasic/System.AddIn/AddInAttribute/Overview/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/my project/settings.designer.vb b/snippets/visualbasic/System.AddIn/AddInAttribute/Overview/My Project/Settings.Designer.vb similarity index 88% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/my project/settings.designer.vb rename to snippets/visualbasic/System.AddIn/AddInAttribute/Overview/My Project/Settings.Designer.vb index e883c7f63b0..b7c885f791e 100644 --- a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/my project/settings.designer.vb +++ b/snippets/visualbasic/System.AddIn/AddInAttribute/Overview/My Project/Settings.Designer.vb @@ -1,7 +1,7 @@ '------------------------------------------------------------------------------ ' ' This code was generated by a tool. -' Runtime Version:4.0.21030.0 +' Runtime Version:4.0.30319.42000 ' ' Changes to this file may cause incorrect behavior and will be lost if ' the code is regenerated. @@ -15,7 +15,7 @@ Option Explicit On Namespace My _ Partial Friend NotInheritable Class MySettings Inherits Global.System.Configuration.ApplicationSettingsBase @@ -29,7 +29,7 @@ Namespace My Private Shared addedHandlerLockObject As New Object _ - Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) + Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs) If My.Application.SaveMySettingsOnExit Then My.Settings.Save() End If @@ -64,9 +64,9 @@ Namespace My Friend Module MySettingsProperty _ - Friend ReadOnly Property Settings() As Global.NorthwindClient.My.MySettings + Friend ReadOnly Property Settings() As Global.AddInCalcV2.My.MySettings Get - Return Global.NorthwindClient.My.MySettings.Default + Return Global.AddInCalcV2.My.MySettings.Default End Get End Property End Module diff --git a/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/My Project/Settings.settings b/snippets/visualbasic/System.AddIn/AddInAttribute/Overview/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/My Project/Settings.settings rename to snippets/visualbasic/System.AddIn/AddInAttribute/Overview/My Project/Settings.settings diff --git a/snippets/visualbasic/VS_Snippets_CLR/codedomprovider.provideroptions/vb/program.vb b/snippets/visualbasic/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/codedomprovider.provideroptions/vb/program.vb rename to snippets/visualbasic/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeDom_CompilerInfo/VB/source.vb b/snippets/visualbasic/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeDom_CompilerInfo/VB/source.vb rename to snippets/visualbasic/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeGeneratorOptionsExample/VB/class1.vb b/snippets/visualbasic/System.CodeDom.Compiler/CodeGeneratorOptions/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeGeneratorOptionsExample/VB/class1.vb rename to snippets/visualbasic/System.CodeDom.Compiler/CodeGeneratorOptions/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CompilerErrorCollectionExample/VB/class1.vb b/snippets/visualbasic/System.CodeDom.Compiler/CompilerErrorCollection/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CompilerErrorCollectionExample/VB/class1.vb rename to snippets/visualbasic/System.CodeDom.Compiler/CompilerErrorCollection/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CompilerParametersExample/VB/source.vb b/snippets/visualbasic/System.CodeDom.Compiler/CompilerParameters/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CompilerParametersExample/VB/source.vb rename to snippets/visualbasic/System.CodeDom.Compiler/CompilerParameters/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CompilerResultsExample/VB/class1.vb b/snippets/visualbasic/System.CodeDom.Compiler/CompilerResults/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CompilerResultsExample/VB/class1.vb rename to snippets/visualbasic/System.CodeDom.Compiler/CompilerResults/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.codedom.compiler.generatedcodeattribute/vb/source.vb b/snippets/visualbasic/System.CodeDom.Compiler/GeneratedCodeAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.codedom.compiler.generatedcodeattribute/vb/source.vb rename to snippets/visualbasic/System.CodeDom.Compiler/GeneratedCodeAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IndentedTextWriterExample/VB/form1.vb b/snippets/visualbasic/System.CodeDom.Compiler/IndentedTextWriter/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IndentedTextWriterExample/VB/form1.vb rename to snippets/visualbasic/System.CodeDom.Compiler/IndentedTextWriter/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.Compiler.TempFileCollection/VB/program.vb b/snippets/visualbasic/System.CodeDom.Compiler/TempFileCollection/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.Compiler.TempFileCollection/VB/program.vb rename to snippets/visualbasic/System.CodeDom.Compiler/TempFileCollection/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeArgumentReferenceExpressionExample/VB/codeargumentreferenceexpressionexample.vb b/snippets/visualbasic/System.CodeDom/CodeArgumentReferenceExpression/Overview/codeargumentreferenceexpressionexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeArgumentReferenceExpressionExample/VB/codeargumentreferenceexpressionexample.vb rename to snippets/visualbasic/System.CodeDom/CodeArgumentReferenceExpression/Overview/codeargumentreferenceexpressionexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeArrayCreateExpressionSnippet/VB/codearraycreateexpressionsnippet.vb b/snippets/visualbasic/System.CodeDom/CodeArrayCreateExpression/Overview/codearraycreateexpressionsnippet.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeArrayCreateExpressionSnippet/VB/codearraycreateexpressionsnippet.vb rename to snippets/visualbasic/System.CodeDom/CodeArrayCreateExpression/Overview/codearraycreateexpressionsnippet.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeArrayIndexerExpressionSnippet/VB/codearrayindexerexpressionsnippet.vb b/snippets/visualbasic/System.CodeDom/CodeArrayIndexerExpression/Overview/codearrayindexerexpressionsnippet.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeArrayIndexerExpressionSnippet/VB/codearrayindexerexpressionsnippet.vb rename to snippets/visualbasic/System.CodeDom/CodeArrayIndexerExpression/Overview/codearrayindexerexpressionsnippet.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeAssignStatement/VB/codeassignstatementsnippet.vb b/snippets/visualbasic/System.CodeDom/CodeAssignStatement/Overview/codeassignstatementsnippet.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeAssignStatement/VB/codeassignstatementsnippet.vb rename to snippets/visualbasic/System.CodeDom/CodeAssignStatement/Overview/codeassignstatementsnippet.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeAttachEventStatementExample/VB/codeattacheventstatementexample.vb b/snippets/visualbasic/System.CodeDom/CodeAttachEventStatement/Overview/codeattacheventstatementexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeAttachEventStatementExample/VB/codeattacheventstatementexample.vb rename to snippets/visualbasic/System.CodeDom/CodeAttachEventStatement/Overview/codeattacheventstatementexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.codedom.codeattributeargument/vb/source.vb b/snippets/visualbasic/System.CodeDom/CodeAttributeArgument/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.codedom.codeattributeargument/vb/source.vb rename to snippets/visualbasic/System.CodeDom/CodeAttributeArgument/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeAttributeArgumentCollectionExample/VB/class1.vb b/snippets/visualbasic/System.CodeDom/CodeAttributeArgumentCollection/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeAttributeArgumentCollectionExample/VB/class1.vb rename to snippets/visualbasic/System.CodeDom/CodeAttributeArgumentCollection/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.codedom.codeattributedeclaration/vb/source.vb b/snippets/visualbasic/System.CodeDom/CodeAttributeDeclaration/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.codedom.codeattributedeclaration/vb/source.vb rename to snippets/visualbasic/System.CodeDom/CodeAttributeDeclaration/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeAttributeDeclarationCollectionExample/VB/class1.vb b/snippets/visualbasic/System.CodeDom/CodeAttributeDeclarationCollection/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeAttributeDeclarationCollectionExample/VB/class1.vb rename to snippets/visualbasic/System.CodeDom/CodeAttributeDeclarationCollection/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeBaseReferenceExpressionExample/VB/codebasereferenceexpressionexample.vb b/snippets/visualbasic/System.CodeDom/CodeBaseReferenceExpression/Overview/codebasereferenceexpressionexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeBaseReferenceExpressionExample/VB/codebasereferenceexpressionexample.vb rename to snippets/visualbasic/System.CodeDom/CodeBaseReferenceExpression/Overview/codebasereferenceexpressionexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeBinaryOperatorExpression/VB/codebinaryoperatorexpressionexample.vb b/snippets/visualbasic/System.CodeDom/CodeBinaryOperatorExpression/Overview/codebinaryoperatorexpressionexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeBinaryOperatorExpression/VB/codebinaryoperatorexpressionexample.vb rename to snippets/visualbasic/System.CodeDom/CodeBinaryOperatorExpression/Overview/codebinaryoperatorexpressionexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeCastExpressionExample/VB/codecastexpressionexample.vb b/snippets/visualbasic/System.CodeDom/CodeCastExpression/Overview/codecastexpressionexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeCastExpressionExample/VB/codecastexpressionexample.vb rename to snippets/visualbasic/System.CodeDom/CodeCastExpression/Overview/codecastexpressionexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeTryCatchFinallyExample/VB/codetrycatchfinallyexample.vb b/snippets/visualbasic/System.CodeDom/CodeCatchClause/Overview/codetrycatchfinallyexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeTryCatchFinallyExample/VB/codetrycatchfinallyexample.vb rename to snippets/visualbasic/System.CodeDom/CodeCatchClause/Overview/codetrycatchfinallyexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeCatchClauseCollectionExample/VB/class1.vb b/snippets/visualbasic/System.CodeDom/CodeCatchClauseCollection/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeCatchClauseCollectionExample/VB/class1.vb rename to snippets/visualbasic/System.CodeDom/CodeCatchClauseCollection/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb b/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb rename to snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeCommentExample/VB/codecommentexample.vb b/snippets/visualbasic/System.CodeDom/CodeComment/Overview/codecommentexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeCommentExample/VB/codecommentexample.vb rename to snippets/visualbasic/System.CodeDom/CodeComment/Overview/codecommentexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeDomHelloWorldSample/vb/program.vb b/snippets/visualbasic/System.CodeDom/CodeCommentStatement/.ctor/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeDomHelloWorldSample/vb/program.vb rename to snippets/visualbasic/System.CodeDom/CodeCommentStatement/.ctor/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeCommentStatementCollectionExample/VB/class1.vb b/snippets/visualbasic/System.CodeDom/CodeCommentStatementCollection/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeCommentStatementCollectionExample/VB/class1.vb rename to snippets/visualbasic/System.CodeDom/CodeCommentStatementCollection/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeDomExample/VB/makefile b/snippets/visualbasic/System.CodeDom/CodeCompileUnit/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeDomExample/VB/makefile rename to snippets/visualbasic/System.CodeDom/CodeCompileUnit/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeDomExample/VB/source.vb b/snippets/visualbasic/System.CodeDom/CodeCompileUnit/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeDomExample/VB/source.vb rename to snippets/visualbasic/System.CodeDom/CodeCompileUnit/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeConditionStatementExample/VB/codeconditionstatementexample.vb b/snippets/visualbasic/System.CodeDom/CodeConditionStatement/Overview/codeconditionstatementexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeConditionStatementExample/VB/codeconditionstatementexample.vb rename to snippets/visualbasic/System.CodeDom/CodeConditionStatement/Overview/codeconditionstatementexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeConstructorExample/VB/codeconstructorexample.vb b/snippets/visualbasic/System.CodeDom/CodeConstructor/Overview/codeconstructorexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeConstructorExample/VB/codeconstructorexample.vb rename to snippets/visualbasic/System.CodeDom/CodeConstructor/Overview/codeconstructorexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDOM.Generics.1/VB/codedomgenerics.vb b/snippets/visualbasic/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDOM.Generics.1/VB/codedomgenerics.vb rename to snippets/visualbasic/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeDelegateInvokeExpressionExample/VB/codedelegateinvokeexpressionexample.vb b/snippets/visualbasic/System.CodeDom/CodeDelegateInvokeExpression/Overview/codedelegateinvokeexpressionexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeDelegateInvokeExpressionExample/VB/codedelegateinvokeexpressionexample.vb rename to snippets/visualbasic/System.CodeDom/CodeDelegateInvokeExpression/Overview/codedelegateinvokeexpressionexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeMultiExample/VB/codemultiexample.vb b/snippets/visualbasic/System.CodeDom/CodeDirectionExpression/Overview/codemultiexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeMultiExample/VB/codemultiexample.vb rename to snippets/visualbasic/System.CodeDom/CodeDirectionExpression/Overview/codemultiexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeDirectiveCollectionExample/VB/class1.vb b/snippets/visualbasic/System.CodeDom/CodeDirectiveCollection/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeDirectiveCollectionExample/VB/class1.vb rename to snippets/visualbasic/System.CodeDom/CodeDirectiveCollection/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeEntryPointMethod/VB/codeentrypointmethodexample.vb b/snippets/visualbasic/System.CodeDom/CodeEntryPointMethod/Overview/codeentrypointmethodexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeEntryPointMethod/VB/codeentrypointmethodexample.vb rename to snippets/visualbasic/System.CodeDom/CodeEntryPointMethod/Overview/codeentrypointmethodexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeExpressionCollectionExample/VB/class1.vb b/snippets/visualbasic/System.CodeDom/CodeExpressionCollection/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeExpressionCollectionExample/VB/class1.vb rename to snippets/visualbasic/System.CodeDom/CodeExpressionCollection/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeDomSampleBatch/VB/class1.vb b/snippets/visualbasic/System.CodeDom/CodeExpressionStatement/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeDomSampleBatch/VB/class1.vb rename to snippets/visualbasic/System.CodeDom/CodeExpressionStatement/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeReferenceExample/VB/codereferenceexample.vb b/snippets/visualbasic/System.CodeDom/CodeFieldReferenceExpression/Overview/codereferenceexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeReferenceExample/VB/codereferenceexample.vb rename to snippets/visualbasic/System.CodeDom/CodeFieldReferenceExpression/Overview/codereferenceexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeGotoStatementExample/VB/codegotostatementexample.vb b/snippets/visualbasic/System.CodeDom/CodeGotoStatement/Overview/codegotostatementexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeGotoStatementExample/VB/codegotostatementexample.vb rename to snippets/visualbasic/System.CodeDom/CodeGotoStatement/Overview/codegotostatementexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeIterationStatementExample/VB/codeiterationstatementexample.vb b/snippets/visualbasic/System.CodeDom/CodeIterationStatement/Overview/codeiterationstatementexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeIterationStatementExample/VB/codeiterationstatementexample.vb rename to snippets/visualbasic/System.CodeDom/CodeIterationStatement/Overview/codeiterationstatementexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeMemberEventSample/VB/codemembereventexample.vb b/snippets/visualbasic/System.CodeDom/CodeMemberEvent/Overview/codemembereventexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeMemberEventSample/VB/codemembereventexample.vb rename to snippets/visualbasic/System.CodeDom/CodeMemberEvent/Overview/codemembereventexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeMemberFieldInit/VB/program.vb b/snippets/visualbasic/System.CodeDom/CodeMemberField/InitExpression/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeMemberFieldInit/VB/program.vb rename to snippets/visualbasic/System.CodeDom/CodeMemberField/InitExpression/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeMemberFieldPublicConstExample/VB/class1.vb b/snippets/visualbasic/System.CodeDom/CodeMemberField/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeMemberFieldPublicConstExample/VB/class1.vb rename to snippets/visualbasic/System.CodeDom/CodeMemberField/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeMemberFieldExample/VB/codememberfieldexample.vb b/snippets/visualbasic/System.CodeDom/CodeMemberField/Overview/codememberfieldexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeMemberFieldExample/VB/codememberfieldexample.vb rename to snippets/visualbasic/System.CodeDom/CodeMemberField/Overview/codememberfieldexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeMemberMethodExample/VB/codemembermethodexample.vb b/snippets/visualbasic/System.CodeDom/CodeMemberMethod/Overview/codemembermethodexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeMemberMethodExample/VB/codemembermethodexample.vb rename to snippets/visualbasic/System.CodeDom/CodeMemberMethod/Overview/codemembermethodexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeMemberPropertyExample/VB/codememberpropertyexample.vb b/snippets/visualbasic/System.CodeDom/CodeMemberProperty/Overview/codememberpropertyexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeMemberPropertyExample/VB/codememberpropertyexample.vb rename to snippets/visualbasic/System.CodeDom/CodeMemberProperty/Overview/codememberpropertyexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeMethodInvokeExpression/VB/codemethodinvokeexpressionexample.vb b/snippets/visualbasic/System.CodeDom/CodeMethodInvokeExpression/Overview/codemethodinvokeexpressionexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeMethodInvokeExpression/VB/codemethodinvokeexpressionexample.vb rename to snippets/visualbasic/System.CodeDom/CodeMethodInvokeExpression/Overview/codemethodinvokeexpressionexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.codedom.codemethodreferenceexpression/vb/source.vb b/snippets/visualbasic/System.CodeDom/CodeMethodReferenceExpression/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.codedom.codemethodreferenceexpression/vb/source.vb rename to snippets/visualbasic/System.CodeDom/CodeMethodReferenceExpression/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeMethodReferenceExample/VB/codemethodreferenceexample.vb b/snippets/visualbasic/System.CodeDom/CodeMethodReferenceExpression/Overview/codemethodreferenceexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeMethodReferenceExample/VB/codemethodreferenceexample.vb rename to snippets/visualbasic/System.CodeDom/CodeMethodReferenceExpression/Overview/codemethodreferenceexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeNamespaceExample/VB/codenamespaceexample.vb b/snippets/visualbasic/System.CodeDom/CodeNamespace/Overview/codenamespaceexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeNamespaceExample/VB/codenamespaceexample.vb rename to snippets/visualbasic/System.CodeDom/CodeNamespace/Overview/codenamespaceexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeNamespaceCollectionExample/VB/class1.vb b/snippets/visualbasic/System.CodeDom/CodeNamespaceCollection/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeNamespaceCollectionExample/VB/class1.vb rename to snippets/visualbasic/System.CodeDom/CodeNamespaceCollection/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeNamespaceImportExample/VB/codenamespaceimportexample.vb b/snippets/visualbasic/System.CodeDom/CodeNamespaceImport/Overview/codenamespaceimportexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeNamespaceImportExample/VB/codenamespaceimportexample.vb rename to snippets/visualbasic/System.CodeDom/CodeNamespaceImport/Overview/codenamespaceimportexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeParameterDeclarationExample/VB/codeparameterdeclarationexample.vb b/snippets/visualbasic/System.CodeDom/CodeParameterDeclarationExpression/Overview/codeparameterdeclarationexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeParameterDeclarationExample/VB/codeparameterdeclarationexample.vb rename to snippets/visualbasic/System.CodeDom/CodeParameterDeclarationExpression/Overview/codeparameterdeclarationexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeParameterDeclarationExpressionCollectionExample/VB/class1.vb b/snippets/visualbasic/System.CodeDom/CodeParameterDeclarationExpressionCollection/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeParameterDeclarationExpressionCollectionExample/VB/class1.vb rename to snippets/visualbasic/System.CodeDom/CodeParameterDeclarationExpressionCollection/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodePrimitiveExpressionExample/VB/codeprimitiveexpressionexample.vb b/snippets/visualbasic/System.CodeDom/CodePrimitiveExpression/Overview/codeprimitiveexpressionexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodePrimitiveExpressionExample/VB/codeprimitiveexpressionexample.vb rename to snippets/visualbasic/System.CodeDom/CodePrimitiveExpression/Overview/codeprimitiveexpressionexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodePropertySetValueExample/VB/codepropertysetvalueexample.vb b/snippets/visualbasic/System.CodeDom/CodePropertySetValueReferenceExpression/Overview/codepropertysetvalueexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodePropertySetValueExample/VB/codepropertysetvalueexample.vb rename to snippets/visualbasic/System.CodeDom/CodePropertySetValueReferenceExpression/Overview/codepropertysetvalueexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeRemoveEventExample/VB/coderemoveeventexample.vb b/snippets/visualbasic/System.CodeDom/CodeRemoveEventStatement/Overview/coderemoveeventexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeRemoveEventExample/VB/coderemoveeventexample.vb rename to snippets/visualbasic/System.CodeDom/CodeRemoveEventStatement/Overview/coderemoveeventexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeStatementCollectionExample/VB/class1.vb b/snippets/visualbasic/System.CodeDom/CodeStatementCollection/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeStatementCollectionExample/VB/class1.vb rename to snippets/visualbasic/System.CodeDom/CodeStatementCollection/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeThrowExceptionStatement/VB/codethrowexceptionstatementexample.vb b/snippets/visualbasic/System.CodeDom/CodeThrowExceptionStatement/Overview/codethrowexceptionstatementexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeThrowExceptionStatement/VB/codethrowexceptionstatementexample.vb rename to snippets/visualbasic/System.CodeDom/CodeThrowExceptionStatement/Overview/codethrowexceptionstatementexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeTypeConstructorExample/VB/codetypeconstructorexample.vb b/snippets/visualbasic/System.CodeDom/CodeTypeConstructor/Overview/codetypeconstructorexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeTypeConstructorExample/VB/codetypeconstructorexample.vb rename to snippets/visualbasic/System.CodeDom/CodeTypeConstructor/Overview/codetypeconstructorexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeDomPartialTypeExample/VB/source.vb b/snippets/visualbasic/System.CodeDom/CodeTypeDeclaration/IsPartial/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeDomPartialTypeExample/VB/source.vb rename to snippets/visualbasic/System.CodeDom/CodeTypeDeclaration/IsPartial/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeTypeDeclarationExample/VB/codetypedeclarationexample.vb b/snippets/visualbasic/System.CodeDom/CodeTypeDeclaration/Overview/codetypedeclarationexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeTypeDeclarationExample/VB/codetypedeclarationexample.vb rename to snippets/visualbasic/System.CodeDom/CodeTypeDeclaration/Overview/codetypedeclarationexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeTypeDeclarationCollectionExample/VB/class1.vb b/snippets/visualbasic/System.CodeDom/CodeTypeDeclarationCollection/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeTypeDeclarationCollectionExample/VB/class1.vb rename to snippets/visualbasic/System.CodeDom/CodeTypeDeclarationCollection/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeTypeDelegateExample/VB/codetypedelegateexample.vb b/snippets/visualbasic/System.CodeDom/CodeTypeDelegate/Overview/codetypedelegateexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeTypeDelegateExample/VB/codetypedelegateexample.vb rename to snippets/visualbasic/System.CodeDom/CodeTypeDelegate/Overview/codetypedelegateexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeTypeMemberCollectionExample/VB/class1.vb b/snippets/visualbasic/System.CodeDom/CodeTypeMemberCollection/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeTypeMemberCollectionExample/VB/class1.vb rename to snippets/visualbasic/System.CodeDom/CodeTypeMemberCollection/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeTypeOfExample/VB/codetypeofexample.vb b/snippets/visualbasic/System.CodeDom/CodeTypeOfExpression/Overview/codetypeofexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeTypeOfExample/VB/codetypeofexample.vb rename to snippets/visualbasic/System.CodeDom/CodeTypeOfExpression/Overview/codetypeofexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeTypeReferenceCollection/VB/class1.vb b/snippets/visualbasic/System.CodeDom/CodeTypeReferenceCollection/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeTypeReferenceCollection/VB/class1.vb rename to snippets/visualbasic/System.CodeDom/CodeTypeReferenceCollection/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeVariableDeclarationStatementExample/VB/codevariabledeclarationstatementexample.vb b/snippets/visualbasic/System.CodeDom/CodeVariableDeclarationStatement/Overview/codevariabledeclarationstatementexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeVariableDeclarationStatementExample/VB/codevariabledeclarationstatementexample.vb rename to snippets/visualbasic/System.CodeDom/CodeVariableDeclarationStatement/Overview/codevariabledeclarationstatementexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.blockingcollection/vb/blockingcoll.vb b/snippets/visualbasic/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.blockingcollection/vb/blockingcoll.vb rename to snippets/visualbasic/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrentcoladdupdate/vb/module1.vb b/snippets/visualbasic/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/AddOrUpdate/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrentcoladdupdate/vb/module1.vb rename to snippets/visualbasic/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/AddOrUpdate/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/vb/concdictionary.vb b/snippets/visualbasic/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/vb/concdictionary.vb rename to snippets/visualbasic/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentqueue/vb/concqueue.vb b/snippets/visualbasic/System.Collections.Concurrent/ConcurrentQueueT/Overview/concqueue.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentqueue/vb/concqueue.vb rename to snippets/visualbasic/System.Collections.Concurrent/ConcurrentQueueT/Overview/concqueue.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentstack/vb/concstack_range.vb b/snippets/visualbasic/System.Collections.Concurrent/ConcurrentStackT/Overview/concstack_range.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentstack/vb/concstack_range.vb rename to snippets/visualbasic/System.Collections.Concurrent/ConcurrentStackT/Overview/concstack_range.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentstack/vb/concstack_single.vb b/snippets/visualbasic/System.Collections.Concurrent/ConcurrentStackT/Overview/concstack_single.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentstack/vb/concstack_single.vb rename to snippets/visualbasic/System.Collections.Concurrent/ConcurrentStackT/Overview/concstack_single.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.iproducerconsumercollection/vb/iprodcon.vb b/snippets/visualbasic/System.Collections.Concurrent/IProducerConsumerCollectionT/Overview/iprodcon.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.iproducerconsumercollection/vb/iprodcon.vb rename to snippets/visualbasic/System.Collections.Concurrent/IProducerConsumerCollectionT/Overview/iprodcon.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.orderablepartitioner/vb/orderablepartitioner.vb b/snippets/visualbasic/System.Collections.Concurrent/OrderablePartitionerTSource/Overview/orderablepartitioner.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.orderablepartitioner/vb/orderablepartitioner.vb rename to snippets/visualbasic/System.Collections.Concurrent/OrderablePartitionerTSource/Overview/orderablepartitioner.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.partitioner/vb/partitioner.vb b/snippets/visualbasic/System.Collections.Concurrent/PartitionerTSource/Overview/partitioner.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.partitioner/vb/partitioner.vb rename to snippets/visualbasic/System.Collections.Concurrent/PartitionerTSource/Overview/partitioner.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxcompare/vb/program.vb b/snippets/visualbasic/System.Collections.Generic/ComparerT/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxcompare/vb/program.vb rename to snippets/visualbasic/System.Collections.Generic/ComparerT/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.ctor_IDic/VB/source.vb b/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.ctor_IDic/VB/source.vb rename to snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.ctor_IDicIEqC/VB/source.vb b/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.ctor_IDicIEqC/VB/source.vb rename to snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.ctor_IEqC/VB/source.vb b/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.ctor_IEqC/VB/source.vb rename to snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.ctor_Int32/VB/source.vb b/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.ctor_Int32/VB/source.vb rename to snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.ctor_Int32IEqC/VB/source.vb b/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.ctor_Int32IEqC/VB/source.vb rename to snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source.vb b/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source.vb rename to snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source2.vb b/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source2.vb rename to snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb b/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb rename to snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer.default/vb/program.vb b/snippets/visualbasic/System.Collections.Generic/EqualityComparerT/Default/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer.default/vb/program.vb rename to snippets/visualbasic/System.Collections.Generic/EqualityComparerT/Default/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer.default/vb/vb.vbproj b/snippets/visualbasic/System.Collections.Generic/EqualityComparerT/Default/vb.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer.default/vb/vb.vbproj rename to snippets/visualbasic/System.Collections.Generic/EqualityComparerT/Default/vb.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer/vb/program.vb b/snippets/visualbasic/System.Collections.Generic/EqualityComparerT/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer/vb/program.vb rename to snippets/visualbasic/System.Collections.Generic/EqualityComparerT/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_ExceptWith/vb/Program.vb b/snippets/visualbasic/System.Collections.Generic/HashSetT/.ctor/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_ExceptWith/vb/Program.vb rename to snippets/visualbasic/System.Collections.Generic/HashSetT/.ctor/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_ExceptWith/vb/source2.vb b/snippets/visualbasic/System.Collections.Generic/HashSetT/.ctor/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_ExceptWith/vb/source2.vb rename to snippets/visualbasic/System.Collections.Generic/HashSetT/.ctor/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_Clear/vb/Program.vb b/snippets/visualbasic/System.Collections.Generic/HashSetT/Clear/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_Clear/vb/Program.vb rename to snippets/visualbasic/System.Collections.Generic/HashSetT/Clear/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_RemoveWhere/vb/Program.vb b/snippets/visualbasic/System.Collections.Generic/HashSetT/Contains/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_RemoveWhere/vb/Program.vb rename to snippets/visualbasic/System.Collections.Generic/HashSetT/Contains/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/vb/Program.vb b/snippets/visualbasic/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/vb/Program.vb rename to snippets/visualbasic/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_UnionWith/vb/Program.vb b/snippets/visualbasic/System.Collections.Generic/HashSetT/Overview/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_UnionWith/vb/Program.vb rename to snippets/visualbasic/System.Collections.Generic/HashSetT/Overview/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_SymmetricExceptWith/vb/Program.vb b/snippets/visualbasic/System.Collections.Generic/HashSetT/SymmetricExceptWith/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_SymmetricExceptWith/vb/Program.vb rename to snippets/visualbasic/System.Collections.Generic/HashSetT/SymmetricExceptWith/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxexamples/vb/program.vb b/snippets/visualbasic/System.Collections.Generic/ICollectionT/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxexamples/vb/program.vb rename to snippets/visualbasic/System.Collections.Generic/ICollectionT/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.IDictionary/VB/source.vb b/snippets/visualbasic/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.IDictionary/VB/source.vb rename to snippets/visualbasic/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.IDictionary/VB/source2.vb b/snippets/visualbasic/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.IDictionary/VB/source2.vb rename to snippets/visualbasic/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.ienumerableex/vb/module1.vb b/snippets/visualbasic/System.Collections.Generic/IEnumerableT/Overview/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.ienumerableex/vb/module1.vb rename to snippets/visualbasic/System.Collections.Generic/IEnumerableT/Overview/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.iequalitycomparer/vb/program.vb b/snippets/visualbasic/System.Collections.Generic/IEqualityComparerT/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.iequalitycomparer/vb/program.vb rename to snippets/visualbasic/System.Collections.Generic/IEqualityComparerT/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.LinkedListNode/VB/llnctor.vb b/snippets/visualbasic/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.LinkedListNode/VB/llnctor.vb rename to snippets/visualbasic/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.LinkedList.ctor/VB/llctor.vb b/snippets/visualbasic/System.Collections.Generic/LinkedListT/.ctor/llctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.LinkedList.ctor/VB/llctor.vb rename to snippets/visualbasic/System.Collections.Generic/LinkedListT/.ctor/llctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.LinkedList/vb/source.vb b/snippets/visualbasic/System.Collections.Generic/LinkedListT/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.LinkedList/vb/source.vb rename to snippets/visualbasic/System.Collections.Generic/LinkedListT/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_AsReadOnly/vb/source.vb b/snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_AsReadOnly/vb/source.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_Class/vb/source.vb b/snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_Class/vb/source.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_Ranges/vb/source.vb b/snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_Ranges/vb/source.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/vb/module1.vb b/snippets/visualbasic/System.Collections.Generic/ListT/Add/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/vb/module1.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/Add/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearch/vb/source.vb b/snippets/visualbasic/System.Collections.Generic/ListT/BinarySearch/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearch/vb/source.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/BinarySearch/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearchComparer/vb/source.vb b/snippets/visualbasic/System.Collections.Generic/ListT/BinarySearch/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearchComparer/vb/source.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/BinarySearch/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearchComparerRange/vb/source.vb b/snippets/visualbasic/System.Collections.Generic/ListT/BinarySearch/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearchComparerRange/vb/source.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/BinarySearch/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.capacitycount/vb/module1.vb b/snippets/visualbasic/System.Collections.Generic/ListT/Capacity/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.capacitycount/vb/module1.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/Capacity/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.containsexists/vb/module1.vb b/snippets/visualbasic/System.Collections.Generic/ListT/Contains/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.containsexists/vb/module1.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/Contains/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.contains/vb/program.vb b/snippets/visualbasic/System.Collections.Generic/ListT/Contains/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.contains/vb/program.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/Contains/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_CopyTo/vb/source.vb b/snippets/visualbasic/System.Collections.Generic/ListT/CopyTo/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_CopyTo/vb/source.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/CopyTo/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_FindEtAl/vb/source.vb b/snippets/visualbasic/System.Collections.Generic/ListT/Exists/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_FindEtAl/vb/source.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/Exists/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/list`1_find_methods/vb/module1.vb b/snippets/visualbasic/System.Collections.Generic/ListT/Find/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/list`1_find_methods/vb/module1.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/Find/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Collections.Generic.List.FindIndex/vb/FindIndex1.vb b/snippets/visualbasic/System.Collections.Generic/ListT/FindIndex/FindIndex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Collections.Generic.List.FindIndex/vb/FindIndex1.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/FindIndex/FindIndex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Collections.Generic.List.FindIndex/vb/FindIndex2.vb b/snippets/visualbasic/System.Collections.Generic/ListT/FindIndex/FindIndex2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Collections.Generic.List.FindIndex/vb/FindIndex2.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/FindIndex/FindIndex2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Collections.Generic.List.FindIndex/vb/FindIndex3.vb b/snippets/visualbasic/System.Collections.Generic/ListT/FindIndex/FindIndex3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Collections.Generic.List.FindIndex/vb/FindIndex3.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/FindIndex/FindIndex3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_IndexOf/vb/source.vb b/snippets/visualbasic/System.Collections.Generic/ListT/IndexOf/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_IndexOf/vb/source.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/IndexOf/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_LastIndexOf/vb/source.vb b/snippets/visualbasic/System.Collections.Generic/ListT/LastIndexOf/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_LastIndexOf/vb/source.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/LastIndexOf/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_Reverse/vb/source.vb b/snippets/visualbasic/System.Collections.Generic/ListT/Reverse/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_Reverse/vb/source.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/Reverse/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.sort/vb/Sort1.vb b/snippets/visualbasic/System.Collections.Generic/ListT/Sort/Sort1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.sort/vb/Sort1.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/Sort/Sort1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.sort/vb/module1.vb b/snippets/visualbasic/System.Collections.Generic/ListT/Sort/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.sort/vb/module1.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/Sort/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.Queue/vb/source.vb b/snippets/visualbasic/System.Collections.Generic/QueueT/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.Queue/vb/source.vb rename to snippets/visualbasic/System.Collections.Generic/QueueT/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.ctor_IComp/VB/source.vb b/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.ctor_IComp/VB/source.vb rename to snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.ctor_IDic/VB/source.vb b/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.ctor_IDic/VB/source.vb rename to snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.ctor_IDicIComp/VB/source.vb b/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/.ctor/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.ctor_IDicIComp/VB/source.vb rename to snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/.ctor/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary/VB/source.vb b/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary/VB/source.vb rename to snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb b/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb rename to snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.ctor_IComp/VB/source.vb b/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.ctor_IComp/VB/source.vb rename to snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.ctor_IDic/VB/source.vb b/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.ctor_IDic/VB/source.vb rename to snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.ctor_IDicIComp/VB/source.vb b/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/.ctor/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.ctor_IDicIComp/VB/source.vb rename to snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/.ctor/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.ctor_Int32/VB/source.vb b/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/.ctor/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.ctor_Int32/VB/source.vb rename to snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/.ctor/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.ctor_Int32IComp/VB/source.vb b/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/.ctor/source4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.ctor_Int32IComp/VB/source.vb rename to snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/.ctor/source4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/remarks.vb b/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/remarks.vb rename to snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/source.vb b/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/source.vb rename to snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb b/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb rename to snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb b/snippets/visualbasic/System.Collections.Generic/SortedSetT/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb rename to snippets/visualbasic/System.Collections.Generic/SortedSetT/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.Stack/vb/source.vb b/snippets/visualbasic/System.Collections.Generic/StackT/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.Stack/vb/source.vb rename to snippets/visualbasic/System.Collections.Generic/StackT/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ObjectModel.Collection/VB/source.vb b/snippets/visualbasic/System.Collections.ObjectModel/CollectionT/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ObjectModel.Collection/VB/source.vb rename to snippets/visualbasic/System.Collections.ObjectModel/CollectionT/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ObjectModel.CollectionInherited/VB/source.vb b/snippets/visualbasic/System.Collections.ObjectModel/CollectionT/Overview/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ObjectModel.CollectionInherited/VB/source.vb rename to snippets/visualbasic/System.Collections.ObjectModel/CollectionT/Overview/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/KeyedCollectionMutable/VB/source.vb b/snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/ClearItems/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/KeyedCollectionMutable/VB/source.vb rename to snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/ClearItems/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/KeyedCollection/VB/source.vb b/snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/KeyedCollection/VB/source.vb rename to snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/KeyedCollection2/vb/source.vb b/snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/KeyedCollection2/vb/source.vb rename to snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/generic.ReadOnlyCollection/vb/source.vb b/snippets/visualbasic/System.Collections.ObjectModel/ReadOnlyCollectionT/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/generic.ReadOnlyCollection/vb/source.vb rename to snippets/visualbasic/System.Collections.ObjectModel/ReadOnlyCollectionT/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32_Sections/VB/bitvector32_sections.vb b/snippets/visualbasic/System.Collections.Specialized/BitVector32+Section/Overview/bitvector32_sections.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32_Sections/VB/bitvector32_sections.vb rename to snippets/visualbasic/System.Collections.Specialized/BitVector32+Section/Overview/bitvector32_sections.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32.CreateMasks/VB/bitvector32_createmasks.vb b/snippets/visualbasic/System.Collections.Specialized/BitVector32/CreateMask/bitvector32_createmasks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32.CreateMasks/VB/bitvector32_createmasks.vb rename to snippets/visualbasic/System.Collections.Specialized/BitVector32/CreateMask/bitvector32_createmasks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32.Equals/VB/bitvector32_equals.vb b/snippets/visualbasic/System.Collections.Specialized/BitVector32/Equals/bitvector32_equals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32.Equals/VB/bitvector32_equals.vb rename to snippets/visualbasic/System.Collections.Specialized/BitVector32/Equals/bitvector32_equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32_BitFlags/VB/bitvector32_bitflags.vb b/snippets/visualbasic/System.Collections.Specialized/BitVector32/Overview/bitvector32_bitflags.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32_BitFlags/VB/bitvector32_bitflags.vb rename to snippets/visualbasic/System.Collections.Specialized/BitVector32/Overview/bitvector32_bitflags.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.specialized.collectionsutil/vb/source.vb b/snippets/visualbasic/System.Collections.Specialized/CollectionsUtil/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.specialized.collectionsutil/vb/source.vb rename to snippets/visualbasic/System.Collections.Specialized/CollectionsUtil/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_AddRemove/VB/hybriddictionary_addremove.vb b/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Add/hybriddictionary_addremove.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_AddRemove/VB/hybriddictionary_addremove.vb rename to snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Add/hybriddictionary_addremove.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_Contains/VB/hybriddictionary_contains.vb b/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Contains/hybriddictionary_contains.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_Contains/VB/hybriddictionary_contains.vb rename to snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Contains/hybriddictionary_contains.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_CopyTo/VB/hybriddictionary_copyto.vb b/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/CopyTo/hybriddictionary_copyto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_CopyTo/VB/hybriddictionary_copyto.vb rename to snippets/visualbasic/System.Collections.Specialized/HybridDictionary/CopyTo/hybriddictionary_copyto.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_Enumerator/VB/hybriddictionary_enumerator.vb b/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_Enumerator/VB/hybriddictionary_enumerator.vb rename to snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary2/VB/hybriddictionary.vb b/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Overview/hybriddictionary.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary2/VB/hybriddictionary.vb rename to snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Overview/hybriddictionary.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary2/VB/source2.vb b/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Overview/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary2/VB/source2.vb rename to snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Overview/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/iordereddictionary.vb b/snippets/visualbasic/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/iordereddictionary.vb rename to snippets/visualbasic/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/remarks.vb b/snippets/visualbasic/System.Collections.Specialized/IOrderedDictionary/Overview/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/remarks.vb rename to snippets/visualbasic/System.Collections.Specialized/IOrderedDictionary/Overview/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_AddRemove/VB/listdictionary_addremove.vb b/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Add/listdictionary_addremove.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_AddRemove/VB/listdictionary_addremove.vb rename to snippets/visualbasic/System.Collections.Specialized/ListDictionary/Add/listdictionary_addremove.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_Contains/VB/listdictionary_contains.vb b/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Contains/listdictionary_contains.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_Contains/VB/listdictionary_contains.vb rename to snippets/visualbasic/System.Collections.Specialized/ListDictionary/Contains/listdictionary_contains.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_CopyTo/VB/listdictionary_copyto.vb b/snippets/visualbasic/System.Collections.Specialized/ListDictionary/CopyTo/listdictionary_copyto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_CopyTo/VB/listdictionary_copyto.vb rename to snippets/visualbasic/System.Collections.Specialized/ListDictionary/CopyTo/listdictionary_copyto.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_Enumerator/VB/listdictionary_enumerator.vb b/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_Enumerator/VB/listdictionary_enumerator.vb rename to snippets/visualbasic/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary2/VB/listdictionary.vb b/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Overview/listdictionary.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary2/VB/listdictionary.vb rename to snippets/visualbasic/System.Collections.Specialized/ListDictionary/Overview/listdictionary.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary2/VB/source2.vb b/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Overview/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary2/VB/source2.vb rename to snippets/visualbasic/System.Collections.Specialized/ListDictionary/Overview/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.specialized.nameobjectcollectionbase.keyscollection/vb/source.vb b/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase+KeysCollection/System.Collections.ICollection.IsSynchronized/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.specialized.nameobjectcollectionbase.keyscollection/vb/source.vb rename to snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase+KeysCollection/System.Collections.ICollection.IsSynchronized/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseAdd/VB/nocb_baseadd.vb b/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseAdd/nocb_baseadd.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseAdd/VB/nocb_baseadd.vb rename to snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseAdd/nocb_baseadd.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseClear/VB/nocb_baseclear.vb b/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseClear/nocb_baseclear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseClear/VB/nocb_baseclear.vb rename to snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseClear/nocb_baseclear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseGetAll/VB/nocb_basegetall.vb b/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseGetAllKeys/nocb_basegetall.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseGetAll/VB/nocb_basegetall.vb rename to snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseGetAllKeys/nocb_basegetall.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseGet/VB/nocb_baseget.vb b/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseGetKey/nocb_baseget.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseGet/VB/nocb_baseget.vb rename to snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseGetKey/nocb_baseget.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseHasKeys/VB/nocb_basehaskeys.vb b/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseHasKeys/nocb_basehaskeys.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseHasKeys/VB/nocb_basehaskeys.vb rename to snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseHasKeys/nocb_basehaskeys.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseRemove/VB/nocb_baseremove.vb b/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseRemove/nocb_baseremove.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseRemove/VB/nocb_baseremove.vb rename to snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseRemove/nocb_baseremove.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseSet/VB/nocb_baseset.vb b/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseSet/nocb_baseset.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseSet/VB/nocb_baseset.vb rename to snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseSet/nocb_baseset.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.IsReadOnly/VB/nocb_isreadonly.vb b/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/IsReadOnly/nocb_isreadonly.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.IsReadOnly/VB/nocb_isreadonly.vb rename to snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/IsReadOnly/nocb_isreadonly.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase/VB/nameobjectcollectionbase.vb b/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/Overview/nameobjectcollectionbase.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase/VB/nameobjectcollectionbase.vb rename to snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/Overview/nameobjectcollectionbase.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase/VB/remarks.vb b/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/Overview/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase/VB/remarks.vb rename to snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/Overview/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameValueCollection2/VB/nvc.vb b/snippets/visualbasic/System.Collections.Specialized/NameValueCollection/Overview/nvc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameValueCollection2/VB/nvc.vb rename to snippets/visualbasic/System.Collections.Specialized/NameValueCollection/Overview/nvc.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb b/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb rename to snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/source2.vb b/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/source2.vb rename to snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionAdd/VB/stringcollectionadd.vb b/snippets/visualbasic/System.Collections.Specialized/StringCollection/Add/stringcollectionadd.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionAdd/VB/stringcollectionadd.vb rename to snippets/visualbasic/System.Collections.Specialized/StringCollection/Add/stringcollectionadd.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionRemove/VB/stringcollectionremove.vb b/snippets/visualbasic/System.Collections.Specialized/StringCollection/Clear/stringcollectionremove.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionRemove/VB/stringcollectionremove.vb rename to snippets/visualbasic/System.Collections.Specialized/StringCollection/Clear/stringcollectionremove.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionContains/VB/stringcollectioncontains.vb b/snippets/visualbasic/System.Collections.Specialized/StringCollection/Contains/stringcollectioncontains.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionContains/VB/stringcollectioncontains.vb rename to snippets/visualbasic/System.Collections.Specialized/StringCollection/Contains/stringcollectioncontains.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionCopyTo/VB/stringcollectioncopyto.vb b/snippets/visualbasic/System.Collections.Specialized/StringCollection/CopyTo/stringcollectioncopyto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionCopyTo/VB/stringcollectioncopyto.vb rename to snippets/visualbasic/System.Collections.Specialized/StringCollection/CopyTo/stringcollectioncopyto.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollection2/VB/remarks.vb b/snippets/visualbasic/System.Collections.Specialized/StringCollection/Overview/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollection2/VB/remarks.vb rename to snippets/visualbasic/System.Collections.Specialized/StringCollection/Overview/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollection2/VB/stringcollection.vb b/snippets/visualbasic/System.Collections.Specialized/StringCollection/Overview/stringcollection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollection2/VB/stringcollection.vb rename to snippets/visualbasic/System.Collections.Specialized/StringCollection/Overview/stringcollection.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_AddRemove/VB/stringdictionary_addremove.vb b/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Add/stringdictionary_addremove.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_AddRemove/VB/stringdictionary_addremove.vb rename to snippets/visualbasic/System.Collections.Specialized/StringDictionary/Add/stringdictionary_addremove.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Contains/VB/stringdictionary_contains.vb b/snippets/visualbasic/System.Collections.Specialized/StringDictionary/ContainsKey/stringdictionary_contains.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Contains/VB/stringdictionary_contains.vb rename to snippets/visualbasic/System.Collections.Specialized/StringDictionary/ContainsKey/stringdictionary_contains.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringDictionary.CopyTo/VB/stringdictionary_copyto.vb b/snippets/visualbasic/System.Collections.Specialized/StringDictionary/CopyTo/stringdictionary_copyto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringDictionary.CopyTo/VB/stringdictionary_copyto.vb rename to snippets/visualbasic/System.Collections.Specialized/StringDictionary/CopyTo/stringdictionary_copyto.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Enumeration/VB/stringdictionary_enumeration.vb b/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Count/stringdictionary_enumeration.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Enumeration/VB/stringdictionary_enumeration.vb rename to snippets/visualbasic/System.Collections.Specialized/StringDictionary/Count/stringdictionary_enumeration.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Enumeration/VB/values.vb b/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Count/values.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Enumeration/VB/values.vb rename to snippets/visualbasic/System.Collections.Specialized/StringDictionary/Count/values.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary/VB/source2.vb b/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Overview/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary/VB/source2.vb rename to snippets/visualbasic/System.Collections.Specialized/StringDictionary/Overview/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary/VB/stringdictionary.vb b/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Overview/stringdictionary.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary/VB/stringdictionary.vb rename to snippets/visualbasic/System.Collections.Specialized/StringDictionary/Overview/stringdictionary.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringEnumerator2/VB/stringenumerator.vb b/snippets/visualbasic/System.Collections.Specialized/StringEnumerator/Overview/stringenumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringEnumerator2/VB/stringenumerator.vb rename to snippets/visualbasic/System.Collections.Specialized/StringEnumerator/Overview/stringenumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/collections.arraylist.getenumerator/vb/program.vb b/snippets/visualbasic/System.Collections/ArrayList/GetEnumerator/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/collections.arraylist.getenumerator/vb/program.vb rename to snippets/visualbasic/System.Collections/ArrayList/GetEnumerator/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Item/VB/source.vb b/snippets/visualbasic/System.Collections/ArrayList/Item/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Item/VB/source.vb rename to snippets/visualbasic/System.Collections/ArrayList/Item/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Item/VB/source2.vb b/snippets/visualbasic/System.Collections/ArrayList/Item/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Item/VB/source2.vb rename to snippets/visualbasic/System.Collections/ArrayList/Item/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Sort_2/VB/arraylist_sort2.vb b/snippets/visualbasic/System.Collections/ArrayList/Sort/arraylist_sort2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Sort_2/VB/arraylist_sort2.vb rename to snippets/visualbasic/System.Collections/ArrayList/Sort/arraylist_sort2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Sort_3/VB/arraylist_sort3.vb b/snippets/visualbasic/System.Collections/ArrayList/Sort/arraylist_sort3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Sort_3/VB/arraylist_sort3.vb rename to snippets/visualbasic/System.Collections/ArrayList/Sort/arraylist_sort3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.ToArray/VB/arraylist_toarray.vb b/snippets/visualbasic/System.Collections/ArrayList/ToArray/arraylist_toarray.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.ToArray/VB/arraylist_toarray.vb rename to snippets/visualbasic/System.Collections/ArrayList/ToArray/arraylist_toarray.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CaseInsensitive/VB/caseinsensitive.vb b/snippets/visualbasic/System.Collections/CaseInsensitiveComparer/Overview/caseinsensitive.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CaseInsensitive/VB/caseinsensitive.vb rename to snippets/visualbasic/System.Collections/CaseInsensitiveComparer/Overview/caseinsensitive.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb b/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb rename to snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/remarks.vb b/snippets/visualbasic/System.Collections/CollectionBase/Overview/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/remarks.vb rename to snippets/visualbasic/System.Collections/CollectionBase/Overview/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Comparer/VB/comparercultures.vb b/snippets/visualbasic/System.Collections/Comparer/Overview/comparercultures.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Comparer/VB/comparercultures.vb rename to snippets/visualbasic/System.Collections/Comparer/Overview/comparercultures.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb b/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb rename to snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/source2.vb b/snippets/visualbasic/System.Collections/DictionaryBase/Overview/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/source2.vb rename to snippets/visualbasic/System.Collections/DictionaryBase/Overview/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/Dictionary.vb b/snippets/visualbasic/System.Collections/DictionaryEntry/Key/Dictionary.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/Dictionary.vb rename to snippets/visualbasic/System.Collections/DictionaryEntry/Key/Dictionary.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/remarks.vb b/snippets/visualbasic/System.Collections/DictionaryEntry/Key/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/remarks.vb rename to snippets/visualbasic/System.Collections/DictionaryEntry/Key/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryEntry/vb/DictionaryEntrySample.vb b/snippets/visualbasic/System.Collections/DictionaryEntry/Overview/DictionaryEntrySample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryEntry/vb/DictionaryEntrySample.vb rename to snippets/visualbasic/System.Collections/DictionaryEntry/Overview/DictionaryEntrySample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctor/VB/hashtable_ctor.vb b/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctor/VB/hashtable_ctor.vb rename to snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorDictionary/VB/hashtable_ctordictionary.vb b/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctordictionary.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorDictionary/VB/hashtable_ctordictionary.vb rename to snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctordictionary.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorDictionaryFloat/VB/hashtable_ctordictionaryfloat.vb b/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctordictionaryfloat.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorDictionaryFloat/VB/hashtable_ctordictionaryfloat.vb rename to snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctordictionaryfloat.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorInt/VB/hashtable_ctorint.vb b/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctorint.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorInt/VB/hashtable_ctorint.vb rename to snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctorint.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorIntFloat/VB/hashtable_ctorintfloat.vb b/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctorintfloat.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorIntFloat/VB/hashtable_ctorintfloat.vb rename to snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctorintfloat.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ClassExample/vb/hashtable_example.vb b/snippets/visualbasic/System.Collections/Hashtable/Overview/hashtable_example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ClassExample/vb/hashtable_example.vb rename to snippets/visualbasic/System.Collections/Hashtable/Overview/hashtable_example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ClassExample/vb/remarks.vb b/snippets/visualbasic/System.Collections/Hashtable/Overview/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ClassExample/vb/remarks.vb rename to snippets/visualbasic/System.Collections/Hashtable/Overview/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.icollection/vb/remarks.vb b/snippets/visualbasic/System.Collections/ICollection/IsSynchronized/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.icollection/vb/remarks.vb rename to snippets/visualbasic/System.Collections/ICollection/IsSynchronized/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/vb/ienumerator.vb b/snippets/visualbasic/System.Collections/IEnumerable/Overview/ienumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/vb/ienumerator.vb rename to snippets/visualbasic/System.Collections/IEnumerable/Overview/ienumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb b/snippets/visualbasic/System.Collections/IList/Overview/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb rename to snippets/visualbasic/System.Collections/IList/Overview/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.istructuralequatable/vb/nanexample1.vb b/snippets/visualbasic/System.Collections/IStructuralEquatable/Overview/nanexample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.istructuralequatable/vb/nanexample1.vb rename to snippets/visualbasic/System.Collections/IStructuralEquatable/Overview/nanexample1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ReadOnlyCollectionBase/VB/readonlycollectionbase.vb b/snippets/visualbasic/System.Collections/ReadOnlyCollectionBase/Overview/readonlycollectionbase.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ReadOnlyCollectionBase/VB/readonlycollectionbase.vb rename to snippets/visualbasic/System.Collections/ReadOnlyCollectionBase/Overview/readonlycollectionbase.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ReadOnlyCollectionBase/VB/source2.vb b/snippets/visualbasic/System.Collections/ReadOnlyCollectionBase/Overview/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ReadOnlyCollectionBase/VB/source2.vb rename to snippets/visualbasic/System.Collections/ReadOnlyCollectionBase/Overview/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctor/VB/sortedlist_ctor.vb b/snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctor/VB/sortedlist_ctor.vb rename to snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctorDictionary/VB/sortedlist_ctordictionary.vb b/snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctordictionary.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctorDictionary/VB/sortedlist_ctordictionary.vb rename to snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctordictionary.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctorInt/VB/sortedlist_ctorint.vb b/snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctorint.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctorInt/VB/sortedlist_ctorint.vb rename to snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctorint.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IDesignerSerializationManagerSample/VB/idesignerserializationmanagersample.vb b/snippets/visualbasic/System.ComponentModel.Design.Serialization/CodeDomSerializer/Overview/idesignerserializationmanagersample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IDesignerSerializationManagerSample/VB/idesignerserializationmanagersample.vb rename to snippets/visualbasic/System.ComponentModel.Design.Serialization/CodeDomSerializer/Overview/idesignerserializationmanagersample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/CodeDomSerializerExceptionExample/VB/source.vb b/snippets/visualbasic/System.ComponentModel.Design.Serialization/CodeDomSerializerException/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/CodeDomSerializerExceptionExample/VB/source.vb rename to snippets/visualbasic/System.ComponentModel.Design.Serialization/CodeDomSerializerException/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ContextStackExample/VB/class1.vb b/snippets/visualbasic/System.ComponentModel.Design.Serialization/ContextStack/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ContextStackExample/VB/class1.vb rename to snippets/visualbasic/System.ComponentModel.Design.Serialization/ContextStack/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.Serialization.DesignerSerializationManager.SampleObject/VB/Program.vb b/snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.Serialization.DesignerSerializationManager.SampleObject/VB/Program.vb rename to snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.Serialization.DesignerSerializationManager.SampleObject/VB/SampleObject.vb b/snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/SampleObject.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.Serialization.DesignerSerializationManager.SampleObject/VB/SampleObject.vb rename to snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/SampleObject.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.Serialization.DesignerSerializationManager.SampleObject/VB/makefile b/snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.Serialization.DesignerSerializationManager.SampleObject/VB/makefile rename to snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DesignerSerializerAttribute/VB/source.vb b/snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializerAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DesignerSerializerAttribute/VB/source.vb rename to snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializerAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/INameCreationServiceExample/VB/class1.vb b/snippets/visualbasic/System.ComponentModel.Design.Serialization/INameCreationService/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/INameCreationServiceExample/VB/class1.vb rename to snippets/visualbasic/System.ComponentModel.Design.Serialization/INameCreationService/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MoreEventArgsExamples/VB/class1.vb b/snippets/visualbasic/System.ComponentModel.Design.Serialization/ResolveNameEventArgs/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MoreEventArgsExamples/VB/class1.vb rename to snippets/visualbasic/System.ComponentModel.Design.Serialization/ResolveNameEventArgs/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MoreEventHandlerExamples/VB/form1.vb b/snippets/visualbasic/System.ComponentModel.Design.Serialization/ResolveNameEventHandler/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MoreEventHandlerExamples/VB/form1.vb rename to snippets/visualbasic/System.ComponentModel.Design.Serialization/ResolveNameEventHandler/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ActiveDesignerEventArgs/VB/class1.vb b/snippets/visualbasic/System.ComponentModel.Design/ActiveDesignerEventArgs/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ActiveDesignerEventArgs/VB/class1.vb rename to snippets/visualbasic/System.ComponentModel.Design/ActiveDesignerEventArgs/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ActiveDesignerEventHandlerExample/VB/activedesignereventhandlerexample.vb b/snippets/visualbasic/System.ComponentModel.Design/ActiveDesignerEventHandler/Overview/activedesignereventhandlerexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ActiveDesignerEventHandlerExample/VB/activedesignereventhandlerexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/ActiveDesignerEventHandler/Overview/activedesignereventhandlerexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ArrayEditorExample/VB/class1.vb b/snippets/visualbasic/System.ComponentModel.Design/ArrayEditor/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ArrayEditorExample/VB/class1.vb rename to snippets/visualbasic/System.ComponentModel.Design/ArrayEditor/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ByteViewerExample/VB/form1.vb b/snippets/visualbasic/System.ComponentModel.Design/ByteViewer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ByteViewerExample/VB/form1.vb rename to snippets/visualbasic/System.ComponentModel.Design/ByteViewer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/CheckoutExceptionExample/VB/checkoutexceptionexample.vb b/snippets/visualbasic/System.ComponentModel.Design/CheckoutException/Overview/checkoutexceptionexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/CheckoutExceptionExample/VB/checkoutexceptionexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/CheckoutException/Overview/checkoutexceptionexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/EditorAttributesExample/VB/class1.vb b/snippets/visualbasic/System.ComponentModel.Design/CollectionEditor/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/EditorAttributesExample/VB/class1.vb rename to snippets/visualbasic/System.ComponentModel.Design/CollectionEditor/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ComponentChangedEventArgsExample/VB/componentchangedeventargsexample.vb b/snippets/visualbasic/System.ComponentModel.Design/ComponentChangedEventArgs/Overview/componentchangedeventargsexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ComponentChangedEventArgsExample/VB/componentchangedeventargsexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/ComponentChangedEventArgs/Overview/componentchangedeventargsexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ComponentChangedEventHandlerExample/VB/componentchangedeventhandlerexample.vb b/snippets/visualbasic/System.ComponentModel.Design/ComponentChangedEventHandler/Overview/componentchangedeventhandlerexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ComponentChangedEventHandlerExample/VB/componentchangedeventhandlerexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/ComponentChangedEventHandler/Overview/componentchangedeventhandlerexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ComponentChangingEventArgsExample2/VB/componentchangingeventargsexample.vb b/snippets/visualbasic/System.ComponentModel.Design/ComponentChangingEventArgs/Overview/componentchangingeventargsexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ComponentChangingEventArgsExample2/VB/componentchangingeventargsexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/ComponentChangingEventArgs/Overview/componentchangingeventargsexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ComponentChangingEventHandlerExample/VB/componentchangingeventhandlerexample.vb b/snippets/visualbasic/System.ComponentModel.Design/ComponentChangingEventHandler/Overview/componentchangingeventhandlerexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ComponentChangingEventHandlerExample/VB/componentchangingeventhandlerexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/ComponentChangingEventHandler/Overview/componentchangingeventhandlerexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ComponentDesignerExample/VB/examplecomponent.vb b/snippets/visualbasic/System.ComponentModel.Design/ComponentDesigner/Overview/examplecomponent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ComponentDesignerExample/VB/examplecomponent.vb rename to snippets/visualbasic/System.ComponentModel.Design/ComponentDesigner/Overview/examplecomponent.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ComponentEventArgsExample/VB/componenteventargsexample.vb b/snippets/visualbasic/System.ComponentModel.Design/ComponentEventArgs/Overview/componenteventargsexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ComponentEventArgsExample/VB/componenteventargsexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/ComponentEventArgs/Overview/componenteventargsexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ComponentEventHandlerExample/VB/componenteventhandlerexample.vb b/snippets/visualbasic/System.ComponentModel.Design/ComponentEventHandler/Overview/componenteventhandlerexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ComponentEventHandlerExample/VB/componenteventhandlerexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/ComponentEventHandler/Overview/componenteventhandlerexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ComponentRenameEventArgsExample/VB/componentrenameeventargsexample.vb b/snippets/visualbasic/System.ComponentModel.Design/ComponentRenameEventArgs/Overview/componentrenameeventargsexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ComponentRenameEventArgsExample/VB/componentrenameeventargsexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/ComponentRenameEventArgs/Overview/componentrenameeventargsexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ComponentRenameEventHandlerExample/VB/componentrenameeventhandlerexample.vb b/snippets/visualbasic/System.ComponentModel.Design/ComponentRenameEventHandler/Overview/componentrenameeventhandlerexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ComponentRenameEventHandlerExample/VB/componentrenameeventhandlerexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/ComponentRenameEventHandler/Overview/componentrenameeventhandlerexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb b/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb rename to snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DesignerCollectionExample/VB/examplecomponent.vb b/snippets/visualbasic/System.ComponentModel.Design/DesignerCollection/Overview/examplecomponent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DesignerCollectionExample/VB/examplecomponent.vb rename to snippets/visualbasic/System.ComponentModel.Design/DesignerCollection/Overview/examplecomponent.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DesignerEventArgsExample/VB/designereventargsexample.vb b/snippets/visualbasic/System.ComponentModel.Design/DesignerEventArgs/Overview/designereventargsexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DesignerEventArgsExample/VB/designereventargsexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/DesignerEventArgs/Overview/designereventargsexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DesignerEventHandlerExample/VB/designereventhandlerexample.vb b/snippets/visualbasic/System.ComponentModel.Design/DesignerEventHandler/Overview/designereventhandlerexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DesignerEventHandlerExample/VB/designereventhandlerexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/DesignerEventHandler/Overview/designereventhandlerexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerOptionService/VB/designeroptionservicecontrol.vb b/snippets/visualbasic/System.ComponentModel.Design/DesignerOptionService/Overview/designeroptionservicecontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerOptionService/VB/designeroptionservicecontrol.vb rename to snippets/visualbasic/System.ComponentModel.Design/DesignerOptionService/Overview/designeroptionservicecontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IDesignerOptionServiceExample/VB/idesigneroptionservicecontrol.vb b/snippets/visualbasic/System.ComponentModel.Design/DesignerOptionService/Overview/idesigneroptionservicecontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IDesignerOptionServiceExample/VB/idesigneroptionservicecontrol.vb rename to snippets/visualbasic/System.ComponentModel.Design/DesignerOptionService/Overview/idesigneroptionservicecontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DesignerTransaction Sample/VB/source.vb b/snippets/visualbasic/System.ComponentModel.Design/DesignerTransaction/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DesignerTransaction Sample/VB/source.vb rename to snippets/visualbasic/System.ComponentModel.Design/DesignerTransaction/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DesignerTransactionCloseEventArgsExample/VB/designertransactioncloseeventargsexample.vb b/snippets/visualbasic/System.ComponentModel.Design/DesignerTransactionCloseEventArgs/Overview/designertransactioncloseeventargsexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DesignerTransactionCloseEventArgsExample/VB/designertransactioncloseeventargsexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/DesignerTransactionCloseEventArgs/Overview/designertransactioncloseeventargsexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DesignerTransactionCloseEventHandlerExample/VB/designertransactioncloseeventhandlerexample.vb b/snippets/visualbasic/System.ComponentModel.Design/DesignerTransactionCloseEventHandler/Overview/designertransactioncloseeventhandlerexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DesignerTransactionCloseEventHandlerExample/VB/designertransactioncloseeventhandlerexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/DesignerTransactionCloseEventHandler/Overview/designertransactioncloseeventhandlerexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerb Example/VB/component1.vb b/snippets/visualbasic/System.ComponentModel.Design/DesignerVerb/Overview/component1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DesignerVerb Example/VB/component1.vb rename to snippets/visualbasic/System.ComponentModel.Design/DesignerVerb/Overview/component1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb b/snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb rename to snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IComponentChangeServiceSample2/VB/icomponentchangeserviceexample.vb b/snippets/visualbasic/System.ComponentModel.Design/IComponentChangeService/Overview/icomponentchangeserviceexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IComponentChangeServiceSample2/VB/icomponentchangeserviceexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/IComponentChangeService/Overview/icomponentchangeserviceexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IDesignerExample/VB/testcontrol.vb b/snippets/visualbasic/System.ComponentModel.Design/IDesigner/Overview/testcontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IDesignerExample/VB/testcontrol.vb rename to snippets/visualbasic/System.ComponentModel.Design/IDesigner/Overview/testcontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IDesignerEventServiceExample/VB/source.vb b/snippets/visualbasic/System.ComponentModel.Design/IDesignerEventService/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IDesignerEventServiceExample/VB/source.vb rename to snippets/visualbasic/System.ComponentModel.Design/IDesignerEventService/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ControlDesignerExample/VB/controldesignerexample.vb b/snippets/visualbasic/System.ComponentModel.Design/IDesignerFilter/Overview/controldesignerexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ControlDesignerExample/VB/controldesignerexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/IDesignerFilter/Overview/controldesignerexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IDesignerHostExample/VB/idesignerhostexample.vb b/snippets/visualbasic/System.ComponentModel.Design/IDesignerHost/Overview/idesignerhostexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IDesignerHostExample/VB/idesignerhostexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/IDesignerHost/Overview/idesignerhostexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DesignerHostAcquisition/VB/source.vb b/snippets/visualbasic/System.ComponentModel.Design/IDesignerHost/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DesignerHostAcquisition/VB/source.vb rename to snippets/visualbasic/System.ComponentModel.Design/IDesignerHost/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IDictionaryServiceExample/VB/source.vb b/snippets/visualbasic/System.ComponentModel.Design/IDictionaryService/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IDictionaryServiceExample/VB/source.vb rename to snippets/visualbasic/System.ComponentModel.Design/IDictionaryService/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IEventBindingServiceExample/VB/source.vb b/snippets/visualbasic/System.ComponentModel.Design/IEventBindingService/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IEventBindingServiceExample/VB/source.vb rename to snippets/visualbasic/System.ComponentModel.Design/IEventBindingService/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ExtenderListServiceExample/VB/extenderlistserviceexample.vb b/snippets/visualbasic/System.ComponentModel.Design/IExtenderListService/Overview/extenderlistserviceexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ExtenderListServiceExample/VB/extenderlistserviceexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/IExtenderListService/Overview/extenderlistserviceexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ExtenderServiceExample/VB/extenderservicedesigner.vb b/snippets/visualbasic/System.ComponentModel.Design/IExtenderProviderService/Overview/extenderservicedesigner.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ExtenderServiceExample/VB/extenderservicedesigner.vb rename to snippets/visualbasic/System.ComponentModel.Design/IExtenderProviderService/Overview/extenderservicedesigner.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IHelpServiceExample/VB/source.vb b/snippets/visualbasic/System.ComponentModel.Design/IHelpService/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IHelpServiceExample/VB/source.vb rename to snippets/visualbasic/System.ComponentModel.Design/IHelpService/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MenuCommand Example/VB/component1.vb b/snippets/visualbasic/System.ComponentModel.Design/IMenuCommandService/Overview/component1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MenuCommand Example/VB/component1.vb rename to snippets/visualbasic/System.ComponentModel.Design/IMenuCommandService/Overview/component1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IReferenceServiceExample/VB/ireferenceserviceexample.vb b/snippets/visualbasic/System.ComponentModel.Design/IReferenceService/Overview/ireferenceserviceexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IReferenceServiceExample/VB/ireferenceserviceexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/IReferenceService/Overview/ireferenceserviceexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IResourceServiceExample/VB/source.vb b/snippets/visualbasic/System.ComponentModel.Design/IResourceService/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IResourceServiceExample/VB/source.vb rename to snippets/visualbasic/System.ComponentModel.Design/IResourceService/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IRootDesigner Sample/VB/class1.vb b/snippets/visualbasic/System.ComponentModel.Design/IRootDesigner/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IRootDesigner Sample/VB/class1.vb rename to snippets/visualbasic/System.ComponentModel.Design/IRootDesigner/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ISelectionServiceSample/VB/selectioncomponent.vb b/snippets/visualbasic/System.ComponentModel.Design/ISelectionService/Overview/selectioncomponent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ISelectionServiceSample/VB/selectioncomponent.vb rename to snippets/visualbasic/System.ComponentModel.Design/ISelectionService/Overview/selectioncomponent.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ISelectionService/VB/csiselectionserviceexample.vb b/snippets/visualbasic/System.ComponentModel.Design/ISelectionService/SelectionChanged/csiselectionserviceexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ISelectionService/VB/csiselectionserviceexample.vb rename to snippets/visualbasic/System.ComponentModel.Design/ISelectionService/SelectionChanged/csiselectionserviceexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ISelectionService/VB/makefile b/snippets/visualbasic/System.ComponentModel.Design/ISelectionService/SelectionChanged/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ISelectionService/VB/makefile rename to snippets/visualbasic/System.ComponentModel.Design/ISelectionService/SelectionChanged/makefile diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ServiceContainerExample/VB/form1.vb b/snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/AddService/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ServiceContainerExample/VB/form1.vb rename to snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/AddService/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IServiceContainerExample/VB/serviceform.vb b/snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/Overview/serviceform.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IServiceContainerExample/VB/serviceform.vb rename to snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/Overview/serviceform.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ITypeDescriptorFilterService/VB/source.vb b/snippets/visualbasic/System.ComponentModel.Design/ITypeDescriptorFilterService/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ITypeDescriptorFilterService/VB/source.vb rename to snippets/visualbasic/System.ComponentModel.Design/ITypeDescriptorFilterService/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ITypeResolutionServiceExample/VB/ityperesolutionservicecontrol.vb b/snippets/visualbasic/System.ComponentModel.Design/ITypeResolutionService/Overview/ityperesolutionservicecontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ITypeResolutionServiceExample/VB/ityperesolutionservicecontrol.vb rename to snippets/visualbasic/System.ComponentModel.Design/ITypeResolutionService/Overview/ityperesolutionservicecontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ServiceArchitectureExample/VB/serviceform.vb b/snippets/visualbasic/System.ComponentModel.Design/ServiceContainer/Overview/serviceform.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ServiceArchitectureExample/VB/serviceform.vb rename to snippets/visualbasic/System.ComponentModel.Design/ServiceContainer/Overview/serviceform.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ServiceCreatorCallback Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel.Design/ServiceCreatorCallback/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ServiceCreatorCallback Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel.Design/ServiceCreatorCallback/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IUIServiceExample/VB/class1.vb b/snippets/visualbasic/System.ComponentModel.Design/StandardToolWindows/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IUIServiceExample/VB/class1.vb rename to snippets/visualbasic/System.ComponentModel.Design/StandardToolWindows/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/LocalizationExtenderProviderExample/VB/class1.vb b/snippets/visualbasic/System.ComponentModel.Design/ViewTechnology/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/LocalizationExtenderProviderExample/VB/class1.vb rename to snippets/visualbasic/System.ComponentModel.Design/ViewTechnology/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/VB/form1.vb b/snippets/visualbasic/System.ComponentModel/AddingNewEventArgs/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/VB/form1.vb rename to snippets/visualbasic/System.ComponentModel/AddingNewEventArgs/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb b/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb rename to snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/makefile b/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/makefile rename to snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb b/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb rename to snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.AttributeCollection Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/AttributeCollection/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.AttributeCollection Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/AttributeCollection/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Contains Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/AttributeCollection/Contains/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Contains Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/AttributeCollection/Contains/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Contains1 Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/AttributeCollection/Contains/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Contains1 Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/AttributeCollection/Contains/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Count Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/AttributeCollection/Count/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Count Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/AttributeCollection/Count/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.GetEnumerator Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/AttributeCollection/GetEnumerator/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.GetEnumerator Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/AttributeCollection/GetEnumerator/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.this Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/AttributeCollection/Item/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.this Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/AttributeCollection/Item/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.this1 Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/AttributeCollection/Item/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.this1 Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/AttributeCollection/Item/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Matches Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/AttributeCollection/Matches/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Matches Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/AttributeCollection/Matches/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Matches1 Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/AttributeCollection/Matches/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Matches1 Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/AttributeCollection/Matches/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/AttributeCollection/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/AttributeCollection/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker.IsBusy/VB/Form1.vb b/snippets/visualbasic/System.ComponentModel/BackgroundWorker/IsBusy/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker.IsBusy/VB/Form1.vb rename to snippets/visualbasic/System.ComponentModel/BackgroundWorker/IsBusy/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/app.config b/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/app.config similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/app.config rename to snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/app.config diff --git a/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/backgroundworkersimple.vbproj b/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/backgroundworkersimple.vbproj new file mode 100644 index 00000000000..98dbdf9a6e0 --- /dev/null +++ b/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/backgroundworkersimple.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb b/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb similarity index 57% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb rename to snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb index 06bcedb1a0a..c5d330adca6 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb +++ b/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb @@ -1,25 +1,22 @@ ' ' -Imports System.Collections Imports System.ComponentModel -Imports System.Drawing -Imports System.Threading Imports System.Windows.Forms ' Public Class FibonacciForm - Inherits System.Windows.Forms.Form + Inherits Form ' Private numberToCompute As Integer = 0 Private highestPercentageReached As Integer = 0 ' - Private numericUpDown1 As System.Windows.Forms.NumericUpDown - Private WithEvents startAsyncButton As System.Windows.Forms.Button - Private WithEvents cancelAsyncButton As System.Windows.Forms.Button - Private progressBar1 As System.Windows.Forms.ProgressBar - Private resultLabel As System.Windows.Forms.Label + Private numericUpDown1 As NumericUpDown + Private WithEvents startAsyncButton As Button + Private WithEvents cancelAsyncButton As Button + Private progressBar1 As ProgressBar + Private resultLabel As Label Private WithEvents backgroundWorker1 As System.ComponentModel.BackgroundWorker @@ -28,7 +25,7 @@ Public Class FibonacciForm End Sub ' - Private Sub startAsyncButton_Click(ByVal sender As System.Object, _ + Private Sub startAsyncButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) _ Handles startAsyncButton.Click @@ -37,15 +34,15 @@ Public Class FibonacciForm ' Disable the UpDown control until ' the asynchronous operation is done. - Me.numericUpDown1.Enabled = False + numericUpDown1.Enabled = False ' Disable the Start button until ' the asynchronous operation is done. - Me.startAsyncButton.Enabled = False + startAsyncButton.Enabled = False ' Enable the Cancel button while ' the asynchronous operation runs. - Me.cancelAsyncButton.Enabled = True + cancelAsyncButton.Enabled = True ' Get the value from the UpDown control. numberToCompute = CInt(numericUpDown1.Value) @@ -58,33 +55,33 @@ Public Class FibonacciForm ' Start the asynchronous operation. backgroundWorker1.RunWorkerAsync(numberToCompute) ' - End Sub + End Sub ' ' - Private Sub cancelAsyncButton_Click( _ - ByVal sender As System.Object, _ + Private Sub cancelAsyncButton_Click( + ByVal sender As System.Object, ByVal e As System.EventArgs) _ Handles cancelAsyncButton.Click - + ' Cancel the asynchronous operation. - Me.backgroundWorker1.CancelAsync() + backgroundWorker1.CancelAsync() ' Disable the Cancel button. cancelAsyncButton.Enabled = False - + End Sub ' ' ' This event handler is where the actual work is done. - Private Sub backgroundWorker1_DoWork( _ - ByVal sender As Object, _ + Private Sub backgroundWorker1_DoWork( + ByVal sender As Object, ByVal e As DoWorkEventArgs) _ Handles backgroundWorker1.DoWork ' Get the BackgroundWorker object that raised this event. - Dim worker As BackgroundWorker = _ + Dim worker As BackgroundWorker = CType(sender, BackgroundWorker) ' Assign the result of the computation @@ -98,7 +95,7 @@ Public Class FibonacciForm ' ' This event handler deals with the results of the ' background operation. - Private Sub backgroundWorker1_RunWorkerCompleted( _ + Private Sub backgroundWorker1_RunWorkerCompleted( ByVal sender As Object, ByVal e As RunWorkerCompletedEventArgs) _ Handles backgroundWorker1.RunWorkerCompleted @@ -119,7 +116,7 @@ Public Class FibonacciForm End If ' Enable the UpDown control. - Me.numericUpDown1.Enabled = True + numericUpDown1.Enabled = True ' Enable the Start button. startAsyncButton.Enabled = True @@ -131,11 +128,11 @@ Public Class FibonacciForm ' ' This event handler updates the progress bar. - Private Sub backgroundWorker1_ProgressChanged( _ + Private Sub backgroundWorker1_ProgressChanged( ByVal sender As Object, ByVal e As ProgressChangedEventArgs) _ Handles backgroundWorker1.ProgressChanged - Me.progressBar1.Value = e.ProgressPercentage + progressBar1.Value = e.ProgressPercentage End Sub ' @@ -144,15 +141,15 @@ Public Class FibonacciForm ' This is the method that does the actual work. For this ' example, it computes a Fibonacci number and ' reports progress as it does its work. - Function ComputeFibonacci( _ - ByVal n As Integer, _ - ByVal worker As BackgroundWorker, _ + Function ComputeFibonacci( + ByVal n As Integer, + ByVal worker As BackgroundWorker, ByVal e As DoWorkEventArgs) As Long ' The parameter n must be >= 0 and <= 91. ' Fib(n), with n > 91, overflows a long. If n < 0 OrElse n > 91 Then - Throw New ArgumentException( _ + Throw New ArgumentException( "value must be >= 0 and <= 91", "n") End If @@ -171,18 +168,18 @@ Public Class FibonacciForm ' If worker.CancellationPending Then e.Cancel = True - ' + ' Else If n < 2 Then result = 1 Else - result = ComputeFibonacci(n - 1, worker, e) + _ + result = ComputeFibonacci(n - 1, worker, e) + ComputeFibonacci(n - 2, worker, e) End If ' ' Report progress as a percentage of the total task. - Dim percentComplete As Integer = _ + Dim percentComplete As Integer = CSng(n) / CSng(numberToCompute) * 100 If percentComplete > highestPercentageReached Then highestPercentageReached = percentComplete @@ -200,76 +197,76 @@ Public Class FibonacciForm Private Sub InitializeComponent() - Me.numericUpDown1 = New System.Windows.Forms.NumericUpDown - Me.startAsyncButton = New System.Windows.Forms.Button - Me.cancelAsyncButton = New System.Windows.Forms.Button - Me.resultLabel = New System.Windows.Forms.Label - Me.progressBar1 = New System.Windows.Forms.ProgressBar - Me.backgroundWorker1 = New System.ComponentModel.BackgroundWorker - CType(Me.numericUpDown1, System.ComponentModel.ISupportInitialize).BeginInit() - Me.SuspendLayout() + numericUpDown1 = New NumericUpDown + startAsyncButton = New Button + cancelAsyncButton = New Button + resultLabel = New Label + progressBar1 = New ProgressBar + backgroundWorker1 = New System.ComponentModel.BackgroundWorker + CType(numericUpDown1, System.ComponentModel.ISupportInitialize).BeginInit() + SuspendLayout() ' 'numericUpDown1 ' - Me.numericUpDown1.Location = New System.Drawing.Point(16, 16) - Me.numericUpDown1.Maximum = New Decimal(New Integer() {91, 0, 0, 0}) - Me.numericUpDown1.Minimum = New Decimal(New Integer() {1, 0, 0, 0}) - Me.numericUpDown1.Name = "numericUpDown1" - Me.numericUpDown1.Size = New System.Drawing.Size(80, 20) - Me.numericUpDown1.TabIndex = 0 - Me.numericUpDown1.Value = New Decimal(New Integer() {1, 0, 0, 0}) + numericUpDown1.Location = New System.Drawing.Point(16, 16) + numericUpDown1.Maximum = New Decimal(New Integer() {91, 0, 0, 0}) + numericUpDown1.Minimum = New Decimal(New Integer() {1, 0, 0, 0}) + numericUpDown1.Name = "numericUpDown1" + numericUpDown1.Size = New System.Drawing.Size(80, 20) + numericUpDown1.TabIndex = 0 + numericUpDown1.Value = New Decimal(New Integer() {1, 0, 0, 0}) ' 'startAsyncButton ' - Me.startAsyncButton.Location = New System.Drawing.Point(16, 72) - Me.startAsyncButton.Name = "startAsyncButton" - Me.startAsyncButton.Size = New System.Drawing.Size(120, 23) - Me.startAsyncButton.TabIndex = 1 - Me.startAsyncButton.Text = "Start Async" + startAsyncButton.Location = New System.Drawing.Point(16, 72) + startAsyncButton.Name = "startAsyncButton" + startAsyncButton.Size = New System.Drawing.Size(120, 23) + startAsyncButton.TabIndex = 1 + startAsyncButton.Text = "Start Async" ' 'cancelAsyncButton ' - Me.cancelAsyncButton.Enabled = False - Me.cancelAsyncButton.Location = New System.Drawing.Point(153, 72) - Me.cancelAsyncButton.Name = "cancelAsyncButton" - Me.cancelAsyncButton.Size = New System.Drawing.Size(119, 23) - Me.cancelAsyncButton.TabIndex = 2 - Me.cancelAsyncButton.Text = "Cancel Async" + cancelAsyncButton.Enabled = False + cancelAsyncButton.Location = New System.Drawing.Point(153, 72) + cancelAsyncButton.Name = "cancelAsyncButton" + cancelAsyncButton.Size = New System.Drawing.Size(119, 23) + cancelAsyncButton.TabIndex = 2 + cancelAsyncButton.Text = "Cancel Async" ' 'resultLabel ' - Me.resultLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D - Me.resultLabel.Location = New System.Drawing.Point(112, 16) - Me.resultLabel.Name = "resultLabel" - Me.resultLabel.Size = New System.Drawing.Size(160, 23) - Me.resultLabel.TabIndex = 3 - Me.resultLabel.Text = "(no result)" - Me.resultLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter + resultLabel.BorderStyle = BorderStyle.Fixed3D + resultLabel.Location = New System.Drawing.Point(112, 16) + resultLabel.Name = "resultLabel" + resultLabel.Size = New System.Drawing.Size(160, 23) + resultLabel.TabIndex = 3 + resultLabel.Text = "(no result)" + resultLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'progressBar1 ' - Me.progressBar1.Location = New System.Drawing.Point(18, 48) - Me.progressBar1.Name = "progressBar1" - Me.progressBar1.Size = New System.Drawing.Size(256, 8) - Me.progressBar1.TabIndex = 4 + progressBar1.Location = New System.Drawing.Point(18, 48) + progressBar1.Name = "progressBar1" + progressBar1.Size = New System.Drawing.Size(256, 8) + progressBar1.TabIndex = 4 ' 'backgroundWorker1 ' - Me.backgroundWorker1.WorkerReportsProgress = True - Me.backgroundWorker1.WorkerSupportsCancellation = True + backgroundWorker1.WorkerReportsProgress = True + backgroundWorker1.WorkerSupportsCancellation = True ' 'FibonacciForm ' - Me.ClientSize = New System.Drawing.Size(292, 118) - Me.Controls.Add(Me.progressBar1) - Me.Controls.Add(Me.resultLabel) - Me.Controls.Add(Me.cancelAsyncButton) - Me.Controls.Add(Me.startAsyncButton) - Me.Controls.Add(Me.numericUpDown1) - Me.Name = "FibonacciForm" - Me.Text = "Fibonacci Calculator" - CType(Me.numericUpDown1, System.ComponentModel.ISupportInitialize).EndInit() - Me.ResumeLayout(False) + ClientSize = New System.Drawing.Size(292, 118) + Controls.Add(progressBar1) + Controls.Add(resultLabel) + Controls.Add(cancelAsyncButton) + Controls.Add(startAsyncButton) + Controls.Add(numericUpDown1) + Name = "FibonacciForm" + Text = "Fibonacci Calculator" + CType(numericUpDown1, System.ComponentModel.ISupportInitialize).EndInit() + ResumeLayout(False) End Sub @@ -279,4 +276,4 @@ Public Class FibonacciForm End Sub End Class -' \ No newline at end of file +' diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/form1.designer.vb b/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/form1.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/form1.designer.vb rename to snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/form1.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/form1.resx b/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/form1.resx rename to snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/form1.vb b/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/form1.vb rename to snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripProgressBar/VB/form1.vb b/snippets/visualbasic/System.ComponentModel/BackgroundWorker/ReportProgress/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripProgressBar/VB/form1.vb rename to snippets/visualbasic/System.ComponentModel/BackgroundWorker/ReportProgress/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute.BindableAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/BindableAttribute/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute.BindableAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/BindableAttribute/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute.BindableAttribute1 Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/BindableAttribute/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute.BindableAttribute1 Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/BindableAttribute/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute.Bindable Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/BindableAttribute/Bindable/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute.Bindable Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/BindableAttribute/Bindable/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/BindableAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/BindableAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceAndBindingListOfT/VB/Form1.vb b/snippets/visualbasic/System.ComponentModel/BindingListT/FindCore/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceAndBindingListOfT/VB/Form1.vb rename to snippets/visualbasic/System.ComponentModel/BindingListT/FindCore/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BindingListOfTExample/VB/Form1.vb b/snippets/visualbasic/System.ComponentModel/BindingListT/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BindingListOfTExample/VB/Form1.vb rename to snippets/visualbasic/System.ComponentModel/BindingListT/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb b/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb rename to snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BrowsableAttribute.BrowsableAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/BrowsableAttribute/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BrowsableAttribute.BrowsableAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/BrowsableAttribute/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BrowsableAttribute.Browsable Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/BrowsableAttribute/Browsable/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BrowsableAttribute.Browsable Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/BrowsableAttribute/Browsable/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BrowsableAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/BrowsableAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BrowsableAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/BrowsableAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CancelEventArgs Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/CancelEventArgs/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CancelEventArgs Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/CancelEventArgs/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CategoryAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/CategoryAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CategoryAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/CategoryAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb b/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb rename to snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ContainerExmpl/VB/librarycontainer.vb b/snippets/visualbasic/System.ComponentModel/ComponentCollection/Overview/librarycontainer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ContainerExmpl/VB/librarycontainer.vb rename to snippets/visualbasic/System.ComponentModel/ComponentCollection/Overview/librarycontainer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStrip/VB/form1.vb b/snippets/visualbasic/System.ComponentModel/ComponentResourceManager/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStrip/VB/form1.vb rename to snippets/visualbasic/System.ComponentModel/ComponentResourceManager/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultEventAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/DefaultEventAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultEventAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/DefaultEventAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultPropertyAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/DefaultPropertyAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultPropertyAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/DefaultPropertyAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultValueAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/DefaultValueAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultValueAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/DefaultValueAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DescriptionAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/DescriptionAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DescriptionAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/DescriptionAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignOnlyAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/DesignOnlyAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DesignOnlyAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/DesignOnlyAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/DesignerAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/DesignerAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerCategoryAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/DesignerCategoryAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerCategoryAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/DesignerCategoryAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute.DesignerSerializationVisibilityAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/DesignerSerializationVisibilityAttribute/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute.DesignerSerializationVisibilityAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/DesignerSerializationVisibilityAttribute/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/DesignerSerializationVisibilityAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/DesignerSerializationVisibilityAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute.Visibility Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/DesignerSerializationVisibilityAttribute/Visibility/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute.Visibility Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/DesignerSerializationVisibilityAttribute/Visibility/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker.Example/VB/Form1.vb b/snippets/visualbasic/System.ComponentModel/DoWorkEventArgs/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker.Example/VB/Form1.vb rename to snippets/visualbasic/System.ComponentModel/DoWorkEventArgs/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic EditorAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/EditorAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic EditorAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/EditorAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/EditorBrowsableAttribute/VB/ctleditorbrowsable.vb b/snippets/visualbasic/System.ComponentModel/EditorBrowsableAttribute/Overview/ctleditorbrowsable.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/EditorBrowsableAttribute/VB/ctleditorbrowsable.vb rename to snippets/visualbasic/System.ComponentModel/EditorBrowsableAttribute/Overview/ctleditorbrowsable.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/EventDescriptor/VB/eventdescriptor.vb b/snippets/visualbasic/System.ComponentModel/EventDescriptor/Overview/eventdescriptor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/EventDescriptor/VB/eventdescriptor.vb rename to snippets/visualbasic/System.ComponentModel/EventDescriptor/Overview/eventdescriptor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.EventDescriptorCollection Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.EventDescriptorCollection Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Count Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Count/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Count Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Count/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Find Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Find/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Find Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Find/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.GetEnumerator Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/GetEnumerator/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.GetEnumerator Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/GetEnumerator/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.InternalSort Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/InternalSort/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.InternalSort Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/InternalSort/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.this Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Item/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.this Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Item/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.this1 Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Item/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.this1 Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Item/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Sort/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Sort/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ExpandableObjectConverter/VB/DemoControl.vb b/snippets/visualbasic/System.ComponentModel/ExpandableObjectConverter/Overview/DemoControl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ExpandableObjectConverter/VB/DemoControl.vb rename to snippets/visualbasic/System.ComponentModel/ExpandableObjectConverter/Overview/DemoControl.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Binding_Editable/VB/binding_editable.vb b/snippets/visualbasic/System.ComponentModel/IBindingList/Overview/binding_editable.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Binding_Editable/VB/binding_editable.vb rename to snippets/visualbasic/System.ComponentModel/IBindingList/Overview/binding_editable.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpLabel/VB/HelpLabel.vb b/snippets/visualbasic/System.ComponentModel/IExtenderProvider/Overview/HelpLabel.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpLabel/VB/HelpLabel.vb rename to snippets/visualbasic/System.ComponentModel/IExtenderProvider/Overview/HelpLabel.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpLabel/VB/makefile b/snippets/visualbasic/System.ComponentModel/IExtenderProvider/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpLabel/VB/makefile rename to snippets/visualbasic/System.ComponentModel/IExtenderProvider/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.IListSource/VB/EmployeeListSource.vb b/snippets/visualbasic/System.ComponentModel/IListSource/Overview/EmployeeListSource.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.IListSource/VB/EmployeeListSource.vb rename to snippets/visualbasic/System.ComponentModel/IListSource/Overview/EmployeeListSource.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.IListSource/VB/makefile b/snippets/visualbasic/System.ComponentModel/IListSource/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.IListSource/VB/makefile rename to snippets/visualbasic/System.ComponentModel/IListSource/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.IPropertyChangeExample/VB/Form1.vb b/snippets/visualbasic/System.ComponentModel/INotifyPropertyChanged/PropertyChanged/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.IPropertyChangeExample/VB/Form1.vb rename to snippets/visualbasic/System.ComponentModel/INotifyPropertyChanged/PropertyChanged/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Trackbar/VB/Project.vbproj b/snippets/visualbasic/System.ComponentModel/ISupportInitialize/Overview/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Trackbar/VB/Project.vbproj rename to snippets/visualbasic/System.ComponentModel/ISupportInitialize/Overview/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Trackbar/VB/form1.vb b/snippets/visualbasic/System.ComponentModel/ISupportInitialize/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Trackbar/VB/form1.vb rename to snippets/visualbasic/System.ComponentModel/ISupportInitialize/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/InstanceDescriptorSample/VB/instancedescriptor.vb b/snippets/visualbasic/System.ComponentModel/ITypeDescriptorContext/Overview/instancedescriptor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/InstanceDescriptorSample/VB/instancedescriptor.vb rename to snippets/visualbasic/System.ComponentModel/ITypeDescriptorContext/Overview/instancedescriptor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ITypedList/VB/SortableBindingList.vb b/snippets/visualbasic/System.ComponentModel/ITypedList/Overview/SortableBindingList.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ITypedList/VB/SortableBindingList.vb rename to snippets/visualbasic/System.ComponentModel/ITypedList/Overview/SortableBindingList.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ITypedList/VB/makefile b/snippets/visualbasic/System.ComponentModel/ITypedList/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ITypedList/VB/makefile rename to snippets/visualbasic/System.ComponentModel/ITypedList/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Winforms/enumException/VB/enumexception.vb b/snippets/visualbasic/System.ComponentModel/InvalidEnumArgumentException/Overview/enumexception.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/enumException/VB/enumexception.vb rename to snippets/visualbasic/System.ComponentModel/InvalidEnumArgumentException/Overview/enumexception.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/LicenseException/VB/licenseex.vb b/snippets/visualbasic/System.ComponentModel/LicenseException/Overview/licenseex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/LicenseException/VB/licenseex.vb rename to snippets/visualbasic/System.ComponentModel/LicenseException/Overview/licenseex.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic LicenseManager Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/LicenseManager/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic LicenseManager Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/LicenseManager/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic LicenseProviderAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/LicenseProviderAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic LicenseProviderAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/LicenseProviderAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic LocalizableAttribute.LocalizableAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/LocalizableAttribute/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic LocalizableAttribute.LocalizableAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/LocalizableAttribute/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic LocalizableAttribute.IsLocalizable Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/LocalizableAttribute/IsLocalizable/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic LocalizableAttribute.IsLocalizable Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/LocalizableAttribute/IsLocalizable/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic LocalizableAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/LocalizableAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic LocalizableAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/LocalizableAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.LookupBindingPropertiesAttribute/VB/DemoControl.vb b/snippets/visualbasic/System.ComponentModel/LookupBindingPropertiesAttribute/Overview/DemoControl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.LookupBindingPropertiesAttribute/VB/DemoControl.vb rename to snippets/visualbasic/System.ComponentModel/LookupBindingPropertiesAttribute/Overview/DemoControl.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MergablePropertyAttribute.MergablePropertyAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/MergablePropertyAttribute/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MergablePropertyAttribute.MergablePropertyAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/MergablePropertyAttribute/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MergablePropertyAttribute.AllowMerge Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/MergablePropertyAttribute/AllowMerge/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MergablePropertyAttribute.AllowMerge Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/MergablePropertyAttribute/AllowMerge/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MergablePropertyAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/MergablePropertyAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MergablePropertyAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/MergablePropertyAttribute/Overview/source.vb diff --git a/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/DemoControl.vb b/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/DemoControl.vb new file mode 100644 index 00000000000..955f4c9c596 --- /dev/null +++ b/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/DemoControl.vb @@ -0,0 +1,13 @@ +' +Imports System.ComponentModel +Imports System.Windows.Forms + + +Public Class DemoControl + Inherits Control + + Public Sub New() + + End Sub +End Class +' diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/DemoControlDesigner.vb b/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/DemoControlDesigner.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/DemoControlDesigner.vb rename to snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/DemoControlDesigner.vb diff --git a/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/ReadOnlyPropertyDescriptor.vbproj b/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/ReadOnlyPropertyDescriptor.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/ReadOnlyPropertyDescriptor.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/SerializeReadOnlyPropertyDescriptor.vb b/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/SerializeReadOnlyPropertyDescriptor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/SerializeReadOnlyPropertyDescriptor.vb rename to snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/SerializeReadOnlyPropertyDescriptor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/PropertyDescriptor/VB/propertydescriptor.vb b/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/propertydescriptor.vb similarity index 59% rename from snippets/visualbasic/VS_Snippets_Winforms/PropertyDescriptor/VB/propertydescriptor.vb rename to snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/propertydescriptor.vb index a5633085ff6..e54c177a772 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/PropertyDescriptor/VB/propertydescriptor.vb +++ b/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/propertydescriptor.vb @@ -1,7 +1,12 @@ Imports System.ComponentModel +Imports System.Windows.Forms Public NotInheritable Class Form1 - Inherits System.Windows.Forms.Form + Inherits Form + + Public Shared Sub Main() + + End Sub #Region " Windows Form Designer generated code " @@ -24,8 +29,17 @@ Public NotInheritable Class Form1 End If MyBase.Dispose(disposing) End Sub - Friend WithEvents TextBox1 As System.Windows.Forms.TextBox - Friend WithEvents Button1 As System.Windows.Forms.Button + + Friend WithEvents TextBox1 As TextBox + Friend WithEvents Button1 As Button + + Private Function ShouldSerializeTextBox1() As Boolean + Return True + End Function + + Private Function ShouldSerializeButton1() As Boolean + Return True + End Function 'Required by the Windows Form Designer Private components As System.ComponentModel.Container @@ -34,32 +48,32 @@ Public NotInheritable Class Form1 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. Private Sub InitializeComponent() - Me.TextBox1 = New System.Windows.Forms.TextBox() - Me.Button1 = New System.Windows.Forms.Button() - Me.SuspendLayout() + TextBox1 = New TextBox() + Button1 = New Button() + SuspendLayout() ' 'TextBox1 ' - Me.TextBox1.Multiline = True - Me.TextBox1.Name = "TextBox1" - Me.TextBox1.Size = New System.Drawing.Size(224, 96) - Me.TextBox1.TabIndex = 0 - Me.TextBox1.Text = "TextBox1" + TextBox1.Multiline = True + TextBox1.Name = "TextBox1" + TextBox1.Size = New System.Drawing.Size(224, 96) + TextBox1.TabIndex = 0 + TextBox1.Text = "TextBox1" ' 'Button1 ' - Me.Button1.Location = New System.Drawing.Point(24, 136) - Me.Button1.Name = "Button1" - Me.Button1.TabIndex = 1 - Me.Button1.Text = "Button1" + Button1.Location = New System.Drawing.Point(24, 136) + Button1.Name = "Button1" + Button1.TabIndex = 1 + Button1.Text = "Button1" ' 'Form1 ' - Me.ClientSize = New System.Drawing.Size(292, 273) - Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.Button1, Me.TextBox1}) - Me.Name = "Form1" - Me.Text = "Form1" - Me.ResumeLayout(False) + ClientSize = New System.Drawing.Size(292, 273) + Controls.AddRange(New Control() {Button1, TextBox1}) + Name = "Form1" + Text = "Form1" + ResumeLayout(False) End Sub @@ -74,9 +88,9 @@ Public NotInheritable Class Form1 Dim myProperty As PropertyDescriptor = properties.Find("Text", False) ' Prints the property and the property description. - TextBox1.Text += myProperty.DisplayName & Microsoft.VisualBasic.ControlChars.Cr - TextBox1.Text += myProperty.Description & Microsoft.VisualBasic.ControlChars.Cr - TextBox1.Text += myProperty.Category & Microsoft.VisualBasic.ControlChars.Cr + TextBox1.Text += myProperty.DisplayName & ControlChars.Cr + TextBox1.Text += myProperty.Description & ControlChars.Cr + TextBox1.Text += myProperty.Category & ControlChars.Cr ' End Sub End Class diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.Count Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Count/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.Count Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Count/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.Find Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Find/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.Find Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Find/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.GetEnumerator Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/GetEnumerator/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.GetEnumerator Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/GetEnumerator/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.this Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Item/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.this Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Item/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.this1 Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Item/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.this1 Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Item/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ProvidePropertyAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/ProvidePropertyAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ProvidePropertyAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/ProvidePropertyAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ReadOnlyAttribute.ReadOnlyAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/ReadOnlyAttribute/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ReadOnlyAttribute.ReadOnlyAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/ReadOnlyAttribute/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ReadOnlyAttribute.IsReadOnly Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/ReadOnlyAttribute/IsReadOnly/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ReadOnlyAttribute.IsReadOnly Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/ReadOnlyAttribute/IsReadOnly/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ReadOnlyAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/ReadOnlyAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ReadOnlyAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/ReadOnlyAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RefreshEventHandler/VB/refreshevent.vb b/snippets/visualbasic/System.ComponentModel/RefreshEventHandler/Overview/refreshevent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RefreshEventHandler/VB/refreshevent.vb rename to snippets/visualbasic/System.ComponentModel/RefreshEventHandler/Overview/refreshevent.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RunInstallerAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/RunInstallerAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RunInstallerAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/RunInstallerAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Design.ToolboxItem/VB/Form1.vb b/snippets/visualbasic/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Design.ToolboxItem/VB/Form1.vb rename to snippets/visualbasic/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IToolboxUserExample/VB/samplecontrol.vb b/snippets/visualbasic/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IToolboxUserExample/VB/samplecontrol.vb rename to snippets/visualbasic/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TypeConverter Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/TypeConverter/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TypeConverter Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/TypeConverter/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TypeConverterAttribute Example/VB/source.vb b/snippets/visualbasic/System.ComponentModel/TypeConverterAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TypeConverterAttribute Example/VB/source.vb rename to snippets/visualbasic/System.ComponentModel/TypeConverterAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerServices/VB/Form1.vb b/snippets/visualbasic/System.ComponentModel/TypeDescriptor/GetProperties/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerServices/VB/Form1.vb rename to snippets/visualbasic/System.ComponentModel/TypeDescriptor/GetProperties/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/WarningException/VB/warningex_doc.vb b/snippets/visualbasic/System.ComponentModel/WarningException/Overview/warningex_doc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/WarningException/VB/warningex_doc.vb rename to snippets/visualbasic/System.ComponentModel/WarningException/Overview/warningex_doc.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Win32Exception/VB/win32exception.vb b/snippets/visualbasic/System.ComponentModel/Win32Exception/Overview/win32exception.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Win32Exception/VB/win32exception.vb rename to snippets/visualbasic/System.ComponentModel/Win32Exception/Overview/win32exception.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller_Install/VB/assemblyinstaller_install.vb b/snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/.ctor/assemblyinstaller_install.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller_Install/VB/assemblyinstaller_install.vb rename to snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/.ctor/assemblyinstaller_install.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller_Uninstall/VB/assemblyinstaller_uninstall.vb b/snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/.ctor/assemblyinstaller_uninstall.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller_Uninstall/VB/assemblyinstaller_uninstall.vb rename to snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/.ctor/assemblyinstaller_uninstall.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller_CheckIfInstallable/VB/assemblyinstaller_checkifinstallable.vb b/snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/CheckIfInstallable/assemblyinstaller_checkifinstallable.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller_CheckIfInstallable/VB/assemblyinstaller_checkifinstallable.vb rename to snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/CheckIfInstallable/assemblyinstaller_checkifinstallable.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller_Rollback/VB/assemblyinstaller_rollback.vb b/snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/CommandLine/assemblyinstaller_rollback.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller_Rollback/VB/assemblyinstaller_rollback.vb rename to snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/CommandLine/assemblyinstaller_rollback.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller_HelpText/VB/assemblyinstaller_helptext.vb b/snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/HelpText/assemblyinstaller_helptext.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller_HelpText/VB/assemblyinstaller_helptext.vb rename to snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/HelpText/assemblyinstaller_helptext.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller/VB/assemblyinstaller.vb b/snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/Overview/assemblyinstaller.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller/VB/assemblyinstaller.vb rename to snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/Overview/assemblyinstaller.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ComponentInstaller_CopyFromComponent/VB/componentinstaller_copyfromcomponent.vb b/snippets/visualbasic/System.Configuration.Install/ComponentInstaller/CopyFromComponent/componentinstaller_copyfromcomponent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ComponentInstaller_CopyFromComponent/VB/componentinstaller_copyfromcomponent.vb rename to snippets/visualbasic/System.Configuration.Install/ComponentInstaller/CopyFromComponent/componentinstaller_copyfromcomponent.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/InstallContext_InstallContext/VB/installcontext_installcontext.vb b/snippets/visualbasic/System.Configuration.Install/InstallContext/Overview/installcontext_installcontext.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/InstallContext_InstallContext/VB/installcontext_installcontext.vb rename to snippets/visualbasic/System.Configuration.Install/InstallContext/Overview/installcontext_installcontext.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/InstallEventArgs/VB/installeventargs.vb b/snippets/visualbasic/System.Configuration.Install/InstallEventArgs/Overview/installeventargs.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/InstallEventArgs/VB/installeventargs.vb rename to snippets/visualbasic/System.Configuration.Install/InstallEventArgs/Overview/installeventargs.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/InstallException/VB/installexception.vb b/snippets/visualbasic/System.Configuration.Install/InstallException/Overview/installexception.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/InstallException/VB/installexception.vb rename to snippets/visualbasic/System.Configuration.Install/InstallException/Overview/installexception.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Installer_AfterInstall/VB/installer_afterinstall.vb b/snippets/visualbasic/System.Configuration.Install/Installer/AfterInstall/installer_afterinstall.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Installer_AfterInstall/VB/installer_afterinstall.vb rename to snippets/visualbasic/System.Configuration.Install/Installer/AfterInstall/installer_afterinstall.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Installer_AfterRollback/VB/installer_afterrollback.vb b/snippets/visualbasic/System.Configuration.Install/Installer/AfterRollback/installer_afterrollback.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Installer_AfterRollback/VB/installer_afterrollback.vb rename to snippets/visualbasic/System.Configuration.Install/Installer/AfterRollback/installer_afterrollback.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Installer_AfterUninstall/VB/installer_afteruninstall.vb b/snippets/visualbasic/System.Configuration.Install/Installer/AfterUninstall/installer_afteruninstall.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Installer_AfterUninstall/VB/installer_afteruninstall.vb rename to snippets/visualbasic/System.Configuration.Install/Installer/AfterUninstall/installer_afteruninstall.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Installer_BeforeInstall/VB/installer_beforeinstall.vb b/snippets/visualbasic/System.Configuration.Install/Installer/BeforeInstall/installer_beforeinstall.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Installer_BeforeInstall/VB/installer_beforeinstall.vb rename to snippets/visualbasic/System.Configuration.Install/Installer/BeforeInstall/installer_beforeinstall.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Installer_BeforeRollback/VB/installer_beforerollback.vb b/snippets/visualbasic/System.Configuration.Install/Installer/BeforeRollback/installer_beforerollback.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Installer_BeforeRollback/VB/installer_beforerollback.vb rename to snippets/visualbasic/System.Configuration.Install/Installer/BeforeRollback/installer_beforerollback.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Installer_BeforeUninstall/VB/installer_beforeuninstall.vb b/snippets/visualbasic/System.Configuration.Install/Installer/BeforeUninstall/installer_beforeuninstall.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Installer_BeforeUninstall/VB/installer_beforeuninstall.vb rename to snippets/visualbasic/System.Configuration.Install/Installer/BeforeUninstall/installer_beforeuninstall.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Installer_Install/VB/installer_install.vb b/snippets/visualbasic/System.Configuration.Install/Installer/Commit/installer_install.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Installer_Install/VB/installer_install.vb rename to snippets/visualbasic/System.Configuration.Install/Installer/Commit/installer_install.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Installer_Committed1/VB/installer_committed.vb b/snippets/visualbasic/System.Configuration.Install/Installer/Committed/installer_committed.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Installer_Committed1/VB/installer_committed.vb rename to snippets/visualbasic/System.Configuration.Install/Installer/Committed/installer_committed.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Installer_Committing/VB/installer_committing.vb b/snippets/visualbasic/System.Configuration.Install/Installer/Committing/installer_committing.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Installer_Committing/VB/installer_committing.vb rename to snippets/visualbasic/System.Configuration.Install/Installer/Committing/installer_committing.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Installer_Context/VB/installer_context.vb b/snippets/visualbasic/System.Configuration.Install/Installer/Context/installer_context.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Installer_Context/VB/installer_context.vb rename to snippets/visualbasic/System.Configuration.Install/Installer/Context/installer_context.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Installer_HelpText/VB/installer_helptext.vb b/snippets/visualbasic/System.Configuration.Install/Installer/HelpText/installer_helptext.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Installer_HelpText/VB/installer_helptext.vb rename to snippets/visualbasic/System.Configuration.Install/Installer/HelpText/installer_helptext.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Installer_Installers/VB/installer_installers.vb b/snippets/visualbasic/System.Configuration.Install/Installer/Installers/installer_installers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Installer_Installers/VB/installer_installers.vb rename to snippets/visualbasic/System.Configuration.Install/Installer/Installers/installer_installers.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Installer_OnInstall/VB/installer_oninstall.vb b/snippets/visualbasic/System.Configuration.Install/Installer/OnAfterInstall/installer_oninstall.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Installer_OnInstall/VB/installer_oninstall.vb rename to snippets/visualbasic/System.Configuration.Install/Installer/OnAfterInstall/installer_oninstall.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Installer_Committed/VB/installer_committed.vb b/snippets/visualbasic/System.Configuration.Install/Installer/OnCommitted/installer_committed.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Installer_Committed/VB/installer_committed.vb rename to snippets/visualbasic/System.Configuration.Install/Installer/OnCommitted/installer_committed.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Installer/VB/installer.vb b/snippets/visualbasic/System.Configuration.Install/Installer/Overview/installer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Installer/VB/installer.vb rename to snippets/visualbasic/System.Configuration.Install/Installer/Overview/installer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Installer_Rollback/VB/installer_rollback.vb b/snippets/visualbasic/System.Configuration.Install/Installer/Rollback/installer_rollback.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Installer_Rollback/VB/installer_rollback.vb rename to snippets/visualbasic/System.Configuration.Install/Installer/Rollback/installer_rollback.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Installer_Uninstall/VB/installer_uninstall.vb b/snippets/visualbasic/System.Configuration.Install/Installer/Uninstall/installer_uninstall.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Installer_Uninstall/VB/installer_uninstall.vb rename to snippets/visualbasic/System.Configuration.Install/Installer/Uninstall/installer_uninstall.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/InstallerCollection_AddRange1/VB/installercollection_addrange1.vb b/snippets/visualbasic/System.Configuration.Install/InstallerCollection/AddRange/installercollection_addrange1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/InstallerCollection_AddRange1/VB/installercollection_addrange1.vb rename to snippets/visualbasic/System.Configuration.Install/InstallerCollection/AddRange/installercollection_addrange1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/InstallerCollection_Insert/VB/installercollection_insert.vb b/snippets/visualbasic/System.Configuration.Install/InstallerCollection/AddRange/installercollection_insert.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/InstallerCollection_Insert/VB/installercollection_insert.vb rename to snippets/visualbasic/System.Configuration.Install/InstallerCollection/AddRange/installercollection_insert.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/InstallerCollection_Remove/VB/installercollection_remove.vb b/snippets/visualbasic/System.Configuration.Install/InstallerCollection/Contains/installercollection_remove.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/InstallerCollection_Remove/VB/installercollection_remove.vb rename to snippets/visualbasic/System.Configuration.Install/InstallerCollection/Contains/installercollection_remove.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/InstallerCollection_CopyTo/VB/installercollection_copyto.vb b/snippets/visualbasic/System.Configuration.Install/InstallerCollection/CopyTo/installercollection_copyto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/InstallerCollection_CopyTo/VB/installercollection_copyto.vb rename to snippets/visualbasic/System.Configuration.Install/InstallerCollection/CopyTo/installercollection_copyto.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/InstallerCollection_Item/VB/installercollection_item.vb b/snippets/visualbasic/System.Configuration.Install/InstallerCollection/Item/installercollection_item.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/InstallerCollection_Item/VB/installercollection_item.vb rename to snippets/visualbasic/System.Configuration.Install/InstallerCollection/Item/installercollection_item.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/InstallerCollection_Add/VB/installercollection_add.vb b/snippets/visualbasic/System.Configuration.Install/InstallerCollection/Overview/installercollection_add.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/InstallerCollection_Add/VB/installercollection_add.vb rename to snippets/visualbasic/System.Configuration.Install/InstallerCollection/Overview/installercollection_add.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TransactedInstaller/VB/transactedinstaller.vb b/snippets/visualbasic/System.Configuration.Install/TransactedInstaller/Overview/transactedinstaller.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TransactedInstaller/VB/transactedinstaller.vb rename to snippets/visualbasic/System.Configuration.Install/TransactedInstaller/Overview/transactedinstaller.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/UninstallAction_NoAction_Remove_3/VB/uninstallaction_noaction_remove_3.vb b/snippets/visualbasic/System.Configuration.Install/UninstallAction/Overview/uninstallaction_noaction_remove_3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/UninstallAction_NoAction_Remove_3/VB/uninstallaction_noaction_remove_3.vb rename to snippets/visualbasic/System.Configuration.Install/UninstallAction/Overview/uninstallaction_noaction_remove_3.vb diff --git a/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/AppSettingsSample.vbproj b/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/AppSettingsSample.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/AppSettingsSample.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.Designer.vb b/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.resx b/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.resx rename to snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.vb b/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.vb similarity index 85% rename from snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.vb rename to snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.vb index c5add826687..bbf69ec68dc 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.vb +++ b/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.vb @@ -1,9 +1,15 @@ ' Imports System.Configuration Imports System.ComponentModel +Imports System.Windows.Forms +Imports System.Drawing Public Class Form1 + Public Shared Sub Main() + + End Sub + Private WithEvents frmSettings1 As New FormSettings ' @@ -16,21 +22,21 @@ Public Class Form1 ' 'Data bind settings properties with straightforward associations. - Dim bndBackColor As New Binding("BackColor", frmSettings1, "FormBackColor", _ + Dim bndBackColor As New Binding("BackColor", frmSettings1, "FormBackColor", True, DataSourceUpdateMode.OnPropertyChanged) - Me.DataBindings.Add(bndBackColor) - Dim bndLocation As New Binding("Location", frmSettings1, "FormLocation", _ + DataBindings.Add(bndBackColor) + Dim bndLocation As New Binding("Location", frmSettings1, "FormLocation", True, DataSourceUpdateMode.OnPropertyChanged) - Me.DataBindings.Add(bndLocation) + DataBindings.Add(bndLocation) ' Assign Size property, since databinding to Size doesn't work well. - Me.Size = frmSettings1.FormSize + Size = frmSettings1.FormSize 'For more complex associations, manually assign associations. Dim savedText As String = frmSettings1.FormText 'Since there is no default value for FormText. If (savedText IsNot Nothing) Then - Me.Text = savedText + Text = savedText End If ' End Sub @@ -40,10 +46,10 @@ Public Class Form1 Private Sub Form1_FormClosing_1(ByVal sender As Object, ByVal e As _ FormClosingEventArgs) Handles MyBase.FormClosing 'Synchronize manual associations first. - frmSettings1.FormText = Me.Text + "."c + frmSettings1.FormText = Text + "."c ' Save size settings manually. - frmSettings1.FormSize = Me.Size + frmSettings1.FormSize = Size frmSettings1.Save() End Sub @@ -52,9 +58,9 @@ Public Class Form1 ' Private Sub btnBackColor_Click(ByVal sender As Object, ByVal e As EventArgs) _ Handles btnBackColor.Click - If System.Windows.Forms.DialogResult.OK = colorDialog1.ShowDialog() Then + If DialogResult.OK = colorDialog1.ShowDialog() Then Dim c As Color = colorDialog1.Color - Me.BackColor = c + BackColor = c End If End Sub ' @@ -63,7 +69,7 @@ Public Class Form1 Private Sub btnReset_Click(ByVal sender As Object, ByVal e As EventArgs) _ Handles btnReset.Click frmSettings1.Reset() - Me.BackColor = SystemColors.Control + BackColor = SystemColors.Control End Sub ' @@ -85,10 +91,10 @@ Public Class Form1 Private Sub frmSettings1_SettingsSaving(ByVal sender As Object, ByVal e As _ CancelEventArgs) Handles frmSettings1.SettingsSaving 'Should check for settings changes first. - Dim dr As DialogResult = MessageBox.Show( _ - "Save current values for application settings?", "Save Settings", _ + Dim dr As DialogResult = MessageBox.Show( + "Save current values for application settings?", "Save Settings", MessageBoxButtons.YesNo) - If (System.Windows.Forms.DialogResult.No = dr) Then + If (DialogResult.No = dr) Then e.Cancel = True End If End Sub @@ -100,7 +106,7 @@ End Class NotInheritable Class FormSettings Inherits ApplicationSettingsBase - _ + Public Property FormText() As String Get Return CStr(Me("FormText")) @@ -111,7 +117,7 @@ NotInheritable Class FormSettings End Property ' - _ + Public Property FormLocation() As Point Get Return CType(Me("FormLocation"), Point) @@ -122,7 +128,7 @@ NotInheritable Class FormSettings End Property ' - _ + Public Property FormSize() As Size Get Return CType(Me("FormSize"), Size) @@ -132,7 +138,7 @@ NotInheritable Class FormSettings End Set End Property - _ + Public Property FormBackColor() As Color Get Return CType(Me("FormBackColor"), Color) @@ -144,4 +150,4 @@ NotInheritable Class FormSettings End Class ' -' \ No newline at end of file +' diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/My Project/Resources.resx b/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/My Project/Resources.resx rename to snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Settings.settings b/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Settings.settings rename to snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/My Project/Settings.settings diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.AssociationAttribute/vb/Module1.vb b/snippets/visualbasic/System.Data.Linq.Mapping/AssociationAttribute/Overview/Module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.AssociationAttribute/vb/Module1.vb rename to snippets/visualbasic/System.Data.Linq.Mapping/AssociationAttribute/Overview/Module1.vb diff --git a/snippets/visualbasic/System.Data.Linq.Mapping/AssociationAttribute/Overview/assnattribute.vbproj b/snippets/visualbasic/System.Data.Linq.Mapping/AssociationAttribute/Overview/assnattribute.vbproj new file mode 100644 index 00000000000..0dbc0d4d611 --- /dev/null +++ b/snippets/visualbasic/System.Data.Linq.Mapping/AssociationAttribute/Overview/assnattribute.vbproj @@ -0,0 +1,12 @@ + + + + Library + net481 + + + + + + + diff --git a/snippets/visualbasic/System.Data.Linq.Mapping/AssociationAttribute/Overview/northwind.vb b/snippets/visualbasic/System.Data.Linq.Mapping/AssociationAttribute/Overview/northwind.vb new file mode 100644 index 00000000000..1ce93c54381 --- /dev/null +++ b/snippets/visualbasic/System.Data.Linq.Mapping/AssociationAttribute/Overview/northwind.vb @@ -0,0 +1,3910 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:2.0.50727.1412 +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + +Imports System.Collections.Generic +Imports System.ComponentModel +Imports System.Data +Imports System.Data.Linq +Imports System.Data.Linq.Mapping +Imports System.Linq +Imports System.Linq.Expressions +Imports System.Reflection + + + +Partial Public Class Northwnd + Inherits System.Data.Linq.DataContext + + Private Shared mappingSource As System.Data.Linq.Mapping.MappingSource = New AttributeMappingSource + +#Region "Extensibility Method Definitions" + Partial Private Sub OnCreated() + End Sub + Partial Private Sub InsertCategory(instance As Category) + End Sub + Partial Private Sub UpdateCategory(instance As Category) + End Sub + Partial Private Sub DeleteCategory(instance As Category) + End Sub + Partial Private Sub InsertCustomerCustomerDemo(instance As CustomerCustomerDemo) + End Sub + Partial Private Sub UpdateCustomerCustomerDemo(instance As CustomerCustomerDemo) + End Sub + Partial Private Sub DeleteCustomerCustomerDemo(instance As CustomerCustomerDemo) + End Sub + Partial Private Sub InsertCustomerDemographic(instance As CustomerDemographic) + End Sub + Partial Private Sub UpdateCustomerDemographic(instance As CustomerDemographic) + End Sub + Partial Private Sub DeleteCustomerDemographic(instance As CustomerDemographic) + End Sub + Partial Private Sub InsertCustomer(instance As Customer) + End Sub + Partial Private Sub UpdateCustomer(instance As Customer) + End Sub + Partial Private Sub DeleteCustomer(instance As Customer) + End Sub + Partial Private Sub InsertEmployee(instance As Employee) + End Sub + Partial Private Sub UpdateEmployee(instance As Employee) + End Sub + Partial Private Sub DeleteEmployee(instance As Employee) + End Sub + Partial Private Sub InsertEmployeeTerritory(instance As EmployeeTerritory) + End Sub + Partial Private Sub UpdateEmployeeTerritory(instance As EmployeeTerritory) + End Sub + Partial Private Sub DeleteEmployeeTerritory(instance As EmployeeTerritory) + End Sub + Partial Private Sub InsertOrderDetail(instance As OrderDetail) + End Sub + Partial Private Sub UpdateOrderDetail(instance As OrderDetail) + End Sub + Partial Private Sub DeleteOrderDetail(instance As OrderDetail) + End Sub + Partial Private Sub InsertOrder(instance As [Order]) + End Sub + Partial Private Sub UpdateOrder(instance As [Order]) + End Sub + Partial Private Sub DeleteOrder(instance As [Order]) + End Sub + Partial Private Sub InsertProduct(instance As Product) + End Sub + Partial Private Sub UpdateProduct(instance As Product) + End Sub + Partial Private Sub DeleteProduct(instance As Product) + End Sub + Partial Private Sub InsertRegion(instance As Region) + End Sub + Partial Private Sub UpdateRegion(instance As Region) + End Sub + Partial Private Sub DeleteRegion(instance As Region) + End Sub + Partial Private Sub InsertShipper(instance As Shipper) + End Sub + Partial Private Sub UpdateShipper(instance As Shipper) + End Sub + Partial Private Sub DeleteShipper(instance As Shipper) + End Sub + Partial Private Sub InsertSupplier(instance As Supplier) + End Sub + Partial Private Sub UpdateSupplier(instance As Supplier) + End Sub + Partial Private Sub DeleteSupplier(instance As Supplier) + End Sub + Partial Private Sub InsertTerritory(instance As Territory) + End Sub + Partial Private Sub UpdateTerritory(instance As Territory) + End Sub + Partial Private Sub DeleteTerritory(instance As Territory) + End Sub +#End Region + + Shared Sub New() + End Sub + + Public Sub New(ByVal connection As String) + MyBase.New(connection, mappingSource) + OnCreated() + End Sub + + Public Sub New(ByVal connection As System.Data.IDbConnection) + MyBase.New(connection, mappingSource) + OnCreated() + End Sub + + Public Sub New(ByVal connection As String, ByVal mappingSource As System.Data.Linq.Mapping.MappingSource) + MyBase.New(connection, mappingSource) + OnCreated() + End Sub + + Public Sub New(ByVal connection As System.Data.IDbConnection, ByVal mappingSource As System.Data.Linq.Mapping.MappingSource) + MyBase.New(connection, mappingSource) + OnCreated() + End Sub + + Public ReadOnly Property Categories() As System.Data.Linq.Table(Of Category) + Get + Return Me.GetTable(Of Category) + End Get + End Property + + Public ReadOnly Property CustomerCustomerDemos() As System.Data.Linq.Table(Of CustomerCustomerDemo) + Get + Return Me.GetTable(Of CustomerCustomerDemo) + End Get + End Property + + Public ReadOnly Property CustomerDemographics() As System.Data.Linq.Table(Of CustomerDemographic) + Get + Return Me.GetTable(Of CustomerDemographic) + End Get + End Property + + Public ReadOnly Property Customers() As System.Data.Linq.Table(Of Customer) + Get + Return Me.GetTable(Of Customer) + End Get + End Property + + Public ReadOnly Property Employees() As System.Data.Linq.Table(Of Employee) + Get + Return Me.GetTable(Of Employee) + End Get + End Property + + Public ReadOnly Property EmployeeTerritories() As System.Data.Linq.Table(Of EmployeeTerritory) + Get + Return Me.GetTable(Of EmployeeTerritory) + End Get + End Property + + Public ReadOnly Property OrderDetails() As System.Data.Linq.Table(Of OrderDetail) + Get + Return Me.GetTable(Of OrderDetail) + End Get + End Property + + Public ReadOnly Property Orders() As System.Data.Linq.Table(Of [Order]) + Get + Return Me.GetTable(Of [Order]) + End Get + End Property + + Public ReadOnly Property Products() As System.Data.Linq.Table(Of Product) + Get + Return Me.GetTable(Of Product) + End Get + End Property + + Public ReadOnly Property Regions() As System.Data.Linq.Table(Of Region) + Get + Return Me.GetTable(Of Region) + End Get + End Property + + Public ReadOnly Property Shippers() As System.Data.Linq.Table(Of Shipper) + Get + Return Me.GetTable(Of Shipper) + End Get + End Property + + Public ReadOnly Property Suppliers() As System.Data.Linq.Table(Of Supplier) + Get + Return Me.GetTable(Of Supplier) + End Get + End Property + + Public ReadOnly Property Territories() As System.Data.Linq.Table(Of Territory) + Get + Return Me.GetTable(Of Territory) + End Get + End Property + + + Public Function CustOrderHist( ByVal customerID As String) As ISingleResult(Of CustOrderHistResult) + Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod, MethodInfo), customerID) + Return CType(result.ReturnValue, ISingleResult(Of CustOrderHistResult)) + End Function + + + Public Function CustOrdersDetail( ByVal orderID As System.Nullable(Of Integer)) As ISingleResult(Of CustOrdersDetailResult) + Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod, MethodInfo), orderID) + Return CType(result.ReturnValue, ISingleResult(Of CustOrdersDetailResult)) + End Function + + + Public Function CustOrdersOrders( ByVal customerID As String) As ISingleResult(Of CustOrdersOrdersResult) + Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod, MethodInfo), customerID) + Return CType(result.ReturnValue, ISingleResult(Of CustOrdersOrdersResult)) + End Function + + + Public Function EmployeeSalesByCountry( ByVal beginning_Date As System.Nullable(Of Date), ByVal ending_Date As System.Nullable(Of Date)) As ISingleResult(Of EmployeeSalesByCountryResult) + Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod, MethodInfo), beginning_Date, ending_Date) + Return CType(result.ReturnValue, ISingleResult(Of EmployeeSalesByCountryResult)) + End Function + + + Public Function SalesByYear( ByVal beginning_Date As System.Nullable(Of Date), ByVal ending_Date As System.Nullable(Of Date)) As ISingleResult(Of SalesByYearResult) + Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod, MethodInfo), beginning_Date, ending_Date) + Return CType(result.ReturnValue, ISingleResult(Of SalesByYearResult)) + End Function + + + Public Function SalesByCategory( ByVal categoryName As String, ByVal ordYear As String) As ISingleResult(Of SalesByCategoryResult) + Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod, MethodInfo), categoryName, ordYear) + Return CType(result.ReturnValue, ISingleResult(Of SalesByCategoryResult)) + End Function + + + Public Function TenMostExpensiveProducts() As ISingleResult(Of TenMostExpensiveProductsResult) + Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod, MethodInfo)) + Return CType(result.ReturnValue, ISingleResult(Of TenMostExpensiveProductsResult)) + End Function +End Class + + +Partial Public Class Category + Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + + Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) + + Private _CategoryID As Integer + + Private _CategoryName As String + + Private _Description As String + + Private _Picture As System.Data.Linq.Binary + + Private _Products As EntitySet(Of Product) + +#Region "Extensibility Method Definitions" + Partial Private Sub OnLoaded() + End Sub + Partial Private Sub OnValidate() + End Sub + Partial Private Sub OnCreated() + End Sub + Partial Private Sub OnCategoryIDChanging(value As Integer) + End Sub + Partial Private Sub OnCategoryIDChanged() + End Sub + Partial Private Sub OnCategoryNameChanging(value As String) + End Sub + Partial Private Sub OnCategoryNameChanged() + End Sub + Partial Private Sub OnDescriptionChanging(value As String) + End Sub + Partial Private Sub OnDescriptionChanged() + End Sub + Partial Private Sub OnPictureChanging(value As System.Data.Linq.Binary) + End Sub + Partial Private Sub OnPictureChanged() + End Sub +#End Region + + Public Sub New() + MyBase.New + OnCreated() + Me._Products = New EntitySet(Of Product)(AddressOf Me.attach_Products, AddressOf Me.detach_Products) + End Sub + + + Public Property CategoryID() As Integer + Get + Return Me._CategoryID + End Get + Set + If ((Me._CategoryID = Value) _ + = False) Then + Me.OnCategoryIDChanging(Value) + Me.SendPropertyChanging() + Me._CategoryID = Value + Me.SendPropertyChanged("CategoryID") + Me.OnCategoryIDChanged() + End If + End Set + End Property + + + Public Property CategoryName() As String + Get + Return Me._CategoryName + End Get + Set + If (String.Equals(Me._CategoryName, Value) = False) Then + Me.OnCategoryNameChanging(Value) + Me.SendPropertyChanging() + Me._CategoryName = Value + Me.SendPropertyChanged("CategoryName") + Me.OnCategoryNameChanged() + End If + End Set + End Property + + + Public Property Description() As String + Get + Return Me._Description + End Get + Set + If (String.Equals(Me._Description, Value) = False) Then + Me.OnDescriptionChanging(Value) + Me.SendPropertyChanging() + Me._Description = Value + Me.SendPropertyChanged("Description") + Me.OnDescriptionChanged() + End If + End Set + End Property + + + Public Property Picture() As System.Data.Linq.Binary + Get + Return Me._Picture + End Get + Set + If (Me._Picture.Equals(Value) = False) Then + Me.OnPictureChanging(Value) + Me.SendPropertyChanging() + Me._Picture = Value + Me.SendPropertyChanged("Picture") + Me.OnPictureChanged() + End If + End Set + End Property + + ' + + Public Property Products() As EntitySet(Of Product) + Get + Return Me._Products + End Get + Set + Me._Products.Assign(Value) + End Set + End Property + ' + + Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging + + Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged + + Protected Overridable Sub SendPropertyChanging() + If ((Me.PropertyChangingEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) + End If + End Sub + + Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) + If ((Me.PropertyChangedEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) + End If + End Sub + + Private Sub attach_Products(ByVal entity As Product) + Me.SendPropertyChanging() + entity.Category = Me + Me.SendPropertyChanged("Products") + End Sub + + Private Sub detach_Products(ByVal entity As Product) + Me.SendPropertyChanging() + entity.Category = Nothing + Me.SendPropertyChanged("Products") + End Sub +End Class + + +Partial Public Class CustomerCustomerDemo + Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + + Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) + + Private _CustomerID As String + + Private _CustomerTypeID As String + + Private _CustomerDemographic As EntityRef(Of CustomerDemographic) + + Private _Customer As EntityRef(Of Customer) + +#Region "Extensibility Method Definitions" + Partial Private Sub OnLoaded() + End Sub + Partial Private Sub OnValidate() + End Sub + Partial Private Sub OnCreated() + End Sub + Partial Private Sub OnCustomerIDChanging(value As String) + End Sub + Partial Private Sub OnCustomerIDChanged() + End Sub + Partial Private Sub OnCustomerTypeIDChanging(value As String) + End Sub + Partial Private Sub OnCustomerTypeIDChanged() + End Sub +#End Region + + Public Sub New() + MyBase.New + OnCreated() + Me._CustomerDemographic = CType(Nothing, EntityRef(Of CustomerDemographic)) + Me._Customer = CType(Nothing, EntityRef(Of Customer)) + End Sub + + + Public Property CustomerID() As String + Get + Return Me._CustomerID + End Get + Set + If (String.Equals(Me._CustomerID, Value) = False) Then + If Me._Customer.HasLoadedOrAssignedValue Then + Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException + End If + Me.OnCustomerIDChanging(Value) + Me.SendPropertyChanging() + Me._CustomerID = Value + Me.SendPropertyChanged("CustomerID") + Me.OnCustomerIDChanged() + End If + End Set + End Property + + + Public Property CustomerTypeID() As String + Get + Return Me._CustomerTypeID + End Get + Set + If (String.Equals(Me._CustomerTypeID, Value) = False) Then + If Me._CustomerDemographic.HasLoadedOrAssignedValue Then + Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException + End If + Me.OnCustomerTypeIDChanging(Value) + Me.SendPropertyChanging() + Me._CustomerTypeID = Value + Me.SendPropertyChanged("CustomerTypeID") + Me.OnCustomerTypeIDChanged() + End If + End Set + End Property + + ' + + Public Property CustomerDemographic() As CustomerDemographic + Get + Return Me._CustomerDemographic.Entity + End Get + Set(ByVal value As CustomerDemographic) + Dim previousValue As CustomerDemographic = Me._CustomerDemographic.Entity + If (((previousValue Is value) _ + = False) _ + OrElse (Me._CustomerDemographic.HasLoadedOrAssignedValue = False)) Then + Me.SendPropertyChanging() + If ((previousValue Is Nothing) _ + = False) Then + Me._CustomerDemographic.Entity = Nothing + previousValue.CustomerCustomerDemos.Remove(Me) + End If + Me._CustomerDemographic.Entity = value + If ((value Is Nothing) _ + = False) Then + value.CustomerCustomerDemos.Add(Me) + Me._CustomerTypeID = value.CustomerTypeID + Else + Me._CustomerTypeID = CType(Nothing, String) + End If + Me.SendPropertyChanged("CustomerDemographic") + End If + End Set + End Property + ' + + + Public Property Customer() As Customer + Get + Return Me._Customer.Entity + End Get + Set + Dim previousValue As Customer = Me._Customer.Entity + If (((previousValue Is Value) _ + = False) _ + OrElse (Me._Customer.HasLoadedOrAssignedValue = False)) Then + Me.SendPropertyChanging() + + If ((previousValue Is Nothing) _ + = False) Then + Me._Customer.Entity = Nothing + previousValue.CustomerCustomerDemos.Remove(Me) + End If + Me._Customer.Entity = Value + If ((Value Is Nothing) _ + = False) Then + Value.CustomerCustomerDemos.Add(Me) + Me._CustomerID = Value.CustomerID + Else + Me._CustomerID = CType(Nothing, String) + End If + Me.SendPropertyChanged("Customer") + End If + End Set + End Property + + Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging + + Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged + + Protected Overridable Sub SendPropertyChanging() + If ((Me.PropertyChangingEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) + End If + End Sub + + Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) + If ((Me.PropertyChangedEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) + End If + End Sub +End Class + + +Partial Public Class CustomerDemographic + Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + + Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) + + Private _CustomerTypeID As String + + Private _CustomerDesc As String + + Private _CustomerCustomerDemos As EntitySet(Of CustomerCustomerDemo) + +#Region "Extensibility Method Definitions" + Partial Private Sub OnLoaded() + End Sub + Partial Private Sub OnValidate() + End Sub + Partial Private Sub OnCreated() + End Sub + Partial Private Sub OnCustomerTypeIDChanging(value As String) + End Sub + Partial Private Sub OnCustomerTypeIDChanged() + End Sub + Partial Private Sub OnCustomerDescChanging(value As String) + End Sub + Partial Private Sub OnCustomerDescChanged() + End Sub +#End Region + + Public Sub New() + MyBase.New + OnCreated() + Me._CustomerCustomerDemos = New EntitySet(Of CustomerCustomerDemo)(AddressOf Me.attach_CustomerCustomerDemos, AddressOf Me.detach_CustomerCustomerDemos) + End Sub + + + Public Property CustomerTypeID() As String + Get + Return Me._CustomerTypeID + End Get + Set + If (String.Equals(Me._CustomerTypeID, Value) = False) Then + Me.OnCustomerTypeIDChanging(Value) + Me.SendPropertyChanging() + Me._CustomerTypeID = Value + Me.SendPropertyChanged("CustomerTypeID") + Me.OnCustomerTypeIDChanged() + End If + End Set + End Property + + + Public Property CustomerDesc() As String + Get + Return Me._CustomerDesc + End Get + Set + If (String.Equals(Me._CustomerDesc, Value) = False) Then + Me.OnCustomerDescChanging(Value) + Me.SendPropertyChanging() + Me._CustomerDesc = Value + Me.SendPropertyChanged("CustomerDesc") + Me.OnCustomerDescChanged() + End If + End Set + End Property + + + Public Property CustomerCustomerDemos() As EntitySet(Of CustomerCustomerDemo) + Get + Return Me._CustomerCustomerDemos + End Get + Set + Me._CustomerCustomerDemos.Assign(Value) + End Set + End Property + + Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging + + Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged + + Protected Overridable Sub SendPropertyChanging() + If ((Me.PropertyChangingEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) + End If + End Sub + + Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) + If ((Me.PropertyChangedEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) + End If + End Sub + + Private Sub attach_CustomerCustomerDemos(ByVal entity As CustomerCustomerDemo) + Me.SendPropertyChanging() + entity.CustomerDemographic = Me + Me.SendPropertyChanged("CustomerCustomerDemos") + End Sub + + Private Sub detach_CustomerCustomerDemos(ByVal entity As CustomerCustomerDemo) + Me.SendPropertyChanging() + entity.CustomerDemographic = Nothing + Me.SendPropertyChanged("CustomerCustomerDemos") + End Sub +End Class + + +Partial Public Class Customer + Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + + Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) + + Private _CustomerID As String + + Private _CompanyName As String + + Private _ContactName As String + + Private _ContactTitle As String + + Private _Address As String + + Private _City As String + + Private _Region As String + + Private _PostalCode As String + + Private _Country As String + + Private _Phone As String + + Private _Fax As String + + Private _CustomerCustomerDemos As EntitySet(Of CustomerCustomerDemo) + + Private _Orders As EntitySet(Of [Order]) + +#Region "Extensibility Method Definitions" + Partial Private Sub OnLoaded() + End Sub + Partial Private Sub OnValidate() + End Sub + Partial Private Sub OnCreated() + End Sub + Partial Private Sub OnCustomerIDChanging(value As String) + End Sub + Partial Private Sub OnCustomerIDChanged() + End Sub + Partial Private Sub OnCompanyNameChanging(value As String) + End Sub + Partial Private Sub OnCompanyNameChanged() + End Sub + Partial Private Sub OnContactNameChanging(value As String) + End Sub + Partial Private Sub OnContactNameChanged() + End Sub + Partial Private Sub OnContactTitleChanging(value As String) + End Sub + Partial Private Sub OnContactTitleChanged() + End Sub + Partial Private Sub OnAddressChanging(value As String) + End Sub + Partial Private Sub OnAddressChanged() + End Sub + Partial Private Sub OnCityChanging(value As String) + End Sub + Partial Private Sub OnCityChanged() + End Sub + Partial Private Sub OnRegionChanging(value As String) + End Sub + Partial Private Sub OnRegionChanged() + End Sub + Partial Private Sub OnPostalCodeChanging(value As String) + End Sub + Partial Private Sub OnPostalCodeChanged() + End Sub + Partial Private Sub OnCountryChanging(value As String) + End Sub + Partial Private Sub OnCountryChanged() + End Sub + Partial Private Sub OnPhoneChanging(value As String) + End Sub + Partial Private Sub OnPhoneChanged() + End Sub + Partial Private Sub OnFaxChanging(value As String) + End Sub + Partial Private Sub OnFaxChanged() + End Sub +#End Region + + Public Sub New() + MyBase.New + OnCreated() + Me._CustomerCustomerDemos = New EntitySet(Of CustomerCustomerDemo)(AddressOf Me.attach_CustomerCustomerDemos, AddressOf Me.detach_CustomerCustomerDemos) + Me._Orders = New EntitySet(Of [Order])(AddressOf Me.attach_Orders, AddressOf Me.detach_Orders) + End Sub + + + Public Property CustomerID() As String + Get + Return Me._CustomerID + End Get + Set + If (String.Equals(Me._CustomerID, Value) = False) Then + Me.OnCustomerIDChanging(Value) + Me.SendPropertyChanging() + Me._CustomerID = Value + Me.SendPropertyChanged("CustomerID") + Me.OnCustomerIDChanged() + End If + End Set + End Property + + + Public Property CompanyName() As String + Get + Return Me._CompanyName + End Get + Set + If (String.Equals(Me._CompanyName, Value) = False) Then + Me.OnCompanyNameChanging(Value) + Me.SendPropertyChanging() + Me._CompanyName = Value + Me.SendPropertyChanged("CompanyName") + Me.OnCompanyNameChanged() + End If + End Set + End Property + + + Public Property ContactName() As String + Get + Return Me._ContactName + End Get + Set + If (String.Equals(Me._ContactName, Value) = False) Then + Me.OnContactNameChanging(Value) + Me.SendPropertyChanging() + Me._ContactName = Value + Me.SendPropertyChanged("ContactName") + Me.OnContactNameChanged() + End If + End Set + End Property + + + Public Property ContactTitle() As String + Get + Return Me._ContactTitle + End Get + Set + If (String.Equals(Me._ContactTitle, Value) = False) Then + Me.OnContactTitleChanging(Value) + Me.SendPropertyChanging() + Me._ContactTitle = Value + Me.SendPropertyChanged("ContactTitle") + Me.OnContactTitleChanged() + End If + End Set + End Property + + + Public Property Address() As String + Get + Return Me._Address + End Get + Set + If (String.Equals(Me._Address, Value) = False) Then + Me.OnAddressChanging(Value) + Me.SendPropertyChanging() + Me._Address = Value + Me.SendPropertyChanged("Address") + Me.OnAddressChanged() + End If + End Set + End Property + + + Public Property City() As String + Get + Return Me._City + End Get + Set + If (String.Equals(Me._City, Value) = False) Then + Me.OnCityChanging(Value) + Me.SendPropertyChanging() + Me._City = Value + Me.SendPropertyChanged("City") + Me.OnCityChanged() + End If + End Set + End Property + + + Public Property Region() As String + Get + Return Me._Region + End Get + Set + If (String.Equals(Me._Region, Value) = False) Then + Me.OnRegionChanging(Value) + Me.SendPropertyChanging() + Me._Region = Value + Me.SendPropertyChanged("Region") + Me.OnRegionChanged() + End If + End Set + End Property + + + Public Property PostalCode() As String + Get + Return Me._PostalCode + End Get + Set + If (String.Equals(Me._PostalCode, Value) = False) Then + Me.OnPostalCodeChanging(Value) + Me.SendPropertyChanging() + Me._PostalCode = Value + Me.SendPropertyChanged("PostalCode") + Me.OnPostalCodeChanged() + End If + End Set + End Property + + + Public Property Country() As String + Get + Return Me._Country + End Get + Set + If (String.Equals(Me._Country, Value) = False) Then + Me.OnCountryChanging(Value) + Me.SendPropertyChanging() + Me._Country = Value + Me.SendPropertyChanged("Country") + Me.OnCountryChanged() + End If + End Set + End Property + + + Public Property Phone() As String + Get + Return Me._Phone + End Get + Set + If (String.Equals(Me._Phone, Value) = False) Then + Me.OnPhoneChanging(Value) + Me.SendPropertyChanging() + Me._Phone = Value + Me.SendPropertyChanged("Phone") + Me.OnPhoneChanged() + End If + End Set + End Property + + + Public Property Fax() As String + Get + Return Me._Fax + End Get + Set + If (String.Equals(Me._Fax, Value) = False) Then + Me.OnFaxChanging(Value) + Me.SendPropertyChanging() + Me._Fax = Value + Me.SendPropertyChanged("Fax") + Me.OnFaxChanged() + End If + End Set + End Property + + + Public Property CustomerCustomerDemos() As EntitySet(Of CustomerCustomerDemo) + Get + Return Me._CustomerCustomerDemos + End Get + Set + Me._CustomerCustomerDemos.Assign(Value) + End Set + End Property + + + Public Property Orders() As EntitySet(Of [Order]) + Get + Return Me._Orders + End Get + Set + Me._Orders.Assign(Value) + End Set + End Property + + Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging + + Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged + + Protected Overridable Sub SendPropertyChanging() + If ((Me.PropertyChangingEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) + End If + End Sub + + Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) + If ((Me.PropertyChangedEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) + End If + End Sub + + Private Sub attach_CustomerCustomerDemos(ByVal entity As CustomerCustomerDemo) + Me.SendPropertyChanging() + entity.Customer = Me + Me.SendPropertyChanged("CustomerCustomerDemos") + End Sub + + Private Sub detach_CustomerCustomerDemos(ByVal entity As CustomerCustomerDemo) + Me.SendPropertyChanging() + entity.Customer = Nothing + Me.SendPropertyChanged("CustomerCustomerDemos") + End Sub + + Private Sub attach_Orders(ByVal entity As [Order]) + Me.SendPropertyChanging() + entity.Customer = Me + Me.SendPropertyChanged("Orders") + End Sub + + Private Sub detach_Orders(ByVal entity As [Order]) + Me.SendPropertyChanging() + entity.Customer = Nothing + Me.SendPropertyChanged("Orders") + End Sub +End Class + + +Partial Public Class Employee + Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + + Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) + + Private _EmployeeID As Integer + + Private _LastName As String + + Private _FirstName As String + + Private _Title As String + + Private _TitleOfCourtesy As String + + Private _BirthDate As System.Nullable(Of Date) + + Private _HireDate As System.Nullable(Of Date) + + Private _Address As String + + Private _City As String + + Private _Region As String + + Private _PostalCode As String + + Private _Country As String + + Private _HomePhone As String + + Private _Extension As String + + Private _Photo As System.Data.Linq.Binary + + Private _Notes As String + + Private _ReportsTo As System.Nullable(Of Integer) + + Private _PhotoPath As String + + Private _ReportsToEmployee As EntityRef(Of Employee) + + Private _Employees As EntitySet(Of Employee) + + Private _EmployeeTerritories As EntitySet(Of EmployeeTerritory) + + Private _Orders As EntitySet(Of [Order]) + +#Region "Extensibility Method Definitions" + Partial Private Sub OnLoaded() + End Sub + Partial Private Sub OnValidate() + End Sub + Partial Private Sub OnCreated() + End Sub + Partial Private Sub OnEmployeeIDChanging(value As Integer) + End Sub + Partial Private Sub OnEmployeeIDChanged() + End Sub + Partial Private Sub OnLastNameChanging(value As String) + End Sub + Partial Private Sub OnLastNameChanged() + End Sub + Partial Private Sub OnFirstNameChanging(value As String) + End Sub + Partial Private Sub OnFirstNameChanged() + End Sub + Partial Private Sub OnTitleChanging(value As String) + End Sub + Partial Private Sub OnTitleChanged() + End Sub + Partial Private Sub OnTitleOfCourtesyChanging(value As String) + End Sub + Partial Private Sub OnTitleOfCourtesyChanged() + End Sub + Partial Private Sub OnBirthDateChanging(value As System.Nullable(Of Date)) + End Sub + Partial Private Sub OnBirthDateChanged() + End Sub + Partial Private Sub OnHireDateChanging(value As System.Nullable(Of Date)) + End Sub + Partial Private Sub OnHireDateChanged() + End Sub + Partial Private Sub OnAddressChanging(value As String) + End Sub + Partial Private Sub OnAddressChanged() + End Sub + Partial Private Sub OnCityChanging(value As String) + End Sub + Partial Private Sub OnCityChanged() + End Sub + Partial Private Sub OnRegionChanging(value As String) + End Sub + Partial Private Sub OnRegionChanged() + End Sub + Partial Private Sub OnPostalCodeChanging(value As String) + End Sub + Partial Private Sub OnPostalCodeChanged() + End Sub + Partial Private Sub OnCountryChanging(value As String) + End Sub + Partial Private Sub OnCountryChanged() + End Sub + Partial Private Sub OnHomePhoneChanging(value As String) + End Sub + Partial Private Sub OnHomePhoneChanged() + End Sub + Partial Private Sub OnExtensionChanging(value As String) + End Sub + Partial Private Sub OnExtensionChanged() + End Sub + Partial Private Sub OnPhotoChanging(value As System.Data.Linq.Binary) + End Sub + Partial Private Sub OnPhotoChanged() + End Sub + Partial Private Sub OnNotesChanging(value As String) + End Sub + Partial Private Sub OnNotesChanged() + End Sub + Partial Private Sub OnReportsToChanging(value As System.Nullable(Of Integer)) + End Sub + Partial Private Sub OnReportsToChanged() + End Sub + Partial Private Sub OnPhotoPathChanging(value As String) + End Sub + Partial Private Sub OnPhotoPathChanged() + End Sub +#End Region + + Public Sub New() + MyBase.New + OnCreated() + Me._ReportsToEmployee = CType(Nothing, EntityRef(Of Employee)) + Me._Employees = New EntitySet(Of Employee)(AddressOf Me.attach_Employees, AddressOf Me.detach_Employees) + Me._EmployeeTerritories = New EntitySet(Of EmployeeTerritory)(AddressOf Me.attach_EmployeeTerritories, AddressOf Me.detach_EmployeeTerritories) + Me._Orders = New EntitySet(Of [Order])(AddressOf Me.attach_Orders, AddressOf Me.detach_Orders) + End Sub + + + Public Property EmployeeID() As Integer + Get + Return Me._EmployeeID + End Get + Set + If ((Me._EmployeeID = Value) _ + = False) Then + Me.OnEmployeeIDChanging(Value) + Me.SendPropertyChanging() + Me._EmployeeID = Value + Me.SendPropertyChanged("EmployeeID") + Me.OnEmployeeIDChanged() + End If + End Set + End Property + + + Public Property LastName() As String + Get + Return Me._LastName + End Get + Set + If (String.Equals(Me._LastName, Value) = False) Then + Me.OnLastNameChanging(Value) + Me.SendPropertyChanging() + Me._LastName = Value + Me.SendPropertyChanged("LastName") + Me.OnLastNameChanged() + End If + End Set + End Property + + + Public Property FirstName() As String + Get + Return Me._FirstName + End Get + Set + If (String.Equals(Me._FirstName, Value) = False) Then + Me.OnFirstNameChanging(Value) + Me.SendPropertyChanging() + Me._FirstName = Value + Me.SendPropertyChanged("FirstName") + Me.OnFirstNameChanged() + End If + End Set + End Property + + + Public Property Title() As String + Get + Return Me._Title + End Get + Set + If (String.Equals(Me._Title, Value) = False) Then + Me.OnTitleChanging(Value) + Me.SendPropertyChanging() + Me._Title = Value + Me.SendPropertyChanged("Title") + Me.OnTitleChanged() + End If + End Set + End Property + + + Public Property TitleOfCourtesy() As String + Get + Return Me._TitleOfCourtesy + End Get + Set + If (String.Equals(Me._TitleOfCourtesy, Value) = False) Then + Me.OnTitleOfCourtesyChanging(Value) + Me.SendPropertyChanging() + Me._TitleOfCourtesy = Value + Me.SendPropertyChanged("TitleOfCourtesy") + Me.OnTitleOfCourtesyChanged() + End If + End Set + End Property + + + Public Property BirthDate() As System.Nullable(Of Date) + Get + Return Me._BirthDate + End Get + Set + If (Me._BirthDate.Equals(Value) = False) Then + Me.OnBirthDateChanging(Value) + Me.SendPropertyChanging() + Me._BirthDate = Value + Me.SendPropertyChanged("BirthDate") + Me.OnBirthDateChanged() + End If + End Set + End Property + + + Public Property HireDate() As System.Nullable(Of Date) + Get + Return Me._HireDate + End Get + Set + If (Me._HireDate.Equals(Value) = False) Then + Me.OnHireDateChanging(Value) + Me.SendPropertyChanging() + Me._HireDate = Value + Me.SendPropertyChanged("HireDate") + Me.OnHireDateChanged() + End If + End Set + End Property + + + Public Property Address() As String + Get + Return Me._Address + End Get + Set + If (String.Equals(Me._Address, Value) = False) Then + Me.OnAddressChanging(Value) + Me.SendPropertyChanging() + Me._Address = Value + Me.SendPropertyChanged("Address") + Me.OnAddressChanged() + End If + End Set + End Property + + + Public Property City() As String + Get + Return Me._City + End Get + Set + If (String.Equals(Me._City, Value) = False) Then + Me.OnCityChanging(Value) + Me.SendPropertyChanging() + Me._City = Value + Me.SendPropertyChanged("City") + Me.OnCityChanged() + End If + End Set + End Property + + + Public Property Region() As String + Get + Return Me._Region + End Get + Set + If (String.Equals(Me._Region, Value) = False) Then + Me.OnRegionChanging(Value) + Me.SendPropertyChanging() + Me._Region = Value + Me.SendPropertyChanged("Region") + Me.OnRegionChanged() + End If + End Set + End Property + + + Public Property PostalCode() As String + Get + Return Me._PostalCode + End Get + Set + If (String.Equals(Me._PostalCode, Value) = False) Then + Me.OnPostalCodeChanging(Value) + Me.SendPropertyChanging() + Me._PostalCode = Value + Me.SendPropertyChanged("PostalCode") + Me.OnPostalCodeChanged() + End If + End Set + End Property + + + Public Property Country() As String + Get + Return Me._Country + End Get + Set + If (String.Equals(Me._Country, Value) = False) Then + Me.OnCountryChanging(Value) + Me.SendPropertyChanging() + Me._Country = Value + Me.SendPropertyChanged("Country") + Me.OnCountryChanged() + End If + End Set + End Property + + + Public Property HomePhone() As String + Get + Return Me._HomePhone + End Get + Set + If (String.Equals(Me._HomePhone, Value) = False) Then + Me.OnHomePhoneChanging(Value) + Me.SendPropertyChanging() + Me._HomePhone = Value + Me.SendPropertyChanged("HomePhone") + Me.OnHomePhoneChanged() + End If + End Set + End Property + + + Public Property Extension() As String + Get + Return Me._Extension + End Get + Set + If (String.Equals(Me._Extension, Value) = False) Then + Me.OnExtensionChanging(Value) + Me.SendPropertyChanging() + Me._Extension = Value + Me.SendPropertyChanged("Extension") + Me.OnExtensionChanged() + End If + End Set + End Property + + + Public Property Photo() As System.Data.Linq.Binary + Get + Return Me._Photo + End Get + Set + If (Me._Photo.Equals(Value) = False) Then + Me.OnPhotoChanging(Value) + Me.SendPropertyChanging() + Me._Photo = Value + Me.SendPropertyChanged("Photo") + Me.OnPhotoChanged() + End If + End Set + End Property + + + Public Property Notes() As String + Get + Return Me._Notes + End Get + Set + If (String.Equals(Me._Notes, Value) = False) Then + Me.OnNotesChanging(Value) + Me.SendPropertyChanging() + Me._Notes = Value + Me.SendPropertyChanged("Notes") + Me.OnNotesChanged() + End If + End Set + End Property + + + Public Property ReportsTo() As System.Nullable(Of Integer) + Get + Return Me._ReportsTo + End Get + Set + If (Me._ReportsTo.Equals(Value) = False) Then + If Me._ReportsToEmployee.HasLoadedOrAssignedValue Then + Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException + End If + Me.OnReportsToChanging(Value) + Me.SendPropertyChanging() + Me._ReportsTo = Value + Me.SendPropertyChanged("ReportsTo") + Me.OnReportsToChanged() + End If + End Set + End Property + + + Public Property PhotoPath() As String + Get + Return Me._PhotoPath + End Get + Set + If (String.Equals(Me._PhotoPath, Value) = False) Then + Me.OnPhotoPathChanging(Value) + Me.SendPropertyChanging() + Me._PhotoPath = Value + Me.SendPropertyChanged("PhotoPath") + Me.OnPhotoPathChanged() + End If + End Set + End Property + + + Public Property ReportsToEmployee() As Employee + Get + Return Me._ReportsToEmployee.Entity + End Get + Set + Dim previousValue As Employee = Me._ReportsToEmployee.Entity + If (((previousValue Is Value) _ + = False) _ + OrElse (Me._ReportsToEmployee.HasLoadedOrAssignedValue = False)) Then + Me.SendPropertyChanging() + + If ((previousValue Is Nothing) _ + = False) Then + Me._ReportsToEmployee.Entity = Nothing + previousValue.Employees.Remove(Me) + End If + Me._ReportsToEmployee.Entity = Value + If ((Value Is Nothing) _ + = False) Then + Value.Employees.Add(Me) + Me._ReportsTo = Value.EmployeeID + Else + Me._ReportsTo = CType(Nothing, Nullable(Of Integer)) + End If + Me.SendPropertyChanged("ReportsToEmployee") + End If + End Set + End Property + + + Public Property Employees() As EntitySet(Of Employee) + Get + Return Me._Employees + End Get + Set + Me._Employees.Assign(Value) + End Set + End Property + + + Public Property EmployeeTerritories() As EntitySet(Of EmployeeTerritory) + Get + Return Me._EmployeeTerritories + End Get + Set + Me._EmployeeTerritories.Assign(Value) + End Set + End Property + + + Public Property Orders() As EntitySet(Of [Order]) + Get + Return Me._Orders + End Get + Set + Me._Orders.Assign(Value) + End Set + End Property + + Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging + + Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged + + Protected Overridable Sub SendPropertyChanging() + If ((Me.PropertyChangingEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) + End If + End Sub + + Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) + If ((Me.PropertyChangedEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) + End If + End Sub + + Private Sub attach_Employees(ByVal entity As Employee) + Me.SendPropertyChanging() + entity.ReportsToEmployee = Me + Me.SendPropertyChanged("Employees") + End Sub + + Private Sub detach_Employees(ByVal entity As Employee) + Me.SendPropertyChanging() + entity.ReportsToEmployee = Nothing + Me.SendPropertyChanged("Employees") + End Sub + + Private Sub attach_EmployeeTerritories(ByVal entity As EmployeeTerritory) + Me.SendPropertyChanging() + entity.Employee = Me + Me.SendPropertyChanged("EmployeeTerritories") + End Sub + + Private Sub detach_EmployeeTerritories(ByVal entity As EmployeeTerritory) + Me.SendPropertyChanging() + entity.Employee = Nothing + Me.SendPropertyChanged("EmployeeTerritories") + End Sub + + Private Sub attach_Orders(ByVal entity As [Order]) + Me.SendPropertyChanging() + entity.Employee = Me + Me.SendPropertyChanged("Orders") + End Sub + + Private Sub detach_Orders(ByVal entity As [Order]) + Me.SendPropertyChanging() + entity.Employee = Nothing + Me.SendPropertyChanged("Orders") + End Sub +End Class + + +Partial Public Class EmployeeTerritory + Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + + Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) + + Private _EmployeeID As Integer + + Private _TerritoryID As String + + Private _Employee As EntityRef(Of Employee) + + Private _Territory As EntityRef(Of Territory) + +#Region "Extensibility Method Definitions" + Partial Private Sub OnLoaded() + End Sub + Partial Private Sub OnValidate() + End Sub + Partial Private Sub OnCreated() + End Sub + Partial Private Sub OnEmployeeIDChanging(value As Integer) + End Sub + Partial Private Sub OnEmployeeIDChanged() + End Sub + Partial Private Sub OnTerritoryIDChanging(value As String) + End Sub + Partial Private Sub OnTerritoryIDChanged() + End Sub +#End Region + + Public Sub New() + MyBase.New + OnCreated() + Me._Employee = CType(Nothing, EntityRef(Of Employee)) + Me._Territory = CType(Nothing, EntityRef(Of Territory)) + End Sub + + + Public Property EmployeeID() As Integer + Get + Return Me._EmployeeID + End Get + Set + If ((Me._EmployeeID = Value) _ + = False) Then + If Me._Employee.HasLoadedOrAssignedValue Then + Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException + End If + Me.OnEmployeeIDChanging(Value) + Me.SendPropertyChanging() + Me._EmployeeID = Value + Me.SendPropertyChanged("EmployeeID") + Me.OnEmployeeIDChanged() + End If + End Set + End Property + + + Public Property TerritoryID() As String + Get + Return Me._TerritoryID + End Get + Set + If (String.Equals(Me._TerritoryID, Value) = False) Then + If Me._Territory.HasLoadedOrAssignedValue Then + Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException + End If + Me.OnTerritoryIDChanging(Value) + Me.SendPropertyChanging() + Me._TerritoryID = Value + Me.SendPropertyChanged("TerritoryID") + Me.OnTerritoryIDChanged() + End If + End Set + End Property + + + Public Property Employee() As Employee + Get + Return Me._Employee.Entity + End Get + Set + Dim previousValue As Employee = Me._Employee.Entity + If (((previousValue Is Value) _ + = False) _ + OrElse (Me._Employee.HasLoadedOrAssignedValue = False)) Then + Me.SendPropertyChanging() + + If ((previousValue Is Nothing) _ + = False) Then + Me._Employee.Entity = Nothing + previousValue.EmployeeTerritories.Remove(Me) + End If + Me._Employee.Entity = Value + If ((Value Is Nothing) _ + = False) Then + Value.EmployeeTerritories.Add(Me) + Me._EmployeeID = Value.EmployeeID + Else + Me._EmployeeID = CType(Nothing, Integer) + End If + Me.SendPropertyChanged("Employee") + End If + End Set + End Property + + + Public Property Territory() As Territory + Get + Return Me._Territory.Entity + End Get + Set + Dim previousValue As Territory = Me._Territory.Entity + If (((previousValue Is Value) _ + = False) _ + OrElse (Me._Territory.HasLoadedOrAssignedValue = False)) Then + Me.SendPropertyChanging() + + If ((previousValue Is Nothing) _ + = False) Then + Me._Territory.Entity = Nothing + previousValue.EmployeeTerritories.Remove(Me) + End If + Me._Territory.Entity = Value + If ((Value Is Nothing) _ + = False) Then + Value.EmployeeTerritories.Add(Me) + Me._TerritoryID = Value.TerritoryID + Else + Me._TerritoryID = CType(Nothing, String) + End If + Me.SendPropertyChanged("Territory") + End If + End Set + End Property + + Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging + + Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged + + Protected Overridable Sub SendPropertyChanging() + If ((Me.PropertyChangingEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) + End If + End Sub + + Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) + If ((Me.PropertyChangedEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) + End If + End Sub +End Class + + +Partial Public Class OrderDetail + Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + + Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) + + Private _OrderID As Integer + + Private _ProductID As Integer + + Private _UnitPrice As Decimal + + Private _Quantity As Short + + Private _Discount As Single + + Private _Order As EntityRef(Of [Order]) + + Private _Product As EntityRef(Of Product) + +#Region "Extensibility Method Definitions" + Partial Private Sub OnLoaded() + End Sub + Partial Private Sub OnValidate() + End Sub + Partial Private Sub OnCreated() + End Sub + Partial Private Sub OnOrderIDChanging(value As Integer) + End Sub + Partial Private Sub OnOrderIDChanged() + End Sub + Partial Private Sub OnProductIDChanging(value As Integer) + End Sub + Partial Private Sub OnProductIDChanged() + End Sub + Partial Private Sub OnUnitPriceChanging(value As Decimal) + End Sub + Partial Private Sub OnUnitPriceChanged() + End Sub + Partial Private Sub OnQuantityChanging(value As Short) + End Sub + Partial Private Sub OnQuantityChanged() + End Sub + Partial Private Sub OnDiscountChanging(value As Single) + End Sub + Partial Private Sub OnDiscountChanged() + End Sub +#End Region + + Public Sub New() + MyBase.New + OnCreated() + Me._Order = CType(Nothing, EntityRef(Of [Order])) + Me._Product = CType(Nothing, EntityRef(Of Product)) + End Sub + + + Public Property OrderID() As Integer + Get + Return Me._OrderID + End Get + Set + If ((Me._OrderID = Value) _ + = False) Then + If Me._Order.HasLoadedOrAssignedValue Then + Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException + End If + Me.OnOrderIDChanging(Value) + Me.SendPropertyChanging() + Me._OrderID = Value + Me.SendPropertyChanged("OrderID") + Me.OnOrderIDChanged() + End If + End Set + End Property + + + Public Property ProductID() As Integer + Get + Return Me._ProductID + End Get + Set + If ((Me._ProductID = Value) _ + = False) Then + If Me._Product.HasLoadedOrAssignedValue Then + Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException + End If + Me.OnProductIDChanging(Value) + Me.SendPropertyChanging() + Me._ProductID = Value + Me.SendPropertyChanged("ProductID") + Me.OnProductIDChanged() + End If + End Set + End Property + + + Public Property UnitPrice() As Decimal + Get + Return Me._UnitPrice + End Get + Set + If ((Me._UnitPrice = Value) _ + = False) Then + Me.OnUnitPriceChanging(Value) + Me.SendPropertyChanging() + Me._UnitPrice = Value + Me.SendPropertyChanged("UnitPrice") + Me.OnUnitPriceChanged() + End If + End Set + End Property + + + Public Property Quantity() As Short + Get + Return Me._Quantity + End Get + Set + If ((Me._Quantity = Value) _ + = False) Then + Me.OnQuantityChanging(Value) + Me.SendPropertyChanging() + Me._Quantity = Value + Me.SendPropertyChanged("Quantity") + Me.OnQuantityChanged() + End If + End Set + End Property + + + Public Property Discount() As Single + Get + Return Me._Discount + End Get + Set + If ((Me._Discount = Value) _ + = False) Then + Me.OnDiscountChanging(Value) + Me.SendPropertyChanging() + Me._Discount = Value + Me.SendPropertyChanged("Discount") + Me.OnDiscountChanged() + End If + End Set + End Property + + + Public Property [Order]() As [Order] + Get + Return Me._Order.Entity + End Get + Set + Dim previousValue As [Order] = Me._Order.Entity + If (((previousValue Is Value) _ + = False) _ + OrElse (Me._Order.HasLoadedOrAssignedValue = False)) Then + Me.SendPropertyChanging() + + If ((previousValue Is Nothing) _ + = False) Then + Me._Order.Entity = Nothing + previousValue.OrderDetails.Remove(Me) + End If + Me._Order.Entity = Value + If ((Value Is Nothing) _ + = False) Then + Value.OrderDetails.Add(Me) + Me._OrderID = Value.OrderID + Else + Me._OrderID = CType(Nothing, Integer) + End If + Me.SendPropertyChanged("[Order]") + End If + End Set + End Property + + + Public Property Product() As Product + Get + Return Me._Product.Entity + End Get + Set + Dim previousValue As Product = Me._Product.Entity + If (((previousValue Is Value) _ + = False) _ + OrElse (Me._Product.HasLoadedOrAssignedValue = False)) Then + Me.SendPropertyChanging() + + If ((previousValue Is Nothing) _ + = False) Then + Me._Product.Entity = Nothing + previousValue.OrderDetails.Remove(Me) + End If + Me._Product.Entity = Value + If ((Value Is Nothing) _ + = False) Then + Value.OrderDetails.Add(Me) + Me._ProductID = Value.ProductID + Else + Me._ProductID = CType(Nothing, Integer) + End If + Me.SendPropertyChanged("Product") + End If + End Set + End Property + + Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging + + Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged + + Protected Overridable Sub SendPropertyChanging() + If ((Me.PropertyChangingEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) + End If + End Sub + + Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) + If ((Me.PropertyChangedEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) + End If + End Sub +End Class + + +Partial Public Class [Order] + Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + + Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) + + Private _OrderID As Integer + + Private _CustomerID As String + + Private _EmployeeID As System.Nullable(Of Integer) + + Private _OrderDate As System.Nullable(Of Date) + + Private _RequiredDate As System.Nullable(Of Date) + + Private _ShippedDate As System.Nullable(Of Date) + + Private _ShipVia As System.Nullable(Of Integer) + + Private _Freight As System.Nullable(Of Decimal) + + Private _ShipName As String + + Private _ShipAddress As String + + Private _ShipCity As String + + Private _ShipRegion As String + + Private _ShipPostalCode As String + + Private _ShipCountry As String + + Private _OrderDetails As EntitySet(Of OrderDetail) + + ' Private _Customer As EntityRef(Of Customer)*** + + Private _Employee As EntityRef(Of Employee) + + Private _Shipper As EntityRef(Of Shipper) + +#Region "Extensibility Method Definitions" + Partial Private Sub OnLoaded() + End Sub + Partial Private Sub OnValidate() + End Sub + Partial Private Sub OnCreated() + End Sub + Partial Private Sub OnOrderIDChanging(value As Integer) + End Sub + Partial Private Sub OnOrderIDChanged() + End Sub + Partial Private Sub OnCustomerIDChanging(value As String) + End Sub + Partial Private Sub OnCustomerIDChanged() + End Sub + Partial Private Sub OnEmployeeIDChanging(value As System.Nullable(Of Integer)) + End Sub + Partial Private Sub OnEmployeeIDChanged() + End Sub + Partial Private Sub OnOrderDateChanging(value As System.Nullable(Of Date)) + End Sub + Partial Private Sub OnOrderDateChanged() + End Sub + Partial Private Sub OnRequiredDateChanging(value As System.Nullable(Of Date)) + End Sub + Partial Private Sub OnRequiredDateChanged() + End Sub + Partial Private Sub OnShippedDateChanging(value As System.Nullable(Of Date)) + End Sub + Partial Private Sub OnShippedDateChanged() + End Sub + Partial Private Sub OnShipViaChanging(value As System.Nullable(Of Integer)) + End Sub + Partial Private Sub OnShipViaChanged() + End Sub + Partial Private Sub OnFreightChanging(value As System.Nullable(Of Decimal)) + End Sub + Partial Private Sub OnFreightChanged() + End Sub + Partial Private Sub OnShipNameChanging(value As String) + End Sub + Partial Private Sub OnShipNameChanged() + End Sub + Partial Private Sub OnShipAddressChanging(value As String) + End Sub + Partial Private Sub OnShipAddressChanged() + End Sub + Partial Private Sub OnShipCityChanging(value As String) + End Sub + Partial Private Sub OnShipCityChanged() + End Sub + Partial Private Sub OnShipRegionChanging(value As String) + End Sub + Partial Private Sub OnShipRegionChanged() + End Sub + Partial Private Sub OnShipPostalCodeChanging(value As String) + End Sub + Partial Private Sub OnShipPostalCodeChanged() + End Sub + Partial Private Sub OnShipCountryChanging(value As String) + End Sub + Partial Private Sub OnShipCountryChanged() + End Sub +#End Region + + Public Sub New() + MyBase.New + OnCreated() + Me._OrderDetails = New EntitySet(Of OrderDetail)(AddressOf Me.attach_OrderDetails, AddressOf Me.detach_OrderDetails) + Me._Customer = CType(Nothing, EntityRef(Of Customer)) + Me._Employee = CType(Nothing, EntityRef(Of Employee)) + Me._Shipper = CType(Nothing, EntityRef(Of Shipper)) + End Sub + + + Public Property OrderID() As Integer + Get + Return Me._OrderID + End Get + Set + If ((Me._OrderID = Value) _ + = False) Then + Me.OnOrderIDChanging(Value) + Me.SendPropertyChanging() + Me._OrderID = Value + Me.SendPropertyChanged("OrderID") + Me.OnOrderIDChanged() + End If + End Set + End Property + + + Public Property CustomerID() As String + Get + Return Me._CustomerID + End Get + Set + If (String.Equals(Me._CustomerID, Value) = False) Then + If Me._Customer.HasLoadedOrAssignedValue Then + Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException + End If + Me.OnCustomerIDChanging(Value) + Me.SendPropertyChanging() + Me._CustomerID = Value + Me.SendPropertyChanged("CustomerID") + Me.OnCustomerIDChanged() + End If + End Set + End Property + + + Public Property EmployeeID() As System.Nullable(Of Integer) + Get + Return Me._EmployeeID + End Get + Set + If (Me._EmployeeID.Equals(Value) = False) Then + If Me._Employee.HasLoadedOrAssignedValue Then + Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException + End If + Me.OnEmployeeIDChanging(Value) + Me.SendPropertyChanging() + Me._EmployeeID = Value + Me.SendPropertyChanged("EmployeeID") + Me.OnEmployeeIDChanged() + End If + End Set + End Property + + + Public Property OrderDate() As System.Nullable(Of Date) + Get + Return Me._OrderDate + End Get + Set + If (Me._OrderDate.Equals(Value) = False) Then + Me.OnOrderDateChanging(Value) + Me.SendPropertyChanging() + Me._OrderDate = Value + Me.SendPropertyChanged("OrderDate") + Me.OnOrderDateChanged() + End If + End Set + End Property + + + Public Property RequiredDate() As System.Nullable(Of Date) + Get + Return Me._RequiredDate + End Get + Set + If (Me._RequiredDate.Equals(Value) = False) Then + Me.OnRequiredDateChanging(Value) + Me.SendPropertyChanging() + Me._RequiredDate = Value + Me.SendPropertyChanged("RequiredDate") + Me.OnRequiredDateChanged() + End If + End Set + End Property + + + Public Property ShippedDate() As System.Nullable(Of Date) + Get + Return Me._ShippedDate + End Get + Set + If (Me._ShippedDate.Equals(Value) = False) Then + Me.OnShippedDateChanging(Value) + Me.SendPropertyChanging() + Me._ShippedDate = Value + Me.SendPropertyChanged("ShippedDate") + Me.OnShippedDateChanged() + End If + End Set + End Property + + + Public Property ShipVia() As System.Nullable(Of Integer) + Get + Return Me._ShipVia + End Get + Set + If (Me._ShipVia.Equals(Value) = False) Then + If Me._Shipper.HasLoadedOrAssignedValue Then + Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException + End If + Me.OnShipViaChanging(Value) + Me.SendPropertyChanging() + Me._ShipVia = Value + Me.SendPropertyChanged("ShipVia") + Me.OnShipViaChanged() + End If + End Set + End Property + + + Public Property Freight() As System.Nullable(Of Decimal) + Get + Return Me._Freight + End Get + Set + If (Me._Freight.Equals(Value) = False) Then + Me.OnFreightChanging(Value) + Me.SendPropertyChanging() + Me._Freight = Value + Me.SendPropertyChanged("Freight") + Me.OnFreightChanged() + End If + End Set + End Property + + + Public Property ShipName() As String + Get + Return Me._ShipName + End Get + Set + If (String.Equals(Me._ShipName, Value) = False) Then + Me.OnShipNameChanging(Value) + Me.SendPropertyChanging() + Me._ShipName = Value + Me.SendPropertyChanged("ShipName") + Me.OnShipNameChanged() + End If + End Set + End Property + + + Public Property ShipAddress() As String + Get + Return Me._ShipAddress + End Get + Set + If (String.Equals(Me._ShipAddress, Value) = False) Then + Me.OnShipAddressChanging(Value) + Me.SendPropertyChanging() + Me._ShipAddress = Value + Me.SendPropertyChanged("ShipAddress") + Me.OnShipAddressChanged() + End If + End Set + End Property + + + Public Property ShipCity() As String + Get + Return Me._ShipCity + End Get + Set + If (String.Equals(Me._ShipCity, Value) = False) Then + Me.OnShipCityChanging(Value) + Me.SendPropertyChanging() + Me._ShipCity = Value + Me.SendPropertyChanged("ShipCity") + Me.OnShipCityChanged() + End If + End Set + End Property + + + Public Property ShipRegion() As String + Get + Return Me._ShipRegion + End Get + Set + If (String.Equals(Me._ShipRegion, Value) = False) Then + Me.OnShipRegionChanging(Value) + Me.SendPropertyChanging() + Me._ShipRegion = Value + Me.SendPropertyChanged("ShipRegion") + Me.OnShipRegionChanged() + End If + End Set + End Property + + + Public Property ShipPostalCode() As String + Get + Return Me._ShipPostalCode + End Get + Set + If (String.Equals(Me._ShipPostalCode, Value) = False) Then + Me.OnShipPostalCodeChanging(Value) + Me.SendPropertyChanging() + Me._ShipPostalCode = Value + Me.SendPropertyChanged("ShipPostalCode") + Me.OnShipPostalCodeChanged() + End If + End Set + End Property + + + Public Property ShipCountry() As String + Get + Return Me._ShipCountry + End Get + Set + If (String.Equals(Me._ShipCountry, Value) = False) Then + Me.OnShipCountryChanging(Value) + Me.SendPropertyChanging() + Me._ShipCountry = Value + Me.SendPropertyChanged("ShipCountry") + Me.OnShipCountryChanged() + End If + End Set + End Property + + + Public Property OrderDetails() As EntitySet(Of OrderDetail) + Get + Return Me._OrderDetails + End Get + Set + Me._OrderDetails.Assign(Value) + End Set + End Property + + ' + Private _Customer As EntityRef(Of Customer) + + Public Property Customer() As Customer + Get + Return Me._Customer.Entity + End Get + Set(ByVal value As Customer) + Dim previousValue As Customer = Me._Customer.Entity + If (((previousValue Is value) _ + = False) _ + OrElse (Me._Customer.HasLoadedOrAssignedValue = False)) Then + Me.SendPropertyChanging() + If ((previousValue Is Nothing) _ + = False) Then + Me._Customer.Entity = Nothing + previousValue.Orders.Remove(Me) + End If + Me._Customer.Entity = value + If ((value Is Nothing) _ + = False) Then + value.Orders.Add(Me) + Me._CustomerID = value.CustomerID + Else + Me._CustomerID = CType(Nothing, String) + End If + Me.SendPropertyChanged("Customer") + End If + End Set + End Property + ' + + + Public Property Employee() As Employee + Get + Return Me._Employee.Entity + End Get + Set + Dim previousValue As Employee = Me._Employee.Entity + If (((previousValue Is Value) _ + = False) _ + OrElse (Me._Employee.HasLoadedOrAssignedValue = False)) Then + Me.SendPropertyChanging() + + If ((previousValue Is Nothing) _ + = False) Then + Me._Employee.Entity = Nothing + previousValue.Orders.Remove(Me) + End If + Me._Employee.Entity = Value + If ((Value Is Nothing) _ + = False) Then + Value.Orders.Add(Me) + Me._EmployeeID = Value.EmployeeID + Else + Me._EmployeeID = CType(Nothing, Nullable(Of Integer)) + End If + Me.SendPropertyChanged("Employee") + End If + End Set + End Property + + + Public Property Shipper() As Shipper + Get + Return Me._Shipper.Entity + End Get + Set + Dim previousValue As Shipper = Me._Shipper.Entity + If (((previousValue Is Value) _ + = False) _ + OrElse (Me._Shipper.HasLoadedOrAssignedValue = False)) Then + Me.SendPropertyChanging() + + If ((previousValue Is Nothing) _ + = False) Then + Me._Shipper.Entity = Nothing + previousValue.Orders.Remove(Me) + End If + Me._Shipper.Entity = Value + If ((Value Is Nothing) _ + = False) Then + Value.Orders.Add(Me) + Me._ShipVia = Value.ShipperID + Else + Me._ShipVia = CType(Nothing, Nullable(Of Integer)) + End If + Me.SendPropertyChanged("Shipper") + End If + End Set + End Property + + Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging + + Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged + + Protected Overridable Sub SendPropertyChanging() + If ((Me.PropertyChangingEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) + End If + End Sub + + Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) + If ((Me.PropertyChangedEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) + End If + End Sub + + Private Sub attach_OrderDetails(ByVal entity As OrderDetail) + Me.SendPropertyChanging() + entity.[Order] = Me + Me.SendPropertyChanged("OrderDetails") + End Sub + + Private Sub detach_OrderDetails(ByVal entity As OrderDetail) + Me.SendPropertyChanging() + entity.[Order] = Nothing + Me.SendPropertyChanged("OrderDetails") + End Sub +End Class + + +Partial Public Class Product + Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + + Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) + + Private _ProductID As Integer + + Private _ProductName As String + + Private _SupplierID As System.Nullable(Of Integer) + + Private _CategoryID As System.Nullable(Of Integer) + + Private _QuantityPerUnit As String + + Private _UnitPrice As System.Nullable(Of Decimal) + + Private _UnitsInStock As System.Nullable(Of Short) + + Private _UnitsOnOrder As System.Nullable(Of Short) + + Private _ReorderLevel As System.Nullable(Of Short) + + Private _Discontinued As Boolean + + Private _OrderDetails As EntitySet(Of OrderDetail) + + Private _Category As EntityRef(Of Category) + + Private _Supplier As EntityRef(Of Supplier) + +#Region "Extensibility Method Definitions" + Partial Private Sub OnLoaded() + End Sub + Partial Private Sub OnValidate() + End Sub + Partial Private Sub OnCreated() + End Sub + Partial Private Sub OnProductIDChanging(value As Integer) + End Sub + Partial Private Sub OnProductIDChanged() + End Sub + Partial Private Sub OnProductNameChanging(value As String) + End Sub + Partial Private Sub OnProductNameChanged() + End Sub + Partial Private Sub OnSupplierIDChanging(value As System.Nullable(Of Integer)) + End Sub + Partial Private Sub OnSupplierIDChanged() + End Sub + Partial Private Sub OnCategoryIDChanging(value As System.Nullable(Of Integer)) + End Sub + Partial Private Sub OnCategoryIDChanged() + End Sub + Partial Private Sub OnQuantityPerUnitChanging(value As String) + End Sub + Partial Private Sub OnQuantityPerUnitChanged() + End Sub + Partial Private Sub OnUnitPriceChanging(value As System.Nullable(Of Decimal)) + End Sub + Partial Private Sub OnUnitPriceChanged() + End Sub + Partial Private Sub OnUnitsInStockChanging(value As System.Nullable(Of Short)) + End Sub + Partial Private Sub OnUnitsInStockChanged() + End Sub + Partial Private Sub OnUnitsOnOrderChanging(value As System.Nullable(Of Short)) + End Sub + Partial Private Sub OnUnitsOnOrderChanged() + End Sub + Partial Private Sub OnReorderLevelChanging(value As System.Nullable(Of Short)) + End Sub + Partial Private Sub OnReorderLevelChanged() + End Sub + Partial Private Sub OnDiscontinuedChanging(value As Boolean) + End Sub + Partial Private Sub OnDiscontinuedChanged() + End Sub +#End Region + + Public Sub New() + MyBase.New + OnCreated() + Me._OrderDetails = New EntitySet(Of OrderDetail)(AddressOf Me.attach_OrderDetails, AddressOf Me.detach_OrderDetails) + Me._Category = CType(Nothing, EntityRef(Of Category)) + Me._Supplier = CType(Nothing, EntityRef(Of Supplier)) + End Sub + + + Public Property ProductID() As Integer + Get + Return Me._ProductID + End Get + Set + If ((Me._ProductID = Value) _ + = False) Then + Me.OnProductIDChanging(Value) + Me.SendPropertyChanging() + Me._ProductID = Value + Me.SendPropertyChanged("ProductID") + Me.OnProductIDChanged() + End If + End Set + End Property + + + Public Property ProductName() As String + Get + Return Me._ProductName + End Get + Set + If (String.Equals(Me._ProductName, Value) = False) Then + Me.OnProductNameChanging(Value) + Me.SendPropertyChanging() + Me._ProductName = Value + Me.SendPropertyChanged("ProductName") + Me.OnProductNameChanged() + End If + End Set + End Property + + + Public Property SupplierID() As System.Nullable(Of Integer) + Get + Return Me._SupplierID + End Get + Set + If (Me._SupplierID.Equals(Value) = False) Then + If Me._Supplier.HasLoadedOrAssignedValue Then + Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException + End If + Me.OnSupplierIDChanging(Value) + Me.SendPropertyChanging() + Me._SupplierID = Value + Me.SendPropertyChanged("SupplierID") + Me.OnSupplierIDChanged() + End If + End Set + End Property + + + Public Property CategoryID() As System.Nullable(Of Integer) + Get + Return Me._CategoryID + End Get + Set + If (Me._CategoryID.Equals(Value) = False) Then + If Me._Category.HasLoadedOrAssignedValue Then + Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException + End If + Me.OnCategoryIDChanging(Value) + Me.SendPropertyChanging() + Me._CategoryID = Value + Me.SendPropertyChanged("CategoryID") + Me.OnCategoryIDChanged() + End If + End Set + End Property + + + Public Property QuantityPerUnit() As String + Get + Return Me._QuantityPerUnit + End Get + Set + If (String.Equals(Me._QuantityPerUnit, Value) = False) Then + Me.OnQuantityPerUnitChanging(Value) + Me.SendPropertyChanging() + Me._QuantityPerUnit = Value + Me.SendPropertyChanged("QuantityPerUnit") + Me.OnQuantityPerUnitChanged() + End If + End Set + End Property + + + Public Property UnitPrice() As System.Nullable(Of Decimal) + Get + Return Me._UnitPrice + End Get + Set + If (Me._UnitPrice.Equals(Value) = False) Then + Me.OnUnitPriceChanging(Value) + Me.SendPropertyChanging() + Me._UnitPrice = Value + Me.SendPropertyChanged("UnitPrice") + Me.OnUnitPriceChanged() + End If + End Set + End Property + + + Public Property UnitsInStock() As System.Nullable(Of Short) + Get + Return Me._UnitsInStock + End Get + Set + If (Me._UnitsInStock.Equals(Value) = False) Then + Me.OnUnitsInStockChanging(Value) + Me.SendPropertyChanging() + Me._UnitsInStock = Value + Me.SendPropertyChanged("UnitsInStock") + Me.OnUnitsInStockChanged() + End If + End Set + End Property + + + Public Property UnitsOnOrder() As System.Nullable(Of Short) + Get + Return Me._UnitsOnOrder + End Get + Set + If (Me._UnitsOnOrder.Equals(Value) = False) Then + Me.OnUnitsOnOrderChanging(Value) + Me.SendPropertyChanging() + Me._UnitsOnOrder = Value + Me.SendPropertyChanged("UnitsOnOrder") + Me.OnUnitsOnOrderChanged() + End If + End Set + End Property + + + Public Property ReorderLevel() As System.Nullable(Of Short) + Get + Return Me._ReorderLevel + End Get + Set + If (Me._ReorderLevel.Equals(Value) = False) Then + Me.OnReorderLevelChanging(Value) + Me.SendPropertyChanging() + Me._ReorderLevel = Value + Me.SendPropertyChanged("ReorderLevel") + Me.OnReorderLevelChanged() + End If + End Set + End Property + + + Public Property Discontinued() As Boolean + Get + Return Me._Discontinued + End Get + Set + If ((Me._Discontinued = Value) _ + = False) Then + Me.OnDiscontinuedChanging(Value) + Me.SendPropertyChanging() + Me._Discontinued = Value + Me.SendPropertyChanged("Discontinued") + Me.OnDiscontinuedChanged() + End If + End Set + End Property + + + Public Property OrderDetails() As EntitySet(Of OrderDetail) + Get + Return Me._OrderDetails + End Get + Set + Me._OrderDetails.Assign(Value) + End Set + End Property + + + Public Property Category() As Category + Get + Return Me._Category.Entity + End Get + Set + Dim previousValue As Category = Me._Category.Entity + If (((previousValue Is Value) _ + = False) _ + OrElse (Me._Category.HasLoadedOrAssignedValue = False)) Then + Me.SendPropertyChanging() + + If ((previousValue Is Nothing) _ + = False) Then + Me._Category.Entity = Nothing + previousValue.Products.Remove(Me) + End If + Me._Category.Entity = Value + If ((Value Is Nothing) _ + = False) Then + Value.Products.Add(Me) + Me._CategoryID = Value.CategoryID + Else + Me._CategoryID = CType(Nothing, Nullable(Of Integer)) + End If + Me.SendPropertyChanged("Category") + End If + End Set + End Property + + + Public Property Supplier() As Supplier + Get + Return Me._Supplier.Entity + End Get + Set + Dim previousValue As Supplier = Me._Supplier.Entity + If (((previousValue Is Value) _ + = False) _ + OrElse (Me._Supplier.HasLoadedOrAssignedValue = False)) Then + Me.SendPropertyChanging() + + If ((previousValue Is Nothing) _ + = False) Then + Me._Supplier.Entity = Nothing + previousValue.Products.Remove(Me) + End If + Me._Supplier.Entity = Value + If ((Value Is Nothing) _ + = False) Then + Value.Products.Add(Me) + Me._SupplierID = Value.SupplierID + Else + Me._SupplierID = CType(Nothing, Nullable(Of Integer)) + End If + Me.SendPropertyChanged("Supplier") + End If + End Set + End Property + + Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging + + Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged + + Protected Overridable Sub SendPropertyChanging() + If ((Me.PropertyChangingEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) + End If + End Sub + + Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) + If ((Me.PropertyChangedEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) + End If + End Sub + + Private Sub attach_OrderDetails(ByVal entity As OrderDetail) + Me.SendPropertyChanging() + entity.Product = Me + Me.SendPropertyChanged("OrderDetails") + End Sub + + Private Sub detach_OrderDetails(ByVal entity As OrderDetail) + Me.SendPropertyChanging() + entity.Product = Nothing + Me.SendPropertyChanged("OrderDetails") + End Sub +End Class + + +Partial Public Class Region + Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + + Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) + + Private _RegionID As Integer + + Private _RegionDescription As String + + Private _Territories As EntitySet(Of Territory) + +#Region "Extensibility Method Definitions" + Partial Private Sub OnLoaded() + End Sub + Partial Private Sub OnValidate() + End Sub + Partial Private Sub OnCreated() + End Sub + Partial Private Sub OnRegionIDChanging(value As Integer) + End Sub + Partial Private Sub OnRegionIDChanged() + End Sub + Partial Private Sub OnRegionDescriptionChanging(value As String) + End Sub + Partial Private Sub OnRegionDescriptionChanged() + End Sub +#End Region + + Public Sub New() + MyBase.New + OnCreated() + Me._Territories = New EntitySet(Of Territory)(AddressOf Me.attach_Territories, AddressOf Me.detach_Territories) + End Sub + + + Public Property RegionID() As Integer + Get + Return Me._RegionID + End Get + Set + If ((Me._RegionID = Value) _ + = False) Then + Me.OnRegionIDChanging(Value) + Me.SendPropertyChanging() + Me._RegionID = Value + Me.SendPropertyChanged("RegionID") + Me.OnRegionIDChanged() + End If + End Set + End Property + + + Public Property RegionDescription() As String + Get + Return Me._RegionDescription + End Get + Set + If (String.Equals(Me._RegionDescription, Value) = False) Then + Me.OnRegionDescriptionChanging(Value) + Me.SendPropertyChanging() + Me._RegionDescription = Value + Me.SendPropertyChanged("RegionDescription") + Me.OnRegionDescriptionChanged() + End If + End Set + End Property + + + Public Property Territories() As EntitySet(Of Territory) + Get + Return Me._Territories + End Get + Set + Me._Territories.Assign(Value) + End Set + End Property + + Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging + + Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged + + Protected Overridable Sub SendPropertyChanging() + If ((Me.PropertyChangingEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) + End If + End Sub + + Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) + If ((Me.PropertyChangedEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) + End If + End Sub + + Private Sub attach_Territories(ByVal entity As Territory) + Me.SendPropertyChanging() + entity.Region = Me + Me.SendPropertyChanged("Territories") + End Sub + + Private Sub detach_Territories(ByVal entity As Territory) + Me.SendPropertyChanging() + entity.Region = Nothing + Me.SendPropertyChanged("Territories") + End Sub +End Class + + +Partial Public Class Shipper + Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + + Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) + + Private _ShipperID As Integer + + Private _CompanyName As String + + Private _Phone As String + + Private _Orders As EntitySet(Of [Order]) + +#Region "Extensibility Method Definitions" + Partial Private Sub OnLoaded() + End Sub + Partial Private Sub OnValidate() + End Sub + Partial Private Sub OnCreated() + End Sub + Partial Private Sub OnShipperIDChanging(value As Integer) + End Sub + Partial Private Sub OnShipperIDChanged() + End Sub + Partial Private Sub OnCompanyNameChanging(value As String) + End Sub + Partial Private Sub OnCompanyNameChanged() + End Sub + Partial Private Sub OnPhoneChanging(value As String) + End Sub + Partial Private Sub OnPhoneChanged() + End Sub +#End Region + + Public Sub New() + MyBase.New + OnCreated() + Me._Orders = New EntitySet(Of [Order])(AddressOf Me.attach_Orders, AddressOf Me.detach_Orders) + End Sub + + + Public Property ShipperID() As Integer + Get + Return Me._ShipperID + End Get + Set + If ((Me._ShipperID = Value) _ + = False) Then + Me.OnShipperIDChanging(Value) + Me.SendPropertyChanging() + Me._ShipperID = Value + Me.SendPropertyChanged("ShipperID") + Me.OnShipperIDChanged() + End If + End Set + End Property + + + Public Property CompanyName() As String + Get + Return Me._CompanyName + End Get + Set + If (String.Equals(Me._CompanyName, Value) = False) Then + Me.OnCompanyNameChanging(Value) + Me.SendPropertyChanging() + Me._CompanyName = Value + Me.SendPropertyChanged("CompanyName") + Me.OnCompanyNameChanged() + End If + End Set + End Property + + + Public Property Phone() As String + Get + Return Me._Phone + End Get + Set + If (String.Equals(Me._Phone, Value) = False) Then + Me.OnPhoneChanging(Value) + Me.SendPropertyChanging() + Me._Phone = Value + Me.SendPropertyChanged("Phone") + Me.OnPhoneChanged() + End If + End Set + End Property + + + Public Property Orders() As EntitySet(Of [Order]) + Get + Return Me._Orders + End Get + Set + Me._Orders.Assign(Value) + End Set + End Property + + Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging + + Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged + + Protected Overridable Sub SendPropertyChanging() + If ((Me.PropertyChangingEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) + End If + End Sub + + Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) + If ((Me.PropertyChangedEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) + End If + End Sub + + Private Sub attach_Orders(ByVal entity As [Order]) + Me.SendPropertyChanging() + entity.Shipper = Me + Me.SendPropertyChanged("Orders") + End Sub + + Private Sub detach_Orders(ByVal entity As [Order]) + Me.SendPropertyChanging() + entity.Shipper = Nothing + Me.SendPropertyChanged("Orders") + End Sub +End Class + + +Partial Public Class Supplier + Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + + Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) + + Private _SupplierID As Integer + + Private _CompanyName As String + + Private _ContactName As String + + Private _ContactTitle As String + + Private _Address As String + + Private _City As String + + Private _Region As String + + Private _PostalCode As String + + Private _Country As String + + Private _Phone As String + + Private _Fax As String + + Private _HomePage As String + + Private _Products As EntitySet(Of Product) + +#Region "Extensibility Method Definitions" + Partial Private Sub OnLoaded() + End Sub + Partial Private Sub OnValidate() + End Sub + Partial Private Sub OnCreated() + End Sub + Partial Private Sub OnSupplierIDChanging(value As Integer) + End Sub + Partial Private Sub OnSupplierIDChanged() + End Sub + Partial Private Sub OnCompanyNameChanging(value As String) + End Sub + Partial Private Sub OnCompanyNameChanged() + End Sub + Partial Private Sub OnContactNameChanging(value As String) + End Sub + Partial Private Sub OnContactNameChanged() + End Sub + Partial Private Sub OnContactTitleChanging(value As String) + End Sub + Partial Private Sub OnContactTitleChanged() + End Sub + Partial Private Sub OnAddressChanging(value As String) + End Sub + Partial Private Sub OnAddressChanged() + End Sub + Partial Private Sub OnCityChanging(value As String) + End Sub + Partial Private Sub OnCityChanged() + End Sub + Partial Private Sub OnRegionChanging(value As String) + End Sub + Partial Private Sub OnRegionChanged() + End Sub + Partial Private Sub OnPostalCodeChanging(value As String) + End Sub + Partial Private Sub OnPostalCodeChanged() + End Sub + Partial Private Sub OnCountryChanging(value As String) + End Sub + Partial Private Sub OnCountryChanged() + End Sub + Partial Private Sub OnPhoneChanging(value As String) + End Sub + Partial Private Sub OnPhoneChanged() + End Sub + Partial Private Sub OnFaxChanging(value As String) + End Sub + Partial Private Sub OnFaxChanged() + End Sub + Partial Private Sub OnHomePageChanging(value As String) + End Sub + Partial Private Sub OnHomePageChanged() + End Sub +#End Region + + Public Sub New() + MyBase.New + OnCreated() + Me._Products = New EntitySet(Of Product)(AddressOf Me.attach_Products, AddressOf Me.detach_Products) + End Sub + + + Public Property SupplierID() As Integer + Get + Return Me._SupplierID + End Get + Set + If ((Me._SupplierID = Value) _ + = False) Then + Me.OnSupplierIDChanging(Value) + Me.SendPropertyChanging() + Me._SupplierID = Value + Me.SendPropertyChanged("SupplierID") + Me.OnSupplierIDChanged() + End If + End Set + End Property + + + Public Property CompanyName() As String + Get + Return Me._CompanyName + End Get + Set + If (String.Equals(Me._CompanyName, Value) = False) Then + Me.OnCompanyNameChanging(Value) + Me.SendPropertyChanging() + Me._CompanyName = Value + Me.SendPropertyChanged("CompanyName") + Me.OnCompanyNameChanged() + End If + End Set + End Property + + + Public Property ContactName() As String + Get + Return Me._ContactName + End Get + Set + If (String.Equals(Me._ContactName, Value) = False) Then + Me.OnContactNameChanging(Value) + Me.SendPropertyChanging() + Me._ContactName = Value + Me.SendPropertyChanged("ContactName") + Me.OnContactNameChanged() + End If + End Set + End Property + + + Public Property ContactTitle() As String + Get + Return Me._ContactTitle + End Get + Set + If (String.Equals(Me._ContactTitle, Value) = False) Then + Me.OnContactTitleChanging(Value) + Me.SendPropertyChanging() + Me._ContactTitle = Value + Me.SendPropertyChanged("ContactTitle") + Me.OnContactTitleChanged() + End If + End Set + End Property + + + Public Property Address() As String + Get + Return Me._Address + End Get + Set + If (String.Equals(Me._Address, Value) = False) Then + Me.OnAddressChanging(Value) + Me.SendPropertyChanging() + Me._Address = Value + Me.SendPropertyChanged("Address") + Me.OnAddressChanged() + End If + End Set + End Property + + + Public Property City() As String + Get + Return Me._City + End Get + Set + If (String.Equals(Me._City, Value) = False) Then + Me.OnCityChanging(Value) + Me.SendPropertyChanging() + Me._City = Value + Me.SendPropertyChanged("City") + Me.OnCityChanged() + End If + End Set + End Property + + + Public Property Region() As String + Get + Return Me._Region + End Get + Set + If (String.Equals(Me._Region, Value) = False) Then + Me.OnRegionChanging(Value) + Me.SendPropertyChanging() + Me._Region = Value + Me.SendPropertyChanged("Region") + Me.OnRegionChanged() + End If + End Set + End Property + + + Public Property PostalCode() As String + Get + Return Me._PostalCode + End Get + Set + If (String.Equals(Me._PostalCode, Value) = False) Then + Me.OnPostalCodeChanging(Value) + Me.SendPropertyChanging() + Me._PostalCode = Value + Me.SendPropertyChanged("PostalCode") + Me.OnPostalCodeChanged() + End If + End Set + End Property + + + Public Property Country() As String + Get + Return Me._Country + End Get + Set + If (String.Equals(Me._Country, Value) = False) Then + Me.OnCountryChanging(Value) + Me.SendPropertyChanging() + Me._Country = Value + Me.SendPropertyChanged("Country") + Me.OnCountryChanged() + End If + End Set + End Property + + + Public Property Phone() As String + Get + Return Me._Phone + End Get + Set + If (String.Equals(Me._Phone, Value) = False) Then + Me.OnPhoneChanging(Value) + Me.SendPropertyChanging() + Me._Phone = Value + Me.SendPropertyChanged("Phone") + Me.OnPhoneChanged() + End If + End Set + End Property + + + Public Property Fax() As String + Get + Return Me._Fax + End Get + Set + If (String.Equals(Me._Fax, Value) = False) Then + Me.OnFaxChanging(Value) + Me.SendPropertyChanging() + Me._Fax = Value + Me.SendPropertyChanged("Fax") + Me.OnFaxChanged() + End If + End Set + End Property + + + Public Property HomePage() As String + Get + Return Me._HomePage + End Get + Set + If (String.Equals(Me._HomePage, Value) = False) Then + Me.OnHomePageChanging(Value) + Me.SendPropertyChanging() + Me._HomePage = Value + Me.SendPropertyChanged("HomePage") + Me.OnHomePageChanged() + End If + End Set + End Property + + + Public Property Products() As EntitySet(Of Product) + Get + Return Me._Products + End Get + Set + Me._Products.Assign(Value) + End Set + End Property + + Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging + + Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged + + Protected Overridable Sub SendPropertyChanging() + If ((Me.PropertyChangingEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) + End If + End Sub + + Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) + If ((Me.PropertyChangedEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) + End If + End Sub + + Private Sub attach_Products(ByVal entity As Product) + Me.SendPropertyChanging() + entity.Supplier = Me + Me.SendPropertyChanged("Products") + End Sub + + Private Sub detach_Products(ByVal entity As Product) + Me.SendPropertyChanging() + entity.Supplier = Nothing + Me.SendPropertyChanged("Products") + End Sub +End Class + + +Partial Public Class Territory + Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + + Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) + + Private _TerritoryID As String + + Private _TerritoryDescription As String + + Private _RegionID As Integer + + Private _EmployeeTerritories As EntitySet(Of EmployeeTerritory) + + Private _Region As EntityRef(Of Region) + +#Region "Extensibility Method Definitions" + Partial Private Sub OnLoaded() + End Sub + Partial Private Sub OnValidate() + End Sub + Partial Private Sub OnCreated() + End Sub + Partial Private Sub OnTerritoryIDChanging(value As String) + End Sub + Partial Private Sub OnTerritoryIDChanged() + End Sub + Partial Private Sub OnTerritoryDescriptionChanging(value As String) + End Sub + Partial Private Sub OnTerritoryDescriptionChanged() + End Sub + Partial Private Sub OnRegionIDChanging(value As Integer) + End Sub + Partial Private Sub OnRegionIDChanged() + End Sub +#End Region + + Public Sub New() + MyBase.New + OnCreated() + Me._EmployeeTerritories = New EntitySet(Of EmployeeTerritory)(AddressOf Me.attach_EmployeeTerritories, AddressOf Me.detach_EmployeeTerritories) + Me._Region = CType(Nothing, EntityRef(Of Region)) + End Sub + + + Public Property TerritoryID() As String + Get + Return Me._TerritoryID + End Get + Set + If (String.Equals(Me._TerritoryID, Value) = False) Then + Me.OnTerritoryIDChanging(Value) + Me.SendPropertyChanging() + Me._TerritoryID = Value + Me.SendPropertyChanged("TerritoryID") + Me.OnTerritoryIDChanged() + End If + End Set + End Property + + + Public Property TerritoryDescription() As String + Get + Return Me._TerritoryDescription + End Get + Set + If (String.Equals(Me._TerritoryDescription, Value) = False) Then + Me.OnTerritoryDescriptionChanging(Value) + Me.SendPropertyChanging() + Me._TerritoryDescription = Value + Me.SendPropertyChanged("TerritoryDescription") + Me.OnTerritoryDescriptionChanged() + End If + End Set + End Property + + + Public Property RegionID() As Integer + Get + Return Me._RegionID + End Get + Set + If ((Me._RegionID = Value) _ + = False) Then + If Me._Region.HasLoadedOrAssignedValue Then + Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException + End If + Me.OnRegionIDChanging(Value) + Me.SendPropertyChanging() + Me._RegionID = Value + Me.SendPropertyChanged("RegionID") + Me.OnRegionIDChanged() + End If + End Set + End Property + + + Public Property EmployeeTerritories() As EntitySet(Of EmployeeTerritory) + Get + Return Me._EmployeeTerritories + End Get + Set + Me._EmployeeTerritories.Assign(Value) + End Set + End Property + + + Public Property Region() As Region + Get + Return Me._Region.Entity + End Get + Set + Dim previousValue As Region = Me._Region.Entity + If (((previousValue Is Value) _ + = False) _ + OrElse (Me._Region.HasLoadedOrAssignedValue = False)) Then + Me.SendPropertyChanging() + + If ((previousValue Is Nothing) _ + = False) Then + Me._Region.Entity = Nothing + previousValue.Territories.Remove(Me) + End If + Me._Region.Entity = Value + If ((Value Is Nothing) _ + = False) Then + Value.Territories.Add(Me) + Me._RegionID = Value.RegionID + Else + Me._RegionID = CType(Nothing, Integer) + End If + Me.SendPropertyChanged("Region") + End If + End Set + End Property + + Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging + + Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged + + Protected Overridable Sub SendPropertyChanging() + If ((Me.PropertyChangingEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) + End If + End Sub + + Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) + If ((Me.PropertyChangedEvent Is Nothing) _ + = False) Then + RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) + End If + End Sub + + Private Sub attach_EmployeeTerritories(ByVal entity As EmployeeTerritory) + Me.SendPropertyChanging() + entity.Territory = Me + Me.SendPropertyChanged("EmployeeTerritories") + End Sub + + Private Sub detach_EmployeeTerritories(ByVal entity As EmployeeTerritory) + Me.SendPropertyChanging() + entity.Territory = Nothing + Me.SendPropertyChanged("EmployeeTerritories") + End Sub +End Class + +Partial Public Class CustOrderHistResult + + Private _ProductName As String + + Private _Total As System.Nullable(Of Integer) + + Public Sub New() + MyBase.New + End Sub + + + Public Property ProductName() As String + Get + Return Me._ProductName + End Get + Set + If (String.Equals(Me._ProductName, Value) = False) Then + Me._ProductName = Value + End If + End Set + End Property + + + Public Property Total() As System.Nullable(Of Integer) + Get + Return Me._Total + End Get + Set + If (Me._Total.Equals(Value) = False) Then + Me._Total = Value + End If + End Set + End Property +End Class + +Partial Public Class CustOrdersDetailResult + + Private _ProductName As String + + Private _UnitPrice As System.Nullable(Of Decimal) + + Private _Quantity As System.Nullable(Of Short) + + Private _Discount As System.Nullable(Of Integer) + + Private _ExtendedPrice As System.Nullable(Of Decimal) + + Public Sub New() + MyBase.New + End Sub + + + Public Property ProductName() As String + Get + Return Me._ProductName + End Get + Set + If (String.Equals(Me._ProductName, Value) = False) Then + Me._ProductName = Value + End If + End Set + End Property + + + Public Property UnitPrice() As System.Nullable(Of Decimal) + Get + Return Me._UnitPrice + End Get + Set + If (Me._UnitPrice.Equals(Value) = False) Then + Me._UnitPrice = Value + End If + End Set + End Property + + + Public Property Quantity() As System.Nullable(Of Short) + Get + Return Me._Quantity + End Get + Set + If (Me._Quantity.Equals(Value) = False) Then + Me._Quantity = Value + End If + End Set + End Property + + + Public Property Discount() As System.Nullable(Of Integer) + Get + Return Me._Discount + End Get + Set + If (Me._Discount.Equals(Value) = False) Then + Me._Discount = Value + End If + End Set + End Property + + + Public Property ExtendedPrice() As System.Nullable(Of Decimal) + Get + Return Me._ExtendedPrice + End Get + Set + If (Me._ExtendedPrice.Equals(Value) = False) Then + Me._ExtendedPrice = Value + End If + End Set + End Property +End Class + +Partial Public Class CustOrdersOrdersResult + + Private _OrderID As System.Nullable(Of Integer) + + Private _OrderDate As System.Nullable(Of Date) + + Private _RequiredDate As System.Nullable(Of Date) + + Private _ShippedDate As System.Nullable(Of Date) + + Public Sub New() + MyBase.New + End Sub + + + Public Property OrderID() As System.Nullable(Of Integer) + Get + Return Me._OrderID + End Get + Set + If (Me._OrderID.Equals(Value) = False) Then + Me._OrderID = Value + End If + End Set + End Property + + + Public Property OrderDate() As System.Nullable(Of Date) + Get + Return Me._OrderDate + End Get + Set + If (Me._OrderDate.Equals(Value) = False) Then + Me._OrderDate = Value + End If + End Set + End Property + + + Public Property RequiredDate() As System.Nullable(Of Date) + Get + Return Me._RequiredDate + End Get + Set + If (Me._RequiredDate.Equals(Value) = False) Then + Me._RequiredDate = Value + End If + End Set + End Property + + + Public Property ShippedDate() As System.Nullable(Of Date) + Get + Return Me._ShippedDate + End Get + Set + If (Me._ShippedDate.Equals(Value) = False) Then + Me._ShippedDate = Value + End If + End Set + End Property +End Class + +Partial Public Class EmployeeSalesByCountryResult + + Private _Country As String + + Private _LastName As String + + Private _FirstName As String + + Private _ShippedDate As System.Nullable(Of Date) + + Private _OrderID As System.Nullable(Of Integer) + + Private _SaleAmount As System.Nullable(Of Decimal) + + Public Sub New() + MyBase.New + End Sub + + + Public Property Country() As String + Get + Return Me._Country + End Get + Set + If (String.Equals(Me._Country, Value) = False) Then + Me._Country = Value + End If + End Set + End Property + + + Public Property LastName() As String + Get + Return Me._LastName + End Get + Set + If (String.Equals(Me._LastName, Value) = False) Then + Me._LastName = Value + End If + End Set + End Property + + + Public Property FirstName() As String + Get + Return Me._FirstName + End Get + Set + If (String.Equals(Me._FirstName, Value) = False) Then + Me._FirstName = Value + End If + End Set + End Property + + + Public Property ShippedDate() As System.Nullable(Of Date) + Get + Return Me._ShippedDate + End Get + Set + If (Me._ShippedDate.Equals(Value) = False) Then + Me._ShippedDate = Value + End If + End Set + End Property + + + Public Property OrderID() As System.Nullable(Of Integer) + Get + Return Me._OrderID + End Get + Set + If (Me._OrderID.Equals(Value) = False) Then + Me._OrderID = Value + End If + End Set + End Property + + + Public Property SaleAmount() As System.Nullable(Of Decimal) + Get + Return Me._SaleAmount + End Get + Set + If (Me._SaleAmount.Equals(Value) = False) Then + Me._SaleAmount = Value + End If + End Set + End Property +End Class + +Partial Public Class SalesByYearResult + + Private _ShippedDate As System.Nullable(Of Date) + + Private _OrderID As System.Nullable(Of Integer) + + Private _Subtotal As System.Nullable(Of Decimal) + + Private _Year As String + + Public Sub New() + MyBase.New + End Sub + + + Public Property ShippedDate() As System.Nullable(Of Date) + Get + Return Me._ShippedDate + End Get + Set + If (Me._ShippedDate.Equals(Value) = False) Then + Me._ShippedDate = Value + End If + End Set + End Property + + + Public Property OrderID() As System.Nullable(Of Integer) + Get + Return Me._OrderID + End Get + Set + If (Me._OrderID.Equals(Value) = False) Then + Me._OrderID = Value + End If + End Set + End Property + + + Public Property Subtotal() As System.Nullable(Of Decimal) + Get + Return Me._Subtotal + End Get + Set + If (Me._Subtotal.Equals(Value) = False) Then + Me._Subtotal = Value + End If + End Set + End Property + + + Public Property Year() As String + Get + Return Me._Year + End Get + Set + If (String.Equals(Me._Year, Value) = False) Then + Me._Year = Value + End If + End Set + End Property +End Class + +Partial Public Class SalesByCategoryResult + + Private _ProductName As String + + Private _TotalPurchase As System.Nullable(Of Decimal) + + Public Sub New() + MyBase.New + End Sub + + + Public Property ProductName() As String + Get + Return Me._ProductName + End Get + Set + If (String.Equals(Me._ProductName, Value) = False) Then + Me._ProductName = Value + End If + End Set + End Property + + + Public Property TotalPurchase() As System.Nullable(Of Decimal) + Get + Return Me._TotalPurchase + End Get + Set + If (Me._TotalPurchase.Equals(Value) = False) Then + Me._TotalPurchase = Value + End If + End Set + End Property +End Class + +Partial Public Class TenMostExpensiveProductsResult + + Private _TenMostExpensiveProducts As String + + Private _UnitPrice As System.Nullable(Of Decimal) + + Public Sub New() + MyBase.New + End Sub + + + Public Property TenMostExpensiveProducts() As String + Get + Return Me._TenMostExpensiveProducts + End Get + Set + If (String.Equals(Me._TenMostExpensiveProducts, Value) = False) Then + Me._TenMostExpensiveProducts = Value + End If + End Set + End Property + + + Public Property UnitPrice() As System.Nullable(Of Decimal) + Get + Return Me._UnitPrice + End Get + Set + If (Me._UnitPrice.Equals(Value) = False) Then + Me._UnitPrice = Value + End If + End Set + End Property +End Class diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/Module1.vb b/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/Module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/Module1.vb rename to snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/Module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/northwind.vb b/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/northwind.vb rename to snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.vb diff --git a/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/vb-ColumnAttributes.vbproj b/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/vb-ColumnAttributes.vbproj new file mode 100644 index 00000000000..0dbc0d4d611 --- /dev/null +++ b/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/vb-ColumnAttributes.vbproj @@ -0,0 +1,12 @@ + + + + Library + net481 + + + + + + + diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.InheritanceMappingAttribute/vb/Module1.vb b/snippets/visualbasic/System.Data.Linq.Mapping/InheritanceMappingAttribute/Overview/Module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.InheritanceMappingAttribute/vb/Module1.vb rename to snippets/visualbasic/System.Data.Linq.Mapping/InheritanceMappingAttribute/Overview/Module1.vb diff --git a/snippets/visualbasic/System.Data.Linq.Mapping/InheritanceMappingAttribute/Overview/inherit.vbproj b/snippets/visualbasic/System.Data.Linq.Mapping/InheritanceMappingAttribute/Overview/inherit.vbproj new file mode 100644 index 00000000000..0dbc0d4d611 --- /dev/null +++ b/snippets/visualbasic/System.Data.Linq.Mapping/InheritanceMappingAttribute/Overview/inherit.vbproj @@ -0,0 +1,12 @@ + + + + Library + net481 + + + + + + + diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.ChangeAction/vb/Module1.vb b/snippets/visualbasic/System.Data.Linq/ChangeAction/Overview/Module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.ChangeAction/vb/Module1.vb rename to snippets/visualbasic/System.Data.Linq/ChangeAction/Overview/Module1.vb diff --git a/snippets/visualbasic/System.Data.Linq/ChangeAction/Overview/change_action.vbproj b/snippets/visualbasic/System.Data.Linq/ChangeAction/Overview/change_action.vbproj new file mode 100644 index 00000000000..0dbc0d4d611 --- /dev/null +++ b/snippets/visualbasic/System.Data.Linq/ChangeAction/Overview/change_action.vbproj @@ -0,0 +1,12 @@ + + + + Library + net481 + + + + + + + diff --git a/snippets/visualbasic/System.Data.Linq/DataContext/CreateDatabase/DataContext.vbproj b/snippets/visualbasic/System.Data.Linq/DataContext/CreateDatabase/DataContext.vbproj new file mode 100644 index 00000000000..0dbc0d4d611 --- /dev/null +++ b/snippets/visualbasic/System.Data.Linq/DataContext/CreateDatabase/DataContext.vbproj @@ -0,0 +1,12 @@ + + + + Library + net481 + + + + + + + diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.DataContext/vb/Module1.vb b/snippets/visualbasic/System.Data.Linq/DataContext/CreateDatabase/Module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.DataContext/vb/Module1.vb rename to snippets/visualbasic/System.Data.Linq/DataContext/CreateDatabase/Module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.DataContext/vb/northwind.vb b/snippets/visualbasic/System.Data.Linq/DataContext/CreateDatabase/northwind.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.DataContext/vb/northwind.vb rename to snippets/visualbasic/System.Data.Linq/DataContext/CreateDatabase/northwind.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/app.config b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/app.config similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/app.config rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/app.config diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/application.xaml b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/application.xaml similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/application.xaml rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/application.xaml diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/application.xaml.vb b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/application.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/application.xaml.vb rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/application.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/clientcredentials.xaml b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/clientcredentials.xaml similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/clientcredentials.xaml rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/clientcredentials.xaml diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/clientcredentials.xaml.vb b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/clientcredentials.xaml.vb similarity index 97% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/clientcredentials.xaml.vb rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/clientcredentials.xaml.vb index 9198ae84454..7ff31be01eb 100644 --- a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/clientcredentials.xaml.vb +++ b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/clientcredentials.xaml.vb @@ -1,10 +1,10 @@ ' -Imports NorthwindClient.Northwind Imports System.Data.Services.Client -Imports System.Windows.Data Imports System.Net -Imports System.Windows Imports System.Security +Imports System.Windows +Imports System.Windows.Data +Imports northwindclientvb.Northwind Partial Public Class ClientCredentials Inherits Window @@ -81,4 +81,4 @@ Partial Public Class ClientCredentials End If End Sub End Class -' \ No newline at end of file +' diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/clientcredentialslogin.xaml b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/clientcredentialslogin.xaml similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/clientcredentialslogin.xaml rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/clientcredentialslogin.xaml diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/clientcredentialslogin.xaml.vb b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/clientcredentialslogin.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/clientcredentialslogin.xaml.vb rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/clientcredentialslogin.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customeraddress.vb b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customeraddress.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customeraddress.vb rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customeraddress.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorders.designer.vb b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorders.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorders.designer.vb rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorders.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorders.resx b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorders.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorders.resx rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorders.resx diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorders.vb b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorders.vb similarity index 87% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorders.vb rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorders.vb index f239853a42a..ebfcfebba20 100644 --- a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorders.vb +++ b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorders.vb @@ -1,14 +1,7 @@ -Imports System.Collections.Generic -Imports System.ComponentModel -Imports System.Data -Imports System.Drawing -Imports System.Linq -Imports System.Text -Imports System.Windows.Forms - -' +' Imports System.Data.Services.Client -Imports NorthwindClient.Northwind +Imports System.Windows.Forms +Imports northwindclientvb.Northwind ' @@ -31,9 +24,9 @@ Partial Public Class CustomerOrders context = New NorthwindEntities(New Uri(svcUri)) Try ' Create a LINQ query that returns customers with related orders. - Dim customerQuery = From cust In context.Customers.Expand("Orders") _ - Where cust.Country = customerCountry _ - Select cust + Dim customerQuery = From cust In context.Customers.Expand("Orders") + Where cust.Country = customerCountry + Select cust ' ' Create a new collection for binding based on the LINQ query. diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorders2.designer.vb b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorders2.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorders2.designer.vb rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorders2.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorders2.resx b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorders2.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorders2.resx rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorders2.resx diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorders2.vb b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorders2.vb similarity index 86% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorders2.vb rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorders2.vb index c2aa52155d3..3d5c7bce373 100644 --- a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorders2.vb +++ b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorders2.vb @@ -1,13 +1,6 @@ -Imports System.Collections.Generic -Imports System.ComponentModel -Imports System.Data -Imports System.Drawing -Imports System.Linq -Imports System.Text +Imports System.Data.Services.Client Imports System.Windows.Forms - -Imports System.Data.Services.Client -Imports NorthwindClient.Northwind +Imports northwindclientvb.Northwind Partial Public Class CustomerOrders2 Inherits Form diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerordersasync.xaml b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerordersasync.xaml similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerordersasync.xaml rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerordersasync.xaml diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerordersasync.xaml.vb b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerordersasync.xaml.vb similarity index 90% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerordersasync.xaml.vb rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerordersasync.xaml.vb index 4df45728044..56c1e362b61 100644 --- a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerordersasync.xaml.vb +++ b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerordersasync.xaml.vb @@ -1,19 +1,8 @@ ' -Imports System.Collections.Generic -Imports System.Linq -Imports System.Text -Imports System.Windows -Imports System.Windows.Controls -Imports System.Windows.Data -Imports System.Windows.Documents -Imports System.Windows.Input -Imports System.Windows.Media -Imports System.Windows.Media.Imaging -Imports System.Windows.Navigation -Imports System.Windows.Shapes -Imports NorthwindClient.Northwind Imports System.Data.Services.Client +Imports System.Windows Imports System.Windows.Threading +Imports northwindclientvb.Northwind '/ '/ Interaction logic for OrderItems.xaml @@ -107,4 +96,4 @@ Partial Public Class CustomerOrdersAsync End Try End Sub End Class -' \ No newline at end of file +' diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderscustom.xaml b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderscustom.xaml similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderscustom.xaml rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderscustom.xaml diff --git a/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderscustom.xaml.vb b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderscustom.xaml.vb new file mode 100644 index 00000000000..0443459cc16 --- /dev/null +++ b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderscustom.xaml.vb @@ -0,0 +1,113 @@ +' +Imports System.Collections.Specialized +Imports System.Data.Services.Client +Imports System.Windows +Imports northwindclientvb.Northwind + +Partial Public Class CustomerOrdersCustom + Inherits Window + Private context As NorthwindEntities + 'Private trackedCustomers As DataServiceCollection(Of Customer) + 'Private Sub Window_Loaded(ByVal sender As Object, ByVal e As RoutedEventArgs) + ' Try + ' ' Initialize the context for the data service. + ' context = New NorthwindEntities(New Uri(SvcUri)) + + ' ' + ' ' Create a LINQ query that returns customers with related orders. + ' Dim customerQuery = From cust In context.Customers.Expand("Orders") + ' Where cust.Country = CustomerCountry + ' Select cust + + ' ' Create a new collection for binding based on the LINQ query. + ' trackedCustomers = New DataServiceCollection(Of Customer)(customerQuery, + ' TrackingMode.AutoChangeTracking, "Customers", + ' AddressOf OnMyPropertyChanged, AddressOf OnMyCollectionChanged) + + ' ' Bind the root StackPanel element to the collection + ' ' related object binding paths are defined in the XAML. + ' Me.LayoutRoot.DataContext = trackedCustomers + ' ' + ' Catch ex As DataServiceQueryException + ' MessageBox.Show("The query could not be completed:\n" + ex.ToString()) + ' Catch ex As InvalidOperationException + ' MessageBox.Show("The following error occurred:\n" + ex.ToString()) + ' End Try + 'End Sub + + ' + ' Method that is called when the CollectionChanged event is handled. + 'Private Function OnMyCollectionChanged( _ + ' ByVal entityCollectionChangedinfo As EntityCollectionChangedParams) As Boolean + ' If entityCollectionChangedinfo.Action = _ + ' NotifyCollectionChangedAction.Remove Then + + ' ' Delete the related items when an order is deleted. + ' If entityCollectionChangedinfo.TargetEntity.GetType() Is GetType(Order) Then + + ' ' Get the context and object from the supplied parameter. + ' Dim context = entityCollectionChangedinfo.Context + ' Dim deletedOrder As Order = _ + ' CType(entityCollectionChangedinfo.TargetEntity, Order) + + ' If deletedOrder.Order_Details.Count = 0 Then + ' ' Load the related OrderDetails. + ' context.LoadProperty(deletedOrder, "Order_Details") + ' End If + + ' ' Delete the order and its related items + ' For Each item As Order_Detail In deletedOrder.Order_Details + ' context.DeleteObject(item) + ' Next + + ' ' Delete the order and then return false since the object is already deleted. + ' context.DeleteObject(deletedOrder) + + ' Return True + ' Else + ' Return False + ' End If + ' Else + ' ' Use the default behavior. + ' Return False + ' End If + 'End Function + ' + + '' Method that is called when the PropertyChanged event is handled. + 'Private Function OnMyPropertyChanged( + 'ByVal entityChangedInfo As EntityChangedParams) As Boolean + ' ' Validate a changed order to ensure that changes are not made + ' ' after the order ships. + ' If entityChangedInfo.Entity.GetType() Is GetType(Order) AndAlso + ' (CType(entityChangedInfo.Entity, Order).ShippedDate < DateTime.Today) Then + ' Throw New ApplicationException(String.Format( + ' "The order {0} cannot be changed because it shipped on {1}.", + ' CType(entityChangedInfo.Entity, Order).OrderID, + ' CType(entityChangedInfo.Entity, Order).ShippedDate)) + ' Return False + ' Else + ' Return True + ' End If + 'End Function + + 'Private Sub deleteButton_Click(ByVal sender As Object, ByVal e As RoutedEventArgs) + ' ' Get the Orders binding collection. + ' If customerIDComboBox.SelectedItem IsNot Nothing Then + ' Dim trackedOrders As DataServiceCollection(Of Order) = _ + ' (CType(customerIDComboBox.SelectedItem, Customer)).Orders + + ' ' Remove the currently selected order. + ' trackedOrders.Remove(CType(ordersDataGrid.SelectedItem, Order)) + ' End If + 'End Sub + 'Private Sub saveChangesButton_Click(ByVal sender As Object, ByVal e As RoutedEventArgs) + ' Try + ' ' Save changes to the data service. + ' context.SaveChanges() + ' Catch ex As Exception + ' MessageBox.Show(ex.ToString()) + ' End Try + 'End Sub +End Class +' diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderscustom2.xaml.vb b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderscustom2.xaml.vb similarity index 75% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderscustom2.xaml.vb rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderscustom2.xaml.vb index 92748ba320a..28923ee81b8 100644 --- a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderscustom2.xaml.vb +++ b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderscustom2.xaml.vb @@ -1,47 +1,38 @@ ' -Imports System.Collections.Generic +Imports System.Collections.Specialized +Imports System.Data.Services.Client Imports System.Linq -Imports System.Text Imports System.Windows -Imports System.Windows.Controls -Imports System.Windows.Data -Imports System.Windows.Documents -Imports System.Windows.Input -Imports System.Windows.Media -Imports System.Windows.Media.Imaging -Imports System.Windows.Navigation -Imports System.Windows.Shapes -Imports System.Data.Services.Client -Imports NorthwindClient.NorthwindModel -Imports System.Collections.Specialized +Imports northwindclientvb.Northwind +Imports northwindclientvb.NorthwindModel Partial Public Class CustomerOrdersCustom Inherits Window - Private context As NorthwindEntities - Private trackedCustomers As DataServiceCollection(Of Customers) - Private Const customerCountry As String = "Germany" - Private Const svcUri As String = "http://localhost:12345/Northwind.svc/" + Private _context As Northwind.NorthwindEntities + Private _trackedCustomers As DataServiceCollection(Of Customer) + Private Const CustomerCountry As String = "Germany" + Private Const SvcUri As String = "http://localhost:12345/Northwind.svc/" Private Sub Window_Loaded(ByVal sender As Object, ByVal e As RoutedEventArgs) Try ' Initialize the context for the data service. - context = New NorthwindEntities(New Uri(svcUri)) + context = New Northwind.NorthwindEntities(New Uri(SvcUri)) ' ' Create a LINQ query that returns customers with related orders. - Dim customerQuery = From cust In context.Customers.Expand("Orders") _ - Where cust.Country = customerCountry _ - Select cust + Dim customerQuery = From cust In context.Customers.Expand("Orders") + Where cust.Country = CustomerCountry + Select cust ' Create a new collection for binding based on the LINQ query. - trackedCustomers = New DataServiceCollection(Of Customers)(customerQuery, _ - TrackingMode.AutoChangeTracking, "Customers", _ + _trackedCustomers = New DataServiceCollection(Of Customer)(customerQuery, + TrackingMode.AutoChangeTracking, "Customers", AddressOf OnMyPropertyChanged, AddressOf OnMyCollectionChanged) - ' Bind the root StackPanel element to the collection - ' related object binding paths are defined in the XAML. - Me.LayoutRoot.DataContext = trackedCustomers - Me.LayoutRoot.UpdateLayout() - ' + ' Bind the root StackPanel element to the collection + ' related object binding paths are defined in the XAML. + Me.LayoutRoot.DataContext = _trackedCustomers + Me.LayoutRoot.UpdateLayout() + ' Catch ex As DataServiceQueryException MessageBox.Show("The query could not be completed:\n" + ex.ToString()) Catch ex As InvalidOperationException @@ -86,18 +77,18 @@ Partial Public Class CustomerOrdersCustom End Function ' ' Method that is called when the PropertyChanged event is handled. - Private Function OnMyPropertyChanged( _ + Private Function OnMyPropertyChanged( ByVal entityChangedInfo As EntityChangedParams) As Boolean ' Validate a changed order to ensure that changes are not made ' after the order ships. - If entityChangedInfo.Entity.GetType() Is GetType(Orders) AndAlso _ + If entityChangedInfo.Entity.GetType() Is GetType(Orders) AndAlso (CType(entityChangedInfo.Entity, Orders).ShippedDate < DateTime.Today) Then - Throw New ApplicationException(String.Format( _ - "The order {0} cannot be changed because it shipped on {1}.", _ - CType(entityChangedInfo.Entity, Orders).OrderID, _ + Throw New ApplicationException(String.Format( + "The order {0} cannot be changed because it shipped on {1}.", + CType(entityChangedInfo.Entity, Orders).OrderID, CType(entityChangedInfo.Entity, Orders).ShippedDate)) - Return True End If + Return True End Function Private Sub deleteButton_Click(ByVal sender As Object, ByVal e As RoutedEventArgs) ' Get the Orders binding collection. diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf.xaml b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderswpf.xaml similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf.xaml rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderswpf.xaml diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf.xaml.vb b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderswpf.xaml.vb similarity index 65% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf.xaml.vb rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderswpf.xaml.vb index 3e27fa01e18..0521b5a3b3f 100644 --- a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf.xaml.vb +++ b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderswpf.xaml.vb @@ -1,18 +1,7 @@ ' -Imports System.Collections.Generic -Imports System.Linq -Imports System.Text -Imports System.Windows -Imports System.Windows.Controls -Imports System.Windows.Data -Imports System.Windows.Documents -Imports System.Windows.Input -Imports System.Windows.Media -Imports System.Windows.Media.Imaging -Imports System.Windows.Navigation -Imports System.Windows.Shapes Imports System.Data.Services.Client -Imports NorthwindClient.Northwind +Imports System.Windows +Imports northwindclientvb.Northwind Partial Public Class CustomerOrdersWpf Inherits Window @@ -28,15 +17,15 @@ Partial Public Class CustomerOrdersWpf ' ' Create a LINQ query that returns customers with related orders. - Dim customerQuery = From cust In context.Customers.Expand("Orders") _ - Where cust.Country = customerCountry _ - Select cust + Dim customerQuery = From cust In context.Customers.Expand("Orders") + Where cust.Country = customerCountry + Select cust - ' Create a new collection for binding based on the LINQ query. + ' Create a new collection for binding based on the LINQ query. trackedCustomers = New DataServiceCollection(Of Customer)(customerQuery) - ' Bind the root StackPanel element to the collection - ' related object binding paths are defined in the XAML. + ' Bind the root StackPanel element to the collection + ' related object binding paths are defined in the XAML. Me.LayoutRoot.DataContext = trackedCustomers ' Catch ex As DataServiceQueryException @@ -50,4 +39,4 @@ Partial Public Class CustomerOrdersWpf context.SaveChanges() End Sub End Class -' \ No newline at end of file +' diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf2.xaml b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderswpf2.xaml similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf2.xaml rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderswpf2.xaml diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf2.xaml.vb b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderswpf2.xaml.vb similarity index 78% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf2.xaml.vb rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderswpf2.xaml.vb index 9be1bab5f2f..e1da430ad91 100644 --- a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf2.xaml.vb +++ b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderswpf2.xaml.vb @@ -1,19 +1,8 @@ -Imports System.Collections.Generic -Imports System.Linq -Imports System.Text +' +Imports System.Data.Services.Client Imports System.Windows -Imports System.Windows.Controls Imports System.Windows.Data -Imports System.Windows.Documents -Imports System.Windows.Input -Imports System.Windows.Media -Imports System.Windows.Media.Imaging -Imports System.Windows.Navigation -Imports System.Windows.Shapes - -' -Imports System.Data.Services.Client -Imports NorthwindClient.Northwind +Imports northwindclientvb.Northwind ' @@ -33,9 +22,9 @@ Partial Public Class CustomerOrdersWpf2 context = New NorthwindEntities(New Uri(svcUri)) ' Create a LINQ query that returns customers with related orders. - Dim customerQuery = From cust In context.Customers.Expand("Orders") _ - Where cust.Country = customerCountry _ - Select cust + Dim customerQuery = From cust In context.Customers.Expand("Orders") + Where cust.Country = customerCountry + Select cust ' Create a new collection for binding based on the LINQ query. trackedCustomers = New DataServiceCollection(Of Customer)(customerQuery) diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf3.xaml b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderswpf3.xaml similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf3.xaml rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderswpf3.xaml diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf3.xaml.vb b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderswpf3.xaml.vb similarity index 78% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf3.xaml.vb rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderswpf3.xaml.vb index 324734aa89e..38bf21e125d 100644 --- a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf3.xaml.vb +++ b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderswpf3.xaml.vb @@ -1,18 +1,8 @@ ' -Imports System.Collections.Generic -Imports System.Linq -Imports System.Text +Imports System.Data.Services.Client Imports System.Windows Imports System.Windows.Controls -Imports System.Windows.Data -Imports System.Windows.Documents -Imports System.Windows.Input -Imports System.Windows.Media -Imports System.Windows.Media.Imaging -Imports System.Windows.Navigation -Imports System.Windows.Shapes -Imports System.Data.Services.Client -Imports NorthwindClient.Northwind +Imports northwindclientvb.Northwind Partial Public Class CustomerOrdersWpf3 Inherits Window @@ -28,15 +18,15 @@ Partial Public Class CustomerOrdersWpf3 context = New NorthwindEntities(New Uri(svcUri)) ' Create a LINQ query that returns customers with related orders. - Dim customerQuery = From cust In context.Customers _ - Where cust.Country = customerCountry _ - Select cust + Dim customerQuery = From cust In context.Customers + Where cust.Country = customerCountry + Select cust - ' - ' Create a new collection for binding based on the LINQ query. + ' + ' Create a new collection for binding based on the LINQ query. trackedCustomers = New DataServiceCollection(Of Customer)(customerQuery) - ' Load all pages of the response at once. + ' Load all pages of the response at once. While trackedCustomers.Continuation IsNot Nothing trackedCustomers.Load( _ context.Execute(Of Customer)(trackedCustomers.Continuation.NextLinkUri)) @@ -79,4 +69,4 @@ Partial Public Class CustomerOrdersWpf3 End Try End Sub End Class -' \ No newline at end of file +' diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/my project/application.designer.vb b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/my project/application.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/my project/application.designer.vb rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/my project/application.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/my project/application.myapp b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/my project/application.myapp similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/my project/application.myapp rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/my project/application.myapp diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/my project/datasources/northwindclient.northwindmodel.customers.datasource b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/my project/datasources/northwindclient.northwindmodel.customers.datasource similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/my project/datasources/northwindclient.northwindmodel.customers.datasource rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/my project/datasources/northwindclient.northwindmodel.customers.datasource diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/my project/myextensions/mywpfextension.vb b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/my project/myextensions/mywpfextension.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/my project/myextensions/mywpfextension.vb rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/my project/myextensions/mywpfextension.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/my project/resources.designer.vb b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/my project/resources.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/my project/resources.designer.vb rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/my project/resources.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/my project/resources.resx b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/my project/resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/my project/resources.resx rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/my project/resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/northwind.vb b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/northwind.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/northwind.vb rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/northwind.vb diff --git a/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/northwindclientvb.vbproj b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/northwindclientvb.vbproj new file mode 100644 index 00000000000..cc407968e5a --- /dev/null +++ b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/northwindclientvb.vbproj @@ -0,0 +1,12 @@ + + + Exe + net481-windows + true + + + + + + + diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/program.vb b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/program.vb similarity index 90% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/program.vb rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/program.vb index 29090a8abe4..3a212676b43 100644 --- a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/program.vb +++ b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/program.vb @@ -1,12 +1,8 @@ Option Explicit On Option Strict On -Imports System.Reflection -Imports System.Windows.Forms -Imports System.IO -Imports NorthwindClient Module Program - Sub Main() + Sub Main1() 'Dim newSync As New CustomerOrdersCustom() 'newSync.Title = newSync.GetType().ToString() 'newSync.ShowDialog() diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/salesorders.xaml b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/salesorders.xaml similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/salesorders.xaml rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/salesorders.xaml diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/salesorders.xaml.vb b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/salesorders.xaml.vb similarity index 87% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/salesorders.xaml.vb rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/salesorders.xaml.vb index 26c74388175..8a670ac01dd 100644 --- a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/salesorders.xaml.vb +++ b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/salesorders.xaml.vb @@ -49,10 +49,9 @@ 'Imports System.Collections.Generic ' -Imports System.Linq -Imports System.Windows Imports System.Data.Services.Client -Imports NorthwindClient.Northwind +Imports System.Windows +Imports northwindclientvb.Northwind '/ '/ Interaction logic for SalesOrders.xaml @@ -70,19 +69,19 @@ Partial Public Class SalesOrders ' Define a query that returns Orders and ' Order_Details for a specific customer. - Dim ordersQuery = From o In context.Orders.Expand("Order_Details") _ - Where o.Customer.CustomerID = customerId _ - Select o + Dim ordersQuery = From o In context.Orders.Expand("Order_Details") + Where o.Customer.CustomerID = customerId + Select o ' Create an DataServiceCollection based on ' execution of the query for Orders. - Dim customerOrders As DataServiceCollection(Of Order) = _ + Dim customerOrders As DataServiceCollection(Of Order) = New DataServiceCollection(Of Order)(ordersQuery) - ' + ' ' Make the DataServiceCollection the binding source for the Grid. - Me.orderItemsGrid.DataContext = customerOrders - ' + Me.orderItemsGrid.DataContext = customerOrders + ' Catch ex As DataServiceQueryException MessageBox.Show(ex.ToString()) End Try diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/service references/northwind/reference.datasvcmap b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/service references/northwind/reference.datasvcmap similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/service references/northwind/reference.datasvcmap rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/service references/northwind/reference.datasvcmap diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/service references/northwind/reference.vb b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/service references/northwind/reference.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/service references/northwind/reference.vb rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/service references/northwind/reference.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/service references/northwind/service.edmx b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/service references/northwind/service.edmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/service references/northwind/service.edmx rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/service references/northwind/service.edmx diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/source.vb similarity index 89% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb rename to snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/source.vb index caf6e9e83b1..39c2b4b911b 100644 --- a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb +++ b/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/source.vb @@ -2,15 +2,10 @@ Option Explicit On Option Strict On Option Infer On - -Imports System.Collections.Generic -Imports System.Linq -Imports System.Text Imports System.Data.Services.Client ' -Imports System.Data.Services.Common -Imports NorthwindClient.Northwind +Imports northwindclientvb.Northwind ' @@ -34,7 +29,7 @@ Public Class SourceVb Console.WriteLine("Customer Name: {0}", customer.CompanyName) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -46,15 +41,15 @@ Public Class SourceVb Try ' Define a LINQ query that returns all customers. - Dim allCustomers = From cust In context.Customers _ - Select cust + Dim allCustomers = From cust In context.Customers + Select cust ' Enumerate over the query obtained from the context. For Each customer As Customer In allCustomers Console.WriteLine("Customer Name: {0}", customer.CompanyName) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -70,7 +65,7 @@ Public Class SourceVb Console.WriteLine("Customer Name: {0}", customer.CompanyName) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -81,7 +76,7 @@ Public Class SourceVb Dim context = New DataServiceContext(svcUri) ' Define a new query for Customers. - Dim query As DataServiceQuery(Of Customer) = _ + Dim query As DataServiceQuery(Of Customer) = context.CreateQuery(Of Customer)("Customers") Try @@ -90,7 +85,7 @@ Public Class SourceVb Console.WriteLine("Customer Name: {0}", customer.CompanyName) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -110,7 +105,7 @@ Public Class SourceVb Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -125,7 +120,7 @@ Public Class SourceVb ' Define the query to execute asynchronously that returns ' all customers with their respective orders. - Dim query As DataServiceQuery(Of Customer) = _ + Dim query As DataServiceQuery(Of Customer) = context.Customers.Expand("Orders") Try @@ -133,21 +128,21 @@ Public Class SourceVb ' and the original query object to maintain state in the callback. query.BeginExecute(callback, query) Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try End Sub ' Handle the query callback. Private Shared Sub OnCustomersQueryComplete(ByVal result As IAsyncResult) ' Get the original query from the result. - Dim query As DataServiceQuery(Of Customer) = _ + Dim query As DataServiceQuery(Of Customer) = CType(result.AsyncState, DataServiceQuery(Of Customer)) ' Complete the query execution. For Each customer As Customer In query.EndExecute(result) Console.WriteLine("Customer Name: {0}", customer.CompanyName) For Each order As Order In customer.Orders - Console.WriteLine("Order #: {0} - Freight $: {1}", _ + Console.WriteLine("Order #: {0} - Freight $: {1}", order.OrderID, order.Freight) Next Next @@ -167,11 +162,11 @@ Public Class SourceVb ' ' Write out customer and order information. - Console.WriteLine("Customer: {0} - Order ID: {1}", _ + Console.WriteLine("Customer: {0} - Order ID: {1}", order.Customer.CompanyName, order.OrderID) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -192,12 +187,12 @@ Public Class SourceVb ' For Each item As Order_Detail In order.Order_Details - Console.WriteLine(vbTab & "Product: {0} - Quantity: {1}", _ + Console.WriteLine(vbTab & "Product: {0} - Quantity: {1}", item.ProductID, item.Quantity) Next Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -209,7 +204,7 @@ Public Class SourceVb ' ' Define a query for orders that also returns items and customers. - Dim query As DataServiceQuery(Of Order) = _ + Dim query As DataServiceQuery(Of Order) = context.Orders.Expand("Order_Details,Customer") ' @@ -220,12 +215,12 @@ Public Class SourceVb Console.WriteLine("Order ID: {0}", order.OrderID) For Each item As Order_Detail In order.Order_Details - Console.WriteLine(vbTab & "Product: {0} - Quantity: {1}", _ + Console.WriteLine(vbTab & "Product: {0} - Quantity: {1}", item.ProductID, item.Quantity) Next Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -246,11 +241,11 @@ Public Class SourceVb Try ' Enumerate over the results of the query. For Each order As Order In selectedOrders - Console.WriteLine("Order ID: {0} - Ship Date: {1} - Freight: {2}", _ + Console.WriteLine("Order ID: {0} - Ship Date: {1} - Freight: {2}", order.OrderID, order.ShippedDate, order.Freight) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -263,20 +258,20 @@ Public Class SourceVb ' Define a query for orders with a Freight value greater than 30 ' and that is ordered by the ship date, descending. ' - Dim selectedOrders = From o In context.Orders _ - Where (o.Freight > 30) _ - Order By o.ShippedDate Descending _ - Select o + Dim selectedOrders = From o In context.Orders + Where (o.Freight > 30) + Order By o.ShippedDate Descending + Select o ' Try ' Enumerate over the results of the query. For Each order As Order In selectedOrders - Console.WriteLine("Order ID: {0} - Ship Date: {1} - Freight: {2}", _ + Console.WriteLine("Order ID: {0} - Ship Date: {1} - Freight: {2}", order.OrderID, order.ShippedDate, order.Freight) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -298,11 +293,11 @@ Public Class SourceVb ' Enumerate over the results of the query. For Each order As Order In selectedOrders - Console.WriteLine("Order ID: {0} - Ship Date: {1} - Freight: {2}", _ + Console.WriteLine("Order ID: {0} - Ship Date: {1} - Freight: {2}", order.OrderID, order.ShippedDate, order.Freight) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -315,18 +310,18 @@ Public Class SourceVb ' ' Define a query for orders with a Freight value greater than 30 ' that also orders the result by the Freight value, descending. - Dim selectedOrders As DataServiceQuery(Of Order) = _ + Dim selectedOrders As DataServiceQuery(Of Order) = context.Orders.AddQueryOption("$orderby", "Freight gt 30 desc") ' Try ' Enumerate over the results of the query. For Each order As Order In selectedOrders - Console.WriteLine("Order ID: {0} - Freight: {1}", _ + Console.WriteLine("Order ID: {0} - Freight: {1}", order.OrderID, order.Freight) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -340,9 +335,9 @@ Public Class SourceVb ' Create the separate query URI's, one that returns ' a single customer and another that returns all Products. - Dim customerUri = New Uri(svcUri.AbsoluteUri & _ + Dim customerUri = New Uri(svcUri.AbsoluteUri & "/Customers('" & customerId & "')/?$expand=Orders") - Dim productsUri = New Uri(svcUri.AbsoluteUri & _ + Dim productsUri = New Uri(svcUri.AbsoluteUri & "/Products") ' Create the query requests. @@ -350,7 +345,7 @@ Public Class SourceVb Dim productsQuery = New DataServiceRequest(Of Product)(productsUri) ' Add the query requests to a batch request array. - Dim batchRequests = _ + Dim batchRequests = New DataServiceRequest() {customerQuery, productsQuery} Dim batchResponse As DataServiceResponse @@ -375,7 +370,7 @@ Public Class SourceVb For Each customer As Customer In response Console.WriteLine("Customer: {0}", customer.CompanyName) For Each order As Order In customer.Orders - Console.WriteLine("Order ID: {0} - Freight: {1}", _ + Console.WriteLine("Order ID: {0} - Freight: {1}", order.OrderID, order.Freight) Next Next @@ -411,8 +406,8 @@ Public Class SourceVb Dim context = New NorthwindEntities(svcUri) ' Define an existing customer to attach, including the key. - Dim customer As Customer = _ - customer.CreateCustomer("ALFKI", "Alfreds Futterkiste") + Dim customer As Customer = + Customer.CreateCustomer("ALFKI", "Alfreds Futterkiste") ' Set current property values. customer.Address = "Obere Str. 57" @@ -436,7 +431,7 @@ Public Class SourceVb context.SaveChanges() ' Catch ex As DataServiceClientException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred when saving changes.", ex) End Try ' @@ -448,7 +443,7 @@ Public Class SourceVb ' ' Create the new product. - Dim newProduct = _ + Dim newProduct = Product.CreateProduct(0, "White Tea - loose", False) ' @@ -468,7 +463,7 @@ Public Class SourceVb Console.WriteLine("New product added with ID {0}.", newProduct.ProductID) Catch ex As DataServiceRequestException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred when saving changes.", ex) ' Finally @@ -485,8 +480,8 @@ Public Class SourceVb Dim context = New NorthwindEntities(svcUri) ' Get a customer to modify using the supplied ID. - Dim customerToChange = (From customer In context.Customers _ - Where customer.CustomerID = customerId _ + Dim customerToChange = (From customer In context.Customers + Where customer.CustomerID = customerId Select customer).Single() ' Change some property values. @@ -503,7 +498,7 @@ Public Class SourceVb ' Send the update to the data service. context.SaveChanges() Catch ex As DataServiceRequestException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred when saving changes.", ex) End Try ' @@ -525,8 +520,8 @@ Public Class SourceVb Try ' Get the product to delete, by product ID. - Dim deletedProduct = (From product In context.Products _ - Where product.ProductID = productID _ + Dim deletedProduct = (From product In context.Products + Where product.ProductID = productID Select product).Single() @@ -542,7 +537,7 @@ Public Class SourceVb ' which can happen when there are entities with existing ' relationships to the product being deleted. Catch ex As DataServiceRequestException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred when saving changes.", ex) End Try ' @@ -559,20 +554,20 @@ Public Class SourceVb Try ' Get the specific product. - Dim selectedProduct = (From product In context.Products _ - Where product.ProductID = productId _ - Select product).Single() + Dim selectedProduct = (From product In context.Products + Where product.ProductID = productId + Select product).Single() ' Get the specific customer. - Dim cust = (From customer In context.Customers.Expand("Orders") _ - Where customer.CustomerID = customerId _ + Dim cust = (From customer In context.Customers.Expand("Orders") + Where customer.CustomerID = customerId Select customer).Single() ' Get the first order. Dim order = cust.Orders.FirstOrDefault() ' Create a new order detail for the specific product. - newItem = Order_Detail.CreateOrder_Detail( _ + newItem = Order_Detail.CreateOrder_Detail( order.OrderID, selectedProduct.ProductID, 10, 5, 0) ' Add the new order detail to the context. @@ -600,19 +595,19 @@ Public Class SourceVb Dim addedProduct = TryCast(descriptor.Entity, Product) If Not addedProduct Is Nothing Then - Console.WriteLine("New product added with ID {0}.", _ + Console.WriteLine("New product added with ID {0}.", addedProduct.ProductID) End If End If Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred when saving changes.", ex) ' Handle any errors that may occur during insert, such as ' a constraint violation. Catch ex As DataServiceRequestException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred when saving changes.", ex) ' 'remove the added product. @@ -633,20 +628,20 @@ Public Class SourceVb Try ' Get the specific product. - Dim selectedProduct = (From product In context.Products _ - Where product.ProductID = productId _ + Dim selectedProduct = (From product In context.Products + Where product.ProductID = productId Select product).Single() ' Get the specific customer. - Dim cust = (From customer In context.Customers.Expand("Orders") _ - Where customer.CustomerID = customerId _ + Dim cust = (From customer In context.Customers.Expand("Orders") + Where customer.CustomerID = customerId Select customer).Single() ' Get the first order. Dim order = cust.Orders.FirstOrDefault() ' Create a new order detail for the specific product. - newItem = Order_Detail.CreateOrder_Detail( _ + newItem = Order_Detail.CreateOrder_Detail( order.OrderID, selectedProduct.ProductID, 10, 5, 0) ' @@ -675,20 +670,20 @@ Public Class SourceVb Dim addedItem = TryCast(descriptor.Entity, Order_Detail) If Not addedItem Is Nothing Then - Console.WriteLine("New {0} item added to order {1}.", _ + Console.WriteLine("New {0} item added to order {1}.", addedItem.Product.ProductName, addedItem.OrderID.ToString()) End If End If End If Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred when saving changes.", ex) ' Handle any errors that may occur during insert, such as ' a constraint violation. Catch ex As DataServiceRequestException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred when saving changes.", ex) ' 'remove the added product. @@ -714,7 +709,7 @@ Public Class SourceVb ' Retrieve the total count from the response. Console.WriteLine("There are {0} customers in total.", totalCount) Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -726,14 +721,14 @@ Public Class SourceVb ' ' Define a new query for Customers that includes the total count. - Dim query As DataServiceQuery(Of Customer) = _ + Dim query As DataServiceQuery(Of Customer) = context.Customers.IncludeTotalCount() ' Try ' ' Execute the query for all customers and get the response object. - Dim response As QueryOperationResponse(Of Customer) = _ + Dim response As QueryOperationResponse(Of Customer) = CType(query.Execute(), QueryOperationResponse(Of Customer)) ' @@ -745,7 +740,7 @@ Public Class SourceVb Console.WriteLine(vbTab & "Customer Name: {0}", customer.CompanyName) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -759,7 +754,7 @@ Public Class SourceVb Try ' Execute the query for all customers and get the response object. - Dim response As QueryOperationResponse(Of Customer) = _ + Dim response As QueryOperationResponse(Of Customer) = CType(context.Customers.Execute(), QueryOperationResponse(Of Customer)) ' @@ -772,7 +767,7 @@ Public Class SourceVb ' If nextLink is not null, then there is a new page to load. If token IsNot Nothing Then ' Load the new page from the next link URI. - response = CType(context.Execute(Of Customer)(token), _ + response = CType(context.Execute(Of Customer)(token), QueryOperationResponse(Of Customer)) End If @@ -786,7 +781,7 @@ Public Class SourceVb Loop While token IsNot Nothing ' Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -802,7 +797,7 @@ Public Class SourceVb Try ' Execute the query for all customers and related orders, ' and get the response object. - Dim response = _ + Dim response = CType(context.Customers.AddQueryOption("$expand", "Orders") _ .Execute(), QueryOperationResponse(Of Customer)) @@ -815,7 +810,7 @@ Public Class SourceVb ' If nextLink is not null, then there is a new page to load. If nextLink IsNot Nothing Then ' Load the new page from the next link URI. - response = CType(context.Execute(Of Customer)(nextLink), _ + response = CType(context.Execute(Of Customer)(nextLink), QueryOperationResponse(Of Customer)) End If @@ -825,18 +820,18 @@ Public Class SourceVb Console.WriteLine(vbTab & "Orders Page {0}:", innerPageCount + 1) ' Get the next link for the collection of related Orders. - Dim nextOrdersLink As DataServiceQueryContinuation(Of Order) = _ + Dim nextOrdersLink As DataServiceQueryContinuation(Of Order) = response.GetContinuation(c.Orders) ' While nextOrdersLink IsNot Nothing For Each o As Order In c.Orders ' Print out the orders. - Console.WriteLine(vbTab & vbTab & "OrderID: {0} - Freight: ${1}", _ + Console.WriteLine(vbTab & vbTab & "OrderID: {0} - Freight: ${1}", o.OrderID, o.Freight) Next ' Load the next page of Orders. - Dim ordersResponse = _ + Dim ordersResponse = context.LoadProperty(c, "Orders", nextOrdersLink) nextOrdersLink = ordersResponse.GetContinuation() End While @@ -846,7 +841,7 @@ Public Class SourceVb nextLink = response.GetContinuation() Loop While nextLink IsNot Nothing Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -860,15 +855,15 @@ Public Class SourceVb ' Define an anonymous LINQ query that projects the Customers type into ' a CustomerAddress type that contains only address properties. ' - Dim query = From c In context.Customers _ - Where c.Country = "Germany" _ - Select New CustomerAddress With { _ - .CustomerID = c.CustomerID, _ - .Address = c.Address, _ - .City = c.City, _ - .Region = c.Region, _ - .PostalCode = c.PostalCode, _ - .Country = c.Country} + Dim query = From c In context.Customers + Where c.Country = "Germany" + Select New CustomerAddress With { + .CustomerID = c.CustomerID, + .Address = c.Address, + .City = c.City, + .Region = c.Region, + .PostalCode = c.PostalCode, + .Country = c.Country} ' ' @@ -882,15 +877,15 @@ Public Class SourceVb ' Write out the current values. Console.WriteLine("Customer ID: {0} " & vbCrLf & "Street: {1} " _ & vbCrLf & "City: {2} " & vbCrLf & "State: {3} " & vbCrLf & "Zip Code: {4}" _ - & vbCrLf & "Country: {5}", _ - item.CustomerID, item.Address, item.City, item.Region, _ + & vbCrLf & "Country: {5}", + item.CustomerID, item.Address, item.City, item.Region, item.PostalCode, item.Country) Next ' Save changes to the data service. context.SaveChanges() Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -902,15 +897,15 @@ Public Class SourceVb ' Define an anonymous LINQ query that projects the Customers type into ' a CustomerAddress type that contains only address properties. - Dim query = From c In context.Customers _ - Where c.Country = "Germany" _ - Select New CustomerAddressNonEntity With _ - {.CompanyName = c.CompanyName, _ - .Address = c.Address, _ - .City = c.City, _ - .Region = c.Region, _ - .PostalCode = c.PostalCode, _ - .Country = c.Country} + Dim query = From c In context.Customers + Where c.Country = "Germany" + Select New CustomerAddressNonEntity With + {.CompanyName = c.CompanyName, + .Address = c.Address, + .City = c.City, + .Region = c.Region, + .PostalCode = c.PostalCode, + .Country = c.Country} Try ' Enumerate over the query result, which is executed implicitly. @@ -918,13 +913,13 @@ Public Class SourceVb item.Address += "Street" Console.WriteLine("Company name: {0} " & Environment.NewLine & "Street: {1} " _ - & "" & Environment.NewLine & "City: {2} " & Environment.NewLine & "State: {3} " & Environment.NewLine & _ - "Zip Code: {4} " & Environment.NewLine & "Country: {5}", _ - item.CompanyName, item.Address, item.City, item.Region, _ + & "" & Environment.NewLine & "City: {2} " & Environment.NewLine & "State: {3} " & Environment.NewLine & + "Zip Code: {4} " & Environment.NewLine & "Country: {5}", + item.CompanyName, item.Address, item.City, item.Region, item.PostalCode, item.Country) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -936,15 +931,15 @@ Public Class SourceVb ' Define an anonymous LINQ query that projects the Customers type into ' a CustomerAddress type that contains only address properties. ' - Dim query = From c In context.Customers _ - Where c.Country = "Germany" _ - Select New CustomerAddress( _ - c.CustomerID, _ - c.Address, _ - c.City, _ - c.Region, _ - c.PostalCode, _ - c.Country) + Dim query = From c In context.Customers + Where c.Country = "Germany" + Select New CustomerAddress( + c.CustomerID, + c.Address, + c.City, + c.Region, + c.PostalCode, + c.Country) ' Try @@ -953,12 +948,12 @@ Public Class SourceVb ' Write out the current values. Console.WriteLine("Customer ID: {0} " & vbCrLf & "Street: {1} " _ & vbCrLf & "City: {2} " & vbCrLf & "State: {3} " & vbCrLf & "Zip Code: {4}" _ - & vbCrLf & "Country: {5}", _ - item.CustomerID, item.Address, item.City, item.Region, _ + & vbCrLf & "Country: {5}", + item.CustomerID, item.Address, item.City, item.Region, item.PostalCode, item.Country) Next Catch ex As NotSupportedException - Throw New ApplicationException( _ + Throw New ApplicationException( "This is an expected error.", ex) End Try End Sub @@ -970,16 +965,16 @@ Public Class SourceVb ' a CustomerAddress type and tries to create a new Address string by ' concatenating other properties. ' - Dim query = From c In context.Customers _ - Where c.Country = "Germany" _ - Select New CustomerAddress With _ - {.CustomerID = c.CustomerID, _ - .Address = "Full address: " & c.Address & ", " & _ - c.City & "," & c.Region & " " & c.PostalCode, _ - .City = c.City, _ - .Region = c.Region, _ - .PostalCode = c.PostalCode, _ - .Country = c.Country} + Dim query = From c In context.Customers + Where c.Country = "Germany" + Select New CustomerAddress With + {.CustomerID = c.CustomerID, + .Address = "Full address: " & c.Address & ", " & + c.City & "," & c.Region & " " & c.PostalCode, + .City = c.City, + .Region = c.Region, + .PostalCode = c.PostalCode, + .Country = c.Country} ' Try @@ -988,12 +983,12 @@ Public Class SourceVb ' Write out the current values. Console.WriteLine("Customer ID: {0} " & vbCrLf & "Street: {1} " _ & vbCrLf & "City: {2} " & vbCrLf & "State: {3} " & vbCrLf & "Zip Code: {4}" _ - & vbCrLf & "Country: {5}", _ - item.CustomerID, item.Address, item.City, item.Region, _ + & vbCrLf & "Country: {5}", + item.CustomerID, item.Address, item.City, item.Region, item.PostalCode, item.Country) Next Catch ex As NotSupportedException - Throw New ApplicationException( _ + Throw New ApplicationException( "This is an expected error.", ex) End Try End Sub @@ -1004,15 +999,15 @@ Public Class SourceVb ' Define an anonymous LINQ query that projects the Customers type into ' a CustomerAddress type that contains only address properties. ' - Dim query = From c In context.Customers _ - Where c.Country = "Germany" _ - Select New CustomerAddress With _ - {.CustomerID = c.CustomerID, _ - .Address = c.Address, _ - .City = c.City, _ - .Region = c.Region, _ - .PostalCode = c.PostalCode, _ - .Country = c.Country} + Dim query = From c In context.Customers + Where c.Country = "Germany" + Select New CustomerAddress With + {.CustomerID = c.CustomerID, + .Address = c.Address, + .City = c.City, + .Region = c.Region, + .PostalCode = c.PostalCode, + .Country = c.Country} ' Try @@ -1021,12 +1016,12 @@ Public Class SourceVb ' Write out the current values. Console.WriteLine("Customer ID: {0} " & vbCrLf & "Street: {1} " _ & vbCrLf & "City: {2} " & vbCrLf & "State: {3} " & vbCrLf & "Zip Code: {4}" _ - & vbCrLf & "Country: {5}", _ - item.CustomerID, item.Address, item.City, item.Region, _ + & vbCrLf & "Country: {5}", + item.CustomerID, item.Address, item.City, item.Region, item.PostalCode.Split(New [Char]() {"-"c})(0), item.Country) Next Catch ex As NotSupportedException - Throw New ApplicationException( _ + Throw New ApplicationException( "This is an expected error.", ex) End Try End Sub @@ -1038,9 +1033,9 @@ Public Class SourceVb ' Define a query for orders that have shipped. ' Dim ordersQuery = (From o In context.Orders - Where o.ShippedDate < DateTime.Today - Order By o.OrderDate Descending, o.CustomerID - Select o).Skip(10).Take(10) + Where o.ShippedDate < DateTime.Today + Order By o.OrderDate Descending, o.CustomerID + Select o).Skip(10).Take(10) ' Try @@ -1050,11 +1045,11 @@ Public Class SourceVb ' Enumerate over the results of the query. For Each o As Order In ordersQuery - Console.WriteLine("CustomerID:{0}" & Environment.NewLine & "{1}, {2}", _ + Console.WriteLine("CustomerID:{0}" & Environment.NewLine & "{1}, {2}", o.ShipName, o.ShipCity, o.ShipCountry) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -1068,14 +1063,14 @@ Public Class SourceVb Dim projectedQuery = context.Customers _ .Where(Function(c) c.Country = "Germany") _ .OrderBy(Function(c) c.CompanyName) _ - .Select(Function(c) New CustomerAddress With _ + .Select(Function(c) New CustomerAddress With { - .CustomerID = c.CustomerID, _ - .Address = c.Address, _ - .City = c.City, _ - .Region = c.Region, _ - .PostalCode = c.PostalCode, _ - .Country = c.Country _ + .CustomerID = c.CustomerID, + .Address = c.Address, + .City = c.City, + .Region = c.Region, + .PostalCode = c.PostalCode, + .Country = c.Country }).Skip(10).Take(10) ' @@ -1086,11 +1081,11 @@ Public Class SourceVb ' Enumerate over the results of the query. For Each address As CustomerAddress In projectedQuery - Console.WriteLine("Address:" & Environment.NewLine & "{0}" & Environment.NewLine & "{1}, {2}", _ + Console.WriteLine("Address:" & Environment.NewLine & "{0}" & Environment.NewLine & "{1}, {2}", address.Address, address.City, address.Region) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -1104,8 +1099,8 @@ Public Class SourceVb ' Define a query for orders with a Freight value greater than 30. ' Dim filteredOrders = From o In context.Orders - Where o.Freight.Value > 30 - Select o + Where o.Freight.Value > 30 + Select o ' Try @@ -1114,11 +1109,11 @@ Public Class SourceVb ' Enumerate over the results of the query. For Each o As Order In filteredOrders - Console.WriteLine("Order ID: {0} - Ship Date: {1} - Freight: {2}", _ + Console.WriteLine("Order ID: {0} - Ship Date: {1} - Freight: {2}", o.OrderID, o.ShippedDate, o.Freight) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -1139,11 +1134,11 @@ Public Class SourceVb ' Enumerate over the results of the query. For Each o As Order In filteredOrders - Console.WriteLine("Order ID: {0} - Ship Date: {1} - Freight: {2}", _ + Console.WriteLine("Order ID: {0} - Ship Date: {1} - Freight: {2}", o.OrderID, o.ShippedDate, o.Freight) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -1165,11 +1160,11 @@ Public Class SourceVb ' Enumerate over the results of the query. For Each order As Order In filteredOrders - Console.WriteLine("Order ID: {0} - Ship Date: {1} - Freight: {2}", _ + Console.WriteLine("Order ID: {0} - Ship Date: {1} - Freight: {2}", order.OrderID, order.ShippedDate.Value, order.Freight.Value) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -1182,9 +1177,9 @@ Public Class SourceVb ' Define a query for orders with a Freight value greater than 30. ' Dim sortedCustomers = From c In context.Customers - Order By c.CompanyName Ascending, - c.PostalCode Descending - Select c + Order By c.CompanyName Ascending, + c.PostalCode Descending + Select c ' Try @@ -1194,11 +1189,11 @@ Public Class SourceVb ' Enumerate over the results of the query. For Each cust As Customer In sortedCustomers - Console.WriteLine("Customer name: {0} - Zip code: {1}", _ + Console.WriteLine("Customer name: {0} - Zip code: {1}", cust.CompanyName, cust.PostalCode) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -1221,11 +1216,11 @@ Public Class SourceVb ' Enumerate over the results of the query. For Each cust As Customer In sortedCustomers - Console.WriteLine("Customer name: {0} - Zip code: {1}", _ + Console.WriteLine("Customer name: {0} - Zip code: {1}", cust.CompanyName, cust.PostalCode) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -1247,11 +1242,11 @@ Public Class SourceVb ' Enumerate over the results of the query. For Each cust As Customer In sortedCustomers - Console.WriteLine("Customer name: {0} - Zip code: {1}", _ + Console.WriteLine("Customer name: {0} - Zip code: {1}", cust.CompanyName, cust.PostalCode) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -1277,11 +1272,11 @@ Public Class SourceVb ' Enumerate over the results of the query. For Each order As Order In pagedOrders - Console.WriteLine("Order ID: {0} - Ship Date: {1} - Freight: {2}", _ + Console.WriteLine("Order ID: {0} - Ship Date: {1} - Freight: {2}", order.OrderID, order.ShippedDate, order.Freight) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -1307,11 +1302,11 @@ Public Class SourceVb ' Enumerate over the results of the query. For Each o As Order In pagedOrders - Console.WriteLine("Order ID: {0} - Ship Date: {1} - Freight: {2}", _ + Console.WriteLine("Order ID: {0} - Ship Date: {1} - Freight: {2}", o.OrderID, o.ShippedDate, o.Freight) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -1342,11 +1337,11 @@ Public Class SourceVb ' Enumerate over the results of the query. For Each address As CustomerAddress In projectedQuery - Console.WriteLine("Address:" & Environment.NewLine & "{0}" & Environment.NewLine & "{1}, {2}", _ + Console.WriteLine("Address:" & Environment.NewLine & "{0}" & Environment.NewLine & "{1}, {2}", address.Address, address.City, address.Region) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -1377,11 +1372,11 @@ Public Class SourceVb ' Enumerate over the results of the query. For Each address As CustomerAddress In projectedQuery - Console.WriteLine("Address:" & Environment.NewLine & "{0}" & Environment.NewLine & "{1}, {2}", _ + Console.WriteLine("Address:" & Environment.NewLine & "{0}" & Environment.NewLine & "{1}, {2}", address.Address, address.City, address.Region) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -1395,8 +1390,8 @@ Public Class SourceVb ' for the customer "ALKFI". ' Dim ordersQuery = From o In context.Orders.Expand("Order_Details") - Where o.CustomerID = "ALFKI" - Select o + Where o.CustomerID = "ALFKI" + Select o ' Try @@ -1406,16 +1401,16 @@ Public Class SourceVb ' Enumerate over the results of the query. For Each o As Order In ordersQuery - Console.WriteLine("Order ID: {0} - Ship Date: {1} - Freight: {2}", _ + Console.WriteLine("Order ID: {0} - Ship Date: {1} - Freight: {2}", o.OrderID, o.ShippedDate, o.Freight) For Each item As Order_Detail In o.Order_Details - Console.WriteLine(vbTab & "Product: {0} (Price: {1}) - Quantity: {2}", _ + Console.WriteLine(vbTab & "Product: {0} (Price: {1}) - Quantity: {2}", item.ProductID, item.UnitPrice, item.Quantity) Next Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -1439,16 +1434,16 @@ Public Class SourceVb ' Enumerate over the results of the query. For Each o As Order In ordersQuery - Console.WriteLine("Order ID: {0} - Ship Date: {1} - Freight: {2}", _ + Console.WriteLine("Order ID: {0} - Ship Date: {1} - Freight: {2}", o.OrderID, o.ShippedDate, o.Freight) For Each item As Order_Detail In o.Order_Details - Console.WriteLine(vbTab & "Product: {0} (Price: {1}) - Quantity: {2}", _ + Console.WriteLine(vbTab & "Product: {0} (Price: {1}) - Quantity: {2}", item.ProductID, item.UnitPrice, item.Quantity) Next Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -1466,10 +1461,10 @@ Public Class SourceVb ' Define a query that returns products based on a ' calculation that is determined on the client. Dim productsQuery = From p In context.Products - Where p.UnitPrice > - (basePrice - (basePrice * discount)) AndAlso - p.ProductName.Contains("bike") - Select p + Where p.UnitPrice > + (basePrice - (basePrice * discount)) AndAlso + p.ProductName.Contains("bike") + Select p ' Try @@ -1479,11 +1474,11 @@ Public Class SourceVb ' Enumerate over the results of the query. For Each prod As Product In productsQuery - Console.WriteLine("Product ID: {0} ({1}) - Unit price: {2}", _ + Console.WriteLine("Product ID: {0} ({1}) - Unit price: {2}", prod.ProductID, prod.ProductName, prod.UnitPrice) Next Catch ex As DataServiceQueryException - Throw New ApplicationException( _ + Throw New ApplicationException( "An error occurred during query execution.", ex) End Try ' @@ -1500,17 +1495,17 @@ Public Class SourceVb AddHandler context.SendingRequest, AddressOf OnSendingRequest ' Define a query for orders with a Freight value greater than 30. - Dim query = From cust In context.Customers _ - Where cust.Country = "Germany" _ - Select cust + Dim query = From cust In context.Customers + Where cust.Country = "Germany" + Select cust Try ' Enumerate to execute the query. For Each cust As Customer In query Console.WriteLine("Name: {0}" & Environment.NewLine & "Address:" & Environment.NewLine & "{1}" _ - & Environment.NewLine & "{2}, {3}", _ + & Environment.NewLine & "{2}, {3}", cust.CompanyName, cust.Address, cust.City, cust.Region) - Next + Next Catch ex As DataServiceQueryException Throw New ApplicationException( _ "An error occurred during query execution.", ex) diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.data.datatableextensions.asenumerable/vb/source.vb b/snippets/visualbasic/System.Data/DataTableExtensions/AsEnumerable/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.data.datatableextensions.asenumerable/vb/source.vb rename to snippets/visualbasic/System.Data/DataTableExtensions/AsEnumerable/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.CodeAnalysis.SuppressMessageAttribute/VB/program.vb b/snippets/visualbasic/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.CodeAnalysis.SuppressMessageAttribute/VB/program.vb rename to snippets/visualbasic/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/contractexample/vb/program.vb b/snippets/visualbasic/System.Diagnostics.Contracts/Contract/Ensures/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/contractexample/vb/program.vb rename to snippets/visualbasic/System.Diagnostics.Contracts/Contract/Ensures/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/contract.forallexample/vb/program.vb b/snippets/visualbasic/System.Diagnostics.Contracts/Contract/ForAll/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/contract.forallexample/vb/program.vb rename to snippets/visualbasic/System.Diagnostics.Contracts/Contract/ForAll/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.contracts.contractargumentvalidatorattribute/vb/ifthenthrow1.vb b/snippets/visualbasic/System.Diagnostics.Contracts/ContractArgumentValidatorAttribute/Overview/ifthenthrow1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.contracts.contractargumentvalidatorattribute/vb/ifthenthrow1.vb rename to snippets/visualbasic/System.Diagnostics.Contracts/ContractArgumentValidatorAttribute/Overview/ifthenthrow1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.contracts.contractargumentvalidatorattribute/vb/ifthenthrow2.vb b/snippets/visualbasic/System.Diagnostics.Contracts/ContractArgumentValidatorAttribute/Overview/ifthenthrow2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.contracts.contractargumentvalidatorattribute/vb/ifthenthrow2.vb rename to snippets/visualbasic/System.Diagnostics.Contracts/ContractArgumentValidatorAttribute/Overview/ifthenthrow2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.contracts.contractargumentvalidatorattribute/vb/ifthenthrow3.vb b/snippets/visualbasic/System.Diagnostics.Contracts/ContractArgumentValidatorAttribute/Overview/ifthenthrow3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.contracts.contractargumentvalidatorattribute/vb/ifthenthrow3.vb rename to snippets/visualbasic/System.Diagnostics.Contracts/ContractArgumentValidatorAttribute/Overview/ifthenthrow3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Diagnostics.Eventing.Reader.EventLogInformation/vb/attributes.vb b/snippets/visualbasic/System.Diagnostics.Eventing.Reader/EventLogInformation/Attributes/attributes.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Diagnostics.Eventing.Reader.EventLogInformation/vb/attributes.vb rename to snippets/visualbasic/System.Diagnostics.Eventing.Reader/EventLogInformation/Attributes/attributes.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefineDocument/VB/modulebuilder_definedocument.vb b/snippets/visualbasic/System.Diagnostics.SymbolStore/ISymbolDocumentWriter/Overview/modulebuilder_definedocument.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefineDocument/VB/modulebuilder_definedocument.vb rename to snippets/visualbasic/System.Diagnostics.SymbolStore/ISymbolDocumentWriter/Overview/modulebuilder_definedocument.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb b/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb rename to snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.eventsource.writeeventwithid/vb/module1.vb b/snippets/visualbasic/System.Diagnostics.Tracing/EventSource/WriteEventWithRelatedActivityId/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.eventsource.writeeventwithid/vb/module1.vb rename to snippets/visualbasic/System.Diagnostics.Tracing/EventSource/WriteEventWithRelatedActivityId/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ConditionalAttributeSample1/VB/cas.vb b/snippets/visualbasic/System.Diagnostics/ConditionalAttribute/Overview/cas.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ConditionalAttributeSample1/VB/cas.vb rename to snippets/visualbasic/System.Diagnostics/ConditionalAttribute/Overview/cas.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Diagnostics_ConsoleTraceListener/VB/consoletrace.vb b/snippets/visualbasic/System.Diagnostics/ConsoleTraceListener/Overview/consoletrace.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Diagnostics_ConsoleTraceListener/VB/consoletrace.vb rename to snippets/visualbasic/System.Diagnostics/ConsoleTraceListener/Overview/consoletrace.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.CorrelationManager/vb/module1.vb b/snippets/visualbasic/System.Diagnostics/CorrelationManager/Overview/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.CorrelationManager/vb/module1.vb rename to snippets/visualbasic/System.Diagnostics/CorrelationManager/Overview/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Diagnostics_CounterCreationData/VB/diagnostics_countercreationdata.vb b/snippets/visualbasic/System.Diagnostics/CounterCreationData/.ctor/diagnostics_countercreationdata.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Diagnostics_CounterCreationData/VB/diagnostics_countercreationdata.vb rename to snippets/visualbasic/System.Diagnostics/CounterCreationData/.ctor/diagnostics_countercreationdata.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterType.AverageCounter64/VB/averagecount32.vb b/snippets/visualbasic/System.Diagnostics/CounterCreationData/Overview/averagecount32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterType.AverageCounter64/VB/averagecount32.vb rename to snippets/visualbasic/System.Diagnostics/CounterCreationData/Overview/averagecount32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CounterCreationDataCollection_CounterCreationData/VB/countercreationdatacollection_ctor.vb b/snippets/visualbasic/System.Diagnostics/CounterCreationDataCollection/.ctor/countercreationdatacollection_ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CounterCreationDataCollection_CounterCreationData/VB/countercreationdatacollection_ctor.vb rename to snippets/visualbasic/System.Diagnostics/CounterCreationDataCollection/.ctor/countercreationdatacollection_ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CounterCreationDataCollection_CounterCreationDataCollection/VB/countercreationdatacollection_ctor.vb b/snippets/visualbasic/System.Diagnostics/CounterCreationDataCollection/.ctor/countercreationdatacollection_ctor1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CounterCreationDataCollection_CounterCreationDataCollection/VB/countercreationdatacollection_ctor.vb rename to snippets/visualbasic/System.Diagnostics/CounterCreationDataCollection/.ctor/countercreationdatacollection_ctor1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CounterCreationDataCollection_AddRange/VB/countercreationdatacollection_addrange.vb b/snippets/visualbasic/System.Diagnostics/CounterCreationDataCollection/AddRange/countercreationdatacollection_addrange.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CounterCreationDataCollection_AddRange/VB/countercreationdatacollection_addrange.vb rename to snippets/visualbasic/System.Diagnostics/CounterCreationDataCollection/AddRange/countercreationdatacollection_addrange.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CounterCreationDataCollection_Contains/VB/countercreationdatacollection_contains.vb b/snippets/visualbasic/System.Diagnostics/CounterCreationDataCollection/Contains/countercreationdatacollection_contains.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CounterCreationDataCollection_Contains/VB/countercreationdatacollection_contains.vb rename to snippets/visualbasic/System.Diagnostics/CounterCreationDataCollection/Contains/countercreationdatacollection_contains.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CounterCreationDataCollection_Insert_IndexOf/VB/countercreationdatacollection_insert_indexof.vb b/snippets/visualbasic/System.Diagnostics/CounterCreationDataCollection/IndexOf/countercreationdatacollection_insert_indexof.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CounterCreationDataCollection_Insert_IndexOf/VB/countercreationdatacollection_insert_indexof.vb rename to snippets/visualbasic/System.Diagnostics/CounterCreationDataCollection/IndexOf/countercreationdatacollection_insert_indexof.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CounterSample_Ctor_2/VB/countersample_ctor_2.vb b/snippets/visualbasic/System.Diagnostics/CounterSample/.ctor/countersample_ctor_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CounterSample_Ctor_2/VB/countersample_ctor_2.vb rename to snippets/visualbasic/System.Diagnostics/CounterSample/.ctor/countersample_ctor_2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/process_asyncstreams/VB/datareceivedevent.vb b/snippets/visualbasic/System.Diagnostics/DataReceivedEventArgs/Overview/datareceivedevent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/process_asyncstreams/VB/datareceivedevent.vb rename to snippets/visualbasic/System.Diagnostics/DataReceivedEventArgs/Overview/datareceivedevent.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/process_asyncstreams/VB/makefile b/snippets/visualbasic/System.Diagnostics/DataReceivedEventArgs/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/process_asyncstreams/VB/makefile rename to snippets/visualbasic/System.Diagnostics/DataReceivedEventArgs/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_CLR/process_asyncstreams/VB/net_async.vb b/snippets/visualbasic/System.Diagnostics/DataReceivedEventArgs/Overview/net_async.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/process_asyncstreams/VB/net_async.vb rename to snippets/visualbasic/System.Diagnostics/DataReceivedEventArgs/Overview/net_async.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/process_asyncstreams/VB/nmake_async.vb b/snippets/visualbasic/System.Diagnostics/DataReceivedEventArgs/Overview/nmake_async.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/process_asyncstreams/VB/nmake_async.vb rename to snippets/visualbasic/System.Diagnostics/DataReceivedEventArgs/Overview/nmake_async.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/process_asyncstreams/VB/sort_async.vb b/snippets/visualbasic/System.Diagnostics/DataReceivedEventArgs/Overview/sort_async.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/process_asyncstreams/VB/sort_async.vb rename to snippets/visualbasic/System.Diagnostics/DataReceivedEventArgs/Overview/sort_async.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DebuggerBrowsableAttribute/VB/module1.vb b/snippets/visualbasic/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DebuggerBrowsableAttribute/VB/module1.vb rename to snippets/visualbasic/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener/VB/binomial.vb b/snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Overview/binomial.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener/VB/binomial.vb rename to snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Overview/binomial.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener.WriteLine/VB/defaulttracelistener.vb b/snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Write/defaulttracelistener.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener.WriteLine/VB/defaulttracelistener.vb rename to snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Write/defaulttracelistener.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/EntryWrittenEventArgs_ctor2/VB/entrywritteneventargs_ctor2.vb b/snippets/visualbasic/System.Diagnostics/EntryWrittenEventArgs/.ctor/entrywritteneventargs_ctor2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/EntryWrittenEventArgs_ctor2/VB/entrywritteneventargs_ctor2.vb rename to snippets/visualbasic/System.Diagnostics/EntryWrittenEventArgs/.ctor/entrywritteneventargs_ctor2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/EntryWrittenEventArgs_ctor1/VB/entrywritteneventargs_ctor1.vb b/snippets/visualbasic/System.Diagnostics/EntryWrittenEventArgs/Overview/entrywritteneventargs_ctor1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/EntryWrittenEventArgs_ctor1/VB/entrywritteneventargs_ctor1.vb rename to snippets/visualbasic/System.Diagnostics/EntryWrittenEventArgs/Overview/entrywritteneventargs_ctor1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/eventlog_WriteEvent/VB/source.vb b/snippets/visualbasic/System.Diagnostics/EventInstance/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/eventlog_WriteEvent/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/EventInstance/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/EventLog_Exists_1/VB/eventlog_exists_1.vb b/snippets/visualbasic/System.Diagnostics/EventLog/Exists/eventlog_exists_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/EventLog_Exists_1/VB/eventlog_exists_1.vb rename to snippets/visualbasic/System.Diagnostics/EventLog/Exists/eventlog_exists_1.vb diff --git a/snippets/visualbasic/System.Diagnostics/EventLog/GetEventLogs/source.vb b/snippets/visualbasic/System.Diagnostics/EventLog/GetEventLogs/source.vb index 1f9384c1164..a42c0e6cbc8 100644 --- a/snippets/visualbasic/System.Diagnostics/EventLog/GetEventLogs/source.vb +++ b/snippets/visualbasic/System.Diagnostics/EventLog/GetEventLogs/source.vb @@ -5,15 +5,15 @@ Imports System.Threading Class MySample Public Shared Sub Main() Dim remoteEventLogs() As EventLog - + remoteEventLogs = EventLog.GetEventLogs("myServer") - + Console.WriteLine(("Number of logs on computer: " & remoteEventLogs.Length)) - + Dim log As EventLog For Each log In remoteEventLogs Console.WriteLine(("Log: " & log.Log)) Next log End Sub End Class -' \ No newline at end of file +' diff --git a/snippets/visualbasic/VS_Snippets_CLR/EventLogProperties/VB/source.vb b/snippets/visualbasic/System.Diagnostics/EventLog/GetEventLogs/source1.vb similarity index 96% rename from snippets/visualbasic/VS_Snippets_CLR/EventLogProperties/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/EventLog/GetEventLogs/source1.vb index 4169198ab29..3a6f4490892 100644 --- a/snippets/visualbasic/VS_Snippets_CLR/EventLogProperties/VB/source.vb +++ b/snippets/visualbasic/System.Diagnostics/EventLog/GetEventLogs/source1.vb @@ -6,7 +6,7 @@ Imports System.Diagnostics Imports Microsoft.Win32 Class EventLogProperties - + ' The main entry point for the sample application. Public Shared Sub Main() DisplayEventLogProperties() @@ -24,7 +24,7 @@ Class EventLogProperties ' Prompt the user for the overflow policy setting. Shared Sub GetNewOverflowSetting(ByRef logOverflow As OverflowAction, _ ByRef numDays As Int32) - + Console.Write("Enter the new overflow policy setting - [") Console.Write(" OverwriteOlder,") Console.Write(" DoNotOverwrite,") @@ -32,9 +32,9 @@ Class EventLogProperties Console.WriteLine("] : ") Dim input As String = Console.ReadLine() - + If Not String.IsNullOrEmpty(input) Then - + Select Case input.Trim().ToUpper(CultureInfo.InvariantCulture) Case "OVERWRITEOLDER" logOverflow = OverflowAction.OverwriteOlder @@ -58,25 +58,25 @@ Class EventLogProperties End Sub - + ' Shared Sub DisplayEventLogProperties() ' Iterate through the current set of event log files, ' displaying the property settings for each file. Dim eventLogs As EventLog() = EventLog.GetEventLogs() - + Dim e As EventLog For Each e In eventLogs Dim sizeKB As Int64 = 0 - + Console.WriteLine() Console.WriteLine("{0}:", e.LogDisplayName) Console.WriteLine(" Log name = " + ControlChars.Tab _ + ControlChars.Tab + " {0}", e.Log) Console.WriteLine(" Number of event log entries = {0}", e.Entries.Count.ToString()) - + ' Determine if there is an event log file for this event log. Dim regEventLog As RegistryKey regEventLog = Registry.LocalMachine.OpenSubKey( _ @@ -90,7 +90,7 @@ Class EventLogProperties Console.WriteLine(" Log file path = " + ControlChars.Tab _ + " {0}", temp.ToString()) Dim file As New FileInfo(temp.ToString()) - + ' Get the current size of the event log file. If file.Exists Then sizeKB = file.Length / 1024 @@ -105,14 +105,14 @@ Class EventLogProperties + " ") End If End If - + ' Display the maximum size and overflow settings. sizeKB = e.MaximumKilobytes Console.WriteLine(" Maximum size = " + ControlChars.Tab _ + " {0} kilobytes", sizeKB.ToString()) Console.WriteLine(" Overflow setting = " + ControlChars.Tab _ + " {0}", e.OverflowAction.ToString()) - + Select Case e.OverflowAction Case OverflowAction.OverwriteOlder Console.WriteLine(ControlChars.Tab + _ @@ -133,11 +133,11 @@ Class EventLogProperties ' ' - ' Display the current event log overflow settings, and + ' Display the current event log overflow settings, and ' prompt the user to input a new overflow setting. Shared Sub ChangeEventLogOverflowAction(logName As String) - If EventLog.Exists(logName) Then + If EventLog.Exists(logName) Then Dim inputLog As EventLog = New EventLog(logName) Console.WriteLine(" Event log {0}", inputLog.Log) @@ -156,11 +156,11 @@ Class EventLogProperties Else Console.WriteLine("Event log overflow policy was not modified.") End If - + Else Console.WriteLine("Event log {0} was not found.", logName) End If - + End Sub ' diff --git a/snippets/visualbasic/VS_Snippets_CLR/EventLog_WriteEntry_1_3/VB/eventlog_writeentry_1_3.vb b/snippets/visualbasic/System.Diagnostics/EventLog/WriteEntry/eventlog_writeentry_1_3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/EventLog_WriteEntry_1_3/VB/eventlog_writeentry_1_3.vb rename to snippets/visualbasic/System.Diagnostics/EventLog/WriteEntry/eventlog_writeentry_1_3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/EventLog_WriteEntry_4/VB/eventlog_writeentry_4.vb b/snippets/visualbasic/System.Diagnostics/EventLog/WriteEntry/eventlog_writeentry_4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/EventLog_WriteEntry_4/VB/eventlog_writeentry_4.vb rename to snippets/visualbasic/System.Diagnostics/EventLog/WriteEntry/eventlog_writeentry_4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/EventLog_WriteEntry_5/VB/eventlog_writeentry_5.vb b/snippets/visualbasic/System.Diagnostics/EventLog/WriteEntry/eventlog_writeentry_5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/EventLog_WriteEntry_5/VB/eventlog_writeentry_5.vb rename to snippets/visualbasic/System.Diagnostics/EventLog/WriteEntry/eventlog_writeentry_5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/EventLogEntry_Source/VB/eventlogentry_source.vb b/snippets/visualbasic/System.Diagnostics/EventLogEntry/Overview/eventlogentry_source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/EventLogEntry_Source/VB/eventlogentry_source.vb rename to snippets/visualbasic/System.Diagnostics/EventLogEntry/Overview/eventlogentry_source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/EventLogEntry_Item/VB/eventlogentry_item.vb b/snippets/visualbasic/System.Diagnostics/EventLogEntryCollection/Count/eventlogentry_item.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/EventLogEntry_Item/VB/eventlogentry_item.vb rename to snippets/visualbasic/System.Diagnostics/EventLogEntryCollection/Count/eventlogentry_item.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/EventLogEntry_CopyTo/VB/eventlogentry_copyto.vb b/snippets/visualbasic/System.Diagnostics/EventLogEntryCollection/Overview/eventlogentry_copyto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/EventLogEntry_CopyTo/VB/eventlogentry_copyto.vb rename to snippets/visualbasic/System.Diagnostics/EventLogEntryCollection/Overview/eventlogentry_copyto.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/EventLogEntryType_6/VB/eventlogentrytype_6.vb b/snippets/visualbasic/System.Diagnostics/EventLogEntryType/Overview/eventlogentrytype_6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/EventLogEntryType_6/VB/eventlogentrytype_6.vb rename to snippets/visualbasic/System.Diagnostics/EventLogEntryType/Overview/eventlogentrytype_6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/eventlogInstaller_Resources/VB/source.vb b/snippets/visualbasic/System.Diagnostics/EventLogInstaller/CategoryCount/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/eventlogInstaller_Resources/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/EventLogInstaller/CategoryCount/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/EventLogInstaller/VB/eventloginstaller.vb b/snippets/visualbasic/System.Diagnostics/EventLogInstaller/Overview/eventloginstaller.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/EventLogInstaller/VB/eventloginstaller.vb rename to snippets/visualbasic/System.Diagnostics/EventLogInstaller/Overview/eventloginstaller.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener.Ctors/VB/program.vb b/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/.ctor/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener.Ctors/VB/program.vb rename to snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/.ctor/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener/vb/program.vb b/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener/vb/program.vb rename to snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/EventLog_EventSourceCreation_Properties/VB/source.vb b/snippets/visualbasic/System.Diagnostics/EventSourceCreationData/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/EventLog_EventSourceCreation_Properties/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/EventSourceCreationData/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.CopyTo/VB/instdatacopyto.vb b/snippets/visualbasic/System.Diagnostics/InstanceData/Overview/instdatacopyto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.CopyTo/VB/instdatacopyto.vb rename to snippets/visualbasic/System.Diagnostics/InstanceData/Overview/instdatacopyto.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceDataCollection.ItemContains/VB/instdatacolitemcontains.vb b/snippets/visualbasic/System.Diagnostics/InstanceDataCollection/Contains/instdatacolitemcontains.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceDataCollection.ItemContains/VB/instdatacolitemcontains.vb rename to snippets/visualbasic/System.Diagnostics/InstanceDataCollection/Contains/instdatacolitemcontains.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.KeysValues/VB/instdatakeysvalues.vb b/snippets/visualbasic/System.Diagnostics/InstanceDataCollection/Overview/instdatakeysvalues.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.KeysValues/VB/instdatakeysvalues.vb rename to snippets/visualbasic/System.Diagnostics/InstanceDataCollection/Overview/instdatakeysvalues.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceDataCollectionCollection.ItemContains/VB/instdatacolcolitemcontains.vb b/snippets/visualbasic/System.Diagnostics/InstanceDataCollectionCollection/Contains/instdatacolcolitemcontains.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceDataCollectionCollection.ItemContains/VB/instdatacolcolitemcontains.vb rename to snippets/visualbasic/System.Diagnostics/InstanceDataCollectionCollection/Contains/instdatacolcolitemcontains.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/PerfCounter/VB/perfcounter.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounter/.ctor/perfcounter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/PerfCounter/VB/perfcounter.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounter/.ctor/perfcounter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterType.ElapsedTime/VB/elapsedtime.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounter/NextValue/elapsedtime.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterType.ElapsedTime/VB/elapsedtime.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounter/NextValue/elapsedtime.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatcreate.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatcreate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatcreate.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatcreate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatctor.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatctor.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatdelete.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatdelete.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatdelete.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatdelete.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatprops.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatprops.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatprops.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatprops.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatobjcountexists.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatobjcountexists.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatobjcountexists.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatobjcountexists.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatobjinstexists.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatobjinstexists.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatobjinstexists.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatobjinstexists.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatstatcountexists.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatcountexists.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatstatcountexists.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatcountexists.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatstatinstexists.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatinstexists.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatstatinstexists.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatinstexists.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/PerfCounter_ccd/VB/ccd.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/Create/ccd.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/PerfCounter_ccd/VB/ccd.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/Create/ccd.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategoryType/VB/program.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/Create/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategoryType/VB/program.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/Create/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetcat.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetcat.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetcat.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetcat.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetcount.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetcount.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetcount.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetcount.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetinst.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetinst.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetinst.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetinst.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.Class/VB/perfcountercatcreateexist.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/Overview/perfcountercatcreateexist.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.Class/VB/perfcountercatcreateexist.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/Overview/perfcountercatcreateexist.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterInstaller/VB/performancecounterinstaller.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterInstaller/Overview/performancecounterinstaller.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterInstaller/VB/performancecounterinstaller.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterInstaller/Overview/performancecounterinstaller.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Diag_Process_MemoryProperties64/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Process/BasePriority/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Diag_Process_MemoryProperties64/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Process/BasePriority/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/process_refresh/VB/process_refresh.vb b/snippets/visualbasic/System.Diagnostics/Process/Close/process_refresh.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/process_refresh/VB/process_refresh.vb rename to snippets/visualbasic/System.Diagnostics/Process/Close/process_refresh.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Process.EnableExited/VB/processexitedevent.vb b/snippets/visualbasic/System.Diagnostics/Process/EnableRaisingEvents/processexitedevent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Process.EnableExited/VB/processexitedevent.vb rename to snippets/visualbasic/System.Diagnostics/Process/EnableRaisingEvents/processexitedevent.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Process.GetProcesses_noexception/VB/processstaticget.vb b/snippets/visualbasic/System.Diagnostics/Process/GetCurrentProcess/processstaticget.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Process.GetProcesses_noexception/VB/processstaticget.vb rename to snippets/visualbasic/System.Diagnostics/Process/GetCurrentProcess/processstaticget.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Process.Id/VB/program.vb b/snippets/visualbasic/System.Diagnostics/Process/Id/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Process.Id/VB/program.vb rename to snippets/visualbasic/System.Diagnostics/Process/Id/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Process_GetProcessesByName2_2/VB/process_getprocessesbyname2_2.vb b/snippets/visualbasic/System.Diagnostics/Process/MachineName/process_getprocessesbyname2_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Process_GetProcessesByName2_2/VB/process_getprocessesbyname2_2.vb rename to snippets/visualbasic/System.Diagnostics/Process/MachineName/process_getprocessesbyname2_2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Process_MainWindowTitle/VB/process_mainwindowtitle.vb b/snippets/visualbasic/System.Diagnostics/Process/MainWindowTitle/process_mainwindowtitle.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Process_MainWindowTitle/VB/process_mainwindowtitle.vb rename to snippets/visualbasic/System.Diagnostics/Process/MainWindowTitle/process_mainwindowtitle.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/onexitsample/vb/program.vb b/snippets/visualbasic/System.Diagnostics/Process/OnExited/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/onexitsample/vb/program.vb rename to snippets/visualbasic/System.Diagnostics/Process/OnExited/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Process.Start_instance/VB/processstart.vb b/snippets/visualbasic/System.Diagnostics/Process/Overview/processstart.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Process.Start_instance/VB/processstart.vb rename to snippets/visualbasic/System.Diagnostics/Process/Overview/processstart.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Process.Start_static/VB/processstartstatic.vb b/snippets/visualbasic/System.Diagnostics/Process/Overview/processstartstatic.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Process.Start_static/VB/processstartstatic.vb rename to snippets/visualbasic/System.Diagnostics/Process/Overview/processstartstatic.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Process.Start_static/VB/processstartstatic2.vb b/snippets/visualbasic/System.Diagnostics/Process/Overview/processstartstatic2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Process.Start_static/VB/processstartstatic2.vb rename to snippets/visualbasic/System.Diagnostics/Process/Overview/processstartstatic2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Process.Start_static/VB/processstartstatic3.vb b/snippets/visualbasic/System.Diagnostics/Process/Overview/processstartstatic3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Process.Start_static/VB/processstartstatic3.vb rename to snippets/visualbasic/System.Diagnostics/Process/Overview/processstartstatic3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Process_StandardError/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Process/StandardError/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Process_StandardError/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Process/StandardError/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Process_StandardInput/VB/process_standardinput.vb b/snippets/visualbasic/System.Diagnostics/Process/StandardInput/process_standardinput.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Process_StandardInput/VB/process_standardinput.vb rename to snippets/visualbasic/System.Diagnostics/Process/StandardInput/process_standardinput.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Process_StandardOutput/VB/process_standardoutput.vb b/snippets/visualbasic/System.Diagnostics/Process/StandardOutput/process_standardoutput.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Process_StandardOutput/VB/process_standardoutput.vb rename to snippets/visualbasic/System.Diagnostics/Process/StandardOutput/process_standardoutput.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Process.Start/VB/program.vb b/snippets/visualbasic/System.Diagnostics/Process/Start/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Process.Start/VB/program.vb rename to snippets/visualbasic/System.Diagnostics/Process/Start/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Process_SynchronizingObject/VB/process_synchronizingobject.vb b/snippets/visualbasic/System.Diagnostics/Process/SynchronizingObject/process_synchronizingobject.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Process_SynchronizingObject/VB/process_synchronizingobject.vb rename to snippets/visualbasic/System.Diagnostics/Process/SynchronizingObject/process_synchronizingobject.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Process_SynchronizingObject/VB/remarks.vb b/snippets/visualbasic/System.Diagnostics/Process/SynchronizingObject/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Process_SynchronizingObject/VB/remarks.vb rename to snippets/visualbasic/System.Diagnostics/Process/SynchronizingObject/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/process_sample/VB/process_sample.vb b/snippets/visualbasic/System.Diagnostics/Process/WorkingSet/process_sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/process_sample/VB/process_sample.vb rename to snippets/visualbasic/System.Diagnostics/Process/WorkingSet/process_sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ProcessModule_BaseAddress/VB/processmodule_baseaddress.vb b/snippets/visualbasic/System.Diagnostics/ProcessModule/BaseAddress/processmodule_baseaddress.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ProcessModule_BaseAddress/VB/processmodule_baseaddress.vb rename to snippets/visualbasic/System.Diagnostics/ProcessModule/BaseAddress/processmodule_baseaddress.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ProcessModule_EntryPoint/VB/processmodule_entrypoint.vb b/snippets/visualbasic/System.Diagnostics/ProcessModule/EntryPointAddress/processmodule_entrypoint.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ProcessModule_EntryPoint/VB/processmodule_entrypoint.vb rename to snippets/visualbasic/System.Diagnostics/ProcessModule/EntryPointAddress/processmodule_entrypoint.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ProcessModule_FileName/VB/processmodule_filename.vb b/snippets/visualbasic/System.Diagnostics/ProcessModule/FileName/processmodule_filename.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ProcessModule_FileName/VB/processmodule_filename.vb rename to snippets/visualbasic/System.Diagnostics/ProcessModule/FileName/processmodule_filename.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ProcessModule_FileVersionInfo/VB/processmodule_fileversioninfo.vb b/snippets/visualbasic/System.Diagnostics/ProcessModule/FileVersionInfo/processmodule_fileversioninfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ProcessModule_FileVersionInfo/VB/processmodule_fileversioninfo.vb rename to snippets/visualbasic/System.Diagnostics/ProcessModule/FileVersionInfo/processmodule_fileversioninfo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ProcessModule_ModuleMemorySize/VB/processmodule_modulememorysize.vb b/snippets/visualbasic/System.Diagnostics/ProcessModule/ModuleMemorySize/processmodule_modulememorysize.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ProcessModule_ModuleMemorySize/VB/processmodule_modulememorysize.vb rename to snippets/visualbasic/System.Diagnostics/ProcessModule/ModuleMemorySize/processmodule_modulememorysize.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ProcessModule_ModuleName/VB/processmodule_modulename.vb b/snippets/visualbasic/System.Diagnostics/ProcessModule/ModuleName/processmodule_modulename.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ProcessModule_ModuleName/VB/processmodule_modulename.vb rename to snippets/visualbasic/System.Diagnostics/ProcessModule/ModuleName/processmodule_modulename.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ProcessModule/VB/processmodule.vb b/snippets/visualbasic/System.Diagnostics/ProcessModule/Overview/processmodule.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ProcessModule/VB/processmodule.vb rename to snippets/visualbasic/System.Diagnostics/ProcessModule/Overview/processmodule.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ProcessModule_ToString/VB/processmodule_tostring.vb b/snippets/visualbasic/System.Diagnostics/ProcessModule/ToString/processmodule_tostring.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ProcessModule_ToString/VB/processmodule_tostring.vb rename to snippets/visualbasic/System.Diagnostics/ProcessModule/ToString/processmodule_tostring.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ProcessOneStream/VB/stdstr.vb b/snippets/visualbasic/System.Diagnostics/ProcessStartInfo/RedirectStandardOutput/stdstr.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ProcessOneStream/VB/stdstr.vb rename to snippets/visualbasic/System.Diagnostics/ProcessStartInfo/RedirectStandardOutput/stdstr.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ProcessVerbs_Diagnostics/VB/source.vb b/snippets/visualbasic/System.Diagnostics/ProcessStartInfo/Verb/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ProcessVerbs_Diagnostics/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/ProcessStartInfo/Verb/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ProcessThreadIdealProcessor/VB/program.vb b/snippets/visualbasic/System.Diagnostics/ProcessThread/IdealProcessor/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ProcessThreadIdealProcessor/VB/program.vb rename to snippets/visualbasic/System.Diagnostics/ProcessThread/IdealProcessor/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource/VB/program.vb b/snippets/visualbasic/System.Diagnostics/SourceFilter/.ctor/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource/VB/program.vb rename to snippets/visualbasic/System.Diagnostics/SourceFilter/.ctor/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/StackTraceSample3/VB/stacktracesample3.vb b/snippets/visualbasic/System.Diagnostics/StackFrame/GetMethod/stacktracesample3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/StackTraceSample3/VB/stacktracesample3.vb rename to snippets/visualbasic/System.Diagnostics/StackFrame/GetMethod/stacktracesample3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/stackframesample2/vb/program.vb b/snippets/visualbasic/System.Diagnostics/StackFrame/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/stackframesample2/vb/program.vb rename to snippets/visualbasic/System.Diagnostics/StackFrame/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/StackFrameSample1/VB/source.vb b/snippets/visualbasic/System.Diagnostics/StackFrame/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/StackFrameSample1/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/StackFrame/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/StackTraceSample2/VB/stacktracesample2.vb b/snippets/visualbasic/System.Diagnostics/StackTrace/GetFrames/stacktracesample2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/StackTraceSample2/VB/stacktracesample2.vb rename to snippets/visualbasic/System.Diagnostics/StackTrace/GetFrames/stacktracesample2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/StackTraceSample1/VB/stacktracesample1.vb b/snippets/visualbasic/System.Diagnostics/StackTrace/Overview/stacktracesample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/StackTraceSample1/VB/stacktracesample1.vb rename to snippets/visualbasic/System.Diagnostics/StackTrace/Overview/stacktracesample1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/StopWatchPerfSample/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Stopwatch/Overview/source.vb similarity index 93% rename from snippets/visualbasic/VS_Snippets_CLR/StopWatchPerfSample/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Stopwatch/Overview/source.vb index 4b28b81100d..466d10172f7 100644 --- a/snippets/visualbasic/VS_Snippets_CLR/StopWatchPerfSample/VB/source.vb +++ b/snippets/visualbasic/System.Diagnostics/Stopwatch/Overview/source.vb @@ -4,20 +4,19 @@ Imports System.Diagnostics Class OperationsTimer - + Public Shared Sub Main() DisplayTimerProperties() - + Console.WriteLine() Console.WriteLine("Press the Enter key to begin:") Console.ReadLine() Console.WriteLine() - + TimeOperations() End Sub - - -' + + ' Public Shared Sub DisplayTimerProperties() ' Display the timer frequency and resolution. @@ -26,30 +25,30 @@ Class OperationsTimer Else Console.WriteLine("Operations timed using the DateTime class.") End If - + Dim frequency As Long = Stopwatch.Frequency Console.WriteLine(" Timer frequency in ticks per second = {0}", frequency) Dim nanosecPerTick As Long = 1000000000 / frequency Console.WriteLine(" Timer is accurate within {0} nanoseconds", nanosecPerTick) End Sub - -' -' + ' + + ' Private Shared Sub TimeOperations() Dim nanosecPerTick As Long = 1000000000 / Stopwatch.Frequency Const numIterations As Long = 10000 - + ' Define the operation title names. Dim operationNames As String() = _ {"Operation: Int32.Parse(""0"")", _ "Operation: Int32.TryParse(""0"")", _ "Operation: Int32.Parse(""a"")", _ "Operation: Int32.TryParse(""a"")"} - - ' Time four different implementations for parsing - ' an integer from a string. + + ' Time four different implementations for parsing + ' an integer from a string. Dim operation As Integer For operation = 0 To 3 @@ -62,9 +61,9 @@ Class OperationsTimer Dim indexFastest As Integer = - 1 Dim indexSlowest As Integer = - 1 Dim milliSec As Long = 0 - + Dim time10kOperations As Stopwatch = Stopwatch.StartNew() - + ' Run the current operation 10001 times. ' The first execution time will be tossed ' out, since it can skew the average time. @@ -74,20 +73,20 @@ Class OperationsTimer Dim ticksThisTime As Long = 0 Dim inputNum As Integer Dim timePerParse As Stopwatch - + Select Case operation Case 0 ' Parse a valid integer using ' a try-catch statement. ' Start a new stopwatch timer. timePerParse = Stopwatch.StartNew() - + Try inputNum = Int32.Parse("0") Catch e As FormatException inputNum = 0 End Try - + ' Stop the timer, and save the ' elapsed ticks for the operation. timePerParse.Stop() @@ -97,11 +96,11 @@ Class OperationsTimer ' the TryParse statement. ' Start a new stopwatch timer. timePerParse = Stopwatch.StartNew() - + If Not Int32.TryParse("0", inputNum) Then inputNum = 0 End If - + ' Stop the timer, and save the ' elapsed ticks for the operation. timePerParse.Stop() @@ -111,13 +110,13 @@ Class OperationsTimer ' a try-catch statement. ' Start a new stopwatch timer. timePerParse = Stopwatch.StartNew() - + Try inputNum = Int32.Parse("a") Catch e As FormatException inputNum = 0 End Try - + ' Stop the timer, and save the ' elapsed ticks for the operation. timePerParse.Stop() @@ -127,20 +126,20 @@ Class OperationsTimer ' the TryParse statement. ' Start a new stopwatch timer. timePerParse = Stopwatch.StartNew() - + If Not Int32.TryParse("a", inputNum) Then inputNum = 0 End If - + ' Stop the timer, and save the ' elapsed ticks for the operation. timePerParse.Stop() ticksThisTime = timePerParse.ElapsedTicks - + Case Else End Select ' - + ' Skip over the time for the first operation, ' just in case it caused a one-time ' performance hit. @@ -148,7 +147,7 @@ Class OperationsTimer time10kOperations.Reset() time10kOperations.Start() Else - + ' Update operation statistics ' for iterations 1-10001. If maxTicks < ticksThisTime Then @@ -166,11 +165,11 @@ Class OperationsTimer End If End If Next i - + ' Display the statistics for 10000 iterations. time10kOperations.Stop() milliSec = time10kOperations.ElapsedMilliseconds - + Console.WriteLine() Console.WriteLine("{0} Summary:", operationNames(operation)) Console.WriteLine(" Slowest time: #{0}/{1} = {2} ticks", _ @@ -185,6 +184,6 @@ Class OperationsTimer Next operation End Sub + ' End Class -' -' \ No newline at end of file +' diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Stopwatch/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Stopwatch/Overview/source1.vb similarity index 97% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Stopwatch/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Stopwatch/Overview/source1.vb index c27294243a7..403b9c14ee2 100644 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Stopwatch/VB/source.vb +++ b/snippets/visualbasic/System.Diagnostics/Stopwatch/Overview/source1.vb @@ -2,7 +2,6 @@ Imports System.Diagnostics Imports System.Threading - Class Program Shared Sub Main(ByVal args() As String) @@ -19,4 +18,4 @@ Class Program End Sub End Class -' \ No newline at end of file +' diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb b/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb rename to snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstream.vb b/snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstream.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstream.vb rename to snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstream.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstreamname.vb b/snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstreamname.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstreamname.vb rename to snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstreamname.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstring.vb b/snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstring.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstring.vb rename to snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstring.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstringname.vb b/snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstringname.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstringname.vb rename to snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstringname.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconwritername.vb b/snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconwritername.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconwritername.vb rename to snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconwritername.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.tracefilter/vb/source.vb b/snippets/visualbasic/System.Diagnostics/TraceFilter/ShouldTrace/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.tracefilter/vb/source.vb rename to snippets/visualbasic/System.Diagnostics/TraceFilter/ShouldTrace/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceListener.CustomAttributes/vb/program.vb b/snippets/visualbasic/System.Diagnostics/TraceListener/GetSupportedAttributes/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceListener.CustomAttributes/vb/program.vb rename to snippets/visualbasic/System.Diagnostics/TraceListener/GetSupportedAttributes/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.XmlWriterTraceListener/VB/module1.vb b/snippets/visualbasic/System.Diagnostics/XmlWriterTraceListener/Overview/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.XmlWriterTraceListener/VB/module1.vb rename to snippets/visualbasic/System.Diagnostics/XmlWriterTraceListener/Overview/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/BitmapEditorExample/VB/usercontrol1.vb b/snippets/visualbasic/System.Drawing.Design/BitmapEditor/Overview/usercontrol1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/BitmapEditorExample/VB/usercontrol1.vb rename to snippets/visualbasic/System.Drawing.Design/BitmapEditor/Overview/usercontrol1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/CategoryNameCollectionExample/VB/toolboxcategorynamescontrol.vb b/snippets/visualbasic/System.Drawing.Design/CategoryNameCollection/Overview/toolboxcategorynamescontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/CategoryNameCollectionExample/VB/toolboxcategorynamescontrol.vb rename to snippets/visualbasic/System.Drawing.Design/CategoryNameCollection/Overview/toolboxcategorynamescontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IToolboxServiceExample1/VB/itoolboxservicecontrol.vb b/snippets/visualbasic/System.Drawing.Design/IToolboxService/Overview/itoolboxservicecontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IToolboxServiceExample1/VB/itoolboxservicecontrol.vb rename to snippets/visualbasic/System.Drawing.Design/IToolboxService/Overview/itoolboxservicecontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ToolboxCreatorCallbackSample/VB/textdatatextboxcomponent.vb b/snippets/visualbasic/System.Drawing.Design/IToolboxService/Overview/textdatatextboxcomponent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ToolboxCreatorCallbackSample/VB/textdatatextboxcomponent.vb rename to snippets/visualbasic/System.Drawing.Design/IToolboxService/Overview/textdatatextboxcomponent.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ToolboxItemCollectionExample/VB/class1.vb b/snippets/visualbasic/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ToolboxItemCollectionExample/VB/class1.vb rename to snippets/visualbasic/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AngleEditor/VB/angleeditor.vb b/snippets/visualbasic/System.Drawing.Design/UITypeEditor/Overview/angleeditor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/AngleEditor/VB/angleeditor.vb rename to snippets/visualbasic/System.Drawing.Design/UITypeEditor/Overview/angleeditor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.DocumentDesigner/VB/makefile b/snippets/visualbasic/System.Drawing.Design/UITypeEditorEditStyle/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.DocumentDesigner/VB/makefile rename to snippets/visualbasic/System.Drawing.Design/UITypeEditorEditStyle/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.DocumentDesigner/VB/marqueeborder.vb b/snippets/visualbasic/System.Drawing.Design/UITypeEditorEditStyle/Overview/marqueeborder.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.DocumentDesigner/VB/marqueeborder.vb rename to snippets/visualbasic/System.Drawing.Design/UITypeEditorEditStyle/Overview/marqueeborder.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/VB/form1.vb b/snippets/visualbasic/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ConstructingDrawingPaths/VB/Class1.vb b/snippets/visualbasic/System.Drawing.Drawing2D/FillMode/Overview/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ConstructingDrawingPaths/VB/Class1.vb rename to snippets/visualbasic/System.Drawing.Drawing2D/FillMode/Overview/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/x509certificate2/vb/Project.csproj b/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/Project.csproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/x509certificate2/vb/Project.csproj rename to snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/Project.csproj diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/VB/form1.vb b/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingABrush/VB/Class1.vb b/snippets/visualbasic/System.Drawing.Drawing2D/HatchBrush/Overview/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingABrush/VB/Class1.vb rename to snippets/visualbasic/System.Drawing.Drawing2D/HatchBrush/Overview/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/VB/form1.vb b/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingaGradientBrush/VB/Class1.vb b/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Overview/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingaGradientBrush/VB/Class1.vb rename to snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Overview/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing.Drawing2D/Matrix/Multiply/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Drawing2D/Matrix/Multiply/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/VB/form1.vb b/snippets/visualbasic/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RotateColors/VB/Form1.vb b/snippets/visualbasic/System.Drawing.Imaging/ColorMatrix/.ctor/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RotateColors/VB/Form1.vb rename to snippets/visualbasic/System.Drawing.Imaging/ColorMatrix/.ctor/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RecoloringImages/VB/Class1.vb b/snippets/visualbasic/System.Drawing.Imaging/ColorMatrix/Overview/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RecoloringImages/VB/Class1.vb rename to snippets/visualbasic/System.Drawing.Imaging/ColorMatrix/Overview/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Imaging.ClassicEncoderExample1/VB/form1.vb b/snippets/visualbasic/System.Drawing.Imaging/Encoder/ColorDepth/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Imaging.ClassicEncoderExample1/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Imaging/Encoder/ColorDepth/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImagingEncoder2/VB/form1.vb b/snippets/visualbasic/System.Drawing.Imaging/Encoder/Compression/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImagingEncoder2/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Imaging/Encoder/Compression/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassingImagingEncoder4/VB/form1.vb b/snippets/visualbasic/System.Drawing.Imaging/Encoder/SaveFlag/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassingImagingEncoder4/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Imaging/Encoder/SaveFlag/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImagingEncoderExample5/VB/form1.vb b/snippets/visualbasic/System.Drawing.Imaging/Encoder/Transformation/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImagingEncoderExample5/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Imaging/Encoder/Transformation/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/UsingImageEncodersDecoders/VB/Form1.vb b/snippets/visualbasic/System.Drawing.Imaging/EncoderParameter/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/UsingImageEncodersDecoders/VB/Form1.vb rename to snippets/visualbasic/System.Drawing.Imaging/EncoderParameter/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/VB/form1.vb b/snippets/visualbasic/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Imaging.ClassicImageCodecExample/VB/form1.vb b/snippets/visualbasic/System.Drawing.Imaging/ImageCodecInfo/GetImageEncoders/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Imaging.ClassicImageCodecExample/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Imaging/ImageCodecInfo/GetImageEncoders/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Margins.Left Example/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/Margins/Bottom/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Margins.Left Example/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/Margins/Bottom/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Margins Example/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/Margins/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Margins Example/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/Margins/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PageSettings Example/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/PageSettings/Landscape/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PageSettings Example/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/PageSettings/Landscape/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PageSettings.Margins Example/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/PageSettings/Margins/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PageSettings.Margins Example/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/PageSettings/Margins/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MiscBugDriven/VB/form1.vb b/snippets/visualbasic/System.Drawing.Printing/PageSettings/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MiscBugDriven/VB/form1.vb rename to snippets/visualbasic/System.Drawing.Printing/PageSettings/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrintDocument Example/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/PrintDocument/DefaultPageSettings/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrintDocument Example/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/PrintDocument/DefaultPageSettings/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument Example/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/PrintDocument/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument Example/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/PrintDocument/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrintPage Example/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/PrintDocument/Print/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrintPage Example/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/PrintDocument/Print/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrintController Example/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/PrintDocument/PrintController/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrintController Example/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/PrintDocument/PrintController/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrinterSettings Example/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/PrintDocument/PrinterSettings/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrinterSettings Example/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/PrintDocument/PrinterSettings/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintPageEventArgs Example/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/PrintPageEventArgs/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PrintPageEventArgs Example/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/PrintPageEventArgs/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Printing.PrinterSettingsEx/VB/Form1.vb b/snippets/visualbasic/System.Drawing.Printing/PrinterSettings/IsDefaultPrinter/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Printing.PrinterSettingsEx/VB/Form1.vb rename to snippets/visualbasic/System.Drawing.Printing/PrinterSettings/IsDefaultPrinter/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PrinterSettings Example/VB/source.vb b/snippets/visualbasic/System.Drawing.Printing/PrinterSettings/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PrinterSettings Example/VB/source.vb rename to snippets/visualbasic/System.Drawing.Printing/PrinterSettings/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb b/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BmpCtorAndSave/VB/form1.vb b/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BmpCtorAndSave/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Bitmap/.ctor/form11.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb b/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb b/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb rename to snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb b/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/BufferedGraphicsExample/VB/bufferingtest.vb b/snippets/visualbasic/System.Drawing/BufferedGraphics/Overview/bufferingtest.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/BufferedGraphicsExample/VB/bufferingtest.vb rename to snippets/visualbasic/System.Drawing/BufferedGraphics/Overview/bufferingtest.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/BufferingExamples/VB/bufferingexamples.vb b/snippets/visualbasic/System.Drawing/BufferedGraphics/Render/bufferingexamples.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/BufferingExamples/VB/bufferingexamples.vb rename to snippets/visualbasic/System.Drawing/BufferedGraphics/Render/bufferingexamples.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb b/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb rename to snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/VB/form1.vb b/snippets/visualbasic/System.Drawing/CharacterRange/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/VB/form1.vb rename to snippets/visualbasic/System.Drawing/CharacterRange/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb b/snippets/visualbasic/System.Drawing/Color/Name/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Color/Name/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb b/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Color/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Converters/VB/form1.vb b/snippets/visualbasic/System.Drawing/ColorConverter/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Converters/VB/form1.vb rename to snippets/visualbasic/System.Drawing/ColorConverter/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/ColorTranslator/FromHtml/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/ColorTranslator/FromHtml/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/Font/Clone/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Font/Clone/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.FontsExample/VB/form1.vb b/snippets/visualbasic/System.Drawing/Font/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.FontsExample/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Font/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/FontFamily/Equals/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/FontFamily/Equals/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/VB/form1.vb b/snippets/visualbasic/System.Drawing/Graphics/Clip/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Graphics/Clip/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Graphics.CopyFromScreen/VB/Form1.vb b/snippets/visualbasic/System.Drawing/Graphics/CopyFromScreen/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Graphics.CopyFromScreen/VB/Form1.vb rename to snippets/visualbasic/System.Drawing/Graphics/CopyFromScreen/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb b/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Graphics.EnumerateMetafile/VB/Form1.vb b/snippets/visualbasic/System.Drawing/Graphics/EnumerateMetafile/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Graphics.EnumerateMetafile/VB/Form1.vb rename to snippets/visualbasic/System.Drawing/Graphics/EnumerateMetafile/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb b/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb b/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImagingEndcoder3/VB/form1.vb b/snippets/visualbasic/System.Drawing/Image/Save/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImagingEndcoder3/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Image/Save/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImageAnimator/VB/form1.vb b/snippets/visualbasic/System.Drawing/ImageAnimator/Animate/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImageAnimator/VB/form1.vb rename to snippets/visualbasic/System.Drawing/ImageAnimator/Animate/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/Pen/Clone/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Pen/Clone/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRectangleExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/Rectangle/Inflate/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRectangleExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Rectangle/Inflate/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingAPen/VB/Class1.vb b/snippets/visualbasic/System.Drawing/Rectangle/Overview/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingAPen/VB/Class1.vb rename to snippets/visualbasic/System.Drawing/Rectangle/Overview/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRectangleFExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/RectangleF/Inflate/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRectangleFExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/RectangleF/Inflate/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/Region/Complement/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/StringFormat/GetTabStops/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/StringFormat/GetTabStops/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb b/snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb rename to snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/VB/usercontrol1.vb b/snippets/visualbasic/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/VB/usercontrol1.vb rename to snippets/visualbasic/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.dynamic.dynamicobject/vb/module1.vb b/snippets/visualbasic/System.Dynamic/DynamicObject/Overview/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.dynamic.dynamicobject/vb/module1.vb rename to snippets/visualbasic/System.Dynamic/DynamicObject/Overview/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Security/VB/employeeinformation.vb b/snippets/visualbasic/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Security/VB/employeeinformation.vb rename to snippets/visualbasic/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Security/VB/makefile b/snippets/visualbasic/System.EnterpriseServices/AccessChecksLevelOption/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Security/VB/makefile rename to snippets/visualbasic/System.EnterpriseServices/AccessChecksLevelOption/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices.ApplicationIDAttribute/VB/class1.vb b/snippets/visualbasic/System.EnterpriseServices/ApplicationIDAttribute/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices.ApplicationIDAttribute/VB/class1.vb rename to snippets/visualbasic/System.EnterpriseServices/ApplicationIDAttribute/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesApplicationQueuingAttribute/VB/class1.vb b/snippets/visualbasic/System.EnterpriseServices/ApplicationQueuingAttribute/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesApplicationQueuingAttribute/VB/class1.vb rename to snippets/visualbasic/System.EnterpriseServices/ApplicationQueuingAttribute/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesAutoCompleteAttribute/VB/class1.vb b/snippets/visualbasic/System.EnterpriseServices/AutoCompleteAttribute/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesAutoCompleteAttribute/VB/class1.vb rename to snippets/visualbasic/System.EnterpriseServices/AutoCompleteAttribute/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesContextUtil/VB/class1.vb b/snippets/visualbasic/System.EnterpriseServices/ContextUtil/ActivityId/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesContextUtil/VB/class1.vb rename to snippets/visualbasic/System.EnterpriseServices/ContextUtil/ActivityId/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Pooling/VB/inspector.vb b/snippets/visualbasic/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Pooling/VB/inspector.vb rename to snippets/visualbasic/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Pooling/VB/makefile b/snippets/visualbasic/System.EnterpriseServices/ContextUtil/ApplicationId/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Pooling/VB/makefile rename to snippets/visualbasic/System.EnterpriseServices/ContextUtil/ApplicationId/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Transaction/VB/makefile b/snippets/visualbasic/System.EnterpriseServices/ContextUtil/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Transaction/VB/makefile rename to snippets/visualbasic/System.EnterpriseServices/ContextUtil/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Transaction/VB/transaction.vb b/snippets/visualbasic/System.EnterpriseServices/ContextUtil/Overview/transaction.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Transaction/VB/transaction.vb rename to snippets/visualbasic/System.EnterpriseServices/ContextUtil/Overview/transaction.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmclient.vb b/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmclient.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmclient.vb rename to snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmclient.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb b/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb rename to snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/makefile b/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/makefile rename to snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesEventTrackingEnabledAttribute/VB/class1.vb b/snippets/visualbasic/System.EnterpriseServices/EventTrackingEnabledAttribute/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesEventTrackingEnabledAttribute/VB/class1.vb rename to snippets/visualbasic/System.EnterpriseServices/EventTrackingEnabledAttribute/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesInterfaceQueuingAttribute/VB/class1.vb b/snippets/visualbasic/System.EnterpriseServices/InterfaceQueuingAttribute/.ctor/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesInterfaceQueuingAttribute/VB/class1.vb rename to snippets/visualbasic/System.EnterpriseServices/InterfaceQueuingAttribute/.ctor/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesJustInTimeActivationAttribute/VB/class1.vb b/snippets/visualbasic/System.EnterpriseServices/JustInTimeActivationAttribute/.ctor/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesJustInTimeActivationAttribute/VB/class1.vb rename to snippets/visualbasic/System.EnterpriseServices/JustInTimeActivationAttribute/.ctor/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesLoadBalancingSupportedAttribute/VB/class1.vb b/snippets/visualbasic/System.EnterpriseServices/LoadBalancingSupportedAttribute/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesLoadBalancingSupportedAttribute/VB/class1.vb rename to snippets/visualbasic/System.EnterpriseServices/LoadBalancingSupportedAttribute/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesMustRunInClientContextAttribute/VB/class1.vb b/snippets/visualbasic/System.EnterpriseServices/MustRunInClientContextAttribute/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesMustRunInClientContextAttribute/VB/class1.vb rename to snippets/visualbasic/System.EnterpriseServices/MustRunInClientContextAttribute/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesObjectPoolingAttribute/VB/class1.vb b/snippets/visualbasic/System.EnterpriseServices/ObjectPoolingAttribute/.ctor/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesObjectPoolingAttribute/VB/class1.vb rename to snippets/visualbasic/System.EnterpriseServices/ObjectPoolingAttribute/.ctor/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesPrivateComponentAttribute/VB/class1.vb b/snippets/visualbasic/System.EnterpriseServices/PrivateComponentAttribute/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesPrivateComponentAttribute/VB/class1.vb rename to snippets/visualbasic/System.EnterpriseServices/PrivateComponentAttribute/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices Registration/VB/deployservicedcomponent.vb b/snippets/visualbasic/System.EnterpriseServices/RegistrationErrorInfo/Overview/deployservicedcomponent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices Registration/VB/deployservicedcomponent.vb rename to snippets/visualbasic/System.EnterpriseServices/RegistrationErrorInfo/Overview/deployservicedcomponent.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_SharedProperties/VB/receiptcounterclass.vb b/snippets/visualbasic/System.EnterpriseServices/SharedProperty/Overview/receiptcounterclass.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_SharedProperties/VB/receiptcounterclass.vb rename to snippets/visualbasic/System.EnterpriseServices/SharedProperty/Overview/receiptcounterclass.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesSynchronizationAttribute/VB/class1.vb b/snippets/visualbasic/System.EnterpriseServices/SynchronizationAttribute/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesSynchronizationAttribute/VB/class1.vb rename to snippets/visualbasic/System.EnterpriseServices/SynchronizationAttribute/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesSynchronizationOption/VB/class1.vb b/snippets/visualbasic/System.EnterpriseServices/SynchronizationOption/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesSynchronizationOption/VB/class1.vb rename to snippets/visualbasic/System.EnterpriseServices/SynchronizationOption/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesTransactionAttribute/VB/class1.vb b/snippets/visualbasic/System.EnterpriseServices/TransactionAttribute/.ctor/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesTransactionAttribute/VB/class1.vb rename to snippets/visualbasic/System.EnterpriseServices/TransactionAttribute/.ctor/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesTransactionIsolationLevel/VB/class1.vb b/snippets/visualbasic/System.EnterpriseServices/TransactionIsolationLevel/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesTransactionIsolationLevel/VB/class1.vb rename to snippets/visualbasic/System.EnterpriseServices/TransactionIsolationLevel/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesTransactionOption/VB/class1.vb b/snippets/visualbasic/System.EnterpriseServices/TransactionOption/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesTransactionOption/VB/class1.vb rename to snippets/visualbasic/System.EnterpriseServices/TransactionOption/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb b/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb rename to snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb b/snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb rename to snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.Eras/VB/yslin_japanesecalendar_eras.vb b/snippets/visualbasic/System.Globalization/Calendar/Eras/yslin_japanesecalendar_eras.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.Eras/VB/yslin_japanesecalendar_eras.vb rename to snippets/visualbasic/System.Globalization/Calendar/Eras/yslin_japanesecalendar_eras.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar_Compare/VB/calendar_compare.vb b/snippets/visualbasic/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar_Compare/VB/calendar_compare.vb rename to snippets/visualbasic/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar.GetWeekOfYear/VB/getweekofyearex1.vb b/snippets/visualbasic/System.Globalization/Calendar/GetWeekOfYear/getweekofyearex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar.GetWeekOfYear/VB/getweekofyearex1.vb rename to snippets/visualbasic/System.Globalization/Calendar/GetWeekOfYear/getweekofyearex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar.GetWeekOfYear/VB/yslin_calendar_getweekofyear.vb b/snippets/visualbasic/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar.GetWeekOfYear/VB/yslin_calendar_getweekofyear.vb rename to snippets/visualbasic/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb b/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb rename to snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.calendartype/VB/caltype.vb b/snippets/visualbasic/System.Globalization/CalendarAlgorithmType/Overview/caltype.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.glob.calendartype/VB/caltype.vb rename to snippets/visualbasic/System.Globalization/CalendarAlgorithmType/Overview/caltype.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendarweekrule/vb/calendarweekruleex.vb b/snippets/visualbasic/System.Globalization/CalendarWeekRule/Overview/calendarweekruleex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendarweekrule/vb/calendarweekruleex.vb rename to snippets/visualbasic/System.Globalization/CalendarWeekRule/Overview/calendarweekruleex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_String/VB/charunicodeinfo_string.vb b/snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetDecimalDigitValue/charunicodeinfo_string.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_String/VB/charunicodeinfo_string.vb rename to snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetDecimalDigitValue/charunicodeinfo_string.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.charunicodeinfo.getnumericvalue/vb/getnumericvalue1.vb b/snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetNumericValue/getnumericvalue1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.charunicodeinfo.getnumericvalue/vb/getnumericvalue1.vb rename to snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetNumericValue/getnumericvalue1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.charunicodeinfo.getunicodecategory/vb/getunicodecategory1.vb b/snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetUnicodeCategory/getunicodecategory1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.charunicodeinfo.getunicodecategory/vb/getunicodecategory1.vb rename to snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetUnicodeCategory/getunicodecategory1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_Char/VB/charunicodeinfo_char.vb b/snippets/visualbasic/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_Char/VB/charunicodeinfo_char.vb rename to snippets/visualbasic/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.compare/vb/compare1.vb b/snippets/visualbasic/System.Globalization/CompareInfo/Compare/compare1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.compare/vb/compare1.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/Compare/compare1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntIntStrIntInt/VB/comparestrintintstrintint.vb b/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrintintstrintint.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntIntStrIntInt/VB/comparestrintintstrintint.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrintintstrintint.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntIntStrIntIntOpt/VB/comparestrintintstrintintopt.vb b/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrintintstrintintopt.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntIntStrIntIntOpt/VB/comparestrintintstrintintopt.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrintintstrintintopt.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntStrInt/VB/comparestrintstrint.vb b/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrintstrint.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntStrInt/VB/comparestrintstrint.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrintstrint.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntStrIntOpt/VB/comparestrintstrintopt.vb b/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrintstrintopt.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntStrIntOpt/VB/comparestrintstrintopt.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrintstrintopt.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrStr/VB/comparestrstr.vb b/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrstr.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrStr/VB/comparestrstr.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrstr.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrStrOpt/VB/comparestrstropt.vb b/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrstropt.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrStrOpt/VB/comparestrstropt.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrstropt.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable1.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable1.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable11.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable11.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable11.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable13.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable13.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable13.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable13.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable14.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable14.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable14.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable14.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable15.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable15.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable15.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable15.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable16.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable16.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable16.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable16.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable2.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable2.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable3.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable3.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable4.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable4.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable5.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable5.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable7.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable7.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable8.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable8.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable8.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable8.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/indexof.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexof.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/indexof.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexof.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfInt/VB/indexofint.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofint.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfInt/VB/indexofint.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofint.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfIntInt/VB/indexofintint.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofintint.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfIntInt/VB/indexofintint.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofintint.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IsPrefixSuffix/VB/isprefixsuffix.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IsPrefix/isprefixsuffix.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IsPrefixSuffix/VB/isprefixsuffix.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IsPrefix/isprefixsuffix.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IsPrefixSuffixOpt/VB/isprefixsuffixopt.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IsPrefix/isprefixsuffixopt.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IsPrefixSuffixOpt/VB/isprefixsuffixopt.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IsPrefix/isprefixsuffixopt.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable1.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable1.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable11.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable11.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable11.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable14.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable14.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable14.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable14.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable15.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable15.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable15.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable15.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable16.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable16.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable16.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable16.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable2.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable2.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable3.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable3.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable4.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable4.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable5.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable5.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable6.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable6.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable7.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable7.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable8.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable8.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable8.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable8.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CompareInfo/VB/CompareInfo.vb b/snippets/visualbasic/System.Globalization/CompareInfo/Overview/CompareInfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CompareInfo/VB/CompareInfo.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/Overview/CompareInfo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/MathSample/VB/Project.vbproj b/snippets/visualbasic/System.Globalization/CompareOptions/Overview/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/MathSample/VB/Project.vbproj rename to snippets/visualbasic/System.Globalization/CompareOptions/Overview/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareOptions.StringSort/VB/Project.vbproj b/snippets/visualbasic/System.Globalization/CompareOptions/Overview/Project1.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareOptions.StringSort/VB/Project.vbproj rename to snippets/visualbasic/System.Globalization/CompareOptions/Overview/Project1.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareOptions.StringSort/VB/compareoptions_stringsort.vb b/snippets/visualbasic/System.Globalization/CompareOptions/Overview/compareoptions_stringsort.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareOptions.StringSort/VB/compareoptions_stringsort.vb rename to snippets/visualbasic/System.Globalization/CompareOptions/Overview/compareoptions_stringsort.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareOptions.Values/VB/compareoptions_values.vb b/snippets/visualbasic/System.Globalization/CompareOptions/Overview/compareoptions_values.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareOptions.Values/VB/compareoptions_values.vb rename to snippets/visualbasic/System.Globalization/CompareOptions/Overview/compareoptions_values.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib.saveLdml/vb/makefile b/snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/CreateFromLdml/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib.saveLdml/vb/makefile rename to snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/CreateFromLdml/makefile diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib.saveLdml/vb/sl.vb b/snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/CreateFromLdml/sl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib.saveLdml/vb/sl.vb rename to snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/CreateFromLdml/sl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib1/VB/carib.vb b/snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/CultureEnglishName/carib.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib1/VB/carib.vb rename to snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/CultureEnglishName/carib.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib1/VB/makefile b/snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/CultureEnglishName/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib1/VB/makefile rename to snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/CultureEnglishName/makefile diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureandregioninfobuilder.class/vb/car.vb b/snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/Overview/car.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureandregioninfobuilder.class/vb/car.vb rename to snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/Overview/car.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureandregioninfobuilder.class/vb/car.vbproj b/snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/Overview/car.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureandregioninfobuilder.class/vb/car.vbproj rename to snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/Overview/car.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib.register/VB/makefile b/snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/Register/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib.register/VB/makefile rename to snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/Register/makefile diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib.register/VB/persist.vb b/snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/Register/persist.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib.register/VB/persist.vb rename to snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/Register/persist.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib.unregister/VB/makefile b/snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/Unregister/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib.unregister/VB/makefile rename to snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/Unregister/makefile diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib.unregister/VB/unregister.vb b/snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/Unregister/unregister.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib.unregister/VB/unregister.vb rename to snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/Unregister/unregister.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.CultureInfo/vb/Change1.vb b/snippets/visualbasic/System.Globalization/CultureInfo/.ctor/Change1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.CultureInfo/vb/Change1.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/.ctor/Change1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.Clone/VB/yslin_cultureinfo_clone.vb b/snippets/visualbasic/System.Globalization/CultureInfo/Clone/yslin_cultureinfo_clone.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.Clone/VB/yslin_cultureinfo_clone.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/Clone/yslin_cultureinfo_clone.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.CreateSpecificCulture2/VB/createspecificculture2.vb b/snippets/visualbasic/System.Globalization/CultureInfo/CreateSpecificCulture/createspecificculture2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.CreateSpecificCulture2/VB/createspecificculture2.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/CreateSpecificCulture/createspecificculture2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureTypes/vb/ct.vb b/snippets/visualbasic/System.Globalization/CultureInfo/CultureTypes/ct.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureTypes/vb/ct.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/CultureTypes/ct.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentculture/vb/defaultculture1.vb b/snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentCulture/defaultculture1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentculture/vb/defaultculture1.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentCulture/defaultculture1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentculture/vb/defaultculture2.vb b/snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentCulture/defaultculture2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentculture/vb/defaultculture2.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentCulture/defaultculture2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentuiculture/vb/example1.vb b/snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentUICulture/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentuiculture/vb/example1.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentUICulture/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentuiculture/vb/example2.vb b/snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentUICulture/example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentuiculture/vb/example2.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentUICulture/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/Program.vb b/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/Program.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/Project.vbproj b/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/Project.vbproj rename to snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures.vb b/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures3.vb b/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures3.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.ci.getCFUIC/VB/cfuic.vb b/snippets/visualbasic/System.Globalization/CultureInfo/GetConsoleFallbackUICulture/cfuic.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.glob.ci.getCFUIC/VB/cfuic.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/GetConsoleFallbackUICulture/cfuic.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.IsNeutralCulture2/VB/neutralculture.vb b/snippets/visualbasic/System.Globalization/CultureInfo/IsNeutralCulture/neutralculture.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.IsNeutralCulture2/VB/neutralculture.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/IsNeutralCulture/neutralculture.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.ReadOnly/VB/yslin_cultureinfo_readonly.vb b/snippets/visualbasic/System.Globalization/CultureInfo/IsReadOnly/yslin_cultureinfo_readonly.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.ReadOnly/VB/yslin_cultureinfo_readonly.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/IsReadOnly/yslin_cultureinfo_readonly.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendarTypes/VB/gregoriancalendartypes.vb b/snippets/visualbasic/System.Globalization/CultureInfo/OptionalCalendars/gregoriancalendartypes.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendarTypes/VB/gregoriancalendartypes.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/OptionalCalendars/gregoriancalendartypes.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo_esES/VB/spanishspain.vb b/snippets/visualbasic/System.Globalization/CultureInfo/Overview/spanishspain.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo_esES/VB/spanishspain.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/Overview/spanishspain.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.Parent/VB/parentculture.vb b/snippets/visualbasic/System.Globalization/CultureInfo/Parent/parentculture.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.Parent/VB/parentculture.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/Parent/parentculture.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.twoletterisolanguagename/vb/twoletterisolanguagename1.vb b/snippets/visualbasic/System.Globalization/CultureInfo/TwoLetterISOLanguageName/twoletterisolanguagename1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.twoletterisolanguagename/vb/twoletterisolanguagename1.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/TwoLetterISOLanguageName/twoletterisolanguagename1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.abbreviateddaynames/vb/abbreviateddaynames1.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/AbbreviatedDayNames/abbreviateddaynames1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.abbreviateddaynames/vb/abbreviateddaynames1.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/AbbreviatedDayNames/abbreviateddaynames1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.abbreviatedmonthgenitivenames/vb/abbreviatedmonthnames1.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/AbbreviatedMonthGenitiveNames/abbreviatedmonthnames1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.abbreviatedmonthgenitivenames/vb/abbreviatedmonthnames1.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/AbbreviatedMonthGenitiveNames/abbreviatedmonthnames1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.DateTimeFormatInfo.Calendar/vb/CalendarTest1.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/Calendar/CalendarTest1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.DateTimeFormatInfo.Calendar/vb/CalendarTest1.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/Calendar/CalendarTest1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.DateTimeFormatInfo.CurrentInfo/vb/CurrentInfo1.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/CurrentInfo/CurrentInfo1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.DateTimeFormatInfo.CurrentInfo/vb/CurrentInfo1.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/CurrentInfo/CurrentInfo1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.dateseparator/vb/dateseparatorex.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/DateSeparator/dateseparatorex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.dateseparator/vb/dateseparatorex.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/DateSeparator/dateseparatorex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.FullDateTimePattern/VB/dtfi_fulldatetimepattern.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/FullDateTimePattern/dtfi_fulldatetimepattern.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.FullDateTimePattern/VB/dtfi_fulldatetimepattern.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/FullDateTimePattern/dtfi_fulldatetimepattern.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.getalldatetimepatterns/vb/getalldatetimepatternsex1.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetAllDateTimePatterns/getalldatetimepatternsex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.getalldatetimepatterns/vb/getalldatetimepatternsex1.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetAllDateTimePatterns/getalldatetimepatternsex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.getalldatetimepatterns/vb/getalldatetimepatternsex2.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetAllDateTimePatterns/getalldatetimepatternsex2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.getalldatetimepatterns/vb/getalldatetimepatternsex2.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetAllDateTimePatterns/getalldatetimepatternsex2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.getalldatetimepatterns/vb/getalldatetimepatternsinv.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetAllDateTimePatterns/getalldatetimepatternsinv.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.getalldatetimepatterns/vb/getalldatetimepatternsinv.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetAllDateTimePatterns/getalldatetimepatternsinv.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetEra/VB/gregorian_getera.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetEra/gregorian_getera.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetEra/VB/gregorian_getera.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetEra/gregorian_getera.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongDatePattern/VB/dtfi_longdatepattern.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongDatePattern/dtfi_longdatepattern.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongDatePattern/VB/dtfi_longdatepattern.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongDatePattern/dtfi_longdatepattern.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongDatePattern/VB/longdatepattern1.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongDatePattern/longdatepattern1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongDatePattern/VB/longdatepattern1.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongDatePattern/longdatepattern1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongDatePattern/VB/longdatepattern2.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongDatePattern/longdatepattern2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongDatePattern/VB/longdatepattern2.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongDatePattern/longdatepattern2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongTimePattern/VB/dtfi_longtimepattern.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongTimePattern/dtfi_longtimepattern.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongTimePattern/VB/dtfi_longtimepattern.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongTimePattern/dtfi_longtimepattern.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.MonthDayPattern/VB/dtfi_monthdaypattern.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/MonthDayPattern/dtfi_monthdaypattern.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.MonthDayPattern/VB/dtfi_monthdaypattern.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/MonthDayPattern/dtfi_monthdaypattern.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.class/vb/format1.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/Overview/format1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.class/vb/format1.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/Overview/format1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.RFC1123Pattern/VB/dtfi_rfc1123pattern.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/RFC1123Pattern/dtfi_rfc1123pattern.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.RFC1123Pattern/VB/dtfi_rfc1123pattern.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/RFC1123Pattern/dtfi_rfc1123pattern.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.setalldatetimepatterns/vb/setalldatetimepatterns.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/SetAllDateTimePatterns/setalldatetimepatterns.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.setalldatetimepatterns/vb/setalldatetimepatterns.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/SetAllDateTimePatterns/setalldatetimepatterns.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.ShortDatePattern/VB/dtfi_shortdatepattern.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/ShortDatePattern/dtfi_shortdatepattern.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.ShortDatePattern/VB/dtfi_shortdatepattern.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/ShortDatePattern/dtfi_shortdatepattern.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.ShortDatePattern/VB/shortdatepattern1.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/ShortDatePattern/shortdatepattern1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.ShortDatePattern/VB/shortdatepattern1.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/ShortDatePattern/shortdatepattern1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.ShortTimePattern/VB/dtfi_shorttimepattern.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/ShortTimePattern/dtfi_shorttimepattern.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.ShortTimePattern/VB/dtfi_shorttimepattern.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/ShortTimePattern/dtfi_shorttimepattern.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.SortableDateTimePattern/VB/dtfi_sortabledatetimepattern.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/SortableDateTimePattern/dtfi_sortabledatetimepattern.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.SortableDateTimePattern/VB/dtfi_sortabledatetimepattern.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/SortableDateTimePattern/dtfi_sortabledatetimepattern.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.timeseparator/vb/timeseparatorex.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/TimeSeparator/timeseparatorex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.timeseparator/vb/timeseparatorex.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/TimeSeparator/timeseparatorex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.UniversalSortableDateTimePattern/VB/dtfi_universalsortabledatetimepattern.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/UniversalSortableDateTimePattern/dtfi_universalsortabledatetimepattern.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.UniversalSortableDateTimePattern/VB/dtfi_universalsortabledatetimepattern.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/UniversalSortableDateTimePattern/dtfi_universalsortabledatetimepattern.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.YearMonthPattern/VB/dtfi_yearmonthpattern.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/YearMonthPattern/dtfi_yearmonthpattern.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.YearMonthPattern/VB/dtfi_yearmonthpattern.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/YearMonthPattern/dtfi_yearmonthpattern.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendarLocalized/VB/gregorianlocalized.vb b/snippets/visualbasic/System.Globalization/GregorianCalendar/.ctor/gregorianlocalized.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendarLocalized/VB/gregorianlocalized.vb rename to snippets/visualbasic/System.Globalization/GregorianCalendar/.ctor/gregorianlocalized.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_AddGet/VB/gregoriancalendar_addget.vb b/snippets/visualbasic/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_AddGet/VB/gregoriancalendar_addget.vb rename to snippets/visualbasic/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetDaysInMonth/VB/gregoriancalendar_getdaysinmonth.vb b/snippets/visualbasic/System.Globalization/GregorianCalendar/GetDaysInMonth/gregoriancalendar_getdaysinmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetDaysInMonth/VB/gregoriancalendar_getdaysinmonth.vb rename to snippets/visualbasic/System.Globalization/GregorianCalendar/GetDaysInMonth/gregoriancalendar_getdaysinmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetDaysInYear/VB/gregoriancalendar_getdaysinyear.vb b/snippets/visualbasic/System.Globalization/GregorianCalendar/GetDaysInYear/gregoriancalendar_getdaysinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetDaysInYear/VB/gregoriancalendar_getdaysinyear.vb rename to snippets/visualbasic/System.Globalization/GregorianCalendar/GetDaysInYear/gregoriancalendar_getdaysinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetMonthsInYear/VB/gregoriancalendar_getmonthsinyear.vb b/snippets/visualbasic/System.Globalization/GregorianCalendar/GetMonthsInYear/gregoriancalendar_getmonthsinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetMonthsInYear/VB/gregoriancalendar_getmonthsinyear.vb rename to snippets/visualbasic/System.Globalization/GregorianCalendar/GetMonthsInYear/gregoriancalendar_getmonthsinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.IsLeapDay/VB/gregoriancalendar_isleapday.vb b/snippets/visualbasic/System.Globalization/GregorianCalendar/IsLeapDay/gregoriancalendar_isleapday.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.IsLeapDay/VB/gregoriancalendar_isleapday.vb rename to snippets/visualbasic/System.Globalization/GregorianCalendar/IsLeapDay/gregoriancalendar_isleapday.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.IsLeapMonth/VB/gregoriancalendar_isleapmonth.vb b/snippets/visualbasic/System.Globalization/GregorianCalendar/IsLeapMonth/gregoriancalendar_isleapmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.IsLeapMonth/VB/gregoriancalendar_isleapmonth.vb rename to snippets/visualbasic/System.Globalization/GregorianCalendar/IsLeapMonth/gregoriancalendar_isleapmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.IsLeapYear/VB/gregoriancalendar_isleapyear.vb b/snippets/visualbasic/System.Globalization/GregorianCalendar/IsLeapYear/gregoriancalendar_isleapyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.IsLeapYear/VB/gregoriancalendar_isleapyear.vb rename to snippets/visualbasic/System.Globalization/GregorianCalendar/IsLeapYear/gregoriancalendar_isleapyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_MinMax/VB/gregoriancalendar_minmax.vb b/snippets/visualbasic/System.Globalization/GregorianCalendar/MaxSupportedDateTime/gregoriancalendar_minmax.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_MinMax/VB/gregoriancalendar_minmax.vb rename to snippets/visualbasic/System.Globalization/GregorianCalendar/MaxSupportedDateTime/gregoriancalendar_minmax.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.gregoriancalendar.class/vb/minimum1.vb b/snippets/visualbasic/System.Globalization/GregorianCalendar/Overview/minimum1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.gregoriancalendar.class/vb/minimum1.vb rename to snippets/visualbasic/System.Globalization/GregorianCalendar/Overview/minimum1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_AddGet/VB/hebrewcalendar_addget.vb b/snippets/visualbasic/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_AddGet/VB/hebrewcalendar_addget.vb rename to snippets/visualbasic/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.GetDaysInMonth/VB/hebrewcalendar_getdaysinmonth.vb b/snippets/visualbasic/System.Globalization/HebrewCalendar/GetDaysInMonth/hebrewcalendar_getdaysinmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.GetDaysInMonth/VB/hebrewcalendar_getdaysinmonth.vb rename to snippets/visualbasic/System.Globalization/HebrewCalendar/GetDaysInMonth/hebrewcalendar_getdaysinmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_GetDaysInYear/VB/hebrewcalendar_getdaysinyear.vb b/snippets/visualbasic/System.Globalization/HebrewCalendar/GetDaysInYear/hebrewcalendar_getdaysinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_GetDaysInYear/VB/hebrewcalendar_getdaysinyear.vb rename to snippets/visualbasic/System.Globalization/HebrewCalendar/GetDaysInYear/hebrewcalendar_getdaysinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.GetMonthsInYear/VB/hebrewcalendar_getmonthsinyear.vb b/snippets/visualbasic/System.Globalization/HebrewCalendar/GetMonthsInYear/hebrewcalendar_getmonthsinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.GetMonthsInYear/VB/hebrewcalendar_getmonthsinyear.vb rename to snippets/visualbasic/System.Globalization/HebrewCalendar/GetMonthsInYear/hebrewcalendar_getmonthsinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.IsLeapDay/VB/hebrewcalendar_isleapday.vb b/snippets/visualbasic/System.Globalization/HebrewCalendar/IsLeapDay/hebrewcalendar_isleapday.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.IsLeapDay/VB/hebrewcalendar_isleapday.vb rename to snippets/visualbasic/System.Globalization/HebrewCalendar/IsLeapDay/hebrewcalendar_isleapday.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.IsLeapMonth/VB/hebrewcalendar_isleapmonth.vb b/snippets/visualbasic/System.Globalization/HebrewCalendar/IsLeapMonth/hebrewcalendar_isleapmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.IsLeapMonth/VB/hebrewcalendar_isleapmonth.vb rename to snippets/visualbasic/System.Globalization/HebrewCalendar/IsLeapMonth/hebrewcalendar_isleapmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.IsLeapYear/VB/hebrewcalendar_isleapyear.vb b/snippets/visualbasic/System.Globalization/HebrewCalendar/IsLeapYear/hebrewcalendar_isleapyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.IsLeapYear/VB/hebrewcalendar_isleapyear.vb rename to snippets/visualbasic/System.Globalization/HebrewCalendar/IsLeapYear/hebrewcalendar_isleapyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_MinMax/VB/hebrewcalendar_minmax.vb b/snippets/visualbasic/System.Globalization/HebrewCalendar/MaxSupportedDateTime/hebrewcalendar_minmax.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_MinMax/VB/hebrewcalendar_minmax.vb rename to snippets/visualbasic/System.Globalization/HebrewCalendar/MaxSupportedDateTime/hebrewcalendar_minmax.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.hebrewcalendar.class/vb/example1.vb b/snippets/visualbasic/System.Globalization/HebrewCalendar/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.hebrewcalendar.class/vb/example1.vb rename to snippets/visualbasic/System.Globalization/HebrewCalendar/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_AddGet/VB/hijricalendar_addget.vb b/snippets/visualbasic/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_AddGet/VB/hijricalendar_addget.vb rename to snippets/visualbasic/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.GetDaysInMonth/VB/hijricalendar_getdaysinmonth.vb b/snippets/visualbasic/System.Globalization/HijriCalendar/GetDaysInMonth/hijricalendar_getdaysinmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.GetDaysInMonth/VB/hijricalendar_getdaysinmonth.vb rename to snippets/visualbasic/System.Globalization/HijriCalendar/GetDaysInMonth/hijricalendar_getdaysinmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.GetDaysInYear/VB/hijricalendar_getdaysinyear.vb b/snippets/visualbasic/System.Globalization/HijriCalendar/GetDaysInYear/hijricalendar_getdaysinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.GetDaysInYear/VB/hijricalendar_getdaysinyear.vb rename to snippets/visualbasic/System.Globalization/HijriCalendar/GetDaysInYear/hijricalendar_getdaysinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.GetMonthsInYear/VB/hijricalendar_getmonthsinyear.vb b/snippets/visualbasic/System.Globalization/HijriCalendar/GetMonthsInYear/hijricalendar_getmonthsinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.GetMonthsInYear/VB/hijricalendar_getmonthsinyear.vb rename to snippets/visualbasic/System.Globalization/HijriCalendar/GetMonthsInYear/hijricalendar_getmonthsinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.HijriAdjustment/VB/hijriadjustment.vb b/snippets/visualbasic/System.Globalization/HijriCalendar/HijriAdjustment/hijriadjustment.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.HijriAdjustment/VB/hijriadjustment.vb rename to snippets/visualbasic/System.Globalization/HijriCalendar/HijriAdjustment/hijriadjustment.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.IsLeapDay/VB/hijricalendar_isleapday.vb b/snippets/visualbasic/System.Globalization/HijriCalendar/IsLeapDay/hijricalendar_isleapday.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.IsLeapDay/VB/hijricalendar_isleapday.vb rename to snippets/visualbasic/System.Globalization/HijriCalendar/IsLeapDay/hijricalendar_isleapday.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.IsLeapMonth/VB/hijricalendar_isleapmonth.vb b/snippets/visualbasic/System.Globalization/HijriCalendar/IsLeapMonth/hijricalendar_isleapmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.IsLeapMonth/VB/hijricalendar_isleapmonth.vb rename to snippets/visualbasic/System.Globalization/HijriCalendar/IsLeapMonth/hijricalendar_isleapmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.IsLeapYear/VB/hijricalendar_isleapyear.vb b/snippets/visualbasic/System.Globalization/HijriCalendar/IsLeapYear/hijricalendar_isleapyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.IsLeapYear/VB/hijricalendar_isleapyear.vb rename to snippets/visualbasic/System.Globalization/HijriCalendar/IsLeapYear/hijricalendar_isleapyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_MinMax/VB/hijricalendar_minmax.vb b/snippets/visualbasic/System.Globalization/HijriCalendar/MaxSupportedDateTime/hijricalendar_minmax.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_MinMax/VB/hijricalendar_minmax.vb rename to snippets/visualbasic/System.Globalization/HijriCalendar/MaxSupportedDateTime/hijricalendar_minmax.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IdnMapping.GetX/VB/getx.vb b/snippets/visualbasic/System.Globalization/IdnMapping/GetAscii/getx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IdnMapping.GetX/VB/getx.vb rename to snippets/visualbasic/System.Globalization/IdnMapping/GetAscii/getx.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.idnmapping.getascii/vb/conversion1b.vb b/snippets/visualbasic/System.Globalization/IdnMapping/GetHashCode/conversion1b.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.idnmapping.getascii/vb/conversion1b.vb rename to snippets/visualbasic/System.Globalization/IdnMapping/GetHashCode/conversion1b.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.idnmapping.class/vb/conversion1.vb b/snippets/visualbasic/System.Globalization/IdnMapping/Overview/conversion1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.idnmapping.class/vb/conversion1.vb rename to snippets/visualbasic/System.Globalization/IdnMapping/Overview/conversion1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.idnmapping.usestd3asciirules/vb/usestd3asciirules1.vb b/snippets/visualbasic/System.Globalization/IdnMapping/UseStd3AsciiRules/usestd3asciirules1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.idnmapping.usestd3asciirules/vb/usestd3asciirules1.vb rename to snippets/visualbasic/System.Globalization/IdnMapping/UseStd3AsciiRules/usestd3asciirules1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_AddGet/VB/japanesecalendar_addget.vb b/snippets/visualbasic/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_AddGet/VB/japanesecalendar_addget.vb rename to snippets/visualbasic/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.GetDaysInMonth/VB/japanesecalendar_getdaysinmonth.vb b/snippets/visualbasic/System.Globalization/JapaneseCalendar/GetDaysInMonth/japanesecalendar_getdaysinmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.GetDaysInMonth/VB/japanesecalendar_getdaysinmonth.vb rename to snippets/visualbasic/System.Globalization/JapaneseCalendar/GetDaysInMonth/japanesecalendar_getdaysinmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.GetDaysInYear/VB/japanesecalendar_getdaysinyear.vb b/snippets/visualbasic/System.Globalization/JapaneseCalendar/GetDaysInYear/japanesecalendar_getdaysinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.GetDaysInYear/VB/japanesecalendar_getdaysinyear.vb rename to snippets/visualbasic/System.Globalization/JapaneseCalendar/GetDaysInYear/japanesecalendar_getdaysinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.GetMonthsInYear/VB/japanesecalendar_getmonthsinyear.vb b/snippets/visualbasic/System.Globalization/JapaneseCalendar/GetMonthsInYear/japanesecalendar_getmonthsinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.GetMonthsInYear/VB/japanesecalendar_getmonthsinyear.vb rename to snippets/visualbasic/System.Globalization/JapaneseCalendar/GetMonthsInYear/japanesecalendar_getmonthsinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.IsLeapDay/VB/japanesecalendar_isleapday.vb b/snippets/visualbasic/System.Globalization/JapaneseCalendar/IsLeapDay/japanesecalendar_isleapday.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.IsLeapDay/VB/japanesecalendar_isleapday.vb rename to snippets/visualbasic/System.Globalization/JapaneseCalendar/IsLeapDay/japanesecalendar_isleapday.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.IsLeapMonth/VB/japanesecalendar_isleapmonth.vb b/snippets/visualbasic/System.Globalization/JapaneseCalendar/IsLeapMonth/japanesecalendar_isleapmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.IsLeapMonth/VB/japanesecalendar_isleapmonth.vb rename to snippets/visualbasic/System.Globalization/JapaneseCalendar/IsLeapMonth/japanesecalendar_isleapmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.IsLeapYear/VB/japanesecalendar_isleapyear.vb b/snippets/visualbasic/System.Globalization/JapaneseCalendar/IsLeapYear/japanesecalendar_isleapyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.IsLeapYear/VB/japanesecalendar_isleapyear.vb rename to snippets/visualbasic/System.Globalization/JapaneseCalendar/IsLeapYear/japanesecalendar_isleapyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_MinMax/VB/japanesecalendar_minmax.vb b/snippets/visualbasic/System.Globalization/JapaneseCalendar/MaxSupportedDateTime/japanesecalendar_minmax.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_MinMax/VB/japanesecalendar_minmax.vb rename to snippets/visualbasic/System.Globalization/JapaneseCalendar/MaxSupportedDateTime/japanesecalendar_minmax.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_AddGet/VB/juliancalendar_addget.vb b/snippets/visualbasic/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_AddGet/VB/juliancalendar_addget.vb rename to snippets/visualbasic/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.GetDaysInMonth/VB/juliancalendar_getdaysinmonth.vb b/snippets/visualbasic/System.Globalization/JulianCalendar/GetDaysInMonth/juliancalendar_getdaysinmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.GetDaysInMonth/VB/juliancalendar_getdaysinmonth.vb rename to snippets/visualbasic/System.Globalization/JulianCalendar/GetDaysInMonth/juliancalendar_getdaysinmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.GetDaysInYear/VB/juliancalendar_getdaysinyear.vb b/snippets/visualbasic/System.Globalization/JulianCalendar/GetDaysInYear/juliancalendar_getdaysinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.GetDaysInYear/VB/juliancalendar_getdaysinyear.vb rename to snippets/visualbasic/System.Globalization/JulianCalendar/GetDaysInYear/juliancalendar_getdaysinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.GetMonthsInYear/VB/juliancalendar_getmonthsinyear.vb b/snippets/visualbasic/System.Globalization/JulianCalendar/GetMonthsInYear/juliancalendar_getmonthsinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.GetMonthsInYear/VB/juliancalendar_getmonthsinyear.vb rename to snippets/visualbasic/System.Globalization/JulianCalendar/GetMonthsInYear/juliancalendar_getmonthsinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.IsLeapDay/VB/juliancalendar_isleapday.vb b/snippets/visualbasic/System.Globalization/JulianCalendar/IsLeapDay/juliancalendar_isleapday.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.IsLeapDay/VB/juliancalendar_isleapday.vb rename to snippets/visualbasic/System.Globalization/JulianCalendar/IsLeapDay/juliancalendar_isleapday.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.IsLeapMonth/VB/juliancalendar_isleapmonth.vb b/snippets/visualbasic/System.Globalization/JulianCalendar/IsLeapMonth/juliancalendar_isleapmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.IsLeapMonth/VB/juliancalendar_isleapmonth.vb rename to snippets/visualbasic/System.Globalization/JulianCalendar/IsLeapMonth/juliancalendar_isleapmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.IsLeapYear/VB/juliancalendar_isleapyear.vb b/snippets/visualbasic/System.Globalization/JulianCalendar/IsLeapYear/juliancalendar_isleapyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.IsLeapYear/VB/juliancalendar_isleapyear.vb rename to snippets/visualbasic/System.Globalization/JulianCalendar/IsLeapYear/juliancalendar_isleapyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_MinMax/VB/juliancalendar_minmax.vb b/snippets/visualbasic/System.Globalization/JulianCalendar/MaxSupportedDateTime/juliancalendar_minmax.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_MinMax/VB/juliancalendar_minmax.vb rename to snippets/visualbasic/System.Globalization/JulianCalendar/MaxSupportedDateTime/juliancalendar_minmax.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_AddGet/VB/koreancalendar_addget.vb b/snippets/visualbasic/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_AddGet/VB/koreancalendar_addget.vb rename to snippets/visualbasic/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.GetDaysInMonth/VB/koreancalendar_getdaysinmonth.vb b/snippets/visualbasic/System.Globalization/KoreanCalendar/GetDaysInMonth/koreancalendar_getdaysinmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.GetDaysInMonth/VB/koreancalendar_getdaysinmonth.vb rename to snippets/visualbasic/System.Globalization/KoreanCalendar/GetDaysInMonth/koreancalendar_getdaysinmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.GetDaysInYear/VB/koreancalendar_getdaysinyear.vb b/snippets/visualbasic/System.Globalization/KoreanCalendar/GetDaysInYear/koreancalendar_getdaysinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.GetDaysInYear/VB/koreancalendar_getdaysinyear.vb rename to snippets/visualbasic/System.Globalization/KoreanCalendar/GetDaysInYear/koreancalendar_getdaysinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.GetMonthsInYear/VB/koreancalendar_getmonthsinyear.vb b/snippets/visualbasic/System.Globalization/KoreanCalendar/GetMonthsInYear/koreancalendar_getmonthsinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.GetMonthsInYear/VB/koreancalendar_getmonthsinyear.vb rename to snippets/visualbasic/System.Globalization/KoreanCalendar/GetMonthsInYear/koreancalendar_getmonthsinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.IsLeapDay/VB/koreancalendar_isleapday.vb b/snippets/visualbasic/System.Globalization/KoreanCalendar/IsLeapDay/koreancalendar_isleapday.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.IsLeapDay/VB/koreancalendar_isleapday.vb rename to snippets/visualbasic/System.Globalization/KoreanCalendar/IsLeapDay/koreancalendar_isleapday.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.IsLeapMonth/VB/koreancalendar_isleapmonth.vb b/snippets/visualbasic/System.Globalization/KoreanCalendar/IsLeapMonth/koreancalendar_isleapmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.IsLeapMonth/VB/koreancalendar_isleapmonth.vb rename to snippets/visualbasic/System.Globalization/KoreanCalendar/IsLeapMonth/koreancalendar_isleapmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.IsLeapYear/VB/koreancalendar_isleapyear.vb b/snippets/visualbasic/System.Globalization/KoreanCalendar/IsLeapYear/koreancalendar_isleapyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.IsLeapYear/VB/koreancalendar_isleapyear.vb rename to snippets/visualbasic/System.Globalization/KoreanCalendar/IsLeapYear/koreancalendar_isleapyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_MinMax/VB/koreancalendar_minmax.vb b/snippets/visualbasic/System.Globalization/KoreanCalendar/MaxSupportedDateTime/koreancalendar_minmax.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_MinMax/VB/koreancalendar_minmax.vb rename to snippets/visualbasic/System.Globalization/KoreanCalendar/MaxSupportedDateTime/koreancalendar_minmax.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.isreadonly/vb/isreadonly1.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/Clone/isreadonly1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.isreadonly/vb/isreadonly1.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/Clone/isreadonly1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CurrencyDecimalDigits/VB/currencydecimaldigits.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencyDecimalDigits/currencydecimaldigits.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CurrencyDecimalDigits/VB/currencydecimaldigits.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencyDecimalDigits/currencydecimaldigits.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CurrencyDecimalSeparator/VB/currencydecimalseparator.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencyDecimalSeparator/currencydecimalseparator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CurrencyDecimalSeparator/VB/currencydecimalseparator.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencyDecimalSeparator/currencydecimalseparator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CurrencyGroupSeparator/VB/currencygroupseparator.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencyGroupSeparator/currencygroupseparator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CurrencyGroupSeparator/VB/currencygroupseparator.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencyGroupSeparator/currencygroupseparator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CurrencyGroupSizes/VB/currencygroupsizes.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencyGroupSizes/currencygroupsizes.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CurrencyGroupSizes/VB/currencygroupsizes.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencyGroupSizes/currencygroupsizes.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.currencynegativepattern/vb/Project.vbproj b/snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencyNegativePattern/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.currencynegativepattern/vb/Project.vbproj rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencyNegativePattern/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.currencynegativepattern/vb/currencynegativepattern1.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencyNegativePattern/currencynegativepattern1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.currencynegativepattern/vb/currencynegativepattern1.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencyNegativePattern/currencynegativepattern1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.currencysymbol/vb/currencysymbolex1.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencySymbol/currencysymbolex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.currencysymbol/vb/currencysymbolex1.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencySymbol/currencysymbolex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.currentinfo/vb/currentinfo1.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrentInfo/currentinfo1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.currentinfo/vb/currentinfo1.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrentInfo/currentinfo1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.NumberFormatInfo.InvariantInfo/VB/invariantinfo.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/InvariantInfo/invariantinfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.NumberFormatInfo.InvariantInfo/VB/invariantinfo.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/InvariantInfo/invariantinfo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.NFI.nativeDigits/vb/nd.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/NativeDigits/nd.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.glob.NFI.nativeDigits/vb/nd.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/NativeDigits/nd.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.negativesign/vb/negativesign1.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/NegativeSign/negativesign1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.negativesign/vb/negativesign1.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/NegativeSign/negativesign1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/NumberDecimalDigits/VB/numberdecimaldigits.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/NumberDecimalDigits/numberdecimaldigits.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/NumberDecimalDigits/VB/numberdecimaldigits.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/NumberDecimalDigits/numberdecimaldigits.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/NumberDecimalSeparator/VB/numberdecimalseparator.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/NumberDecimalSeparator/numberdecimalseparator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/NumberDecimalSeparator/VB/numberdecimalseparator.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/NumberDecimalSeparator/numberdecimalseparator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/NumberGroupSeparator/VB/numbergroupseparator.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/NumberGroupSeparator/numbergroupseparator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/NumberGroupSeparator/VB/numbergroupseparator.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/NumberGroupSeparator/numbergroupseparator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/NumberGroupSizes/VB/numbergroupsizes.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/NumberGroupSizes/numbergroupsizes.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/NumberGroupSizes/VB/numbergroupsizes.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/NumberGroupSizes/numbergroupsizes.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/NumberFormatInfo/vb/numberformatinfo.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/Overview/numberformatinfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/NumberFormatInfo/vb/numberformatinfo.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/Overview/numberformatinfo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/PercentDecimalDigits/VB/percentdecimaldigits.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/PercentDecimalDigits/percentdecimaldigits.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/PercentDecimalDigits/VB/percentdecimaldigits.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/PercentDecimalDigits/percentdecimaldigits.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/PercentDecimalSeparator/VB/percentdecimalseparator.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/PercentDecimalSeparator/percentdecimalseparator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/PercentDecimalSeparator/VB/percentdecimalseparator.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/PercentDecimalSeparator/percentdecimalseparator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/PercentGroupSeparator/VB/percentgroupseparator.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/PercentGroupSeparator/percentgroupseparator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/PercentGroupSeparator/VB/percentgroupseparator.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/PercentGroupSeparator/percentgroupseparator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/PercentGroupSizes/VB/percentgroupsizes.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/PercentGroupSizes/percentgroupsizes.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/PercentGroupSizes/VB/percentgroupsizes.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/PercentGroupSizes/percentgroupsizes.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/NumberStyles/vb/numberstyles.vb b/snippets/visualbasic/System.Globalization/NumberStyles/Overview/numberstyles.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/NumberStyles/vb/numberstyles.vb rename to snippets/visualbasic/System.Globalization/NumberStyles/Overview/numberstyles.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/calendar2.vb b/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/calendar2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/calendar2.vb rename to snippets/visualbasic/System.Globalization/PersianCalendar/Overview/calendar2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb b/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb rename to snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo.ctorCultureName/VB/regioninfo_ctorculturename.vb b/snippets/visualbasic/System.Globalization/RegionInfo/.ctor/regioninfo_ctorculturename.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo.ctorCultureName/VB/regioninfo_ctorculturename.vb rename to snippets/visualbasic/System.Globalization/RegionInfo/.ctor/regioninfo_ctorculturename.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Equals/VB/regioninfo_equals.vb b/snippets/visualbasic/System.Globalization/RegionInfo/.ctor/regioninfo_equals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Equals/VB/regioninfo_equals.vb rename to snippets/visualbasic/System.Globalization/RegionInfo/.ctor/regioninfo_equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.regioninfo.rgn5props/VB/rgn5props.vb b/snippets/visualbasic/System.Globalization/RegionInfo/CurrencyEnglishName/rgn5props.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.glob.regioninfo.rgn5props/VB/rgn5props.vb rename to snippets/visualbasic/System.Globalization/RegionInfo/CurrencyEnglishName/rgn5props.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Properties/VB/regioninfo_properties.vb b/snippets/visualbasic/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Properties/VB/regioninfo_properties.vb rename to snippets/visualbasic/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo/VB/regioninfo.vb b/snippets/visualbasic/System.Globalization/RegionInfo/Overview/regioninfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo/VB/regioninfo.vb rename to snippets/visualbasic/System.Globalization/RegionInfo/Overview/regioninfo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.sortkey.compare/vb/skcmp.vb b/snippets/visualbasic/System.Globalization/SortKey/Compare/skcmp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.glob.sortkey.compare/vb/skcmp.vb rename to snippets/visualbasic/System.Globalization/SortKey/Compare/skcmp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.SortKey.Equals/VB/sortkey_equals.vb b/snippets/visualbasic/System.Globalization/SortKey/Equals/sortkey_equals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.SortKey.Equals/VB/sortkey_equals.vb rename to snippets/visualbasic/System.Globalization/SortKey/Equals/sortkey_equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.sortkey.tostring/vb/ts.vb b/snippets/visualbasic/System.Globalization/SortKey/KeyData/ts.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.glob.sortkey.tostring/vb/ts.vb rename to snippets/visualbasic/System.Globalization/SortKey/KeyData/ts.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.sortkey.class/vb/sortkey1.vb b/snippets/visualbasic/System.Globalization/SortKey/Overview/sortkey1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.sortkey.class/vb/sortkey1.vb rename to snippets/visualbasic/System.Globalization/SortKey/Overview/sortkey1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.SortKey.Compare/VB/sortkey_compare.vb b/snippets/visualbasic/System.Globalization/SortKey/Overview/sortkey_compare.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.SortKey.Compare/VB/sortkey_compare.vb rename to snippets/visualbasic/System.Globalization/SortKey/Overview/sortkey_compare.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.sortversion/vb/example1.vb b/snippets/visualbasic/System.Globalization/SortVersion/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.sortversion/vb/example1.vb rename to snippets/visualbasic/System.Globalization/SortVersion/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.stringinfo.class/vb/indexing1.vb b/snippets/visualbasic/System.Globalization/StringInfo/Overview/indexing1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.stringinfo.class/vb/indexing1.vb rename to snippets/visualbasic/System.Globalization/StringInfo/Overview/indexing1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/StringInfo/vb/stringinfo.vb b/snippets/visualbasic/System.Globalization/StringInfo/Overview/stringinfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/StringInfo/vb/stringinfo.vb rename to snippets/visualbasic/System.Globalization/StringInfo/Overview/stringinfo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_AddGet/VB/taiwancalendar_addget.vb b/snippets/visualbasic/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_AddGet/VB/taiwancalendar_addget.vb rename to snippets/visualbasic/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.GetDaysInMonth/VB/taiwancalendar_getdaysinmonth.vb b/snippets/visualbasic/System.Globalization/TaiwanCalendar/GetDaysInMonth/taiwancalendar_getdaysinmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.GetDaysInMonth/VB/taiwancalendar_getdaysinmonth.vb rename to snippets/visualbasic/System.Globalization/TaiwanCalendar/GetDaysInMonth/taiwancalendar_getdaysinmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.GetDaysInYear/VB/taiwancalendar_getdaysinyear.vb b/snippets/visualbasic/System.Globalization/TaiwanCalendar/GetDaysInYear/taiwancalendar_getdaysinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.GetDaysInYear/VB/taiwancalendar_getdaysinyear.vb rename to snippets/visualbasic/System.Globalization/TaiwanCalendar/GetDaysInYear/taiwancalendar_getdaysinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.GetMonthsInYear/VB/taiwancalendar_getmonthsinyear.vb b/snippets/visualbasic/System.Globalization/TaiwanCalendar/GetMonthsInYear/taiwancalendar_getmonthsinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.GetMonthsInYear/VB/taiwancalendar_getmonthsinyear.vb rename to snippets/visualbasic/System.Globalization/TaiwanCalendar/GetMonthsInYear/taiwancalendar_getmonthsinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.IsLeapDay/VB/taiwancalendar_isleapday.vb b/snippets/visualbasic/System.Globalization/TaiwanCalendar/IsLeapDay/taiwancalendar_isleapday.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.IsLeapDay/VB/taiwancalendar_isleapday.vb rename to snippets/visualbasic/System.Globalization/TaiwanCalendar/IsLeapDay/taiwancalendar_isleapday.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.IsLeapMonth/VB/taiwancalendar_isleapmonth.vb b/snippets/visualbasic/System.Globalization/TaiwanCalendar/IsLeapMonth/taiwancalendar_isleapmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.IsLeapMonth/VB/taiwancalendar_isleapmonth.vb rename to snippets/visualbasic/System.Globalization/TaiwanCalendar/IsLeapMonth/taiwancalendar_isleapmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.IsLeapYear/VB/taiwancalendar_isleapyear.vb b/snippets/visualbasic/System.Globalization/TaiwanCalendar/IsLeapYear/taiwancalendar_isleapyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.IsLeapYear/VB/taiwancalendar_isleapyear.vb rename to snippets/visualbasic/System.Globalization/TaiwanCalendar/IsLeapYear/taiwancalendar_isleapyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_MinMax/VB/taiwancalendar_minmax.vb b/snippets/visualbasic/System.Globalization/TaiwanCalendar/MaxSupportedDateTime/taiwancalendar_minmax.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_MinMax/VB/taiwancalendar_minmax.vb rename to snippets/visualbasic/System.Globalization/TaiwanCalendar/MaxSupportedDateTime/taiwancalendar_minmax.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TextElementEnumerator.Summary/VB/tee_summary.vb b/snippets/visualbasic/System.Globalization/TextElementEnumerator/Overview/tee_summary.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TextElementEnumerator.Summary/VB/tee_summary.vb rename to snippets/visualbasic/System.Globalization/TextElementEnumerator/Overview/tee_summary.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.textinfo.clone/vb/ro.vb b/snippets/visualbasic/System.Globalization/TextInfo/Clone/ro.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.glob.textinfo.clone/vb/ro.vb rename to snippets/visualbasic/System.Globalization/TextInfo/Clone/ro.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TextInfo_casing/VB/textinfo_casing.vb b/snippets/visualbasic/System.Globalization/TextInfo/ToTitleCase/textinfo_casing.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TextInfo_casing/VB/textinfo_casing.vb rename to snippets/visualbasic/System.Globalization/TextInfo/ToTitleCase/textinfo_casing.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.textinfo.totitlecase/vb/totitlecase2.vb b/snippets/visualbasic/System.Globalization/TextInfo/ToTitleCase/totitlecase2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.textinfo.totitlecase/vb/totitlecase2.vb rename to snippets/visualbasic/System.Globalization/TextInfo/ToTitleCase/totitlecase2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_AddGet/VB/thaibuddhistcalendar_addget.vb b/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_AddGet/VB/thaibuddhistcalendar_addget.vb rename to snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.GetDaysInMonth/VB/thaibuddhistcalendar_getdaysinmonth.vb b/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/GetDaysInMonth/thaibuddhistcalendar_getdaysinmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.GetDaysInMonth/VB/thaibuddhistcalendar_getdaysinmonth.vb rename to snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/GetDaysInMonth/thaibuddhistcalendar_getdaysinmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.GetDaysInYear/VB/thaibuddhistcalendar_getdaysinyear.vb b/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/GetDaysInYear/thaibuddhistcalendar_getdaysinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.GetDaysInYear/VB/thaibuddhistcalendar_getdaysinyear.vb rename to snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/GetDaysInYear/thaibuddhistcalendar_getdaysinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.GetMonthsInYear/VB/thaibuddhistcalendar_getmonthsinyear.vb b/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/GetMonthsInYear/thaibuddhistcalendar_getmonthsinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.GetMonthsInYear/VB/thaibuddhistcalendar_getmonthsinyear.vb rename to snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/GetMonthsInYear/thaibuddhistcalendar_getmonthsinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.IsLeapDay/VB/thaibuddhistcalendar_isleapday.vb b/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/IsLeapDay/thaibuddhistcalendar_isleapday.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.IsLeapDay/VB/thaibuddhistcalendar_isleapday.vb rename to snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/IsLeapDay/thaibuddhistcalendar_isleapday.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.IsLeapMonth/VB/thaibuddhistcalendar_isleapmonth.vb b/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/IsLeapMonth/thaibuddhistcalendar_isleapmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.IsLeapMonth/VB/thaibuddhistcalendar_isleapmonth.vb rename to snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/IsLeapMonth/thaibuddhistcalendar_isleapmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.IsLeapYear/VB/thaibuddhistcalendar_isleapyear.vb b/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/IsLeapYear/thaibuddhistcalendar_isleapyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.IsLeapYear/VB/thaibuddhistcalendar_isleapyear.vb rename to snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/IsLeapYear/thaibuddhistcalendar_isleapyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_MinMax/VB/thaibuddhistcalendar_minmax.vb b/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/MaxSupportedDateTime/thaibuddhistcalendar_minmax.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_MinMax/VB/thaibuddhistcalendar_minmax.vb rename to snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/MaxSupportedDateTime/thaibuddhistcalendar_minmax.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.addmonths/vb/addmonths1.vb b/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.addmonths/vb/addmonths1.vb rename to snippets/visualbasic/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getdaysinmonth/vb/getdaysinmonth1.vb b/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetDaysInMonth/getdaysinmonth1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getdaysinmonth/vb/getdaysinmonth1.vb rename to snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetDaysInMonth/getdaysinmonth1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getdaysinyear/vb/getdaysinyear1.vb b/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetDaysInYear/getdaysinyear1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getdaysinyear/vb/getdaysinyear1.vb rename to snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetDaysInYear/getdaysinyear1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getmonth/vb/getmonth1.vb b/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetMonth/getmonth1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getmonth/vb/getmonth1.vb rename to snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetMonth/getmonth1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.isleapyear/vb/isleapyear1.vb b/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/IsLeapYear/isleapyear1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.isleapyear/vb/isleapyear1.vb rename to snippets/visualbasic/System.Globalization/UmAlQuraCalendar/IsLeapYear/isleapyear1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.UnicodeCategory/vb/Characters1.vb b/snippets/visualbasic/System.Globalization/UnicodeCategory/Overview/Characters1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.UnicodeCategory/vb/Characters1.vb rename to snippets/visualbasic/System.Globalization/UnicodeCategory/Overview/Characters1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/vb/program1.vb b/snippets/visualbasic/System.IO.Compression/ZipArchive/CreateEntry/program1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/vb/program1.vb rename to snippets/visualbasic/System.IO.Compression/ZipArchive/CreateEntry/program1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/vb/program2.vb b/snippets/visualbasic/System.IO.Compression/ZipArchive/CreateEntry/program2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/vb/program2.vb rename to snippets/visualbasic/System.IO.Compression/ZipArchive/CreateEntry/program2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program1.vb b/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program1.vb rename to snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program2.vb b/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program2.vb rename to snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program3.vb b/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program3.vb rename to snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program4.vb b/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program4.vb rename to snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/vb/program1.vb b/snippets/visualbasic/System.IO.Compression/ZipArchive/GetEntry/program1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/vb/program1.vb rename to snippets/visualbasic/System.IO.Compression/ZipArchive/GetEntry/program1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/vb/program2.vb b/snippets/visualbasic/System.IO.Compression/ZipArchive/GetEntry/program2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/vb/program2.vb rename to snippets/visualbasic/System.IO.Compression/ZipArchive/GetEntry/program2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/remarks.vb b/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/remarks.vb rename to snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb b/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb rename to snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.GetStore/VB/source.vb b/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/GetStore/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.GetStore/VB/source.vb rename to snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/GetStore/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/conceptual.isolatedstorage/vb/source.vb b/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/conceptual.isolatedstorage/vb/source.vb rename to snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_a/vb/program.vb b/snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_a/vb/program.vb rename to snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_b/vb/program.vb b/snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_b/vb/program.vb rename to snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_x/vb/program.vb b/snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_x/vb/program.vb rename to snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/memorymappedfiles.memorymappedfile.openexisting/vb/program.vb b/snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/OpenExisting/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/memorymappedfiles.memorymappedfile.openexisting/vb/program.vb rename to snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/OpenExisting/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/memorymappedfiles.memorymappedfile.createfromfile/vb/program.vb b/snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/memorymappedfiles.memorymappedfile.createfromfile/vb/program.vb rename to snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_ctorSample1/vb/program.vb b/snippets/visualbasic/System.IO.Pipes/AnonymousPipeClientStream/.ctor/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_ctorSample1/vb/program.vb rename to snippets/visualbasic/System.IO.Pipes/AnonymousPipeClientStream/.ctor/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_Sample/vb/program.vb b/snippets/visualbasic/System.IO.Pipes/AnonymousPipeClientStream/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_Sample/vb/program.vb rename to snippets/visualbasic/System.IO.Pipes/AnonymousPipeClientStream/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeServerStream_Sample/vb/program.vb b/snippets/visualbasic/System.IO.Pipes/AnonymousPipeServerStream/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeServerStream_Sample/vb/program.vb rename to snippets/visualbasic/System.IO.Pipes/AnonymousPipeServerStream/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeClientStream_Sample1/vb/program.vb b/snippets/visualbasic/System.IO.Pipes/NamedPipeClientStream/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeClientStream_Sample1/vb/program.vb rename to snippets/visualbasic/System.IO.Pipes/NamedPipeClientStream/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_ImpersonationSample1/vb/program.vb b/snippets/visualbasic/System.IO.Pipes/NamedPipeServerStream/GetImpersonationUserName/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_ImpersonationSample1/vb/program.vb rename to snippets/visualbasic/System.IO.Pipes/NamedPipeServerStream/GetImpersonationUserName/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_Sample1/vb/program.vb b/snippets/visualbasic/System.IO.Pipes/NamedPipeServerStream/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_Sample1/vb/program.vb rename to snippets/visualbasic/System.IO.Pipes/NamedPipeServerStream/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.pipes.pipestream/vb/sample.vb b/snippets/visualbasic/System.IO.Pipes/PipeStream/Read/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.pipes.pipestream/vb/sample.vb rename to snippets/visualbasic/System.IO.Pipes/PipeStream/Read/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb b/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb rename to snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/datareceived.vb b/snippets/visualbasic/System.IO.Ports/Handshake/Overview/datareceived.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/datareceived.vb rename to snippets/visualbasic/System.IO.Ports/Handshake/Overview/datareceived.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IO.Ports.GetPortNames/VB/example.vb b/snippets/visualbasic/System.IO.Ports/SerialPort/GetPortNames/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IO.Ports.GetPortNames/VB/example.vb rename to snippets/visualbasic/System.IO.Ports/SerialPort/GetPortNames/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWDouble/VB/rwdouble.vb b/snippets/visualbasic/System.IO/BinaryReader/BaseStream/rwdouble.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWDouble/VB/rwdouble.vb rename to snippets/visualbasic/System.IO/BinaryReader/BaseStream/rwdouble.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb b/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb rename to snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source3.vb b/snippets/visualbasic/System.IO/BinaryReader/Overview/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source3.vb rename to snippets/visualbasic/System.IO/BinaryReader/Overview/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source5.vb b/snippets/visualbasic/System.IO/BinaryReader/Overview/source5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source5.vb rename to snippets/visualbasic/System.IO/BinaryReader/Overview/source5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWBytes2/VB/rwreadbytes.vb b/snippets/visualbasic/System.IO/BinaryReader/Read/rwreadbytes.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWBytes2/VB/rwreadbytes.vb rename to snippets/visualbasic/System.IO/BinaryReader/Read/rwreadbytes.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChar2/VB/rwreadchar.vb b/snippets/visualbasic/System.IO/BinaryReader/Read/rwreadchar.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChar2/VB/rwreadchar.vb rename to snippets/visualbasic/System.IO/BinaryReader/Read/rwreadchar.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChars2/VB/rwreadchars.vb b/snippets/visualbasic/System.IO/BinaryReader/Read/rwreadchars.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChars2/VB/rwreadchars.vb rename to snippets/visualbasic/System.IO/BinaryReader/Read/rwreadchars.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWByte/VB/rwbyte.vb b/snippets/visualbasic/System.IO/BinaryReader/ReadByte/rwbyte.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWByte/VB/rwbyte.vb rename to snippets/visualbasic/System.IO/BinaryReader/ReadByte/rwbyte.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWBytes1/VB/rwbytes.vb b/snippets/visualbasic/System.IO/BinaryReader/ReadBytes/rwbytes.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWBytes1/VB/rwbytes.vb rename to snippets/visualbasic/System.IO/BinaryReader/ReadBytes/rwbytes.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChar1/VB/rwchar.vb b/snippets/visualbasic/System.IO/BinaryReader/ReadChar/rwchar.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChar1/VB/rwchar.vb rename to snippets/visualbasic/System.IO/BinaryReader/ReadChar/rwchar.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChars1/VB/rwchars.vb b/snippets/visualbasic/System.IO/BinaryReader/ReadChars/rwchars.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChars1/VB/rwchars.vb rename to snippets/visualbasic/System.IO/BinaryReader/ReadChars/rwchars.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream1/VB/client.vb b/snippets/visualbasic/System.IO/BufferedStream/Overview/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream1/VB/client.vb rename to snippets/visualbasic/System.IO/BufferedStream/Overview/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream2/VB/server.vb b/snippets/visualbasic/System.IO/BufferedStream/Overview/server.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream2/VB/server.vb rename to snippets/visualbasic/System.IO/BufferedStream/Overview/server.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Dir_CreateDir/VB/dir_createdir.vb b/snippets/visualbasic/System.IO/Directory/CreateDirectory/dir_createdir.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Dir_CreateDir/VB/dir_createdir.vb rename to snippets/visualbasic/System.IO/Directory/CreateDirectory/dir_createdir.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.delete/vb/class1.vb b/snippets/visualbasic/System.IO/Directory/Delete/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.delete/vb/class1.vb rename to snippets/visualbasic/System.IO/Directory/Delete/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.delete/vb/class2.vb b/snippets/visualbasic/System.IO/Directory/Delete/class2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.delete/vb/class2.vb rename to snippets/visualbasic/System.IO/Directory/Delete/class2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs1/vb/program.vb b/snippets/visualbasic/System.IO/Directory/EnumerateDirectories/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs1/vb/program.vb rename to snippets/visualbasic/System.IO/Directory/EnumerateDirectories/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs2/vb/program.vb b/snippets/visualbasic/System.IO/Directory/EnumerateDirectories/program1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs2/vb/program.vb rename to snippets/visualbasic/System.IO/Directory/EnumerateDirectories/program1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs3/vb/program.vb b/snippets/visualbasic/System.IO/Directory/EnumerateDirectories/program2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs3/vb/program.vb rename to snippets/visualbasic/System.IO/Directory/EnumerateDirectories/program2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.enumfiles/vb/module1.vb b/snippets/visualbasic/System.IO/Directory/EnumerateFiles/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.enumfiles/vb/module1.vb rename to snippets/visualbasic/System.IO/Directory/EnumerateFiles/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.enumfiles2/vb/module1.vb b/snippets/visualbasic/System.IO/Directory/EnumerateFiles/module11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.enumfiles2/vb/module1.vb rename to snippets/visualbasic/System.IO/Directory/EnumerateFiles/module11.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.enumeratefiles/vb/program.vb b/snippets/visualbasic/System.IO/Directory/EnumerateFiles/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.enumeratefiles/vb/program.vb rename to snippets/visualbasic/System.IO/Directory/EnumerateFiles/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Recursive file finder/VB/directorylisting.vb b/snippets/visualbasic/System.IO/Directory/Exists/directorylisting.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Recursive file finder/VB/directorylisting.vb rename to snippets/visualbasic/System.IO/Directory/Exists/directorylisting.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Dir_GetCreation/VB/dir_getcreation.vb b/snippets/visualbasic/System.IO/Directory/GetCreationTime/dir_getcreation.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Dir_GetCreation/VB/dir_getcreation.vb rename to snippets/visualbasic/System.IO/Directory/GetCreationTime/dir_getcreation.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.UTCExample/VB/example.vb b/snippets/visualbasic/System.IO/Directory/GetCreationTimeUtc/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.UTCExample/VB/example.vb rename to snippets/visualbasic/System.IO/Directory/GetCreationTimeUtc/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Dir_GetCurDir/VB/dir_getcurdir.vb b/snippets/visualbasic/System.IO/Directory/GetCurrentDirectory/dir_getcurdir.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Dir_GetCurDir/VB/dir_getcurdir.vb rename to snippets/visualbasic/System.IO/Directory/GetCurrentDirectory/dir_getcurdir.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Dir_GetDirs2/VB/dir_getdirs2.vb b/snippets/visualbasic/System.IO/Directory/GetDirectories/dir_getdirs2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Dir_GetDirs2/VB/dir_getdirs2.vb rename to snippets/visualbasic/System.IO/Directory/GetDirectories/dir_getdirs2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Dir_GetDirs2/VB/dir_getdirs3.vb b/snippets/visualbasic/System.IO/Directory/GetDirectories/dir_getdirs3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Dir_GetDirs2/VB/dir_getdirs3.vb rename to snippets/visualbasic/System.IO/Directory/GetDirectories/dir_getdirs3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DirectoryRoot/VB/example.vb b/snippets/visualbasic/System.IO/Directory/GetDirectoryRoot/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DirectoryRoot/VB/example.vb rename to snippets/visualbasic/System.IO/Directory/GetDirectoryRoot/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Dir_GetFiles2/VB/dir_getfiles2.vb b/snippets/visualbasic/System.IO/Directory/GetFiles/dir_getfiles2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Dir_GetFiles2/VB/dir_getfiles2.vb rename to snippets/visualbasic/System.IO/Directory/GetFiles/dir_getfiles2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Dir_GetLastAccess/VB/dir_getlastaccess.vb b/snippets/visualbasic/System.IO/Directory/GetLastAccessTime/dir_getlastaccess.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Dir_GetLastAccess/VB/dir_getlastaccess.vb rename to snippets/visualbasic/System.IO/Directory/GetLastAccessTime/dir_getlastaccess.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Dir_GetLastWrite/VB/dir_getlastwrite.vb b/snippets/visualbasic/System.IO/Directory/GetLastWriteTime/dir_getlastwrite.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Dir_GetLastWrite/VB/dir_getlastwrite.vb rename to snippets/visualbasic/System.IO/Directory/GetLastWriteTime/dir_getlastwrite.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class1.vb b/snippets/visualbasic/System.IO/Directory/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class1.vb rename to snippets/visualbasic/System.IO/Directory/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class2.vb b/snippets/visualbasic/System.IO/Directory/Overview/class2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class2.vb rename to snippets/visualbasic/System.IO/Directory/Overview/class2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class3.vb b/snippets/visualbasic/System.IO/Directory/Overview/class3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class3.vb rename to snippets/visualbasic/System.IO/Directory/Overview/class3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class4.vb b/snippets/visualbasic/System.IO/Directory/Overview/class4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class4.vb rename to snippets/visualbasic/System.IO/Directory/Overview/class4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class5.vb b/snippets/visualbasic/System.IO/Directory/Overview/class5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class5.vb rename to snippets/visualbasic/System.IO/Directory/Overview/class5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class6.vb b/snippets/visualbasic/System.IO/Directory/Overview/class6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class6.vb rename to snippets/visualbasic/System.IO/Directory/Overview/class6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class7.vb b/snippets/visualbasic/System.IO/Directory/Overview/class7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class7.vb rename to snippets/visualbasic/System.IO/Directory/Overview/class7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Dir_SetLastAccess/VB/dir_setlastaccess.vb b/snippets/visualbasic/System.IO/Directory/SetLastAccessTime/dir_setlastaccess.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Dir_SetLastAccess/VB/dir_setlastaccess.vb rename to snippets/visualbasic/System.IO/Directory/SetLastAccessTime/dir_setlastaccess.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Dir_SetLastWrite/VB/dir_setlastwrite.vb b/snippets/visualbasic/System.IO/Directory/SetLastWriteTime/dir_setlastwrite.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Dir_SetLastWrite/VB/dir_setlastwrite.vb rename to snippets/visualbasic/System.IO/Directory/SetLastWriteTime/dir_setlastwrite.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DirInfo Ctor/VB/dirinfo ctor.vb b/snippets/visualbasic/System.IO/DirectoryInfo/.ctor/dirinfo ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DirInfo Ctor/VB/dirinfo ctor.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/.ctor/dirinfo ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DirInfo Create/VB/dirinfo create.vb b/snippets/visualbasic/System.IO/DirectoryInfo/Create/dirinfo create.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DirInfo Create/VB/dirinfo create.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/Create/dirinfo create.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/directoryinfocreatesub/VB/directoryinfocreatesub.vb b/snippets/visualbasic/System.IO/DirectoryInfo/CreateSubdirectory/directoryinfocreatesub.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/directoryinfocreatesub/VB/directoryinfocreatesub.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/CreateSubdirectory/directoryinfocreatesub.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/directoryinfodelete/VB/directoryinfodelete.vb b/snippets/visualbasic/System.IO/DirectoryInfo/Delete/directoryinfodelete.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/directoryinfodelete/VB/directoryinfodelete.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/Delete/directoryinfodelete.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DirInfo Delete1/VB/dirinfo delete1.vb b/snippets/visualbasic/System.IO/DirectoryInfo/Delete/dirinfo delete1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DirInfo Delete1/VB/dirinfo delete1.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/Delete/dirinfo delete1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumdirs/vb/module1.vb b/snippets/visualbasic/System.IO/DirectoryInfo/EnumerateDirectories/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumdirs/vb/module1.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/EnumerateDirectories/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumeratedirectories/vb/program.vb b/snippets/visualbasic/System.IO/DirectoryInfo/EnumerateDirectories/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumeratedirectories/vb/program.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/EnumerateDirectories/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumfiles/vb/module1.vb b/snippets/visualbasic/System.IO/DirectoryInfo/EnumerateFiles/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumfiles/vb/module1.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/EnumerateFiles/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumfiles/vb/module2.vb b/snippets/visualbasic/System.IO/DirectoryInfo/EnumerateFiles/module2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumfiles/vb/module2.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/EnumerateFiles/module2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DirectoryInfo Usage Example/VB/copydirectory.vb b/snippets/visualbasic/System.IO/DirectoryInfo/Exists/copydirectory.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DirectoryInfo Usage Example/VB/copydirectory.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/Exists/copydirectory.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IO.DiretoryInfo.GetAccessControl-SetAccessControl/VB/sample.vb b/snippets/visualbasic/System.IO/DirectoryInfo/GetAccessControl/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IO.DiretoryInfo.GetAccessControl-SetAccessControl/VB/sample.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/GetAccessControl/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/directoryinfogetdirectories/VB/directoryinfogetdirectories.vb b/snippets/visualbasic/System.IO/DirectoryInfo/GetDirectories/directoryinfogetdirectories.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/directoryinfogetdirectories/VB/directoryinfogetdirectories.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/GetDirectories/directoryinfogetdirectories.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DirInfo GetDirs2/VB/dirinfo getdirs2.vb b/snippets/visualbasic/System.IO/DirectoryInfo/GetDirectories/dirinfo getdirs2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DirInfo GetDirs2/VB/dirinfo getdirs2.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/GetDirectories/dirinfo getdirs2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DirectoryInfo_SearchOptions/vb/searchoption.vb b/snippets/visualbasic/System.IO/DirectoryInfo/GetDirectories/searchoption.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DirectoryInfo_SearchOptions/vb/searchoption.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/GetDirectories/searchoption.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DirInfo GetFileSysInfos2/VB/dirinfo getfilesysinfos2.vb b/snippets/visualbasic/System.IO/DirectoryInfo/GetFileSystemInfos/dirinfo getfilesysinfos2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DirInfo GetFileSysInfos2/VB/dirinfo getfilesysinfos2.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/GetFileSystemInfos/dirinfo getfilesysinfos2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FSizeSort/VB/fsizesort.vb b/snippets/visualbasic/System.IO/DirectoryInfo/GetFileSystemInfos/fsizesort.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FSizeSort/VB/fsizesort.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/GetFileSystemInfos/fsizesort.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/directoryinfogetfiles/VB/directoryinfogetfiles2.vb b/snippets/visualbasic/System.IO/DirectoryInfo/GetFiles/directoryinfogetfiles2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/directoryinfogetfiles/VB/directoryinfogetfiles2.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/GetFiles/directoryinfogetfiles2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/directoryinfomoveto/VB/directoryinfomoveto.vb b/snippets/visualbasic/System.IO/DirectoryInfo/MoveTo/directoryinfomoveto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/directoryinfomoveto/VB/directoryinfomoveto.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/MoveTo/directoryinfomoveto.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IO.DirectoryInfo-CopyDir/vb/CopyDir.vb b/snippets/visualbasic/System.IO/DirectoryInfo/Overview/CopyDir.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IO.DirectoryInfo-CopyDir/vb/CopyDir.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/Overview/CopyDir.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DirInfo Class Example/VB/dirinfo class example.vb b/snippets/visualbasic/System.IO/DirectoryInfo/Overview/dirinfo class example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DirInfo Class Example/VB/dirinfo class example.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/Overview/dirinfo class example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/directoryinfoparent/VB/directoryinfoparent.vb b/snippets/visualbasic/System.IO/DirectoryInfo/Parent/directoryinfoparent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/directoryinfoparent/VB/directoryinfoparent.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/Parent/directoryinfoparent.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/directoryinforoot/VB/directoryinforoot2.vb b/snippets/visualbasic/System.IO/DirectoryInfo/Root/directoryinforoot2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/directoryinforoot/VB/directoryinforoot2.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/Root/directoryinforoot2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DirectoryNotFoundException/VB/DirectoryNotFoundexception.vb b/snippets/visualbasic/System.IO/DirectoryNotFoundException/Overview/DirectoryNotFoundexception.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DirectoryNotFoundException/VB/DirectoryNotFoundexception.vb rename to snippets/visualbasic/System.IO/DirectoryNotFoundException/Overview/DirectoryNotFoundexception.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DriveInfo/vb/DriveInfo.vb b/snippets/visualbasic/System.IO/DriveInfo/Overview/DriveInfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DriveInfo/vb/DriveInfo.vb rename to snippets/visualbasic/System.IO/DriveInfo/Overview/DriveInfo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FileSystemWatcher/VB/FileSystemWatcher.vb b/snippets/visualbasic/System.IO/ErrorEventArgs/Overview/FileSystemWatcher.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FileSystemWatcher/VB/FileSystemWatcher.vb rename to snippets/visualbasic/System.IO/ErrorEventArgs/Overview/FileSystemWatcher.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.file.writeallappendall/vb/program.vb b/snippets/visualbasic/System.IO/File/AppendAllLines/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.file.writeallappendall/vb/program.vb rename to snippets/visualbasic/System.IO/File/AppendAllLines/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllText/vb/AllText.vb b/snippets/visualbasic/System.IO/File/AppendAllText/AllText.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllText/vb/AllText.vb rename to snippets/visualbasic/System.IO/File/AppendAllText/AllText.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllText_Encoding/vb/AllText.vb b/snippets/visualbasic/System.IO/File/AppendAllText/AllText1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllText_Encoding/vb/AllText.vb rename to snippets/visualbasic/System.IO/File/AppendAllText/AllText1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/File_AppendText/VB/file_appendtext.vb b/snippets/visualbasic/System.IO/File/AppendText/file_appendtext.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/File_AppendText/VB/file_appendtext.vb rename to snippets/visualbasic/System.IO/File/AppendText/file_appendtext.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/filecopydelete/vb/program.vb b/snippets/visualbasic/System.IO/File/Copy/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/filecopydelete/vb/program.vb rename to snippets/visualbasic/System.IO/File/Copy/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/File Create1/VB/file create1.vb b/snippets/visualbasic/System.IO/File/Create/file create1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/File Create1/VB/file create1.vb rename to snippets/visualbasic/System.IO/File/Create/file create1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/File Create2/VB/file create2.vb b/snippets/visualbasic/System.IO/File/Create/file create2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/File Create2/VB/file create2.vb rename to snippets/visualbasic/System.IO/File/Create/file create2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/File CreateText/VB/file createtext.vb b/snippets/visualbasic/System.IO/File/CreateText/file createtext.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/File CreateText/VB/file createtext.vb rename to snippets/visualbasic/System.IO/File/CreateText/file createtext.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IO.File.Encrypt-Decrypt/VB/sample.vb b/snippets/visualbasic/System.IO/File/Decrypt/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IO.File.Encrypt-Decrypt/VB/sample.vb rename to snippets/visualbasic/System.IO/File/Decrypt/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/File Exists/VB/program.vb b/snippets/visualbasic/System.IO/File/Exists/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/File Exists/VB/program.vb rename to snippets/visualbasic/System.IO/File/Exists/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/File GetAttributes/VB/file getattributes.vb b/snippets/visualbasic/System.IO/File/GetAttributes/file getattributes.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/File GetAttributes/VB/file getattributes.vb rename to snippets/visualbasic/System.IO/File/GetAttributes/file getattributes.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.file.getcreationtime/vb/module1.vb b/snippets/visualbasic/System.IO/File/GetCreationTime/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.file.getcreationtime/vb/module1.vb rename to snippets/visualbasic/System.IO/File/GetCreationTime/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.file.getcreationtime/vb/module2.vb b/snippets/visualbasic/System.IO/File/GetCreationTime/module2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.file.getcreationtime/vb/module2.vb rename to snippets/visualbasic/System.IO/File/GetCreationTime/module2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/File GetLastAccess/VB/file getlastaccess.vb b/snippets/visualbasic/System.IO/File/GetLastAccessTime/file getlastaccess.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/File GetLastAccess/VB/file getlastaccess.vb rename to snippets/visualbasic/System.IO/File/GetLastAccessTime/file getlastaccess.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/File GetLastWrite/VB/file getlastwrite.vb b/snippets/visualbasic/System.IO/File/GetLastWriteTime/file getlastwrite.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/File GetLastWrite/VB/file getlastwrite.vb rename to snippets/visualbasic/System.IO/File/GetLastWriteTime/file getlastwrite.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/File Move/VB/file move.vb b/snippets/visualbasic/System.IO/File/Move/file move.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/File Move/VB/file move.vb rename to snippets/visualbasic/System.IO/File/Move/file move.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/File Open1/VB/file open1.vb b/snippets/visualbasic/System.IO/File/Open/file open1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/File Open1/VB/file open1.vb rename to snippets/visualbasic/System.IO/File/Open/file open1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/File Open2/VB/file open2.vb b/snippets/visualbasic/System.IO/File/Open/file open2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/File Open2/VB/file open2.vb rename to snippets/visualbasic/System.IO/File/Open/file open2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/File Open3/VB/file open3.vb b/snippets/visualbasic/System.IO/File/Open/file open3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/File Open3/VB/file open3.vb rename to snippets/visualbasic/System.IO/File/Open/file open3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/File OpenRead/VB/file openread.vb b/snippets/visualbasic/System.IO/File/OpenRead/file openread.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/File OpenRead/VB/file openread.vb rename to snippets/visualbasic/System.IO/File/OpenRead/file openread.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/File OpenText/VB/file opentext.vb b/snippets/visualbasic/System.IO/File/OpenText/file opentext.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/File OpenText/VB/file opentext.vb rename to snippets/visualbasic/System.IO/File/OpenText/file opentext.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/File OpenWrite/VB/file openwrite.vb b/snippets/visualbasic/System.IO/File/OpenWrite/file openwrite.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/File OpenWrite/VB/file openwrite.vb rename to snippets/visualbasic/System.IO/File/OpenWrite/file openwrite.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/File Class Example/VB/file class example.vb b/snippets/visualbasic/System.IO/File/Overview/file class example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/File Class Example/VB/file class example.vb rename to snippets/visualbasic/System.IO/File/Overview/file class example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllLines/vb/AllText.vb b/snippets/visualbasic/System.IO/File/ReadAllLines/AllText.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllLines/vb/AllText.vb rename to snippets/visualbasic/System.IO/File/ReadAllLines/AllText.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllLines_Encoding/vb/AllText_Encoding.vb b/snippets/visualbasic/System.IO/File/ReadAllLines/AllText_Encoding.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllLines_Encoding/vb/AllText_Encoding.vb rename to snippets/visualbasic/System.IO/File/ReadAllLines/AllText_Encoding.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.file.readlines/vb/program.vb b/snippets/visualbasic/System.IO/File/ReadLines/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.file.readlines/vb/program.vb rename to snippets/visualbasic/System.IO/File/ReadLines/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IO.File.Replace/VB/sample.vb b/snippets/visualbasic/System.IO/File/Replace/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IO.File.Replace/VB/sample.vb rename to snippets/visualbasic/System.IO/File/Replace/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/File SetLastAccess/VB/file setlastaccess.vb b/snippets/visualbasic/System.IO/File/SetLastAccessTime/file setlastaccess.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/File SetLastAccess/VB/file setlastaccess.vb rename to snippets/visualbasic/System.IO/File/SetLastAccessTime/file setlastaccess.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/File SetLastWrite/VB/file setlastwrite.vb b/snippets/visualbasic/System.IO/File/SetLastWriteTime/file setlastwrite.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/File SetLastWrite/VB/file setlastwrite.vb rename to snippets/visualbasic/System.IO/File/SetLastWriteTime/file setlastwrite.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.fileattributes/vb/example.vb b/snippets/visualbasic/System.IO/FileAttributes/Overview/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.fileattributes/vb/example.vb rename to snippets/visualbasic/System.IO/FileAttributes/Overview/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/fileinfomain/VB/fileinfomain.vb b/snippets/visualbasic/System.IO/FileInfo/.ctor/fileinfomain.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/fileinfomain/VB/fileinfomain.vb rename to snippets/visualbasic/System.IO/FileInfo/.ctor/fileinfomain.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FInfo Ctor/VB/finfo ctor.vb b/snippets/visualbasic/System.IO/FileInfo/.ctor/finfo ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FInfo Ctor/VB/finfo ctor.vb rename to snippets/visualbasic/System.IO/FileInfo/.ctor/finfo ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/fileinfoappendtext/VB/fileinfoappendtext.vb b/snippets/visualbasic/System.IO/FileInfo/AppendText/fileinfoappendtext.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/fileinfoappendtext/VB/fileinfoappendtext.vb rename to snippets/visualbasic/System.IO/FileInfo/AppendText/fileinfoappendtext.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FInfo AppendText/VB/finfo appendtext.vb b/snippets/visualbasic/System.IO/FileInfo/AppendText/finfo appendtext.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FInfo AppendText/VB/finfo appendtext.vb rename to snippets/visualbasic/System.IO/FileInfo/AppendText/finfo appendtext.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/fileinfocopyto/VB/fileinfocopyto.vb b/snippets/visualbasic/System.IO/FileInfo/CopyTo/fileinfocopyto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/fileinfocopyto/VB/fileinfocopyto.vb rename to snippets/visualbasic/System.IO/FileInfo/CopyTo/fileinfocopyto.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FileInfoCopyTo1/VB/fileinfocopyto1.vb b/snippets/visualbasic/System.IO/FileInfo/CopyTo/fileinfocopyto1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FileInfoCopyTo1/VB/fileinfocopyto1.vb rename to snippets/visualbasic/System.IO/FileInfo/CopyTo/fileinfocopyto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FInfo CopyTo2/VB/program.vb b/snippets/visualbasic/System.IO/FileInfo/CopyTo/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FInfo CopyTo2/VB/program.vb rename to snippets/visualbasic/System.IO/FileInfo/CopyTo/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/fileinfodelete/VB/fileinfodelete.vb b/snippets/visualbasic/System.IO/FileInfo/Create/fileinfodelete.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/fileinfodelete/VB/fileinfodelete.vb rename to snippets/visualbasic/System.IO/FileInfo/Create/fileinfodelete.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FInfo Create/VB/finfo create.vb b/snippets/visualbasic/System.IO/FileInfo/Create/finfo create.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FInfo Create/VB/finfo create.vb rename to snippets/visualbasic/System.IO/FileInfo/Create/finfo create.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FInfo CreateText/VB/finfo createtext.vb b/snippets/visualbasic/System.IO/FileInfo/CreateText/finfo createtext.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FInfo CreateText/VB/finfo createtext.vb rename to snippets/visualbasic/System.IO/FileInfo/CreateText/finfo createtext.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IO.FileInfo.Encrypt-Decrypt/VB/sample.vb b/snippets/visualbasic/System.IO/FileInfo/Decrypt/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IO.FileInfo.Encrypt-Decrypt/VB/sample.vb rename to snippets/visualbasic/System.IO/FileInfo/Decrypt/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FInfo Delete/VB/finfo delete.vb b/snippets/visualbasic/System.IO/FileInfo/Delete/finfo delete.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FInfo Delete/VB/finfo delete.vb rename to snippets/visualbasic/System.IO/FileInfo/Delete/finfo delete.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/fileinfodirectory/VB/fileinfodirectory.vb b/snippets/visualbasic/System.IO/FileInfo/Directory/fileinfodirectory.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/fileinfodirectory/VB/fileinfodirectory.vb rename to snippets/visualbasic/System.IO/FileInfo/Directory/fileinfodirectory.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IO.FileInfo.Exists/vb/sample.vb b/snippets/visualbasic/System.IO/FileInfo/Exists/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IO.FileInfo.Exists/vb/sample.vb rename to snippets/visualbasic/System.IO/FileInfo/Exists/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IO.FileInfo.GetAccessControl-SetAccessControl/VB/sample.vb b/snippets/visualbasic/System.IO/FileInfo/GetAccessControl/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IO.FileInfo.GetAccessControl-SetAccessControl/VB/sample.vb rename to snippets/visualbasic/System.IO/FileInfo/GetAccessControl/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IO.FileInfo.isReadOnly/VB/sample.vb b/snippets/visualbasic/System.IO/FileInfo/IsReadOnly/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IO.FileInfo.isReadOnly/VB/sample.vb rename to snippets/visualbasic/System.IO/FileInfo/IsReadOnly/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FileLength/VB/filelength.vb b/snippets/visualbasic/System.IO/FileInfo/Length/filelength.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FileLength/VB/filelength.vb rename to snippets/visualbasic/System.IO/FileInfo/Length/filelength.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/fileinfoname/VB/fileinfoname.vb b/snippets/visualbasic/System.IO/FileInfo/Name/fileinfoname.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/fileinfoname/VB/fileinfoname.vb rename to snippets/visualbasic/System.IO/FileInfo/Name/fileinfoname.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/fileinfoopen/VB/fileinfoopen.vb b/snippets/visualbasic/System.IO/FileInfo/Open/fileinfoopen.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/fileinfoopen/VB/fileinfoopen.vb rename to snippets/visualbasic/System.IO/FileInfo/Open/fileinfoopen.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FInfo Open1/VB/finfo open1.vb b/snippets/visualbasic/System.IO/FileInfo/Open/finfo open1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FInfo Open1/VB/finfo open1.vb rename to snippets/visualbasic/System.IO/FileInfo/Open/finfo open1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FInfo Open2/VB/finfo open2.vb b/snippets/visualbasic/System.IO/FileInfo/Open/finfo open2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FInfo Open2/VB/finfo open2.vb rename to snippets/visualbasic/System.IO/FileInfo/Open/finfo open2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FInfo OpenRead/VB/finfo openread.vb b/snippets/visualbasic/System.IO/FileInfo/OpenRead/finfo openread.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FInfo OpenRead/VB/finfo openread.vb rename to snippets/visualbasic/System.IO/FileInfo/OpenRead/finfo openread.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FInfo OpenText/VB/file opentext.vb b/snippets/visualbasic/System.IO/FileInfo/OpenText/file opentext.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FInfo OpenText/VB/file opentext.vb rename to snippets/visualbasic/System.IO/FileInfo/OpenText/file opentext.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FInfo OpenWrite/VB/file openwrite.vb b/snippets/visualbasic/System.IO/FileInfo/OpenWrite/file openwrite.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FInfo OpenWrite/VB/file openwrite.vb rename to snippets/visualbasic/System.IO/FileInfo/OpenWrite/file openwrite.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FInfo Class/VB/finfo class.vb b/snippets/visualbasic/System.IO/FileInfo/Overview/finfo class.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FInfo Class/VB/finfo class.vb rename to snippets/visualbasic/System.IO/FileInfo/Overview/finfo class.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IO.FileInfo.Replace/VB/sample.vb b/snippets/visualbasic/System.IO/FileInfo/Replace/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IO.FileInfo.Replace/VB/sample.vb rename to snippets/visualbasic/System.IO/FileInfo/Replace/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IO.FileStream.ctor2/VB/example.vb b/snippets/visualbasic/System.IO/FileOptions/Overview/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IO.FileStream.ctor2/VB/example.vb rename to snippets/visualbasic/System.IO/FileOptions/Overview/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IO.FileStream.ctor2/VB/example2.vb b/snippets/visualbasic/System.IO/FileOptions/Overview/example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IO.FileStream.ctor2/VB/example2.vb rename to snippets/visualbasic/System.IO/FileOptions/Overview/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IO.FileStream.ctor1/VB/example.vb b/snippets/visualbasic/System.IO/FileStream/.ctor/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IO.FileStream.ctor1/VB/example.vb rename to snippets/visualbasic/System.IO/FileStream/.ctor/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream3/VB/fstreamlock.vb b/snippets/visualbasic/System.IO/FileStream/.ctor/fstreamlock.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream3/VB/fstreamlock.vb rename to snippets/visualbasic/System.IO/FileStream/.ctor/fstreamlock.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream1/VB/source.vb b/snippets/visualbasic/System.IO/FileStream/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream1/VB/source.vb rename to snippets/visualbasic/System.IO/FileStream/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream2/VB/source.vb b/snippets/visualbasic/System.IO/FileStream/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream2/VB/source.vb rename to snippets/visualbasic/System.IO/FileStream/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FStream CanSeek/VB/fstream canseek.vb b/snippets/visualbasic/System.IO/FileStream/CanSeek/fstream canseek.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FStream CanSeek/VB/fstream canseek.vb rename to snippets/visualbasic/System.IO/FileStream/CanSeek/fstream canseek.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FStream CanWrite/VB/fstream canwrite.vb b/snippets/visualbasic/System.IO/FileStream/CanWrite/fstream canwrite.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FStream CanWrite/VB/fstream canwrite.vb rename to snippets/visualbasic/System.IO/FileStream/CanWrite/fstream canwrite.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/vb/example.vb b/snippets/visualbasic/System.IO/FileStream/Overview/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/vb/example.vb rename to snippets/visualbasic/System.IO/FileStream/Overview/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/vb/example3.vb b/snippets/visualbasic/System.IO/FileStream/Overview/example3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/vb/example3.vb rename to snippets/visualbasic/System.IO/FileStream/Overview/example3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/vb/example4.vb b/snippets/visualbasic/System.IO/FileStream/Overview/example4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/vb/example4.vb rename to snippets/visualbasic/System.IO/FileStream/Overview/example4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FStream Class/VB/fstream class.vb b/snippets/visualbasic/System.IO/FileStream/Overview/fstream class.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FStream Class/VB/fstream class.vb rename to snippets/visualbasic/System.IO/FileStream/Overview/fstream class.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FSRead/VB/fsread.vb b/snippets/visualbasic/System.IO/FileStream/Read/fsread.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FSRead/VB/fsread.vb rename to snippets/visualbasic/System.IO/FileStream/Read/fsread.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.filestream.seek/vb/source.vb b/snippets/visualbasic/System.IO/FileStream/Seek/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.filestream.seek/vb/source.vb rename to snippets/visualbasic/System.IO/FileStream/Seek/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileSystemInfo_touch/vb/touch.vb b/snippets/visualbasic/System.IO/FileSystemInfo/LastAccessTime/touch.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileSystemInfo_touch/vb/touch.vb rename to snippets/visualbasic/System.IO/FileSystemInfo/LastAccessTime/touch.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FileSystemInfo/VB/FileSystemInfo.vb b/snippets/visualbasic/System.IO/FileSystemInfo/Overview/FileSystemInfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FileSystemInfo/VB/FileSystemInfo.vb rename to snippets/visualbasic/System.IO/FileSystemInfo/Overview/FileSystemInfo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb b/snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb rename to snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb b/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb rename to snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers20.vb b/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers20.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers20.vb rename to snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers20.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/pathcombine/VB/pathcombine.vb b/snippets/visualbasic/System.IO/Path/Combine/pathcombine.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/pathcombine/VB/pathcombine.vb rename to snippets/visualbasic/System.IO/Path/Combine/pathcombine.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.path.combine/vb/program.vb b/snippets/visualbasic/System.IO/Path/Combine/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.path.combine/vb/program.vb rename to snippets/visualbasic/System.IO/Path/Combine/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IO.Path.GetInvalidFile-PathChars/VB/example.vb b/snippets/visualbasic/System.IO/Path/GetInvalidFileNameChars/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IO.Path.GetInvalidFile-PathChars/VB/example.vb rename to snippets/visualbasic/System.IO/Path/GetInvalidFileNameChars/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Path Class/VB/path class.vb b/snippets/visualbasic/System.IO/Path/Overview/path class.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Path Class/VB/path class.vb rename to snippets/visualbasic/System.IO/Path/Overview/path class.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stream.copyto/vb/program.vb b/snippets/visualbasic/System.IO/Stream/CopyTo/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.stream.copyto/vb/program.vb rename to snippets/visualbasic/System.IO/Stream/CopyTo/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/StrmReader Ctor1/VB/strmreader ctor1.vb b/snippets/visualbasic/System.IO/StreamReader/.ctor/strmreader ctor1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/StrmReader Ctor1/VB/strmreader ctor1.vb rename to snippets/visualbasic/System.IO/StreamReader/.ctor/strmreader ctor1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/StrmReader Ctor2/VB/strmreader ctor2.vb b/snippets/visualbasic/System.IO/StreamReader/.ctor/strmreader ctor2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/StrmReader Ctor2/VB/strmreader ctor2.vb rename to snippets/visualbasic/System.IO/StreamReader/.ctor/strmreader ctor2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/StrmReader CurrentEncoding/VB/strmreader currentencoding.vb b/snippets/visualbasic/System.IO/StreamReader/CurrentEncoding/strmreader currentencoding.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/StrmReader CurrentEncoding/VB/strmreader currentencoding.vb rename to snippets/visualbasic/System.IO/StreamReader/CurrentEncoding/strmreader currentencoding.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/asyncex1.vb b/snippets/visualbasic/System.IO/StreamReader/Overview/asyncex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/asyncex1.vb rename to snippets/visualbasic/System.IO/StreamReader/Overview/asyncex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/example40.vb b/snippets/visualbasic/System.IO/StreamReader/Overview/example40.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/example40.vb rename to snippets/visualbasic/System.IO/StreamReader/Overview/example40.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/example41.vb b/snippets/visualbasic/System.IO/StreamReader/Overview/example41.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/example41.vb rename to snippets/visualbasic/System.IO/StreamReader/Overview/example41.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/example42.vb b/snippets/visualbasic/System.IO/StreamReader/Overview/example42.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/example42.vb rename to snippets/visualbasic/System.IO/StreamReader/Overview/example42.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/module1.vb b/snippets/visualbasic/System.IO/StreamReader/Overview/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/module1.vb rename to snippets/visualbasic/System.IO/StreamReader/Overview/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ReadTextFile/VB/readtextfile.vb b/snippets/visualbasic/System.IO/StreamReader/Overview/readtextfile.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ReadTextFile/VB/readtextfile.vb rename to snippets/visualbasic/System.IO/StreamReader/Overview/readtextfile.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/streamreadersample.vb b/snippets/visualbasic/System.IO/StreamReader/Overview/streamreadersample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/streamreadersample.vb rename to snippets/visualbasic/System.IO/StreamReader/Overview/streamreadersample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/StrmReader Peek/VB/strmreader peek.vb b/snippets/visualbasic/System.IO/StreamReader/Peek/strmreader peek.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/StrmReader Peek/VB/strmreader peek.vb rename to snippets/visualbasic/System.IO/StreamReader/Peek/strmreader peek.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/StrmRdrRead/VB/strmrdrread.vb b/snippets/visualbasic/System.IO/StreamReader/Read/strmrdrread.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/StrmRdrRead/VB/strmrdrread.vb rename to snippets/visualbasic/System.IO/StreamReader/Read/strmrdrread.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/StrmReader Read1/VB/strmreader read1.vb b/snippets/visualbasic/System.IO/StreamReader/Read/strmreader read1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/StrmReader Read1/VB/strmreader read1.vb rename to snippets/visualbasic/System.IO/StreamReader/Read/strmreader read1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/StrmReader Read2/VB/strmreader read2.vb b/snippets/visualbasic/System.IO/StreamReader/Read/strmreader read2.vb similarity index 95% rename from snippets/visualbasic/VS_Snippets_CLR/StrmReader Read2/VB/strmreader read2.vb rename to snippets/visualbasic/System.IO/StreamReader/Read/strmreader read2.vb index 2d7b4f6ce96..6f924b4cdf1 100644 --- a/snippets/visualbasic/VS_Snippets_CLR/StrmReader Read2/VB/strmreader read2.vb +++ b/snippets/visualbasic/System.IO/StreamReader/Read/strmreader read2.vb @@ -24,7 +24,7 @@ Public Class Test Do While sr.Peek() >= 0 'This is an arbitrary size for this example. Dim c(5) As Char - sr.Read(c, 0, c.Length) + sr.ReadBlock(c, 0, c.Length) 'The output will look odd, because 'only five characters are read at a time. Console.WriteLine(c) diff --git a/snippets/visualbasic/VS_Snippets_CLR/StrmReader ReadLine/VB/strmreader readline.vb b/snippets/visualbasic/System.IO/StreamReader/ReadLine/strmreader readline.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/StrmReader ReadLine/VB/strmreader readline.vb rename to snippets/visualbasic/System.IO/StreamReader/ReadLine/strmreader readline.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/StrmReader ReadToEnd/VB/strmreader readtoend.vb b/snippets/visualbasic/System.IO/StreamReader/ReadToEnd/strmreader readtoend.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/StrmReader ReadToEnd/VB/strmreader readtoend.vb rename to snippets/visualbasic/System.IO/StreamReader/ReadToEnd/strmreader readtoend.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program1.vb b/snippets/visualbasic/System.IO/StreamWriter/.ctor/program1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program1.vb rename to snippets/visualbasic/System.IO/StreamWriter/.ctor/program1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program2.vb b/snippets/visualbasic/System.IO/StreamWriter/.ctor/program2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program2.vb rename to snippets/visualbasic/System.IO/StreamWriter/.ctor/program2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program3.vb b/snippets/visualbasic/System.IO/StreamWriter/.ctor/program3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program3.vb rename to snippets/visualbasic/System.IO/StreamWriter/.ctor/program3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program4.vb b/snippets/visualbasic/System.IO/StreamWriter/.ctor/program4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program4.vb rename to snippets/visualbasic/System.IO/StreamWriter/.ctor/program4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program5.vb b/snippets/visualbasic/System.IO/StreamWriter/.ctor/program5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program5.vb rename to snippets/visualbasic/System.IO/StreamWriter/.ctor/program5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program6.vb b/snippets/visualbasic/System.IO/StreamWriter/.ctor/program6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program6.vb rename to snippets/visualbasic/System.IO/StreamWriter/.ctor/program6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program7.vb b/snippets/visualbasic/System.IO/StreamWriter/.ctor/program7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program7.vb rename to snippets/visualbasic/System.IO/StreamWriter/.ctor/program7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program8.vb b/snippets/visualbasic/System.IO/StreamWriter/.ctor/program8.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program8.vb rename to snippets/visualbasic/System.IO/StreamWriter/.ctor/program8.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example20.vb b/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example20.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example20.vb rename to snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example20.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example21.vb b/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example21.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example21.vb rename to snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example21.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example22.vb b/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example22.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example22.vb rename to snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example22.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example23.vb b/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example23.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example23.vb rename to snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example23.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example24.vb b/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example24.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example24.vb rename to snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example24.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example25.vb b/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example25.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example25.vb rename to snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example25.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/logger.vb b/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/logger.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/logger.vb rename to snippets/visualbasic/System.IO/StreamWriter/AutoFlush/logger.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/streamreadwrite/vb/module1.vb b/snippets/visualbasic/System.IO/StreamWriter/Overview/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/streamreadwrite/vb/module1.vb rename to snippets/visualbasic/System.IO/StreamWriter/Overview/module1.vb diff --git a/snippets/visualbasic/System.IO/StreamWriter/Overview/readwrite.vbproj b/snippets/visualbasic/System.IO/StreamWriter/Overview/readwrite.vbproj new file mode 100644 index 00000000000..b4e07154eb8 --- /dev/null +++ b/snippets/visualbasic/System.IO/StreamWriter/Overview/readwrite.vbproj @@ -0,0 +1,8 @@ + + + + Library + net9.0 + + + diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringReaderWriter/VB/stringrw.vb b/snippets/visualbasic/System.IO/StringReader/.ctor/stringrw.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringReaderWriter/VB/stringrw.vb rename to snippets/visualbasic/System.IO/StringReader/.ctor/stringrw.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringreader/vb/example1.vb b/snippets/visualbasic/System.IO/StringReader/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringreader/vb/example1.vb rename to snippets/visualbasic/System.IO/StringReader/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringreader/vb/example2.vb b/snippets/visualbasic/System.IO/StringReader/Overview/example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringreader/vb/example2.vb rename to snippets/visualbasic/System.IO/StringReader/Overview/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringreader/vb/example3.vb b/snippets/visualbasic/System.IO/StringReader/Overview/example3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringreader/vb/example3.vb rename to snippets/visualbasic/System.IO/StringReader/Overview/example3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.TextReaderWriter/VB/textrw.vb b/snippets/visualbasic/System.IO/StringReader/ReadToEnd/textrw.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.TextReaderWriter/VB/textrw.vb rename to snippets/visualbasic/System.IO/StringReader/ReadToEnd/textrw.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter1/VB/strwriter1.vb b/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter1/VB/strwriter1.vb rename to snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter2/VB/strwriter2.vb b/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter2/VB/strwriter2.vb rename to snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter3/VB/strwriter3.vb b/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter3/VB/strwriter3.vb rename to snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example.vb b/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example.vb rename to snippets/visualbasic/System.IO/StringWriter/WriteAsync/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example2.vb b/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example2.vb rename to snippets/visualbasic/System.IO/StringWriter/WriteAsync/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example3.vb b/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example3.vb rename to snippets/visualbasic/System.IO/StringWriter/WriteAsync/example3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example4.vb b/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example4.vb rename to snippets/visualbasic/System.IO/StringWriter/WriteAsync/example4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example5.vb b/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example5.vb rename to snippets/visualbasic/System.IO/StringWriter/WriteAsync/example5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example6.vb b/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example6.vb rename to snippets/visualbasic/System.IO/StringWriter/WriteAsync/example6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/WaitForChangedResult/VB/WaitforChangedResult.vb b/snippets/visualbasic/System.IO/WaitForChangedResult/Overview/WaitforChangedResult.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/WaitForChangedResult/VB/WaitforChangedResult.vb rename to snippets/visualbasic/System.IO/WaitForChangedResult/Overview/WaitforChangedResult.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage.xaml.vb b/snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage.xaml.vb rename to snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage2.xaml.vb b/snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage2.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage2.xaml.vb rename to snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage2.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage3.xaml.vb b/snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage3.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage3.xaml.vb rename to snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage3.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage4.xaml.vb b/snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage4.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage4.xaml.vb rename to snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage4.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestreamextensions/vb/blankpage.xaml.vb b/snippets/visualbasic/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestreamextensions/vb/blankpage.xaml.vb rename to snippets/visualbasic/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestreamextensions/vb/blankpage2.xaml.vb b/snippets/visualbasic/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage2.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestreamextensions/vb/blankpage2.xaml.vb rename to snippets/visualbasic/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage2.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb b/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb rename to snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb b/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb rename to snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.ExpressionT/VB/ExpressionT.vb b/snippets/visualbasic/System.Linq.Expressions/ExpressionTDelegate/Overview/ExpressionT.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.ExpressionT/VB/ExpressionT.vb rename to snippets/visualbasic/System.Linq.Expressions/ExpressionTDelegate/Overview/ExpressionT.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb b/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb similarity index 99% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb rename to snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb index 82e51f4a32e..47c857fb8da 100644 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb +++ b/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb @@ -5,11 +5,11 @@ Namespace SequenceExamples Module EnumerableSnippets Sub Main() OfTypeEx1() - End Sub - + End Sub + #Region "Aggregate" - - ' + + ' Sub AggregateEx1() Dim sentence As String = "the quick brown fox jumps over the lazy dog" @@ -36,7 +36,7 @@ Namespace SequenceExamples ' Count the even numbers in the array, using a seed value of 0. Dim numEven As Integer = ints.Aggregate(0, - Function(ByVal total, ByVal number) _ + Function(ByVal total, ByVal number) _ IIf(number Mod 2 = 0, total + 1, total)) ' Display the output. @@ -56,20 +56,20 @@ Namespace SequenceExamples ' Determine whether any string in the array is longer than "banana". Dim longestName As String = fruits.Aggregate("banana", - Function(ByVal longest, ByVal fruit) _ + Function(ByVal longest, ByVal fruit) _ IIf(fruit.Length > longest.Length, fruit, longest), Function(ByVal fruit) fruit.ToUpper()) ' Display the output. Console.WriteLine($"The fruit with the longest name is {longestName}") - End Sub - - ' This code produces the following output: - ' - ' The fruit with the longest name is PASSIONFRUIT - ' + End Sub + + ' This code produces the following output: + ' + ' The fruit with the longest name is PASSIONFRUIT + ' #End Region - + #Region "All" NotInheritable Class All ' @@ -113,7 +113,7 @@ Namespace SequenceExamples End Structure Sub AllEx2() - Dim people As New List(Of Person)(New Person() _ + Dim people As New List(Of Person)(New Person() _ {New Person With {.LastName = "Haas", .Pets = New Pet() {New Pet With {.Name = "Barley", .Age = 10}, New Pet With {.Name = "Boots", .Age = 14}, @@ -142,12 +142,12 @@ Namespace SequenceExamples End Sub ' - End Class - + End Class + #End Region - + #Region "Any" - + NotInheritable Class Any1 Sub AnyEx1() ' @@ -179,7 +179,7 @@ Namespace SequenceExamples End Structure Sub AnyEx2() - Dim people As New List(Of Person)(New Person() _ + Dim people As New List(Of Person)(New Person() _ {New Person With {.LastName = "Haas", .Pets = New Pet() {New Pet With {.Name = "Barley", .Age = 10}, New Pet With {.Name = "Boots", .Age = 14}, @@ -221,7 +221,7 @@ Namespace SequenceExamples Shared Sub AnyEx3() ' Create a list of Pets - Dim pets As New List(Of Pet)(New Pet() _ + Dim pets As New List(Of Pet)(New Pet() _ {New Pet With {.Name = "Barley", .Age = 8, .Vaccinated = True}, New Pet With {.Name = "Boots", .Age = 4, .Vaccinated = False}, New Pet With {.Name = "Whiskers", .Age = 1, .Vaccinated = False}}) @@ -239,12 +239,12 @@ Namespace SequenceExamples ' ' There are unvaccinated animals over age 1. ' - End Class - + End Class + #End Region - + #Region "AsEnumerable" - ' + ' Dim output As New System.Text.StringBuilder ' A custom class. @@ -265,7 +265,7 @@ Namespace SequenceExamples Sub AsEnumerableEx1() ' Create a new Clump(Of T) object. - Dim fruitClump As New Clump(Of String)(New String() _ + Dim fruitClump As New Clump(Of String)(New String() _ {"apple", "passionfruit", "banana", "mango", "orange", "blueberry", "grape", "strawberry"}) @@ -285,17 +285,17 @@ Namespace SequenceExamples ' Display the output. Console.WriteLine(output.ToString()) - End Sub - - ' This code produces the following output: - ' - ' In Clump's implementation of Where(). - ' query1 has been created. - ' - ' query2 has been created. - ' + End Sub + + ' This code produces the following output: + ' + ' In Clump's implementation of Where(). + ' query1 has been created. + ' + ' query2 has been created. + ' #End Region - + #Region "Average" Sub AverageEx1() ' @@ -366,10 +366,10 @@ Namespace SequenceExamples ' ' The average string length is 6.5 ' - End Sub - + End Sub + #End Region - + #Region "Cast" Sub CastEx1() ' @@ -401,11 +401,11 @@ Namespace SequenceExamples ' lemon ' mango ' - End Sub + End Sub #End Region - + #Region "Concat" - + NotInheritable Class Concat ' Structure Pet @@ -439,8 +439,8 @@ Namespace SequenceExamples ' the collection of cat name strings with a collection ' of dog name strings. Dim query As IEnumerable(Of String) = - cats _ - .Select(Function(cat) cat.Name) _ + cats _ + .Select(Function(cat) cat.Name) _ .Concat(dogs.Select(Function(dog) dog.Name)) Dim output As New System.Text.StringBuilder @@ -473,7 +473,7 @@ Namespace SequenceExamples Dim animals() As IEnumerable(Of Pet) = {cats, dogs} Dim query As IEnumerable(Of String) = - (animals.SelectMany(Function(pets) _ + (animals.SelectMany(Function(pets) _ pets.Select(Function(pet) pet.Name))) Dim output As New System.Text.StringBuilder @@ -494,10 +494,10 @@ Namespace SequenceExamples ' Fido ' End Sub - End Class - + End Class + #End Region - + #Region "Contains" Sub ContainsEx1() ' @@ -519,9 +519,9 @@ Namespace SequenceExamples ' ' The array does contain mango ' - End Sub + End Sub #End Region - + #Region "Count" Sub CountEx1() ' @@ -573,10 +573,10 @@ Namespace SequenceExamples ' ' There are 2 unvaccinated animals. ' - End Class - + End Class + #End Region - + #Region "DefaultIfEmpty" NotInheritable Class DefaultIfEmpty1 ' @@ -587,7 +587,7 @@ Namespace SequenceExamples Sub DefaultIfEmptyEx1() ' Create a List of Pet objects. - Dim pets As New List(Of Pet)(New Pet() _ + Dim pets As New List(Of Pet)(New Pet() _ {New Pet With {.Name = "Barley", .Age = 8}, New Pet With {.Name = "Boots", .Age = 4}, New Pet With {.Name = "Whiskers", .Age = 1}}) @@ -642,7 +642,7 @@ Namespace SequenceExamples Dim defaultPet As New Pet With {.Name = "Default Pet", .Age = 0} ' Create a List of Pet objects. - Dim pets1 As New List(Of Pet)(New Pet() _ + Dim pets1 As New List(Of Pet)(New Pet() _ {New Pet With {.Name = "Barley", .Age = 8}, New Pet With {.Name = "Boots", .Age = 4}, New Pet With {.Name = "Whiskers", .Age = 1}}) @@ -679,15 +679,15 @@ Namespace SequenceExamples ' ' Name: Default Pet ' - End Class - + End Class + #End Region - + #Region "Distinct" Sub DistinctEx1() ' ' Create a list of integers. - Dim ages As New List(Of Integer)(New Integer() _ + Dim ages As New List(Of Integer)(New Integer() _ {21, 46, 46, 55, 17, 21, 55, 55}) ' Select the unique numbers in the List. @@ -709,9 +709,9 @@ Namespace SequenceExamples ' 55 ' 17 ' - End Sub + End Sub #End Region - + #Region "ElementAt" Sub ElementAtEx1() ' @@ -731,9 +731,9 @@ Namespace SequenceExamples ' ' The name chosen at random is Ito, Shu ' - End Sub + End Sub #End Region - + #Region "ElementAtOrDefault" Sub ElementAtOrDefaultEx1() ' @@ -755,11 +755,11 @@ Namespace SequenceExamples ' ' The name chosen at index 20 is [THERE IS NO NAME AT THIS INDEX] ' - End Sub + End Sub #End Region - + #Region "Empty" - + Sub EmptyEx1() ' ' Create an empty sequence. @@ -786,7 +786,7 @@ Namespace SequenceExamples ' empty collection for the seed value. Dim allNames As IEnumerable(Of String) = namesList.Aggregate(Enumerable.Empty(Of String)(), - Function(current, nextOne) _ + Function(current, nextOne) _ IIf(nextOne.Length > 3, current.Union(nextOne), current)) Dim output As New System.Text.StringBuilder @@ -808,9 +808,9 @@ Namespace SequenceExamples ' Potra, Cristina ' Iallo, Lucio ' - End Sub + End Sub #End Region - + #Region "Except" Sub ExceptEx1() ' @@ -838,9 +838,9 @@ Namespace SequenceExamples ' 2.4 ' 2.5 ' - End Sub + End Sub #End Region - + #Region "First" Sub FirstEx1() ' @@ -876,9 +876,9 @@ Namespace SequenceExamples ' ' 92 ' - End Sub + End Sub #End Region - + #Region "FirstOrDefault" Sub FirstOrDefaultEx1() ' @@ -948,11 +948,11 @@ Namespace SequenceExamples ' The value of the firstMonth1 variable is 1 ' The value of the firstMonth2 variable is 1 ' - End Sub + End Sub #End Region - + #Region "GroupBy" - + NotInheritable Class GroupBy ' @@ -963,7 +963,7 @@ Namespace SequenceExamples Sub GroupByEx1() 'Create a list of Pet objects. - Dim pets As New List(Of Pet)(New Pet() _ + Dim pets As New List(Of Pet)(New Pet() _ {New Pet With {.Name = "Barley", .Age = 8}, New Pet With {.Name = "Boots", .Age = 4}, New Pet With {.Name = "Whiskers", .Age = 1}, @@ -1004,7 +1004,7 @@ Namespace SequenceExamples ' Uses query expression syntax. Sub GroupByEx2() ' Create a list of pets. - Dim pets As New List(Of Pet)(New Pet() _ + Dim pets As New List(Of Pet)(New Pet() _ {New Pet With {.Name = "Barley", .Age = 8}, New Pet With {.Name = "Boots", .Age = 4}, New Pet With {.Name = "Whiskers", .Age = 1}, @@ -1056,7 +1056,7 @@ Namespace SequenceExamples Public Sub GroupByEx3() ' Create a list of pets. - Dim petsList As New List(Of Pet)(New Pet() _ + Dim petsList As New List(Of Pet)(New Pet() _ {New Pet With {.Name = "Barley", .Age = 8.3}, New Pet With {.Name = "Boots", .Age = 4.9}, New Pet With {.Name = "Whiskers", .Age = 1.5}, @@ -1117,7 +1117,7 @@ Namespace SequenceExamples Public Sub GroupByEx4() ' Create a list of pets. - Dim petsList As New List(Of Pet)(New Pet() _ + Dim petsList As New List(Of Pet)(New Pet() _ {New Pet With {.Name = "Barley", .Age = 8.3}, New Pet With {.Name = "Boots", .Age = 4.9}, New Pet With {.Name = "Whiskers", .Age = 1.5}, @@ -1167,12 +1167,12 @@ Namespace SequenceExamples ' Minimum age: 1.5 ' Maximum age: 1.5 ' - End Class - + End Class + #End Region - + #Region "GroupJoin" - + NotInheritable Class GroupJoin ' @@ -1205,7 +1205,7 @@ Namespace SequenceExamples people.GroupJoin(pets, Function(person) person, Function(pet) pet.Owner, - Function(person, petCollection) _ + Function(person, petCollection) _ New With {.OwnerName = person.Name, .Pets = petCollection.Select( Function(pet) pet.Name)}) @@ -1234,10 +1234,10 @@ Namespace SequenceExamples ' Weiss, Charlotte ' Whiskers ' - End Class - + End Class + #End Region - + #Region "Intersect" Sub IntersectExample1() ' @@ -1261,11 +1261,11 @@ Namespace SequenceExamples ' 26 ' 30 ' - End Sub + End Sub #End Region - + #Region "Join" - + NotInheritable Class Join ' Structure Person @@ -1297,7 +1297,7 @@ Namespace SequenceExamples people.Join(pets, Function(person) person, Function(pet) pet.Owner, - Function(person, pet) _ + Function(person, pet) _ New With {.OwnerName = person.Name, .Pet = pet.Name}) Dim output As New System.Text.StringBuilder @@ -1317,10 +1317,10 @@ Namespace SequenceExamples ' Weiss, Charlotte - Whiskers ' - End Class - + End Class + #End Region - + #Region "Last" Sub LastEx1() ' @@ -1357,9 +1357,9 @@ Namespace SequenceExamples ' ' 87 ' - End Sub + End Sub #End Region - + #Region "LastOrDefault" Sub LastOrDefaultEx1() ' @@ -1432,9 +1432,9 @@ Namespace SequenceExamples ' The value of the lastDay1 variable is 1 ' The value of the lastDay2 variable is 1 ' - End Sub + End Sub #End Region - + #Region "LongCount" Sub LongCountEx1() ' @@ -1463,7 +1463,7 @@ Namespace SequenceExamples Sub LongCountEx2() ' Create a list of Pet objects. - Dim pets As New List(Of Pet)(New Pet() _ + Dim pets As New List(Of Pet)(New Pet() _ {New Pet With {.Name = "Barley", .Age = 8}, New Pet With {.Name = "Boots", .Age = 4}, New Pet With {.Name = "Whiskers", .Age = 1}}) @@ -1482,15 +1482,15 @@ Namespace SequenceExamples ' ' There are 2 animals over age 3 ' - End Class - + End Class + #End Region - + #Region "Max" Sub MaxEx1() ' ' Create a list of Long values. - Dim longs As New List(Of Long)(New Long() _ + Dim longs As New List(Of Long)(New Long() _ {4294967296L, 466855135L, 81125L}) ' Get the maximum value in the list. @@ -1540,7 +1540,7 @@ Namespace SequenceExamples ''' -1 if this Pet's sum is 'less' than the other Pet, ''' 0 if they are equal, ''' or 1 if this Pet's sum is 'greater' than the other Pet. - Function CompareTo(ByVal other As Pet) As Integer _ + Function CompareTo(ByVal other As Pet) As Integer _ Implements IComparable(Of Pet).CompareTo If (other.Age + other.Name.Length > Me.Age + Me.Name.Length) Then @@ -1571,10 +1571,10 @@ Namespace SequenceExamples ' ' The 'maximum' animal is Barley ' - End Class - + End Class + #End Region - + #Region "Max2" NotInheritable Class Max10 'with a selector ' @@ -1592,7 +1592,7 @@ Namespace SequenceExamples ' Determine the "maximum" pet by passing a ' lambda expression to Max() that sums the pet's age ' and name length. - Dim max As Integer = pets.Max(Function(pet) _ + Dim max As Integer = pets.Max(Function(pet) _ pet.Age + pet.Name.Length) ' Display the result. @@ -1603,10 +1603,10 @@ Namespace SequenceExamples ' ' The maximum pet age plus name length is 14 ' - End Class - + End Class + #End Region - + #Region "Min" Sub MinEx1() ' @@ -1656,7 +1656,7 @@ Namespace SequenceExamples ''' -1 if this Pet's age is smaller, ''' 0 if the Pets' ages are equal, ''' or 1 if this Pet's age is greater. - Function CompareTo(ByVal other As Pet) As Integer _ + Function CompareTo(ByVal other As Pet) As Integer _ Implements IComparable(Of Pet).CompareTo If (other.Age > Me.Age) Then @@ -1687,10 +1687,10 @@ Namespace SequenceExamples ' ' The 'minimum' pet is Whiskers ' - End Class - + End Class + #End Region - + #Region "Min2" NotInheritable Class Min10 ' @@ -1717,29 +1717,29 @@ Namespace SequenceExamples ' ' The youngest pet is age 1 ' - End Class - + End Class + #End Region - + #Region "OfType" - Sub OfTypeEx1() - ' - ' Create an ArrayList and add items to it. - Dim fruits As New ArrayList() From { - "Mango", - "Orange", - Nothing, - "Apple", - 3.0, - "Banana" - } - - ' Apply OfType(Of String)() to the ArrayList - ' to filter out non-string items. + Sub OfTypeEx1() + ' + ' Create an ArrayList and add items to it. + Dim fruits As New ArrayList() From { + "Mango", + "Orange", + Nothing, + "Apple", + 3.0, + "Banana" + } + + ' Apply OfType(Of String)() to the ArrayList + ' to filter out non-string items. Dim query1 As IEnumerable(Of String) = fruits.OfType(Of String)() ' Print the results. - Dim output As New System.Text.StringBuilder("Elements of type 'string' are:" _ + Dim output As New System.Text.StringBuilder("Elements of type 'string' are:" _ & vbCrLf) For Each fruit As String In query1 output.AppendLine(fruit) @@ -1748,7 +1748,7 @@ Namespace SequenceExamples ' The following query shows that the standard query operators such as ' Where() can be applied to the ArrayList type after calling OfType(). Dim query2 As IEnumerable(Of String) = - fruits.OfType(Of String)().Where(Function(fruit) _ + fruits.OfType(Of String)().Where(Function(fruit) _ fruit.Contains("n"c, StringComparison.CurrentCultureIgnoreCase)) output.AppendLine(vbCrLf & "The following strings contain 'n':") @@ -1772,11 +1772,11 @@ Namespace SequenceExamples ' Orange ' Banana ' - End Sub + End Sub #End Region - + #Region "OrderBy" - ' + ' Structure Pet Public Name As String Public Age As Integer @@ -1812,7 +1812,7 @@ Namespace SequenceExamples Class CaseInsensitiveCompare Implements IComparer(Of String) ' Define a compare method that ignores case. - Public Function Compare(ByVal s1 As String, ByVal s2 As String) As Integer _ + Public Function Compare(ByVal s1 As String, ByVal s2 As String) As Integer _ Implements System.Collections.Generic.IComparer(Of String).Compare Return String.Compare(s1, s2, True) End Function @@ -1821,7 +1821,7 @@ Namespace SequenceExamples Class CaseSensitiveCompare Implements IComparer(Of String) ' Define a compare method that does not ignore case. - Public Function Compare(ByVal s1 As String, ByVal s2 As String) As Integer _ + Public Function Compare(ByVal s1 As String, ByVal s2 As String) As Integer _ Implements System.Collections.Generic.IComparer(Of String).Compare Return String.Compare(s1, s2, False) End Function @@ -1852,38 +1852,38 @@ Namespace SequenceExamples For Each element In sortedArray Console.WriteLine(element) Next - End Sub - ' Output: - ' Case-insensitive sort of the strings in the array: - ' First - ' first - ' Four - ' four - ' one - ' One - - ' Case-sensitive sort of the strings in the array: - ' first - ' First - ' four - ' Four - ' one - ' One - - ' Sort based on the lengths of the strings in the array: - ' one - ' One - ' Four - ' four - ' First - ' first - ' + End Sub + ' Output: + ' Case-insensitive sort of the strings in the array: + ' First + ' first + ' Four + ' four + ' one + ' One + + ' Case-sensitive sort of the strings in the array: + ' first + ' First + ' four + ' Four + ' one + ' One + + ' Sort based on the lengths of the strings in the array: + ' one + ' One + ' Four + ' four + ' First + ' first + ' #End Region - + #Region "OrderByDescending" - ' - ' This class provides a custom implementation - ' of the IComparer.Compare() method. + ' + ' This class provides a custom implementation + ' of the IComparer.Compare() method. Class SpecialComparer Implements IComparer(Of Decimal) ''' @@ -1897,7 +1897,7 @@ Namespace SequenceExamples ''' part is less than the second decimal's fractional part, ''' or the result of calling Decimal.Compare() ''' if the fractional parts are equal. - Function Compare(ByVal d1 As Decimal, ByVal d2 As Decimal) As Integer _ + Function Compare(ByVal d1 As Decimal, ByVal d2 As Decimal) As Integer _ Implements IComparer(Of Decimal).Compare Dim fractional1 As Decimal @@ -1930,7 +1930,7 @@ Namespace SequenceExamples Sub OrderByDescendingEx1() ' Create a list of decimal values. - Dim decimals As New List(Of Decimal)(New Decimal() _ + Dim decimals As New List(Of Decimal)(New Decimal() _ {6.2D, 8.3D, 0.5D, 1.3D, 6.3D, 9.7D}) ' Order the elements of the list by passing @@ -1946,19 +1946,19 @@ Namespace SequenceExamples ' Display the output. Console.WriteLine(output.ToString()) - End Sub - - ' This code produces the following output: - ' - ' 9.7 - ' 0.5 - ' 8.3 - ' 6.3 - ' 1.3 - ' 6.2 - ' + End Sub + + ' This code produces the following output: + ' + ' 9.7 + ' 0.5 + ' 8.3 + ' 6.3 + ' 1.3 + ' 6.2 + ' #End Region - + #Region "Range" Sub RangeEx1() ' @@ -1988,9 +1988,9 @@ Namespace SequenceExamples ' 81 ' 100 ' - End Sub + End Sub #End Region - + #Region "Repeat" Sub RepeatEx1() ' @@ -2024,14 +2024,14 @@ Namespace SequenceExamples ' I like programming. ' I like programming. ' - End Sub + End Sub #End Region - + #Region "Reverse" Sub ReverseEx1() ' ' Create a List of Char values. - Dim appleLetters As New List(Of Char)(New Char() _ + Dim appleLetters As New List(Of Char)(New Char() _ {"a"c, "P"c, "P"c, "L"c, "E"c}) ' Reverse the order of the elements in the list. @@ -2052,9 +2052,9 @@ Namespace SequenceExamples ' ' E L P P a ' - End Sub + End Sub #End Region - + #Region "_Select" Sub SelectEx1() ' @@ -2097,7 +2097,7 @@ Namespace SequenceExamples ' a substring of each item whose length is equal ' to the index position in the original array. Dim query = - fruits.Select(Function(fruit, index) _ + fruits.Select(Function(fruit, index) _ New With {index, .Str = fruit.Substring(0, index)}) Dim output As New System.Text.StringBuilder @@ -2117,9 +2117,9 @@ Namespace SequenceExamples ' { index = 4, Str = pass } ' { index = 5, Str = grape } ' - End Sub + End Sub #End Region - + #Region "SelectMany" NotInheritable Class SelectMany1 ' @@ -2209,8 +2209,8 @@ Namespace SequenceExamples ' of each PetOwner to each pet's name in that petOwner's ' array of pets. Dim query As IEnumerable(Of String) = - petOwners.SelectMany(Function(petOwner, index) _ - petOwner.Pets.Select(Function(pet) _ + petOwners.SelectMany(Function(petOwner, index) _ + petOwner.Pets.Select(Function(pet) _ index.ToString() + pet)) Dim output As New System.Text.StringBuilder @@ -2246,12 +2246,12 @@ Namespace SequenceExamples ' Project an anonymous type that consists of ' the owner's name and the pet's name (string). Dim query = - petOwners _ + petOwners _ .SelectMany( Function(petOwner) petOwner.Pets, - Function(petOwner, petName) New With {petOwner, petName}) _ - .Where(Function(ownerAndPet) ownerAndPet.petName.StartsWith("S")) _ - .Select(Function(ownerAndPet) _ + Function(petOwner, petName) New With {petOwner, petName}) _ + .Where(Function(ownerAndPet) ownerAndPet.petName.StartsWith("S")) _ + .Select(Function(ownerAndPet) _ New With {.Owner = ownerAndPet.petOwner.Name, .Pet = ownerAndPet.petName }) @@ -2272,12 +2272,12 @@ Namespace SequenceExamples ' Owner=Ashkenazi, Pet=Sugar ' Owner=Price, Pet=Scratches ' - End Class - + End Class + #End Region - + #Region "SequenceEqual" - + NotInheritable Class SequenceEqual1 ' Class Pet @@ -2337,10 +2337,10 @@ Namespace SequenceExamples ' The lists are not equal. ' End Sub - End Class - + End Class + #End Region - + #Region "_Single" Sub SingleEx1() ' @@ -2396,7 +2396,7 @@ Namespace SequenceExamples ' Try to get the single item in the array whose length is > 15. Try - result = fruits.Single(Function(fruit) _ + result = fruits.Single(Function(fruit) _ fruit.Length > 15) Catch ex As System.InvalidOperationException result = "There is not EXACTLY ONE element whose length is > 15." @@ -2410,9 +2410,9 @@ Namespace SequenceExamples ' First query: passionfruit ' Second query: There is not EXACTLY ONE element whose length is > 15. ' - End Sub + End Sub #End Region - + #Region "SingleOrDefault" Sub SingleOrDefaultEx1() ' @@ -2498,9 +2498,9 @@ Namespace SequenceExamples ' The value of the pageNumber1 variable is 1 ' The value of the pageNumber2 variable is 1 ' - End Sub + End Sub #End Region - + #Region "Skip" Sub SkipEx1() ' @@ -2510,7 +2510,7 @@ Namespace SequenceExamples ' Sort the numbers in descending order and ' get all but the first (largest) three numbers. Dim skippedGrades As IEnumerable(Of Integer) = - grades _ + grades _ .Skip(3) ' Display the results. @@ -2528,9 +2528,9 @@ Namespace SequenceExamples ' 98 ' 85 ' - End Sub + End Sub #End Region - + #Region "SkipWhile" Sub SkipWhileEx1() ' @@ -2540,8 +2540,8 @@ Namespace SequenceExamples ' Sort the grades in descending order and ' get all grades greater less than 80. Dim lowerGrades As IEnumerable(Of Integer) = - grades _ - .OrderByDescending(Function(grade) grade) _ + grades _ + .OrderByDescending(Function(grade) grade) _ .SkipWhile(Function(grade) grade >= 80) ' Display the results. @@ -2569,7 +2569,7 @@ Namespace SequenceExamples ' Skip items in the array whose value is greater than ' the item's index times 1000; get the remaining items. Dim query As IEnumerable(Of Integer) = - amounts.SkipWhile(Function(amount, index) _ + amounts.SkipWhile(Function(amount, index) _ amount > index * 1000) ' Output the results. @@ -2585,11 +2585,11 @@ Namespace SequenceExamples ' 1500 ' 5500 ' - End Sub + End Sub #End Region - + #Region "Sum" - + NotInheritable Class Sum9 ' Structure Package @@ -2599,14 +2599,14 @@ Namespace SequenceExamples Sub SumEx1() ' Create a list of Package values. - Dim packages As New List(Of Package)(New Package() _ + Dim packages As New List(Of Package)(New Package() _ {New Package With {.Company = "Coho Vineyard", .Weight = 25.2}, New Package With {.Company = "Lucerne Publishing", .Weight = 18.7}, New Package With {.Company = "Wingtip Toys", .Weight = 6.0}, New Package With {.Company = "Adventure Works", .Weight = 33.8}}) ' Sum the values from each item's Weight property. - Dim totalWeight As Double = packages.Sum(Function(pkg) _ + Dim totalWeight As Double = packages.Sum(Function(pkg) _ pkg.Weight) ' Display the result. @@ -2622,7 +2622,7 @@ Namespace SequenceExamples Sub SumEx2() ' ' Create a list of Single values. - Dim numbers As New List(Of Single)(New Single() _ + Dim numbers As New List(Of Single)(New Single() _ {43.68F, 1.25F, 583.7F, 6.5F}) ' Get the sum of values in the list. @@ -2653,9 +2653,9 @@ Namespace SequenceExamples ' ' Total points earned: 311.39 ' - End Sub + End Sub #End Region - + #Region "Take" Sub TakeEx1() ' @@ -2666,8 +2666,8 @@ Namespace SequenceExamples ' them in descending order and then taking the ' first three values. Dim topThreeGrades As IEnumerable(Of Integer) = - grades _ - .OrderByDescending(Function(grade) grade) _ + grades _ + .OrderByDescending(Function(grade) grade) _ .Take(3) ' Display the results. @@ -2684,9 +2684,9 @@ Namespace SequenceExamples ' 92 ' 85 ' - End Sub + End Sub #End Region - + #Region "TakeWhile" Sub TakeWhileEx1() ' @@ -2697,7 +2697,7 @@ Namespace SequenceExamples ' Take strings from the array until one of ' the strings matches "orange". Dim query As IEnumerable(Of String) = - fruits.TakeWhile(Function(fruit) _ + fruits.TakeWhile(Function(fruit) _ String.Compare("orange", fruit, True) <> 0) ' Display the results. @@ -2726,7 +2726,7 @@ Namespace SequenceExamples ' of the string's lengths is greater than or ' equal to the string item's index in the array. Dim query As IEnumerable(Of String) = - fruits.TakeWhile(Function(fruit, index) _ + fruits.TakeWhile(Function(fruit, index) _ fruit.Length >= index) ' Display the results. @@ -2745,9 +2745,9 @@ Namespace SequenceExamples ' orange ' blueberry ' - End Sub + End Sub #End Region - + #Region "ThenBy" Sub ThenByEx1() ' @@ -2759,8 +2759,8 @@ Namespace SequenceExamples ' Sort the strings first by their length and then ' alphabetically by passing the identity function. Dim query As IEnumerable(Of String) = - fruits _ - .OrderBy(Function(fruit) fruit.Length) _ + fruits _ + .OrderBy(Function(fruit) fruit.Length) _ .ThenBy(Function(fruit) fruit) ' Display the results. @@ -2781,16 +2781,16 @@ Namespace SequenceExamples ' raspberry ' passionfruit ' - End Sub + End Sub #End Region - + #Region "ThenByDescending" - ' - ' This class provides a custom implementation of the Compare() method. + ' + ' This class provides a custom implementation of the Compare() method. Class CaseInsensitiveComparer Implements IComparer(Of String) - Function Compare(ByVal x As String, ByVal y As String) As Integer _ + Function Compare(ByVal x As String, ByVal y As String) As Integer _ Implements IComparer(Of String).Compare ' Compare values and ignore case. @@ -2805,8 +2805,8 @@ Namespace SequenceExamples ' Sort the strings first by their length and then ' by using a custom "case insensitive" comparer. Dim query As IEnumerable(Of String) = - fruits _ - .OrderBy(Function(fruit) fruit.Length) _ + fruits _ + .OrderBy(Function(fruit) fruit.Length) _ .ThenByDescending(Function(fruit) fruit, New CaseInsensitiveComparer()) ' Display the results. @@ -2815,21 +2815,21 @@ Namespace SequenceExamples output.AppendLine(fruit) Next Console.WriteLine(output.ToString()) - End Sub - - ' This code produces the following output: - - ' apPLe - ' apple - ' APple - ' apPLE - ' orange - ' ORANGE - ' baNanA - ' BAnana - ' + End Sub + + ' This code produces the following output: + + ' apPLe + ' apple + ' APple + ' apPLE + ' orange + ' ORANGE + ' baNanA + ' BAnana + ' #End Region - + #Region "ToArray" NotInheritable Class ToArray ' @@ -2840,7 +2840,7 @@ Namespace SequenceExamples Sub ToArrayEx1() ' Create a list of Package values. - Dim packages As New List(Of Package)(New Package() _ + Dim packages As New List(Of Package)(New Package() _ {New Package With {.Company = "Coho Vineyard", .Weight = 25.2}, New Package With {.Company = "Lucerne Publishing", .Weight = 18.7}, New Package With {.Company = "Wingtip Toys", .Weight = 6.0}, @@ -2849,8 +2849,8 @@ Namespace SequenceExamples ' Project the Company values from each item in the list ' and put them into an array. Dim companies() As String = - packages _ - .Select(Function(pkg) pkg.Company) _ + packages _ + .Select(Function(pkg) pkg.Company) _ .ToArray() ' Display the results. @@ -2868,12 +2868,12 @@ Namespace SequenceExamples ' Wingtip Toys ' Adventure Works ' - End Class - + End Class + #End Region - + #Region "ToDictionary" - + NotInheritable Class ToDictionary ' @@ -2885,7 +2885,7 @@ Namespace SequenceExamples Sub ToDictionaryEx1() ' Create a list of Package values. - Dim packages As New List(Of Package)(New Package() _ + Dim packages As New List(Of Package)(New Package() _ {New Package With {.Company = "Coho Vineyard", .Weight = 25.2, .TrackingNumber = 89453312L}, New Package With @@ -2917,10 +2917,10 @@ Namespace SequenceExamples ' Key 299456122: Wingtip Toys, 6 pounds ' Key 4665518773: Adventure Works, 33.8 pounds ' - End Class - + End Class + #End Region - + #Region "ToList" Sub ToListEx1() ' @@ -2932,8 +2932,8 @@ Namespace SequenceExamples ' Project the length of each string and ' put the length values into a List object. Dim lengths As List(Of Integer) = - fruits _ - .Select(Function(fruit) fruit.Length) _ + fruits _ + .Select(Function(fruit) fruit.Length) _ .ToList() ' Display the results. @@ -2954,11 +2954,11 @@ Namespace SequenceExamples ' 5 ' 10 ' - End Sub + End Sub #End Region - + #Region "ToLookup" - ' + ' Structure Package Public Company As String Public Weight As Double @@ -2967,7 +2967,7 @@ Namespace SequenceExamples Sub ToLookupEx1() ' Create a list of Packages. - Dim packages As New List(Of Package)(New Package() _ + Dim packages As New List(Of Package)(New Package() _ {New Package With {.Company = "Coho Vineyard", .Weight = 25.2, .TrackingNumber = 89453312L}, New Package With @@ -2984,9 +2984,9 @@ Namespace SequenceExamples ' Select Company appended to TrackingNumber ' as the element values of the Lookup. Dim lookup As ILookup(Of Char, String) = - packages.ToLookup(Function(p) _ + packages.ToLookup(Function(p) _ Convert.ToChar(p.Company.Substring(0, 1)), - Function(p) _ + Function(p) _ p.Company & " " & p.TrackingNumber) Dim output As New System.Text.StringBuilder @@ -3011,25 +3011,25 @@ Namespace SequenceExamples ' Display the output. Console.WriteLine(output.ToString()) - End Sub - - ' This code produces the following output: - ' - ' C - ' Coho Vineyard 89453312 - ' Contoso Pharmaceuticals 670053128 - ' L - ' Lucerne Publishing 89112755 - ' W - ' Wingtip Toys 299456122 - ' Wide World Importers 4665518773 - ' - ' Packages from Company names that start with 'C': - ' Coho Vineyard 89453312 - ' Contoso Pharmaceuticals 670053128 - ' + End Sub + + ' This code produces the following output: + ' + ' C + ' Coho Vineyard 89453312 + ' Contoso Pharmaceuticals 670053128 + ' L + ' Lucerne Publishing 89112755 + ' W + ' Wingtip Toys 299456122 + ' Wide World Importers 4665518773 + ' + ' Packages from Company names that start with 'C': + ' Coho Vineyard 89453312 + ' Contoso Pharmaceuticals 670053128 + ' #End Region - + #Region "Union" Sub UnionEx1() ' @@ -3059,14 +3059,14 @@ Namespace SequenceExamples ' 1 ' 0 ' - End Sub + End Sub #End Region - + #Region "_Where" Sub WhereEx1() ' ' Create a list of strings. - Dim fruits As New List(Of String)(New String() _ + Dim fruits As New List(Of String)(New String() _ {"apple", "passionfruit", "banana", "mango", "orange", "blueberry", "grape", "strawberry"}) @@ -3114,9 +3114,9 @@ Namespace SequenceExamples ' 15 ' 40 ' - End Sub + End Sub #End Region - + #Region "Zip" Sub ZipEx() ' @@ -3134,9 +3134,9 @@ Namespace SequenceExamples ' 2 two ' 3 three ' - End Sub + End Sub #End Region - + #Region "Append" Sub AppendEx() ' @@ -3164,9 +3164,9 @@ Namespace SequenceExamples ' 1, 2, 3, 4, 5 ' 1, 2, 3, 4, 5 ' - End Sub + End Sub #End Region - + #Region "Prepend" Sub PrependEx() ' @@ -3194,22 +3194,22 @@ Namespace SequenceExamples ' 0, 1, 2, 3, 4 ' 0, 1, 2, 3, 4 ' - End Sub + End Sub #End Region - - + + #Region "SkipLast" - Sub SkipLastEx1() + Sub SkipLastEx1() #If NETCOREAPP Then - ' - ' Create an array of integers that represent grades. + ' + ' Create an array of integers that represent grades. Dim grades() As Integer = {59, 82, 70, 56, 92, 98, 85} ' Sort the numbers in descending order and ' get all but the last (smallest) three numbers. Dim topGrades As IEnumerable(Of Integer) = - grades _ - .OrderByDescending(Function(g) g) _ + grades _ + .OrderByDescending(Function(g) g) _ .SkipLast(3) ' Display the results. @@ -3217,33 +3217,33 @@ Namespace SequenceExamples For Each grade As Integer In topGrades output.AppendLine(grade) Next - Console.WriteLine(output.ToString()) - - ' This code produces the following output: - ' - ' All grades except the bottom three are: - ' 98 - ' 92 - ' 85 - ' 82 - ' + Console.WriteLine(output.ToString()) + + ' This code produces the following output: + ' + ' All grades except the bottom three are: + ' 98 + ' 92 + ' 85 + ' 82 + ' #End If - End Sub + End Sub #End Region - + #Region "TakeLast" - Sub TakeLastEx1() + Sub TakeLastEx1() #If NETCOREAPP Then - ' - ' Create an array of Integer values that represent grades. + ' + ' Create an array of Integer values that represent grades. Dim grades() As Integer = {59, 82, 70, 56, 92, 98, 85} ' Get the lowest three grades by first sorting ' them in descending order and then taking the ' last three values. Dim bottomThreeGrades As IEnumerable(Of Integer) = - grades _ - .OrderByDescending(Function(grade) grade) _ + grades _ + .OrderByDescending(Function(grade) grade) _ .TakeLast(3) ' Display the results. @@ -3251,19 +3251,19 @@ Namespace SequenceExamples For Each grade As Integer In bottomThreeGrades output.AppendLine(grade) Next - Console.WriteLine(output.ToString()) - - ' This code produces the following output: - ' - ' The bottom three grades are: - ' 70 - ' 59 - ' 56 - ' + Console.WriteLine(output.ToString()) + + ' This code produces the following output: + ' + ' The bottom three grades are: + ' 70 + ' 59 + ' 56 + ' #End If - End Sub + End Sub #End Region - + End Module End Namespace diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vbproj b/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vbproj rename to snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vbproj diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQCustomComparer/VB/CustomComparer.vb b/snippets/visualbasic/System.Linq/Enumerable/ContainsTSource/CustomComparer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQCustomComparer/VB/CustomComparer.vb rename to snippets/visualbasic/System.Linq/Enumerable/ContainsTSource/CustomComparer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQEncapsulatedComparer/VB/EncapsulatedComparer.vb b/snippets/visualbasic/System.Linq/Enumerable/DistinctTSource/EncapsulatedComparer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQEncapsulatedComparer/VB/EncapsulatedComparer.vb rename to snippets/visualbasic/System.Linq/Enumerable/DistinctTSource/EncapsulatedComparer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.IGrouping/VB/IGrouping.vb b/snippets/visualbasic/System.Linq/IGroupingTKey,TElement/Overview/IGrouping.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.IGrouping/VB/IGrouping.vb rename to snippets/visualbasic/System.Linq/IGroupingTKey,TElement/Overview/IGrouping.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.ILookup/vb/ILookup.vb b/snippets/visualbasic/System.Linq/ILookupTKey,TElement/Overview/ILookup.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.ILookup/vb/ILookup.vb rename to snippets/visualbasic/System.Linq/ILookupTKey,TElement/Overview/ILookup.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.IOrderedEnumerable/VB/IOrderedEnumerable.vb b/snippets/visualbasic/System.Linq/IOrderedEnumerableTElement/Overview/IOrderedEnumerable.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.IOrderedEnumerable/VB/IOrderedEnumerable.vb rename to snippets/visualbasic/System.Linq/IOrderedEnumerableTElement/Overview/IOrderedEnumerable.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Lookup/VB/Lookup.vb b/snippets/visualbasic/System.Linq/LookupTKey,TElement/Overview/Lookup.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Lookup/VB/Lookup.vb rename to snippets/visualbasic/System.Linq/LookupTKey,TElement/Overview/Lookup.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb b/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb rename to snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InstrumentationType/vb/InstrumentationType.vb b/snippets/visualbasic/System.Management.Instrumentation/InstrumentationType/Overview/InstrumentationType.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InstrumentationType/vb/InstrumentationType.vb rename to snippets/visualbasic/System.Management.Instrumentation/InstrumentationType/Overview/InstrumentationType.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_CompletedEventArgs/vb/CompletedEventArgs.vb b/snippets/visualbasic/System.Management/CompletedEventArgs/Overview/CompletedEventArgs.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_CompletedEventArgs/vb/CompletedEventArgs.vb rename to snippets/visualbasic/System.Management/CompletedEventArgs/Overview/CompletedEventArgs.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_CompletedEventHandler/vb/CompletedEventHandler.vb b/snippets/visualbasic/System.Management/CompletedEventHandler/Overview/CompletedEventHandler.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_CompletedEventHandler/vb/CompletedEventHandler.vb rename to snippets/visualbasic/System.Management/CompletedEventHandler/Overview/CompletedEventHandler.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions-9/vb/ConnectionOptions-9.vb b/snippets/visualbasic/System.Management/ConnectionOptions/.ctor/ConnectionOptions-9.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions-9/vb/ConnectionOptions-9.vb rename to snippets/visualbasic/System.Management/ConnectionOptions/.ctor/ConnectionOptions-9.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Authentication/vb/ConnectionOptions_Authentication.vb b/snippets/visualbasic/System.Management/ConnectionOptions/Authentication/ConnectionOptions_Authentication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Authentication/vb/ConnectionOptions_Authentication.vb rename to snippets/visualbasic/System.Management/ConnectionOptions/Authentication/ConnectionOptions_Authentication.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Authority/vb/ConnectionOptions_Authority.vb b/snippets/visualbasic/System.Management/ConnectionOptions/Authority/ConnectionOptions_Authority.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Authority/vb/ConnectionOptions_Authority.vb rename to snippets/visualbasic/System.Management/ConnectionOptions/Authority/ConnectionOptions_Authority.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Impersonation/vb/ConnectionOptions_Impersonation.vb b/snippets/visualbasic/System.Management/ConnectionOptions/Impersonation/ConnectionOptions_Impersonation.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Impersonation/vb/ConnectionOptions_Impersonation.vb rename to snippets/visualbasic/System.Management/ConnectionOptions/Impersonation/ConnectionOptions_Impersonation.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Locale/vb/ConnectionOptions_Locale.vb b/snippets/visualbasic/System.Management/ConnectionOptions/Locale/ConnectionOptions_Locale.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Locale/vb/ConnectionOptions_Locale.vb rename to snippets/visualbasic/System.Management/ConnectionOptions/Locale/ConnectionOptions_Locale.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions/vb/ConnectionOptions.vb b/snippets/visualbasic/System.Management/ConnectionOptions/Overview/ConnectionOptions.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions/vb/ConnectionOptions.vb rename to snippets/visualbasic/System.Management/ConnectionOptions/Overview/ConnectionOptions.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_UserName/vb/ConnectionOptions_Username.vb b/snippets/visualbasic/System.Management/ConnectionOptions/Username/ConnectionOptions_Username.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_UserName/vb/ConnectionOptions_Username.vb rename to snippets/visualbasic/System.Management/ConnectionOptions/Username/ConnectionOptions_Username.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions-10/vb/EnumerationOptions-10.vb b/snippets/visualbasic/System.Management/EnumerationOptions/.ctor/EnumerationOptions-10.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions-10/vb/EnumerationOptions-10.vb rename to snippets/visualbasic/System.Management/EnumerationOptions/.ctor/EnumerationOptions-10.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions_BlockSize/vb/EnumerationOptions_BlockSize.vb b/snippets/visualbasic/System.Management/EnumerationOptions/BlockSize/EnumerationOptions_BlockSize.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions_BlockSize/vb/EnumerationOptions_BlockSize.vb rename to snippets/visualbasic/System.Management/EnumerationOptions/BlockSize/EnumerationOptions_BlockSize.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions_DirectRead/vb/EnumerationOptions_DirectRead.vb b/snippets/visualbasic/System.Management/EnumerationOptions/DirectRead/EnumerationOptions_DirectRead.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions_DirectRead/vb/EnumerationOptions_DirectRead.vb rename to snippets/visualbasic/System.Management/EnumerationOptions/DirectRead/EnumerationOptions_DirectRead.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions_EnumerateDeep/vb/EnumerationOptions_EnumerateDeep.vb b/snippets/visualbasic/System.Management/EnumerationOptions/EnumerateDeep/EnumerationOptions_EnumerateDeep.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions_EnumerateDeep/vb/EnumerationOptions_EnumerateDeep.vb rename to snippets/visualbasic/System.Management/EnumerationOptions/EnumerateDeep/EnumerationOptions_EnumerateDeep.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions/vb/EnumerationOptions.vb b/snippets/visualbasic/System.Management/EnumerationOptions/Overview/EnumerationOptions.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions/vb/EnumerationOptions.vb rename to snippets/visualbasic/System.Management/EnumerationOptions/Overview/EnumerationOptions.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventArrivedEventArgs/vb/EventArrivedEventArgs.vb b/snippets/visualbasic/System.Management/EventArrivedEventArgs/Overview/EventArrivedEventArgs.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventArrivedEventArgs/vb/EventArrivedEventArgs.vb rename to snippets/visualbasic/System.Management/EventArrivedEventArgs/Overview/EventArrivedEventArgs.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventArrivedEventHandler/vb/EventArrivedEventHandler.vb b/snippets/visualbasic/System.Management/EventArrivedEventHandler/Overview/EventArrivedEventHandler.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventArrivedEventHandler/vb/EventArrivedEventHandler.vb rename to snippets/visualbasic/System.Management/EventArrivedEventHandler/Overview/EventArrivedEventHandler.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery-1/vb/EventQuery-1.vb b/snippets/visualbasic/System.Management/EventQuery/.ctor/EventQuery-1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery-1/vb/EventQuery-1.vb rename to snippets/visualbasic/System.Management/EventQuery/.ctor/EventQuery-1.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery-2/vb/EventQuery-2.vb b/snippets/visualbasic/System.Management/EventQuery/.ctor/EventQuery-2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery-2/vb/EventQuery-2.vb rename to snippets/visualbasic/System.Management/EventQuery/.ctor/EventQuery-2.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery/vb/EventQuery.vb b/snippets/visualbasic/System.Management/EventQuery/Overview/EventQuery.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery/vb/EventQuery.vb rename to snippets/visualbasic/System.Management/EventQuery/Overview/EventQuery.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventWatcherOptions-3/vb/EventWatcherOptions-3.vb b/snippets/visualbasic/System.Management/EventWatcherOptions/.ctor/EventWatcherOptions-3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventWatcherOptions-3/vb/EventWatcherOptions-3.vb rename to snippets/visualbasic/System.Management/EventWatcherOptions/.ctor/EventWatcherOptions-3.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventWatcherOptions_BlockSize/vb/EventWatcherOptions_BlockSize.vb b/snippets/visualbasic/System.Management/EventWatcherOptions/BlockSize/EventWatcherOptions_BlockSize.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventWatcherOptions_BlockSize/vb/EventWatcherOptions_BlockSize.vb rename to snippets/visualbasic/System.Management/EventWatcherOptions/BlockSize/EventWatcherOptions_BlockSize.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventWatcherOptions/vb/EventWatcherOptions.vb b/snippets/visualbasic/System.Management/EventWatcherOptions/Overview/EventWatcherOptions.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventWatcherOptions/vb/EventWatcherOptions.vb rename to snippets/visualbasic/System.Management/EventWatcherOptions/Overview/EventWatcherOptions.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions-1/vb/InvokeMethodOptions-1.vb b/snippets/visualbasic/System.Management/InvokeMethodOptions/.ctor/InvokeMethodOptions-1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions-1/vb/InvokeMethodOptions-1.vb rename to snippets/visualbasic/System.Management/InvokeMethodOptions/.ctor/InvokeMethodOptions-1.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions-2/vb/InvokeMethodOptions-2.vb b/snippets/visualbasic/System.Management/InvokeMethodOptions/.ctor/InvokeMethodOptions-2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions-2/vb/InvokeMethodOptions-2.vb rename to snippets/visualbasic/System.Management/InvokeMethodOptions/.ctor/InvokeMethodOptions-2.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions/vb/InvokeMethodOptions.vb b/snippets/visualbasic/System.Management/InvokeMethodOptions/Overview/InvokeMethodOptions.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions/vb/InvokeMethodOptions.vb rename to snippets/visualbasic/System.Management/InvokeMethodOptions/Overview/InvokeMethodOptions.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_ClassPath/vb/ManagementBaseObject_ClassPath.vb b/snippets/visualbasic/System.Management/ManagementBaseObject/ClassPath/ManagementBaseObject_ClassPath.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_ClassPath/vb/ManagementBaseObject_ClassPath.vb rename to snippets/visualbasic/System.Management/ManagementBaseObject/ClassPath/ManagementBaseObject_ClassPath.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetPropertyQualifierValue/vb/ManagementBaseObject_GetPropertyQualifierValue.vb b/snippets/visualbasic/System.Management/ManagementBaseObject/GetPropertyQualifierValue/ManagementBaseObject_GetPropertyQualifierValue.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetPropertyQualifierValue/vb/ManagementBaseObject_GetPropertyQualifierValue.vb rename to snippets/visualbasic/System.Management/ManagementBaseObject/GetPropertyQualifierValue/ManagementBaseObject_GetPropertyQualifierValue.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetPropertyValue/vb/ManagementBaseObject_GetPropertyValue.vb b/snippets/visualbasic/System.Management/ManagementBaseObject/GetPropertyValue/ManagementBaseObject_GetPropertyValue.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetPropertyValue/vb/ManagementBaseObject_GetPropertyValue.vb rename to snippets/visualbasic/System.Management/ManagementBaseObject/GetPropertyValue/ManagementBaseObject_GetPropertyValue.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetQualifierValue/vb/ManagementBaseObject_GetQualifierValue.vb b/snippets/visualbasic/System.Management/ManagementBaseObject/GetQualifierValue/ManagementBaseObject_GetQualifierValue.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetQualifierValue/vb/ManagementBaseObject_GetQualifierValue.vb rename to snippets/visualbasic/System.Management/ManagementBaseObject/GetQualifierValue/ManagementBaseObject_GetQualifierValue.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetText/vb/ManagementBaseObject_GetText.vb b/snippets/visualbasic/System.Management/ManagementBaseObject/GetText/ManagementBaseObject_GetText.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetText/vb/ManagementBaseObject_GetText.vb rename to snippets/visualbasic/System.Management/ManagementBaseObject/GetText/ManagementBaseObject_GetText.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_Item/vb/ManagementBaseObject_Item.vb b/snippets/visualbasic/System.Management/ManagementBaseObject/Item/ManagementBaseObject_Item.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_Item/vb/ManagementBaseObject_Item.vb rename to snippets/visualbasic/System.Management/ManagementBaseObject/Item/ManagementBaseObject_Item.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_Properties/vb/ManagementBaseObject_Properties.vb b/snippets/visualbasic/System.Management/ManagementBaseObject/Properties/ManagementBaseObject_Properties.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_Properties/vb/ManagementBaseObject_Properties.vb rename to snippets/visualbasic/System.Management/ManagementBaseObject/Properties/ManagementBaseObject_Properties.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_Qualifiers/vb/ManagementBaseObject_Qualifiers.vb b/snippets/visualbasic/System.Management/ManagementBaseObject/Qualifiers/ManagementBaseObject_Qualifiers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_Qualifiers/vb/ManagementBaseObject_Qualifiers.vb rename to snippets/visualbasic/System.Management/ManagementBaseObject/Qualifiers/ManagementBaseObject_Qualifiers.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_SystemProperties/vb/ManagementBaseObject_SystemProperties.vb b/snippets/visualbasic/System.Management/ManagementBaseObject/SystemProperties/ManagementBaseObject_SystemProperties.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_SystemProperties/vb/ManagementBaseObject_SystemProperties.vb rename to snippets/visualbasic/System.Management/ManagementBaseObject/SystemProperties/ManagementBaseObject_SystemProperties.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-M/vb/ManagementClass-M.vb b/snippets/visualbasic/System.Management/ManagementClass/.ctor/ManagementClass-M.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-M/vb/ManagementClass-M.vb rename to snippets/visualbasic/System.Management/ManagementClass/.ctor/ManagementClass-M.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-M_M_O/vb/ManagementClass-M_M_O.vb b/snippets/visualbasic/System.Management/ManagementClass/.ctor/ManagementClass-M_M_O.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-M_M_O/vb/ManagementClass-M_M_O.vb rename to snippets/visualbasic/System.Management/ManagementClass/.ctor/ManagementClass-M_M_O.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-M_O/vb/ManagementClass-M_O.vb b/snippets/visualbasic/System.Management/ManagementClass/.ctor/ManagementClass-M_O.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-M_O/vb/ManagementClass-M_O.vb rename to snippets/visualbasic/System.Management/ManagementClass/.ctor/ManagementClass-M_O.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-S/vb/ManagementClass-S.vb b/snippets/visualbasic/System.Management/ManagementClass/.ctor/ManagementClass-S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-S/vb/ManagementClass-S.vb rename to snippets/visualbasic/System.Management/ManagementClass/.ctor/ManagementClass-S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-S_O/vb/ManagementClass-S_O.vb b/snippets/visualbasic/System.Management/ManagementClass/.ctor/ManagementClass-S_O.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-S_O/vb/ManagementClass-S_O.vb rename to snippets/visualbasic/System.Management/ManagementClass/.ctor/ManagementClass-S_O.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-S_S_O/vb/ManagementClass-S_S_O.vb b/snippets/visualbasic/System.Management/ManagementClass/.ctor/ManagementClass-S_S_O.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-S_S_O/vb/ManagementClass-S_S_O.vb rename to snippets/visualbasic/System.Management/ManagementClass/.ctor/ManagementClass-S_S_O.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass/vb/ManagementClass.vb b/snippets/visualbasic/System.Management/ManagementClass/.ctor/ManagementClass.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass/vb/ManagementClass.vb rename to snippets/visualbasic/System.Management/ManagementClass/.ctor/ManagementClass.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_CreateInstance/vb/ManagementClass_CreateInstance.vb b/snippets/visualbasic/System.Management/ManagementClass/CreateInstance/ManagementClass_CreateInstance.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_CreateInstance/vb/ManagementClass_CreateInstance.vb rename to snippets/visualbasic/System.Management/ManagementClass/CreateInstance/ManagementClass_CreateInstance.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_Derivation/vb/ManagementClass_Derivation.vb b/snippets/visualbasic/System.Management/ManagementClass/Derivation/ManagementClass_Derivation.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_Derivation/vb/ManagementClass_Derivation.vb rename to snippets/visualbasic/System.Management/ManagementClass/Derivation/ManagementClass_Derivation.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_Derive/vb/ManagementClass_Derive.vb b/snippets/visualbasic/System.Management/ManagementClass/Derive/ManagementClass_Derive.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_Derive/vb/ManagementClass_Derive.vb rename to snippets/visualbasic/System.Management/ManagementClass/Derive/ManagementClass_Derive.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetInstances-E/vb/ManagementClass_GetInstances-E.vb b/snippets/visualbasic/System.Management/ManagementClass/GetInstances/ManagementClass_GetInstances-E.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetInstances-E/vb/ManagementClass_GetInstances-E.vb rename to snippets/visualbasic/System.Management/ManagementClass/GetInstances/ManagementClass_GetInstances-E.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetInstances-M/vb/ManagementClass_GetInstances-M.vb b/snippets/visualbasic/System.Management/ManagementClass/GetInstances/ManagementClass_GetInstances-M.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetInstances-M/vb/ManagementClass_GetInstances-M.vb rename to snippets/visualbasic/System.Management/ManagementClass/GetInstances/ManagementClass_GetInstances-M.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetInstances/vb/ManagementClass_GetInstances.vb b/snippets/visualbasic/System.Management/ManagementClass/GetInstances/ManagementClass_GetInstances.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetInstances/vb/ManagementClass_GetInstances.vb rename to snippets/visualbasic/System.Management/ManagementClass/GetInstances/ManagementClass_GetInstances.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetRelatedClasses-7/vb/ManagementClass_GetRelatedClasses-7.vb b/snippets/visualbasic/System.Management/ManagementClass/GetRelatedClasses/ManagementClass_GetRelatedClasses-7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetRelatedClasses-7/vb/ManagementClass_GetRelatedClasses-7.vb rename to snippets/visualbasic/System.Management/ManagementClass/GetRelatedClasses/ManagementClass_GetRelatedClasses-7.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetRelatedClasses/vb/ManagementClass_GetRelatedClasses.vb b/snippets/visualbasic/System.Management/ManagementClass/GetRelatedClasses/ManagementClass_GetRelatedClasses.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetRelatedClasses/vb/ManagementClass_GetRelatedClasses.vb rename to snippets/visualbasic/System.Management/ManagementClass/GetRelatedClasses/ManagementClass_GetRelatedClasses.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetRelationshipClasses/vb/ManagementClass_GetRelationshipClasses.vb b/snippets/visualbasic/System.Management/ManagementClass/GetRelationshipClasses/ManagementClass_GetRelationshipClasses.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetRelationshipClasses/vb/ManagementClass_GetRelationshipClasses.vb rename to snippets/visualbasic/System.Management/ManagementClass/GetRelationshipClasses/ManagementClass_GetRelationshipClasses.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetStronglyTypedClassCode-2/vb/ManagementClass_GetStronglyTypedClassCode-2.vb b/snippets/visualbasic/System.Management/ManagementClass/GetStronglyTypedClassCode/ManagementClass_GetStronglyTypedClassCode-2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetStronglyTypedClassCode-2/vb/ManagementClass_GetStronglyTypedClassCode-2.vb rename to snippets/visualbasic/System.Management/ManagementClass/GetStronglyTypedClassCode/ManagementClass_GetStronglyTypedClassCode-2.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetStronglyTypedClassCode-3/vb/ManagementClass_GetStronglyTypedClassCode-3.vb b/snippets/visualbasic/System.Management/ManagementClass/GetStronglyTypedClassCode/ManagementClass_GetStronglyTypedClassCode-3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetStronglyTypedClassCode-3/vb/ManagementClass_GetStronglyTypedClassCode-3.vb rename to snippets/visualbasic/System.Management/ManagementClass/GetStronglyTypedClassCode/ManagementClass_GetStronglyTypedClassCode-3.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetSubClasses-E/vb/ManagementClass_GetSubclasses-E.vb b/snippets/visualbasic/System.Management/ManagementClass/GetSubclasses/ManagementClass_GetSubclasses-E.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetSubClasses-E/vb/ManagementClass_GetSubclasses-E.vb rename to snippets/visualbasic/System.Management/ManagementClass/GetSubclasses/ManagementClass_GetSubclasses-E.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetSubClasses/vb/ManagementClass_GetSubclasses.vb b/snippets/visualbasic/System.Management/ManagementClass/GetSubclasses/ManagementClass_GetSubclasses.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetSubClasses/vb/ManagementClass_GetSubclasses.vb rename to snippets/visualbasic/System.Management/ManagementClass/GetSubclasses/ManagementClass_GetSubclasses.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_Methods/vb/ManagementClass_Methods.vb b/snippets/visualbasic/System.Management/ManagementClass/Methods/ManagementClass_Methods.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_Methods/vb/ManagementClass_Methods.vb rename to snippets/visualbasic/System.Management/ManagementClass/Methods/ManagementClass_Methods.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_Path/vb/ManagementClass_Path.vb b/snippets/visualbasic/System.Management/ManagementClass/Path/ManagementClass_Path.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_Path/vb/ManagementClass_Path.vb rename to snippets/visualbasic/System.Management/ManagementClass/Path/ManagementClass_Path.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToDateTime/vb/ManagementDateTimeConverter_ToDateTime.vb b/snippets/visualbasic/System.Management/ManagementDateTimeConverter/ToDateTime/ManagementDateTimeConverter_ToDateTime.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToDateTime/vb/ManagementDateTimeConverter_ToDateTime.vb rename to snippets/visualbasic/System.Management/ManagementDateTimeConverter/ToDateTime/ManagementDateTimeConverter_ToDateTime.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToDmtfDateTime/vb/ManagementDateTimeConverter_ToDmtfDateTime.vb b/snippets/visualbasic/System.Management/ManagementDateTimeConverter/ToDmtfDateTime/ManagementDateTimeConverter_ToDmtfDateTime.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToDmtfDateTime/vb/ManagementDateTimeConverter_ToDmtfDateTime.vb rename to snippets/visualbasic/System.Management/ManagementDateTimeConverter/ToDmtfDateTime/ManagementDateTimeConverter_ToDmtfDateTime.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToDmtfTimeInterval/vb/ManagementDateTimeConverter_ToDmtfTimeInterval.vb b/snippets/visualbasic/System.Management/ManagementDateTimeConverter/ToDmtfTimeInterval/ManagementDateTimeConverter_ToDmtfTimeInterval.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToDmtfTimeInterval/vb/ManagementDateTimeConverter_ToDmtfTimeInterval.vb rename to snippets/visualbasic/System.Management/ManagementDateTimeConverter/ToDmtfTimeInterval/ManagementDateTimeConverter_ToDmtfTimeInterval.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToTimeSpan/vb/ManagementDateTimeConverter_ToTimeSpan.vb b/snippets/visualbasic/System.Management/ManagementDateTimeConverter/ToTimeSpan/ManagementDateTimeConverter_ToTimeSpan.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToTimeSpan/vb/ManagementDateTimeConverter_ToTimeSpan.vb rename to snippets/visualbasic/System.Management/ManagementDateTimeConverter/ToTimeSpan/ManagementDateTimeConverter_ToTimeSpan.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-E/vb/ManagementEventWatcher-E.vb b/snippets/visualbasic/System.Management/ManagementEventWatcher/.ctor/ManagementEventWatcher-E.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-E/vb/ManagementEventWatcher-E.vb rename to snippets/visualbasic/System.Management/ManagementEventWatcher/.ctor/ManagementEventWatcher-E.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-M_E/vb/ManagementEventWatcher-M_E.vb b/snippets/visualbasic/System.Management/ManagementEventWatcher/.ctor/ManagementEventWatcher-M_E.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-M_E/vb/ManagementEventWatcher-M_E.vb rename to snippets/visualbasic/System.Management/ManagementEventWatcher/.ctor/ManagementEventWatcher-M_E.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-M_E_E/vb/ManagementEventWatcher-M_E_E.vb b/snippets/visualbasic/System.Management/ManagementEventWatcher/.ctor/ManagementEventWatcher-M_E_E.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-M_E_E/vb/ManagementEventWatcher-M_E_E.vb rename to snippets/visualbasic/System.Management/ManagementEventWatcher/.ctor/ManagementEventWatcher-M_E_E.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S/vb/ManagementEventWatcher-S.vb b/snippets/visualbasic/System.Management/ManagementEventWatcher/.ctor/ManagementEventWatcher-S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S/vb/ManagementEventWatcher-S.vb rename to snippets/visualbasic/System.Management/ManagementEventWatcher/.ctor/ManagementEventWatcher-S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S_S/vb/ManagementEventWatcher-S_S.vb b/snippets/visualbasic/System.Management/ManagementEventWatcher/.ctor/ManagementEventWatcher-S_S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S_S/vb/ManagementEventWatcher-S_S.vb rename to snippets/visualbasic/System.Management/ManagementEventWatcher/.ctor/ManagementEventWatcher-S_S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S_S_E/vb/ManagementEventWatcher-S_S_E.vb b/snippets/visualbasic/System.Management/ManagementEventWatcher/.ctor/ManagementEventWatcher-S_S_E.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S_S_E/vb/ManagementEventWatcher-S_S_E.vb rename to snippets/visualbasic/System.Management/ManagementEventWatcher/.ctor/ManagementEventWatcher-S_S_E.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Options/vb/ManagementEventWatcher_Options.vb b/snippets/visualbasic/System.Management/ManagementEventWatcher/Options/ManagementEventWatcher_Options.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Options/vb/ManagementEventWatcher_Options.vb rename to snippets/visualbasic/System.Management/ManagementEventWatcher/Options/ManagementEventWatcher_Options.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher/vb/ManagementEventWatcher.vb b/snippets/visualbasic/System.Management/ManagementEventWatcher/Overview/ManagementEventWatcher.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher/vb/ManagementEventWatcher.vb rename to snippets/visualbasic/System.Management/ManagementEventWatcher/Overview/ManagementEventWatcher.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Query/vb/ManagementEventWatcher_Query.vb b/snippets/visualbasic/System.Management/ManagementEventWatcher/Query/ManagementEventWatcher_Query.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Query/vb/ManagementEventWatcher_Query.vb rename to snippets/visualbasic/System.Management/ManagementEventWatcher/Query/ManagementEventWatcher_Query.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Scope/vb/ManagementEventWatcher_Scope.vb b/snippets/visualbasic/System.Management/ManagementEventWatcher/Scope/ManagementEventWatcher_Scope.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Scope/vb/ManagementEventWatcher_Scope.vb rename to snippets/visualbasic/System.Management/ManagementEventWatcher/Scope/ManagementEventWatcher_Scope.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Stop/vb/ManagementEventWatcher_Stop.vb b/snippets/visualbasic/System.Management/ManagementEventWatcher/Stop/ManagementEventWatcher_Stop.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Stop/vb/ManagementEventWatcher_Stop.vb rename to snippets/visualbasic/System.Management/ManagementEventWatcher/Stop/ManagementEventWatcher_Stop.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_WaitForNextEvent/vb/ManagementEventWatcher_WaitForNextEvent.vb b/snippets/visualbasic/System.Management/ManagementEventWatcher/WaitForNextEvent/ManagementEventWatcher_WaitForNextEvent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_WaitForNextEvent/vb/ManagementEventWatcher_WaitForNextEvent.vb rename to snippets/visualbasic/System.Management/ManagementEventWatcher/WaitForNextEvent/ManagementEventWatcher_WaitForNextEvent.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-M/vb/ManagementObject-M.vb b/snippets/visualbasic/System.Management/ManagementObject/.ctor/ManagementObject-M.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-M/vb/ManagementObject-M.vb rename to snippets/visualbasic/System.Management/ManagementObject/.ctor/ManagementObject-M.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-M_M_O/vb/ManagementObject-M_M_O.vb b/snippets/visualbasic/System.Management/ManagementObject/.ctor/ManagementObject-M_M_O.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-M_M_O/vb/ManagementObject-M_M_O.vb rename to snippets/visualbasic/System.Management/ManagementObject/.ctor/ManagementObject-M_M_O.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-M_O/vb/ManagementObject-M_O.vb b/snippets/visualbasic/System.Management/ManagementObject/.ctor/ManagementObject-M_O.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-M_O/vb/ManagementObject-M_O.vb rename to snippets/visualbasic/System.Management/ManagementObject/.ctor/ManagementObject-M_O.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-S/vb/ManagementObject-S.vb b/snippets/visualbasic/System.Management/ManagementObject/.ctor/ManagementObject-S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-S/vb/ManagementObject-S.vb rename to snippets/visualbasic/System.Management/ManagementObject/.ctor/ManagementObject-S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-S_O/vb/ManagementObject-S_O.vb b/snippets/visualbasic/System.Management/ManagementObject/.ctor/ManagementObject-S_O.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-S_O/vb/ManagementObject-S_O.vb rename to snippets/visualbasic/System.Management/ManagementObject/.ctor/ManagementObject-S_O.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-S_S_O/vb/ManagementObject-S_S_O.vb b/snippets/visualbasic/System.Management/ManagementObject/.ctor/ManagementObject-S_S_O.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-S_S_O/vb/ManagementObject-S_S_O.vb rename to snippets/visualbasic/System.Management/ManagementObject/.ctor/ManagementObject-S_S_O.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject/vb/ManagementObject.vb b/snippets/visualbasic/System.Management/ManagementObject/.ctor/ManagementObject.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject/vb/ManagementObject.vb rename to snippets/visualbasic/System.Management/ManagementObject/.ctor/ManagementObject.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_Path/vb/ManagementObject_Path.vb b/snippets/visualbasic/System.Management/ManagementObject/ClassPath/ManagementObject_Path.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_Path/vb/ManagementObject_Path.vb rename to snippets/visualbasic/System.Management/ManagementObject/ClassPath/ManagementObject_Path.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_GetMethod-M/vb/ManagementObject_GetMethod-M.vb b/snippets/visualbasic/System.Management/ManagementObject/Get/ManagementObject_GetMethod-M.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_GetMethod-M/vb/ManagementObject_GetMethod-M.vb rename to snippets/visualbasic/System.Management/ManagementObject/Get/ManagementObject_GetMethod-M.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_GetMethod/vb/ManagementObject_GetMethod.vb b/snippets/visualbasic/System.Management/ManagementObject/Get/ManagementObject_GetMethod.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_GetMethod/vb/ManagementObject_GetMethod.vb rename to snippets/visualbasic/System.Management/ManagementObject/Get/ManagementObject_GetMethod.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_GetRelated-S/vb/ManagementObject_GetRelated-S.vb b/snippets/visualbasic/System.Management/ManagementObject/GetRelated/ManagementObject_GetRelated-S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_GetRelated-S/vb/ManagementObject_GetRelated-S.vb rename to snippets/visualbasic/System.Management/ManagementObject/GetRelated/ManagementObject_GetRelated-S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_GetRelated/vb/ManagementObject_GetRelated.vb b/snippets/visualbasic/System.Management/ManagementObject/GetRelated/ManagementObject_GetRelated.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_GetRelated/vb/ManagementObject_GetRelated.vb rename to snippets/visualbasic/System.Management/ManagementObject/GetRelated/ManagementObject_GetRelated.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_InvokeMethod-S_M_I/vb/ManagementObject_InvokeMethod-S_M_I.vb b/snippets/visualbasic/System.Management/ManagementObject/InvokeMethod/ManagementObject_InvokeMethod-S_M_I.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_InvokeMethod-S_M_I/vb/ManagementObject_InvokeMethod-S_M_I.vb rename to snippets/visualbasic/System.Management/ManagementObject/InvokeMethod/ManagementObject_InvokeMethod-S_M_I.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_InvokeMethod-S_O/vb/ManagementObject_InvokeMethod-S_O.vb b/snippets/visualbasic/System.Management/ManagementObject/InvokeMethod/ManagementObject_InvokeMethod-S_O.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_InvokeMethod-S_O/vb/ManagementObject_InvokeMethod-S_O.vb rename to snippets/visualbasic/System.Management/ManagementObject/InvokeMethod/ManagementObject_InvokeMethod-S_O.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_Options/vb/ManagementObject_Options.vb b/snippets/visualbasic/System.Management/ManagementObject/Options/ManagementObject_Options.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_Options/vb/ManagementObject_Options.vb rename to snippets/visualbasic/System.Management/ManagementObject/Options/ManagementObject_Options.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_Scope/vb/ManagementObject_Scope.vb b/snippets/visualbasic/System.Management/ManagementObject/Scope/ManagementObject_Scope.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_Scope/vb/ManagementObject_Scope.vb rename to snippets/visualbasic/System.Management/ManagementObject/Scope/ManagementObject_Scope.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectEnumerator/vb/ManagementObjectEnumerator.vb b/snippets/visualbasic/System.Management/ManagementObjectCollection+ManagementObjectEnumerator/Overview/ManagementObjectEnumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectEnumerator/vb/ManagementObjectEnumerator.vb rename to snippets/visualbasic/System.Management/ManagementObjectCollection+ManagementObjectEnumerator/Overview/ManagementObjectEnumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-M_O/vb/ManagementObjectSearcher-M_O.vb b/snippets/visualbasic/System.Management/ManagementObjectSearcher/.ctor/ManagementObjectSearcher-M_O.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-M_O/vb/ManagementObjectSearcher-M_O.vb rename to snippets/visualbasic/System.Management/ManagementObjectSearcher/.ctor/ManagementObjectSearcher-M_O.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-M_O_E/vb/ManagementObjectSearcher-M_O_E.vb b/snippets/visualbasic/System.Management/ManagementObjectSearcher/.ctor/ManagementObjectSearcher-M_O_E.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-M_O_E/vb/ManagementObjectSearcher-M_O_E.vb rename to snippets/visualbasic/System.Management/ManagementObjectSearcher/.ctor/ManagementObjectSearcher-M_O_E.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-O/vb/ManagementObjectSearcher-O.vb b/snippets/visualbasic/System.Management/ManagementObjectSearcher/.ctor/ManagementObjectSearcher-O.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-O/vb/ManagementObjectSearcher-O.vb rename to snippets/visualbasic/System.Management/ManagementObjectSearcher/.ctor/ManagementObjectSearcher-O.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S/vb/ManagementObjectSearcher-S.vb b/snippets/visualbasic/System.Management/ManagementObjectSearcher/.ctor/ManagementObjectSearcher-S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S/vb/ManagementObjectSearcher-S.vb rename to snippets/visualbasic/System.Management/ManagementObjectSearcher/.ctor/ManagementObjectSearcher-S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S_S/vb/ManagementObjectSearcher-S_S.vb b/snippets/visualbasic/System.Management/ManagementObjectSearcher/.ctor/ManagementObjectSearcher-S_S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S_S/vb/ManagementObjectSearcher-S_S.vb rename to snippets/visualbasic/System.Management/ManagementObjectSearcher/.ctor/ManagementObjectSearcher-S_S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S_S_E/vb/ManagementObjectSearcher-S_S_E.vb b/snippets/visualbasic/System.Management/ManagementObjectSearcher/.ctor/ManagementObjectSearcher-S_S_E.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S_S_E/vb/ManagementObjectSearcher-S_S_E.vb rename to snippets/visualbasic/System.Management/ManagementObjectSearcher/.ctor/ManagementObjectSearcher-S_S_E.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher_Get/vb/ManagementObjectSearcher_Get.vb b/snippets/visualbasic/System.Management/ManagementObjectSearcher/Get/ManagementObjectSearcher_Get.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher_Get/vb/ManagementObjectSearcher_Get.vb rename to snippets/visualbasic/System.Management/ManagementObjectSearcher/Get/ManagementObjectSearcher_Get.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher_Scope/vb/ManagementObjectSearcher_Scope.vb b/snippets/visualbasic/System.Management/ManagementObjectSearcher/Scope/ManagementObjectSearcher_Scope.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher_Scope/vb/ManagementObjectSearcher_Scope.vb rename to snippets/visualbasic/System.Management/ManagementObjectSearcher/Scope/ManagementObjectSearcher_Scope.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver_Completed/vb/ManagementOperationObserver_Completed.vb b/snippets/visualbasic/System.Management/ManagementOperationObserver/Completed/ManagementOperationObserver_Completed.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver_Completed/vb/ManagementOperationObserver_Completed.vb rename to snippets/visualbasic/System.Management/ManagementOperationObserver/Completed/ManagementOperationObserver_Completed.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver_ObjectReady/vb/ManagementOperationObserver_ObjectReady.vb b/snippets/visualbasic/System.Management/ManagementOperationObserver/ObjectReady/ManagementOperationObserver_ObjectReady.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver_ObjectReady/vb/ManagementOperationObserver_ObjectReady.vb rename to snippets/visualbasic/System.Management/ManagementOperationObserver/ObjectReady/ManagementOperationObserver_ObjectReady.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver/vb/ManagementOperationObserver.vb b/snippets/visualbasic/System.Management/ManagementOperationObserver/Overview/ManagementOperationObserver.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver/vb/ManagementOperationObserver.vb rename to snippets/visualbasic/System.Management/ManagementOperationObserver/Overview/ManagementOperationObserver.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath-S/vb/ManagementPath-S.vb b/snippets/visualbasic/System.Management/ManagementPath/.ctor/ManagementPath-S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath-S/vb/ManagementPath-S.vb rename to snippets/visualbasic/System.Management/ManagementPath/.ctor/ManagementPath-S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_ClassName/vb/ManagementPath_ClassName.vb b/snippets/visualbasic/System.Management/ManagementPath/ClassName/ManagementPath_ClassName.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_ClassName/vb/ManagementPath_ClassName.vb rename to snippets/visualbasic/System.Management/ManagementPath/ClassName/ManagementPath_ClassName.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_IsClass/vb/ManagementPath_IsClass.vb b/snippets/visualbasic/System.Management/ManagementPath/IsClass/ManagementPath_IsClass.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_IsClass/vb/ManagementPath_IsClass.vb rename to snippets/visualbasic/System.Management/ManagementPath/IsClass/ManagementPath_IsClass.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_IsInstance/vb/ManagementPath_IsInstance.vb b/snippets/visualbasic/System.Management/ManagementPath/IsInstance/ManagementPath_IsInstance.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_IsInstance/vb/ManagementPath_IsInstance.vb rename to snippets/visualbasic/System.Management/ManagementPath/IsInstance/ManagementPath_IsInstance.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_NamespacePath/vb/ManagementPath_NamespacePath.vb b/snippets/visualbasic/System.Management/ManagementPath/NamespacePath/ManagementPath_NamespacePath.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_NamespacePath/vb/ManagementPath_NamespacePath.vb rename to snippets/visualbasic/System.Management/ManagementPath/NamespacePath/ManagementPath_NamespacePath.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath/vb/ManagementPath.vb b/snippets/visualbasic/System.Management/ManagementPath/Overview/ManagementPath.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath/vb/ManagementPath.vb rename to snippets/visualbasic/System.Management/ManagementPath/Overview/ManagementPath.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_Path/vb/ManagementPath_Path.vb b/snippets/visualbasic/System.Management/ManagementPath/Path/ManagementPath_Path.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_Path/vb/ManagementPath_Path.vb rename to snippets/visualbasic/System.Management/ManagementPath/Path/ManagementPath_Path.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_RelativePath/vb/ManagementPath_RelativePath.vb b/snippets/visualbasic/System.Management/ManagementPath/RelativePath/ManagementPath_RelativePath.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_RelativePath/vb/ManagementPath_RelativePath.vb rename to snippets/visualbasic/System.Management/ManagementPath/RelativePath/ManagementPath_RelativePath.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_Server/vb/ManagementPath_Server.vb b/snippets/visualbasic/System.Management/ManagementPath/Server/ManagementPath_Server.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_Server/vb/ManagementPath_Server.vb rename to snippets/visualbasic/System.Management/ManagementPath/Server/ManagementPath_Server.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementQuery_ParseQuery/vb/ManagementQuery.vb b/snippets/visualbasic/System.Management/ManagementQuery/ParseQuery/ManagementQuery.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementQuery_ParseQuery/vb/ManagementQuery.vb rename to snippets/visualbasic/System.Management/ManagementQuery/ParseQuery/ManagementQuery.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementScope-S/vb/ManagementScope-S.vb b/snippets/visualbasic/System.Management/ManagementScope/.ctor/ManagementScope-S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementScope-S/vb/ManagementScope-S.vb rename to snippets/visualbasic/System.Management/ManagementScope/.ctor/ManagementScope-S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementScope-S_C/vb/ManagementScope-S_C.vb b/snippets/visualbasic/System.Management/ManagementScope/.ctor/ManagementScope-S_C.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementScope-S_C/vb/ManagementScope-S_C.vb rename to snippets/visualbasic/System.Management/ManagementScope/.ctor/ManagementScope-S_C.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementScope_Connect/vb/ManagementScope_Connect.vb b/snippets/visualbasic/System.Management/ManagementScope/Connect/ManagementScope_Connect.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementScope_Connect/vb/ManagementScope_Connect.vb rename to snippets/visualbasic/System.Management/ManagementScope/Connect/ManagementScope_Connect.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementScope/vb/ManagementScope.vb b/snippets/visualbasic/System.Management/ManagementScope/Overview/ManagementScope.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementScope/vb/ManagementScope.vb rename to snippets/visualbasic/System.Management/ManagementScope/Overview/ManagementScope.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodData_InParameters/vb/MethodData_InParameters.vb b/snippets/visualbasic/System.Management/MethodData/InParameters/MethodData_InParameters.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodData_InParameters/vb/MethodData_InParameters.vb rename to snippets/visualbasic/System.Management/MethodData/InParameters/MethodData_InParameters.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodData_Name/vb/MethodData_Name.vb b/snippets/visualbasic/System.Management/MethodData/Name/MethodData_Name.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodData_Name/vb/MethodData_Name.vb rename to snippets/visualbasic/System.Management/MethodData/Name/MethodData_Name.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodData_OutParameters/vb/MethodData_OutParameters.vb b/snippets/visualbasic/System.Management/MethodData/OutParameters/MethodData_OutParameters.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodData_OutParameters/vb/MethodData_OutParameters.vb rename to snippets/visualbasic/System.Management/MethodData/OutParameters/MethodData_OutParameters.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodData/vb/MethodData.vb b/snippets/visualbasic/System.Management/MethodData/Overview/MethodData.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodData/vb/MethodData.vb rename to snippets/visualbasic/System.Management/MethodData/Overview/MethodData.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodData_Qualifiers/vb/MethodData_Qualifiers.vb b/snippets/visualbasic/System.Management/MethodData/Qualifiers/MethodData_Qualifiers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodData_Qualifiers/vb/MethodData_Qualifiers.vb rename to snippets/visualbasic/System.Management/MethodData/Qualifiers/MethodData_Qualifiers.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodDataEnumerator/vb/MethodDataEnumerator.vb b/snippets/visualbasic/System.Management/MethodDataCollection+MethodDataEnumerator/Overview/MethodDataEnumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodDataEnumerator/vb/MethodDataEnumerator.vb rename to snippets/visualbasic/System.Management/MethodDataCollection+MethodDataEnumerator/Overview/MethodDataEnumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodDataCollection/vb/MethodDataCollection.vb b/snippets/visualbasic/System.Management/MethodDataCollection/Overview/MethodDataCollection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodDataCollection/vb/MethodDataCollection.vb rename to snippets/visualbasic/System.Management/MethodDataCollection/Overview/MethodDataCollection.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyData_Name/vb/PropertyData_Name.vb b/snippets/visualbasic/System.Management/PropertyData/Name/PropertyData_Name.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyData_Name/vb/PropertyData_Name.vb rename to snippets/visualbasic/System.Management/PropertyData/Name/PropertyData_Name.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyData/vb/PropertyData.vb b/snippets/visualbasic/System.Management/PropertyData/Overview/PropertyData.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyData/vb/PropertyData.vb rename to snippets/visualbasic/System.Management/PropertyData/Overview/PropertyData.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyData_Qualifiers/vb/PropertyData_Qualifiers.vb b/snippets/visualbasic/System.Management/PropertyData/Qualifiers/PropertyData_Qualifiers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyData_Qualifiers/vb/PropertyData_Qualifiers.vb rename to snippets/visualbasic/System.Management/PropertyData/Qualifiers/PropertyData_Qualifiers.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyData_Type/vb/PropertyData_Type.vb b/snippets/visualbasic/System.Management/PropertyData/Type/PropertyData_Type.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyData_Type/vb/PropertyData_Type.vb rename to snippets/visualbasic/System.Management/PropertyData/Type/PropertyData_Type.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyData_Value/vb/PropertyData_Value.vb b/snippets/visualbasic/System.Management/PropertyData/Value/PropertyData_Value.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyData_Value/vb/PropertyData_Value.vb rename to snippets/visualbasic/System.Management/PropertyData/Value/PropertyData_Value.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyDataEnumerator/vb/PropertyDataEnumerator.vb b/snippets/visualbasic/System.Management/PropertyDataCollection+PropertyDataEnumerator/Overview/PropertyDataEnumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyDataEnumerator/vb/PropertyDataEnumerator.vb rename to snippets/visualbasic/System.Management/PropertyDataCollection+PropertyDataEnumerator/Overview/PropertyDataEnumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyDataCollection_Item/vb/PropertyDataCollection_Item.vb b/snippets/visualbasic/System.Management/PropertyDataCollection/Item/PropertyDataCollection_Item.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyDataCollection_Item/vb/PropertyDataCollection_Item.vb rename to snippets/visualbasic/System.Management/PropertyDataCollection/Item/PropertyDataCollection_Item.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyDataCollection/vb/PropertyDataCollection.vb b/snippets/visualbasic/System.Management/PropertyDataCollection/Overview/PropertyDataCollection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyDataCollection/vb/PropertyDataCollection.vb rename to snippets/visualbasic/System.Management/PropertyDataCollection/Overview/PropertyDataCollection.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierData_Name/vb/QualifierData_Name.vb b/snippets/visualbasic/System.Management/QualifierData/Name/QualifierData_Name.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierData_Name/vb/QualifierData_Name.vb rename to snippets/visualbasic/System.Management/QualifierData/Name/QualifierData_Name.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierData/vb/QualifierData.vb b/snippets/visualbasic/System.Management/QualifierData/Overview/QualifierData.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierData/vb/QualifierData.vb rename to snippets/visualbasic/System.Management/QualifierData/Overview/QualifierData.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierData_Value/vb/QualifierData_Value.vb b/snippets/visualbasic/System.Management/QualifierData/Value/QualifierData_Value.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierData_Value/vb/QualifierData_Value.vb rename to snippets/visualbasic/System.Management/QualifierData/Value/QualifierData_Value.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierDataEnumerator/vb/QualifierDataEnumerator.vb b/snippets/visualbasic/System.Management/QualifierDataCollection+QualifierDataEnumerator/Overview/QualifierDataEnumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierDataEnumerator/vb/QualifierDataEnumerator.vb rename to snippets/visualbasic/System.Management/QualifierDataCollection+QualifierDataEnumerator/Overview/QualifierDataEnumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierDataCollection/vb/QualifierDataCollection.vb b/snippets/visualbasic/System.Management/QualifierDataCollection/Overview/QualifierDataCollection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierDataCollection/vb/QualifierDataCollection.vb rename to snippets/visualbasic/System.Management/QualifierDataCollection/Overview/QualifierDataCollection.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_RelatedObjectQuery_RelatedClass/vb/RelatedObjectQuery_RelatedClass.vb b/snippets/visualbasic/System.Management/RelatedObjectQuery/RelatedClass/RelatedObjectQuery_RelatedClass.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_RelatedObjectQuery_RelatedClass/vb/RelatedObjectQuery_RelatedClass.vb rename to snippets/visualbasic/System.Management/RelatedObjectQuery/RelatedClass/RelatedObjectQuery_RelatedClass.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_RelatedObjectQuery_RelationshipClass/vb/RelatedObjectQuery_RelationshipClass.vb b/snippets/visualbasic/System.Management/RelatedObjectQuery/RelationshipClass/RelatedObjectQuery_RelationshipClass.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_RelatedObjectQuery_RelationshipClass/vb/RelatedObjectQuery_RelationshipClass.vb rename to snippets/visualbasic/System.Management/RelatedObjectQuery/RelationshipClass/RelatedObjectQuery_RelationshipClass.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_RelationshipQuery-S/vb/RelationshipQuery-S.vb b/snippets/visualbasic/System.Management/RelationshipQuery/.ctor/RelationshipQuery-S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_RelationshipQuery-S/vb/RelationshipQuery-S.vb rename to snippets/visualbasic/System.Management/RelationshipQuery/.ctor/RelationshipQuery-S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery-B_S/vb/SelectQuery-B_S.vb b/snippets/visualbasic/System.Management/SelectQuery/.ctor/SelectQuery-B_S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery-B_S/vb/SelectQuery-B_S.vb rename to snippets/visualbasic/System.Management/SelectQuery/.ctor/SelectQuery-B_S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery-S/vb/SelectQuery-S.vb b/snippets/visualbasic/System.Management/SelectQuery/.ctor/SelectQuery-S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery-S/vb/SelectQuery-S.vb rename to snippets/visualbasic/System.Management/SelectQuery/.ctor/SelectQuery-S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery-S_S/vb/SelectQuery-S_S.vb b/snippets/visualbasic/System.Management/SelectQuery/.ctor/SelectQuery-S_S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery-S_S/vb/SelectQuery-S_S.vb rename to snippets/visualbasic/System.Management/SelectQuery/.ctor/SelectQuery-S_S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery-S_S_S/vb/SelectQuery-S_S_S.vb b/snippets/visualbasic/System.Management/SelectQuery/.ctor/SelectQuery-S_S_S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery-S_S_S/vb/SelectQuery-S_S_S.vb rename to snippets/visualbasic/System.Management/SelectQuery/.ctor/SelectQuery-S_S_S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery_ClassName/vb/SelectQuery_ClassName.vb b/snippets/visualbasic/System.Management/SelectQuery/ClassName/SelectQuery_ClassName.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery_ClassName/vb/SelectQuery_ClassName.vb rename to snippets/visualbasic/System.Management/SelectQuery/ClassName/SelectQuery_ClassName.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery_QueryString/vb/SelectQuery_QueryString.vb b/snippets/visualbasic/System.Management/SelectQuery/QueryString/SelectQuery_QueryString.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery_QueryString/vb/SelectQuery_QueryString.vb rename to snippets/visualbasic/System.Management/SelectQuery/QueryString/SelectQuery_QueryString.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S/vb/WqlEventQuery-S.vb b/snippets/visualbasic/System.Management/WqlEventQuery/.ctor/WqlEventQuery-S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S/vb/WqlEventQuery-S.vb rename to snippets/visualbasic/System.Management/WqlEventQuery/.ctor/WqlEventQuery-S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S_T/vb/WqlEventQuery-S_T.vb b/snippets/visualbasic/System.Management/WqlEventQuery/.ctor/WqlEventQuery-S_T.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S_T/vb/WqlEventQuery-S_T.vb rename to snippets/visualbasic/System.Management/WqlEventQuery/.ctor/WqlEventQuery-S_T.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S_T_S/vb/WqlEventQuery-S_T_S.vb b/snippets/visualbasic/System.Management/WqlEventQuery/.ctor/WqlEventQuery-S_T_S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S_T_S/vb/WqlEventQuery-S_T_S.vb rename to snippets/visualbasic/System.Management/WqlEventQuery/.ctor/WqlEventQuery-S_T_S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S_T_S_T_S_S/vb/WqlEventQuery-S_T_S_T_S_S.vb b/snippets/visualbasic/System.Management/WqlEventQuery/.ctor/WqlEventQuery-S_T_S_T_S_S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S_T_S_T_S_S/vb/WqlEventQuery-S_T_S_T_S_S.vb rename to snippets/visualbasic/System.Management/WqlEventQuery/.ctor/WqlEventQuery-S_T_S_T_S_S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_Condition/vb/WqlEventQuery_Condition.vb b/snippets/visualbasic/System.Management/WqlEventQuery/Condition/WqlEventQuery_Condition.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_Condition/vb/WqlEventQuery_Condition.vb rename to snippets/visualbasic/System.Management/WqlEventQuery/Condition/WqlEventQuery_Condition.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_EventClassName/vb/WqlEventQuery_EventClassName.vb b/snippets/visualbasic/System.Management/WqlEventQuery/EventClassName/WqlEventQuery_EventClassName.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_EventClassName/vb/WqlEventQuery_EventClassName.vb rename to snippets/visualbasic/System.Management/WqlEventQuery/EventClassName/WqlEventQuery_EventClassName.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_GroupByPropertyList/vb/WqlEventQuery_GroupByPropertyList.vb b/snippets/visualbasic/System.Management/WqlEventQuery/GroupByPropertyList/WqlEventQuery_GroupByPropertyList.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_GroupByPropertyList/vb/WqlEventQuery_GroupByPropertyList.vb rename to snippets/visualbasic/System.Management/WqlEventQuery/GroupByPropertyList/WqlEventQuery_GroupByPropertyList.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_GroupWithinInterval/vb/WqlEventQuery_GroupWithinInterval.vb b/snippets/visualbasic/System.Management/WqlEventQuery/GroupWithinInterval/WqlEventQuery_GroupWithinInterval.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_GroupWithinInterval/vb/WqlEventQuery_GroupWithinInterval.vb rename to snippets/visualbasic/System.Management/WqlEventQuery/GroupWithinInterval/WqlEventQuery_GroupWithinInterval.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_HavingCondition/vb/WqlEventQuery_HavingCondition.vb b/snippets/visualbasic/System.Management/WqlEventQuery/HavingCondition/WqlEventQuery_HavingCondition.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_HavingCondition/vb/WqlEventQuery_HavingCondition.vb rename to snippets/visualbasic/System.Management/WqlEventQuery/HavingCondition/WqlEventQuery_HavingCondition.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_QueryString/vb/WqlEventQuery_QueryString.vb b/snippets/visualbasic/System.Management/WqlEventQuery/QueryString/WqlEventQuery_QueryString.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_QueryString/vb/WqlEventQuery_QueryString.vb rename to snippets/visualbasic/System.Management/WqlEventQuery/QueryString/WqlEventQuery_QueryString.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_WithinInterval/vb/WqlEventQuery_WithinInterval.vb b/snippets/visualbasic/System.Management/WqlEventQuery/WithinInterval/WqlEventQuery_WithinInterval.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_WithinInterval/vb/WqlEventQuery_WithinInterval.vb rename to snippets/visualbasic/System.Management/WqlEventQuery/WithinInterval/WqlEventQuery_WithinInterval.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Sound/VB/soundtestform.vb b/snippets/visualbasic/System.Media/SoundPlayer/Overview/soundtestform.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Sound/VB/soundtestform.vb rename to snippets/visualbasic/System.Media/SoundPlayer/Overview/soundtestform.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PlaySync/VB/system.windows.forms.sound.playasync.vb b/snippets/visualbasic/System.Media/SoundPlayer/PlaySync/system.windows.forms.sound.playasync.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PlaySync/VB/system.windows.forms.sound.playasync.vb rename to snippets/visualbasic/System.Media/SoundPlayer/PlaySync/system.windows.forms.sound.playasync.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemSoundsExample/VB/form1.vb b/snippets/visualbasic/System.Media/SystemSound/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemSoundsExample/VB/form1.vb rename to snippets/visualbasic/System.Media/SystemSound/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Message.Acknowledgment/VB/message_acknowledgment.vb b/snippets/visualbasic/System.Messaging/AcknowledgeTypes/Overview/message_acknowledgment.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Message.Acknowledgment/VB/message_acknowledgment.vb rename to snippets/visualbasic/System.Messaging/AcknowledgeTypes/Overview/message_acknowledgment.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessagingBinaryFormatter/VB/message_binaryformatter.vb b/snippets/visualbasic/System.Messaging/BinaryMessageFormatter/Overview/message_binaryformatter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessagingBinaryFormatter/VB/message_binaryformatter.vb rename to snippets/visualbasic/System.Messaging/BinaryMessageFormatter/Overview/message_binaryformatter.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.DefaultPropertiesToSend/VB/mqdefaultpropertiestosend.vb b/snippets/visualbasic/System.Messaging/DefaultPropertiesToSend/Overview/mqdefaultpropertiestosend.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.DefaultPropertiesToSend/VB/mqdefaultpropertiestosend.vb rename to snippets/visualbasic/System.Messaging/DefaultPropertiesToSend/Overview/mqdefaultpropertiestosend.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Message.DefaultPropertiesToSend/VB/message_defaultandpriority.vb b/snippets/visualbasic/System.Messaging/Message/.ctor/message_defaultandpriority.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Message.DefaultPropertiesToSend/VB/message_defaultandpriority.vb rename to snippets/visualbasic/System.Messaging/Message/.ctor/message_defaultandpriority.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Message.Body/VB/message_sendreceive.vb b/snippets/visualbasic/System.Messaging/Message/Overview/message_sendreceive.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Message.Body/VB/message_sendreceive.vb rename to snippets/visualbasic/System.Messaging/Message/Overview/message_sendreceive.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.GetMessageEnumerator/VB/mqgetmessageenumerator.vb b/snippets/visualbasic/System.Messaging/MessageEnumerator/Overview/mqgetmessageenumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.GetMessageEnumerator/VB/mqgetmessageenumerator.vb rename to snippets/visualbasic/System.Messaging/MessageEnumerator/Overview/mqgetmessageenumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.ctor_PathSharedModeDenyReceive/VB/mqctor_denysharedreceive.vb b/snippets/visualbasic/System.Messaging/MessageQueue/.ctor/mqctor_denysharedreceive.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.ctor_PathSharedModeDenyReceive/VB/mqctor_denysharedreceive.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/.ctor/mqctor_denysharedreceive.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.BeginPeek_noparms/VB/mqbeginpeek_noparms.vb b/snippets/visualbasic/System.Messaging/MessageQueue/BeginPeek/mqbeginpeek_noparms.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.BeginPeek_noparms/VB/mqbeginpeek_noparms.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/BeginPeek/mqbeginpeek_noparms.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.BeginPeek_timeout/VB/mqbeginpeek_timeout.vb b/snippets/visualbasic/System.Messaging/MessageQueue/BeginPeek/mqbeginpeek_timeout.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.BeginPeek_timeout/VB/mqbeginpeek_timeout.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/BeginPeek/mqbeginpeek_timeout.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.BeginPeek_TimeSpanStateObject/VB/mqbeginpeek_timeoutstateobject.vb b/snippets/visualbasic/System.Messaging/MessageQueue/BeginPeek/mqbeginpeek_timeoutstateobject.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.BeginPeek_TimeSpanStateObject/VB/mqbeginpeek_timeoutstateobject.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/BeginPeek/mqbeginpeek_timeoutstateobject.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.BeginReceive_noparms_combined/VB/makefile b/snippets/visualbasic/System.Messaging/MessageQueue/BeginReceive/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.BeginReceive_noparms_combined/VB/makefile rename to snippets/visualbasic/System.Messaging/MessageQueue/BeginReceive/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.BeginReceive_noparms_combined/VB/mqbeginreceive_noparms_mre.vb b/snippets/visualbasic/System.Messaging/MessageQueue/BeginReceive/mqbeginreceive_noparms_mre.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.BeginReceive_noparms_combined/VB/mqbeginreceive_noparms_mre.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/BeginReceive/mqbeginreceive_noparms_mre.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.BeginReceive_noparms_combined/VB/mqbeginreceive_noparms_wh.vb b/snippets/visualbasic/System.Messaging/MessageQueue/BeginReceive/mqbeginreceive_noparms_wh.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.BeginReceive_noparms_combined/VB/mqbeginreceive_noparms_wh.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/BeginReceive/mqbeginreceive_noparms_wh.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Close/VB/mqclose.vb b/snippets/visualbasic/System.Messaging/MessageQueue/Close/mqclose.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Close/VB/mqclose.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/Close/mqclose.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Create_path/VB/mqcreate.vb b/snippets/visualbasic/System.Messaging/MessageQueue/Create/mqcreate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Create_path/VB/mqcreate.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/Create/mqcreate.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Create_PathTransactional/VB/mqcreate_transactional.vb b/snippets/visualbasic/System.Messaging/MessageQueue/Create/mqcreate_transactional.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Create_PathTransactional/VB/mqcreate_transactional.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/Create/mqcreate_transactional.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.ExistsDelete/VB/mqexistsdelete.vb b/snippets/visualbasic/System.Messaging/MessageQueue/Delete/mqexistsdelete.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.ExistsDelete/VB/mqexistsdelete.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/Delete/mqexistsdelete.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.GetMessageQueueEnumerator_noparms/VB/mqgetmessagequeueenumerator.vb b/snippets/visualbasic/System.Messaging/MessageQueue/GetMessageQueueEnumerator/mqgetmessagequeueenumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.GetMessageQueueEnumerator_noparms/VB/mqgetmessagequeueenumerator.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/GetMessageQueueEnumerator/mqgetmessagequeueenumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.GetMessageQueueEnumerator_criteria/VB/mqgetmessagequeueenumerator_criteria.vb b/snippets/visualbasic/System.Messaging/MessageQueue/GetMessageQueueEnumerator/mqgetmessagequeueenumerator_criteria.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.GetMessageQueueEnumerator_criteria/VB/mqgetmessagequeueenumerator_criteria.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/GetMessageQueueEnumerator/mqgetmessagequeueenumerator_criteria.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.GetQueueLists/VB/mqgetqueuelists.vb b/snippets/visualbasic/System.Messaging/MessageQueue/GetPrivateQueuesByMachine/mqgetqueuelists.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.GetQueueLists/VB/mqgetqueuelists.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/GetPrivateQueuesByMachine/mqgetqueuelists.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.MessageReadPropertyFilter/VB/mqmessagereadpropertyfilter.vb b/snippets/visualbasic/System.Messaging/MessageQueue/MessageReadPropertyFilter/mqmessagereadpropertyfilter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.MessageReadPropertyFilter/VB/mqmessagereadpropertyfilter.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/MessageReadPropertyFilter/mqmessagereadpropertyfilter.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Path/VB/mqpath.vb b/snippets/visualbasic/System.Messaging/MessageQueue/Overview/mqpath.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Path/VB/mqpath.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/Overview/mqpath.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Receive_noparms/VB/mqreceive_noparms.vb b/snippets/visualbasic/System.Messaging/MessageQueue/Overview/mqreceive_noparms.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Receive_noparms/VB/mqreceive_noparms.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/Overview/mqreceive_noparms.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Peek_noparms/VB/mqpeek_noparms.vb b/snippets/visualbasic/System.Messaging/MessageQueue/Peek/mqpeek_noparms.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Peek_noparms/VB/mqpeek_noparms.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/Peek/mqpeek_noparms.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Peek_timeout/VB/mqpeek_timeout.vb b/snippets/visualbasic/System.Messaging/MessageQueue/Peek/mqpeek_timeout.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Peek_timeout/VB/mqpeek_timeout.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/Peek/mqpeek_timeout.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Receive_timeout/VB/mqreceive_timeout.vb b/snippets/visualbasic/System.Messaging/MessageQueue/Receive/mqreceive_timeout.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Receive_timeout/VB/mqreceive_timeout.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/Receive/mqreceive_timeout.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Receive_TimeoutTransaction/VB/mqreceive_timeouttransaction.vb b/snippets/visualbasic/System.Messaging/MessageQueue/Receive/mqreceive_timeouttransaction.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Receive_TimeoutTransaction/VB/mqreceive_timeouttransaction.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/Receive/mqreceive_timeouttransaction.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Receive_transaction/VB/mqreceive_transaction.vb b/snippets/visualbasic/System.Messaging/MessageQueue/Receive/mqreceive_transaction.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Receive_transaction/VB/mqreceive_transaction.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/Receive/mqreceive_transaction.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.ReceiveCompleted/VB/mqreceivecompletedeventhandler.vb b/snippets/visualbasic/System.Messaging/MessageQueue/ReceiveCompleted/mqreceivecompletedeventhandler.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.ReceiveCompleted/VB/mqreceivecompletedeventhandler.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/ReceiveCompleted/mqreceivecompletedeventhandler.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Send_obj/VB/mqsend_generic.vb b/snippets/visualbasic/System.Messaging/MessageQueue/Send/mqsend_generic.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Send_obj/VB/mqsend_generic.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/Send/mqsend_generic.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Send_ObjectTransaction/VB/mqsend_objtransaction.vb b/snippets/visualbasic/System.Messaging/MessageQueue/Send/mqsend_objtransaction.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Send_ObjectTransaction/VB/mqsend_objtransaction.vb rename to snippets/visualbasic/System.Messaging/MessageQueue/Send/mqsend_objtransaction.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlMessageFormatter Example/VB/source.vb b/snippets/visualbasic/System.Messaging/XmlMessageFormatter/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlMessageFormatter Example/VB/source.vb rename to snippets/visualbasic/System.Messaging/XmlMessageFormatter/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlMessageFormatter Example/VB/source2.vb b/snippets/visualbasic/System.Messaging/XmlMessageFormatter/Overview/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlMessageFormatter Example/VB/source2.vb rename to snippets/visualbasic/System.Messaging/XmlMessageFormatter/Overview/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlMessageFormatter Example/VB/source3.vb b/snippets/visualbasic/System.Messaging/XmlMessageFormatter/Overview/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlMessageFormatter Example/VB/source3.vb rename to snippets/visualbasic/System.Messaging/XmlMessageFormatter/Overview/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NclMailASync/vb/mailasync.vb b/snippets/visualbasic/System.Net.Mail/MailAddress/.ctor/mailasync.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NclMailASync/vb/mailasync.vb rename to snippets/visualbasic/System.Net.Mail/MailAddress/.ctor/mailasync.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NCLMailSync/vb/mail.vb b/snippets/visualbasic/System.Net.Mail/MailMessage/Overview/mail.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NCLMailSync/vb/mail.vb rename to snippets/visualbasic/System.Net.Mail/MailMessage/Overview/mail.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb b/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb rename to snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NclNetAddressChanged1/VB/changed.vb b/snippets/visualbasic/System.Net.NetworkInformation/NetworkChange/Overview/changed.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NclNetAddressChanged1/VB/changed.vb rename to snippets/visualbasic/System.Net.NetworkInformation/NetworkChange/Overview/changed.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NclNetworkInfoPerms/VB/permissionexample.vb b/snippets/visualbasic/System.Net.NetworkInformation/NetworkInformationAccess/Overview/permissionexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NclNetworkInfoPerms/VB/permissionexample.vb rename to snippets/visualbasic/System.Net.NetworkInformation/NetworkInformationAccess/Overview/permissionexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NclNegoasyncClient/VB/client.vb b/snippets/visualbasic/System.Net.Security/AuthenticatedStream/Overview/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NclNegoasyncClient/VB/client.vb rename to snippets/visualbasic/System.Net.Security/AuthenticatedStream/Overview/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/SecureString.xAt/VB/Project.vbproj b/snippets/visualbasic/System.Net.Security/SslStream/.ctor/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/SecureString.xAt/VB/Project.vbproj rename to snippets/visualbasic/System.Net.Security/SslStream/.ctor/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NclSslClientAsync/VB/clientasync.vb b/snippets/visualbasic/System.Net.Security/SslStream/.ctor/clientasync.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NclSslClientAsync/VB/clientasync.vb rename to snippets/visualbasic/System.Net.Security/SslStream/.ctor/clientasync.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NclSslClientAsync/VB/Project.vbproj b/snippets/visualbasic/System.Net.Security/SslStream/Overview/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NclSslClientAsync/VB/Project.vbproj rename to snippets/visualbasic/System.Net.Security/SslStream/Overview/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilderClass/vb/AssemblyBuilderClass.vbproj b/snippets/visualbasic/System.Net.Security/SslStream/Overview/Project1.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilderClass/vb/AssemblyBuilderClass.vbproj rename to snippets/visualbasic/System.Net.Security/SslStream/Overview/Project1.vbproj diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NclSslClientSync/VB/clientsync.vb b/snippets/visualbasic/System.Net.Security/SslStream/Overview/clientsync.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NclSslClientSync/VB/clientsync.vb rename to snippets/visualbasic/System.Net.Security/SslStream/Overview/clientsync.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb b/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb rename to snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Socket_Send_Receive/VB/source.vb b/snippets/visualbasic/System.Net.Sockets/AddressFamily/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Socket_Send_Receive/VB/source.vb rename to snippets/visualbasic/System.Net.Sockets/AddressFamily/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.UdpClient.JoinMulticastGroup/VB/joinmulticastgroup.vb b/snippets/visualbasic/System.Net.Sockets/IPv6MulticastOption/Overview/joinmulticastgroup.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.UdpClient.JoinMulticastGroup/VB/joinmulticastgroup.vb rename to snippets/visualbasic/System.Net.Sockets/IPv6MulticastOption/Overview/joinmulticastgroup.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Socket_Socket_Options/VB/source.vb b/snippets/visualbasic/System.Net.Sockets/LingerOption/LingerTime/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Socket_Socket_Options/VB/source.vb rename to snippets/visualbasic/System.Net.Sockets/LingerOption/LingerTime/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic LingerOption Example/VB/source.vb b/snippets/visualbasic/System.Net.Sockets/LingerOption/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic LingerOption Example/VB/source.vb rename to snippets/visualbasic/System.Net.Sockets/LingerOption/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.MulticastOptionListener/VB/listener.vb b/snippets/visualbasic/System.Net.Sockets/MulticastOption/Overview/listener.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.MulticastOptionListener/VB/listener.vb rename to snippets/visualbasic/System.Net.Sockets/MulticastOption/Overview/listener.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.MulticastOptionSender/VB/sender.vb b/snippets/visualbasic/System.Net.Sockets/MulticastOption/Overview/sender.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.MulticastOptionSender/VB/sender.vb rename to snippets/visualbasic/System.Net.Sockets/MulticastOption/Overview/sender.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NetworkStream_Protected_Members/VB/source.vb b/snippets/visualbasic/System.Net.Sockets/NetworkStream/Readable/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NetworkStream_Protected_Members/VB/source.vb rename to snippets/visualbasic/System.Net.Sockets/NetworkStream/Readable/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NetworkStream_Synch_SendAndReceive/VB/source.vb b/snippets/visualbasic/System.Net.Sockets/NetworkStream/Write/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NetworkStream_Synch_SendAndReceive/VB/source.vb rename to snippets/visualbasic/System.Net.Sockets/NetworkStream/Write/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SelectModeExample/VB/source.vb b/snippets/visualbasic/System.Net.Sockets/SelectMode/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SelectModeExample/VB/source.vb rename to snippets/visualbasic/System.Net.Sockets/SelectMode/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic Socket.Accept Example/VB/source.vb b/snippets/visualbasic/System.Net.Sockets/Socket/Accept/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic Socket.Accept Example/VB/source.vb rename to snippets/visualbasic/System.Net.Sockets/Socket/Accept/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic Socket.Bind Example/VB/source.vb b/snippets/visualbasic/System.Net.Sockets/Socket/Bind/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic Socket.Bind Example/VB/source.vb rename to snippets/visualbasic/System.Net.Sockets/Socket/Bind/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic Socket.Close Example/VB/source.vb b/snippets/visualbasic/System.Net.Sockets/Socket/Close/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic Socket.Close Example/VB/source.vb rename to snippets/visualbasic/System.Net.Sockets/Socket/Close/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic Socket.Connect Example/VB/source.vb b/snippets/visualbasic/System.Net.Sockets/Socket/Connect/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic Socket.Connect Example/VB/source.vb rename to snippets/visualbasic/System.Net.Sockets/Socket/Connect/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic Socket.Listen Example/VB/source.vb b/snippets/visualbasic/System.Net.Sockets/Socket/Listen/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic Socket.Listen Example/VB/source.vb rename to snippets/visualbasic/System.Net.Sockets/Socket/Listen/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Socket_Sync_Send_Receive/VB/source.vb b/snippets/visualbasic/System.Net.Sockets/Socket/Receive/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Socket_Sync_Send_Receive/VB/source.vb rename to snippets/visualbasic/System.Net.Sockets/Socket/Receive/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Socket_Select/VB/source.vb b/snippets/visualbasic/System.Net.Sockets/Socket/Select/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Socket_Select/VB/source.vb rename to snippets/visualbasic/System.Net.Sockets/Socket/Select/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ClassicTcpClient.PublicMethodsAndPropertiesExample/VB/source.vb b/snippets/visualbasic/System.Net.Sockets/TcpClient/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ClassicTcpClient.PublicMethodsAndPropertiesExample/VB/source.vb rename to snippets/visualbasic/System.Net.Sockets/TcpClient/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/TcpClientProtectedMethodsAndPropertiesExample/VB/source.vb b/snippets/visualbasic/System.Net.Sockets/TcpClient/Client/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/TcpClientProtectedMethodsAndPropertiesExample/VB/source.vb rename to snippets/visualbasic/System.Net.Sockets/TcpClient/Client/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NclSslClientSync/VB/Project.vbproj b/snippets/visualbasic/System.Net.Sockets/TcpClient/Overview/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NclSslClientSync/VB/Project.vbproj rename to snippets/visualbasic/System.Net.Sockets/TcpClient/Overview/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.TcpClient/VB/tcpclient.vb b/snippets/visualbasic/System.Net.Sockets/TcpClient/Overview/tcpclient.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.TcpClient/VB/tcpclient.vb rename to snippets/visualbasic/System.Net.Sockets/TcpClient/Overview/tcpclient.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic TcpListener.PublicMethodsAndPropertiesExample/VB/source.vb b/snippets/visualbasic/System.Net.Sockets/TcpListener/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic TcpListener.PublicMethodsAndPropertiesExample/VB/source.vb rename to snippets/visualbasic/System.Net.Sockets/TcpListener/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic TcpListenerExample/VB/source.vb b/snippets/visualbasic/System.Net.Sockets/TcpListener/AcceptTcpClient/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic TcpListenerExample/VB/source.vb rename to snippets/visualbasic/System.Net.Sockets/TcpListener/AcceptTcpClient/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.TcpListener1/VB/tcpserver.vb b/snippets/visualbasic/System.Net.Sockets/TcpListener/ExclusiveAddressUse/tcpserver.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.TcpListener1/VB/tcpserver.vb rename to snippets/visualbasic/System.Net.Sockets/TcpListener/ExclusiveAddressUse/tcpserver.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/TcpListener_Pending_LocalEndPoint/VB/source.vb b/snippets/visualbasic/System.Net.Sockets/TcpListener/LocalEndpoint/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/TcpListener_Pending_LocalEndPoint/VB/source.vb rename to snippets/visualbasic/System.Net.Sockets/TcpListener/LocalEndpoint/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.TcpListener/VB/tcpserver.vb b/snippets/visualbasic/System.Net.Sockets/TcpListener/Overview/tcpserver.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.TcpListener/VB/tcpserver.vb rename to snippets/visualbasic/System.Net.Sockets/TcpListener/Overview/tcpserver.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/TcpListenerProtectedMembers1/VB/source.vb b/snippets/visualbasic/System.Net.Sockets/TcpListener/Server/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/TcpListenerProtectedMembers1/VB/source.vb rename to snippets/visualbasic/System.Net.Sockets/TcpListener/Server/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic UdpClient.PublicMethodsAndPropertiesExample/VB/source.vb b/snippets/visualbasic/System.Net.Sockets/UdpClient/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic UdpClient.PublicMethodsAndPropertiesExample/VB/source.vb rename to snippets/visualbasic/System.Net.Sockets/UdpClient/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic UdpClient.ProtectedMethodsAndPropertiesExample/VB/source.vb b/snippets/visualbasic/System.Net.Sockets/UdpClient/Client/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic UdpClient.ProtectedMethodsAndPropertiesExample/VB/source.vb rename to snippets/visualbasic/System.Net.Sockets/UdpClient/Client/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic UdpClientExample/VB/source.vb b/snippets/visualbasic/System.Net.Sockets/UdpClient/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic UdpClientExample/VB/source.vb rename to snippets/visualbasic/System.Net.Sockets/UdpClient/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic NetworkCredential Example/VB/Project.vbproj b/snippets/visualbasic/System.Net/AuthenticationManager/Overview/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic NetworkCredential Example/VB/Project.vbproj rename to snippets/visualbasic/System.Net/AuthenticationManager/Overview/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Authentication/VB/custombasicauthentication.vb b/snippets/visualbasic/System.Net/AuthenticationManager/Overview/custombasicauthentication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Net.Authentication/VB/custombasicauthentication.vb rename to snippets/visualbasic/System.Net/AuthenticationManager/Overview/custombasicauthentication.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.Authentication/VB/custombasicauthentication.vb b/snippets/visualbasic/System.Net/AuthenticationManager/Register/custombasicauthentication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.Authentication/VB/custombasicauthentication.vb rename to snippets/visualbasic/System.Net/AuthenticationManager/Register/custombasicauthentication.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/AuthenticationManager_UnRegister2/VB/authenticationmanager_unregister2.vb b/snippets/visualbasic/System.Net/AuthenticationManager/Unregister/authenticationmanager_unregister2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/AuthenticationManager_UnRegister2/VB/authenticationmanager_unregister2.vb rename to snippets/visualbasic/System.Net/AuthenticationManager/Unregister/authenticationmanager_unregister2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NCLListener/vb/sample.vb b/snippets/visualbasic/System.Net/AuthenticationSchemes/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NCLListener/vb/sample.vb rename to snippets/visualbasic/System.Net/AuthenticationSchemes/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Authorization_Constructor3/VB/authorization_constructor3.vb b/snippets/visualbasic/System.Net/Authorization/.ctor/authorization_constructor3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Authorization_Constructor3/VB/authorization_constructor3.vb rename to snippets/visualbasic/System.Net/Authorization/.ctor/authorization_constructor3.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Authorization_ProtectionRealm/VB/authorization_protectionrealm.vb b/snippets/visualbasic/System.Net/Authorization/.ctor/authorization_protectionrealm.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Authorization_ProtectionRealm/VB/authorization_protectionrealm.vb rename to snippets/visualbasic/System.Net/Authorization/.ctor/authorization_protectionrealm.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Authorization_Constructor3/VB/makefile b/snippets/visualbasic/System.Net/Authorization/.ctor/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Authorization_Constructor3/VB/makefile rename to snippets/visualbasic/System.Net/Authorization/.ctor/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NCLCookies/VB/cookiessnippets.vb b/snippets/visualbasic/System.Net/Cookie/Overview/cookiessnippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NCLCookies/VB/cookiessnippets.vb rename to snippets/visualbasic/System.Net/Cookie/Overview/cookiessnippets.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/CookieCollection_Item_1/VB/CookiesServer.vb.aspx b/snippets/visualbasic/System.Net/CookieCollection/Item/CookiesServer.vb.aspx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/CookieCollection_Item_1/VB/CookiesServer.vb.aspx rename to snippets/visualbasic/System.Net/CookieCollection/Item/CookiesServer.vb.aspx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/CookieCollection_Item_2/VB/CookiesServer.vb.aspx b/snippets/visualbasic/System.Net/CookieCollection/Item/CookiesServer.vb1.aspx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/CookieCollection_Item_2/VB/CookiesServer.vb.aspx rename to snippets/visualbasic/System.Net/CookieCollection/Item/CookiesServer.vb1.aspx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/CookieCollection_Item_1/VB/cookiecollection_item_1.vb b/snippets/visualbasic/System.Net/CookieCollection/Item/cookiecollection_item_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/CookieCollection_Item_1/VB/cookiecollection_item_1.vb rename to snippets/visualbasic/System.Net/CookieCollection/Item/cookiecollection_item_1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/CookieCollection_Item_2/VB/cookiecollection_item_2.vb b/snippets/visualbasic/System.Net/CookieCollection/Item/cookiecollection_item_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/CookieCollection_Item_2/VB/cookiecollection_item_2.vb rename to snippets/visualbasic/System.Net/CookieCollection/Item/cookiecollection_item_2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/CookieCollection_Item_1/VB/makefile b/snippets/visualbasic/System.Net/CookieCollection/Item/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/CookieCollection_Item_1/VB/makefile rename to snippets/visualbasic/System.Net/CookieCollection/Item/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/CookieCollection_Item_2/VB/makefile b/snippets/visualbasic/System.Net/CookieCollection/Item/makefile1 similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/CookieCollection_Item_2/VB/makefile rename to snippets/visualbasic/System.Net/CookieCollection/Item/makefile1 diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NCL_Credential.Cache.Add_SMTP/VB/source.vb b/snippets/visualbasic/System.Net/CredentialCache/Add/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NCL_Credential.Cache.Add_SMTP/VB/source.vb rename to snippets/visualbasic/System.Net/CredentialCache/Add/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/CredentialCache_DefaultCredentials/VB/credentialcache_defaultcredentials.vb b/snippets/visualbasic/System.Net/CredentialCache/DefaultCredentials/credentialcache_defaultcredentials.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/CredentialCache_DefaultCredentials/VB/credentialcache_defaultcredentials.vb rename to snippets/visualbasic/System.Net/CredentialCache/DefaultCredentials/credentialcache_defaultcredentials.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/CredentialCache_GetCredential/VB/credentialcache_getcredential.vb b/snippets/visualbasic/System.Net/CredentialCache/GetCredential/credentialcache_getcredential.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/CredentialCache_GetCredential/VB/credentialcache_getcredential.vb rename to snippets/visualbasic/System.Net/CredentialCache/GetCredential/credentialcache_getcredential.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/CredentialCache_GetEnumerator/VB/credentialcache_getenumerator.vb b/snippets/visualbasic/System.Net/CredentialCache/GetEnumerator/credentialcache_getenumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/CredentialCache_GetEnumerator/VB/credentialcache_getenumerator.vb rename to snippets/visualbasic/System.Net/CredentialCache/GetEnumerator/credentialcache_getenumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic CredentialCache.Add Example/VB/source.vb b/snippets/visualbasic/System.Net/CredentialCache/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic CredentialCache.Add Example/VB/source.vb rename to snippets/visualbasic/System.Net/CredentialCache/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/CredentialCache_Add_Remove/VB/credentialcache_add_remove.vb b/snippets/visualbasic/System.Net/CredentialCache/Remove/credentialcache_add_remove.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/CredentialCache_Add_Remove/VB/credentialcache_add_remove.vb rename to snippets/visualbasic/System.Net/CredentialCache/Remove/credentialcache_add_remove.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Dns/vb/dnsnewmethods.vb b/snippets/visualbasic/System.Net/Dns/BeginGetHostEntry/dnsnewmethods.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Net.Dns/vb/dnsnewmethods.vb rename to snippets/visualbasic/System.Net/Dns/BeginGetHostEntry/dnsnewmethods.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Dns_Begin_EndResolve/VB/dns_begin_endresolve.vb b/snippets/visualbasic/System.Net/Dns/BeginResolve/dns_begin_endresolve.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Dns_Begin_EndResolve/VB/dns_begin_endresolve.vb rename to snippets/visualbasic/System.Net/Dns/BeginResolve/dns_begin_endresolve.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Dns_GetHostByAddress_IPAddress/VB/dns_gethostbyaddress_ipaddress.vb b/snippets/visualbasic/System.Net/Dns/GetHostByAddress/dns_gethostbyaddress_ipaddress.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Dns_GetHostByAddress_IPAddress/VB/dns_gethostbyaddress_ipaddress.vb rename to snippets/visualbasic/System.Net/Dns/GetHostByAddress/dns_gethostbyaddress_ipaddress.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Dns_GetHostByName/VB/dns_gethostbyname.vb b/snippets/visualbasic/System.Net/Dns/GetHostByName/dns_gethostbyname.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Dns_GetHostByName/VB/dns_gethostbyname.vb rename to snippets/visualbasic/System.Net/Dns/GetHostByName/dns_gethostbyname.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Dns_GetHostName/VB/dns_gethostname.vb b/snippets/visualbasic/System.Net/Dns/GetHostName/dns_gethostname.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Dns_GetHostName/VB/dns_gethostname.vb rename to snippets/visualbasic/System.Net/Dns/GetHostName/dns_gethostname.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic Dns Example/VB/source.vb b/snippets/visualbasic/System.Net/Dns/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic Dns Example/VB/source.vb rename to snippets/visualbasic/System.Net/Dns/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Dns_Resolve/VB/dns_resolve.vb b/snippets/visualbasic/System.Net/Dns/Resolve/dns_resolve.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Dns_Resolve/VB/dns_resolve.vb rename to snippets/visualbasic/System.Net/Dns/Resolve/dns_resolve.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb b/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb rename to snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/FileWebRequest_ReqBeginEnd/VB/filewebrequest_reqbeginend.vb b/snippets/visualbasic/System.Net/FileWebRequest/BeginGetRequestStream/filewebrequest_reqbeginend.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/FileWebRequest_ReqBeginEnd/VB/filewebrequest_reqbeginend.vb rename to snippets/visualbasic/System.Net/FileWebRequest/BeginGetRequestStream/filewebrequest_reqbeginend.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/FileWebRequest_ResBeginEnd/VB/filewebrequest_resbeginend.vb b/snippets/visualbasic/System.Net/FileWebRequest/BeginGetResponse/filewebrequest_resbeginend.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/FileWebRequest_ResBeginEnd/VB/filewebrequest_resbeginend.vb rename to snippets/visualbasic/System.Net/FileWebRequest/BeginGetResponse/filewebrequest_resbeginend.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Net.FileWebRequest.GetResponse/VB/getresponse.vb b/snippets/visualbasic/System.Net/FileWebRequest/GetResponse/getresponse.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Net.FileWebRequest.GetResponse/VB/getresponse.vb rename to snippets/visualbasic/System.Net/FileWebRequest/GetResponse/getresponse.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Net.FileWebRequest/VB/getrequeststream.vb b/snippets/visualbasic/System.Net/FileWebRequest/Overview/getrequeststream.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Net.FileWebRequest/VB/getrequeststream.vb rename to snippets/visualbasic/System.Net/FileWebRequest/Overview/getrequeststream.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/FileWebRequest_ContentLength/VB/filewebrequest_contentlength.vb b/snippets/visualbasic/System.Net/FileWebRequest/RequestUri/filewebrequest_contentlength.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/FileWebRequest_ContentLength/VB/filewebrequest_contentlength.vb rename to snippets/visualbasic/System.Net/FileWebRequest/RequestUri/filewebrequest_contentlength.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/FileWebResponse_Close/VB/filewebresponse_close.vb b/snippets/visualbasic/System.Net/FileWebResponse/Close/filewebresponse_close.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/FileWebResponse_Close/VB/filewebresponse_close.vb rename to snippets/visualbasic/System.Net/FileWebResponse/Close/filewebresponse_close.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/FileWebResponse_ContentLength_ContentType/VB/filewebresponse_contentlength_contenttype.vb b/snippets/visualbasic/System.Net/FileWebResponse/ContentLength/filewebresponse_contentlength_contenttype.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/FileWebResponse_ContentLength_ContentType/VB/filewebresponse_contentlength_contenttype.vb rename to snippets/visualbasic/System.Net/FileWebResponse/ContentLength/filewebresponse_contentlength_contenttype.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/FileWebResponse_GetResponseStream/VB/filewebresponse_getresponsestream.vb b/snippets/visualbasic/System.Net/FileWebResponse/GetResponseStream/filewebresponse_getresponsestream.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/FileWebResponse_GetResponseStream/VB/filewebresponse_getresponsestream.vb rename to snippets/visualbasic/System.Net/FileWebResponse/GetResponseStream/filewebresponse_getresponsestream.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/FileWebResponse_Headers/VB/filewebresponse_headers.vb b/snippets/visualbasic/System.Net/FileWebResponse/Headers/filewebresponse_headers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/FileWebResponse_Headers/VB/filewebresponse_headers.vb rename to snippets/visualbasic/System.Net/FileWebResponse/Headers/filewebresponse_headers.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/FileWebResponse_ResponseUri/VB/filewebresponse_responseuri.vb b/snippets/visualbasic/System.Net/FileWebResponse/ResponseUri/filewebresponse_responseuri.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/FileWebResponse_ResponseUri/VB/filewebresponse_responseuri.vb rename to snippets/visualbasic/System.Net/FileWebResponse/ResponseUri/filewebresponse_responseuri.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb b/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb rename to snippets/visualbasic/System.Net/HttpListener/Overview/test.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic Uri Example/VB/Project.vbproj b/snippets/visualbasic/System.Net/HttpVersion/Overview/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic Uri Example/VB/Project.vbproj rename to snippets/visualbasic/System.Net/HttpVersion/Overview/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpVersion_Version10/VB/httpversion_version10.vb b/snippets/visualbasic/System.Net/HttpVersion/Overview/httpversion_version10.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpVersion_Version10/VB/httpversion_version10.vb rename to snippets/visualbasic/System.Net/HttpVersion/Overview/httpversion_version10.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_Accept/VB/httpwebrequest_accept.vb b/snippets/visualbasic/System.Net/HttpWebRequest/Accept/httpwebrequest_accept.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_Accept/VB/httpwebrequest_accept.vb rename to snippets/visualbasic/System.Net/HttpWebRequest/Accept/httpwebrequest_accept.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpWebRequest.RequestUri Example/VB/source.vb b/snippets/visualbasic/System.Net/HttpWebRequest/Address/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic HttpWebRequest.RequestUri Example/VB/source.vb rename to snippets/visualbasic/System.Net/HttpWebRequest/Address/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_AllowAutoRedirect/VB/httpwebrequest_allowautoredirect.vb b/snippets/visualbasic/System.Net/HttpWebRequest/AllowAutoRedirect/httpwebrequest_allowautoredirect.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_AllowAutoRedirect/VB/httpwebrequest_allowautoredirect.vb rename to snippets/visualbasic/System.Net/HttpWebRequest/AllowAutoRedirect/httpwebrequest_allowautoredirect.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_AllowWriteStreamBuffering/VB/httpwebrequest_allowwritestreambuffering.vb b/snippets/visualbasic/System.Net/HttpWebRequest/AllowWriteStreamBuffering/httpwebrequest_allowwritestreambuffering.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_AllowWriteStreamBuffering/VB/httpwebrequest_allowwritestreambuffering.vb rename to snippets/visualbasic/System.Net/HttpWebRequest/AllowWriteStreamBuffering/httpwebrequest_allowwritestreambuffering.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_BeginGetRequestStream/VB/httpwebrequest_begingetrequeststream.vb b/snippets/visualbasic/System.Net/HttpWebRequest/BeginGetRequestStream/httpwebrequest_begingetrequeststream.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_BeginGetRequestStream/VB/httpwebrequest_begingetrequeststream.vb rename to snippets/visualbasic/System.Net/HttpWebRequest/BeginGetRequestStream/httpwebrequest_begingetrequeststream.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_Connection/VB/httpwebrequest_connection.vb b/snippets/visualbasic/System.Net/HttpWebRequest/Connection/httpwebrequest_connection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_Connection/VB/httpwebrequest_connection.vb rename to snippets/visualbasic/System.Net/HttpWebRequest/Connection/httpwebrequest_connection.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_ContentLength/VB/httpwebrequest_contentlength.vb b/snippets/visualbasic/System.Net/HttpWebRequest/ContentLength/httpwebrequest_contentlength.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_ContentLength/VB/httpwebrequest_contentlength.vb rename to snippets/visualbasic/System.Net/HttpWebRequest/ContentLength/httpwebrequest_contentlength.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NCLResponse1/VB/httpwebrequest1.vb b/snippets/visualbasic/System.Net/HttpWebRequest/Credentials/httpwebrequest1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NCLResponse1/VB/httpwebrequest1.vb rename to snippets/visualbasic/System.Net/HttpWebRequest/Credentials/httpwebrequest1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Httpwebrequest_HaveResponse/VB/httpwebrequest_haveresponse.vb b/snippets/visualbasic/System.Net/HttpWebRequest/HaveResponse/httpwebrequest_haveresponse.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Httpwebrequest_HaveResponse/VB/httpwebrequest_haveresponse.vb rename to snippets/visualbasic/System.Net/HttpWebRequest/HaveResponse/httpwebrequest_haveresponse.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_Headers/VB/httpwebrequest_headers.vb b/snippets/visualbasic/System.Net/HttpWebRequest/Headers/httpwebrequest_headers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_Headers/VB/httpwebrequest_headers.vb rename to snippets/visualbasic/System.Net/HttpWebRequest/Headers/httpwebrequest_headers.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_IfModifiedSince/VB/httpwebrequest_ifmodifiedsince.vb b/snippets/visualbasic/System.Net/HttpWebRequest/IfModifiedSince/httpwebrequest_ifmodifiedsince.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_IfModifiedSince/VB/httpwebrequest_ifmodifiedsince.vb rename to snippets/visualbasic/System.Net/HttpWebRequest/IfModifiedSince/httpwebrequest_ifmodifiedsince.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpWebRequest Example/VB/source.vb b/snippets/visualbasic/System.Net/HttpWebRequest/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic HttpWebRequest Example/VB/source.vb rename to snippets/visualbasic/System.Net/HttpWebRequest/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_PipeLined/VB/httpwebrequest_pipelined.vb b/snippets/visualbasic/System.Net/HttpWebRequest/Pipelined/httpwebrequest_pipelined.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_PipeLined/VB/httpwebrequest_pipelined.vb rename to snippets/visualbasic/System.Net/HttpWebRequest/Pipelined/httpwebrequest_pipelined.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_ProtocolVersion/VB/httpwebrequest_protocolversion.vb b/snippets/visualbasic/System.Net/HttpWebRequest/ProtocolVersion/httpwebrequest_protocolversion.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_ProtocolVersion/VB/httpwebrequest_protocolversion.vb rename to snippets/visualbasic/System.Net/HttpWebRequest/ProtocolVersion/httpwebrequest_protocolversion.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Httpwebrequest_proxy/VB/httpwebrequest_proxy.vb b/snippets/visualbasic/System.Net/HttpWebRequest/Proxy/httpwebrequest_proxy.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Httpwebrequest_proxy/VB/httpwebrequest_proxy.vb rename to snippets/visualbasic/System.Net/HttpWebRequest/Proxy/httpwebrequest_proxy.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_Referer/VB/httpwebrequest_referer.vb b/snippets/visualbasic/System.Net/HttpWebRequest/Referer/httpwebrequest_referer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_Referer/VB/httpwebrequest_referer.vb rename to snippets/visualbasic/System.Net/HttpWebRequest/Referer/httpwebrequest_referer.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_SendChunked/VB/httpwebrequest_sendchunked.vb b/snippets/visualbasic/System.Net/HttpWebRequest/SendChunked/httpwebrequest_sendchunked.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_SendChunked/VB/httpwebrequest_sendchunked.vb rename to snippets/visualbasic/System.Net/HttpWebRequest/SendChunked/httpwebrequest_sendchunked.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb b/snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb rename to snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_Timeout/VB/httpwebrequest_timeout.vb b/snippets/visualbasic/System.Net/HttpWebRequest/Timeout/httpwebrequest_timeout.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_Timeout/VB/httpwebrequest_timeout.vb rename to snippets/visualbasic/System.Net/HttpWebRequest/Timeout/httpwebrequest_timeout.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_UserAgent/VB/httpwebrequest_useragent.vb b/snippets/visualbasic/System.Net/HttpWebRequest/UserAgent/httpwebrequest_useragent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_UserAgent/VB/httpwebrequest_useragent.vb rename to snippets/visualbasic/System.Net/HttpWebRequest/UserAgent/httpwebrequest_useragent.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_ContentEncoding_CharacterSet/VB/source.vb b/snippets/visualbasic/System.Net/HttpWebResponse/CharacterSet/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_ContentEncoding_CharacterSet/VB/source.vb rename to snippets/visualbasic/System.Net/HttpWebResponse/CharacterSet/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_Close/VB/httpwebresponse_close.vb b/snippets/visualbasic/System.Net/HttpWebResponse/Close/httpwebresponse_close.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_Close/VB/httpwebresponse_close.vb rename to snippets/visualbasic/System.Net/HttpWebResponse/Close/httpwebresponse_close.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_GetResponseHeader/VB/httpwebresponse_getresponseheader.vb b/snippets/visualbasic/System.Net/HttpWebResponse/GetResponseHeader/httpwebresponse_getresponseheader.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_GetResponseHeader/VB/httpwebresponse_getresponseheader.vb rename to snippets/visualbasic/System.Net/HttpWebResponse/GetResponseHeader/httpwebresponse_getresponseheader.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_GetResponseStream/VB/httpwebresponse_getresponsestream.vb b/snippets/visualbasic/System.Net/HttpWebResponse/GetResponseStream/httpwebresponse_getresponsestream.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_GetResponseStream/VB/httpwebresponse_getresponsestream.vb rename to snippets/visualbasic/System.Net/HttpWebResponse/GetResponseStream/httpwebresponse_getresponsestream.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_Headers/VB/httpwebresponse_headers.vb b/snippets/visualbasic/System.Net/HttpWebResponse/Headers/httpwebresponse_headers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_Headers/VB/httpwebresponse_headers.vb rename to snippets/visualbasic/System.Net/HttpWebResponse/Headers/httpwebresponse_headers.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_LastModified/VB/httpwebresponse_lastmodified.vb b/snippets/visualbasic/System.Net/HttpWebResponse/LastModified/httpwebresponse_lastmodified.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_LastModified/VB/httpwebresponse_lastmodified.vb rename to snippets/visualbasic/System.Net/HttpWebResponse/LastModified/httpwebresponse_lastmodified.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_Method_Server/VB/httpwebresponse_method_server.vb b/snippets/visualbasic/System.Net/HttpWebResponse/Method/httpwebresponse_method_server.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_Method_Server/VB/httpwebresponse_method_server.vb rename to snippets/visualbasic/System.Net/HttpWebResponse/Method/httpwebresponse_method_server.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpWebResponse Example/VB/source.vb b/snippets/visualbasic/System.Net/HttpWebResponse/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic HttpWebResponse Example/VB/source.vb rename to snippets/visualbasic/System.Net/HttpWebResponse/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_ProtocolVersion/VB/httpwebresponse_protocolversion.vb b/snippets/visualbasic/System.Net/HttpWebResponse/ProtocolVersion/httpwebresponse_protocolversion.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_ProtocolVersion/VB/httpwebresponse_protocolversion.vb rename to snippets/visualbasic/System.Net/HttpWebResponse/ProtocolVersion/httpwebresponse_protocolversion.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_ResponseUri/VB/httpwebresponse_responseuri.vb b/snippets/visualbasic/System.Net/HttpWebResponse/ResponseUri/httpwebresponse_responseuri.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_ResponseUri/VB/httpwebresponse_responseuri.vb rename to snippets/visualbasic/System.Net/HttpWebResponse/ResponseUri/httpwebresponse_responseuri.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_StatusCode_StatusDescription/VB/httpwebresponse_statuscode_statusdescription.vb b/snippets/visualbasic/System.Net/HttpWebResponse/StatusCode/httpwebresponse_statuscode_statusdescription.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_StatusCode_StatusDescription/VB/httpwebresponse_statuscode_statusdescription.vb rename to snippets/visualbasic/System.Net/HttpWebResponse/StatusCode/httpwebresponse_statuscode_statusdescription.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic ICertificatePolicy Example/VB/source.vb b/snippets/visualbasic/System.Net/ICertificatePolicy/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic ICertificatePolicy Example/VB/source.vb rename to snippets/visualbasic/System.Net/ICertificatePolicy/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ICredential/VB/icredential.vb b/snippets/visualbasic/System.Net/ICredentials/Overview/icredential.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ICredential/VB/icredential.vb rename to snippets/visualbasic/System.Net/ICredentials/Overview/icredential.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/IPAddress_Broadcast_Loopback/VB/ipaddress_broadcast_loopback.vb b/snippets/visualbasic/System.Net/IPAddress/Broadcast/ipaddress_broadcast_loopback.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/IPAddress_Broadcast_Loopback/VB/ipaddress_broadcast_loopback.vb rename to snippets/visualbasic/System.Net/IPAddress/Broadcast/ipaddress_broadcast_loopback.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPAddress.IPv6NoneAnyLoopback/VB/noneanyloopback.vb b/snippets/visualbasic/System.Net/IPAddress/IPv6Any/noneanyloopback.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPAddress.IPv6NoneAnyLoopback/VB/noneanyloopback.vb rename to snippets/visualbasic/System.Net/IPAddress/IPv6Any/noneanyloopback.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPAddress.IsLoopback/VB/isloopback.vb b/snippets/visualbasic/System.Net/IPAddress/IsLoopback/isloopback.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPAddress.IsLoopback/VB/isloopback.vb rename to snippets/visualbasic/System.Net/IPAddress/IsLoopback/isloopback.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/IPAddress_NetworkToHost/VB/ipaddress_networktohost.vb b/snippets/visualbasic/System.Net/IPAddress/NetworkToHostOrder/ipaddress_networktohost.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/IPAddress_NetworkToHost/VB/ipaddress_networktohost.vb rename to snippets/visualbasic/System.Net/IPAddress/NetworkToHostOrder/ipaddress_networktohost.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/IPAddress_None/VB/ipaddress_none.vb b/snippets/visualbasic/System.Net/IPAddress/None/ipaddress_none.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/IPAddress_None/VB/ipaddress_none.vb rename to snippets/visualbasic/System.Net/IPAddress/None/ipaddress_none.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPAddress/VB/ipaddress.vb b/snippets/visualbasic/System.Net/IPAddress/Overview/ipaddress.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPAddress/VB/ipaddress.vb rename to snippets/visualbasic/System.Net/IPAddress/Overview/ipaddress.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPAddress.Parse/VB/parse.vb b/snippets/visualbasic/System.Net/IPAddress/Parse/parse.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPAddress.Parse/VB/parse.vb rename to snippets/visualbasic/System.Net/IPAddress/Parse/parse.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/IPEndPoint_Properties/VB/ipendpoint_properties.vb b/snippets/visualbasic/System.Net/IPEndPoint/.ctor/ipendpoint_properties.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/IPEndPoint_Properties/VB/ipendpoint_properties.vb rename to snippets/visualbasic/System.Net/IPEndPoint/.ctor/ipendpoint_properties.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPEndPoint/VB/ipendpoint.vb b/snippets/visualbasic/System.Net/IPEndPoint/Overview/ipendpoint.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPEndPoint/VB/ipendpoint.vb rename to snippets/visualbasic/System.Net/IPEndPoint/Overview/ipendpoint.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/IPHostEntry_AddressList/VB/iphostentry_addresslist.vb b/snippets/visualbasic/System.Net/IPHostEntry/AddressList/iphostentry_addresslist.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/IPHostEntry_AddressList/VB/iphostentry_addresslist.vb rename to snippets/visualbasic/System.Net/IPHostEntry/AddressList/iphostentry_addresslist.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/IWebProxy_Interface/VB/iwebproxy_interface.vb b/snippets/visualbasic/System.Net/IWebProxy/Credentials/iwebproxy_interface.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/IWebProxy_Interface/VB/iwebproxy_interface.vb rename to snippets/visualbasic/System.Net/IWebProxy/Credentials/iwebproxy_interface.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NetworkCredential_Constructor2/VB/networkcredential_constructor2.vb b/snippets/visualbasic/System.Net/NetworkCredential/.ctor/networkcredential_constructor2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NetworkCredential_Constructor2/VB/networkcredential_constructor2.vb rename to snippets/visualbasic/System.Net/NetworkCredential/.ctor/networkcredential_constructor2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NetworkCredential_UserName_Password_Domain/VB/networkcredential_username_password_domain.vb b/snippets/visualbasic/System.Net/NetworkCredential/Domain/networkcredential_username_password_domain.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NetworkCredential_UserName_Password_Domain/VB/networkcredential_username_password_domain.vb rename to snippets/visualbasic/System.Net/NetworkCredential/Domain/networkcredential_username_password_domain.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NetworkCredential_GetCredential/VB/networkcredential_getcredential.vb b/snippets/visualbasic/System.Net/NetworkCredential/GetCredential/networkcredential_getcredential.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NetworkCredential_GetCredential/VB/networkcredential_getcredential.vb rename to snippets/visualbasic/System.Net/NetworkCredential/GetCredential/networkcredential_getcredential.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic WebProxy Example/VB/Project.vbproj b/snippets/visualbasic/System.Net/NetworkCredential/Overview/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic WebProxy Example/VB/Project.vbproj rename to snippets/visualbasic/System.Net/NetworkCredential/Overview/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic NetworkCredential Example/VB/source.vb b/snippets/visualbasic/System.Net/NetworkCredential/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic NetworkCredential Example/VB/source.vb rename to snippets/visualbasic/System.Net/NetworkCredential/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NCLServicePoint/VB/nclservicepoint.vb b/snippets/visualbasic/System.Net/ServicePoint/ConnectionLeaseTimeout/nclservicepoint.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NCLServicePoint/VB/nclservicepoint.vb rename to snippets/visualbasic/System.Net/ServicePoint/ConnectionLeaseTimeout/nclservicepoint.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic ServicePointManager.CertificatePolicy Example/VB/source.vb b/snippets/visualbasic/System.Net/ServicePointManager/CertificatePolicy/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic ServicePointManager.CertificatePolicy Example/VB/source.vb rename to snippets/visualbasic/System.Net/ServicePointManager/CertificatePolicy/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePointWhidbey/VB/servicepoint.vb b/snippets/visualbasic/System.Net/ServicePointManager/DnsRefreshTimeout/servicepoint.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePointWhidbey/VB/servicepoint.vb rename to snippets/visualbasic/System.Net/ServicePointManager/DnsRefreshTimeout/servicepoint.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic ServicePoint Example/VB/source.vb b/snippets/visualbasic/System.Net/ServicePointManager/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic ServicePoint Example/VB/source.vb rename to snippets/visualbasic/System.Net/ServicePointManager/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic SocketAddressExample/VB/source.vb b/snippets/visualbasic/System.Net/SocketAddress/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic SocketAddressExample/VB/source.vb rename to snippets/visualbasic/System.Net/SocketAddress/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebClient/VB/webclient.vb b/snippets/visualbasic/System.Net/WebClient/.ctor/webclient.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebClient/VB/webclient.vb rename to snippets/visualbasic/System.Net/WebClient/.ctor/webclient.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebClient_BaseAddress_ResponseHeaders/VB/webclient_baseaddress_responseheaders.vb b/snippets/visualbasic/System.Net/WebClient/BaseAddress/webclient_baseaddress_responseheaders.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebClient_BaseAddress_ResponseHeaders/VB/webclient_baseaddress_responseheaders.vb rename to snippets/visualbasic/System.Net/WebClient/BaseAddress/webclient_baseaddress_responseheaders.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebClientAuthentication/VB/webclientauth.vb b/snippets/visualbasic/System.Net/WebClient/Credentials/webclientauth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebClientAuthentication/VB/webclientauth.vb rename to snippets/visualbasic/System.Net/WebClient/Credentials/webclientauth.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebClient_DownloadData/VB/webclient_downloaddata.vb b/snippets/visualbasic/System.Net/WebClient/DownloadData/webclient_downloaddata.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebClient_DownloadData/VB/webclient_downloaddata.vb rename to snippets/visualbasic/System.Net/WebClient/DownloadData/webclient_downloaddata.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebClient_DownloadFile/VB/webclient_downloadfile.vb b/snippets/visualbasic/System.Net/WebClient/DownloadFile/webclient_downloadfile.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebClient_DownloadFile/VB/webclient_downloadfile.vb rename to snippets/visualbasic/System.Net/WebClient/DownloadFile/webclient_downloadfile.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebClient_UpLoadData_Headers/VB/webclient_uploaddata_headers.vb b/snippets/visualbasic/System.Net/WebClient/Headers/webclient_uploaddata_headers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebClient_UpLoadData_Headers/VB/webclient_uploaddata_headers.vb rename to snippets/visualbasic/System.Net/WebClient/Headers/webclient_uploaddata_headers.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebClient_OpenRead/VB/webclient_openread.vb b/snippets/visualbasic/System.Net/WebClient/OpenRead/webclient_openread.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebClient_OpenRead/VB/webclient_openread.vb rename to snippets/visualbasic/System.Net/WebClient/OpenRead/webclient_openread.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebClient_OpenWrite/VB/webclient_openwrite.vb b/snippets/visualbasic/System.Net/WebClient/OpenWrite/webclient_openwrite.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebClient_OpenWrite/VB/webclient_openwrite.vb rename to snippets/visualbasic/System.Net/WebClient/OpenWrite/webclient_openwrite.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebClient_OpenWrite2/VB/webclient_openwrite2.vb b/snippets/visualbasic/System.Net/WebClient/OpenWrite/webclient_openwrite2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebClient_OpenWrite2/VB/webclient_openwrite2.vb rename to snippets/visualbasic/System.Net/WebClient/OpenWrite/webclient_openwrite2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpVersion_Version10/VB/Project.vbproj b/snippets/visualbasic/System.Net/WebClient/Overview/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpVersion_Version10/VB/Project.vbproj rename to snippets/visualbasic/System.Net/WebClient/Overview/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientUserAgent/VB/useragent.vb b/snippets/visualbasic/System.Net/WebClient/Overview/useragent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientUserAgent/VB/useragent.vb rename to snippets/visualbasic/System.Net/WebClient/Overview/useragent.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebClient_QueryString/VB/webclient_querystring.vb b/snippets/visualbasic/System.Net/WebClient/QueryString/webclient_querystring.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebClient_QueryString/VB/webclient_querystring.vb rename to snippets/visualbasic/System.Net/WebClient/QueryString/webclient_querystring.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebClient_UpLoadData2/VB/webclient_uploaddata2.vb b/snippets/visualbasic/System.Net/WebClient/UploadData/webclient_uploaddata2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebClient_UpLoadData2/VB/webclient_uploaddata2.vb rename to snippets/visualbasic/System.Net/WebClient/UploadData/webclient_uploaddata2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebClient_UpLoadFile/VB/webclient_uploadfile.vb b/snippets/visualbasic/System.Net/WebClient/UploadFile/webclient_uploadfile.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebClient_UpLoadFile/VB/webclient_uploadfile.vb rename to snippets/visualbasic/System.Net/WebClient/UploadFile/webclient_uploadfile.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebClient_UpLoadFile2/VB/webclient_uploadfile2.vb b/snippets/visualbasic/System.Net/WebClient/UploadFile/webclient_uploadfile2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebClient_UpLoadFile2/VB/webclient_uploadfile2.vb rename to snippets/visualbasic/System.Net/WebClient/UploadFile/webclient_uploadfile2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebClient_UploadValues/VB/webclient_uploadvalues.vb b/snippets/visualbasic/System.Net/WebClient/UploadValues/webclient_uploadvalues.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebClient_UploadValues/VB/webclient_uploadvalues.vb rename to snippets/visualbasic/System.Net/WebClient/UploadValues/webclient_uploadvalues.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebClient_UploadValues2/VB/webclient_uploadvalues2.vb b/snippets/visualbasic/System.Net/WebClient/UploadValues/webclient_uploadvalues2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebClient_UploadValues2/VB/webclient_uploadvalues2.vb rename to snippets/visualbasic/System.Net/WebClient/UploadValues/webclient_uploadvalues2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebException_Constructor1/VB/webexception_constructor1.vb b/snippets/visualbasic/System.Net/WebException/.ctor/webexception_constructor1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebException_Constructor1/VB/webexception_constructor1.vb rename to snippets/visualbasic/System.Net/WebException/.ctor/webexception_constructor1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebException_Constructor2/VB/webexception_constructor2.vb b/snippets/visualbasic/System.Net/WebException/.ctor/webexception_constructor2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebException_Constructor2/VB/webexception_constructor2.vb rename to snippets/visualbasic/System.Net/WebException/.ctor/webexception_constructor2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebException_Constructor3/VB/webexception_constructor3.vb b/snippets/visualbasic/System.Net/WebException/.ctor/webexception_constructor3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebException_Constructor3/VB/webexception_constructor3.vb rename to snippets/visualbasic/System.Net/WebException/.ctor/webexception_constructor3.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebException_Constructor4/VB/webexception_constructor4.vb b/snippets/visualbasic/System.Net/WebException/.ctor/webexception_constructor4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebException_Constructor4/VB/webexception_constructor4.vb rename to snippets/visualbasic/System.Net/WebException/.ctor/webexception_constructor4.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebException_Constructor5/VB/webexception_constructor5.vb b/snippets/visualbasic/System.Net/WebException/.ctor/webexception_constructor5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebException_Constructor5/VB/webexception_constructor5.vb rename to snippets/visualbasic/System.Net/WebException/.ctor/webexception_constructor5.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebException_Status_Response/VB/webexception_status_response.vb b/snippets/visualbasic/System.Net/WebException/Response/webexception_status_response.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebException_Status_Response/VB/webexception_status_response.vb rename to snippets/visualbasic/System.Net/WebException/Response/webexception_status_response.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebHeaderCollection_Add/VB/webheadercollection_add.vb b/snippets/visualbasic/System.Net/WebHeaderCollection/Add/webheadercollection_add.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebHeaderCollection_Add/VB/webheadercollection_add.vb rename to snippets/visualbasic/System.Net/WebHeaderCollection/Add/webheadercollection_add.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebHeaderCollection_GetValues_1/VB/webheadercollection_getvalues_1.vb b/snippets/visualbasic/System.Net/WebHeaderCollection/GetValues/webheadercollection_getvalues_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebHeaderCollection_GetValues_1/VB/webheadercollection_getvalues_1.vb rename to snippets/visualbasic/System.Net/WebHeaderCollection/GetValues/webheadercollection_getvalues_1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebHeaderCollection_IsRestricted/VB/webheadercollection_isrestricted.vb b/snippets/visualbasic/System.Net/WebHeaderCollection/IsRestricted/webheadercollection_isrestricted.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebHeaderCollection_IsRestricted/VB/webheadercollection_isrestricted.vb rename to snippets/visualbasic/System.Net/WebHeaderCollection/IsRestricted/webheadercollection_isrestricted.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebHeaderCollection_Remove/VB/webheadercollection_remove.vb b/snippets/visualbasic/System.Net/WebHeaderCollection/Remove/webheadercollection_remove.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebHeaderCollection_Remove/VB/webheadercollection_remove.vb rename to snippets/visualbasic/System.Net/WebHeaderCollection/Remove/webheadercollection_remove.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebHeaderCollection_Set/VB/webheadercollection_set.vb b/snippets/visualbasic/System.Net/WebHeaderCollection/Set/webheadercollection_set.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebHeaderCollection_Set/VB/webheadercollection_set.vb rename to snippets/visualbasic/System.Net/WebHeaderCollection/Set/webheadercollection_set.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientUserAgent/VB/Project.vbproj b/snippets/visualbasic/System.Net/WebProxy/Overview/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientUserAgent/VB/Project.vbproj rename to snippets/visualbasic/System.Net/WebProxy/Overview/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic WebProxy Example/VB/source.vb b/snippets/visualbasic/System.Net/WebProxy/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic WebProxy Example/VB/source.vb rename to snippets/visualbasic/System.Net/WebProxy/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic WebRequest.WebRequest Example/VB/source.vb b/snippets/visualbasic/System.Net/WebRequest/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic WebRequest.WebRequest Example/VB/source.vb rename to snippets/visualbasic/System.Net/WebRequest/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebRequest_BeginGetRequest/VB/webrequest_begingetrequest.vb b/snippets/visualbasic/System.Net/WebRequest/BeginGetRequestStream/webrequest_begingetrequest.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebRequest_BeginGetRequest/VB/webrequest_begingetrequest.vb rename to snippets/visualbasic/System.Net/WebRequest/BeginGetRequestStream/webrequest_begingetrequest.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebRequest_ContentType/VB/webrequest_contenttype.vb b/snippets/visualbasic/System.Net/WebRequest/ContentLength/webrequest_contenttype.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebRequest_ContentType/VB/webrequest_contenttype.vb rename to snippets/visualbasic/System.Net/WebRequest/ContentLength/webrequest_contenttype.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebRequest_Create/VB/webrequest_create.vb b/snippets/visualbasic/System.Net/WebRequest/Create/webrequest_create.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebRequest_Create/VB/webrequest_create.vb rename to snippets/visualbasic/System.Net/WebRequest/Create/webrequest_create.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebResponse_ResponseUri/VB/webresponse_responseuri.vb b/snippets/visualbasic/System.Net/WebRequest/Create/webresponse_responseuri.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebResponse_ResponseUri/VB/webresponse_responseuri.vb rename to snippets/visualbasic/System.Net/WebRequest/Create/webresponse_responseuri.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebRequest_Timeout/VB/webrequest_timeout.vb b/snippets/visualbasic/System.Net/WebRequest/GetResponse/webrequest_timeout.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebRequest_Timeout/VB/webrequest_timeout.vb rename to snippets/visualbasic/System.Net/WebRequest/GetResponse/webrequest_timeout.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebRequest_Headers/VB/webrequest_headers.vb b/snippets/visualbasic/System.Net/WebRequest/Headers/webrequest_headers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebRequest_Headers/VB/webrequest_headers.vb rename to snippets/visualbasic/System.Net/WebRequest/Headers/webrequest_headers.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NCLWebRequestSimple/VB/webrequestget.vb b/snippets/visualbasic/System.Net/WebRequest/Overview/webrequestget.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NCLWebRequestSimple/VB/webrequestget.vb rename to snippets/visualbasic/System.Net/WebRequest/Overview/webrequestget.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebRequest_Proxy/VB/webrequest_proxy.vb b/snippets/visualbasic/System.Net/WebRequest/Proxy/webrequest_proxy.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebRequest_Proxy/VB/webrequest_proxy.vb rename to snippets/visualbasic/System.Net/WebRequest/Proxy/webrequest_proxy.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebRequest_RequestUri1/VB/webrequest_requesturi.vb b/snippets/visualbasic/System.Net/WebRequest/RequestUri/webrequest_requesturi.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebRequest_RequestUri1/VB/webrequest_requesturi.vb rename to snippets/visualbasic/System.Net/WebRequest/RequestUri/webrequest_requesturi.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebResponse_Close/VB/webresponse_close.vb b/snippets/visualbasic/System.Net/WebResponse/Close/webresponse_close.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebResponse_Close/VB/webresponse_close.vb rename to snippets/visualbasic/System.Net/WebResponse/Close/webresponse_close.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebResponse_ContentLength_Type/VB/webresponse_contentlength_type.vb b/snippets/visualbasic/System.Net/WebResponse/ContentLength/webresponse_contentlength_type.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebResponse_ContentLength_Type/VB/webresponse_contentlength_type.vb rename to snippets/visualbasic/System.Net/WebResponse/ContentLength/webresponse_contentlength_type.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/Project.vbproj b/snippets/visualbasic/System.Net/WebResponse/GetResponseStream/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/Project.vbproj rename to snippets/visualbasic/System.Net/WebResponse/GetResponseStream/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebResponse_GetResponseStream/VB/webresponse_getresponsestream.vb b/snippets/visualbasic/System.Net/WebResponse/GetResponseStream/webresponse_getresponsestream.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebResponse_GetResponseStream/VB/webresponse_getresponsestream.vb rename to snippets/visualbasic/System.Net/WebResponse/GetResponseStream/webresponse_getresponsestream.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebResponse_Headers/VB/webresponse_headers.vb b/snippets/visualbasic/System.Net/WebResponse/Headers/webresponse_headers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebResponse_Headers/VB/webresponse_headers.vb rename to snippets/visualbasic/System.Net/WebResponse/Headers/webresponse_headers.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic WebRequest Example/VB/source.vb b/snippets/visualbasic/System.Net/WebResponse/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic WebRequest Example/VB/source.vb rename to snippets/visualbasic/System.Net/WebResponse/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example1.vb b/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example2.vb b/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example2.vb rename to snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Project.vbproj b/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Project.vbproj similarity index 96% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Project.vbproj rename to snippets/visualbasic/System.Numerics/BigInteger/.ctor/Project.vbproj index 9a84e38014e..f5b608380e9 100644 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Project.vbproj +++ b/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Project.vbproj @@ -1,7 +1,7 @@ - - - Library - net9.0 - - + + + Library + net9.0 + + \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OperationMethods/vb/Multiply1.vb b/snippets/visualbasic/System.Numerics/BigInteger/Add/Multiply1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OperationMethods/vb/Multiply1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/Add/Multiply1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Compare/vb/Compare1.vb b/snippets/visualbasic/System.Numerics/BigInteger/Compare/Compare1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Compare/vb/Compare1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/Compare/Compare1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.CompareTo/vb/Example1.vb b/snippets/visualbasic/System.Numerics/BigInteger/CompareTo/Example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.CompareTo/vb/Example1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/CompareTo/Example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.CompareTo/vb/Example2.vb b/snippets/visualbasic/System.Numerics/BigInteger/CompareTo/Example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.CompareTo/vb/Example2.vb rename to snippets/visualbasic/System.Numerics/BigInteger/CompareTo/Example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Divide/vb/Divide1.vb b/snippets/visualbasic/System.Numerics/BigInteger/Divide/Divide1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Divide/vb/Divide1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/Divide/Divide1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Equals/vb/EqualsExample1.vb b/snippets/visualbasic/System.Numerics/BigInteger/Equals/EqualsExample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Equals/vb/EqualsExample1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/Equals/EqualsExample1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Equals/vb/Equals_Obj1.vb b/snippets/visualbasic/System.Numerics/BigInteger/Equals/Equals_Obj1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Equals/vb/Equals_Obj1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/Equals/Equals_Obj1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb b/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb rename to snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb diff --git a/snippets/visualbasic/System.Numerics/BigInteger/LogMethod/log1.vb b/snippets/visualbasic/System.Numerics/BigInteger/LogMethod/log1.vb new file mode 100644 index 00000000000..45b0489f253 --- /dev/null +++ b/snippets/visualbasic/System.Numerics/BigInteger/LogMethod/log1.vb @@ -0,0 +1,26 @@ +' Visual Basic .NET Document +Option Strict On + +' +Imports System.Numerics + +Module Example + Public Sub Main() + Dim values() As BigInteger = { 2, 100, BigInteger.Pow(1000, 100), + BigInteger.Pow(2, 64) } + For Each value In values + Console.WriteLine("The square root of {0} is {1}", value, + Math.Exp(BigInteger.Log(value) / 2)) + Next + End Sub +End Module +' The example displays the following output: +' The square root of 2 is 1.41421356237309 +' The square root of 100 is 10 +' The square root of 1000000000000000000000000000000000000000000000000000000000000 +' 00000000000000000000000000000000000000000000000000000000000000000000000000000000 +' 00000000000000000000000000000000000000000000000000000000000000000000000000000000 +' 00000000000000000000000000000000000000000000000000000000000000000000000000000000 +' is 9.99999999999988E+149 +' The square root of 18446744073709551616 is 4294967296 +' diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Max/vb/Max1.vb b/snippets/visualbasic/System.Numerics/BigInteger/Max/Max1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Max/vb/Max1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/Max/Max1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Min/vb/Min1.vb b/snippets/visualbasic/System.Numerics/BigInteger/Min/Min1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Min/vb/Min1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/Min/Min1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ModPow/vb/ModPow1.vb b/snippets/visualbasic/System.Numerics/BigInteger/ModPow/ModPow1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ModPow/vb/ModPow1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/ModPow/ModPow1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Parse/vb/Parse1.vb b/snippets/visualbasic/System.Numerics/BigInteger/Parse/Parse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Parse/vb/Parse1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/Parse/Parse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Parse/vb/ParseHex1.vb b/snippets/visualbasic/System.Numerics/BigInteger/Parse/ParseHex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Parse/vb/ParseHex1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/Parse/ParseHex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Parse/vb/System.Numeric.BigInteger.Parse.vb b/snippets/visualbasic/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Parse/vb/System.Numeric.BigInteger.Parse.vb rename to snippets/visualbasic/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Remainder/vb/Remainder1.vb b/snippets/visualbasic/System.Numerics/BigInteger/Remainder/Remainder1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Remainder/vb/Remainder1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/Remainder/Remainder1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ToByteArray/vb/ToByteArray1.vb b/snippets/visualbasic/System.Numerics/BigInteger/ToByteArray/ToByteArray1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ToByteArray/vb/ToByteArray1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/ToByteArray/ToByteArray1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.ToString/vb/System.Numeric.BigInteger.ToString.vb b/snippets/visualbasic/System.Numerics/BigInteger/ToString/System.Numeric.BigInteger.ToString.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.ToString/vb/System.Numeric.BigInteger.ToString.vb rename to snippets/visualbasic/System.Numerics/BigInteger/ToString/System.Numeric.BigInteger.ToString.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ToString/vb/ToString1.vb b/snippets/visualbasic/System.Numerics/BigInteger/ToString/ToString1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ToString/vb/ToString1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/ToString/ToString1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.TryParse/vb/System.Numeric.BigInteger.TryParse.vb b/snippets/visualbasic/System.Numerics/BigInteger/TryParse/System.Numeric.BigInteger.TryParse.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.TryParse/vb/System.Numeric.BigInteger.TryParse.vb rename to snippets/visualbasic/System.Numerics/BigInteger/TryParse/System.Numeric.BigInteger.TryParse.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.TryParse/vb/TryParse1.vb b/snippets/visualbasic/System.Numerics/BigInteger/TryParse/TryParse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.TryParse/vb/TryParse1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/TryParse/TryParse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.TryParse/vb/TryParseHex1.vb b/snippets/visualbasic/System.Numerics/BigInteger/TryParse/TryParseHex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.TryParse/vb/TryParseHex1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/TryParse/TryParseHex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb b/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Explicit/vb/Explicit1.vb b/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/Explicit1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Explicit/vb/Explicit1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/Explicit1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb b/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb rename to snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Implicit/vb/Implicit1.vb b/snippets/visualbasic/System.Numerics/BigInteger/op_Implicit/Implicit1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Implicit/vb/Implicit1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/op_Implicit/Implicit1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OnesComplement/vb/OnesComplement1.vb b/snippets/visualbasic/System.Numerics/BigInteger/op_OnesComplement/OnesComplement1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OnesComplement/vb/OnesComplement1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/op_OnesComplement/OnesComplement1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OnesComplement/vb/onescomplement2.vb b/snippets/visualbasic/System.Numerics/BigInteger/op_OnesComplement/onescomplement2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OnesComplement/vb/onescomplement2.vb rename to snippets/visualbasic/System.Numerics/BigInteger/op_OnesComplement/onescomplement2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.ctor/vb/ctor1.vb b/snippets/visualbasic/System.Numerics/Complex/.ctor/ctor1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.ctor/vb/ctor1.vb rename to snippets/visualbasic/System.Numerics/Complex/.ctor/ctor1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.acos/vb/acos1.vb b/snippets/visualbasic/System.Numerics/Complex/Acos/acos1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.acos/vb/acos1.vb rename to snippets/visualbasic/System.Numerics/Complex/Acos/acos1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.add/vb/add1.vb b/snippets/visualbasic/System.Numerics/Complex/Add/add1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.add/vb/add1.vb rename to snippets/visualbasic/System.Numerics/Complex/Add/add1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.add/vb/add2.vb b/snippets/visualbasic/System.Numerics/Complex/Add/add2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.add/vb/add2.vb rename to snippets/visualbasic/System.Numerics/Complex/Add/add2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.add/vb/add3.vb b/snippets/visualbasic/System.Numerics/Complex/Add/add3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.add/vb/add3.vb rename to snippets/visualbasic/System.Numerics/Complex/Add/add3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.asin/vb/asin1.vb b/snippets/visualbasic/System.Numerics/Complex/Asin/asin1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.asin/vb/asin1.vb rename to snippets/visualbasic/System.Numerics/Complex/Asin/asin1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.atan/vb/atan1.vb b/snippets/visualbasic/System.Numerics/Complex/Atan/atan1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.atan/vb/atan1.vb rename to snippets/visualbasic/System.Numerics/Complex/Atan/atan1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.conjugate/vb/conjugate1.vb b/snippets/visualbasic/System.Numerics/Complex/Conjugate/conjugate1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.conjugate/vb/conjugate1.vb rename to snippets/visualbasic/System.Numerics/Complex/Conjugate/conjugate1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.divide/vb/divide1.vb b/snippets/visualbasic/System.Numerics/Complex/Divide/divide1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.divide/vb/divide1.vb rename to snippets/visualbasic/System.Numerics/Complex/Divide/divide1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.divide/vb/divide2.vb b/snippets/visualbasic/System.Numerics/Complex/Divide/divide2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.divide/vb/divide2.vb rename to snippets/visualbasic/System.Numerics/Complex/Divide/divide2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/eqoperator1.vb b/snippets/visualbasic/System.Numerics/Complex/Equals/eqoperator1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/eqoperator1.vb rename to snippets/visualbasic/System.Numerics/Complex/Equals/eqoperator1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/equals1.vb b/snippets/visualbasic/System.Numerics/Complex/Equals/equals1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/equals1.vb rename to snippets/visualbasic/System.Numerics/Complex/Equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/equals3.vb b/snippets/visualbasic/System.Numerics/Complex/Equals/equals3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/equals3.vb rename to snippets/visualbasic/System.Numerics/Complex/Equals/equals3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/equals4.vb b/snippets/visualbasic/System.Numerics/Complex/Equals/equals4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/equals4.vb rename to snippets/visualbasic/System.Numerics/Complex/Equals/equals4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/precision1.vb b/snippets/visualbasic/System.Numerics/Complex/Equals/precision1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/precision1.vb rename to snippets/visualbasic/System.Numerics/Complex/Equals/precision1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/precision2.vb b/snippets/visualbasic/System.Numerics/Complex/Equals/precision2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/precision2.vb rename to snippets/visualbasic/System.Numerics/Complex/Equals/precision2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.log/vb/log1.vb b/snippets/visualbasic/System.Numerics/Complex/Exp/log1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.log/vb/log1.vb rename to snippets/visualbasic/System.Numerics/Complex/Exp/log1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.phase/vb/phase1.vb b/snippets/visualbasic/System.Numerics/Complex/FromPolarCoordinates/phase1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.phase/vb/phase1.vb rename to snippets/visualbasic/System.Numerics/Complex/FromPolarCoordinates/phase1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.real/vb/real1.vb b/snippets/visualbasic/System.Numerics/Complex/Imaginary/real1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.real/vb/real1.vb rename to snippets/visualbasic/System.Numerics/Complex/Imaginary/real1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.imaginaryone/vb/imaginaryone1.vb b/snippets/visualbasic/System.Numerics/Complex/ImaginaryOne/imaginaryone1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.imaginaryone/vb/imaginaryone1.vb rename to snippets/visualbasic/System.Numerics/Complex/ImaginaryOne/imaginaryone1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.multiply/vb/multiply1.vb b/snippets/visualbasic/System.Numerics/Complex/Multiply/multiply1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.multiply/vb/multiply1.vb rename to snippets/visualbasic/System.Numerics/Complex/Multiply/multiply1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.multiply/vb/multiply2.vb b/snippets/visualbasic/System.Numerics/Complex/Multiply/multiply2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.multiply/vb/multiply2.vb rename to snippets/visualbasic/System.Numerics/Complex/Multiply/multiply2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.negate/vb/negate1.vb b/snippets/visualbasic/System.Numerics/Complex/Negate/negate1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.negate/vb/negate1.vb rename to snippets/visualbasic/System.Numerics/Complex/Negate/negate1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.negate/vb/negate2.vb b/snippets/visualbasic/System.Numerics/Complex/Negate/negate2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.negate/vb/negate2.vb rename to snippets/visualbasic/System.Numerics/Complex/Negate/negate2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.one/vb/one1.vb b/snippets/visualbasic/System.Numerics/Complex/One/one1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.one/vb/one1.vb rename to snippets/visualbasic/System.Numerics/Complex/One/one1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.pow/vb/pow1.vb b/snippets/visualbasic/System.Numerics/Complex/Pow/pow1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.pow/vb/pow1.vb rename to snippets/visualbasic/System.Numerics/Complex/Pow/pow1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.reciprocal/vb/reciprocal1.vb b/snippets/visualbasic/System.Numerics/Complex/Reciprocal/reciprocal1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.reciprocal/vb/reciprocal1.vb rename to snippets/visualbasic/System.Numerics/Complex/Reciprocal/reciprocal1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.tostring/vb/tostring1.vb b/snippets/visualbasic/System.Numerics/Complex/ToString/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.tostring/vb/tostring1.vb rename to snippets/visualbasic/System.Numerics/Complex/ToString/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.tostring/vb/tostring2.vb b/snippets/visualbasic/System.Numerics/Complex/ToString/tostring2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.tostring/vb/tostring2.vb rename to snippets/visualbasic/System.Numerics/Complex/ToString/tostring2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.tostring/vb/tostring3.vb b/snippets/visualbasic/System.Numerics/Complex/ToString/tostring3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.tostring/vb/tostring3.vb rename to snippets/visualbasic/System.Numerics/Complex/ToString/tostring3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.tostring/vb/tostring4.vb b/snippets/visualbasic/System.Numerics/Complex/ToString/tostring4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.tostring/vb/tostring4.vb rename to snippets/visualbasic/System.Numerics/Complex/ToString/tostring4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.zero/vb/zero1.vb b/snippets/visualbasic/System.Numerics/Complex/Zero/zero1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.zero/vb/zero1.vb rename to snippets/visualbasic/System.Numerics/Complex/Zero/zero1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.explicit/vb/explicit1.vb b/snippets/visualbasic/System.Numerics/Complex/op_Explicit/explicit1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.explicit/vb/explicit1.vb rename to snippets/visualbasic/System.Numerics/Complex/op_Explicit/explicit1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb b/snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb rename to snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.inequality/vb/inequality1.vb b/snippets/visualbasic/System.Numerics/Complex/op_Inequality/inequality1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.inequality/vb/inequality1.vb rename to snippets/visualbasic/System.Numerics/Complex/op_Inequality/inequality1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.subtract/vb/subtract1.vb b/snippets/visualbasic/System.Numerics/Complex/op_Subtraction/subtract1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.subtract/vb/subtract1.vb rename to snippets/visualbasic/System.Numerics/Complex/op_Subtraction/subtract1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.subtract/vb/subtract2.vb b/snippets/visualbasic/System.Numerics/Complex/op_Subtraction/subtract2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.subtract/vb/subtract2.vb rename to snippets/visualbasic/System.Numerics/Complex/op_Subtraction/subtract2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.AddResourceFile Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/AddResourceFile/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.AddResourceFile Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/AddResourceFile/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.DefineDynamicModule Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineDynamicModule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.DefineDynamicModule Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineDynamicModule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder.DefineResource Example 2/VB/assemblybuilder_defineresource.vb b/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineResource/assemblybuilder_defineresource.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder.DefineResource Example 2/VB/assemblybuilder_defineresource.vb rename to snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineResource/assemblybuilder_defineresource.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder_DefineUnmanagedResource/VB/assemblybuilder_defineunmanagedresource.vb b/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineUnmanagedResource/assemblybuilder_defineunmanagedresource.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder_DefineUnmanagedResource/VB/assemblybuilder_defineunmanagedresource.vb rename to snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineUnmanagedResource/assemblybuilder_defineunmanagedresource.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder_DefineUnmanagedResource2/VB/assemblybuilder_defineunmanagedresource2.vb b/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineUnmanagedResource/assemblybuilder_defineunmanagedresource2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder_DefineUnmanagedResource2/VB/assemblybuilder_defineunmanagedresource2.vb rename to snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineUnmanagedResource/assemblybuilder_defineunmanagedresource2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder_DefineUnmanagedResource/VB/makefile b/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineUnmanagedResource/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder_DefineUnmanagedResource/VB/makefile rename to snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineUnmanagedResource/makefile diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder_DefineUnmanagedResource2/VB/makefile b/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineUnmanagedResource/makefile1 similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder_DefineUnmanagedResource2/VB/makefile rename to snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineUnmanagedResource/makefile1 diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilderClass/vb/24895.vb b/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/Overview/24895.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilderClass/vb/24895.vb rename to snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/Overview/24895.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.TcpClient/VB/Project.vbproj b/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/Overview/AssemblyBuilderClass.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.TcpClient/VB/Project.vbproj rename to snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/Overview/AssemblyBuilderClass.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.Save Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/Save/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.Save Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/Save/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder_SetCustomAttribute1/VB/assemblybuilder_setcustomattribute1.vb b/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/SetCustomAttribute/assemblybuilder_setcustomattribute1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder_SetCustomAttribute1/VB/assemblybuilder_setcustomattribute1.vb rename to snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/SetCustomAttribute/assemblybuilder_setcustomattribute1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder_SetCustomAttribute2/VB/assemblybuilder_setcustomattribute2.vb b/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/SetCustomAttribute/assemblybuilder_setcustomattribute2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder_SetCustomAttribute2/VB/assemblybuilder_setcustomattribute2.vb rename to snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/SetCustomAttribute/assemblybuilder_setcustomattribute2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_Attributes_4/VB/constructorbuilder_attributes_4.vb b/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/AddDeclarativeSecurity/constructorbuilder_attributes_4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_Attributes_4/VB/constructorbuilder_attributes_4.vb rename to snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/AddDeclarativeSecurity/constructorbuilder_attributes_4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.GetModule/VB/source3.vb b/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/GetModule/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.GetModule/VB/source3.vb rename to snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/GetModule/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_Name_5/VB/constructorbuilder_name_5.vb b/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/Name/constructorbuilder_name_5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_Name_5/VB/constructorbuilder_name_5.vb rename to snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/Name/constructorbuilder_name_5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ConstructorBuilder Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ConstructorBuilder Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_SetCustomAttribute1/VB/constructorbuilder_setcustomattribute1.vb b/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/SetCustomAttribute/constructorbuilder_setcustomattribute1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_SetCustomAttribute1/VB/constructorbuilder_setcustomattribute1.vb rename to snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/SetCustomAttribute/constructorbuilder_setcustomattribute1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_SetCustomAttribute2/VB/constructorbuilder_setcustomattribute2.vb b/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/SetCustomAttribute/constructorbuilder_setcustomattribute2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_SetCustomAttribute2/VB/constructorbuilder_setcustomattribute2.vb rename to snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/SetCustomAttribute/constructorbuilder_setcustomattribute2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_SetImplementationFlags/VB/constructorbuilder_setimplementationflags.vb b/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/SetImplementationFlags/constructorbuilder_setimplementationflags.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_SetImplementationFlags/VB/constructorbuilder_setimplementationflags.vb rename to snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/SetImplementationFlags/constructorbuilder_setimplementationflags.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_SetSymCustomAttribute/VB/constructorbuilder_setsymcustomattribute.vb b/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/SetSymCustomAttribute/constructorbuilder_setsymcustomattribute.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_SetSymCustomAttribute/VB/constructorbuilder_setsymcustomattribute.vb rename to snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/SetSymCustomAttribute/constructorbuilder_setsymcustomattribute.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.CustomAttributeBuilder Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/CustomAttributeBuilder/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.CustomAttributeBuilder Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/CustomAttributeBuilder/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.ClosedOver/vb/source.vb b/snippets/visualbasic/System.Reflection.Emit/DynamicMethod/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.ClosedOver/vb/source.vb rename to snippets/visualbasic/System.Reflection.Emit/DynamicMethod/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.ctor1/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/DynamicMethod/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.ctor1/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/DynamicMethod/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.All/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/DynamicMethod/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.All/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/DynamicMethod/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/EnumBuilder_Properties_5/VB/enumbuilder_properties_5.vb b/snippets/visualbasic/System.Reflection.Emit/EnumBuilder/Assembly/enumbuilder_properties_5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/EnumBuilder_Properties_5/VB/enumbuilder_properties_5.vb rename to snippets/visualbasic/System.Reflection.Emit/EnumBuilder/Assembly/enumbuilder_properties_5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/EnumBuilder_Properties_4.cs/VB/enumbuilder_properties_4.vb b/snippets/visualbasic/System.Reflection.Emit/EnumBuilder/GUID/enumbuilder_properties_4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/EnumBuilder_Properties_4.cs/VB/enumbuilder_properties_4.vb rename to snippets/visualbasic/System.Reflection.Emit/EnumBuilder/GUID/enumbuilder_properties_4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/EnumBuilder_SetCustomAttribute1/VB/enumbuilder_setcustomattribute1.vb b/snippets/visualbasic/System.Reflection.Emit/EnumBuilder/GetCustomAttributes/enumbuilder_setcustomattribute1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/EnumBuilder_SetCustomAttribute1/VB/enumbuilder_setcustomattribute1.vb rename to snippets/visualbasic/System.Reflection.Emit/EnumBuilder/GetCustomAttributes/enumbuilder_setcustomattribute1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/EnumBuilder_SetCustomAttribute2/VB/enumbuilder_setcustomattribute2.vb b/snippets/visualbasic/System.Reflection.Emit/EnumBuilder/GetCustomAttributes/enumbuilder_setcustomattribute2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/EnumBuilder_SetCustomAttribute2/VB/enumbuilder_setcustomattribute2.vb rename to snippets/visualbasic/System.Reflection.Emit/EnumBuilder/GetCustomAttributes/enumbuilder_setcustomattribute2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefineEnum/VB/modulebuilder_defineenum.vb b/snippets/visualbasic/System.Reflection.Emit/EnumBuilder/Overview/modulebuilder_defineenum.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefineEnum/VB/modulebuilder_defineenum.vb rename to snippets/visualbasic/System.Reflection.Emit/EnumBuilder/Overview/modulebuilder_defineenum.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FieldBuilder_ReflectedType/VB/fieldbuilder_reflectedtype.vb b/snippets/visualbasic/System.Reflection.Emit/FieldBuilder/Attributes/fieldbuilder_reflectedtype.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FieldBuilder_ReflectedType/VB/fieldbuilder_reflectedtype.vb rename to snippets/visualbasic/System.Reflection.Emit/FieldBuilder/Attributes/fieldbuilder_reflectedtype.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FieldBuilder_Class_Name/FieldBuilder.vb b/snippets/visualbasic/System.Reflection.Emit/FieldBuilder/Overview/FieldBuilder.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FieldBuilder_Class_Name/FieldBuilder.vb rename to snippets/visualbasic/System.Reflection.Emit/FieldBuilder/Overview/FieldBuilder.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FieldBuilder_Class_Name/FieldBuilder.vbproj b/snippets/visualbasic/System.Reflection.Emit/FieldBuilder/Overview/FieldBuilder.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FieldBuilder_Class_Name/FieldBuilder.vbproj rename to snippets/visualbasic/System.Reflection.Emit/FieldBuilder/Overview/FieldBuilder.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR/FieldBuilder_SetCustomAttributes/VB/fieldbuilder_setcustomattributes.vb b/snippets/visualbasic/System.Reflection.Emit/FieldBuilder/SetCustomAttribute/fieldbuilder_setcustomattributes.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FieldBuilder_SetCustomAttributes/VB/fieldbuilder_setcustomattributes.vb rename to snippets/visualbasic/System.Reflection.Emit/FieldBuilder/SetCustomAttribute/fieldbuilder_setcustomattributes.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FieldBuilder_SetOffset/VB/fieldbuilder_setoffset.vb b/snippets/visualbasic/System.Reflection.Emit/FieldBuilder/SetMarshal/fieldbuilder_setoffset.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FieldBuilder_SetOffset/VB/fieldbuilder_setoffset.vb rename to snippets/visualbasic/System.Reflection.Emit/FieldBuilder/SetMarshal/fieldbuilder_setoffset.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/MakeXxxGenericTypeParameterBuilder/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/GenericTypeParameterBuilder/MakeArrayType/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/MakeXxxGenericTypeParameterBuilder/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/GenericTypeParameterBuilder/MakeArrayType/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/EmitGenericType/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/GenericTypeParameterBuilder/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/EmitGenericType/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/GenericTypeParameterBuilder/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.ThrowException Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/ILGenerator/BeginCatchBlock/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.ThrowException Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/ILGenerator/BeginCatchBlock/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ILGenerator_BeginFaultBlock/VB/ilgenerator_beginfaultblock.vb b/snippets/visualbasic/System.Reflection.Emit/ILGenerator/BeginFaultBlock/ilgenerator_beginfaultblock.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ILGenerator_BeginFaultBlock/VB/ilgenerator_beginfaultblock.vb rename to snippets/visualbasic/System.Reflection.Emit/ILGenerator/BeginFaultBlock/ilgenerator_beginfaultblock.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ILGenerator_BeginFinallyBlock_2/VB/ilgenerator_beginfinallyblock_2.vb b/snippets/visualbasic/System.Reflection.Emit/ILGenerator/BeginFinallyBlock/ilgenerator_beginfinallyblock_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ILGenerator_BeginFinallyBlock_2/VB/ilgenerator_beginfinallyblock_2.vb rename to snippets/visualbasic/System.Reflection.Emit/ILGenerator/BeginFinallyBlock/ilgenerator_beginfinallyblock_2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ILGenerator_Begin_EndScope/VB/ilgenerator_begin_endscope.vb b/snippets/visualbasic/System.Reflection.Emit/ILGenerator/BeginScope/ilgenerator_begin_endscope.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ILGenerator_Begin_EndScope/VB/ilgenerator_begin_endscope.vb rename to snippets/visualbasic/System.Reflection.Emit/ILGenerator/BeginScope/ilgenerator_begin_endscope.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/LocalBuilder_Sample_SetLocalSymInfo/VB/localbuilder_sample_4.vb b/snippets/visualbasic/System.Reflection.Emit/ILGenerator/DeclareLocal/localbuilder_sample_4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/LocalBuilder_Sample_SetLocalSymInfo/VB/localbuilder_sample_4.vb rename to snippets/visualbasic/System.Reflection.Emit/ILGenerator/DeclareLocal/localbuilder_sample_4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.Label Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/ILGenerator/DefineLabel/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.Label Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/ILGenerator/DefineLabel/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.Emit Example 2/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/ILGenerator/Emit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.Emit Example 2/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/ILGenerator/Emit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.EmitCalli Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/ILGenerator/EmitCalli/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.EmitCalli Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/ILGenerator/EmitCalli/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.OpCodes Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/ILGenerator/EmitWriteLine/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.OpCodes Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/ILGenerator/EmitWriteLine/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.AddDeclarativeSecurity Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/AddDeclarativeSecurity/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.AddDeclarativeSecurity Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/MethodBuilder/AddDeclarativeSecurity/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Refelction.Emit.MethodBuilder.CreateMethodBody Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/CreateMethodBody/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Refelction.Emit.MethodBuilder.CreateMethodBody Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/MethodBuilder/CreateMethodBody/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/MethodBuilderClass_TypeSample/VB/methodbuilderclass.vb b/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/DeclaringType/methodbuilderclass.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/MethodBuilderClass_TypeSample/VB/methodbuilderclass.vb rename to snippets/visualbasic/System.Reflection.Emit/MethodBuilder/DeclaringType/methodbuilderclass.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/GenericMethodBuilder/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/DefineGenericParameters/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/GenericMethodBuilder/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/MethodBuilder/DefineGenericParameters/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit ILGenerator Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/GetILGenerator/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit ILGenerator Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/MethodBuilder/GetILGenerator/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.GetParameters Example/VB/source4.vb b/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/GetParameters/source4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.GetParameters Example/VB/source4.vb rename to snippets/visualbasic/System.Reflection.Emit/MethodBuilder/GetParameters/source4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/MethodBuilder.MakeGenericMethod/vb/source.vb b/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/MakeGenericMethod/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/MethodBuilder.MakeGenericMethod/vb/source.vb rename to snippets/visualbasic/System.Reflection.Emit/MethodBuilder/MakeGenericMethod/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/MethodBuilder/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.SetImplementationFlags Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetImplementationFlags/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.SetImplementationFlags Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetImplementationFlags/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.SetMarshal Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetMarshal/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.SetMarshal Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetMarshal/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder.GetField_Generic/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetSignature/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TypeBuilder.GetField_Generic/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetSignature/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.SetSymCustomAttribute Example/VB/source2.vb b/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetSymCustomAttribute/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.SetSymCustomAttribute Example/VB/source2.vb rename to snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetSymCustomAttribute/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_CreateGlobalFunctions/VB/modulebuilder_createglobalfunctions.vb b/snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/CreateGlobalFunctions/modulebuilder_createglobalfunctions.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_CreateGlobalFunctions/VB/modulebuilder_createglobalfunctions.vb rename to snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/CreateGlobalFunctions/modulebuilder_createglobalfunctions.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefineInitializedData/VB/modulebuilder_defineinitializeddata.vb b/snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/DefineInitializedData/modulebuilder_defineinitializeddata.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefineInitializedData/VB/modulebuilder_defineinitializeddata.vb rename to snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/DefineInitializedData/modulebuilder_defineinitializeddata.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DefineManifestResource/vb/source.vb b/snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/DefineManifestResource/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DefineManifestResource/vb/source.vb rename to snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/DefineManifestResource/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefinePInvokeMethod1/VB/modulebuilder_definepinvokemethod1.vb b/snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/DefinePInvokeMethod/modulebuilder_definepinvokemethod1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefinePInvokeMethod1/VB/modulebuilder_definepinvokemethod1.vb rename to snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/DefinePInvokeMethod/modulebuilder_definepinvokemethod1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefineResource1/VB/modulebuilder_defineresource1.vb b/snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/DefineResource/modulebuilder_defineresource1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefineResource1/VB/modulebuilder_defineresource1.vb rename to snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/DefineResource/modulebuilder_defineresource1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefineResource2/VB/modulebuilder_defineresource2.vb b/snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/DefineResource/modulebuilder_defineresource2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefineResource2/VB/modulebuilder_defineresource2.vb rename to snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/DefineResource/modulebuilder_defineresource2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_GetArrayMethod/VB/modulebuilder_getarraymethod.vb b/snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/GetArrayMethod/modulebuilder_getarraymethod.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_GetArrayMethod/VB/modulebuilder_getarraymethod.vb rename to snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/GetArrayMethod/modulebuilder_getarraymethod.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_Class/VB/modulebuilder.vb b/snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/Overview/modulebuilder.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_Class/VB/modulebuilder.vb rename to snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/Overview/modulebuilder.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.emit.opcode.value/vb/value1.vb b/snippets/visualbasic/System.Reflection.Emit/OpCode/Value/value1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.emit.opcode.value/vb/value1.vb rename to snippets/visualbasic/System.Reflection.Emit/OpCode/Value/value1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.OpCodes.TakesSingleByteArgument Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/OpCodes/TakesSingleByteArgument/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.OpCodes.TakesSingleByteArgument Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/OpCodes/TakesSingleByteArgument/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ParameterBuilder Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/ParameterBuilder/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ParameterBuilder Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/ParameterBuilder/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.PropertyBuilder Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/PropertyBuilder/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.PropertyBuilder Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/PropertyBuilder/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/PropertyBuilder_SetGetMethod_4/VB/propertybuilder_setgetmethod_4.vb b/snippets/visualbasic/System.Reflection.Emit/PropertyBuilder/SetGetMethod/propertybuilder_setgetmethod_4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/PropertyBuilder_SetGetMethod_4/VB/propertybuilder_setgetmethod_4.vb rename to snippets/visualbasic/System.Reflection.Emit/PropertyBuilder/SetGetMethod/propertybuilder_setgetmethod_4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_AddDeclarativeSecurity/VB/typebuilder_adddeclarativesecurity.vb b/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/AddDeclarativeSecurity/typebuilder_adddeclarativesecurity.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_AddDeclarativeSecurity/VB/typebuilder_adddeclarativesecurity.vb rename to snippets/visualbasic/System.Reflection.Emit/TypeBuilder/AddDeclarativeSecurity/typebuilder_adddeclarativesecurity.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_Sample_4/VB/typebuilder_sample_4.vb b/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/AddInterfaceImplementation/typebuilder_sample_4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_Sample_4/VB/typebuilder_sample_4.vb rename to snippets/visualbasic/System.Reflection.Emit/TypeBuilder/AddInterfaceImplementation/typebuilder_sample_4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.TypeBuilder.CreateType Example/VB/nestedenum.vb b/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/CreateType/nestedenum.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.TypeBuilder.CreateType Example/VB/nestedenum.vb rename to snippets/visualbasic/System.Reflection.Emit/TypeBuilder/CreateType/nestedenum.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_DefineNestedType1/VB/typebuilder_definenestedtype1.vb b/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/DefineMethod/typebuilder_definenestedtype1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_DefineNestedType1/VB/typebuilder_definenestedtype1.vb rename to snippets/visualbasic/System.Reflection.Emit/TypeBuilder/DefineMethod/typebuilder_definenestedtype1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder.DefineMethodOverride/vb/source.vb b/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/DefineMethodOverride/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TypeBuilder.DefineMethodOverride/vb/source.vb rename to snippets/visualbasic/System.Reflection.Emit/TypeBuilder/DefineMethodOverride/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_DefinePInvokeMethod_Fix/VB/100656_fix.vb b/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/DefinePInvokeMethod/100656_fix.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_DefinePInvokeMethod_Fix/VB/100656_fix.vb rename to snippets/visualbasic/System.Reflection.Emit/TypeBuilder/DefinePInvokeMethod/100656_fix.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_Properties1/VB/typebuilder_properties.vb b/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/DefineTypeInitializer/typebuilder_properties.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_Properties1/VB/typebuilder_properties.vb rename to snippets/visualbasic/System.Reflection.Emit/TypeBuilder/DefineTypeInitializer/typebuilder_properties.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_DefineUninitializedData/VB/typebuilder_defineuninitializeddata.vb b/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/DefineUninitializedData/typebuilder_defineuninitializeddata.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_DefineUninitializedData/VB/typebuilder_defineuninitializeddata.vb rename to snippets/visualbasic/System.Reflection.Emit/TypeBuilder/DefineUninitializedData/typebuilder_defineuninitializeddata.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/MakeXxxTypeBuilder/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/MakeArrayType/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/MakeXxxTypeBuilder/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/TypeBuilder/MakeArrayType/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.emit.typebuilder.makegenerictype/vb/remarks.vb b/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/MakeGenericType/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.emit.typebuilder.makegenerictype/vb/remarks.vb rename to snippets/visualbasic/System.Reflection.Emit/TypeBuilder/MakeGenericType/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/GetAssembly1.vb b/snippets/visualbasic/System.Reflection/Assembly/CodeBase/GetAssembly1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/GetAssembly1.vb rename to snippets/visualbasic/System.Reflection/Assembly/CodeBase/GetAssembly1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/assembly.vb b/snippets/visualbasic/System.Reflection/Assembly/CodeBase/assembly.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/assembly.vb rename to snippets/visualbasic/System.Reflection/Assembly/CodeBase/assembly.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/codebase1.vb b/snippets/visualbasic/System.Reflection/Assembly/CodeBase/codebase1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/codebase1.vb rename to snippets/visualbasic/System.Reflection/Assembly/CodeBase/codebase1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/getcallingassembly1.vb b/snippets/visualbasic/System.Reflection/Assembly/CodeBase/getcallingassembly1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/getcallingassembly1.vb rename to snippets/visualbasic/System.Reflection/Assembly/CodeBase/getcallingassembly1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.createinstance/vb/createinstance1.vb b/snippets/visualbasic/System.Reflection/Assembly/CreateInstance/createinstance1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.createinstance/vb/createinstance1.vb rename to snippets/visualbasic/System.Reflection/Assembly/CreateInstance/createinstance1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.createinstance/vb/createinstance2.vb b/snippets/visualbasic/System.Reflection/Assembly/CreateInstance/createinstance2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.createinstance/vb/createinstance2.vb rename to snippets/visualbasic/System.Reflection/Assembly/CreateInstance/createinstance2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Assembly.FullName/VB/Example.vb b/snippets/visualbasic/System.Reflection/Assembly/FullName/Example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Assembly.FullName/VB/Example.vb rename to snippets/visualbasic/System.Reflection/Assembly/FullName/Example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.getexecutingassembly/vb/assembly1.vb b/snippets/visualbasic/System.Reflection/Assembly/GetExecutingAssembly/assembly1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.getexecutingassembly/vb/assembly1.vb rename to snippets/visualbasic/System.Reflection/Assembly/GetExecutingAssembly/assembly1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.getexecutingassembly/vb/getexecutingassembly1.vb b/snippets/visualbasic/System.Reflection/Assembly/GetExecutingAssembly/getexecutingassembly1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.getexecutingassembly/vb/getexecutingassembly1.vb rename to snippets/visualbasic/System.Reflection/Assembly/GetExecutingAssembly/getexecutingassembly1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Assembly.GetExportedTypes/VB/source.vb b/snippets/visualbasic/System.Reflection/Assembly/GetExportedTypes/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Assembly.GetExportedTypes/VB/source.vb rename to snippets/visualbasic/System.Reflection/Assembly/GetExportedTypes/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Reflection/VB/Reflection.vb b/snippets/visualbasic/System.Reflection/Assembly/GetReferencedAssemblies/Reflection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Reflection/VB/Reflection.vb rename to snippets/visualbasic/System.Reflection/Assembly/GetReferencedAssemblies/Reflection.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.gettype/vb/gettype1.vb b/snippets/visualbasic/System.Reflection/Assembly/GetType/gettype1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.gettype/vb/gettype1.vb rename to snippets/visualbasic/System.Reflection/Assembly/GetType/gettype1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.isdefined/VB/isdefined.vb b/snippets/visualbasic/System.Reflection/Assembly/IsDefined/isdefined.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.isdefined/VB/isdefined.vb rename to snippets/visualbasic/System.Reflection/Assembly/IsDefined/isdefined.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.load/vb/Load2.vb b/snippets/visualbasic/System.Reflection/Assembly/Load/Load21.vb similarity index 99% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.load/vb/Load2.vb rename to snippets/visualbasic/System.Reflection/Assembly/Load/Load21.vb index 9393900f39b..2aef0f7dae9 100644 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.load/vb/Load2.vb +++ b/snippets/visualbasic/System.Reflection/Assembly/Load/Load21.vb @@ -16,6 +16,7 @@ Module Example Next End Sub End Module + ' The example displays the following output: ' Public types in assembly sysglobl, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a: ' System.Globalization.CultureAndRegionInfoBuilder diff --git a/snippets/visualbasic/VS_Snippets_CLR/Assembly.Load1/VB/load1.vb b/snippets/visualbasic/System.Reflection/Assembly/Load/load1.vb similarity index 84% rename from snippets/visualbasic/VS_Snippets_CLR/Assembly.Load1/VB/load1.vb rename to snippets/visualbasic/System.Reflection/Assembly/Load/load1.vb index 8d91244aceb..b1db9089ce4 100644 --- a/snippets/visualbasic/VS_Snippets_CLR/Assembly.Load1/VB/load1.vb +++ b/snippets/visualbasic/System.Reflection/Assembly/Load/load1.vb @@ -3,7 +3,7 @@ Imports System.Reflection Class Class1 Public Shared Sub Main() - ' You must supply a valid fully qualified assembly name. + ' You must supply a valid fully qualified assembly name. Dim SampleAssembly As [Assembly] = _ [Assembly].Load("SampleAssembly, Version=1.0.2004.0, Culture=neutral, PublicKeyToken=8744b20f8da049e3") Dim oType As Type @@ -13,4 +13,4 @@ Class Class1 Next oType End Sub 'LoadSample End Class -' \ No newline at end of file +' diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.load/vb/load1.vb b/snippets/visualbasic/System.Reflection/Assembly/Load/load11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.load/vb/load1.vb rename to snippets/visualbasic/System.Reflection/Assembly/Load/load11.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyClass/vb/source.vb b/snippets/visualbasic/System.Reflection/Assembly/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyClass/vb/source.vb rename to snippets/visualbasic/System.Reflection/Assembly/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder_DefineVersionInfoResource/VB/assemblybuilder_defineversioninforesource.vb b/snippets/visualbasic/System.Reflection/AssemblyCompanyAttribute/Overview/assemblybuilder_defineversioninforesource.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder_DefineVersionInfoResource/VB/assemblybuilder_defineversioninforesource.vb rename to snippets/visualbasic/System.Reflection/AssemblyCompanyAttribute/Overview/assemblybuilder_defineversioninforesource.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyDelaySignAttribute/vb/makefile b/snippets/visualbasic/System.Reflection/AssemblyDelaySignAttribute/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyDelaySignAttribute/vb/makefile rename to snippets/visualbasic/System.Reflection/AssemblyDelaySignAttribute/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyDelaySignAttribute/vb/source.vb b/snippets/visualbasic/System.Reflection/AssemblyDelaySignAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyDelaySignAttribute/vb/source.vb rename to snippets/visualbasic/System.Reflection/AssemblyDelaySignAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assemblydescriptionattribute/VB/DescrAttr.vb b/snippets/visualbasic/System.Reflection/AssemblyDescriptionAttribute/Overview/DescrAttr.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assemblydescriptionattribute/VB/DescrAttr.vb rename to snippets/visualbasic/System.Reflection/AssemblyDescriptionAttribute/Overview/DescrAttr.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyFlagsAttribute/VB/source.vb b/snippets/visualbasic/System.Reflection/AssemblyFlagsAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyFlagsAttribute/VB/source.vb rename to snippets/visualbasic/System.Reflection/AssemblyFlagsAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyName_Constructor/VB/assemblyname_constructor.vb b/snippets/visualbasic/System.Reflection/AssemblyName/.ctor/assemblyname_constructor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyName_Constructor/VB/assemblyname_constructor.vb rename to snippets/visualbasic/System.Reflection/AssemblyName/.ctor/assemblyname_constructor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyName_Constructor_2/VB/source.vb b/snippets/visualbasic/System.Reflection/AssemblyName/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyName_Constructor_2/VB/source.vb rename to snippets/visualbasic/System.Reflection/AssemblyName/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyName_CodeBase/VB/assemblyname_codebase.vb b/snippets/visualbasic/System.Reflection/AssemblyName/CodeBase/assemblyname_codebase.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyName_CodeBase/VB/assemblyname_codebase.vb rename to snippets/visualbasic/System.Reflection/AssemblyName/CodeBase/assemblyname_codebase.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyName_KeyPair/VB/assemblyname_keypair.vb b/snippets/visualbasic/System.Reflection/AssemblyName/Flags/assemblyname_keypair.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyName_KeyPair/VB/assemblyname_keypair.vb rename to snippets/visualbasic/System.Reflection/AssemblyName/Flags/assemblyname_keypair.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyName_KeyPair/VB/makefile b/snippets/visualbasic/System.Reflection/AssemblyName/Flags/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyName_KeyPair/VB/makefile rename to snippets/visualbasic/System.Reflection/AssemblyName/Flags/makefile diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyName_GetAssemblyName/VB/assemblyname_getassemblyname.vb b/snippets/visualbasic/System.Reflection/AssemblyName/GetAssemblyName/assemblyname_getassemblyname.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyName_GetAssemblyName/VB/assemblyname_getassemblyname.vb rename to snippets/visualbasic/System.Reflection/AssemblyName/GetAssemblyName/assemblyname_getassemblyname.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyName_SetPublicKey/VB/assemblyname_setpublickey.vb b/snippets/visualbasic/System.Reflection/AssemblyName/SetPublicKey/assemblyname_setpublickey.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyName_SetPublicKey/VB/assemblyname_setpublickey.vb rename to snippets/visualbasic/System.Reflection/AssemblyName/SetPublicKey/assemblyname_setpublickey.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyName.Version/vb/Example.vb b/snippets/visualbasic/System.Reflection/AssemblyName/Version/Example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyName.Version/vb/Example.vb rename to snippets/visualbasic/System.Reflection/AssemblyName/Version/Example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Binder_1/VB/binder.vb b/snippets/visualbasic/System.Reflection/Binder/Overview/binder.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Binder_1/VB/binder.vb rename to snippets/visualbasic/System.Reflection/Binder/Overview/binder.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/BindingFlags/VB/bindingflagssample.vb b/snippets/visualbasic/System.Reflection/BindingFlags/Overview/bindingflagssample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/BindingFlags/VB/bindingflagssample.vb rename to snippets/visualbasic/System.Reflection/BindingFlags/Overview/bindingflagssample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CustomAttributeData/VB/source.vb b/snippets/visualbasic/System.Reflection/CustomAttributeData/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CustomAttributeData/VB/source.vb rename to snippets/visualbasic/System.Reflection/CustomAttributeData/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_GetEvents1/VB/typebuilder_getevents1.vb b/snippets/visualbasic/System.Reflection/EventAttributes/Overview/typebuilder_getevents1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_GetEvents1/VB/typebuilder_getevents1.vb rename to snippets/visualbasic/System.Reflection/EventAttributes/Overview/typebuilder_getevents1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddEventHandler/vb/source.vb b/snippets/visualbasic/System.Reflection/EventInfo/AddEventHandler/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddEventHandler/vb/source.vb rename to snippets/visualbasic/System.Reflection/EventInfo/AddEventHandler/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddEventHandler/vb/vb.vbproj b/snippets/visualbasic/System.Reflection/EventInfo/AddEventHandler/vb.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddEventHandler/vb/vb.vbproj rename to snippets/visualbasic/System.Reflection/EventInfo/AddEventHandler/vb.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR/EventArg/VB/eventarg.vb b/snippets/visualbasic/System.Reflection/EventInfo/EventHandlerType/eventarg.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/EventArg/VB/eventarg.vb rename to snippets/visualbasic/System.Reflection/EventInfo/EventHandlerType/eventarg.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb b/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb rename to snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.fieldattributes/vb/remarks.vb b/snippets/visualbasic/System.Reflection/FieldAttributes/Overview/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.fieldattributes/vb/remarks.vb rename to snippets/visualbasic/System.Reflection/FieldAttributes/Overview/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FieldInfo_FieldHandle/VB/fieldinfo_fieldhandle.vb b/snippets/visualbasic/System.Reflection/FieldInfo/FieldHandle/fieldinfo_fieldhandle.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FieldInfo_FieldHandle/VB/fieldinfo_fieldhandle.vb rename to snippets/visualbasic/System.Reflection/FieldInfo/FieldHandle/fieldinfo_fieldhandle.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FieldInfo_GetFieldFromHandle/VB/fieldinfo_getfieldfromhandle.vb b/snippets/visualbasic/System.Reflection/FieldInfo/GetFieldFromHandle/fieldinfo_getfieldfromhandle.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FieldInfo_GetFieldFromHandle/VB/fieldinfo_getfieldfromhandle.vb rename to snippets/visualbasic/System.Reflection/FieldInfo/GetFieldFromHandle/fieldinfo_getfieldfromhandle.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FieldInfo_GetFieldFromHandle2/vb/source.vb b/snippets/visualbasic/System.Reflection/FieldInfo/GetFieldFromHandle/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FieldInfo_GetFieldFromHandle2/vb/source.vb rename to snippets/visualbasic/System.Reflection/FieldInfo/GetFieldFromHandle/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FieldInfo_GetValue/VB/fieldinfo_getvalue.vb b/snippets/visualbasic/System.Reflection/FieldInfo/GetValue/fieldinfo_getvalue.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FieldInfo_GetValue/VB/fieldinfo_getvalue.vb rename to snippets/visualbasic/System.Reflection/FieldInfo/GetValue/fieldinfo_getvalue.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/GetFldVal/VB/getfldval.vb b/snippets/visualbasic/System.Reflection/FieldInfo/GetValue/getfldval.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/GetFldVal/VB/getfldval.vb rename to snippets/visualbasic/System.Reflection/FieldInfo/GetValue/getfldval.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FieldInfo_IsNotSerialized/VB/fieldinfo_isnotserialized.vb b/snippets/visualbasic/System.Reflection/FieldInfo/IsNotSerialized/fieldinfo_isnotserialized.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FieldInfo_IsNotSerialized/VB/fieldinfo_isnotserialized.vb rename to snippets/visualbasic/System.Reflection/FieldInfo/IsNotSerialized/fieldinfo_isnotserialized.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FieldInfo_IsPInvokeImpl/VB/fieldinfo_ispinvokeimpl.vb b/snippets/visualbasic/System.Reflection/FieldInfo/IsPinvokeImpl/fieldinfo_ispinvokeimpl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FieldInfo_IsPInvokeImpl/VB/fieldinfo_ispinvokeimpl.vb rename to snippets/visualbasic/System.Reflection/FieldInfo/IsPinvokeImpl/fieldinfo_ispinvokeimpl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FieldInfo_IsPrivate/VB/fieldinfo_isprivate.vb b/snippets/visualbasic/System.Reflection/FieldInfo/IsPrivate/fieldinfo_isprivate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FieldInfo_IsPrivate/VB/fieldinfo_isprivate.vb rename to snippets/visualbasic/System.Reflection/FieldInfo/IsPrivate/fieldinfo_isprivate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FieldInfo/VB/fieldinfo.vb b/snippets/visualbasic/System.Reflection/FieldInfo/Overview/fieldinfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FieldInfo/VB/fieldinfo.vb rename to snippets/visualbasic/System.Reflection/FieldInfo/Overview/fieldinfo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FieldInfo_SetValue/VB/fieldinfo_setvalue.vb b/snippets/visualbasic/System.Reflection/FieldInfo/SetValue/fieldinfo_setvalue.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FieldInfo_SetValue/VB/fieldinfo_setvalue.vb rename to snippets/visualbasic/System.Reflection/FieldInfo/SetValue/fieldinfo_setvalue.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Reflection.MemberInfo.GetCustomAttributes/vb/GetCustomAttributes1.vb b/snippets/visualbasic/System.Reflection/MemberInfo/GetCustomAttributes/GetCustomAttributes1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Reflection.MemberInfo.GetCustomAttributes/vb/GetCustomAttributes1.vb rename to snippets/visualbasic/System.Reflection/MemberInfo/GetCustomAttributes/GetCustomAttributes1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/MemberInfo_GetCustomAttributes1/VB/memberinfo_getcustomattributes1.vb b/snippets/visualbasic/System.Reflection/MemberInfo/GetCustomAttributes/memberinfo_getcustomattributes1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/MemberInfo_GetCustomAttributes1/VB/memberinfo_getcustomattributes1.vb rename to snippets/visualbasic/System.Reflection/MemberInfo/GetCustomAttributes/memberinfo_getcustomattributes1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/MemberInfo_GetCustomAttribute_IsDefined/VB/memberinfo_getcustomattribute_isdefined.vb b/snippets/visualbasic/System.Reflection/MemberInfo/IsDefined/memberinfo_getcustomattribute_isdefined.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/MemberInfo_GetCustomAttribute_IsDefined/VB/memberinfo_getcustomattribute_isdefined.vb rename to snippets/visualbasic/System.Reflection/MemberInfo/IsDefined/memberinfo_getcustomattribute_isdefined.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.MemberInfo.Module/VB/source.vb b/snippets/visualbasic/System.Reflection/MemberInfo/Module/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.MemberInfo.Module/VB/source.vb rename to snippets/visualbasic/System.Reflection/MemberInfo/Module/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Reflection.MemberTypes/vb/source.vb b/snippets/visualbasic/System.Reflection/MemberTypes/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Reflection.MemberTypes/vb/source.vb rename to snippets/visualbasic/System.Reflection/MemberTypes/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Reflection.MethodBase.GetCurrentMethod/vb/GetCurentMethod1.vb b/snippets/visualbasic/System.Reflection/MethodBase/GetCurrentMethod/GetCurentMethod1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Reflection.MethodBase.GetCurrentMethod/vb/GetCurentMethod1.vb rename to snippets/visualbasic/System.Reflection/MethodBase/GetCurrentMethod/GetCurentMethod1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_GetModule_4/VB/constructorbuilder_getmodule_4.vb b/snippets/visualbasic/System.Reflection/MethodBase/GetMethodImplementationFlags/constructorbuilder_getmodule_4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_GetModule_4/VB/constructorbuilder_getmodule_4.vb rename to snippets/visualbasic/System.Reflection/MethodBase/GetMethodImplementationFlags/constructorbuilder_getmodule_4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.MethodBase.IsHideBySig/VB/hide.vb b/snippets/visualbasic/System.Reflection/MethodBase/IsHideBySig/hide.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.MethodBase.IsHideBySig/VB/hide.vb rename to snippets/visualbasic/System.Reflection/MethodBase/IsHideBySig/hide.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.methodinfo.getbasedefinition/vb/IsOverride1.vb b/snippets/visualbasic/System.Reflection/MethodBase/IsVirtual/IsOverride1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.methodinfo.getbasedefinition/vb/IsOverride1.vb rename to snippets/visualbasic/System.Reflection/MethodBase/IsVirtual/IsOverride1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.methodinfo.getbasedefinition/vb/getbasedefinition1.vb b/snippets/visualbasic/System.Reflection/MethodBase/IsVirtual/getbasedefinition1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.methodinfo.getbasedefinition/vb/getbasedefinition1.vb rename to snippets/visualbasic/System.Reflection/MethodBase/IsVirtual/getbasedefinition1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Reflection.Missing/vb/Missing1.vb b/snippets/visualbasic/System.Reflection/Missing/Overview/Missing1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Reflection.Missing/vb/Missing1.vb rename to snippets/visualbasic/System.Reflection/Missing/Overview/Missing1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.Assembly Example/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/Assembly/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.Assembly Example/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/Assembly/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.FilterTypeName Example/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/FilterTypeName/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.FilterTypeName Example/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/FilterTypeName/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.FilterTypeNameIgnoreCase Example/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/FilterTypeNameIgnoreCase/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.FilterTypeNameIgnoreCase Example/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/FilterTypeNameIgnoreCase/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.FullyQualifiedName/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/FullyQualifiedName/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.FullyQualifiedName/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/FullyQualifiedName/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetCustomAttributes 1Arg Example/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/GetCustomAttributes/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetCustomAttributes 1Arg Example/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/GetCustomAttributes/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetCustomAttributes 2Arg Example/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/GetCustomAttributes/class11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetCustomAttributes 2Arg Example/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/GetCustomAttributes/class11.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetType 1Arg Example/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/GetType/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetType 1Arg Example/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/GetType/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetType 2Arg Example/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/GetType/class11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetType 2Arg Example/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/GetType/class11.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetType 3Arg Example/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/GetType/class12.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetType 3Arg Example/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/GetType/class12.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.IsDefined Example/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/IsDefined/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.IsDefined Example/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/IsDefined/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.IsResource Example/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/IsResource/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.IsResource Example/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/IsResource/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module/VB/source.vb b/snippets/visualbasic/System.Reflection/Module/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module/VB/source.vb rename to snippets/visualbasic/System.Reflection/Module/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Module.MethodResolve/vb/source.vb b/snippets/visualbasic/System.Reflection/Module/ResolveMethod/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Module.MethodResolve/vb/source.vb rename to snippets/visualbasic/System.Reflection/Module/ResolveMethod/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.ToString Example/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/ToString/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.ToString Example/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/ToString/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ObfuscateAssemblyAttribute/vb/source.vb b/snippets/visualbasic/System.Reflection/ObfuscateAssemblyAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ObfuscateAssemblyAttribute/vb/source.vb rename to snippets/visualbasic/System.Reflection/ObfuscateAssemblyAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ObfuscationAttribute/vb/source.vb b/snippets/visualbasic/System.Reflection/ObfuscationAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ObfuscationAttribute/vb/source.vb rename to snippets/visualbasic/System.Reflection/ObfuscationAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ParameterInfo_Attributes1/VB/parameterinfo_attributes1.vb b/snippets/visualbasic/System.Reflection/ParameterInfo/Attributes/parameterinfo_attributes1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ParameterInfo_Attributes1/VB/parameterinfo_attributes1.vb rename to snippets/visualbasic/System.Reflection/ParameterInfo/Attributes/parameterinfo_attributes1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ParameterInfo_GetCustomAttributes/VB/source.vb b/snippets/visualbasic/System.Reflection/ParameterInfo/GetCustomAttributes/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ParameterInfo_GetCustomAttributes/VB/source.vb rename to snippets/visualbasic/System.Reflection/ParameterInfo/GetCustomAttributes/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ParameterInfo_GetCustomAttribute_IsDefined/VB/parameterinfo_getcustomattribute_isdefined.vb b/snippets/visualbasic/System.Reflection/ParameterInfo/IsDefined/parameterinfo_getcustomattribute_isdefined.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ParameterInfo_GetCustomAttribute_IsDefined/VB/parameterinfo_getcustomattribute_isdefined.vb rename to snippets/visualbasic/System.Reflection/ParameterInfo/IsDefined/parameterinfo_getcustomattribute_isdefined.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ParameterInfo_IsIn_IsOut_IsOptional/VB/parameterinfo_isin_isout_isoptional.vb b/snippets/visualbasic/System.Reflection/ParameterInfo/IsIn/parameterinfo_isin_isout_isoptional.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ParameterInfo_IsIn_IsOut_IsOptional/VB/parameterinfo_isin_isout_isoptional.vb rename to snippets/visualbasic/System.Reflection/ParameterInfo/IsIn/parameterinfo_isin_isout_isoptional.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.parametermodifier/vb/source.vb b/snippets/visualbasic/System.Reflection/ParameterModifier/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.parametermodifier/vb/source.vb rename to snippets/visualbasic/System.Reflection/ParameterModifier/Overview/source.vb diff --git a/snippets/visualbasic/System.Reflection/PropertyInfo/GetAccessors/source.vb b/snippets/visualbasic/System.Reflection/PropertyInfo/GetAccessors/source.vb index ef750b2ef74..87ce943bf59 100644 --- a/snippets/visualbasic/System.Reflection/PropertyInfo/GetAccessors/source.vb +++ b/snippets/visualbasic/System.Reflection/PropertyInfo/GetAccessors/source.vb @@ -51,7 +51,7 @@ Module Example Console.WriteLine("----------") Console.WriteLine("The Caption property: {0}", test.Caption) End Sub - + Private Function GetVisibility(m As MethodInfo) As String Dim visibility As String = "" If m.IsPublic Then diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.propertyinfo.getaccessors/vb/source.vb b/snippets/visualbasic/System.Reflection/PropertyInfo/GetAccessors/source1.vb similarity index 99% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.propertyinfo.getaccessors/vb/source.vb rename to snippets/visualbasic/System.Reflection/PropertyInfo/GetAccessors/source1.vb index f9f3b12d40f..b4938b77fdf 100644 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.propertyinfo.getaccessors/vb/source.vb +++ b/snippets/visualbasic/System.Reflection/PropertyInfo/GetAccessors/source1.vb @@ -51,7 +51,7 @@ Module Example Console.WriteLine("----------") Console.WriteLine("The Caption property: {0}", test.Caption) End Sub - + Private Function GetVisibility(m As MethodInfo) As String Dim visibility As String = "" If m.IsPublic Then diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.propertyinfo.getvalue/vb/getvalue1.vb b/snippets/visualbasic/System.Reflection/PropertyInfo/GetValue/getvalue1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.propertyinfo.getvalue/vb/getvalue1.vb rename to snippets/visualbasic/System.Reflection/PropertyInfo/GetValue/getvalue1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.PropertyInfo.GetValue Example/VB/source.vb b/snippets/visualbasic/System.Reflection/PropertyInfo/GetValue/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.PropertyInfo.GetValue Example/VB/source.vb rename to snippets/visualbasic/System.Reflection/PropertyInfo/GetValue/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.propertyinfo.propertytype/vb/propertytype1.vb b/snippets/visualbasic/System.Reflection/PropertyInfo/PropertyType/propertytype1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.propertyinfo.propertytype/vb/propertytype1.vb rename to snippets/visualbasic/System.Reflection/PropertyInfo/PropertyType/propertytype1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/PropertyInfo.SetValue/vb/Example.vb b/snippets/visualbasic/System.Reflection/PropertyInfo/SetValue/Example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/PropertyInfo.SetValue/vb/Example.vb rename to snippets/visualbasic/System.Reflection/PropertyInfo/SetValue/Example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/PropertyInfo.SetValue/vb/example2.vb b/snippets/visualbasic/System.Reflection/PropertyInfo/SetValue/example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/PropertyInfo.SetValue/vb/example2.vb rename to snippets/visualbasic/System.Reflection/PropertyInfo/SetValue/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/StrongNameKeyPairX/VB/StrongNameKeyPairX.vb b/snippets/visualbasic/System.Reflection/StrongNameKeyPair/Overview/StrongNameKeyPairX.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/StrongNameKeyPairX/VB/StrongNameKeyPairX.vb rename to snippets/visualbasic/System.Reflection/StrongNameKeyPair/Overview/StrongNameKeyPairX.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TypeFilter/VB/Typefilter.vb b/snippets/visualbasic/System.Reflection/TypeFilter/Overview/Typefilter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TypeFilter/VB/Typefilter.vb rename to snippets/visualbasic/System.Reflection/TypeFilter/Overview/Typefilter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.tools.stronglytypedresourcebuilder.class/vb/demoresources.vb b/snippets/visualbasic/System.Resources.Tools/StronglyTypedResourceBuilder/Overview/demoresources.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.tools.stronglytypedresourcebuilder.class/vb/demoresources.vb rename to snippets/visualbasic/System.Resources.Tools/StronglyTypedResourceBuilder/Overview/demoresources.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.tools.stronglytypedresourcebuilder.class/vb/example1.vb b/snippets/visualbasic/System.Resources.Tools/StronglyTypedResourceBuilder/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.tools.stronglytypedresourcebuilder.class/vb/example1.vb rename to snippets/visualbasic/System.Resources.Tools/StronglyTypedResourceBuilder/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.missingsatelliteassemblyexception/vb/helloworld.vb b/snippets/visualbasic/System.Resources/MissingSatelliteAssemblyException/Overview/helloworld.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.missingsatelliteassemblyexception/vb/helloworld.vb rename to snippets/visualbasic/System.Resources/MissingSatelliteAssemblyException/Overview/helloworld.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxdatanode.class/vb/resxresourcereader2.vb b/snippets/visualbasic/System.Resources/ResXDataNode/Overview/resxresourcereader2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxdatanode.class/vb/resxresourcereader2.vb rename to snippets/visualbasic/System.Resources/ResXDataNode/Overview/resxresourcereader2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourcereader.basepath/vb/basepathex1.vb b/snippets/visualbasic/System.Resources/ResXResourceReader/BasePath/basepathex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourcereader.basepath/vb/basepathex1.vb rename to snippets/visualbasic/System.Resources/ResXResourceReader/BasePath/basepathex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResXResourceReader Example/VB/resxresourcereader.vb b/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResXResourceReader Example/VB/resxresourcereader.vb rename to snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourcereader.class/vb/resxresourcereader1.vb b/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourcereader.class/vb/resxresourcereader1.vb rename to snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourcereader.class/vb/resxresourcereader2.vb b/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourcereader.class/vb/resxresourcereader2.vb rename to snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResXResourceReader Example/VB/useresxdatanodes.vb b/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/useresxdatanodes.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResXResourceReader Example/VB/useresxdatanodes.vb rename to snippets/visualbasic/System.Resources/ResXResourceReader/Overview/useresxdatanodes.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourceset.class/vb/example1.vb b/snippets/visualbasic/System.Resources/ResXResourceSet/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourceset.class/vb/example1.vb rename to snippets/visualbasic/System.Resources/ResXResourceSet/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/conceptual.resources.resx/vb/create1.vb b/snippets/visualbasic/System.Resources/ResXResourceWriter/Overview/create1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/conceptual.resources.resx/vb/create1.vb rename to snippets/visualbasic/System.Resources/ResXResourceWriter/Overview/create1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcemanager.class/vb/resourcenames.vb b/snippets/visualbasic/System.Resources/ResourceManager/BaseName/resourcenames.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcemanager.class/vb/resourcenames.vb rename to snippets/visualbasic/System.Resources/ResourceManager/BaseName/resourcenames.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcemanager.getresourceset/vb/shownumbers.vb b/snippets/visualbasic/System.Resources/ResourceManager/GetResourceSet/shownumbers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcemanager.getresourceset/vb/shownumbers.vb rename to snippets/visualbasic/System.Resources/ResourceManager/GetResourceSet/shownumbers.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/conceptual.resources.retrieving/vb/createresources.vb b/snippets/visualbasic/System.Resources/ResourceManager/GetStream/createresources.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/conceptual.resources.retrieving/vb/createresources.vb rename to snippets/visualbasic/System.Resources/ResourceManager/GetStream/createresources.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/conceptual.resources.retrieving/vb/getstream.vb b/snippets/visualbasic/System.Resources/ResourceManager/GetStream/getstream.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/conceptual.resources.retrieving/vb/getstream.vb rename to snippets/visualbasic/System.Resources/ResourceManager/GetStream/getstream.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcereader.ctor/vb/stream1.vb b/snippets/visualbasic/System.Resources/ResourceReader/.ctor/stream1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcereader.ctor/vb/stream1.vb rename to snippets/visualbasic/System.Resources/ResourceReader/.ctor/stream1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcereader.ctor/vb/stream2.vb b/snippets/visualbasic/System.Resources/ResourceReader/.ctor/stream2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcereader.ctor/vb/stream2.vb rename to snippets/visualbasic/System.Resources/ResourceReader/.ctor/stream2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceReader.GetEnumerator Example/VB/getenumerator.vb b/snippets/visualbasic/System.Resources/ResourceReader/Close/getenumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceReader.GetEnumerator Example/VB/getenumerator.vb rename to snippets/visualbasic/System.Resources/ResourceReader/Close/getenumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceSet.GetEnumerator/VB/getenumerator.vb b/snippets/visualbasic/System.Resources/ResourceSet/.ctor/getenumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceSet.GetEnumerator/VB/getenumerator.vb rename to snippets/visualbasic/System.Resources/ResourceSet/.ctor/getenumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceWriter Cstr1 Example/VB/resourcewritercstr1.vb b/snippets/visualbasic/System.Resources/ResourceWriter/.ctor/resourcewritercstr1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceWriter Cstr1 Example/VB/resourcewritercstr1.vb rename to snippets/visualbasic/System.Resources/ResourceWriter/.ctor/resourcewritercstr1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresource/vb/addresource_byt1.vb b/snippets/visualbasic/System.Resources/ResourceWriter/AddResource/addresource_byt1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresource/vb/addresource_byt1.vb rename to snippets/visualbasic/System.Resources/ResourceWriter/AddResource/addresource_byt1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresource/vb/addresource_str1.vb b/snippets/visualbasic/System.Resources/ResourceWriter/AddResource/addresource_str1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresource/vb/addresource_str1.vb rename to snippets/visualbasic/System.Resources/ResourceWriter/AddResource/addresource_str1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresource/vb/addresource_str2.vb b/snippets/visualbasic/System.Resources/ResourceWriter/AddResource/addresource_str2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresource/vb/addresource_str2.vb rename to snippets/visualbasic/System.Resources/ResourceWriter/AddResource/addresource_str2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresourcedata/vb/addresourcedata.vb b/snippets/visualbasic/System.Resources/ResourceWriter/AddResourceData/addresourcedata.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresourcedata/vb/addresourcedata.vb rename to snippets/visualbasic/System.Resources/ResourceWriter/AddResourceData/addresourcedata.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceWriter.Dispose Example/VB/resourcewriterdispose.vb b/snippets/visualbasic/System.Resources/ResourceWriter/Dispose/resourcewriterdispose.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceWriter.Dispose Example/VB/resourcewriterdispose.vb rename to snippets/visualbasic/System.Resources/ResourceWriter/Dispose/resourcewriterdispose.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceWriter.Generate Example/VB/resourcewritergenerate.vb b/snippets/visualbasic/System.Resources/ResourceWriter/Generate/resourcewritergenerate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceWriter.Generate Example/VB/resourcewritergenerate.vb rename to snippets/visualbasic/System.Resources/ResourceWriter/Generate/resourcewritergenerate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/runtime.compilerservices.asyncstatemachineattribute/vb/module1.vb b/snippets/visualbasic/System.Runtime.CompilerServices/AsyncStateMachineAttribute/Overview/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/runtime.compilerservices.asyncstatemachineattribute/vb/module1.vb rename to snippets/visualbasic/System.Runtime.CompilerServices/AsyncStateMachineAttribute/Overview/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/runtime.compilerservices.asyncstatemachineattribute/vb/module2.vb b/snippets/visualbasic/System.Runtime.CompilerServices/AsyncStateMachineAttribute/Overview/module2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/runtime.compilerservices.asyncstatemachineattribute/vb/module2.vb rename to snippets/visualbasic/System.Runtime.CompilerServices/AsyncStateMachineAttribute/Overview/module2.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/csProgGuideAttributes/vb/callerinfo.vb b/snippets/visualbasic/System.Runtime.CompilerServices/CallerFilePathAttribute/Overview/callerinfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/csProgGuideAttributes/vb/callerinfo.vb rename to snippets/visualbasic/System.Runtime.CompilerServices/CallerFilePathAttribute/Overview/callerinfo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.CompilationRelaxationsAttribute/vb/example.vb b/snippets/visualbasic/System.Runtime.CompilerServices/CompilationRelaxationsAttribute/Overview/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.CompilationRelaxationsAttribute/vb/example.vb rename to snippets/visualbasic/System.Runtime.CompilerServices/CompilationRelaxationsAttribute/Overview/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.CompilerGlobalScopeAttribute/vb/example.vb b/snippets/visualbasic/System.Runtime.CompilerServices/CompilerGlobalScopeAttribute/Overview/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.CompilerGlobalScopeAttribute/vb/example.vb rename to snippets/visualbasic/System.Runtime.CompilerServices/CompilerGlobalScopeAttribute/Overview/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.getvalue/vb/getvalue1.vb b/snippets/visualbasic/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.getvalue/vb/getvalue1.vb rename to snippets/visualbasic/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.class/vb/example1.vb b/snippets/visualbasic/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.class/vb/example1.vb rename to snippets/visualbasic/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DefaultDependencyAttribute/vb/example.vb b/snippets/visualbasic/System.Runtime.CompilerServices/DefaultDependencyAttribute/Overview/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DefaultDependencyAttribute/vb/example.vb rename to snippets/visualbasic/System.Runtime.CompilerServices/DefaultDependencyAttribute/Overview/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DependencyAttribute/vb/example.vb b/snippets/visualbasic/System.Runtime.CompilerServices/DependencyAttribute/Overview/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DependencyAttribute/vb/example.vb rename to snippets/visualbasic/System.Runtime.CompilerServices/DependencyAttribute/Overview/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DiscardableAttribute/vb/example.vb b/snippets/visualbasic/System.Runtime.CompilerServices/DiscardableAttribute/Overview/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DiscardableAttribute/vb/example.vb rename to snippets/visualbasic/System.Runtime.CompilerServices/DiscardableAttribute/Overview/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.internalsvisibletoattribute/vb/assembly1.vb b/snippets/visualbasic/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/assembly1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.internalsvisibletoattribute/vb/assembly1.vb rename to snippets/visualbasic/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/assembly1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.internalsvisibletoattribute/vb/friend1.vb b/snippets/visualbasic/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/friend1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.internalsvisibletoattribute/vb/friend1.vb rename to snippets/visualbasic/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/friend1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.internalsvisibletoattribute/vb/friend2.vb b/snippets/visualbasic/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/friend2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.internalsvisibletoattribute/vb/friend2.vb rename to snippets/visualbasic/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/friend2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.internalsvisibletoattribute/vb/utilitylib.vb b/snippets/visualbasic/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/utilitylib.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.internalsvisibletoattribute/vb/utilitylib.vb rename to snippets/visualbasic/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/utilitylib.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.methodimplattribute/vb/getmethodimplattribute1.vb b/snippets/visualbasic/System.Runtime.CompilerServices/MethodImplAttribute/Overview/getmethodimplattribute1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.methodimplattribute/vb/getmethodimplattribute1.vb rename to snippets/visualbasic/System.Runtime.CompilerServices/MethodImplAttribute/Overview/getmethodimplattribute1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.methodimplattribute/vb/methodimplattribute1.vb b/snippets/visualbasic/System.Runtime.CompilerServices/MethodImplAttribute/Overview/methodimplattribute1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.methodimplattribute/vb/methodimplattribute1.vb rename to snippets/visualbasic/System.Runtime.CompilerServices/MethodImplAttribute/Overview/methodimplattribute1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.RuntimeHelpers.Equals/vb/example.vb b/snippets/visualbasic/System.Runtime.CompilerServices/RuntimeHelpers/Equals/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.RuntimeHelpers.Equals/vb/example.vb rename to snippets/visualbasic/System.Runtime.CompilerServices/RuntimeHelpers/Equals/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.RuntimeHelpers.GetObjectValue/vb/example.vb b/snippets/visualbasic/System.Runtime.CompilerServices/RuntimeHelpers/GetObjectValue/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.RuntimeHelpers.GetObjectValue/vb/example.vb rename to snippets/visualbasic/System.Runtime.CompilerServices/RuntimeHelpers/GetObjectValue/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/SafeHandle-RuntimeHelpers.PrepareConstrainedRegions/vb/sample.vb b/snippets/visualbasic/System.Runtime.CompilerServices/RuntimeHelpers/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/SafeHandle-RuntimeHelpers.PrepareConstrainedRegions/vb/sample.vb rename to snippets/visualbasic/System.Runtime.CompilerServices/RuntimeHelpers/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.StringFreezingAttribute/vb/example.vb b/snippets/visualbasic/System.Runtime.CompilerServices/StringFreezingAttribute/Overview/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.StringFreezingAttribute/vb/example.vb rename to snippets/visualbasic/System.Runtime.CompilerServices/StringFreezingAttribute/Overview/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.SuppressIldasmAttribute/vb/sample.vb b/snippets/visualbasic/System.Runtime.CompilerServices/SuppressIldasmAttribute/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.SuppressIldasmAttribute/vb/sample.vb rename to snippets/visualbasic/System.Runtime.CompilerServices/SuppressIldasmAttribute/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.ConstrainedExecution/vb/program.vb b/snippets/visualbasic/System.Runtime.ConstrainedExecution/Cer/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.ConstrainedExecution/vb/program.vb rename to snippets/visualbasic/System.Runtime.ConstrainedExecution/Cer/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/SafeHandle.SafeFileHandle/vb/program.vb b/snippets/visualbasic/System.Runtime.ConstrainedExecution/CriticalFinalizerObject/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/SafeHandle.SafeFileHandle/vb/program.vb rename to snippets/visualbasic/System.Runtime.ConstrainedExecution/CriticalFinalizerObject/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.Hosting.ApplicationActivator/vb/program.vb b/snippets/visualbasic/System.Runtime.Hosting/ActivationArguments/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.Hosting.ApplicationActivator/vb/program.vb rename to snippets/visualbasic/System.Runtime.Hosting/ActivationArguments/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.bestfitmappingattribute/vb/source.vb b/snippets/visualbasic/System.Runtime.InteropServices/BestFitMappingAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.bestfitmappingattribute/vb/source.vb rename to snippets/visualbasic/System.Runtime.InteropServices/BestFitMappingAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Interop CallingConvention/VB/callingconv.vb b/snippets/visualbasic/System.Runtime.InteropServices/CallingConvention/Overview/callingconv.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Interop CallingConvention/VB/callingconv.vb rename to snippets/visualbasic/System.Runtime.InteropServices/CallingConvention/Overview/callingconv.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.charset/vb/source.vb b/snippets/visualbasic/System.Runtime.InteropServices/CharSet/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.charset/vb/source.vb rename to snippets/visualbasic/System.Runtime.InteropServices/CharSet/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ClassInterfaceType/VB/ClassInterfaceType.vb b/snippets/visualbasic/System.Runtime.InteropServices/ClassInterfaceType/Overview/ClassInterfaceType.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ClassInterfaceType/VB/ClassInterfaceType.vb rename to snippets/visualbasic/System.Runtime.InteropServices/ClassInterfaceType/Overview/ClassInterfaceType.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.comcompatibleversionattribute/vb/source.vb b/snippets/visualbasic/System.Runtime.InteropServices/ComCompatibleVersionAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.comcompatibleversionattribute/vb/source.vb rename to snippets/visualbasic/System.Runtime.InteropServices/ComCompatibleVersionAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ImprovedInteropSnippets/VB/codefile2.vb b/snippets/visualbasic/System.Runtime.InteropServices/ComImportAttribute/Overview/codefile2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ImprovedInteropSnippets/VB/codefile2.vb rename to snippets/visualbasic/System.Runtime.InteropServices/ComImportAttribute/Overview/codefile2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ImprovedInteropSnippets/VB/codefile3.vb b/snippets/visualbasic/System.Runtime.InteropServices/ComImportAttribute/Overview/codefile3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ImprovedInteropSnippets/VB/codefile3.vb rename to snippets/visualbasic/System.Runtime.InteropServices/ComImportAttribute/Overview/codefile3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ImprovedInteropSnippets/VB/codefile4.vb b/snippets/visualbasic/System.Runtime.InteropServices/ComImportAttribute/Overview/codefile4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ImprovedInteropSnippets/VB/codefile4.vb rename to snippets/visualbasic/System.Runtime.InteropServices/ComImportAttribute/Overview/codefile4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ImprovedInteropSnippets/VB/codefile5.vb b/snippets/visualbasic/System.Runtime.InteropServices/ComImportAttribute/Overview/codefile5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ImprovedInteropSnippets/VB/codefile5.vb rename to snippets/visualbasic/System.Runtime.InteropServices/ComImportAttribute/Overview/codefile5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.dispatchwrapper/vb/source.vb b/snippets/visualbasic/System.Runtime.InteropServices/DispatchWrapper/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.dispatchwrapper/vb/source.vb rename to snippets/visualbasic/System.Runtime.InteropServices/DispatchWrapper/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.dllimportattribute/vb/source.vb b/snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.dllimportattribute/vb/source.vb rename to snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.DllImport.EntryPoint/vb/sample.vb b/snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/EntryPoint/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.DllImport.EntryPoint/vb/sample.vb rename to snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/EntryPoint/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.DllImport.Canonical/vb/sample.vb b/snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.DllImport.Canonical/vb/sample.vb rename to snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.PreserveSigAttribute/vb/example.vb b/snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/PreserveSig/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.PreserveSigAttribute/vb/example.vb rename to snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/PreserveSig/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.GCHandle/vb/sample.vb b/snippets/visualbasic/System.Runtime.InteropServices/GCHandle/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.GCHandle/vb/sample.vb rename to snippets/visualbasic/System.Runtime.InteropServices/GCHandle/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Interop InOutParameters/VB/inout.vb b/snippets/visualbasic/System.Runtime.InteropServices/InAttribute/Overview/inout.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Interop InOutParameters/VB/inout.vb rename to snippets/visualbasic/System.Runtime.InteropServices/InAttribute/Overview/inout.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/LCIDConversionAttributeSample2/VB/lcidattrsample.vb b/snippets/visualbasic/System.Runtime.InteropServices/LCIDConversionAttribute/Overview/lcidattrsample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/LCIDConversionAttributeSample2/VB/lcidattrsample.vb rename to snippets/visualbasic/System.Runtime.InteropServices/LCIDConversionAttribute/Overview/lcidattrsample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/LayoutKind/VB/layoutkind.vb b/snippets/visualbasic/System.Runtime.InteropServices/LayoutKind/Overview/layoutkind.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/LayoutKind/VB/layoutkind.vb rename to snippets/visualbasic/System.Runtime.InteropServices/LayoutKind/Overview/layoutkind.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-byte/vb/sample.vb b/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-byte/vb/sample.vb rename to snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-char/vb/sample.vb b/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-char/vb/sample.vb rename to snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-double/vb/sample.vb b/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-double/vb/sample.vb rename to snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int/vb/sample.vb b/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int/vb/sample.vb rename to snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int16/vb/sample.vb b/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int16/vb/sample.vb rename to snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int64/vb/sample.vb b/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int64/vb/sample.vb rename to snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetHRForLastWin32Error/vb/example.vb b/snippets/visualbasic/System.Runtime.InteropServices/Marshal/GetHRForLastWin32Error/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetHRForLastWin32Error/vb/example.vb rename to snippets/visualbasic/System.Runtime.InteropServices/Marshal/GetHRForLastWin32Error/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetITypeInfoForType/vb/example.vb b/snippets/visualbasic/System.Runtime.InteropServices/Marshal/GetITypeInfoForType/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetITypeInfoForType/vb/example.vb rename to snippets/visualbasic/System.Runtime.InteropServices/Marshal/GetITypeInfoForType/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetIUnknownForObject-release/vb/example.vb b/snippets/visualbasic/System.Runtime.InteropServices/Marshal/GetIUnknownForObject/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetIUnknownForObject-release/vb/example.vb rename to snippets/visualbasic/System.Runtime.InteropServices/Marshal/GetIUnknownForObject/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetIUnknownForObjectInContext-release/vb/example.vb b/snippets/visualbasic/System.Runtime.InteropServices/Marshal/GetIUnknownForObjectInContext/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetIUnknownForObjectInContext-release/vb/example.vb rename to snippets/visualbasic/System.Runtime.InteropServices/Marshal/GetIUnknownForObjectInContext/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetLastWin32Error/vb/example.vb b/snippets/visualbasic/System.Runtime.InteropServices/Marshal/GetLastWin32Error/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetLastWin32Error/vb/example.vb rename to snippets/visualbasic/System.Runtime.InteropServices/Marshal/GetLastWin32Error/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Marshal/VB/Marshal.vb b/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Overview/Marshal.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Marshal/VB/Marshal.vb rename to snippets/visualbasic/System.Runtime.InteropServices/Marshal/Overview/Marshal.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.PtrToStructure-SizeOf/vb/sample.vb b/snippets/visualbasic/System.Runtime.InteropServices/Marshal/PtrToStructure/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.PtrToStructure-SizeOf/vb/sample.vb rename to snippets/visualbasic/System.Runtime.InteropServices/Marshal/PtrToStructure/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.ReadByte - WriteByte/vb/example.vb b/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.ReadByte - WriteByte/vb/example.vb rename to snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb b/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb rename to snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.SecureStringToCoTaskMemAnsi/vb/sample.vb b/snippets/visualbasic/System.Runtime.InteropServices/Marshal/SecureStringToCoTaskMemAnsi/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.SecureStringToCoTaskMemAnsi/vb/sample.vb rename to snippets/visualbasic/System.Runtime.InteropServices/Marshal/SecureStringToCoTaskMemAnsi/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.SecureStringToCoTaskMemUnicode/vb/sample.vb b/snippets/visualbasic/System.Runtime.InteropServices/Marshal/SecureStringToCoTaskMemUnicode/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.SecureStringToCoTaskMemUnicode/vb/sample.vb rename to snippets/visualbasic/System.Runtime.InteropServices/Marshal/SecureStringToCoTaskMemUnicode/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.SecureStringToHGlobalAnsi/VB/sample.vb b/snippets/visualbasic/System.Runtime.InteropServices/Marshal/SecureStringToGlobalAllocAnsi/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.SecureStringToHGlobalAnsi/VB/sample.vb rename to snippets/visualbasic/System.Runtime.InteropServices/Marshal/SecureStringToGlobalAllocAnsi/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.SecureStringToHGlobalUni/VB/sample.vb b/snippets/visualbasic/System.Runtime.InteropServices/Marshal/SecureStringToGlobalAllocUnicode/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.SecureStringToHGlobalUni/VB/sample.vb rename to snippets/visualbasic/System.Runtime.InteropServices/Marshal/SecureStringToGlobalAllocUnicode/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.MarshalAsAttribute/vb/Signature1.vb b/snippets/visualbasic/System.Runtime.InteropServices/MarshalAsAttribute/Overview/Signature1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.MarshalAsAttribute/vb/Signature1.vb rename to snippets/visualbasic/System.Runtime.InteropServices/MarshalAsAttribute/Overview/Signature1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.MarshalAsAttribute/vb/marshalasattribute.vb b/snippets/visualbasic/System.Runtime.InteropServices/MarshalAsAttribute/Overview/marshalasattribute.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.MarshalAsAttribute/vb/marshalasattribute.vb rename to snippets/visualbasic/System.Runtime.InteropServices/MarshalAsAttribute/Overview/marshalasattribute.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.MarshalAsAttribute.SizeParamIndex/VB/marshalas.sizeparamindex.vb b/snippets/visualbasic/System.Runtime.InteropServices/MarshalAsAttribute/SizeParamIndex/marshalas.sizeparamindex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.MarshalAsAttribute.SizeParamIndex/VB/marshalas.sizeparamindex.vb rename to snippets/visualbasic/System.Runtime.InteropServices/MarshalAsAttribute/SizeParamIndex/marshalas.sizeparamindex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ProgIdAttribute_Value/VB/progidattribute_value.vb b/snippets/visualbasic/System.Runtime.InteropServices/ProgIdAttribute/Overview/progidattribute_value.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ProgIdAttribute_Value/VB/progidattribute_value.vb rename to snippets/visualbasic/System.Runtime.InteropServices/ProgIdAttribute/Overview/progidattribute_value.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/RuntimeEnvironment/VB/RuntimeEnvironment.vb b/snippets/visualbasic/System.Runtime.InteropServices/RuntimeEnvironment/Overview/RuntimeEnvironment.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/RuntimeEnvironment/VB/RuntimeEnvironment.vb rename to snippets/visualbasic/System.Runtime.InteropServices/RuntimeEnvironment/Overview/RuntimeEnvironment.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/StructLayoutAttribute/VB/structlayoutattribute.vb b/snippets/visualbasic/System.Runtime.InteropServices/StructLayoutAttribute/Overview/structlayoutattribute.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/StructLayoutAttribute/VB/structlayoutattribute.vb rename to snippets/visualbasic/System.Runtime.InteropServices/StructLayoutAttribute/Overview/structlayoutattribute.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.TypelibConverter.ConvertAssemblyToTypelib1/VB/convert2.vb b/snippets/visualbasic/System.Runtime.InteropServices/TypeLibConverter/ConvertAssemblyToTypeLib/convert2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.TypelibConverter.ConvertAssemblyToTypelib1/VB/convert2.vb rename to snippets/visualbasic/System.Runtime.InteropServices/TypeLibConverter/ConvertAssemblyToTypeLib/convert2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.ConvertTypelibToASSembly/VB/convert1.vb b/snippets/visualbasic/System.Runtime.InteropServices/TypeLibConverter/ConvertTypeLibToAssembly/convert1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.ConvertTypelibToASSembly/VB/convert1.vb rename to snippets/visualbasic/System.Runtime.InteropServices/TypeLibConverter/ConvertTypeLibToAssembly/convert1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TypeLibVar/VB/codefile6.vb b/snippets/visualbasic/System.Runtime.InteropServices/TypeLibVarAttribute/Overview/codefile6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TypeLibVar/VB/codefile6.vb rename to snippets/visualbasic/System.Runtime.InteropServices/TypeLibVarAttribute/Overview/codefile6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.typelibversionattribute/vb/source.vb b/snippets/visualbasic/System.Runtime.InteropServices/TypeLibVersionAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.typelibversionattribute/vb/source.vb rename to snippets/visualbasic/System.Runtime.InteropServices/TypeLibVersionAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.VariantWrapper/vb/sample.vb b/snippets/visualbasic/System.Runtime.InteropServices/VariantWrapper/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.VariantWrapper/vb/sample.vb rename to snippets/visualbasic/System.Runtime.InteropServices/VariantWrapper/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpChannel.GetUrlsFromUri/VB/class1.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels.Http/HttpServerChannel/GetUrlsForUri/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpChannel.GetUrlsFromUri/VB/class1.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels.Http/HttpServerChannel/GetUrlsForUri/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Channels.Tcp/TcpChannel/.ctor/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Channels.Tcp/TcpChannel/.ctor/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation/VB/server.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels.Tcp/TcpChannel/.ctor/server.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation/VB/server.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels.Tcp/TcpChannel/.ctor/server.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/TcpChannel.GetUrlsForUri/VB/class1.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels.Tcp/TcpChannel/GetUrlsForUri/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/TcpChannel.GetUrlsForUri/VB/class1.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels.Tcp/TcpChannel/GetUrlsForUri/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/TcpChannel.GetUrlsForUri/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Channels.Tcp/TcpChannel/GetUrlsForUri/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/TcpChannel.GetUrlsForUri/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Channels.Tcp/TcpChannel/GetUrlsForUri/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/TcpServerChannel.GetUrlsForUri/VB/class1.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel/GetUrlsForUri/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/TcpServerChannel.GetUrlsForUri/VB/class1.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel/GetUrlsForUri/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/TcpServerChannel.GetUrlsForUri/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel/GetUrlsForUri/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/TcpServerChannel.GetUrlsForUri/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel/GetUrlsForUri/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/CommonTransportKeys/VB/commontransportkeys.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties/Overview/commontransportkeys.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/CommonTransportKeys/VB/commontransportkeys.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties/Overview/commontransportkeys.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/CommonTransportKeys/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/CommonTransportKeys/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapClientFormatterSinkProvider_BaseChannelSinkWithProperties/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapClientFormatterSinkProvider_BaseChannelSinkWithProperties/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapClientFormatterSinkProvider_BaseChannelSinkWithProperties/VB/soapclientformattersinkprovider_customprovider.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties/Overview/soapclientformattersinkprovider_customprovider.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapClientFormatterSinkProvider_BaseChannelSinkWithProperties/VB/soapclientformattersinkprovider_customprovider.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties/Overview/soapclientformattersinkprovider_customprovider.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ChannelServices_GetChannel/VB/channelservices_getchannel_client.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/GetChannel/channelservices_getchannel_client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ChannelServices_GetChannel/VB/channelservices_getchannel_client.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/GetChannel/channelservices_getchannel_client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ChannelServices_GetChannel/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/GetChannel/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ChannelServices_GetChannel/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/GetChannel/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ChannelServices_RegisteredChannels/VB/channelservices_registeredchannels_client.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/GetUrlsForObject/channelservices_registeredchannels_client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ChannelServices_RegisteredChannels/VB/channelservices_registeredchannels_client.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/GetUrlsForObject/channelservices_registeredchannels_client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ChannelServices_RegisteredChannels/VB/channelservices_registeredchannels_server.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/GetUrlsForObject/channelservices_registeredchannels_server.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ChannelServices_RegisteredChannels/VB/channelservices_registeredchannels_server.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/GetUrlsForObject/channelservices_registeredchannels_server.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ChannelServices_RegisteredChannels/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/GetUrlsForObject/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ChannelServices_RegisteredChannels/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/GetUrlsForObject/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpChannel/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/RegisterChannel/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpChannel/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/RegisterChannel/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpChannel/VB/server.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/RegisterChannel/server.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpChannel/VB/server.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/RegisterChannel/server.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ChannelServices_SyncDispatchMessage/VB/channelservices_syncdispatchmessage_client.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/SyncDispatchMessage/channelservices_syncdispatchmessage_client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ChannelServices_SyncDispatchMessage/VB/channelservices_syncdispatchmessage_client.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/SyncDispatchMessage/channelservices_syncdispatchmessage_client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ChannelServices_SyncDispatchMessage/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/SyncDispatchMessage/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ChannelServices_SyncDispatchMessage/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/SyncDispatchMessage/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpServerChannel_Server_Client/VB/httpclientchannel_6_client.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannel/ChannelName/httpclientchannel_6_client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpServerChannel_Server_Client/VB/httpclientchannel_6_client.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels/IChannel/ChannelName/httpclientchannel_6_client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpServerChannel_Server_Client/VB/httpserverchannel_9_server.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannel/ChannelName/httpserverchannel_9_server.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpServerChannel_Server_Client/VB/httpserverchannel_9_server.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels/IChannel/ChannelName/httpserverchannel_9_server.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpServerChannel_Server_Client/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannel/ChannelName/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpServerChannel_Server_Client/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Channels/IChannel/ChannelName/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/IChannelDataStore_Item/VB/ichanneldatastore.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelDataStore/Overview/ichanneldatastore.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/IChannelDataStore_Item/VB/ichanneldatastore.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelDataStore/Overview/ichanneldatastore.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/IChannelReceiver_StartListening_ChannelData/VB/ichannelreceiver_channeldata_server.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelReceiver/Overview/ichannelreceiver_channeldata_server.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/IChannelReceiver_StartListening_ChannelData/VB/ichannelreceiver_channeldata_server.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelReceiver/Overview/ichannelreceiver_channeldata_server.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/IChannelReceiver_StartListening_ChannelData/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelReceiver/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/IChannelReceiver_StartListening_ChannelData/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelReceiver/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpChannel.AddHookChannelUri/VB/class1.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelReceiverHook/AddHookChannelUri/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpChannel.AddHookChannelUri/VB/class1.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelReceiverHook/AddHookChannelUri/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpChannel.ChannelSinkChain/VB/class1.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelReceiverHook/ChannelSinkChain/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpChannel.ChannelSinkChain/VB/class1.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelReceiverHook/ChannelSinkChain/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/IChannelReceiverHook_ChannelScheme/VB/ichannelreceiverhook_channelscheme.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelReceiverHook/Overview/ichannelreceiverhook_channelscheme.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/IChannelReceiverHook_ChannelScheme/VB/ichannelreceiverhook_channelscheme.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelReceiverHook/Overview/ichannelreceiverhook_channelscheme.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/IChannelSender/VB/ichannelsender_2_client.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelSender/Overview/ichannelsender_2_client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/IChannelSender/VB/ichannelsender_2_client.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelSender/Overview/ichannelsender_2_client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/IChannelSender/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelSender/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/IChannelSender/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelSender/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapClientFormatterSinkProvider_Next_Create/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Channels/IServerChannelSinkProvider/CreateSink/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapClientFormatterSinkProvider_Next_Create/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Channels/IServerChannelSinkProvider/CreateSink/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapClientFormatterSinkProvider_Next_Create/VB/soapclientformattersinkprovider_customprovider.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels/IServerChannelSinkProvider/CreateSink/soapclientformattersinkprovider_customprovider.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapClientFormatterSinkProvider_Next_Create/VB/soapclientformattersinkprovider_customprovider.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels/IServerChannelSinkProvider/CreateSink/soapclientformattersinkprovider_customprovider.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/IServerChannelSinkProvider_CreateSink/VB/iserverchannelsinkprovider_3.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels/IServerChannelSinkProvider/GetChannelData/iserverchannelsinkprovider_3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/IServerChannelSinkProvider_CreateSink/VB/iserverchannelsinkprovider_3.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels/IServerChannelSinkProvider/GetChannelData/iserverchannelsinkprovider_3.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SinkProviders/VB/source.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels/IServerChannelSinkProvider/Next/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SinkProviders/VB/source.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels/IServerChannelSinkProvider/Next/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ITransportHeaders_Item/VB/itransportheaders_3_server.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels/ITransportHeaders/Overview/itransportheaders_3_server.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ITransportHeaders_Item/VB/itransportheaders_3_server.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels/ITransportHeaders/Overview/itransportheaders_3_server.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ITransportHeaders_Item/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Channels/ITransportHeaders/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ITransportHeaders_Item/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Channels/ITransportHeaders/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServerProcessing_LoggingSinks_Create/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Channels/ServerProcessing/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServerProcessing_LoggingSinks_Create/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Channels/ServerProcessing/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServerProcessing_LoggingSinks_Create/VB/serverprocessing_loggingsinks.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels/ServerProcessing/Overview/serverprocessing_loggingsinks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServerProcessing_LoggingSinks_Create/VB/serverprocessing_loggingsinks.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels/ServerProcessing/Overview/serverprocessing_loggingsinks.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SinkProviderData/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Channels/SinkProviderData/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SinkProviderData/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Channels/SinkProviderData/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SinkProviderData/VB/sinkproviderdata_ipfiltersink.vb b/snippets/visualbasic/System.Runtime.Remoting.Channels/SinkProviderData/Overview/sinkproviderdata_ipfiltersink.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SinkProviderData/VB/sinkproviderdata_ipfiltersink.vb rename to snippets/visualbasic/System.Runtime.Remoting.Channels/SinkProviderData/Overview/sinkproviderdata_ipfiltersink.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ClientSponsor_Register/VB/clientsponsor_client.vb b/snippets/visualbasic/System.Runtime.Remoting.Lifetime/ClientSponsor/Overview/clientsponsor_client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ClientSponsor_Register/VB/clientsponsor_client.vb rename to snippets/visualbasic/System.Runtime.Remoting.Lifetime/ClientSponsor/Overview/clientsponsor_client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ClientSponsor_Register/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Lifetime/ClientSponsor/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ClientSponsor_Register/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Lifetime/ClientSponsor/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ISponsor_Client/VB/isponsor_client.vb b/snippets/visualbasic/System.Runtime.Remoting.Lifetime/ISponsor/Overview/isponsor_client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ISponsor_Client/VB/isponsor_client.vb rename to snippets/visualbasic/System.Runtime.Remoting.Lifetime/ISponsor/Overview/isponsor_client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ISponsor_Client/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Lifetime/ISponsor/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ISponsor_Client/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Lifetime/ISponsor/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.Lifetime/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Lifetime/LifetimeServices/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.Lifetime/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Lifetime/LifetimeServices/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.Lifetime/VB/server.vb b/snippets/visualbasic/System.Runtime.Remoting.Lifetime/LifetimeServices/Overview/server.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.Lifetime/VB/server.vb rename to snippets/visualbasic/System.Runtime.Remoting.Lifetime/LifetimeServices/Overview/server.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ILease_ILease/VB/ilease_client.vb b/snippets/visualbasic/System.Runtime.Remoting.Lifetime/LifetimeServices/RenewOnCallTime/ilease_client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ILease_ILease/VB/ilease_client.vb rename to snippets/visualbasic/System.Runtime.Remoting.Lifetime/LifetimeServices/RenewOnCallTime/ilease_client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ILease_ILease/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Lifetime/LifetimeServices/RenewOnCallTime/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ILease_ILease/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Lifetime/LifetimeServices/RenewOnCallTime/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/CallContext_GetHeaders/VB/callcontext_client.vb b/snippets/visualbasic/System.Runtime.Remoting.Messaging/CallContext/FreeNamedDataSlot/callcontext_client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/CallContext_GetHeaders/VB/callcontext_client.vb rename to snippets/visualbasic/System.Runtime.Remoting.Messaging/CallContext/FreeNamedDataSlot/callcontext_client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/CallContext_GetHeaders/VB/callcontext_share.vb b/snippets/visualbasic/System.Runtime.Remoting.Messaging/CallContext/FreeNamedDataSlot/callcontext_share.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/CallContext_GetHeaders/VB/callcontext_share.vb rename to snippets/visualbasic/System.Runtime.Remoting.Messaging/CallContext/FreeNamedDataSlot/callcontext_share.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/CallContext_GetHeaders/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Messaging/CallContext/FreeNamedDataSlot/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/CallContext_GetHeaders/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Messaging/CallContext/FreeNamedDataSlot/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/CallContext/VB/client.vb b/snippets/visualbasic/System.Runtime.Remoting.Messaging/CallContext/Overview/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/CallContext/VB/client.vb rename to snippets/visualbasic/System.Runtime.Remoting.Messaging/CallContext/Overview/client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/CallContext/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Messaging/CallContext/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/CallContext/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Messaging/CallContext/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/CallContext/VB/service.vb b/snippets/visualbasic/System.Runtime.Remoting.Messaging/CallContext/Overview/service.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/CallContext/VB/service.vb rename to snippets/visualbasic/System.Runtime.Remoting.Messaging/CallContext/Overview/service.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/IMessageSink_Client/VB/imessagesink_client.vb b/snippets/visualbasic/System.Runtime.Remoting.Messaging/IMessage/Properties/imessagesink_client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/IMessageSink_Client/VB/imessagesink_client.vb rename to snippets/visualbasic/System.Runtime.Remoting.Messaging/IMessage/Properties/imessagesink_client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/IMessageSink_Client/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Messaging/IMessage/Properties/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/IMessageSink_Client/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Messaging/IMessage/Properties/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/IMethodCallMessage_GetInArg/VB/imethodcallmessage.vb b/snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodCallMessage/Overview/imethodcallmessage.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/IMethodCallMessage_GetInArg/VB/imethodcallmessage.vb rename to snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodCallMessage/Overview/imethodcallmessage.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/IMethodMessage_LogicalCallContext/VB/imethodmessage_logicalcallcontext.vb b/snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodMessage/LogicalCallContext/imethodmessage_logicalcallcontext.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/IMethodMessage_LogicalCallContext/VB/imethodmessage_logicalcallcontext.vb rename to snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodMessage/LogicalCallContext/imethodmessage_logicalcallcontext.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/IMethodMessage_MethodName/VB/imethodmessage_methodname.vb b/snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodMessage/Overview/imethodmessage_methodname.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/IMethodMessage_MethodName/VB/imethodmessage_methodname.vb rename to snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodMessage/Overview/imethodmessage_methodname.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/IMethodReturnMessage_Exception/VB/imethodreturnmessage_exception.vb b/snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodReturnMessage/Exception/imethodreturnmessage_exception.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/IMethodReturnMessage_Exception/VB/imethodreturnmessage_exception.vb rename to snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodReturnMessage/Exception/imethodreturnmessage_exception.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/IMethodReturnMessage_ReturnValue/VB/imethodreturnmessage_returnvalue.vb b/snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodReturnMessage/Overview/imethodreturnmessage_returnvalue.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/IMethodReturnMessage_ReturnValue/VB/imethodreturnmessage_returnvalue.vb rename to snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodReturnMessage/Overview/imethodreturnmessage_returnvalue.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapAttributes1/VB/s.vb b/snippets/visualbasic/System.Runtime.Remoting.Metadata/SoapFieldAttribute/Overview/s.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapAttributes1/VB/s.vb rename to snippets/visualbasic/System.Runtime.Remoting.Metadata/SoapFieldAttribute/Overview/s.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MetaData.ConvertCodeSourceFileToAssemblyFile/VB/source.vb b/snippets/visualbasic/System.Runtime.Remoting.MetadataServices/MetaData/ConvertCodeSourceFileToAssemblyFile/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MetaData.ConvertCodeSourceFileToAssemblyFile/VB/source.vb rename to snippets/visualbasic/System.Runtime.Remoting.MetadataServices/MetaData/ConvertCodeSourceFileToAssemblyFile/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MetaData.ConvertTypesToSchemaToFile/VB/source.vb b/snippets/visualbasic/System.Runtime.Remoting.MetadataServices/MetaData/ConvertTypesToSchemaToFile/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MetaData.ConvertTypesToSchemaToFile/VB/source.vb rename to snippets/visualbasic/System.Runtime.Remoting.MetadataServices/MetaData/ConvertTypesToSchemaToFile/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MetaData.ConvertTypesToSchemaToStream/VB/source.vb b/snippets/visualbasic/System.Runtime.Remoting.MetadataServices/MetaData/ConvertTypesToSchemaToStream/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MetaData.ConvertTypesToSchemaToStream/VB/source.vb rename to snippets/visualbasic/System.Runtime.Remoting.MetadataServices/MetaData/ConvertTypesToSchemaToStream/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/VB/customproxy_sample.vb b/snippets/visualbasic/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/VB/customproxy_sample.vb rename to snippets/visualbasic/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RealProxy_Sample/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting.Proxies/RealProxy/GetCOMIUnknown/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RealProxy_Sample/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting.Proxies/RealProxy/GetCOMIUnknown/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RealProxy_Sample/VB/realproxy_sample.vb b/snippets/visualbasic/System.Runtime.Remoting.Proxies/RealProxy/GetCOMIUnknown/realproxy_sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RealProxy_Sample/VB/realproxy_sample.vb rename to snippets/visualbasic/System.Runtime.Remoting.Proxies/RealProxy/GetCOMIUnknown/realproxy_sample.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.ActivatedClientTypeEntry/VB/activatedclienttypeentry_client.vb b/snippets/visualbasic/System.Runtime.Remoting/ActivatedClientTypeEntry/Overview/activatedclienttypeentry_client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.ActivatedClientTypeEntry/VB/activatedclienttypeentry_client.vb rename to snippets/visualbasic/System.Runtime.Remoting/ActivatedClientTypeEntry/Overview/activatedclienttypeentry_client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.ActivatedClientTypeEntry/VB/activatedclienttypeentry_server.vb b/snippets/visualbasic/System.Runtime.Remoting/ActivatedClientTypeEntry/Overview/activatedclienttypeentry_server.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.ActivatedClientTypeEntry/VB/activatedclienttypeentry_server.vb rename to snippets/visualbasic/System.Runtime.Remoting/ActivatedClientTypeEntry/Overview/activatedclienttypeentry_server.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.ActivatedClientTypeEntry/VB/activatedclienttypeentry_share.vb b/snippets/visualbasic/System.Runtime.Remoting/ActivatedClientTypeEntry/Overview/activatedclienttypeentry_share.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.ActivatedClientTypeEntry/VB/activatedclienttypeentry_share.vb rename to snippets/visualbasic/System.Runtime.Remoting/ActivatedClientTypeEntry/Overview/activatedclienttypeentry_share.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.ActivatedClientTypeEntry/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting/ActivatedClientTypeEntry/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.ActivatedClientTypeEntry/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting/ActivatedClientTypeEntry/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ActivatedServiceTypeEntry_ObjectType_Client/VB/activatedservicetypeentry_objecttype_server.vb b/snippets/visualbasic/System.Runtime.Remoting/ActivatedServiceTypeEntry/Overview/activatedservicetypeentry_objecttype_server.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ActivatedServiceTypeEntry_ObjectType_Client/VB/activatedservicetypeentry_objecttype_server.vb rename to snippets/visualbasic/System.Runtime.Remoting/ActivatedServiceTypeEntry/Overview/activatedservicetypeentry_objecttype_server.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ActivatedServiceTypeEntry_ObjectType_Client/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting/ActivatedServiceTypeEntry/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ActivatedServiceTypeEntry_ObjectType_Client/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting/ActivatedServiceTypeEntry/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Remoting.ObjRef/VB/client.vb b/snippets/visualbasic/System.Runtime.Remoting/IRemotingTypeInfo/Overview/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Remoting.ObjRef/VB/client.vb rename to snippets/visualbasic/System.Runtime.Remoting/IRemotingTypeInfo/Overview/client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Remoting.ObjRef/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting/IRemotingTypeInfo/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Remoting.ObjRef/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting/IRemotingTypeInfo/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/CreateObjRef2/VB/example.vb b/snippets/visualbasic/System.Runtime.Remoting/ObjRef/Overview/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/CreateObjRef2/VB/example.vb rename to snippets/visualbasic/System.Runtime.Remoting/ObjRef/Overview/example.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ObjectHandle/VB/objecthandleassembly.vb b/snippets/visualbasic/System.Runtime.Remoting/ObjectHandle/Overview/objecthandleassembly.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ObjectHandle/VB/objecthandleassembly.vb rename to snippets/visualbasic/System.Runtime.Remoting/ObjectHandle/Overview/objecthandleassembly.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/VB/client.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/VB/client.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/VB/server.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/server.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/VB/server.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/server.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/VB/service.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/service.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/VB/service.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/service.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_Configure_Client/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/Configure/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_Configure_Client/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/Configure/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_Configure_Client/VB/remotingconfiguration_configure_server.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/Configure/remotingconfiguration_configure_server.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_Configure_Client/VB/remotingconfiguration_configure_server.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/Configure/remotingconfiguration_configure_server.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_GetRegisteredActivatedServer_Client/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/GetRegisteredActivatedServiceTypes/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_GetRegisteredActivatedServer_Client/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/GetRegisteredActivatedServiceTypes/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_GetRegisteredActivatedServer_Client/VB/remotingconfiguration_getregisteredactivatedservice_server.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/GetRegisteredActivatedServiceTypes/remotingconfiguration_getregisteredactivatedservice_server.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_GetRegisteredActivatedServer_Client/VB/remotingconfiguration_getregisteredactivatedservice_server.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/GetRegisteredActivatedServiceTypes/remotingconfiguration_getregisteredactivatedservice_server.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_GetRegisteredWellKnownClient_Client/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/GetRegisteredWellKnownClientTypes/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_GetRegisteredWellKnownClient_Client/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/GetRegisteredWellKnownClientTypes/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_GetRegisteredWellKnownClient_Client/VB/remotingconfiguration_getregisteredwellknownclient_client.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/GetRegisteredWellKnownClientTypes/remotingconfiguration_getregisteredwellknownclient_client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_GetRegisteredWellKnownClient_Client/VB/remotingconfiguration_getregisteredwellknownclient_client.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/GetRegisteredWellKnownClientTypes/remotingconfiguration_getregisteredwellknownclient_client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_IsRemotelyActivatedClientType1_Client/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/IsRemotelyActivatedClientType/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_IsRemotelyActivatedClientType1_Client/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/IsRemotelyActivatedClientType/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_IsRemotelyActivatedClientType2_Client/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/IsRemotelyActivatedClientType/makefile1 similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_IsRemotelyActivatedClientType2_Client/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/IsRemotelyActivatedClientType/makefile1 diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_IsRemotelyActivatedClientType1_Client/VB/remotingconfiguration_isremotelyactivatedclienttype1_client.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/IsRemotelyActivatedClientType/remotingconfiguration_isremotelyactivatedclienttype1_client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_IsRemotelyActivatedClientType1_Client/VB/remotingconfiguration_isremotelyactivatedclienttype1_client.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/IsRemotelyActivatedClientType/remotingconfiguration_isremotelyactivatedclienttype1_client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_IsRemotelyActivatedClientType2_Client/VB/remotingconfiguration_isremotelyactivatedclienttype2_client.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/IsRemotelyActivatedClientType/remotingconfiguration_isremotelyactivatedclienttype2_client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_IsRemotelyActivatedClientType2_Client/VB/remotingconfiguration_isremotelyactivatedclienttype2_client.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/IsRemotelyActivatedClientType/remotingconfiguration_isremotelyactivatedclienttype2_client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_IsWellKnownClientType1_Client/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/IsWellKnownClientType/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_IsWellKnownClientType1_Client/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/IsWellKnownClientType/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_IsWellKnownClientType2_Client/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/IsWellKnownClientType/makefile1 similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_IsWellKnownClientType2_Client/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/IsWellKnownClientType/makefile1 diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_IsWellKnownClientType1_Client/VB/remotingconfiguration_iswellknownclienttype1_client.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/IsWellKnownClientType/remotingconfiguration_iswellknownclienttype1_client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_IsWellKnownClientType1_Client/VB/remotingconfiguration_iswellknownclienttype1_client.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/IsWellKnownClientType/remotingconfiguration_iswellknownclienttype1_client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_IsWellKnownClientType2_Client/VB/remotingconfiguration_iswellknownclienttype2_client.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/IsWellKnownClientType/remotingconfiguration_iswellknownclienttype2_client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_IsWellKnownClientType2_Client/VB/remotingconfiguration_iswellknownclienttype2_client.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/IsWellKnownClientType/remotingconfiguration_iswellknownclienttype2_client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ClientActivation/VB/client.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/RegisterActivatedClientType/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ClientActivation/VB/client.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/RegisterActivatedClientType/client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ClientActivation/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/RegisterActivatedClientType/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ClientActivation/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/RegisterActivatedClientType/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ClientActivation/VB/server.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/RegisterActivatedClientType/server.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ClientActivation/VB/server.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/RegisterActivatedClientType/server.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ClientActivation/VB/service.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/RegisterActivatedClientType/service.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ClientActivation/VB/service.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/RegisterActivatedClientType/service.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.BasicSample/VB/basicclient.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/Connect/basicclient.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.BasicSample/VB/basicclient.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingServices/Connect/basicclient.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.BasicSample/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/Connect/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.BasicSample/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting/RemotingServices/Connect/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.BasicSample/VB/manualserver.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/Connect/manualserver.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.BasicSample/VB/manualserver.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingServices/Connect/manualserver.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.ExecuteMessage/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/ExecuteMessage/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.ExecuteMessage/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting/RemotingServices/ExecuteMessage/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.ExecuteMessage/VB/serviceclass.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/ExecuteMessage/serviceclass.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.ExecuteMessage/VB/serviceclass.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingServices/ExecuteMessage/serviceclass.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.TimerSample/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/GetLifetimeService/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.TimerSample/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting/RemotingServices/GetLifetimeService/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.TimerSample/VB/timerclient.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/GetLifetimeService/timerclient.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.TimerSample/VB/timerclient.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingServices/GetLifetimeService/timerclient.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.TimerSample/VB/timerserver.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/GetLifetimeService/timerserver.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.TimerSample/VB/timerserver.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingServices/GetLifetimeService/timerserver.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.TimerSample/VB/timerservice.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/GetLifetimeService/timerservice.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.TimerSample/VB/timerservice.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingServices/GetLifetimeService/timerservice.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.GetObjRefForProxy/VB/client.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/GetObjRefForProxy/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.GetObjRefForProxy/VB/client.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingServices/GetObjRefForProxy/client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.GetObjRefForProxy/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/GetObjRefForProxy/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.GetObjRefForProxy/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting/RemotingServices/GetObjRefForProxy/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.RemotingServices/VB/remotingservicessample.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/GetObjectUri/remotingservicessample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.RemotingServices/VB/remotingservicessample.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingServices/GetObjectUri/remotingservicessample.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices IsObject Snippets/VB/class1.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/IsObjectOutOfAppDomain/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingServices IsObject Snippets/VB/class1.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingServices/IsObjectOutOfAppDomain/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AsyncResult.NewExamples/VB/ad.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/IsTransparentProxy/ad.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AsyncResult.NewExamples/VB/ad.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingServices/IsTransparentProxy/ad.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.Unmarshal/VB/client.vb b/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/Unmarshal/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.Unmarshal/VB/client.vb rename to snippets/visualbasic/System.Runtime.Remoting/RemotingServices/Unmarshal/client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.Unmarshal/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/Unmarshal/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.Unmarshal/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting/RemotingServices/Unmarshal/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WellKnownClientTypeEntry_Client/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting/WellKnownClientTypeEntry/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WellKnownClientTypeEntry_Client/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting/WellKnownClientTypeEntry/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WellKnownClientTypeEntry_Client/VB/wellknownclienttypeentry_client.vb b/snippets/visualbasic/System.Runtime.Remoting/WellKnownClientTypeEntry/Overview/wellknownclienttypeentry_client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WellKnownClientTypeEntry_Client/VB/wellknownclienttypeentry_client.vb rename to snippets/visualbasic/System.Runtime.Remoting/WellKnownClientTypeEntry/Overview/wellknownclienttypeentry_client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WellKnownServiceTypeEntry_Server/VB/makefile b/snippets/visualbasic/System.Runtime.Remoting/WellKnownServiceTypeEntry/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WellKnownServiceTypeEntry_Server/VB/makefile rename to snippets/visualbasic/System.Runtime.Remoting/WellKnownServiceTypeEntry/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WellKnownServiceTypeEntry_Server/VB/wellknownservicetypeentry_server.vb b/snippets/visualbasic/System.Runtime.Remoting/WellKnownServiceTypeEntry/Overview/wellknownservicetypeentry_server.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WellKnownServiceTypeEntry_Server/VB/wellknownservicetypeentry_server.vb rename to snippets/visualbasic/System.Runtime.Remoting/WellKnownServiceTypeEntry/Overview/wellknownservicetypeentry_server.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapFormatter Example/VB/soapformatter.vb b/snippets/visualbasic/System.Runtime.Serialization.Formatters.Soap/SoapFormatter/Overview/soapformatter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapFormatter Example/VB/soapformatter.vb rename to snippets/visualbasic/System.Runtime.Serialization.Formatters.Soap/SoapFormatter/Overview/soapformatter.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic SerializationInfo.GetValue Example/VB/source.vb b/snippets/visualbasic/System.Runtime.Serialization/SerializationInfo/GetValue/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic SerializationInfo.GetValue Example/VB/source.vb rename to snippets/visualbasic/System.Runtime.Serialization/SerializationInfo/GetValue/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.versioning.frameworkname.operators/vb/Operators1.vb b/snippets/visualbasic/System.Runtime.Versioning/FrameworkName/op_Equality/Operators1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.versioning.frameworkname.operators/vb/Operators1.vb rename to snippets/visualbasic/System.Runtime.Versioning/FrameworkName/op_Equality/Operators1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.versioning.targetframeworkattribute/vb/declare1.vb b/snippets/visualbasic/System.Runtime.Versioning/TargetFrameworkAttribute/Overview/declare1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.versioning.targetframeworkattribute/vb/declare1.vb rename to snippets/visualbasic/System.Runtime.Versioning/TargetFrameworkAttribute/Overview/declare1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.versioning.targetframeworkattribute/vb/declare2.vb b/snippets/visualbasic/System.Runtime.Versioning/TargetFrameworkAttribute/Overview/declare2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.versioning.targetframeworkattribute/vb/declare2.vb rename to snippets/visualbasic/System.Runtime.Versioning/TargetFrameworkAttribute/Overview/declare2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/environment.IsServerGC/VB/isg.vb b/snippets/visualbasic/System.Runtime/GCSettings/IsServerGC/isg.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/environment.IsServerGC/VB/isg.vb rename to snippets/visualbasic/System.Runtime/GCSettings/IsServerGC/isg.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.AddAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.AddAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.RemoveAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.RemoveAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.RemoveAccessRuleAll/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRuleAll/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.RemoveAccessRuleAll/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRuleAll/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.RemoveAccessRuleSpecific/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRuleSpecific/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.RemoveAccessRuleSpecific/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRuleSpecific/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.ResetAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/ResetAccessRule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.ResetAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/ResetAccessRule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.SetAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/SetAccessRule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.SetAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/SetAccessRule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AccessControl.FileSystemAuditRule/vb/sample.vb b/snippets/visualbasic/System.Security.AccessControl/FileSystemAuditRule/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AccessControl.FileSystemAuditRule/vb/sample.vb rename to snippets/visualbasic/System.Security.AccessControl/FileSystemAuditRule/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.AddAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/MutexAccessRule/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.AddAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/MutexAccessRule/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.RemoveAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/MutexSecurity/RemoveAccessRule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.RemoveAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/MutexSecurity/RemoveAccessRule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.RemoveAccessRuleAll/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/MutexSecurity/RemoveAccessRuleAll/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.RemoveAccessRuleAll/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/MutexSecurity/RemoveAccessRuleAll/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.RemoveAccessRuleSpecific/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/MutexSecurity/RemoveAccessRuleSpecific/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.RemoveAccessRuleSpecific/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/MutexSecurity/RemoveAccessRuleSpecific/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.ResetAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/MutexSecurity/ResetAccessRule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.ResetAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/MutexSecurity/ResetAccessRule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.SetAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/MutexSecurity/SetAccessRule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.SetAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/MutexSecurity/SetAccessRule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.AddAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/RegistryAccessRule/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.AddAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/RegistryAccessRule/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistryAccessRule.ctor2/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/RegistryAccessRule/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistryAccessRule.ctor2/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/RegistryAccessRule/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.RemoveAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.RemoveAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.RemoveAccessRuleAll/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/RemoveAccessRuleAll/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.RemoveAccessRuleAll/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/RemoveAccessRuleAll/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.RemoveAccessRuleSpecific/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/RemoveAccessRuleSpecific/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.RemoveAccessRuleSpecific/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/RemoveAccessRuleSpecific/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.ResetAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/ResetAccessRule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.ResetAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/ResetAccessRule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.SetAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/SetAccessRule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.SetAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/SetAccessRule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.AddAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.AddAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.RemoveAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.RemoveAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.RemoveAccessRuleAll/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRuleAll/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.RemoveAccessRuleAll/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRuleAll/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.RemoveAccessRuleSpecific/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRuleSpecific/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.RemoveAccessRuleSpecific/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRuleSpecific/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.ResetAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/ResetAccessRule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.ResetAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/ResetAccessRule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.SetAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/SetAccessRule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.SetAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/SetAccessRule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/mpkcs_SignedCMS/vb/Program.vb b/snippets/visualbasic/System.Security.Cryptography.Pkcs/SignedCms/CheckSignature/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/mpkcs_SignedCMS/vb/Program.vb rename to snippets/visualbasic/System.Security.Cryptography.Pkcs/SignedCms/CheckSignature/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/storenames1.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/storenames1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/storenames1.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/storenames1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/x509store2.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/x509store2.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CertSelect/VB/certselect.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CertSelect/VB/certselect.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/Project.csproj b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Overview/Project.csproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/Project.csproj rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Overview/Project.csproj diff --git a/snippets/visualbasic/VS_Snippets_CLR/CertInfo/VB/certinfo.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Overview/certinfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CertInfo/VB/certinfo.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Overview/certinfo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/x509certificate2/vb/program.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/x509certificate2/vb/program.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/x509storename/vb/program.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/StoreName/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/x509storename/vb/program.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/StoreName/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X500DistinguishedName/VB/Project.vbproj b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X500DistinguishedName/VB/Project.vbproj rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X500DistinguishedName/VB/x500.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/x500.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X500DistinguishedName/VB/x500.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/x500.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Extensions/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Extensions/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Certificate.Import-Export/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/.ctor/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Certificate.Import-Export/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/.ctor/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.ToString Method/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/CreateFromCertFile/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/X509Certificate.ToString Method/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/CreateFromCertFile/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.Equals Method/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/Equals/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/X509Certificate.Equals Method/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/Equals/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetCertHash Method/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetCertHash/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetCertHash Method/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetCertHash/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetCertHashString Method/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetCertHashString/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetCertHashString Method/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetCertHashString/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetEffectiveDateString Method/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetEffectiveDateString/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetEffectiveDateString Method/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetEffectiveDateString/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetExpirationDateString Method/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetExpirationDateString/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetExpirationDateString Method/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetExpirationDateString/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetFormat Method/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetFormat/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetFormat Method/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetFormat/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetHashCode Method/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetHashCode/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetHashCode Method/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetHashCode/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetIssuerName Method/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetIssuerName/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetIssuerName Method/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetIssuerName/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetKeyAlgorithm Method/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetKeyAlgorithm/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetKeyAlgorithm Method/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetKeyAlgorithm/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetKeyAlgorithmParameters Method/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetKeyAlgorithmParameters/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetKeyAlgorithmParameters Method/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetKeyAlgorithmParameters/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetKeyAlgorithmParametersString/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetKeyAlgorithmParametersString/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetKeyAlgorithmParametersString/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetKeyAlgorithmParametersString/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetName Method/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetName/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetName Method/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetName/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetPublicKey Method/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetPublicKey/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetPublicKey Method/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetPublicKey/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetPublicKeyString Method/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetPublicKeyString/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetPublicKeyString Method/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetPublicKeyString/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetRawCertData Method/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetRawCertData/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetRawCertData Method/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetRawCertData/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetRawCertDataString Method/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetRawCertDataString/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetRawCertDataString Method/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetRawCertDataString/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetSerialNumber Method/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetSerialNumber/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetSerialNumber Method/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetSerialNumber/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetSerialNumberString Method/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetSerialNumberString/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetSerialNumberString Method/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetSerialNumberString/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Certificate.Import/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/Import/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Certificate.Import/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/Import/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Certificate/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/Overview/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Certificate/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/Overview/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/remarks.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/remarks.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb b/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb rename to snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/cryptography.Xml.EncryptedData2/VB/encrypteddata.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/CipherData/.ctor/encrypteddata.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/cryptography.Xml.EncryptedData2/VB/encrypteddata.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/CipherData/.ctor/encrypteddata.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/cryptography.Xml.CipherReference/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/CipherData/.ctor/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/cryptography.Xml.CipherReference/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/CipherData/.ctor/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/cryptgraphy.Xml.EncryptedData/VB/encrypteddata.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/CipherData/Overview/encrypteddata.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/cryptgraphy.Xml.EncryptedData/VB/encrypteddata.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/CipherData/Overview/encrypteddata.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CipherReference2/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/CipherReference/GetXml/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CipherReference2/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/CipherReference/GetXml/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.DSAKeyValue_Detached/VB/exampledetached.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampledetached.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.DSAKeyValue_Detached/VB/exampledetached.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampledetached.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.DSAKeyValue_Envelope/VB/exampleenvelope.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampleenvelope.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.DSAKeyValue_Envelope/VB/exampleenvelope.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampleenvelope.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/XMLDSIG Signing/VB/source.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/DataObject/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/XMLDSIG Signing/VB/source.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/DataObject/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/XMLDSIG Verification/VB/source.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/DataObject/Overview/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/XMLDSIG Verification/VB/source.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/DataObject/Overview/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.DataReference/vb/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/DataReference/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.DataReference/vb/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/DataReference/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedData/vb/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedData/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedData/vb/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedData/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedKey/vb/example.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedKey/Overview/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedKey/vb/example.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedKey/Overview/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML-EncryptedData - EncryptedType/vb/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedType/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML-EncryptedData - EncryptedType/vb/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedType/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecrypt/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/AddKeyNameMapping/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecrypt/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/AddKeyNameMapping/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.MainXMLEncDecryptDataOOP/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.MainXMLEncDecryptDataOOP/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncImbedKey/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncImbedKey/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMapKey/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMapKey/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMapKeyX509/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMapKeyX509/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecryptData/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecryptData/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/vb/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptionProperty/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/vb/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/EncryptionProperty/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlLicenseTransform/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/IRelDecryptor/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlLicenseTransform/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/IRelDecryptor/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.KeyInfoX509Data/vb/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfoX509Data/.ctor/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.KeyInfoX509Data/vb/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfoX509Data/.ctor/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.KeyInfoX509Data_Detached/VB/examplecreatedetached.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreatedetached.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.KeyInfoX509Data_Detached/VB/examplecreatedetached.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreatedetached.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.KeyInfoX509Data_Envelope/VB/examplecreateenvelope.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreateenvelope.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.KeyInfoX509Data_Envelope/VB/examplecreateenvelope.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreateenvelope.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.Keyreference/vb/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/KeyReference/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.Keyreference/vb/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/KeyReference/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.Signature - Envelope/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/Reference/.ctor/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.Signature - Envelope/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/Reference/.ctor/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/XMLDSIG - Signature - Detached/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/Signature/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/XMLDSIG - Signature - Detached/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/Signature/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml-AddObject-AddReference/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/AddObject/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml-AddObject-AddReference/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/AddObject/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-AsymetricAlg-Detached/VB/exampledetached.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/exampledetached.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-AsymetricAlg-Detached/VB/exampledetached.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/exampledetached.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Security.Cryptography.Xml.SignedXml.CheckSignature/vb/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Security.Cryptography.Xml.SignedXml.CheckSignature/vb/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-KeyedHash-Detached/VB/xmldsigdetachedkeyedhashalg.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigdetachedkeyedhashalg.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-KeyedHash-Detached/VB/xmldsigdetachedkeyedhashalg.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigdetachedkeyedhashalg.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-KeyedHash-Envelope/VB/xmldsigenvkeyedhashalg.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigenvkeyedhashalg.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-KeyedHash-Envelope/VB/xmldsigenvkeyedhashalg.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigenvkeyedhashalg.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXML_CheckReturnValue_Envelope/VB/exampleenvelope.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignatureReturningKey/exampleenvelope.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXML_CheckReturnValue_Envelope/VB/exampleenvelope.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignatureReturningKey/exampleenvelope.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-AsymetricAlg-Envelope/VB/exampleenvelope.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/Overview/exampleenvelope.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-AsymetricAlg-Envelope/VB/exampleenvelope.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/Overview/exampleenvelope.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.SignVerifyEnvelope - Specify Element/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.SignVerifyEnvelope - Specify Element/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigBase64Transform/VB/members.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigBase64Transform/VB/members.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigC14NTransform/VB/members.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigC14NTransform/VB/members.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform/VB/members.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform/VB/members.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlDsigExcC14NTransform/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigExcC14NTransformUrl/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlDsigExcC14NTransform/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigExcC14NTransformUrl/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlDsigExcC14NWithCommentsTransform/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigExcC14NWithCommentsTransformUrl/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlDsigExcC14NWithCommentsTransform/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigExcC14NWithCommentsTransformUrl/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXPathTransform/VB/members.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXPathTransform/VB/members.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXsltTransform/VB/members.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXsltTransform/VB/members.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.X509IssuerSerial/vb/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/X509IssuerSerial/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.X509IssuerSerial/vb/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/X509IssuerSerial/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.XmlDsigC14NWithCommentsTransform_Detached/VB/sampledetached.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampledetached.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.XmlDsigC14NWithCommentsTransform_Detached/VB/sampledetached.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampledetached.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.XmlDsigC14NWithCommentsTransform_Envelope/VB/sampleenvelope.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampleenvelope.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.XmlDsigC14NWithCommentsTransform_Envelope/VB/sampleenvelope.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampleenvelope.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlDsigXPathTransform/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigXPathTransform/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlDsigXPathTransform/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigXPathTransform/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlDsigXsltTransform/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigXsltTransform/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlDsigXsltTransform/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigXsltTransform/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/aessample/vb/program.vb b/snippets/visualbasic/System.Security.Cryptography/Aes/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/aessample/vb/program.vb rename to snippets/visualbasic/System.Security.Cryptography/Aes/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/aescryptoservprovider/vb/program.vb b/snippets/visualbasic/System.Security.Cryptography/AesCryptoServiceProvider/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/aescryptoservprovider/vb/program.vb rename to snippets/visualbasic/System.Security.Cryptography/AesCryptoServiceProvider/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/aesmanaged/vb/program.vb b/snippets/visualbasic/System.Security.Cryptography/AesManaged/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/aesmanaged/vb/program.vb rename to snippets/visualbasic/System.Security.Cryptography/AesManaged/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb b/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb rename to snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb b/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb rename to snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.AsymmetricKeyExchangeDeformatter/VB/contosodeformatter.vb b/snippets/visualbasic/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/contosodeformatter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.AsymmetricKeyExchangeDeformatter/VB/contosodeformatter.vb rename to snippets/visualbasic/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/contosodeformatter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.AsymmetricKeyExchangeDeformatter/VB/makefile b/snippets/visualbasic/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.AsymmetricKeyExchangeDeformatter/VB/makefile rename to snippets/visualbasic/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/VB/members.vb b/snippets/visualbasic/System.Security.Cryptography/CryptoAPITransform/Overview/members.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/VB/members.vb rename to snippets/visualbasic/System.Security.Cryptography/CryptoAPITransform/Overview/members.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoConfig/VB/members.vb b/snippets/visualbasic/System.Security.Cryptography/CryptoConfig/Overview/members.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoConfig/VB/members.vb rename to snippets/visualbasic/System.Security.Cryptography/CryptoConfig/Overview/members.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicException/VB/cryptographicexceptionmembers.vb b/snippets/visualbasic/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicException/VB/cryptographicexceptionmembers.vb rename to snippets/visualbasic/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicUnexpectedOperationException/VB/members.vb b/snippets/visualbasic/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicUnexpectedOperationException/VB/members.vb rename to snippets/visualbasic/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RsaCryptoServiceProvider.CspKeyContainerInfo/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.RsaCryptoServiceProvider.CspKeyContainerInfo/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.KeyNumber/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography/CspParameters/KeyNumber/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.KeyNumber/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography/CspParameters/KeyNumber/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/capikey/VB/capikey.vb b/snippets/visualbasic/System.Security.Cryptography/CspParameters/Overview/capikey.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/capikey/VB/capikey.vb rename to snippets/visualbasic/System.Security.Cryptography/CspParameters/Overview/capikey.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.SmartCardCSP/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography/CspParameters/Overview/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.SmartCardCSP/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography/CspParameters/Overview/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.DES.Create.File/VB/fileexample.vb b/snippets/visualbasic/System.Security.Cryptography/DES/Create/fileexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.DES.Create.File/VB/fileexample.vb rename to snippets/visualbasic/System.Security.Cryptography/DES/Create/fileexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.DES.Create.Memory/VB/memoryexample.vb b/snippets/visualbasic/System.Security.Cryptography/DES/Create/memoryexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.DES.Create.Memory/VB/memoryexample.vb rename to snippets/visualbasic/System.Security.Cryptography/DES/Create/memoryexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.DES.Create.File/VB/project.csproj b/snippets/visualbasic/System.Security.Cryptography/DES/Create/project.csproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.DES.Create.File/VB/project.csproj rename to snippets/visualbasic/System.Security.Cryptography/DES/Create/project.csproj diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.DESCSP.CreateEncryptor.File/VB/fileexample.vb b/snippets/visualbasic/System.Security.Cryptography/DESCryptoServiceProvider/CreateEncryptor/fileexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.DESCSP.CreateEncryptor.File/VB/fileexample.vb rename to snippets/visualbasic/System.Security.Cryptography/DESCryptoServiceProvider/CreateEncryptor/fileexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.DESCSP.CreateEncryptor.Memory/VB/memoryexample.vb b/snippets/visualbasic/System.Security.Cryptography/DESCryptoServiceProvider/CreateEncryptor/memoryexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.DESCSP.CreateEncryptor.Memory/VB/memoryexample.vb rename to snippets/visualbasic/System.Security.Cryptography/DESCryptoServiceProvider/CreateEncryptor/memoryexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureDeformatter/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography/DSASignatureDeformatter/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureDeformatter/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography/DSASignatureDeformatter/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureFormatter/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography/DSASignatureFormatter/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureFormatter/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography/DSASignatureFormatter/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.DataProtectionSample/vb/dataprotectionsample.vb b/snippets/visualbasic/System.Security.Cryptography/DataProtectionScope/Overview/dataprotectionsample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.DataProtectionSample/vb/dataprotectionsample.vb rename to snippets/visualbasic/System.Security.Cryptography/DataProtectionScope/Overview/dataprotectionsample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/cryptography.dataprotector/vb/class1.vb b/snippets/visualbasic/System.Security.Cryptography/DataProtector/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/cryptography.dataprotector/vb/class1.vb rename to snippets/visualbasic/System.Security.Cryptography/DataProtector/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/cryptography.memoryprotector/vb/class1.vb b/snippets/visualbasic/System.Security.Cryptography/DataProtector/Overview/class11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/cryptography.memoryprotector/vb/class1.vb rename to snippets/visualbasic/System.Security.Cryptography/DataProtector/Overview/class11.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ecdiffiehellmancng/vb/program.vb b/snippets/visualbasic/System.Security.Cryptography/ECDiffieHellmanCng/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ecdiffiehellmancng/vb/program.vb rename to snippets/visualbasic/System.Security.Cryptography/ECDiffieHellmanCng/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ecdsacng/vb/program.vb b/snippets/visualbasic/System.Security.Cryptography/ECDsaCng/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ecdsacng/vb/program.vb rename to snippets/visualbasic/System.Security.Cryptography/ECDsaCng/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.FromBase64Transform Example/VB/class1.vb b/snippets/visualbasic/System.Security.Cryptography/FromBase64Transform/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.FromBase64Transform Example/VB/class1.vb rename to snippets/visualbasic/System.Security.Cryptography/FromBase64Transform/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/HMACRIPEMD160/vb/hmacripemd160.vb b/snippets/visualbasic/System.Security.Cryptography/HMACRIPEMD160/Overview/hmacripemd160.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/HMACRIPEMD160/vb/hmacripemd160.vb rename to snippets/visualbasic/System.Security.Cryptography/HMACRIPEMD160/Overview/hmacripemd160.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/HMACSHA256/vb/hmacsha256.vb b/snippets/visualbasic/System.Security.Cryptography/HMACSHA256/Overview/hmacsha256.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/HMACSHA256/vb/hmacsha256.vb rename to snippets/visualbasic/System.Security.Cryptography/HMACSHA256/Overview/hmacsha256.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/HMACSHA384/vb/hmacsha384.vb b/snippets/visualbasic/System.Security.Cryptography/HMACSHA384/Overview/hmacsha384.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/HMACSHA384/vb/hmacsha384.vb rename to snippets/visualbasic/System.Security.Cryptography/HMACSHA384/Overview/hmacsha384.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/HMACSHA512/vb/hmacsha512.vb b/snippets/visualbasic/System.Security.Cryptography/HMACSHA512/Overview/hmacsha512.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/HMACSHA512/vb/hmacsha512.vb rename to snippets/visualbasic/System.Security.Cryptography/HMACSHA512/Overview/hmacsha512.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.HashAlgorithm.TransformFinalBlock/vb/sample.vb b/snippets/visualbasic/System.Security.Cryptography/HashAlgorithm/TransformBlock/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.HashAlgorithm.TransformFinalBlock/vb/sample.vb rename to snippets/visualbasic/System.Security.Cryptography/HashAlgorithm/TransformBlock/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeySizes/VB/members.vb b/snippets/visualbasic/System.Security.Cryptography/KeySizes/Overview/members.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeySizes/VB/members.vb rename to snippets/visualbasic/System.Security.Cryptography/KeySizes/Overview/members.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeyedHashAlgorithm/VB/contosokeyedhash.vb b/snippets/visualbasic/System.Security.Cryptography/KeyedHashAlgorithm/Key/contosokeyedhash.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeyedHashAlgorithm/VB/contosokeyedhash.vb rename to snippets/visualbasic/System.Security.Cryptography/KeyedHashAlgorithm/Key/contosokeyedhash.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeyedHashAlgorithm/VB/makefile b/snippets/visualbasic/System.Security.Cryptography/KeyedHashAlgorithm/Key/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeyedHashAlgorithm/VB/makefile rename to snippets/visualbasic/System.Security.Cryptography/KeyedHashAlgorithm/Key/makefile diff --git a/snippets/visualbasic/VS_Snippets_CLR/keyedhashalgorithm/vb/program.vb b/snippets/visualbasic/System.Security.Cryptography/KeyedHashAlgorithm/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/keyedhashalgorithm/vb/program.vb rename to snippets/visualbasic/System.Security.Cryptography/KeyedHashAlgorithm/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/MAC3DES/VB/program.vb b/snippets/visualbasic/System.Security.Cryptography/MACTripleDES/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/MAC3DES/VB/program.vb rename to snippets/visualbasic/System.Security.Cryptography/MACTripleDES/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.MaskGenerationMethod/VB/maskgenerator.vb b/snippets/visualbasic/System.Security.Cryptography/MaskGenerationMethod/Overview/maskgenerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.MaskGenerationMethod/VB/maskgenerator.vb rename to snippets/visualbasic/System.Security.Cryptography/MaskGenerationMethod/Overview/maskgenerator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.MemoryProtectionSample/vb/memoryprotectionsample.vb b/snippets/visualbasic/System.Security.Cryptography/MemoryProtectionScope/Overview/memoryprotectionsample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.MemoryProtectionSample/vb/memoryprotectionsample.vb rename to snippets/visualbasic/System.Security.Cryptography/MemoryProtectionScope/Overview/memoryprotectionsample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.Oid/VB/cryptography.oid.vb b/snippets/visualbasic/System.Security.Cryptography/Oid/Overview/cryptography.oid.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.Oid/VB/cryptography.oid.vb rename to snippets/visualbasic/System.Security.Cryptography/Oid/Overview/cryptography.oid.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.PasswordDerivedbytes/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography/PasswordDeriveBytes/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.PasswordDerivedbytes/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography/PasswordDeriveBytes/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RC2.Create.File/VB/fileexample.vb b/snippets/visualbasic/System.Security.Cryptography/RC2/Create/fileexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.RC2.Create.File/VB/fileexample.vb rename to snippets/visualbasic/System.Security.Cryptography/RC2/Create/fileexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RC2.Create.Memory/VB/memoryexample.vb b/snippets/visualbasic/System.Security.Cryptography/RC2/Create/memoryexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.RC2.Create.Memory/VB/memoryexample.vb rename to snippets/visualbasic/System.Security.Cryptography/RC2/Create/memoryexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RC2.Create.File/VB/project.csproj b/snippets/visualbasic/System.Security.Cryptography/RC2/Create/project.csproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.RC2.Create.File/VB/project.csproj rename to snippets/visualbasic/System.Security.Cryptography/RC2/Create/project.csproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RC2CryptoServiceProvider Example/VB/class1.vb b/snippets/visualbasic/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RC2CryptoServiceProvider Example/VB/class1.vb rename to snippets/visualbasic/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RC2CryptoServiceProvider/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography/RC2CryptoServiceProvider/UseSalt/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.RC2CryptoServiceProvider/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography/RC2CryptoServiceProvider/UseSalt/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/RIPEMD160/vb/ripemd160.vb b/snippets/visualbasic/System.Security.Cryptography/RIPEMD160/Overview/ripemd160.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/RIPEMD160/vb/ripemd160.vb rename to snippets/visualbasic/System.Security.Cryptography/RIPEMD160/Overview/ripemd160.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/RNGCSP/VB/rngcsp.vb b/snippets/visualbasic/System.Security.Cryptography/RNGCryptoServiceProvider/Overview/rngcsp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/RNGCSP/VB/rngcsp.vb rename to snippets/visualbasic/System.Security.Cryptography/RNGCryptoServiceProvider/Overview/rngcsp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.ctor-csp/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/.ctor/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.ctor-csp/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/.ctor/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.ctor-int32-2/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/.ctor/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.ctor-int32-2/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/.ctor/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.ctor-int32-csp/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/.ctor/example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.ctor-int32-csp/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/.ctor/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.Decrypt/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Decrypt/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.Decrypt/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Decrypt/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider.Encrypt/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Encrypt/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider.Encrypt/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Encrypt/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider.ImportParameters/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/ImportParameters/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider.ImportParameters/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/ImportParameters/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider.ExportParameters/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider.ExportParameters/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.PersistKey/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/PersistKeyInCsp/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.PersistKey/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/PersistKeyInCsp/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.SignData1/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/SignData/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.SignData1/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/SignData/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.SignData2/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/SignData/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.SignData2/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/SignData/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.SignData3/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/SignData/example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.SignData3/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/SignData/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.RSACryptoServiceProvider ManualHash Example/VB/class1.vb b/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/SignHash/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.RSACryptoServiceProvider ManualHash Example/VB/class1.vb rename to snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/SignHash/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.UseMachineKey/VB/example2.vb b/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/UseMachineKeyStore/example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.UseMachineKey/VB/example2.vb rename to snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/UseMachineKeyStore/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsaoaepkeyexchangedeformatter2/vb/program.vb b/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsaoaepkeyexchangedeformatter2/vb/program.vb rename to snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSAOAEPKeyExchangeDeformatter/VB/rsaencoder.vb b/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSAOAEPKeyExchangeDeformatter/VB/rsaencoder.vb rename to snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1keyexchangeformatter2/vb/program.vb b/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1keyexchangeformatter2/vb/program.vb rename to snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signaturedeformatterexample/vb/program.vb b/snippets/visualbasic/System.Security.Cryptography/RSAPKCS1SignatureDeformatter/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signaturedeformatterexample/vb/program.vb rename to snippets/visualbasic/System.Security.Cryptography/RSAPKCS1SignatureDeformatter/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signatureformatterexample/vb/program.vb b/snippets/visualbasic/System.Security.Cryptography/RSAPKCS1SignatureFormatter/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signatureformatterexample/vb/program.vb rename to snippets/visualbasic/System.Security.Cryptography/RSAPKCS1SignatureFormatter/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/rfc28981/vb/rfc28981.vb b/snippets/visualbasic/System.Security.Cryptography/Rfc2898DeriveBytes/Overview/rfc28981.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/rfc28981/vb/rfc28981.vb rename to snippets/visualbasic/System.Security.Cryptography/Rfc2898DeriveBytes/Overview/rfc28981.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/RijndaelManaged Example/VB/class1.vb b/snippets/visualbasic/System.Security.Cryptography/RijndaelManaged/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/RijndaelManaged Example/VB/class1.vb rename to snippets/visualbasic/System.Security.Cryptography/RijndaelManaged/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm/vb/encryptor.vb b/snippets/visualbasic/System.Security.Cryptography/SymmetricAlgorithm/CreateEncryptor/encryptor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm/vb/encryptor.vb rename to snippets/visualbasic/System.Security.Cryptography/SymmetricAlgorithm/CreateEncryptor/encryptor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm.blocksize/vb/program.vb b/snippets/visualbasic/System.Security.Cryptography/SymmetricAlgorithm/LegalBlockSizes/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm.blocksize/vb/program.vb rename to snippets/visualbasic/System.Security.Cryptography/SymmetricAlgorithm/LegalBlockSizes/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.ToBase64Transform/VB/members.vb b/snippets/visualbasic/System.Security.Cryptography/ToBase64Transform/Overview/members.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.ToBase64Transform/VB/members.vb rename to snippets/visualbasic/System.Security.Cryptography/ToBase64Transform/Overview/members.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.3DES.Create.File/VB/fileexample.vb b/snippets/visualbasic/System.Security.Cryptography/TripleDES/Overview/fileexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.3DES.Create.File/VB/fileexample.vb rename to snippets/visualbasic/System.Security.Cryptography/TripleDES/Overview/fileexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.3DES.Create.Memory/VB/memoryexample.vb b/snippets/visualbasic/System.Security.Cryptography/TripleDES/Overview/memoryexample.vb similarity index 99% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.3DES.Create.Memory/VB/memoryexample.vb rename to snippets/visualbasic/System.Security.Cryptography/TripleDES/Overview/memoryexample.vb index d8c539e0d8c..157c2f9cf13 100644 --- a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.3DES.Create.Memory/VB/memoryexample.vb +++ b/snippets/visualbasic/System.Security.Cryptography/TripleDES/Overview/memoryexample.vb @@ -3,7 +3,7 @@ Imports System.Security.Cryptography Imports System.Text Imports System.IO -Module TripleDESSample +Module MemorySample Sub Main() Try diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.3DES.Create.File/VB/project.vbproj b/snippets/visualbasic/System.Security.Cryptography/TripleDES/Overview/project.vbproj similarity index 72% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.3DES.Create.File/VB/project.vbproj rename to snippets/visualbasic/System.Security.Cryptography/TripleDES/Overview/project.vbproj index 9ab42fef7a0..fc3f09ab482 100644 --- a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.3DES.Create.File/VB/project.vbproj +++ b/snippets/visualbasic/System.Security.Cryptography/TripleDES/Overview/project.vbproj @@ -2,7 +2,7 @@ Library - net6.0 + net9.0 diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb b/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb rename to snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb b/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb rename to snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.IApplicationTrustManager/VB/customtrustmanager.vb b/snippets/visualbasic/System.Security.Policy/IApplicationTrustManager/Overview/customtrustmanager.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.IApplicationTrustManager/VB/customtrustmanager.vb rename to snippets/visualbasic/System.Security.Policy/IApplicationTrustManager/Overview/customtrustmanager.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.policy.policylevel/VB/policylevel.vb b/snippets/visualbasic/System.Security.Policy/PolicyLevel/Resolve/policylevel.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.policy.policylevel/VB/policylevel.vb rename to snippets/visualbasic/System.Security.Policy/PolicyLevel/Resolve/policylevel.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb b/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb rename to snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/VB/genericidentitymembers.vb b/snippets/visualbasic/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/VB/genericidentitymembers.vb rename to snippets/visualbasic/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericPrincipal2/VB/genericprincipalmembers.vb b/snippets/visualbasic/System.Security.Principal/GenericPrincipal/Overview/genericprincipalmembers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericPrincipal2/VB/genericprincipalmembers.vb rename to snippets/visualbasic/System.Security.Principal/GenericPrincipal/Overview/genericprincipalmembers.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb b/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb rename to snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsBuiltInRole Example/VB/source.vb b/snippets/visualbasic/System.Security.Principal/WindowsBuiltInRole/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsBuiltInRole Example/VB/source.vb rename to snippets/visualbasic/System.Security.Principal/WindowsBuiltInRole/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/WindowsIdentity Impersonation/VB/source.vb b/snippets/visualbasic/System.Security.Principal/WindowsIdentity/Impersonate/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/WindowsIdentity Impersonation/VB/source.vb rename to snippets/visualbasic/System.Security.Principal/WindowsIdentity/Impersonate/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/windowsidentity impersonation2/vb/source.vb b/snippets/visualbasic/System.Security.Principal/WindowsIdentity/Impersonate/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/windowsidentity impersonation2/vb/source.vb rename to snippets/visualbasic/System.Security.Principal/WindowsIdentity/Impersonate/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AllowPartiallyTrustedCallersAttribute/VB/allowpartiallytrustedcallersattribute.vb b/snippets/visualbasic/System.Security/AllowPartiallyTrustedCallersAttribute/Overview/allowpartiallytrustedcallersattribute.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AllowPartiallyTrustedCallersAttribute/VB/allowpartiallytrustedcallersattribute.vb rename to snippets/visualbasic/System.Security/AllowPartiallyTrustedCallersAttribute/Overview/allowpartiallytrustedcallersattribute.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.HostSecurityManager/VB/customsecuritymanager.vb b/snippets/visualbasic/System.Security/HostSecurityManager/Overview/customsecuritymanager.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.HostSecurityManager/VB/customsecuritymanager.vb rename to snippets/visualbasic/System.Security/HostSecurityManager/Overview/customsecuritymanager.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Permission/vb/permission.vb b/snippets/visualbasic/System.Security/ISecurityEncodable/Overview/permission.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Permission/vb/permission.vb rename to snippets/visualbasic/System.Security/ISecurityEncodable/Overview/permission.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareOptions.Values/VB/Project.vbproj b/snippets/visualbasic/System.Security/SecureString/AppendChar/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareOptions.Values/VB/Project.vbproj rename to snippets/visualbasic/System.Security/SecureString/AppendChar/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR/SecureString.xAt/VB/xat.vb b/snippets/visualbasic/System.Security/SecureString/AppendChar/xat.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/SecureString.xAt/VB/xat.vb rename to snippets/visualbasic/System.Security/SecureString/AppendChar/xat.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/SecureString.xChar/VB/xchar.vb b/snippets/visualbasic/System.Security/SecureString/AppendChar/xchar.vb similarity index 96% rename from snippets/visualbasic/VS_Snippets_CLR/SecureString.xChar/VB/xchar.vb rename to snippets/visualbasic/System.Security/SecureString/AppendChar/xchar.vb index 7a632482bf1..8c475a55569 100644 --- a/snippets/visualbasic/VS_Snippets_CLR/SecureString.xChar/VB/xchar.vb +++ b/snippets/visualbasic/System.Security/SecureString/AppendChar/xchar.vb @@ -1,7 +1,7 @@ ' Imports System.Security -Class Example +Class ExampleClass Public Shared Sub Main() Dim cki As ConsoleKeyInfo Dim m As String = vbCrLf & "Enter your password (up to 15 letters, numbers, and underscores)" & @@ -21,10 +21,10 @@ Class Example left = Console.CursorLeft ' Read user input from the console. Store up to 15 letter, digit, or underscore - ' characters in a SecureString object, or delete a character if the user enters - ' a backspace. Display an asterisk (*) on the console to represent each character + ' characters in a SecureString object, or delete a character if the user enters + ' a backspace. Display an asterisk (*) on the console to represent each character ' that is stored. - + Do cki = Console.ReadKey(True) If cki.Key = ConsoleKey.Escape Then Exit Do @@ -57,4 +57,4 @@ End Class ' Press BACKSPACE to delete the last character entered. ' Press Enter when done, or ESCAPE to quit: ' ************ -' \ No newline at end of file +' diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecureString.Ctor/vb/Ctor3.vb b/snippets/visualbasic/System.Security/SecureString/Overview/Ctor3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecureString.Ctor/vb/Ctor3.vb rename to snippets/visualbasic/System.Security/SecureString/Overview/Ctor3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecureString.Ctor/vb/ctor2.vb b/snippets/visualbasic/System.Security/SecureString/Overview/ctor2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecureString.Ctor/vb/ctor2.vb rename to snippets/visualbasic/System.Security/SecureString/Overview/ctor2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecureString.Ctor/vb/ctor4.vb b/snippets/visualbasic/System.Security/SecureString/Overview/ctor4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecureString.Ctor/vb/ctor4.vb rename to snippets/visualbasic/System.Security/SecureString/Overview/ctor4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/SecurityElementMembers/VB/Form1.vb b/snippets/visualbasic/System.Security/SecurityElement/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/SecurityElementMembers/VB/Form1.vb rename to snippets/visualbasic/System.Security/SecurityElement/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.security.securityelement/vb/remarks.vb b/snippets/visualbasic/System.Security/SecurityElement/SearchForTextOfTag/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.security.securityelement/vb/remarks.vb rename to snippets/visualbasic/System.Security/SecurityElement/SearchForTextOfTag/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecurityException/VB/form1.vb b/snippets/visualbasic/System.Security/SecurityException/.ctor/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecurityException/VB/form1.vb rename to snippets/visualbasic/System.Security/SecurityException/.ctor/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.securityexception.class/vb/se_ex1.vb b/snippets/visualbasic/System.Security/SecurityException/Overview/se_ex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.securityexception.class/vb/se_ex1.vb rename to snippets/visualbasic/System.Security/SecurityException/Overview/se_ex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ServiceController/VB/servicecontroller.vb b/snippets/visualbasic/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ServiceController/VB/servicecontroller.vb rename to snippets/visualbasic/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ServiceContoller_ExecuteCommand/VB/module1.vb b/snippets/visualbasic/System.ServiceProcess/ServiceController/ExecuteCommand/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ServiceContoller_ExecuteCommand/VB/module1.vb rename to snippets/visualbasic/System.ServiceProcess/ServiceController/ExecuteCommand/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ServiceControllerClass/VB/program.vb b/snippets/visualbasic/System.ServiceProcess/ServiceController/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ServiceControllerClass/VB/program.vb rename to snippets/visualbasic/System.ServiceProcess/ServiceController/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ServiceProcess_serviceinstaller/VB/service1.vb b/snippets/visualbasic/System.ServiceProcess/ServiceInstaller/Description/service1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ServiceProcess_serviceinstaller/VB/service1.vb rename to snippets/visualbasic/System.ServiceProcess/ServiceInstaller/Description/service1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ServiceBase_Commands/VB/simpleservice.vb b/snippets/visualbasic/System.ServiceProcess/SessionChangeDescription/Overview/simpleservice.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ServiceBase_Commands/VB/simpleservice.vb rename to snippets/visualbasic/System.ServiceProcess/SessionChangeDescription/Overview/simpleservice.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.capture.class/vb/example1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Capture/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.capture.class/vb/example1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Capture/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.capture.value/vb/value1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Capture/Value/value1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.capture.value/vb/value1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Capture/Value/value1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.capturecollection/vb/capturecollectionex1.vb b/snippets/visualbasic/System.Text.RegularExpressions/CaptureCollection/Overview/capturecollectionex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.capturecollection/vb/capturecollectionex1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/CaptureCollection/Overview/capturecollectionex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.group.captures/vb/captures1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Group/Captures/captures1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.group.captures/vb/captures1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Group/Captures/captures1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.group.captures/vb/captures2.vb b/snippets/visualbasic/System.Text.RegularExpressions/Group/Captures/captures2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.group.captures/vb/captures2.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Group/Captures/captures2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.group.class/vb/groupandcaptures1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Group/Overview/groupandcaptures1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.group.class/vb/groupandcaptures1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Group/Overview/groupandcaptures1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.groupcollection.copyto/vb/copyto1.vb b/snippets/visualbasic/System.Text.RegularExpressions/GroupCollection/CopyTo/copyto1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.groupcollection.copyto/vb/copyto1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/GroupCollection/CopyTo/copyto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.groupcollection.item/vb/item2.vb b/snippets/visualbasic/System.Text.RegularExpressions/GroupCollection/Item/item2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.groupcollection.item/vb/item2.vb rename to snippets/visualbasic/System.Text.RegularExpressions/GroupCollection/Item/item2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.groupcollection.item/vb/item3.vb b/snippets/visualbasic/System.Text.RegularExpressions/GroupCollection/Item/item3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.groupcollection.item/vb/item3.vb rename to snippets/visualbasic/System.Text.RegularExpressions/GroupCollection/Item/item3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.GroupCollection/vb/Example1.vb b/snippets/visualbasic/System.Text.RegularExpressions/GroupCollection/Overview/Example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.GroupCollection/vb/Example1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/GroupCollection/Overview/Example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.match.groups/vb/groups1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Match/Groups/groups1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.match.groups/vb/groups1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Match/Groups/groups1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/regex match, nextmatch, groups, captures/vb/snippet8.vb b/snippets/visualbasic/System.Text.RegularExpressions/Match/Groups/snippet8.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/regex match, nextmatch, groups, captures/vb/snippet8.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Match/Groups/snippet8.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.match.nextmatch/vb/nextmatch1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Match/NextMatch/nextmatch1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.match.nextmatch/vb/nextmatch1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Match/NextMatch/nextmatch1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Match.Class/vb/Match1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Match/Overview/Match1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Match.Class/vb/Match1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Match/Overview/Match1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Match.Class/vb/Match2.vb b/snippets/visualbasic/System.Text.RegularExpressions/Match/Overview/Match2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Match.Class/vb/Match2.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Match/Overview/Match2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Match.Class/vb/Match3.vb b/snippets/visualbasic/System.Text.RegularExpressions/Match/Overview/Match3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Match.Class/vb/Match3.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Match/Overview/Match3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.match.result/vb/result1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Match/Result/result1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.match.result/vb/result1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Match/Result/result1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.matchcollection.count/vb/countex1.vb b/snippets/visualbasic/System.Text.RegularExpressions/MatchCollection/Count/countex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.matchcollection.count/vb/countex1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/MatchCollection/Count/countex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.MatchCollection.Item/vb/RegEx_24804.vb b/snippets/visualbasic/System.Text.RegularExpressions/MatchCollection/Item/RegEx_24804.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.MatchCollection.Item/vb/RegEx_24804.vb rename to snippets/visualbasic/System.Text.RegularExpressions/MatchCollection/Item/RegEx_24804.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Regex_Words/VB/words.vb b/snippets/visualbasic/System.Text.RegularExpressions/MatchCollection/Overview/words.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Regex_Words/VB/words.vb rename to snippets/visualbasic/System.Text.RegularExpressions/MatchCollection/Overview/words.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.MatchEvaluator/VB/regexreplace.vb b/snippets/visualbasic/System.Text.RegularExpressions/MatchEvaluator/Overview/regexreplace.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.MatchEvaluator/VB/regexreplace.vb rename to snippets/visualbasic/System.Text.RegularExpressions/MatchEvaluator/Overview/regexreplace.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Constructors/vb/Constructors2.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/.ctor/Constructors2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Constructors/vb/Constructors2.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/.ctor/Constructors2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Constructors/vb/constructors1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/.ctor/constructors1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Constructors/vb/constructors1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/.ctor/constructors1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ctor/vb/ctor1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/.ctor/ctor1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ctor/vb/ctor1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/.ctor/ctor1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/Compile1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/Compile1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/Compile2.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/Compile2.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/Compile3.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/Compile3.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/compiletoassembly1.vbproj b/snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/compiletoassembly1.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/compiletoassembly1.vbproj rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/compiletoassembly1.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/compiletoassembly2.vbproj b/snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/compiletoassembly2.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/compiletoassembly2.vbproj rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/compiletoassembly2.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/compiletoassembly3.vbproj b/snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/compiletoassembly3.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/compiletoassembly3.vbproj rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/compiletoassembly3.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Escape/vb/Escape1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Escape/Escape1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Escape/vb/Escape1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Escape/Escape1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Escape/vb/Escape3.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Escape/Escape3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Escape/vb/Escape3.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Escape/Escape3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.getgroupnames/vb/getgroupnames1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/GetGroupNames/getgroupnames1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.getgroupnames/vb/getgroupnames1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/GetGroupNames/getgroupnames1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.getgroupnumbers/vb/getgroupnumbers1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/GetGroupNumbers/getgroupnumbers1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.getgroupnumbers/vb/getgroupnumbers1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/GetGroupNumbers/getgroupnumbers1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.groupnamefromnumber/vb/groupnamefromnumberex.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/GroupNameFromNumber/groupnamefromnumberex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.groupnamefromnumber/vb/groupnamefromnumberex.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/GroupNameFromNumber/groupnamefromnumberex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch2.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch2.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch3.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch3.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch4.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch4.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch5.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch5.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.match/vb/match1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Match/match1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.match/vb/match1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Match/match1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.match/vb/match2.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Match/match2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.match/vb/match2.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Match/match2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matchtimeout/vb/regexmatchtimeout1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/MatchTimeout/regexmatchtimeout1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matchtimeout/vb/regexmatchtimeout1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/MatchTimeout/regexmatchtimeout1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/emptymatches1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/emptymatches1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/emptymatches1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/emptymatches1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches2.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches2.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches3.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches3.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches4.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches4.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches5.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches5.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matchespattern.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matchespattern.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matchespattern.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matchespattern.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace12.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace12.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace12.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace12.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace13.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace13.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace13.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace13.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace3.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace3.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace4.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace4.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace5.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace5.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace6.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace6.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace7.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace7.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replaceexample5.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replaceexample5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replaceexample5.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replaceexample5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replaceexample6.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replaceexample6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replaceexample6.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replaceexample6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replaceexample7.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replaceexample7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replaceexample7.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replaceexample7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replaceexample8.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replaceexample8.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replaceexample8.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replaceexample8.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replaceexample9.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replaceexample9.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replaceexample9.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replaceexample9.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Regex.Replace-Instance/vb/sample.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Regex.Replace-Instance/vb/sample.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/syntax1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/syntax1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/syntax1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/syntax1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split11.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split11.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split11.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split12.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split12.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split12.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split12.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split13.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split13.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split13.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split13.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split14.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split14.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split14.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split14.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split2.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split2.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split21.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split21.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split21.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split21.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split22.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split22.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split22.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split22.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split23.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split23.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split23.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split23.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split24.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split24.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split24.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split24.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split25.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split25.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split25.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split25.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split26.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split26.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split26.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split26.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split4.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split4.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split5.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split5.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split6.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split6.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split8.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split8.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split8.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split8.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split9.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split9.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split9.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split9.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/vb/example1.vb b/snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/vb/example1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/vb/example1a.vb b/snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1a.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/vb/example1a.vb rename to snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1a.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.txt.rgxCompInfo/vb/genFishRegex.vb b/snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/genFishRegex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.txt.rgxCompInfo/vb/genFishRegex.vb rename to snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/genFishRegex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.txt.rgxCompInfo/vb/useFishRegex.vb b/snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/useFishRegex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.txt.rgxCompInfo/vb/useFishRegex.vb rename to snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/useFishRegex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexmatchtimeoutexception/vb/class1.vb b/snippets/visualbasic/System.Text.RegularExpressions/RegexMatchTimeoutException/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexmatchtimeoutexception/vb/class1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/RegexMatchTimeoutException/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.RegexOptions/vb/RegexOptions.vb b/snippets/visualbasic/System.Text.RegularExpressions/RegexOptions/Overview/RegexOptions.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.RegexOptions/vb/RegexOptions.vb rename to snippets/visualbasic/System.Text.RegularExpressions/RegexOptions/Overview/RegexOptions.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.ctor Example/VB/ctor.vb b/snippets/visualbasic/System.Text/ASCIIEncoding/.ctor/ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.ctor Example/VB/ctor.vb rename to snippets/visualbasic/System.Text/ASCIIEncoding/.ctor/ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetByteCount1 Example/VB/getbytecount-char[]-int32-int32.vb b/snippets/visualbasic/System.Text/ASCIIEncoding/GetByteCount/getbytecount-char[]-int32-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetByteCount1 Example/VB/getbytecount-char[]-int32-int32.vb rename to snippets/visualbasic/System.Text/ASCIIEncoding/GetByteCount/getbytecount-char[]-int32-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetByteCount2 Example/VB/getbytecount-string.vb b/snippets/visualbasic/System.Text/ASCIIEncoding/GetByteCount/getbytecount-string.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetByteCount2 Example/VB/getbytecount-string.vb rename to snippets/visualbasic/System.Text/ASCIIEncoding/GetByteCount/getbytecount-string.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetBytes2/VB/getbytes-char[]-int32-int32-byte[]-int32.vb b/snippets/visualbasic/System.Text/ASCIIEncoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetBytes2/VB/getbytes-char[]-int32-int32-byte[]-int32.vb rename to snippets/visualbasic/System.Text/ASCIIEncoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetBytes1 Example/VB/getbytes-string-int32-int32-byte[]-int32.vb b/snippets/visualbasic/System.Text/ASCIIEncoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetBytes1 Example/VB/getbytes-string-int32-int32-byte[]-int32.vb rename to snippets/visualbasic/System.Text/ASCIIEncoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb b/snippets/visualbasic/System.Text/ASCIIEncoding/GetCharCount/getcharcount-byte[]-int32-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb rename to snippets/visualbasic/System.Text/ASCIIEncoding/GetCharCount/getcharcount-byte[]-int32-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb b/snippets/visualbasic/System.Text/ASCIIEncoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb rename to snippets/visualbasic/System.Text/ASCIIEncoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb b/snippets/visualbasic/System.Text/ASCIIEncoding/GetMaxByteCount/getmaxbytecount-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb rename to snippets/visualbasic/System.Text/ASCIIEncoding/GetMaxByteCount/getmaxbytecount-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb b/snippets/visualbasic/System.Text/ASCIIEncoding/GetMaxCharCount/getmaxcharcount-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb rename to snippets/visualbasic/System.Text/ASCIIEncoding/GetMaxCharCount/getmaxcharcount-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetString1 Example/VB/getstring-byte[].vb b/snippets/visualbasic/System.Text/ASCIIEncoding/GetString/getstring-byte[].vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetString1 Example/VB/getstring-byte[].vb rename to snippets/visualbasic/System.Text/ASCIIEncoding/GetString/getstring-byte[].vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding Example/VB/snippet.vb b/snippets/visualbasic/System.Text/ASCIIEncoding/Overview/snippet.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding Example/VB/snippet.vb rename to snippets/visualbasic/System.Text/ASCIIEncoding/Overview/snippet.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Decoder.ctor Example/VB/ctor.vb b/snippets/visualbasic/System.Text/Decoder/.ctor/ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Decoder.ctor Example/VB/ctor.vb rename to snippets/visualbasic/System.Text/Decoder/.ctor/ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.txt.EncoderDecoder.convert/vb/edCvt.vb b/snippets/visualbasic/System.Text/Decoder/Convert/edCvt.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.txt.EncoderDecoder.convert/vb/edCvt.vb rename to snippets/visualbasic/System.Text/Decoder/Convert/edCvt.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Decoder.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb b/snippets/visualbasic/System.Text/Decoder/GetCharCount/getcharcount-byte[]-int32-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Decoder.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb rename to snippets/visualbasic/System.Text/Decoder/GetCharCount/getcharcount-byte[]-int32-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Decoder.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb b/snippets/visualbasic/System.Text/Decoder/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Decoder.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb rename to snippets/visualbasic/System.Text/Decoder/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackDecExc/vb/fallDecExc.vb b/snippets/visualbasic/System.Text/DecoderExceptionFallback/Overview/fallDecExc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackDecExc/vb/fallDecExc.vb rename to snippets/visualbasic/System.Text/DecoderExceptionFallback/Overview/fallDecExc.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackDecRpl/vb/fallDecRpl.vb b/snippets/visualbasic/System.Text/DecoderReplacementFallback/Overview/fallDecRpl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackDecRpl/vb/fallDecRpl.vb rename to snippets/visualbasic/System.Text/DecoderReplacementFallback/Overview/fallDecRpl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder.ctor Example/VB/ctor.vb b/snippets/visualbasic/System.Text/Encoder/.ctor/ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder.ctor Example/VB/ctor.vb rename to snippets/visualbasic/System.Text/Encoder/.ctor/ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder.GetByteCount Example/VB/getbytecount-char[]-int32-int32.vb b/snippets/visualbasic/System.Text/Encoder/GetByteCount/getbytecount-char[]-int32-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder.GetByteCount Example/VB/getbytecount-char[]-int32-int32.vb rename to snippets/visualbasic/System.Text/Encoder/GetByteCount/getbytecount-char[]-int32-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder.GetBytes Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb b/snippets/visualbasic/System.Text/Encoder/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder.GetBytes Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb rename to snippets/visualbasic/System.Text/Encoder/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder Example/VB/snippet.vb b/snippets/visualbasic/System.Text/Encoder/Overview/snippet.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder Example/VB/snippet.vb rename to snippets/visualbasic/System.Text/Encoder/Overview/snippet.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackEncExc/vb/fallEncExc.vb b/snippets/visualbasic/System.Text/EncoderExceptionFallback/Overview/fallEncExc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackEncExc/vb/fallEncExc.vb rename to snippets/visualbasic/System.Text/EncoderExceptionFallback/Overview/fallEncExc.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackEncRpl/vb/fallEncRpl.vb b/snippets/visualbasic/System.Text/EncoderReplacementFallback/Overview/fallEncRpl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackEncRpl/vb/fallEncRpl.vb rename to snippets/visualbasic/System.Text/EncoderReplacementFallback/Overview/fallEncRpl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.ASCII Example/VB/ascii.vb b/snippets/visualbasic/System.Text/Encoding/ASCII/ascii.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.ASCII Example/VB/ascii.vb rename to snippets/visualbasic/System.Text/Encoding/ASCII/ascii.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.ascii/vb/encoding.ascii2.vb b/snippets/visualbasic/System.Text/Encoding/ASCII/encoding.ascii2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.ascii/vb/encoding.ascii2.vb rename to snippets/visualbasic/System.Text/Encoding/ASCII/encoding.ascii2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.BigEndianUnicode/VB/bigendianunicode.vb b/snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/bigendianunicode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.BigEndianUnicode/VB/bigendianunicode.vb rename to snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/bigendianunicode.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.BigEndianUnicode/VB/bigendianunicode1.vb b/snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/bigendianunicode1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.BigEndianUnicode/VB/bigendianunicode1.vb rename to snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/bigendianunicode1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetBytes_CharArr/VB/getbytes_chararr.vb b/snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetBytes_CharArr/VB/getbytes_chararr.vb rename to snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Names/VB/names.vb b/snippets/visualbasic/System.Text/Encoding/BodyName/names.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Names/VB/names.vb rename to snippets/visualbasic/System.Text/Encoding/BodyName/names.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Equals/VB/equals.vb b/snippets/visualbasic/System.Text/Encoding/Equals/equals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Equals/VB/equals.vb rename to snippets/visualbasic/System.Text/Encoding/Equals/equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetBytes_CharArrIC/VB/getbytes_chararric.vb b/snippets/visualbasic/System.Text/Encoding/GetByteCount/getbytes_chararric.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetBytes_CharArrIC/VB/getbytes_chararric.vb rename to snippets/visualbasic/System.Text/Encoding/GetByteCount/getbytes_chararric.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetBytes_String/VB/getbytes_string.vb b/snippets/visualbasic/System.Text/Encoding/GetByteCount/getbytes_string.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetBytes_String/VB/getbytes_string.vb rename to snippets/visualbasic/System.Text/Encoding/GetByteCount/getbytes_string.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetChars/VB/getchars.vb b/snippets/visualbasic/System.Text/Encoding/GetCharCount/getchars.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetChars/VB/getchars.vb rename to snippets/visualbasic/System.Text/Encoding/GetCharCount/getchars.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetCharsIC/VB/getcharsic.vb b/snippets/visualbasic/System.Text/Encoding/GetCharCount/getcharsic.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetCharsIC/VB/getcharsic.vb rename to snippets/visualbasic/System.Text/Encoding/GetCharCount/getcharsic.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.IsProps/VB/isprops.vb b/snippets/visualbasic/System.Text/Encoding/GetEncodings/isprops.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.IsProps/VB/isprops.vb rename to snippets/visualbasic/System.Text/Encoding/GetEncodings/isprops.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetPreamble Example/VB/preamble.vb b/snippets/visualbasic/System.Text/Encoding/GetPreamble/preamble.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetPreamble Example/VB/preamble.vb rename to snippets/visualbasic/System.Text/Encoding/GetPreamble/preamble.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetString/VB/getstring1.vb b/snippets/visualbasic/System.Text/Encoding/GetString/getstring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetString/VB/getstring1.vb rename to snippets/visualbasic/System.Text/Encoding/GetString/getstring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetString/VB/getstring2.vb b/snippets/visualbasic/System.Text/Encoding/GetString/getstring2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetString/VB/getstring2.vb rename to snippets/visualbasic/System.Text/Encoding/GetString/getstring2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Convert Example/VB/convert.vb b/snippets/visualbasic/System.Text/Encoding/Overview/convert.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Convert Example/VB/convert.vb rename to snippets/visualbasic/System.Text/Encoding/Overview/convert.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.utf32/vb/encoding.utf32.1.vb b/snippets/visualbasic/System.Text/Encoding/UTF32/encoding.utf32.1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.utf32/vb/encoding.utf32.1.vb rename to snippets/visualbasic/System.Text/Encoding/UTF32/encoding.utf32.1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.utf8/vb/encoding.utf8.1.vb b/snippets/visualbasic/System.Text/Encoding/UTF8/encoding.utf8.1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.utf8/vb/encoding.utf8.1.vb rename to snippets/visualbasic/System.Text/Encoding/UTF8/encoding.utf8.1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.utf8/vb/example1.vb b/snippets/visualbasic/System.Text/Encoding/UTF8/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.utf8/vb/example1.vb rename to snippets/visualbasic/System.Text/Encoding/UTF8/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.unicode/vb/unicode1.vb b/snippets/visualbasic/System.Text/Encoding/Unicode/unicode1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.unicode/vb/unicode1.vb rename to snippets/visualbasic/System.Text/Encoding/Unicode/unicode1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.WebName/VB/webname.vb b/snippets/visualbasic/System.Text/Encoding/WebName/webname.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.WebName/VB/webname.vb rename to snippets/visualbasic/System.Text/Encoding/WebName/webname.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.CodePage/VB/codepage.vb b/snippets/visualbasic/System.Text/Encoding/WindowsCodePage/codepage.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.CodePage/VB/codepage.vb rename to snippets/visualbasic/System.Text/Encoding/WindowsCodePage/codepage.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.EncodingInfo/VB/encodinginfo.vb b/snippets/visualbasic/System.Text/EncodingInfo/Overview/encodinginfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.EncodingInfo/VB/encodinginfo.vb rename to snippets/visualbasic/System.Text/EncodingInfo/Overview/encodinginfo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.StringBuilder.Constructors/VB/Form1.vb b/snippets/visualbasic/System.Text/StringBuilder/.ctor/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.StringBuilder.Constructors/VB/Form1.vb rename to snippets/visualbasic/System.Text/StringBuilder/.ctor/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.StringBuilder.Append/vb/append2.vb b/snippets/visualbasic/System.Text/StringBuilder/Append/append2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.StringBuilder.Append/vb/append2.vb rename to snippets/visualbasic/System.Text/StringBuilder/Append/append2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.StringBuilder.Append/vb/append3.vb b/snippets/visualbasic/System.Text/StringBuilder/Append/append3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.StringBuilder.Append/vb/append3.vb rename to snippets/visualbasic/System.Text/StringBuilder/Append/append3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.StringBuilder.Append/vb/append4.vb b/snippets/visualbasic/System.Text/StringBuilder/Append/append4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.StringBuilder.Append/vb/append4.vb rename to snippets/visualbasic/System.Text/StringBuilder/Append/append4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.stringbuilder.appendformat/vb/appendformat1.vb b/snippets/visualbasic/System.Text/StringBuilder/AppendFormat/appendformat1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.stringbuilder.appendformat/vb/appendformat1.vb rename to snippets/visualbasic/System.Text/StringBuilder/AppendFormat/appendformat1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.stringbuilder.appendformat/vb/appendformat2.vb b/snippets/visualbasic/System.Text/StringBuilder/AppendFormat/appendformat2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.stringbuilder.appendformat/vb/appendformat2.vb rename to snippets/visualbasic/System.Text/StringBuilder/AppendFormat/appendformat2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.stringbuilder.appendformat/vb/appendformat3.vb b/snippets/visualbasic/System.Text/StringBuilder/AppendFormat/appendformat3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.stringbuilder.appendformat/vb/appendformat3.vb rename to snippets/visualbasic/System.Text/StringBuilder/AppendFormat/appendformat3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/stringbuilder.appendformat/VB/appfmt.vb b/snippets/visualbasic/System.Text/StringBuilder/AppendFormat/appfmt.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/stringbuilder.appendformat/VB/appfmt.vb rename to snippets/visualbasic/System.Text/StringBuilder/AppendFormat/appfmt.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.stringbuilder.appendformat/vb/customernumberformatter1.vb b/snippets/visualbasic/System.Text/StringBuilder/AppendFormat/customernumberformatter1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.stringbuilder.appendformat/vb/customernumberformatter1.vb rename to snippets/visualbasic/System.Text/StringBuilder/AppendFormat/customernumberformatter1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/stringbuilder.appendline/VB/al.vb b/snippets/visualbasic/System.Text/StringBuilder/AppendLine/al.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/stringbuilder.appendline/VB/al.vb rename to snippets/visualbasic/System.Text/StringBuilder/AppendLine/al.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/stringbuilder.ensurecapacity/VB/cap.vb b/snippets/visualbasic/System.Text/StringBuilder/Capacity/cap.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/stringbuilder.ensurecapacity/VB/cap.vb rename to snippets/visualbasic/System.Text/StringBuilder/Capacity/cap.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.stringbuilder.chars/vb/chars1.vb b/snippets/visualbasic/System.Text/StringBuilder/Chars/chars1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.stringbuilder.chars/vb/chars1.vb rename to snippets/visualbasic/System.Text/StringBuilder/Chars/chars1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.stringbuilder.clear/vb/clear1.vb b/snippets/visualbasic/System.Text/StringBuilder/Clear/clear1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.stringbuilder.clear/vb/clear1.vb rename to snippets/visualbasic/System.Text/StringBuilder/Clear/clear1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/stringbuilder.copyto2/VB/ct2.vb b/snippets/visualbasic/System.Text/StringBuilder/CopyTo/ct2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/stringbuilder.copyto2/VB/ct2.vb rename to snippets/visualbasic/System.Text/StringBuilder/CopyTo/ct2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/stringbuilder.insert/VB/insert.vb b/snippets/visualbasic/System.Text/StringBuilder/Insert/insert.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/stringbuilder.insert/VB/insert.vb rename to snippets/visualbasic/System.Text/StringBuilder/Insert/insert.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/StringBuilder/VB/StringBuilder.vb b/snippets/visualbasic/System.Text/StringBuilder/Overview/StringBuilder.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/StringBuilder/VB/StringBuilder.vb rename to snippets/visualbasic/System.Text/StringBuilder/Overview/StringBuilder.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/stringbuilder.remove/VB/remove.vb b/snippets/visualbasic/System.Text/StringBuilder/Remove/remove.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/stringbuilder.remove/VB/remove.vb rename to snippets/visualbasic/System.Text/StringBuilder/Remove/remove.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/stringbuilder.replace/VB/replace.vb b/snippets/visualbasic/System.Text/StringBuilder/Replace/replace.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/stringbuilder.replace/VB/replace.vb rename to snippets/visualbasic/System.Text/StringBuilder/Replace/replace.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetPreamble/VB/GetPreamble.vb b/snippets/visualbasic/System.Text/UTF32Encoding/.ctor/GetPreamble.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetPreamble/VB/GetPreamble.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/.ctor/GetPreamble.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetPreamble/VB/getpreamble1.vb b/snippets/visualbasic/System.Text/UTF32Encoding/.ctor/getpreamble1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetPreamble/VB/getpreamble1.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/.ctor/getpreamble1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.Equals/VB/equals.vb b/snippets/visualbasic/System.Text/UTF32Encoding/Equals/equals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.Equals/VB/equals.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/Equals/equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getbytecount/vb/getbytecount1.vb b/snippets/visualbasic/System.Text/UTF32Encoding/GetByteCount/getbytecount1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getbytecount/vb/getbytecount1.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/GetByteCount/getbytecount1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getbytecount/vb/getbytecount2.vb b/snippets/visualbasic/System.Text/UTF32Encoding/GetByteCount/getbytecount2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getbytecount/vb/getbytecount2.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/GetByteCount/getbytecount2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetBytes_CharArr/VB/GetBytes_CharArr.vb b/snippets/visualbasic/System.Text/UTF32Encoding/GetBytes/GetBytes_CharArr.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetBytes_CharArr/VB/GetBytes_CharArr.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/GetBytes/GetBytes_CharArr.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetBytes_String/VB/GetBytes_String.vb b/snippets/visualbasic/System.Text/UTF32Encoding/GetBytes/GetBytes_String.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetBytes_String/VB/GetBytes_String.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/GetBytes/GetBytes_String.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetChars/VB/GetChars.vb b/snippets/visualbasic/System.Text/UTF32Encoding/GetCharCount/GetChars.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetChars/VB/GetChars.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/GetCharCount/GetChars.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.EncDec/VB/EncDec.vb b/snippets/visualbasic/System.Text/UTF32Encoding/GetDecoder/EncDec.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.EncDec/VB/EncDec.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/GetDecoder/EncDec.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getstring/VB/GetString.vb b/snippets/visualbasic/System.Text/UTF32Encoding/GetString/GetString.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getstring/VB/GetString.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/GetString/GetString.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getstring/VB/GetString1.vb b/snippets/visualbasic/System.Text/UTF32Encoding/GetString/GetString1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getstring/VB/GetString1.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/GetString/GetString1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.ErrorDetection/VB/ErrorDetection.vb b/snippets/visualbasic/System.Text/UTF32Encoding/Overview/ErrorDetection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.ErrorDetection/VB/ErrorDetection.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/Overview/ErrorDetection.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.class/vb/bom1.vb b/snippets/visualbasic/System.Text/UTF32Encoding/Overview/bom1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.class/vb/bom1.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/Overview/bom1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.class/vb/snippet.vb b/snippets/visualbasic/System.Text/UTF32Encoding/Overview/snippet.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.class/vb/snippet.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/Overview/snippet.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.ctor2 Example/VB/ctor-boolean.vb b/snippets/visualbasic/System.Text/UTF7Encoding/.ctor/ctor-boolean.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.ctor2 Example/VB/ctor-boolean.vb rename to snippets/visualbasic/System.Text/UTF7Encoding/.ctor/ctor-boolean.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.ctor1 Example/VB/ctor.vb b/snippets/visualbasic/System.Text/UTF7Encoding/.ctor/ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.ctor1 Example/VB/ctor.vb rename to snippets/visualbasic/System.Text/UTF7Encoding/.ctor/ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetByteCount Example/VB/getbytecount-char[]-int32-int32.vb b/snippets/visualbasic/System.Text/UTF7Encoding/GetByteCount/getbytecount-char[]-int32-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetByteCount Example/VB/getbytecount-char[]-int32-int32.vb rename to snippets/visualbasic/System.Text/UTF7Encoding/GetByteCount/getbytecount-char[]-int32-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetBytes Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb b/snippets/visualbasic/System.Text/UTF7Encoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetBytes Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb rename to snippets/visualbasic/System.Text/UTF7Encoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb b/snippets/visualbasic/System.Text/UTF7Encoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb rename to snippets/visualbasic/System.Text/UTF7Encoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetDecoder Example/VB/getdecoder-.vb b/snippets/visualbasic/System.Text/UTF7Encoding/GetDecoder/getdecoder-.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetDecoder Example/VB/getdecoder-.vb rename to snippets/visualbasic/System.Text/UTF7Encoding/GetDecoder/getdecoder-.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetEncoder Example/VB/getencoder-.vb b/snippets/visualbasic/System.Text/UTF7Encoding/GetEncoder/getencoder-.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetEncoder Example/VB/getencoder-.vb rename to snippets/visualbasic/System.Text/UTF7Encoding/GetEncoder/getencoder-.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb b/snippets/visualbasic/System.Text/UTF7Encoding/GetMaxByteCount/getmaxbytecount-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb rename to snippets/visualbasic/System.Text/UTF7Encoding/GetMaxByteCount/getmaxbytecount-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb b/snippets/visualbasic/System.Text/UTF7Encoding/GetMaxCharCount/getmaxcharcount-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb rename to snippets/visualbasic/System.Text/UTF7Encoding/GetMaxCharCount/getmaxcharcount-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.getstring/VB/getstring.vb b/snippets/visualbasic/System.Text/UTF7Encoding/GetString/getstring.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.getstring/VB/getstring.vb rename to snippets/visualbasic/System.Text/UTF7Encoding/GetString/getstring.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding Example/VB/snippet.vb b/snippets/visualbasic/System.Text/UTF7Encoding/Overview/snippet.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding Example/VB/snippet.vb rename to snippets/visualbasic/System.Text/UTF7Encoding/Overview/snippet.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.ctor3 Example/VB/ctor-boolean-boolean.vb b/snippets/visualbasic/System.Text/UTF8Encoding/.ctor/ctor-boolean-boolean.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.ctor3 Example/VB/ctor-boolean-boolean.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/.ctor/ctor-boolean-boolean.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.ctor2 Example/VB/ctor-boolean.vb b/snippets/visualbasic/System.Text/UTF8Encoding/.ctor/ctor-boolean.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.ctor2 Example/VB/ctor-boolean.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/.ctor/ctor-boolean.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.ctor1 Example/VB/ctor.vb b/snippets/visualbasic/System.Text/UTF8Encoding/.ctor/ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.ctor1 Example/VB/ctor.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/.ctor/ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.Equals Example/VB/equals-object.vb b/snippets/visualbasic/System.Text/UTF8Encoding/Equals/equals-object.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.Equals Example/VB/equals-object.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/Equals/equals-object.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getbytecount/vb/getbytecount1.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetByteCount/getbytecount1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getbytecount/vb/getbytecount1.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetByteCount/getbytecount1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getbytecount/vb/getbytecount2.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetByteCount/getbytecount2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getbytecount/vb/getbytecount2.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetByteCount/getbytecount2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetBytes1 Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetBytes1 Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetBytes3 Example/VB/getbytes-string-int32-int32-byte[]-int32.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetBytes3 Example/VB/getbytes-string-int32-int32-byte[]-int32.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetCharCount/getcharcount-byte[]-int32-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetCharCount/getcharcount-byte[]-int32-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetDecoder Example/VB/getdecoder-.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetDecoder/getdecoder-.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetDecoder Example/VB/getdecoder-.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetDecoder/getdecoder-.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetEncoder Example/VB/getencoder-.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetEncoder/getencoder-.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetEncoder Example/VB/getencoder-.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetEncoder/getencoder-.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetHashCode Example/VB/gethashcode-.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetHashCode/gethashcode-.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetHashCode Example/VB/gethashcode-.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetHashCode/gethashcode-.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetMaxByteCount/getmaxbytecount-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetMaxByteCount/getmaxbytecount-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetMaxCharCount/getmaxcharcount-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetMaxCharCount/getmaxcharcount-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetPreamble Example/VB/getpreamble-.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetPreamble/getpreamble-.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetPreamble Example/VB/getpreamble-.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetPreamble/getpreamble-.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getpreamble/vb/getpreamble1.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetPreamble/getpreamble1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getpreamble/vb/getpreamble1.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetPreamble/getpreamble1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding Example/VB/bom1.vb b/snippets/visualbasic/System.Text/UTF8Encoding/Overview/bom1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding Example/VB/bom1.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/Overview/bom1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding Example/VB/snippet.vb b/snippets/visualbasic/System.Text/UTF8Encoding/Overview/snippet.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding Example/VB/snippet.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/Overview/snippet.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.ctor2 Example/VB/ctor-boolean-boolean.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/.ctor/ctor-boolean-boolean.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.ctor2 Example/VB/ctor-boolean-boolean.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/.ctor/ctor-boolean-boolean.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.ctor Example/VB/ctor.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/.ctor/ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.ctor Example/VB/ctor.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/.ctor/ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.ErrorDetection/VB/errordetection.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/.ctor/errordetection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.ErrorDetection/VB/errordetection.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/.ctor/errordetection.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.CharSize Example/VB/charsize.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/CharSize/charsize.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.CharSize Example/VB/charsize.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/CharSize/charsize.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.unicodeencoding.getbytecount/vb/getbytecount1.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetByteCount/getbytecount1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.unicodeencoding.getbytecount/vb/getbytecount1.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetByteCount/getbytecount1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.unicodeencoding.getbytecount/vb/getbytecount2.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetByteCount/getbytecount2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.unicodeencoding.getbytecount/vb/getbytecount2.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetByteCount/getbytecount2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetBytes1 Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetBytes1 Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetBytes3 Example/VB/getbytes-string-int32-int32-byte[]-int32.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetBytes3 Example/VB/getbytes-string-int32-int32-byte[]-int32.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetCharCount/getcharcount-byte[]-int32-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetCharCount/getcharcount-byte[]-int32-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.EncDec/VB/encdec.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetDecoder/encdec.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.EncDec/VB/encdec.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetDecoder/encdec.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetMaxByteCount/getmaxbytecount-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetMaxByteCount/getmaxbytecount-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetMaxCharCount/getmaxcharcount-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetMaxCharCount/getmaxcharcount-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Text.UnicodeEncoding.GetPreamble/vb/GetPreamble1.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetPreamble/GetPreamble1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Text.UnicodeEncoding.GetPreamble/vb/GetPreamble1.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetPreamble/GetPreamble1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetPreamble Example/VB/getpreamble-.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetPreamble/getpreamble-.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetPreamble Example/VB/getpreamble-.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetPreamble/getpreamble-.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getstring/vb/getstring1.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetString/getstring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getstring/vb/getstring1.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetString/getstring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding Example/VB/bom1.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/Overview/bom1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding Example/VB/bom1.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/Overview/bom1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding Example/VB/snippet.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/Overview/snippet.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding Example/VB/snippet.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/Overview/snippet.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/break1.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/For/break1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/break1.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/For/break1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel.for/vb/for1.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/For/for1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel.for/vb/for1.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/For/for1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/stop1.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/For/stop1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/stop1.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/For/stop1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel.foreach/vb/foreach1.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/ForEachTSource/foreach1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel.foreach/vb/foreach1.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/ForEachTSource/foreach1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel_rangepartitioners/vb/rangepart.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/ForEachTSource/rangepart.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel_rangepartitioners/vb/rangepart.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/ForEachTSource/rangepart.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelfor.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelfor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelfor.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelfor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelforcancel.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelforcancel.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelforcancel.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelforcancel.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelforeach.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelforeach.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelforeach.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelforeach.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelforwithscheduler.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelforwithscheduler.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelforwithscheduler.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelforwithscheduler.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelintro.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelintro.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelintro.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelintro.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelinvoke.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelinvoke.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelinvoke.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelinvoke.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/threadlocalforwithoptions.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/threadlocalforwithoptions.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/threadlocalforwithoptions.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/threadlocalforwithoptions.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run11.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run11.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run11.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run28.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run28.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run28.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run28.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run7.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run7.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run9.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run9.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run9.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run9.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/ctor1.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/ctor1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/ctor1.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/ctor1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run2.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run2.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/run3.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/run3.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run3.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run31.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run3.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run31.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/run4.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/run4.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run4.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run41.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run4.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run41.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run5.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run5.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run6.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run6.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/startnew3.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/startnew3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/startnew3.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/startnew3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.continuewith/vb/continuewith1.vb b/snippets/visualbasic/System.Threading.Tasks/Task/ContinueWith/continuewith1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.continuewith/vb/continuewith1.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/ContinueWith/continuewith1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/continuationoptions.vb b/snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/continuationoptions.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/continuationoptions.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/continuationoptions.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/continuationsimple.vb b/snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/continuationsimple.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/continuationsimple.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/continuationsimple.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/continuewhenmulti.vb b/snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/continuewhenmulti.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/continuewhenmulti.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/continuewhenmulti.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/waitall.vb b/snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/waitall.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/waitall.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/waitall.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay1.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay1.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay2.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay2.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay3.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay3.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay4.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay4.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay5.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay5.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.factory/vb/factory1.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Factory/factory1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.factory/vb/factory1.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Factory/factory1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.factory/vb/factory2.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Factory/factory2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.factory/vb/factory2.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Factory/factory2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.fromresult/vb/fromresult1.vb b/snippets/visualbasic/System.Threading.Tasks/Task/FromExceptionTResult/fromresult1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.fromresult/vb/fromresult1.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/FromExceptionTResult/fromresult1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.runsynchronously/vb/runsynchronously1.vb b/snippets/visualbasic/System.Threading.Tasks/Task/RunSynchronously/runsynchronously1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.runsynchronously/vb/runsynchronously1.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/RunSynchronously/runsynchronously1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.start/vb/Start1.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Start/Start1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.start/vb/Start1.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Start/Start1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/Wait5.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Wait/Wait5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/Wait5.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Wait/Wait5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/Wait6.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Wait/Wait6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/Wait6.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Wait/Wait6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/wait1.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Wait/wait1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/wait1.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Wait/wait1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/wait3.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Wait/wait3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/wait3.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Wait/wait3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/wait4.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Wait/wait4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/wait4.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Wait/wait4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Tasks.Task.WaitAny/vb/WaitAny1.vb b/snippets/visualbasic/System.Threading.Tasks/Task/WaitAny/WaitAny1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Tasks.Task.WaitAny/vb/WaitAny1.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/WaitAny/WaitAny1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.whenall/vb/WhenAll3.vb b/snippets/visualbasic/System.Threading.Tasks/Task/WhenAll/WhenAll3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.whenall/vb/WhenAll3.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/WhenAll/WhenAll3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.whenall/vb/WhenAll4.vb b/snippets/visualbasic/System.Threading.Tasks/Task/WhenAll/WhenAll4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.whenall/vb/WhenAll4.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/WhenAll/WhenAll4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.whenall/vb/whenall1.vb b/snippets/visualbasic/System.Threading.Tasks/Task/WhenAll/whenall1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.whenall/vb/whenall1.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/WhenAll/whenall1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.whenall/vb/whenall2.vb b/snippets/visualbasic/System.Threading.Tasks/Task/WhenAll/whenall2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.whenall/vb/whenall2.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/WhenAll/whenall2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskcompletionsource/vb/taskcompletionsource.vb b/snippets/visualbasic/System.Threading.Tasks/TaskCompletionSourceTResult/Overview/taskcompletionsource.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskcompletionsource/vb/taskcompletionsource.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskCompletionSourceTResult/Overview/taskcompletionsource.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskextensions/vb/unwrap.vb b/snippets/visualbasic/System.Threading.Tasks/TaskExtensions/Unwrap/unwrap.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskextensions/vb/unwrap.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskExtensions/Unwrap/unwrap.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.continuewhenall/vb/continuewhenall1.vb b/snippets/visualbasic/System.Threading.Tasks/TaskFactory/ContinueWhenAll/continuewhenall1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.continuewhenall/vb/continuewhenall1.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskFactory/ContinueWhenAll/continuewhenall1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.continuewhenall/vb/continuewhenall2.vb b/snippets/visualbasic/System.Threading.Tasks/TaskFactory/ContinueWhenAll/continuewhenall2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.continuewhenall/vb/continuewhenall2.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskFactory/ContinueWhenAll/continuewhenall2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew1.vb b/snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew1.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew2.vb b/snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew2.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew3.vb b/snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew3.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew4.vb b/snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew4.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1.continuewith/vb/continue1.vb b/snippets/visualbasic/System.Threading.Tasks/TaskTResult/ContinueWith/continue1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1.continuewith/vb/continue1.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskTResult/ContinueWith/continue1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1.continuewith/vb/continue2.vb b/snippets/visualbasic/System.Threading.Tasks/TaskTResult/ContinueWith/continue2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1.continuewith/vb/continue2.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskTResult/ContinueWith/continue2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1.continuewith/vb/continuewith3.vb b/snippets/visualbasic/System.Threading.Tasks/TaskTResult/ContinueWith/continuewith3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1.continuewith/vb/continuewith3.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskTResult/ContinueWith/continuewith3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1/vb/run1.vb b/snippets/visualbasic/System.Threading.Tasks/TaskTResult/Overview/run1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1/vb/run1.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskTResult/Overview/run1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1/vb/startnew1.vb b/snippets/visualbasic/System.Threading.Tasks/TaskTResult/Overview/startnew1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1/vb/startnew1.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskTResult/Overview/startnew1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.AbandonedMutexException/VB/koax.vb b/snippets/visualbasic/System.Threading/AbandonedMutexException/Overview/koax.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.AbandonedMutexException/VB/koax.vb rename to snippets/visualbasic/System.Threading/AbandonedMutexException/Overview/koax.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.ApartmentState/VB/source.vb b/snippets/visualbasic/System.Threading/ApartmentState/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.ApartmentState/VB/source.vb rename to snippets/visualbasic/System.Threading/ApartmentState/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.asynclocal/vb/Example1.vb b/snippets/visualbasic/System.Threading/AsyncLocalT/Overview/Example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.asynclocal/vb/Example1.vb rename to snippets/visualbasic/System.Threading/AsyncLocalT/Overview/Example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.AutoResetEvent/VB/class1.vb b/snippets/visualbasic/System.Threading/AutoResetEvent/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.AutoResetEvent/VB/class1.vb rename to snippets/visualbasic/System.Threading/AutoResetEvent/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.AutoResetEvent/VB/simplerisbetter.vb b/snippets/visualbasic/System.Threading/AutoResetEvent/Overview/simplerisbetter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.AutoResetEvent/VB/simplerisbetter.vb rename to snippets/visualbasic/System.Threading/AutoResetEvent/Overview/simplerisbetter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.barrier/vb/barrier.vb b/snippets/visualbasic/System.Threading/Barrier/Overview/barrier.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.barrier/vb/barrier.vb rename to snippets/visualbasic/System.Threading/Barrier/Overview/barrier.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Tasks.CancellationToken.IsCancellationRequested/vb/cancelthreads.vb b/snippets/visualbasic/System.Threading/CancellationToken/IsCancellationRequested/cancelthreads.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Tasks.CancellationToken.IsCancellationRequested/vb/cancelthreads.vb rename to snippets/visualbasic/System.Threading/CancellationToken/IsCancellationRequested/cancelthreads.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.cancellationtokensource.class/vb/cancel1.vb b/snippets/visualbasic/System.Threading/CancellationToken/Overview/cancel1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.cancellationtokensource.class/vb/cancel1.vb rename to snippets/visualbasic/System.Threading/CancellationToken/Overview/cancel1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.countdownevent/vb/countdownevent.vb b/snippets/visualbasic/System.Threading/CountdownEvent/Overview/countdownevent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.countdownevent/vb/countdownevent.vb rename to snippets/visualbasic/System.Threading/CountdownEvent/Overview/countdownevent.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.SignalAndWait/VB/source.vb b/snippets/visualbasic/System.Threading/EventResetMode/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.SignalAndWait/VB/source.vb rename to snippets/visualbasic/System.Threading/EventResetMode/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.EventWaitHandle.ctor named 5/VB/source.vb b/snippets/visualbasic/System.Threading/EventWaitHandle/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.EventWaitHandle.ctor named 5/VB/source.vb rename to snippets/visualbasic/System.Threading/EventWaitHandle/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange Double/vb/source.vb b/snippets/visualbasic/System.Threading/Interlocked/CompareExchange/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange Double/vb/source.vb rename to snippets/visualbasic/System.Threading/Interlocked/CompareExchange/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange Single/vb/source.vb b/snippets/visualbasic/System.Threading/Interlocked/CompareExchange/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange Single/vb/source.vb rename to snippets/visualbasic/System.Threading/Interlocked/CompareExchange/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange0/VB/source.vb b/snippets/visualbasic/System.Threading/Interlocked/CompareExchange/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange0/VB/source.vb rename to snippets/visualbasic/System.Threading/Interlocked/CompareExchange/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.interlocked.decrement/vb/decrement1.vb b/snippets/visualbasic/System.Threading/Interlocked/Decrement/decrement1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.interlocked.decrement/vb/decrement1.vb rename to snippets/visualbasic/System.Threading/Interlocked/Decrement/decrement1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.interlocked.decrement/vb/decrement2.vb b/snippets/visualbasic/System.Threading/Interlocked/Decrement/decrement2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.interlocked.decrement/vb/decrement2.vb rename to snippets/visualbasic/System.Threading/Interlocked/Decrement/decrement2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.interlocked.increment2/vb/Increment3.vb b/snippets/visualbasic/System.Threading/Interlocked/Increment/Increment3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.interlocked.increment2/vb/Increment3.vb rename to snippets/visualbasic/System.Threading/Interlocked/Increment/Increment3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.interlocked.increment2/vb/Increment4.vb b/snippets/visualbasic/System.Threading/Interlocked/Increment/Increment4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.interlocked.increment2/vb/Increment4.vb rename to snippets/visualbasic/System.Threading/Interlocked/Increment/Increment4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked.Exchange Int32 Example/VB/class1.vb b/snippets/visualbasic/System.Threading/Interlocked/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked.Exchange Int32 Example/VB/class1.vb rename to snippets/visualbasic/System.Threading/Interlocked/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb b/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb rename to snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionException/vb/source.vb b/snippets/visualbasic/System.Threading/LockRecursionException/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionException/vb/source.vb rename to snippets/visualbasic/System.Threading/LockRecursionException/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionPolicy/vb/ClassExample1.vb b/snippets/visualbasic/System.Threading/LockRecursionPolicy/Overview/ClassExample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionPolicy/vb/ClassExample1.vb rename to snippets/visualbasic/System.Threading/LockRecursionPolicy/Overview/ClassExample1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionPolicy/vb/source.vb b/snippets/visualbasic/System.Threading/LockRecursionPolicy/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionPolicy/vb/source.vb rename to snippets/visualbasic/System.Threading/LockRecursionPolicy/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ManualResetEvent/VB/source.vb b/snippets/visualbasic/System.Threading/ManualResetEvent/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ManualResetEvent/VB/source.vb rename to snippets/visualbasic/System.Threading/ManualResetEvent/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.manualreseteventslim/vb/mres.vb b/snippets/visualbasic/System.Threading/ManualResetEventSlim/Overview/mres.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.manualreseteventslim/vb/mres.vb rename to snippets/visualbasic/System.Threading/ManualResetEventSlim/Overview/mres.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.monitor.enter/vb/example.vb b/snippets/visualbasic/System.Threading/Monitor/Enter/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.monitor.enter/vb/example.vb rename to snippets/visualbasic/System.Threading/Monitor/Enter/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/MonitorExmpl2/VB/monitor2.vb b/snippets/visualbasic/System.Threading/Monitor/Enter/monitor2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/MonitorExmpl2/VB/monitor2.vb rename to snippets/visualbasic/System.Threading/Monitor/Enter/monitor2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Monitor.TryEnter/vb/pattern1.vb b/snippets/visualbasic/System.Threading/Monitor/TryEnter/pattern1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Monitor.TryEnter/vb/pattern1.vb rename to snippets/visualbasic/System.Threading/Monitor/TryEnter/pattern1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex 1Arg Ctor Example/VB/class1.vb b/snippets/visualbasic/System.Threading/Mutex/.ctor/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex 1Arg Ctor Example/VB/class1.vb rename to snippets/visualbasic/System.Threading/Mutex/.ctor/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex 2Arg Ctor Example/VB/class1.vb b/snippets/visualbasic/System.Threading/Mutex/.ctor/class11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex 2Arg Ctor Example/VB/class1.vb rename to snippets/visualbasic/System.Threading/Mutex/.ctor/class11.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex 3Arg Ctor Example/VB/class1.vb b/snippets/visualbasic/System.Threading/Mutex/.ctor/class12.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex 3Arg Ctor Example/VB/class1.vb rename to snippets/visualbasic/System.Threading/Mutex/.ctor/class12.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex Default Ctor Example/VB/class1.vb b/snippets/visualbasic/System.Threading/Mutex/.ctor/class13.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex Default Ctor Example/VB/class1.vb rename to snippets/visualbasic/System.Threading/Mutex/.ctor/class13.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex.ctor named 4/VB/source.vb b/snippets/visualbasic/System.Threading/Mutex/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex.ctor named 4/VB/source.vb rename to snippets/visualbasic/System.Threading/Mutex/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.mutex.class/vb/example1.vb b/snippets/visualbasic/System.Threading/Mutex/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.mutex.class/vb/example1.vb rename to snippets/visualbasic/System.Threading/Mutex/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.mutex.class/vb/example2.vb b/snippets/visualbasic/System.Threading/Mutex/Overview/example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.mutex.class/vb/example2.vb rename to snippets/visualbasic/System.Threading/Mutex/Overview/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ParameterizedThreadStart/VB/source.vb b/snippets/visualbasic/System.Threading/ParameterizedThreadStart/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ParameterizedThreadStart/VB/source.vb rename to snippets/visualbasic/System.Threading/ParameterizedThreadStart/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock.IsWriterLockHeld/VB/source.vb b/snippets/visualbasic/System.Threading/ReaderWriterLock/IsReaderLockHeld/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock.IsWriterLockHeld/VB/source.vb rename to snippets/visualbasic/System.Threading/ReaderWriterLock/IsReaderLockHeld/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/classexample1.vb b/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/classexample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/classexample1.vb rename to snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/classexample1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb b/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb rename to snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb b/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb rename to snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool RegisterWaitForSingleObject0/VB/source.vb b/snippets/visualbasic/System.Threading/RegisteredWaitHandle/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool RegisterWaitForSingleObject0/VB/source.vb rename to snippets/visualbasic/System.Threading/RegisteredWaitHandle/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 3/VB/source.vb b/snippets/visualbasic/System.Threading/Semaphore/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 3/VB/source.vb rename to snippets/visualbasic/System.Threading/Semaphore/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 4/VB/source.vb b/snippets/visualbasic/System.Threading/Semaphore/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 4/VB/source.vb rename to snippets/visualbasic/System.Threading/Semaphore/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 5a/VB/source.vb b/snippets/visualbasic/System.Threading/Semaphore/.ctor/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 5a/VB/source.vb rename to snippets/visualbasic/System.Threading/Semaphore/.ctor/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore2/VB/source.vb b/snippets/visualbasic/System.Threading/Semaphore/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore2/VB/source.vb rename to snippets/visualbasic/System.Threading/Semaphore/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.SemaphoreFullException/VB/source.vb b/snippets/visualbasic/System.Threading/SemaphoreFullException/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.SemaphoreFullException/VB/source.vb rename to snippets/visualbasic/System.Threading/SemaphoreFullException/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.semaphoreslim/vb/example.vb b/snippets/visualbasic/System.Threading/SemaphoreSlim/Overview/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.semaphoreslim/vb/example.vb rename to snippets/visualbasic/System.Threading/SemaphoreSlim/Overview/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.spinlock/vb/spinlock.vb b/snippets/visualbasic/System.Threading/SpinLock/Overview/spinlock.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.spinlock/vb/spinlock.vb rename to snippets/visualbasic/System.Threading/SpinLock/Overview/spinlock.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.spinwait/vb/reset.vb b/snippets/visualbasic/System.Threading/SpinWait/Overview/reset.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.spinwait/vb/reset.vb rename to snippets/visualbasic/System.Threading/SpinWait/Overview/reset.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.spinwait/vb/spinwait.vb b/snippets/visualbasic/System.Threading/SpinWait/Overview/spinwait.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.spinwait/vb/spinwait.vb rename to snippets/visualbasic/System.Threading/SpinWait/Overview/spinwait.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.ctor/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.ctor/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.ctor2/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.ctor2/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Abort2/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/Abort/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Abort2/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/Abort/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DataSlot/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DataSlot/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DoNotUseDataSlots/vb/source.vb b/snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DoNotUseDataSlots/vb/source.vb rename to snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.NamedDataSlot/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/AllocateNamedDataSlot/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.NamedDataSlot/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/AllocateNamedDataSlot/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.BeginCriticalRegion/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/BeginCriticalRegion/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.BeginCriticalRegion/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/BeginCriticalRegion/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.BeginThreadAffinity/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/BeginThreadAffinity/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.BeginThreadAffinity/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/BeginThreadAffinity/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Culture/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/CurrentCulture/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Culture/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/CurrentCulture/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.CurrentPrincipal/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/CurrentPrincipal/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.CurrentPrincipal/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/CurrentPrincipal/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.currentthread/vb/currentthread2.vb b/snippets/visualbasic/System.Threading/Thread/CurrentThread/currentthread2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.currentthread/vb/currentthread2.vb rename to snippets/visualbasic/System.Threading/Thread/CurrentThread/currentthread2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Thread.CurrentUICulture/vb/CurrentUICulture1.vb b/snippets/visualbasic/System.Threading/Thread/CurrentUICulture/CurrentUICulture1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Thread.CurrentUICulture/vb/CurrentUICulture1.vb rename to snippets/visualbasic/System.Threading/Thread/CurrentUICulture/CurrentUICulture1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Thread.GetSetTrySetApartmentState/vb/source.vb b/snippets/visualbasic/System.Threading/Thread/GetApartmentState/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Thread.GetSetTrySetApartmentState/vb/source.vb rename to snippets/visualbasic/System.Threading/Thread/GetApartmentState/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Domain/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/GetDomain/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Domain/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/GetDomain/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Interrupt/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/Interrupt/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Interrupt/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/Interrupt/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.IsBackground/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/IsBackground/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.IsBackground/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/IsBackground/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.IsThreadPoolThread/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/IsThreadPoolThread/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.IsThreadPoolThread/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/IsThreadPoolThread/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.join/vb/join1a.vb b/snippets/visualbasic/System.Threading/Thread/Join/join1a.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.join/vb/join1a.vb rename to snippets/visualbasic/System.Threading/Thread/Join/join1a.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.join/vb/join1b.vb b/snippets/visualbasic/System.Threading/Thread/Join/join1b.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.join/vb/join1b.vb rename to snippets/visualbasic/System.Threading/Thread/Join/join1b.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.join/vb/join1c.vb b/snippets/visualbasic/System.Threading/Thread/Join/join1c.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.join/vb/join1c.vb rename to snippets/visualbasic/System.Threading/Thread/Join/join1c.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Timespan/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/Join/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Timespan/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/Join/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.ThreadPriority/vb/Example1.vb b/snippets/visualbasic/System.Threading/Thread/Priority/Example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.ThreadPriority/vb/Example1.vb rename to snippets/visualbasic/System.Threading/Thread/Priority/Example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/thread.sleep/vb/example.vb b/snippets/visualbasic/System.Threading/Thread/Sleep/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/thread.sleep/vb/example.vb rename to snippets/visualbasic/System.Threading/Thread/Sleep/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/thread.sleep_timespan/vb/example.vb b/snippets/visualbasic/System.Threading/Thread/Sleep/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/thread.sleep_timespan/vb/example.vb rename to snippets/visualbasic/System.Threading/Thread/Sleep/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ThreadStart/VB/threadstart.vb b/snippets/visualbasic/System.Threading/Thread/Start/threadstart.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ThreadStart/VB/threadstart.vb rename to snippets/visualbasic/System.Threading/Thread/Start/threadstart.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.threadstate/vb/source.vb b/snippets/visualbasic/System.Threading/Thread/ThreadState/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.threadstate/vb/source.vb rename to snippets/visualbasic/System.Threading/Thread/ThreadState/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ThreadAbEx/VB/threadabex.vb b/snippets/visualbasic/System.Threading/ThreadAbortException/Overview/threadabex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ThreadAbEx/VB/threadabex.vb rename to snippets/visualbasic/System.Threading/ThreadAbortException/Overview/threadabex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.threadlocal/vb/threadlocal.vb b/snippets/visualbasic/System.Threading/ThreadLocalT/Overview/threadlocal.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.threadlocal/vb/threadlocal.vb rename to snippets/visualbasic/System.Threading/ThreadLocalT/Overview/threadlocal.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool.GetAvailableThreads/VB/Example2.vb b/snippets/visualbasic/System.Threading/ThreadPool/GetAvailableThreads/Example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool.GetAvailableThreads/VB/Example2.vb rename to snippets/visualbasic/System.Threading/ThreadPool/GetAvailableThreads/Example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool.GetAvailableThreads/VB/source.vb b/snippets/visualbasic/System.Threading/ThreadPool/GetAvailableThreads/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool.GetAvailableThreads/VB/source.vb rename to snippets/visualbasic/System.Threading/ThreadPool/GetAvailableThreads/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool.GetSetMinThreads/VB/source.vb b/snippets/visualbasic/System.Threading/ThreadPool/GetMinThreads/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool.GetSetMinThreads/VB/source.vb rename to snippets/visualbasic/System.Threading/ThreadPool/GetMinThreads/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool QueueUserWorkItem0/VB/source.vb b/snippets/visualbasic/System.Threading/ThreadPool/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool QueueUserWorkItem0/VB/source.vb rename to snippets/visualbasic/System.Threading/ThreadPool/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool QueueUserWorkItem1/VB/source.vb b/snippets/visualbasic/System.Threading/ThreadPool/QueueUserWorkItem/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool QueueUserWorkItem1/VB/source.vb rename to snippets/visualbasic/System.Threading/ThreadPool/QueueUserWorkItem/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadStart2/VB/source.vb b/snippets/visualbasic/System.Threading/ThreadStart/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadStart2/VB/source.vb rename to snippets/visualbasic/System.Threading/ThreadStart/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ThreadStEx/VB/threadstex.vb b/snippets/visualbasic/System.Threading/ThreadStateException/Overview/threadstex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ThreadStEx/VB/threadstex.vb rename to snippets/visualbasic/System.Threading/ThreadStateException/Overview/threadstex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Timer2/VB/source2.vb b/snippets/visualbasic/System.Threading/Timer/.ctor/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Timer2/VB/source2.vb rename to snippets/visualbasic/System.Threading/Timer/.ctor/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Timer/VB/source.vb b/snippets/visualbasic/System.Threading/Timer/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Timer/VB/source.vb rename to snippets/visualbasic/System.Threading/Timer/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/WaitHandle/VB/WaitHandle.vb b/snippets/visualbasic/System.Threading/WaitHandle/Overview/WaitHandle.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/WaitHandle/VB/WaitHandle.vb rename to snippets/visualbasic/System.Threading/WaitHandle/Overview/WaitHandle.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAll1/VB/source1.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitAll/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAll1/VB/source1.vb rename to snippets/visualbasic/System.Threading/WaitHandle/WaitAll/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAll2/VB/source2.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitAll/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAll2/VB/source2.vb rename to snippets/visualbasic/System.Threading/WaitHandle/WaitAll/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAll3/VB/source3.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitAll/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAll3/VB/source3.vb rename to snippets/visualbasic/System.Threading/WaitHandle/WaitAll/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAny2/VB/source2.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitAny/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAny2/VB/source2.vb rename to snippets/visualbasic/System.Threading/WaitHandle/WaitAny/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAny3/VB/source3.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitAny/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAny3/VB/source3.vb rename to snippets/visualbasic/System.Threading/WaitHandle/WaitAny/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.waithandle.waitone4/vb/source.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitOne/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.waithandle.waitone4/vb/source.vb rename to snippets/visualbasic/System.Threading/WaitHandle/WaitOne/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitOne1/VB/source1.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitOne/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitOne1/VB/source1.vb rename to snippets/visualbasic/System.Threading/WaitHandle/WaitOne/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitOne2/VB/source2.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitOne/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitOne2/VB/source2.vb rename to snippets/visualbasic/System.Threading/WaitHandle/WaitOne/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitOne3/VB/source3.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitOne/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitOne3/VB/source3.vb rename to snippets/visualbasic/System.Threading/WaitHandle/WaitOne/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/AsyncHandlerEx1.vb b/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/AsyncHandlerEx1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/AsyncHandlerEx1.vb rename to snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/AsyncHandlerEx1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer1.vb b/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer1.vb rename to snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer2a.vb b/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer2a.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer2a.vb rename to snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer2a.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer.interval/vb/interval2.vb b/snippets/visualbasic/System.Timers/Timer/Interval/interval2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer.interval/vb/interval2.vb rename to snippets/visualbasic/System.Timers/Timer/Interval/interval2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Timer.Stop/VB/source.vb b/snippets/visualbasic/System.Timers/Timer/Stop/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Timer.Stop/VB/source.vb rename to snippets/visualbasic/System.Timers/Timer/Stop/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Timers.Timer.SynchronizingObject/vb/Application.Designer.vb b/snippets/visualbasic/System.Timers/Timer/SynchronizingObject/Application.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Timers.Timer.SynchronizingObject/vb/Application.Designer.vb rename to snippets/visualbasic/System.Timers/Timer/SynchronizingObject/Application.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Timers.Timer.SynchronizingObject/vb/Application.myapp b/snippets/visualbasic/System.Timers/Timer/SynchronizingObject/Application.myapp similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Timers.Timer.SynchronizingObject/vb/Application.myapp rename to snippets/visualbasic/System.Timers/Timer/SynchronizingObject/Application.myapp diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Timers.Timer.SynchronizingObject/vb/Form1.Designer.vb b/snippets/visualbasic/System.Timers/Timer/SynchronizingObject/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Timers.Timer.SynchronizingObject/vb/Form1.Designer.vb rename to snippets/visualbasic/System.Timers/Timer/SynchronizingObject/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Timers.Timer.SynchronizingObject/vb/Form1.vb b/snippets/visualbasic/System.Timers/Timer/SynchronizingObject/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Timers.Timer.SynchronizingObject/vb/Form1.vb rename to snippets/visualbasic/System.Timers/Timer/SynchronizingObject/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Timers.Timer.SynchronizingObject/vb/SynchronizingObjectVB1.vbproj b/snippets/visualbasic/System.Timers/Timer/SynchronizingObject/SynchronizingObjectVB1.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Timers.Timer.SynchronizingObject/vb/SynchronizingObjectVB1.vbproj rename to snippets/visualbasic/System.Timers/Timer/SynchronizingObject/SynchronizingObjectVB1.vbproj diff --git a/snippets/visualbasic/VS_Snippets_Remoting/TransactionScope/vb/ScopeWithSQL.vb b/snippets/visualbasic/System.Transactions/TransactionScope/Overview/ScopeWithSQL.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/TransactionScope/vb/ScopeWithSQL.vb rename to snippets/visualbasic/System.Transactions/TransactionScope/Overview/ScopeWithSQL.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb b/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb rename to snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Form1.vb b/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Form1.vb rename to snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Login.vb b/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Login.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Login.vb rename to snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Login.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Settings.vb b/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Settings.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Settings.vb rename to snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Settings.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/TestMembershipProvider.vb b/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/TestMembershipProvider.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/TestMembershipProvider.vb rename to snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/TestMembershipProvider.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/TestRoleProvider.vb b/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/TestRoleProvider.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/TestRoleProvider.vb rename to snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/TestRoleProvider.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/app.config b/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/app.config similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/app.config rename to snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/app.config diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension/VB/source.vb b/snippets/visualbasic/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/BindingCollectionSample2/VB/bindingcollectionsample2.vb b/snippets/visualbasic/System.Web.Services.Description/Binding/Extensions/bindingcollectionsample2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/BindingCollectionSample2/VB/bindingcollectionsample2.vb rename to snippets/visualbasic/System.Web.Services.Description/Binding/Extensions/bindingcollectionsample2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/BindingCollectionSample2/VB/makefile b/snippets/visualbasic/System.Web.Services.Description/Binding/Extensions/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/BindingCollectionSample2/VB/makefile rename to snippets/visualbasic/System.Web.Services.Description/Binding/Extensions/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/BindingCollectionsample1/VB/bindingcollectionsample1.vb b/snippets/visualbasic/System.Web.Services.Description/Binding/Overview/bindingcollectionsample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/BindingCollectionsample1/VB/bindingcollectionsample1.vb rename to snippets/visualbasic/System.Web.Services.Description/Binding/Overview/bindingcollectionsample1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/BindingCollectionsample3/VB/bindingcollectionsample3.vb b/snippets/visualbasic/System.Web.Services.Description/BindingCollection/Add/bindingcollectionsample3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/BindingCollectionsample3/VB/bindingcollectionsample3.vb rename to snippets/visualbasic/System.Web.Services.Description/BindingCollection/Add/bindingcollectionsample3.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DocumentableItemsample/VB/MathService_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/DocumentableItem/Documentation/MathService_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DocumentableItemsample/VB/MathService_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/DocumentableItem/Documentation/MathService_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DocumentableItemsample/VB/documentableitemsample.vb b/snippets/visualbasic/System.Web.Services.Description/DocumentableItem/Documentation/documentableitemsample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DocumentableItemsample/VB/documentableitemsample.vb rename to snippets/visualbasic/System.Web.Services.Description/DocumentableItem/Documentation/documentableitemsample.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/FaultBindingCollection_Add/VB/faultbindingcollection_add.vb b/snippets/visualbasic/System.Web.Services.Description/FaultBinding/Overview/faultbindingcollection_add.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/FaultBindingCollection_Add/VB/faultbindingcollection_add.vb rename to snippets/visualbasic/System.Web.Services.Description/FaultBinding/Overview/faultbindingcollection_add.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/FaultBindingCollection_Remove/VB/faultbindingcollection_remove.vb b/snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Contains/faultbindingcollection_remove.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/FaultBindingCollection_Remove/VB/faultbindingcollection_remove.vb rename to snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Contains/faultbindingcollection_remove.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/FaultBindingCollection_Item/VB/faultbindingcollection_item.vb b/snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Item/faultbindingcollection_item.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/FaultBindingCollection_Item/VB/faultbindingcollection_item.vb rename to snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Item/faultbindingcollection_item.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Importsample/VB/StockQuoteService_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Overview/StockQuoteService_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Importsample/VB/StockQuoteService_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Overview/StockQuoteService_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Importsample/VB/StockQuote_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Overview/StockQuote_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Importsample/VB/StockQuote_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Overview/StockQuote_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Importsample/VB/StockQuote_vb.xsd b/snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Overview/StockQuote_vb.xsd similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Importsample/VB/StockQuote_vb.xsd rename to snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Overview/StockQuote_vb.xsd diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Importsample/VB/importsample.vb b/snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Overview/importsample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Importsample/VB/importsample.vb rename to snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Overview/importsample.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebServices_HttpBinding/VB/httpbinding.vb b/snippets/visualbasic/System.Web.Services.Description/HttpAddressBinding/Overview/httpbinding.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/WebServices_HttpBinding/VB/httpbinding.vb rename to snippets/visualbasic/System.Web.Services.Description/HttpAddressBinding/Overview/httpbinding.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpBinding_HttpBinding/VB/HttpBinding_ctor_Client.vb.aspx b/snippets/visualbasic/System.Web.Services.Description/HttpBinding/Namespace/HttpBinding_ctor_Client.vb.aspx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpBinding_HttpBinding/VB/HttpBinding_ctor_Client.vb.aspx rename to snippets/visualbasic/System.Web.Services.Description/HttpBinding/Namespace/HttpBinding_ctor_Client.vb.aspx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpBinding_HttpBinding/VB/HttpBinding_ctor_Input_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/HttpBinding/Namespace/HttpBinding_ctor_Input_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpBinding_HttpBinding/VB/HttpBinding_ctor_Input_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/HttpBinding/Namespace/HttpBinding_ctor_Input_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpBinding_HttpBinding/VB/HttpBinding_ctor_Service.vb.asmx b/snippets/visualbasic/System.Web.Services.Description/HttpBinding/Namespace/HttpBinding_ctor_Service.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpBinding_HttpBinding/VB/HttpBinding_ctor_Service.vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/HttpBinding/Namespace/HttpBinding_ctor_Service.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpBinding_HttpBinding/VB/httpbinding_ctor.vb b/snippets/visualbasic/System.Web.Services.Description/HttpBinding/Namespace/httpbinding_ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpBinding_HttpBinding/VB/httpbinding_ctor.vb rename to snippets/visualbasic/System.Web.Services.Description/HttpBinding/Namespace/httpbinding_ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ImportCollection_6/VB/StockQuoteService_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/ImportCollection/Overview/StockQuoteService_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ImportCollection_6/VB/StockQuoteService_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ImportCollection/Overview/StockQuoteService_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ImportCollection_6/VB/importcollection_6.vb b/snippets/visualbasic/System.Web.Services.Description/ImportCollection/Overview/importcollection_6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ImportCollection_6/VB/importcollection_6.vb rename to snippets/visualbasic/System.Web.Services.Description/ImportCollection/Overview/importcollection_6.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DescriptionNamespaceSample1/VB/MathService.vb.asmx b/snippets/visualbasic/System.Web.Services.Description/InputBinding/Overview/MathService.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DescriptionNamespaceSample1/VB/MathService.vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/InputBinding/Overview/MathService.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DescriptionNamespaceSample1/VB/MathService_input_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/InputBinding/Overview/MathService_input_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DescriptionNamespaceSample1/VB/MathService_input_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/InputBinding/Overview/MathService_input_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DescriptionNamespaceSample1/VB/descriptionnamespacesample1.vb b/snippets/visualbasic/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DescriptionNamespaceSample1/VB/descriptionnamespacesample1.vb rename to snippets/visualbasic/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DescriptionNamespaceSample1/VB/mathserviceclient.vb.aspx b/snippets/visualbasic/System.Web.Services.Description/InputBinding/Overview/mathserviceclient.vb.aspx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DescriptionNamespaceSample1/VB/mathserviceclient.vb.aspx rename to snippets/visualbasic/System.Web.Services.Description/InputBinding/Overview/mathserviceclient.vb.aspx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Message_Samples3/VB/MathService_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/Message/FindPartByName/MathService_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Message_Samples3/VB/MathService_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/Message/FindPartByName/MathService_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Message_Samples3/VB/message_samples3.vb b/snippets/visualbasic/System.Web.Services.Description/Message/FindPartByName/message_samples3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Message_Samples3/VB/message_samples3.vb rename to snippets/visualbasic/System.Web.Services.Description/Message/FindPartByName/message_samples3.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageBinding_sample/VB/messagebinding_sample.vb b/snippets/visualbasic/System.Web.Services.Description/MessageBinding/Overview/messagebinding_sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageBinding_sample/VB/messagebinding_sample.vb rename to snippets/visualbasic/System.Web.Services.Description/MessageBinding/Overview/messagebinding_sample.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessageCollection/VB/messagecollection.vb b/snippets/visualbasic/System.Web.Services.Description/MessageCollection/Contains/messagecollection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessageCollection/VB/messagecollection.vb rename to snippets/visualbasic/System.Web.Services.Description/MessageCollection/Contains/messagecollection.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MessagePartCollection/VB/messagepartcollection.vb b/snippets/visualbasic/System.Web.Services.Description/MessagePart/Message/messagepartcollection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MessagePartCollection/VB/messagepartcollection.vb rename to snippets/visualbasic/System.Web.Services.Description/MessagePart/Message/messagepartcollection.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MimeContentBinding_Part_4/VB/MimeContentSample_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/MimeContentBinding/Overview/MimeContentSample_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MimeContentBinding_Part_4/VB/MimeContentSample_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/MimeContentBinding/Overview/MimeContentSample_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MimeContentBinding_Part_4/VB/mimecontentbinding_part_4.vb b/snippets/visualbasic/System.Web.Services.Description/MimeContentBinding/Overview/mimecontentbinding_part_4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MimeContentBinding_Part_4/VB/mimecontentbinding_part_4.vb rename to snippets/visualbasic/System.Web.Services.Description/MimeContentBinding/Overview/mimecontentbinding_part_4.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MimeMultiPartRelatedBinding_Parts_2/VB/MimeMultiPartRelatedSample_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/MimeMultipartRelatedBinding/Overview/MimeMultiPartRelatedSample_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MimeMultiPartRelatedBinding_Parts_2/VB/MimeMultiPartRelatedSample_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/MimeMultipartRelatedBinding/Overview/MimeMultiPartRelatedSample_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MimeMultiPartRelatedBinding_Parts_2/VB/mimemultipartrelatedbinding_parts_2.vb b/snippets/visualbasic/System.Web.Services.Description/MimeMultipartRelatedBinding/Overview/mimemultipartrelatedbinding_parts_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MimeMultiPartRelatedBinding_Parts_2/VB/mimemultipartrelatedbinding_parts_2.vb rename to snippets/visualbasic/System.Web.Services.Description/MimeMultipartRelatedBinding/Overview/mimemultipartrelatedbinding_parts_2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MimePart_3/VB/MimePart_3_Input_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/MimePart/Overview/MimePart_3_Input_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MimePart_3/VB/MimePart_3_Input_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/MimePart/Overview/MimePart_3_Input_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MimePart_3/VB/mimepart_3.vb b/snippets/visualbasic/System.Web.Services.Description/MimePart/Overview/mimepart_3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MimePart_3/VB/mimepart_3.vb rename to snippets/visualbasic/System.Web.Services.Description/MimePart/Overview/mimepart_3.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MimePartCollection_8/VB/MimePartCollection_8_Input_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/MimePartCollection/Add/MimePartCollection_8_Input_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MimePartCollection_8/VB/MimePartCollection_8_Input_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/MimePartCollection/Add/MimePartCollection_8_Input_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MimePartCollection_8/VB/mimepartcollection_8.vb b/snippets/visualbasic/System.Web.Services.Description/MimePartCollection/Add/mimepartcollection_8.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MimePartCollection_8/VB/mimepartcollection_8.vb rename to snippets/visualbasic/System.Web.Services.Description/MimePartCollection/Add/mimepartcollection_8.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MimePartCollection_1/VB/MimePartCollection_1_Input_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/MimePartCollection/Overview/MimePartCollection_1_Input_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MimePartCollection_1/VB/MimePartCollection_1_Input_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/MimePartCollection/Overview/MimePartCollection_1_Input_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MimePartCollection_1/VB/mimepartcollection_1.vb b/snippets/visualbasic/System.Web.Services.Description/MimePartCollection/Overview/mimepartcollection_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MimePartCollection_1/VB/mimepartcollection_1.vb rename to snippets/visualbasic/System.Web.Services.Description/MimePartCollection/Overview/mimepartcollection_1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MimeText_Binding_Match_8/VB/MimeText_Binding_MatchService.vb.asmx b/snippets/visualbasic/System.Web.Services.Description/MimeTextBinding/Overview/MimeText_Binding_MatchService.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MimeText_Binding_Match_8/VB/MimeText_Binding_MatchService.vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/MimeTextBinding/Overview/MimeText_Binding_MatchService.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MimeText_Binding_Match_8/VB/MimeText_Binding_Match_8_Input_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/MimeTextBinding/Overview/MimeText_Binding_Match_8_Input_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MimeText_Binding_Match_8/VB/MimeText_Binding_Match_8_Input_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/MimeTextBinding/Overview/MimeText_Binding_Match_8_Input_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MimeText_Binding_Match_8/VB/mimetext_binding_match_8.vb b/snippets/visualbasic/System.Web.Services.Description/MimeTextBinding/Overview/mimetext_binding_match_8.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MimeText_Binding_Match_8/VB/mimetext_binding_match_8.vb rename to snippets/visualbasic/System.Web.Services.Description/MimeTextBinding/Overview/mimetext_binding_match_8.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MimeTextMatch_5/VB/MimeTextMatchService.VB.asmx b/snippets/visualbasic/System.Web.Services.Description/MimeTextMatch/Capture/MimeTextMatchService.VB.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MimeTextMatch_5/VB/MimeTextMatchService.VB.asmx rename to snippets/visualbasic/System.Web.Services.Description/MimeTextMatch/Capture/MimeTextMatchService.VB.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MimeTextMatch_5/VB/MimeTextMatch_5_Input_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/MimeTextMatch/Capture/MimeTextMatch_5_Input_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MimeTextMatch_5/VB/MimeTextMatch_5_Input_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/MimeTextMatch/Capture/MimeTextMatch_5_Input_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MimeTextMatch_5/VB/mimetextmatch_5.vb b/snippets/visualbasic/System.Web.Services.Description/MimeTextMatch/Capture/mimetextmatch_5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MimeTextMatch_5/VB/mimetextmatch_5.vb rename to snippets/visualbasic/System.Web.Services.Description/MimeTextMatch/Capture/mimetextmatch_5.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/VB/MimeText_Match_MatchCollService.vb.asmx b/snippets/visualbasic/System.Web.Services.Description/MimeTextMatchCollection/Overview/MimeText_Match_MatchCollService.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/VB/MimeText_Match_MatchCollService.vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/MimeTextMatchCollection/Overview/MimeText_Match_MatchCollService.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/VB/MimeText_Match_MatchColl_9_Input_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/MimeTextMatchCollection/Overview/MimeText_Match_MatchColl_9_Input_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/VB/MimeText_Match_MatchColl_9_Input_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/MimeTextMatchCollection/Overview/MimeText_Match_MatchColl_9_Input_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/VB/mimetext_match_matchcoll_9.vb b/snippets/visualbasic/System.Web.Services.Description/MimeTextMatchCollection/Overview/mimetext_match_matchcoll_9.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/VB/mimetext_match_matchcoll_9.vb rename to snippets/visualbasic/System.Web.Services.Description/MimeTextMatchCollection/Overview/mimetext_match_matchcoll_9.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MimeXmlBinding_Part_3/VB/MimeXmlBinding_Part_3_Input_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/MimeXmlBinding/Overview/MimeXmlBinding_Part_3_Input_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MimeXmlBinding_Part_3/VB/MimeXmlBinding_Part_3_Input_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/MimeXmlBinding/Overview/MimeXmlBinding_Part_3_Input_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MimeXmlBinding_Part_3/VB/MimeXmlBinding_Part_3_Service.vb.asmx b/snippets/visualbasic/System.Web.Services.Description/MimeXmlBinding/Overview/MimeXmlBinding_Part_3_Service.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MimeXmlBinding_Part_3/VB/MimeXmlBinding_Part_3_Service.vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/MimeXmlBinding/Overview/MimeXmlBinding_Part_3_Service.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MimeXmlBinding_Part_3/VB/mimexmlbinding_part_3.vb b/snippets/visualbasic/System.Web.Services.Description/MimeXmlBinding/Overview/mimexmlbinding_part_3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MimeXmlBinding_Part_3/VB/mimexmlbinding_part_3.vb rename to snippets/visualbasic/System.Web.Services.Description/MimeXmlBinding/Overview/mimexmlbinding_part_3.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Operation_Faults/VB/Operation_Faults_Input_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/Operation/Faults/Operation_Faults_Input_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Operation_Faults/VB/Operation_Faults_Input_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/Operation/Faults/Operation_Faults_Input_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Operation_Faults/VB/operation_faults.vb b/snippets/visualbasic/System.Web.Services.Description/Operation/Faults/operation_faults.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Operation_Faults/VB/operation_faults.vb rename to snippets/visualbasic/System.Web.Services.Description/Operation/Faults/operation_faults.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Operation_IsBoundBy/VB/Operation_IsBoundBy_Input_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/Operation/IsBoundBy/Operation_IsBoundBy_Input_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Operation_IsBoundBy/VB/Operation_IsBoundBy_Input_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/Operation/IsBoundBy/Operation_IsBoundBy_Input_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Operation_IsBoundBy/VB/Operation_IsBoundBy_Service.vb.asmx b/snippets/visualbasic/System.Web.Services.Description/Operation/IsBoundBy/Operation_IsBoundBy_Service.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Operation_IsBoundBy/VB/Operation_IsBoundBy_Service.vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/Operation/IsBoundBy/Operation_IsBoundBy_Service.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Operation_IsBoundBy/VB/operation_isboundby.vb b/snippets/visualbasic/System.Web.Services.Description/Operation/IsBoundBy/operation_isboundby.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Operation_IsBoundBy/VB/operation_isboundby.vb rename to snippets/visualbasic/System.Web.Services.Description/Operation/IsBoundBy/operation_isboundby.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Operation_5/VB/Operation_5_Input_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/Operation/Overview/Operation_5_Input_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Operation_5/VB/Operation_5_Input_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/Operation/Overview/Operation_5_Input_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Operation_5/VB/Operation_5_Service.vb.asmx b/snippets/visualbasic/System.Web.Services.Description/Operation/Overview/Operation_5_Service.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Operation_5/VB/Operation_5_Service.vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/Operation/Overview/Operation_5_Service.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Operation_5/VB/operation_5.vb b/snippets/visualbasic/System.Web.Services.Description/Operation/Overview/operation_5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Operation_5/VB/operation_5.vb rename to snippets/visualbasic/System.Web.Services.Description/Operation/Overview/operation_5.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Operation_2/VB/Operation_2_Input_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/Operation/ParameterOrder/Operation_2_Input_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Operation_2/VB/Operation_2_Input_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/Operation/ParameterOrder/Operation_2_Input_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Operation_2/VB/Operation_2_Service.vb.asmx b/snippets/visualbasic/System.Web.Services.Description/Operation/ParameterOrder/Operation_2_Service.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Operation_2/VB/Operation_2_Service.vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/Operation/ParameterOrder/Operation_2_Service.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Operation_2/VB/operation_2.vb b/snippets/visualbasic/System.Web.Services.Description/Operation/ParameterOrder/operation_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Operation_2/VB/operation_2.vb rename to snippets/visualbasic/System.Web.Services.Description/Operation/ParameterOrder/operation_2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationBinding_OperationBinding/VB/MathService_input_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/OperationBinding/Overview/MathService_input_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationBinding_OperationBinding/VB/MathService_input_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/OperationBinding/Overview/MathService_input_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/VB/MathService_vb.asmx b/snippets/visualbasic/System.Web.Services.Description/OperationBinding/Overview/MathService_vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/VB/MathService_vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/OperationBinding/Overview/MathService_vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationBinding_OperationBinding/VB/operationbinding_operationbinding.vb b/snippets/visualbasic/System.Web.Services.Description/OperationBinding/Overview/operationbinding_operationbinding.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationBinding_OperationBinding/VB/operationbinding_operationbinding.vb rename to snippets/visualbasic/System.Web.Services.Description/OperationBinding/Overview/operationbinding_operationbinding.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/VB/MathService_input_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/OperationBindingCollection/Overview/MathService_input_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/VB/MathService_input_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/OperationBindingCollection/Overview/MathService_input_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationBinding_OperationBinding/VB/MathService_vb.asmx b/snippets/visualbasic/System.Web.Services.Description/OperationBindingCollection/Overview/MathService_vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationBinding_OperationBinding/VB/MathService_vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/OperationBindingCollection/Overview/MathService_vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/VB/operationbindingcollection_operationbindingcollection.vb b/snippets/visualbasic/System.Web.Services.Description/OperationBindingCollection/Overview/operationbindingcollection_operationbindingcollection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/VB/operationbindingcollection_operationbindingcollection.vb rename to snippets/visualbasic/System.Web.Services.Description/OperationBindingCollection/Overview/operationbindingcollection_operationbindingcollection.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationCollection_Methods/VB/MathService.vb.asmx b/snippets/visualbasic/System.Web.Services.Description/OperationCollection/Overview/MathService.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationCollection_Methods/VB/MathService.vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/OperationCollection/Overview/MathService.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationCollection_Methods/VB/MathService_input_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/OperationCollection/Overview/MathService_input_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationCollection_Methods/VB/MathService_input_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/OperationCollection/Overview/MathService_input_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationCollection_Methods/VB/operationcollection_methods.vb b/snippets/visualbasic/System.Web.Services.Description/OperationCollection/Overview/operationcollection_methods.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationCollection_Methods/VB/operationcollection_methods.vb rename to snippets/visualbasic/System.Web.Services.Description/OperationCollection/Overview/operationcollection_methods.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationFault_OperationFault/VB/operationfault_operationfault.vb b/snippets/visualbasic/System.Web.Services.Description/OperationFault/Overview/operationfault_operationfault.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationFault_OperationFault/VB/operationfault_operationfault.vb rename to snippets/visualbasic/System.Web.Services.Description/OperationFault/Overview/operationfault_operationfault.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationFaultCollection_Add/VB/stockquote_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/OperationFault/Overview/stockquote_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationFaultCollection_Add/VB/stockquote_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/OperationFault/Overview/stockquote_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationFaultCollection_Add/VB/operationfaultcollection_add.vb b/snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Add/operationfaultcollection_add.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationFaultCollection_Add/VB/operationfaultcollection_add.vb rename to snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Add/operationfaultcollection_add.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationFault_OperationFault/VB/stockquote_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Add/stockquote_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationFault_OperationFault/VB/stockquote_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Add/stockquote_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationFaultCollection_Item/VB/operationfaultcollection_item.vb b/snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Item/operationfaultcollection_item.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationFaultCollection_Item/VB/operationfaultcollection_item.vb rename to snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Item/operationfaultcollection_item.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationFaultCollection_Item/VB/stockquote_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Item/stockquote_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationFaultCollection_Item/VB/stockquote_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Item/stockquote_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationFaultCollection_7/VB/operationfaultcollection_7.vb b/snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Overview/operationfaultcollection_7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationFaultCollection_7/VB/operationfaultcollection_7.vb rename to snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Overview/operationfaultcollection_7.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationFaultCollection_7/VB/stockquote_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Overview/stockquote_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationFaultCollection_7/VB/stockquote_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Overview/stockquote_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationFlow_Enum/VB/MathService.vb.asmx b/snippets/visualbasic/System.Web.Services.Description/OperationFlow/Overview/MathService.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationFlow_Enum/VB/MathService.vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/OperationFlow/Overview/MathService.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationFlow_Enum/VB/MathService_input_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/OperationFlow/Overview/MathService_input_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationFlow_Enum/VB/MathService_input_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/OperationFlow/Overview/MathService_input_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationFlow_Enum/VB/operationflow_enum.vb b/snippets/visualbasic/System.Web.Services.Description/OperationFlow/Overview/operationflow_enum.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationFlow_Enum/VB/operationflow_enum.vb rename to snippets/visualbasic/System.Web.Services.Description/OperationFlow/Overview/operationflow_enum.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationInput_OperationInput/VB/AddNumbersIn_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/OperationInput/Overview/AddNumbersIn_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationInput_OperationInput/VB/AddNumbersIn_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/OperationInput/Overview/AddNumbersIn_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationInput_OperationInput/VB/Service.vb.asmx b/snippets/visualbasic/System.Web.Services.Description/OperationInput/Overview/Service.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationInput_OperationInput/VB/Service.vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/OperationInput/Overview/Service.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationInput_OperationInput/VB/operationinput_operationinput.vb b/snippets/visualbasic/System.Web.Services.Description/OperationInput/Overview/operationinput_operationinput.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationInput_OperationInput/VB/operationinput_operationinput.vb rename to snippets/visualbasic/System.Web.Services.Description/OperationInput/Overview/operationinput_operationinput.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationMessage_Properties/VB/MathService_input_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/OperationMessage/Overview/MathService_input_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationMessage_Properties/VB/MathService_input_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/OperationMessage/Overview/MathService_input_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationMessageCollection_Sample/VB/MathService_vb.asmx b/snippets/visualbasic/System.Web.Services.Description/OperationMessage/Overview/MathService_vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationMessageCollection_Sample/VB/MathService_vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/OperationMessage/Overview/MathService_vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationMessage_Properties/VB/operationmessage_properties.vb b/snippets/visualbasic/System.Web.Services.Description/OperationMessage/Overview/operationmessage_properties.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationMessage_Properties/VB/operationmessage_properties.vb rename to snippets/visualbasic/System.Web.Services.Description/OperationMessage/Overview/operationmessage_properties.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationMessageCollection_Sample/VB/MathService_input_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/OperationMessageCollection/Overview/MathService_input_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationMessageCollection_Sample/VB/MathService_input_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/OperationMessageCollection/Overview/MathService_input_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationMessage_Properties/VB/MathService_vb.asmx b/snippets/visualbasic/System.Web.Services.Description/OperationMessageCollection/Overview/MathService_vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationMessage_Properties/VB/MathService_vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/OperationMessageCollection/Overview/MathService_vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationMessageCollection_Sample/VB/operationmessagecollection_sample.vb b/snippets/visualbasic/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationMessageCollection_Sample/VB/operationmessagecollection_sample.vb rename to snippets/visualbasic/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationOutput_OperationOutput/VB/AddNumbersIn_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/OperationOutput/Overview/AddNumbersIn_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationOutput_OperationOutput/VB/AddNumbersIn_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/OperationOutput/Overview/AddNumbersIn_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationOutput_OperationOutput/VB/Service_vb.asmx b/snippets/visualbasic/System.Web.Services.Description/OperationOutput/Overview/Service_vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationOutput_OperationOutput/VB/Service_vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/OperationOutput/Overview/Service_vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/OperationOutput_OperationOutput/VB/operationoutput_operationoutput.vb b/snippets/visualbasic/System.Web.Services.Description/OperationOutput/Overview/operationoutput_operationoutput.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/OperationOutput_OperationOutput/VB/operationoutput_operationoutput.vb rename to snippets/visualbasic/System.Web.Services.Description/OperationOutput/Overview/operationoutput_operationoutput.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/PortClass/VB/AddNumbers.vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/Port/Overview/AddNumbers.vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/PortClass/VB/AddNumbers.vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/Port/Overview/AddNumbers.vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/PortClass/VB/portclass.vb b/snippets/visualbasic/System.Web.Services.Description/Port/Overview/portclass.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/PortClass/VB/portclass.vb rename to snippets/visualbasic/System.Web.Services.Description/Port/Overview/portclass.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/PortCollection_Add/VB/MathServiceAdd_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/PortCollection/Add/MathServiceAdd_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/PortCollection_Add/VB/MathServiceAdd_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/PortCollection/Add/MathServiceAdd_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/PortCollection_Add/VB/portcollection_add.vb b/snippets/visualbasic/System.Web.Services.Description/PortCollection/Add/portcollection_add.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/PortCollection_Add/VB/portcollection_add.vb rename to snippets/visualbasic/System.Web.Services.Description/PortCollection/Add/portcollection_add.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/PortCollection_CopyTo/VB/MathServiceCopyTo_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/PortCollection/CopyTo/MathServiceCopyTo_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/PortCollection_CopyTo/VB/MathServiceCopyTo_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/PortCollection/CopyTo/MathServiceCopyTo_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/PortCollection_CopyTo/VB/portcollection_copyto.vb b/snippets/visualbasic/System.Web.Services.Description/PortCollection/CopyTo/portcollection_copyto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/PortCollection_CopyTo/VB/portcollection_copyto.vb rename to snippets/visualbasic/System.Web.Services.Description/PortCollection/CopyTo/portcollection_copyto.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/PortCollection_Item/VB/MathServiceItem_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/PortCollection/Overview/MathServiceItem_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/PortCollection_Item/VB/MathServiceItem_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/PortCollection/Overview/MathServiceItem_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/PortCollection_Item/VB/portcollection_item.vb b/snippets/visualbasic/System.Web.Services.Description/PortCollection/Overview/portcollection_item.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/PortCollection_Item/VB/portcollection_item.vb rename to snippets/visualbasic/System.Web.Services.Description/PortCollection/Overview/portcollection_item.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/PortType/VB/MathService_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/PortType/Operations/MathService_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/PortType/VB/MathService_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/PortType/Operations/MathService_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/PortType/VB/porttype.vb b/snippets/visualbasic/System.Web.Services.Description/PortType/Operations/porttype.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/PortType/VB/porttype.vb rename to snippets/visualbasic/System.Web.Services.Description/PortType/Operations/porttype.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/PortType_Class/VB/MathService_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/PortType/Overview/MathService_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/PortType_Class/VB/MathService_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/PortType/Overview/MathService_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/PortType_Class/VB/porttype_class.vb b/snippets/visualbasic/System.Web.Services.Description/PortType/Overview/porttype_class.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/PortType_Class/VB/porttype_class.vb rename to snippets/visualbasic/System.Web.Services.Description/PortType/Overview/porttype_class.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_1/VB/MathService_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Add/MathService_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_1/VB/MathService_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Add/MathService_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_1/VB/porttypecollection_1.vb b/snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Add/porttypecollection_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_1/VB/porttypecollection_1.vb rename to snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Add/porttypecollection_1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_2/VB/MathService_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Contains/MathService_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_2/VB/MathService_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Contains/MathService_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_2/VB/porttypecollection_2.vb b/snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Contains/porttypecollection_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_2/VB/porttypecollection_2.vb rename to snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Contains/porttypecollection_2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_CopyTo/VB/MathService.VB.asmx b/snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/CopyTo/MathService.VB.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_CopyTo/VB/MathService.VB.asmx rename to snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/CopyTo/MathService.VB.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_CopyTo/VB/MathService_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/CopyTo/MathService_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_CopyTo/VB/MathService_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/CopyTo/MathService_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_CopyTo/VB/mathserviceclient.vb.aspx b/snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/CopyTo/mathserviceclient.vb.aspx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_CopyTo/VB/mathserviceclient.vb.aspx rename to snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/CopyTo/mathserviceclient.vb.aspx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_CopyTo/VB/porttypecollection_copyto.vb b/snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/CopyTo/porttypecollection_copyto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_CopyTo/VB/porttypecollection_copyto.vb rename to snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/CopyTo/porttypecollection_copyto.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_Class/VB/MathService.vb.asmx b/snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Overview/MathService.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_Class/VB/MathService.vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Overview/MathService.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_Class/VB/MathService_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Overview/MathService_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_Class/VB/MathService_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Overview/MathService_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_Class/VB/porttypecollection_class.vb b/snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Overview/porttypecollection_class.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_Class/VB/porttypecollection_class.vb rename to snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Overview/porttypecollection_class.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Service_Class4/VB/MathService_VB.asmx b/snippets/visualbasic/System.Web.Services.Description/Service/Extensions/MathService_VB.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Service_Class4/VB/MathService_VB.asmx rename to snippets/visualbasic/System.Web.Services.Description/Service/Extensions/MathService_VB.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Service_Class4/VB/MathService_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/Service/Extensions/MathService_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Service_Class4/VB/MathService_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/Service/Extensions/MathService_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Service_Class4/VB/service_class.vb b/snippets/visualbasic/System.Web.Services.Description/Service/Extensions/service_class.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Service_Class4/VB/service_class.vb rename to snippets/visualbasic/System.Web.Services.Description/Service/Extensions/service_class.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceClass/VB/MathService.vb.asmx b/snippets/visualbasic/System.Web.Services.Description/Service/Overview/MathService.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceClass/VB/MathService.vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/Service/Overview/MathService.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceClass/VB/MathService_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/Service/Overview/MathService_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceClass/VB/MathService_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/Service/Overview/MathService_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceClass/VB/serviceclass.vb b/snippets/visualbasic/System.Web.Services.Description/Service/Overview/serviceclass.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceClass/VB/serviceclass.vb rename to snippets/visualbasic/System.Web.Services.Description/Service/Overview/serviceclass.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_Item/VB/AddSub.vb.asmx b/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Add/AddSub.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_Item/VB/AddSub.vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Add/AddSub.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_Item/VB/Input.vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Add/Input.vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_Item/VB/Input.vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Add/Input.vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_Item/VB/servicecollection_item.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Add/servicecollection_item.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_Item/VB/servicecollection_item.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Add/servicecollection_item.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_CopyTo/VB/AddService.vb.asmx b/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Contains/AddService.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_CopyTo/VB/AddService.vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Contains/AddService.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_CopyTo/VB/AddService_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Contains/AddService_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_CopyTo/VB/AddService_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Contains/AddService_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_CopyTo/VB/AddSubtractService_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Contains/AddSubtractService_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_CopyTo/VB/AddSubtractService_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Contains/AddSubtractService_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_CopyTo/VB/SubtractService.vb.asmx b/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Contains/SubtractService.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_CopyTo/VB/SubtractService.vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Contains/SubtractService.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_CopyTo/VB/SubtractService_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Contains/SubtractService_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_CopyTo/VB/SubtractService_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Contains/SubtractService_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_CopyTo/VB/servicecollection_copyto.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Contains/servicecollection_copyto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_CopyTo/VB/servicecollection_copyto.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Contains/servicecollection_copyto.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Read/VB/AddService_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Insert/AddService_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Read/VB/AddService_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Insert/AddService_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Read/VB/All_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Insert/All_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Read/VB/All_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Insert/All_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Read/VB/SubtractService_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Insert/SubtractService_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Read/VB/SubtractService_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Insert/SubtractService_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Read/VB/servicedescription_read.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Insert/servicedescription_read.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Read/VB/servicedescription_read.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Insert/servicedescription_read.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Bindings/VB/MyWsdl_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Bindings/MyWsdl_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Bindings/VB/MyWsdl_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Bindings/MyWsdl_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription/VB/Service1_VB.asmx b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Bindings/Service1_VB.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription/VB/Service1_VB.asmx rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Bindings/Service1_VB.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Bindings/VB/servicedescription_bindings.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Bindings/servicedescription_bindings.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Bindings/VB/servicedescription_bindings.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Bindings/servicedescription_bindings.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_PortTypes_2/VB/MyWsdl_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/CanRead/MyWsdl_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_PortTypes_2/VB/MyWsdl_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/CanRead/MyWsdl_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Constructor_4/VB/Service1_VB.asmx b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/CanRead/Service1_VB.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Constructor_4/VB/Service1_VB.asmx rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/CanRead/Service1_VB.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_PortTypes_2/VB/servicedescription_porttypes_2.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/CanRead/servicedescription_porttypes_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_PortTypes_2/VB/servicedescription_porttypes_2.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/CanRead/servicedescription_porttypes_2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Extensions_RetrieveUrl/VB/ServiceDescription_Extensions_Input_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Extensions/ServiceDescription_Extensions_Input_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Extensions_RetrieveUrl/VB/ServiceDescription_Extensions_Input_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Extensions/ServiceDescription_Extensions_Input_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Extensions_RetrieveUrl/VB/ServiceDescription_Extensions_VB.asmx b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Extensions/ServiceDescription_Extensions_VB.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Extensions_RetrieveUrl/VB/ServiceDescription_Extensions_VB.asmx rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Extensions/ServiceDescription_Extensions_VB.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Extensions_RetrieveUrl/VB/servicedescription_extensions_2.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Extensions/servicedescription_extensions_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Extensions_RetrieveUrl/VB/servicedescription_extensions_2.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Extensions/servicedescription_extensions_2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Imports_Service/VB/ServiceDescription_Imports_Input_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Imports/ServiceDescription_Imports_Input_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Imports_Service/VB/ServiceDescription_Imports_Input_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Imports/ServiceDescription_Imports_Input_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Imports_Service/VB/ServiceDescription_Imports_Service.vb.asmx b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Imports/ServiceDescription_Imports_Service.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Imports_Service/VB/ServiceDescription_Imports_Service.vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Imports/ServiceDescription_Imports_Service.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Imports_Service/VB/servicedescription_imports.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Imports/servicedescription_imports.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Imports_Service/VB/servicedescription_imports.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Imports/servicedescription_imports.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Constructor_4/VB/MyWsdl_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Messages/MyWsdl_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Constructor_4/VB/MyWsdl_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Messages/MyWsdl_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_PortTypes_2/VB/Service1_VB.asmx b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Messages/Service1_VB.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_PortTypes_2/VB/Service1_VB.asmx rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Messages/Service1_VB.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Constructor_4/VB/servicedescription_constructor_4.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Messages/servicedescription_constructor_4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Constructor_4/VB/servicedescription_constructor_4.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Messages/servicedescription_constructor_4.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Namespace/VB/MyWsdl_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Namespace/MyWsdl_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Namespace/VB/MyWsdl_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Namespace/MyWsdl_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Namespace/VB/servicedescription_namespace.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Namespace/servicedescription_namespace.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Namespace/VB/servicedescription_namespace.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Namespace/servicedescription_namespace.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription/VB/MyWsdl_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Overview/MyWsdl_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription/VB/MyWsdl_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Overview/MyWsdl_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Bindings/VB/Service1_VB.asmx b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Overview/Service1_VB.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Bindings/VB/Service1_VB.asmx rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Overview/Service1_VB.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription/VB/servicedescription.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Overview/servicedescription.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription/VB/servicedescription.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Overview/servicedescription.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Read1/VB/servicedescription_read1.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Read/servicedescription_read1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Read1/VB/servicedescription_read1.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Read/servicedescription_read1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Read2/VB/servicedescription_read2.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Read/servicedescription_read2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Read2/VB/servicedescription_read2.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Read/servicedescription_read2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Types/VB/Input_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Types/Input_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Types/VB/Input_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Types/Input_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Types/VB/servicedescription_types.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Types/servicedescription_types.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Types/VB/servicedescription_types.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Types/servicedescription_types.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionBaseCollection/VB/Input_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionBaseCollection/Overview/Input_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionBaseCollection/VB/Input_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionBaseCollection/Overview/Input_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionBaseCollection/VB/servicedescriptionbasecollection.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionBaseCollection/Overview/servicedescriptionbasecollection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionBaseCollection/VB/servicedescriptionbasecollection.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionBaseCollection/Overview/servicedescriptionbasecollection.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection/VB/DataTypes_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/.ctor/DataTypes_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection/VB/DataTypes_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/.ctor/DataTypes_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection/VB/MathService_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/.ctor/MathService_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection/VB/MathService_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/.ctor/MathService_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Constructor_Add_Item/VB/servicedescriptioncollection_constructor_add_item.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/.ctor/servicedescriptioncollection_constructor_add_item.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Constructor_Add_Item/VB/servicedescriptioncollection_constructor_add_item.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/.ctor/servicedescriptioncollection_constructor_add_item.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Constructor_Add_Item/VB/DataTypes_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/Contains/DataTypes_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Constructor_Add_Item/VB/DataTypes_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/Contains/DataTypes_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Constructor_Add_Item/VB/MathService_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/Contains/MathService_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Constructor_Add_Item/VB/MathService_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/Contains/MathService_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Contains_IndexOf_Remove/VB/servicedescriptioncollection_contains_indexof_remove.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/Contains/servicedescriptioncollection_contains_indexof_remove.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Contains_IndexOf_Remove/VB/servicedescriptioncollection_contains_indexof_remove.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/Contains/servicedescriptioncollection_contains_indexof_remove.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Contains_IndexOf_Remove/VB/DataTypes_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/CopyTo/DataTypes_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Contains_IndexOf_Remove/VB/DataTypes_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/CopyTo/DataTypes_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Contains_IndexOf_Remove/VB/MathService_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/CopyTo/MathService_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Contains_IndexOf_Remove/VB/MathService_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/CopyTo/MathService_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Insert_Item_CopyTo/VB/servicedescriptioncollection_insert_item_copyto.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/CopyTo/servicedescriptioncollection_insert_item_copyto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Insert_Item_CopyTo/VB/servicedescriptioncollection_insert_item_copyto.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/CopyTo/servicedescriptioncollection_insert_item_copyto.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetBinding/VB/DataTypes_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetBinding/DataTypes_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetBinding/VB/DataTypes_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetBinding/DataTypes_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetBinding/VB/MathService_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetBinding/MathService_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetBinding/VB/MathService_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetBinding/MathService_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetBinding/VB/servicedescriptioncollection_getbinding.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetBinding/servicedescriptioncollection_getbinding.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetBinding/VB/servicedescriptioncollection_getbinding.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetBinding/servicedescriptioncollection_getbinding.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetMessage/VB/DataTypes_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetMessage/DataTypes_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetMessage/VB/DataTypes_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetMessage/DataTypes_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetMessage/VB/MathService_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetMessage/MathService_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetMessage/VB/MathService_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetMessage/MathService_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetMessage/VB/servicedescriptioncollection_getmessage.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetMessage/servicedescriptioncollection_getmessage.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetMessage/VB/servicedescriptioncollection_getmessage.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetMessage/servicedescriptioncollection_getmessage.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetPortType/VB/DataTypes_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetPortType/DataTypes_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetPortType/VB/DataTypes_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetPortType/DataTypes_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetPortType/VB/MathService_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetPortType/MathService_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetPortType/VB/MathService_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetPortType/MathService_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetPortType/VB/servicedescriptioncollection_getporttype.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetPortType/servicedescriptioncollection_getporttype.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetPortType/VB/servicedescriptioncollection_getporttype.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetPortType/servicedescriptioncollection_getporttype.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetService/VB/DataTypes_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetService/DataTypes_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetService/VB/DataTypes_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetService/DataTypes_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetService/VB/MathService_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetService/MathService_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetService/VB/MathService_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetService/MathService_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetService/VB/servicedescriptioncollection_getservice.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetService/servicedescriptioncollection_getservice.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetService/VB/servicedescriptioncollection_getservice.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetService/servicedescriptioncollection_getservice.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Insert_Item_CopyTo/VB/DataTypes_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/Overview/DataTypes_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Insert_Item_CopyTo/VB/DataTypes_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/Overview/DataTypes_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Insert_Item_CopyTo/VB/MathService_VB.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/Overview/MathService_VB.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Insert_Item_CopyTo/VB/MathService_VB.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/Overview/MathService_VB.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection/VB/servicedescriptioncollection.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/Overview/servicedescriptioncollection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection/VB/servicedescriptioncollection.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/Overview/servicedescriptioncollection.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/VB/Sample_VB.WSDL b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/Sample_VB.WSDL similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/VB/Sample_VB.WSDL rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/Sample_VB.WSDL diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/VB/servicedescriptionformatextension_13.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/VB/servicedescriptionformatextension_13.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionImportStyle_Client/VB/Sample_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionImportStyle/Overview/Sample_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionImportStyle_Client/VB/Sample_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionImportStyle/Overview/Sample_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionImportStyle_Client/VB/servicedescriptionimportstyle_client.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionImportStyle/Overview/servicedescriptionimportstyle_client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionImportStyle_Client/VB/servicedescriptionimportstyle_client.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionImportStyle/Overview/servicedescriptionimportstyle_client.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionImportWarnings_Enum/VB/servicedescriptionimportwarnings_enum.vb b/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionImportWarnings/Overview/servicedescriptionimportwarnings_enum.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionImportWarnings_Enum/VB/servicedescriptionimportwarnings_enum.vb rename to snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionImportWarnings/Overview/servicedescriptionimportwarnings_enum.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapOperationBinding/VB/AddNumbersInput_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/SoapAddressBinding/Overview/AddNumbersInput_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapOperationBinding/VB/AddNumbersInput_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/SoapAddressBinding/Overview/AddNumbersInput_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapOperationBinding/VB/soapoperationbinding.vb b/snippets/visualbasic/System.Web.Services.Description/SoapAddressBinding/Overview/soapoperationbinding.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapOperationBinding/VB/soapoperationbinding.vb rename to snippets/visualbasic/System.Web.Services.Description/SoapAddressBinding/Overview/soapoperationbinding.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapBodyBinding_Parts/VB/AddNumbersInput_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Namespace/AddNumbersInput_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapBodyBinding_Parts/VB/AddNumbersInput_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/SoapBinding/Namespace/AddNumbersInput_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapBodyBinding_Parts/VB/Service1_vb.asmx b/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Namespace/Service1_vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapBodyBinding_Parts/VB/Service1_vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/SoapBinding/Namespace/Service1_vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapBodyBinding_Parts/VB/makefile b/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Namespace/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapBodyBinding_Parts/VB/makefile rename to snippets/visualbasic/System.Web.Services.Description/SoapBinding/Namespace/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapBodyBinding_Parts/VB/soapbodybinding_parts.vb b/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Namespace/soapbodybinding_parts.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapBodyBinding_Parts/VB/soapbodybinding_parts.vb rename to snippets/visualbasic/System.Web.Services.Description/SoapBinding/Namespace/soapbodybinding_parts.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapBinding_SoapOperationBinding/VB/AddNumbersInput_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/AddNumbersInput_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapBinding_SoapOperationBinding/VB/AddNumbersInput_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/AddNumbersInput_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapBinding_SoapOperationBinding/VB/Service1_vb.asmx b/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/Service1_vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapBinding_SoapOperationBinding/VB/Service1_vb.asmx rename to snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/Service1_vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapBinding_SoapOperationBinding/VB/makefile b/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapBinding_SoapOperationBinding/VB/makefile rename to snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapBinding_SoapOperationBinding/VB/soapprotocol.vb b/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/soapprotocol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapBinding_SoapOperationBinding/VB/soapprotocol.vb rename to snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/soapprotocol.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapBindingStyle_Rpc/VB/SoapBindingStyleInput_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/Encoding/SoapBindingStyleInput_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapBindingStyle_Rpc/VB/SoapBindingStyleInput_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/Encoding/SoapBindingStyleInput_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapBindingStyle_Rpc/VB/soapbindingstyle_rpc.vb b/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/Encoding/soapbindingstyle_rpc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapBindingStyle_Rpc/VB/soapbindingstyle_rpc.vb rename to snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/Encoding/soapbindingstyle_rpc.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapFaultBinding_ctor/VB/SoapFaultInput_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/PartsString/SoapFaultInput_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapFaultBinding_ctor/VB/SoapFaultInput_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/PartsString/SoapFaultInput_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapFaultBinding_ctor/VB/soapfaultbinding_ctor.vb b/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapFaultBinding_ctor/VB/soapfaultbinding_ctor.vb rename to snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapFaultBinding/VB/SoapFaultBindingInput_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/SoapFaultBinding/Overview/SoapFaultBindingInput_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapFaultBinding/VB/SoapFaultBindingInput_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/SoapFaultBinding/Overview/SoapFaultBindingInput_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapFaultBinding/VB/soapfaultbinding.vb b/snippets/visualbasic/System.Web.Services.Description/SoapFaultBinding/Overview/soapfaultbinding.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapFaultBinding/VB/soapfaultbinding.vb rename to snippets/visualbasic/System.Web.Services.Description/SoapFaultBinding/Overview/soapfaultbinding.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderBinding_MapToProperty/VB/MapToProperty_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/MapToProperty_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderBinding_MapToProperty/VB/MapToProperty_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/MapToProperty_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderBinding_MapToProperty/VB/soapheaderbinding_maptoproperty.vb b/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/soapheaderbinding_maptoproperty.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderBinding_MapToProperty/VB/soapheaderbinding_maptoproperty.vb rename to snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/soapheaderbinding_maptoproperty.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderBinding/VB/SoapHeaderBindingInput_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Message/SoapHeaderBindingInput_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderBinding/VB/SoapHeaderBindingInput_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Message/SoapHeaderBindingInput_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderBinding_Use/VB/soapheaderbinding_use.vb b/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Message/soapheaderbinding_use.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderBinding_Use/VB/soapheaderbinding_use.vb rename to snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Message/soapheaderbinding_use.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderBinding_Use/VB/SoapHeaderBindingInput_vb.wsdl b/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Overview/SoapHeaderBindingInput_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderBinding_Use/VB/SoapHeaderBindingInput_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Overview/SoapHeaderBindingInput_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderBinding/VB/soapheaderbinding.vb b/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Overview/soapheaderbinding.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderBinding/VB/soapheaderbinding.vb rename to snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Overview/soapheaderbinding.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_ctor1/VB/contractreference_ctor1.vb b/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/.ctor/contractreference_ctor1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ContractReference_ctor1/VB/contractreference_ctor1.vb rename to snippets/visualbasic/System.Web.Services.Discovery/ContractReference/.ctor/contractreference_ctor1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_ctor2/VB/contractreference_ctor2.vb b/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/.ctor/contractreference_ctor2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ContractReference_ctor2/VB/contractreference_ctor2.vb rename to snippets/visualbasic/System.Web.Services.Discovery/ContractReference/.ctor/contractreference_ctor2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_Reference/VB/contractreference_ref.vb b/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/.ctor/contractreference_ref.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ContractReference_Reference/VB/contractreference_ref.vb rename to snippets/visualbasic/System.Web.Services.Discovery/ContractReference/.ctor/contractreference_ref.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_Contract/VB/Service1_VB.disco b/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/Contract/Service1_VB.disco similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ContractReference_Contract/VB/Service1_VB.disco rename to snippets/visualbasic/System.Web.Services.Discovery/ContractReference/Contract/Service1_VB.disco diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_Contract/VB/Service1_vb.asmx b/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/Contract/Service1_vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ContractReference_Contract/VB/Service1_vb.asmx rename to snippets/visualbasic/System.Web.Services.Discovery/ContractReference/Contract/Service1_vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_Contract/VB/contractreference_contract.vb b/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/Contract/contractreference_contract.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ContractReference_Contract/VB/contractreference_contract.vb rename to snippets/visualbasic/System.Web.Services.Discovery/ContractReference/Contract/contractreference_contract.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_DefaultFileName/VB/Service1_vb.asmx b/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/DefaultFilename/Service1_vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ContractReference_DefaultFileName/VB/Service1_vb.asmx rename to snippets/visualbasic/System.Web.Services.Discovery/ContractReference/DefaultFilename/Service1_vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_DefaultFileName/VB/Test_vb.disco b/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/DefaultFilename/Test_vb.disco similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ContractReference_DefaultFileName/VB/Test_vb.disco rename to snippets/visualbasic/System.Web.Services.Discovery/ContractReference/DefaultFilename/Test_vb.disco diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_DefaultFileName/VB/contractreference_defaultfilename.vb b/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/DefaultFilename/contractreference_defaultfilename.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ContractReference_DefaultFileName/VB/contractreference_defaultfilename.vb rename to snippets/visualbasic/System.Web.Services.Discovery/ContractReference/DefaultFilename/contractreference_defaultfilename.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ContractReference/VB/contractreference.vb b/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/Overview/contractreference.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ContractReference/VB/contractreference.vb rename to snippets/visualbasic/System.Web.Services.Discovery/ContractReference/Overview/contractreference.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_ReadDocument/VB/MyService1_vb.wsdl b/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/ReadDocument/MyService1_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ContractReference_ReadDocument/VB/MyService1_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Discovery/ContractReference/ReadDocument/MyService1_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_ReadDocument/VB/contractreference_readdocument.vb b/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/ReadDocument/contractreference_readdocument.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ContractReference_ReadDocument/VB/contractreference_readdocument.vb rename to snippets/visualbasic/System.Web.Services.Discovery/ContractReference/ReadDocument/contractreference_readdocument.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_WriteDocument/VB/TestInput_vb.wsdl b/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/WriteDocument/TestInput_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ContractReference_WriteDocument/VB/TestInput_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Discovery/ContractReference/WriteDocument/TestInput_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_WriteDocument/VB/TestOutput_vb.wsdl b/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/WriteDocument/TestOutput_vb.wsdl similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ContractReference_WriteDocument/VB/TestOutput_vb.wsdl rename to snippets/visualbasic/System.Web.Services.Discovery/ContractReference/WriteDocument/TestOutput_vb.wsdl diff --git a/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_WriteDocument/VB/contractreference_writedocument.vb b/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/WriteDocument/contractreference_writedocument.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/ContractReference_WriteDocument/VB/contractreference_writedocument.vb rename to snippets/visualbasic/System.Web.Services.Discovery/ContractReference/WriteDocument/contractreference_writedocument.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientDocumentCollection_ctor/VB/discoveryclientdocumentcollection_ctor.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientDocumentCollection/Add/discoveryclientdocumentcollection_ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientDocumentCollection_ctor/VB/discoveryclientdocumentcollection_ctor.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientDocumentCollection/Add/discoveryclientdocumentcollection_ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientDocumentCollection_Keys/VB/discoveryclientdocumentcollection_keys.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientDocumentCollection/Contains/discoveryclientdocumentcollection_keys.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientDocumentCollection_Keys/VB/discoveryclientdocumentcollection_keys.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientDocumentCollection/Contains/discoveryclientdocumentcollection_keys.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientDocumentCollection2/VB/discoveryclientdocumentcollection.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientDocumentCollection/Overview/discoveryclientdocumentcollection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientDocumentCollection2/VB/discoveryclientdocumentcollection.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientDocumentCollection/Overview/discoveryclientdocumentcollection.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientProtocol_Download2/VB/MathService_vb.asmx b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol+DiscoveryClientResultsFile/Overview/MathService_vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientProtocol_Download2/VB/MathService_vb.asmx rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol+DiscoveryClientResultsFile/Overview/MathService_vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientProtocol_Download2/VB/MathService_vb.vsdisco b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol+DiscoveryClientResultsFile/Overview/MathService_vb.vsdisco similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientProtocol_Download2/VB/MathService_vb.vsdisco rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol+DiscoveryClientResultsFile/Overview/MathService_vb.vsdisco diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResultsFile_Results/VB/discoveryclientresultsfile_results.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol+DiscoveryClientResultsFile/Overview/discoveryclientresultsfile_results.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResultsFile_Results/VB/discoveryclientresultsfile_results.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol+DiscoveryClientResultsFile/Overview/discoveryclientresultsfile_results.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientProtocol_AdditionalInformation/VB/discoveryclientprotocol_additionalinformation.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol/AdditionalInformation/discoveryclientprotocol_additionalinformation.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientProtocol_AdditionalInformation/VB/discoveryclientprotocol_additionalinformation.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol/AdditionalInformation/discoveryclientprotocol_additionalinformation.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientProtocol_Errors/VB/MathService_vb.asmx b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol/Download/MathService_vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientProtocol_Errors/VB/MathService_vb.asmx rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol/Download/MathService_vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientProtocol_Errors/VB/MathService_vb.vsdisco b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol/Download/MathService_vb.vsdisco similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientProtocol_Errors/VB/MathService_vb.vsdisco rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol/Download/MathService_vb.vsdisco diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientProtocol_Download/VB/discoveryclientprotocol_download.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol/Download/discoveryclientprotocol_download.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientProtocol_Download/VB/discoveryclientprotocol_download.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol/Download/discoveryclientprotocol_download.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientProtocol_Download2/VB/discoveryclientprotocol_download.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol/Download/discoveryclientprotocol_download1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientProtocol_Download2/VB/discoveryclientprotocol_download.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol/Download/discoveryclientprotocol_download1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResultsFile_Results/VB/MathService_vb.asmx b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol/Errors/MathService_vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResultsFile_Results/VB/MathService_vb.asmx rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol/Errors/MathService_vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResultsFile_Results/VB/MathService_vb.vsdisco b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol/Errors/MathService_vb.vsdisco similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResultsFile_Results/VB/MathService_vb.vsdisco rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol/Errors/MathService_vb.vsdisco diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientProtocol_Errors/VB/discoveryclientprotocol_errors.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol/Errors/discoveryclientprotocol_errors.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientProtocol_Errors/VB/discoveryclientprotocol_errors.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol/Errors/discoveryclientprotocol_errors.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientReferenceCollection_Items/VB/discoveryclientreferencecollection_items.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientReferenceCollection/Add/discoveryclientreferencecollection_items.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientReferenceCollection_Items/VB/discoveryclientreferencecollection_items.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientReferenceCollection/Add/discoveryclientreferencecollection_items.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientReferenceCollection_Keys/VB/discoveryclientreferencecollection_keys.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientReferenceCollection/Contains/discoveryclientreferencecollection_keys.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientReferenceCollection_Keys/VB/discoveryclientreferencecollection_keys.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientReferenceCollection/Contains/discoveryclientreferencecollection_keys.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientReferenceCollection/VB/discoveryclientreferencecollection.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientReferenceCollection/Overview/discoveryclientreferencecollection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientReferenceCollection/VB/discoveryclientreferencecollection.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientReferenceCollection/Overview/discoveryclientreferencecollection.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResult_Filename/VB/Service1_vb.asmx b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/Service1_vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResult_Filename/VB/Service1_vb.asmx rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/Service1_vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResult_ctor/VB/Service1_vb.asmx b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/Service1_vb1.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResult_ctor/VB/Service1_vb.asmx rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/Service1_vb1.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResult_ctor/VB/discoveryclientresult_ctor.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/discoveryclientresult_ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResult_ctor/VB/discoveryclientresult_ctor.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/discoveryclientresult_ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResult_Filename/VB/discoveryclientresult_filename.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/discoveryclientresult_filename.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResult_Filename/VB/discoveryclientresult_filename.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/discoveryclientresult_filename.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResult/VB/Service1_vb.asmx b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResult/Overview/Service1_vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResult/VB/Service1_vb.asmx rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResult/Overview/Service1_vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResult/VB/discoveryclientresult.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResult/Overview/discoveryclientresult.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResult/VB/discoveryclientresult.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResult/Overview/discoveryclientresult.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResultCollection/VB/Service1_vb.asmx b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResultCollection/Overview/Service1_vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResultCollection/VB/Service1_vb.asmx rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResultCollection/Overview/Service1_vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResultCollection/VB/discoveryclientresultcollection.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResultCollection/Overview/discoveryclientresultcollection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResultCollection/VB/discoveryclientresultcollection.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResultCollection/Overview/discoveryclientresultcollection.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocument_DiscoveryDocument/VB/discoverydocument_discoverydocument.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocument/CanRead/discoverydocument_discoverydocument.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocument_DiscoveryDocument/VB/discoverydocument_discoverydocument.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocument/CanRead/discoverydocument_discoverydocument.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocument/VB/Example_vb.vsdisco b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocument/Overview/Example_vb.vsdisco similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocument/VB/Example_vb.vsdisco rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocument/Overview/Example_vb.vsdisco diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocument/VB/discoverydocument.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocument/Overview/discoverydocument.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocument/VB/discoverydocument.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocument/Overview/discoverydocument.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocument_Write2/VB/Example_Write2_vb.vsdisco b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocument/Read/Example_Write2_vb.vsdisco similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocument_Write2/VB/Example_Write2_vb.vsdisco rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocument/Read/Example_Write2_vb.vsdisco diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocument_Write2/VB/discoverydocument_write2.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocument/Read/discoverydocument_write2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocument_Write2/VB/discoverydocument_write2.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocument/Read/discoverydocument_write2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocument_Write1/VB/Example_Write1_vb.vsdisco b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocument/Write/Example_Write1_vb.vsdisco similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocument_Write1/VB/Example_Write1_vb.vsdisco rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocument/Write/Example_Write1_vb.vsdisco diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocument_Write1/VB/discoverydocument_write1.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocument/Write/discoverydocument_write1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocument_Write1/VB/discoverydocument_write1.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocument/Write/discoverydocument_write1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_ctor_Properties/VB/Sample_vb.disco b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/.ctor/Sample_vb.disco similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_ctor_Properties/VB/Sample_vb.disco rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/.ctor/Sample_vb.disco diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_ctor_Properties/VB/discoverydocumentreference_ctor_properties.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/.ctor/discoverydocumentreference_ctor_properties.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_ctor_Properties/VB/discoverydocumentreference_ctor_properties.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/.ctor/discoverydocumentreference_ctor_properties.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_Document_ResolveAll/VB/Sample_vb.vsdisco b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/Document/Sample_vb.vsdisco similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_Document_ResolveAll/VB/Sample_vb.vsdisco rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/Document/Sample_vb.vsdisco diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_Document_ResolveAll/VB/ddreference_document_resolveall.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/Document/ddreference_document_resolveall.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_Document_ResolveAll/VB/ddreference_document_resolveall.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/Document/ddreference_document_resolveall.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_ReadDocument/VB/Sample_vb.vsdisco b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/Overview/Sample_vb.vsdisco similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_ReadDocument/VB/Sample_vb.vsdisco rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/Overview/Sample_vb.vsdisco diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_ctor_WriteDocument/VB/discoverydocumentreference_ctor_writedocument.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/Overview/discoverydocumentreference_ctor_writedocument.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_ctor_WriteDocument/VB/discoverydocumentreference_ctor_writedocument.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/Overview/discoverydocumentreference_ctor_writedocument.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_ctor_WriteDocument/VB/Sample_vb.vsdisco b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/ReadDocument/Sample_vb.vsdisco similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_ctor_WriteDocument/VB/Sample_vb.vsdisco rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/ReadDocument/Sample_vb.vsdisco diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_ReadDocument/VB/discoverydocumentreference_readdocument.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/ReadDocument/discoverydocumentreference_readdocument.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_ReadDocument/VB/discoverydocumentreference_readdocument.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/ReadDocument/discoverydocumentreference_readdocument.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryExceptionDictionary_Property_Method/VB/MathService_vb.asmx b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryExceptionDictionary/Overview/MathService_vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryExceptionDictionary_Property_Method/VB/MathService_vb.asmx rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryExceptionDictionary/Overview/MathService_vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryExceptionDictionary_Property_Method/VB/MathService_vb.disco b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryExceptionDictionary/Overview/MathService_vb.disco similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryExceptionDictionary_Property_Method/VB/MathService_vb.disco rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryExceptionDictionary/Overview/MathService_vb.disco diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryExceptionDictionary_Property_Method/VB/discoveryexceptiondictionary_property_method.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryExceptionDictionary/Overview/discoveryexceptiondictionary_property_method.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryExceptionDictionary_Property_Method/VB/discoveryexceptiondictionary_property_method.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryExceptionDictionary/Overview/discoveryexceptiondictionary_property_method.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryReference/VB/discoveryreference.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryReference/ClientProtocol/discoveryreference.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryReference/VB/discoveryreference.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryReference/ClientProtocol/discoveryreference.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryReference1/VB/discoveryreference.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryReference/Overview/discoveryreference.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryReference1/VB/discoveryreference.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryReference/Overview/discoveryreference.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryReferenceCollection/VB/discoveryreferencecollection.vb b/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryReferenceCollection/Overview/discoveryreferencecollection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/DiscoveryReferenceCollection/VB/discoveryreferencecollection.vb rename to snippets/visualbasic/System.Web.Services.Discovery/DiscoveryReferenceCollection/Overview/discoveryreferencecollection.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SchemaReference/VB/schemareference.vb b/snippets/visualbasic/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SchemaReference/VB/schemareference.vb rename to snippets/visualbasic/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Discovery_SoapBinding1/VB/discovery_soapbinding.vb b/snippets/visualbasic/System.Web.Services.Discovery/SoapBinding/Overview/discovery_soapbinding.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Discovery_SoapBinding1/VB/discovery_soapbinding.vb rename to snippets/visualbasic/System.Web.Services.Discovery/SoapBinding/Overview/discovery_soapbinding.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpGetClientProtocol_Constructor/VB/MyMath.Vb.asmx b/snippets/visualbasic/System.Web.Services.Protocols/HttpGetClientProtocol/.ctor/MyMath.Vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpGetClientProtocol_Constructor/VB/MyMath.Vb.asmx rename to snippets/visualbasic/System.Web.Services.Protocols/HttpGetClientProtocol/.ctor/MyMath.Vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpGetClientProtocol_Constructor/VB/httpgetclientprotocol_constructor.vb b/snippets/visualbasic/System.Web.Services.Protocols/HttpGetClientProtocol/.ctor/httpgetclientprotocol_constructor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpGetClientProtocol_Constructor/VB/httpgetclientprotocol_constructor.vb rename to snippets/visualbasic/System.Web.Services.Protocols/HttpGetClientProtocol/.ctor/httpgetclientprotocol_constructor.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpGetClientProtocol Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/HttpGetClientProtocol/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic HttpGetClientProtocol Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/HttpGetClientProtocol/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpGetClientProtocol Example/VB/sourcevb.asmx b/snippets/visualbasic/System.Web.Services.Protocols/HttpGetClientProtocol/Overview/sourcevb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic HttpGetClientProtocol Example/VB/sourcevb.asmx rename to snippets/visualbasic/System.Web.Services.Protocols/HttpGetClientProtocol/Overview/sourcevb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpMethodAttribute Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/HttpMethodAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic HttpMethodAttribute Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/HttpMethodAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpMethodAttribute.ReturnFormatter Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/HttpMethodAttribute/ParameterFormatter/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic HttpMethodAttribute.ReturnFormatter Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/HttpMethodAttribute/ParameterFormatter/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpPostClientProtocol_Constructor/VB/MyMath.Vb.asmx b/snippets/visualbasic/System.Web.Services.Protocols/HttpPostClientProtocol/.ctor/MyMath.Vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpPostClientProtocol_Constructor/VB/MyMath.Vb.asmx rename to snippets/visualbasic/System.Web.Services.Protocols/HttpPostClientProtocol/.ctor/MyMath.Vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpPostClientProtocol_Constructor/VB/httppostclientprotocol_constructor.vb b/snippets/visualbasic/System.Web.Services.Protocols/HttpPostClientProtocol/.ctor/httppostclientprotocol_constructor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpPostClientProtocol_Constructor/VB/httppostclientprotocol_constructor.vb rename to snippets/visualbasic/System.Web.Services.Protocols/HttpPostClientProtocol/.ctor/httppostclientprotocol_constructor.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpPostClientProtocol Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/HttpPostClientProtocol/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic HttpPostClientProtocol Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/HttpPostClientProtocol/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpPostClientProtocol Example/VB/sourcevb.asmx b/snippets/visualbasic/System.Web.Services.Protocols/HttpPostClientProtocol/Overview/sourcevb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic HttpPostClientProtocol Example/VB/sourcevb.asmx rename to snippets/visualbasic/System.Web.Services.Protocols/HttpPostClientProtocol/Overview/sourcevb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol.EndInvoke Example/VB/makefile b/snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/BeginInvoke/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol.EndInvoke Example/VB/makefile rename to snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/BeginInvoke/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol.EndInvoke Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/BeginInvoke/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol.EndInvoke Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/BeginInvoke/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol.EndInvoke Example/VB/sourcevb.asmx b/snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/BeginInvoke/sourcevb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol.EndInvoke Example/VB/sourcevb.asmx rename to snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/BeginInvoke/sourcevb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol.EndInvoke Example/VB/sourcevb.aspx b/snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/BeginInvoke/sourcevb.aspx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol.EndInvoke Example/VB/sourcevb.aspx rename to snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/BeginInvoke/sourcevb.aspx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpSimpleClientProtocol.Invoke Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/Invoke/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpSimpleClientProtocol.Invoke Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/Invoke/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpSimpleClientProtocol.Invoke Example/VB/sourcevb.asmx b/snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/Invoke/sourcevb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpSimpleClientProtocol.Invoke Example/VB/sourcevb.asmx rename to snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/Invoke/sourcevb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpSimpleClientProtocol.Invoke Example/VB/sourcevb.aspx b/snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/Invoke/sourcevb.aspx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpSimpleClientProtocol.Invoke Example/VB/sourcevb.aspx rename to snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/Invoke/sourcevb.aspx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpWebClientProtocol.Proxy Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/HttpWebClientProtocol/Proxy/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic HttpWebClientProtocol.Proxy Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/HttpWebClientProtocol/Proxy/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebClientProtocol_UserAgent/VB/MyMath.Vb.asmx b/snippets/visualbasic/System.Web.Services.Protocols/HttpWebClientProtocol/UserAgent/MyMath.Vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebClientProtocol_UserAgent/VB/MyMath.Vb.asmx rename to snippets/visualbasic/System.Web.Services.Protocols/HttpWebClientProtocol/UserAgent/MyMath.Vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HttpWebClientProtocol_UserAgent/VB/httpwebclientprotocol_useragent.vb b/snippets/visualbasic/System.Web.Services.Protocols/HttpWebClientProtocol/UserAgent/httpwebclientprotocol_useragent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HttpWebClientProtocol_UserAgent/VB/httpwebclientprotocol_useragent.vb rename to snippets/visualbasic/System.Web.Services.Protocols/HttpWebClientProtocol/UserAgent/httpwebclientprotocol_useragent.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Constructor/VB/logicalmethodinfo_constructor.vb b/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/.ctor/logicalmethodinfo_constructor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Constructor/VB/logicalmethodinfo_constructor.vb rename to snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/.ctor/logicalmethodinfo_constructor.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Create2/VB/logicalmethodinfo_create2.vb b/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/AsyncCallbackParameter/logicalmethodinfo_create2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Create2/VB/logicalmethodinfo_create2.vb rename to snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/AsyncCallbackParameter/logicalmethodinfo_create2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_BeginInvoke/VB/logicalmethodinfo_begininvoke.vb b/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/BeginInvoke/logicalmethodinfo_begininvoke.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_BeginInvoke/VB/logicalmethodinfo_begininvoke.vb rename to snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/BeginInvoke/logicalmethodinfo_begininvoke.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_BeginInvoke/VB/math.vb.asmx b/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/BeginInvoke/math.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_BeginInvoke/VB/math.vb.asmx rename to snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/BeginInvoke/math.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Create1/VB/logicalmethodinfo_create1.vb b/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/Create/logicalmethodinfo_create1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Create1/VB/logicalmethodinfo_create1.vb rename to snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/Create/logicalmethodinfo_create1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_GetCustomAttribute/VB/logicalmethodinfo_getcustomattribute.vb b/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/CustomAttributeProvider/logicalmethodinfo_getcustomattribute.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_GetCustomAttribute/VB/logicalmethodinfo_getcustomattribute.vb rename to snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/CustomAttributeProvider/logicalmethodinfo_getcustomattribute.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_IsBeginMethod/VB/logicalmethodinfo_isbeginmethod.vb b/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/IsBeginMethod/logicalmethodinfo_isbeginmethod.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_IsBeginMethod/VB/logicalmethodinfo_isbeginmethod.vb rename to snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/IsBeginMethod/logicalmethodinfo_isbeginmethod.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_IsBeginMethod/VB/math.vb.asmx b/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/IsBeginMethod/math.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_IsBeginMethod/VB/math.vb.asmx rename to snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/IsBeginMethod/math.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/MatchAttribute/VB/SvcClient_MatchAttribute.vb b/snippets/visualbasic/System.Web.Services.Protocols/MatchAttribute/Overview/SvcClient_MatchAttribute.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/MatchAttribute/VB/SvcClient_MatchAttribute.vb rename to snippets/visualbasic/System.Web.Services.Protocols/MatchAttribute/Overview/SvcClient_MatchAttribute.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapClientMessage/VB/MathSvc_SoapClientMessage_vb.asmx b/snippets/visualbasic/System.Web.Services.Protocols/SoapClientMessage/Overview/MathSvc_SoapClientMessage_vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapClientMessage/VB/MathSvc_SoapClientMessage_vb.asmx rename to snippets/visualbasic/System.Web.Services.Protocols/SoapClientMessage/Overview/MathSvc_SoapClientMessage_vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapClientMessage/VB/soapclientmessage.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapClientMessage/Overview/soapclientmessage.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapClientMessage/VB/soapclientmessage.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapClientMessage/Overview/soapclientmessage.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapExtension.ChainStream Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapExtension/ChainStream/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic SoapExtension.ChainStream Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapExtension/ChainStream/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapExtension.GetInitializer Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapExtension/GetInitializer/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic SoapExtension.GetInitializer Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapExtension/GetInitializer/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapExtension.GetInitializer-Type/VB/traceextension.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapExtension/GetInitializer/traceextension.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapExtension.GetInitializer-Type/VB/traceextension.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapExtension/GetInitializer/traceextension.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapExtension.Initialize Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapExtension/Initialize/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic SoapExtension.Initialize Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapExtension/Initialize/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapExtension Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapExtension/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic SoapExtension Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapExtension/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapExtensionAttribute/VB/MathSvc_SoapExtensionAttribute_vb.asmx b/snippets/visualbasic/System.Web.Services.Protocols/SoapExtensionAttribute/ExtensionType/MathSvc_SoapExtensionAttribute_vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapExtensionAttribute/VB/MathSvc_SoapExtensionAttribute_vb.asmx rename to snippets/visualbasic/System.Web.Services.Protocols/SoapExtensionAttribute/ExtensionType/MathSvc_SoapExtensionAttribute_vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapExtensionAttribute/VB/soapextensionattribute.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapExtensionAttribute/ExtensionType/soapextensionattribute.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapExtensionAttribute/VB/soapextensionattribute.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapExtensionAttribute/ExtensionType/soapextensionattribute.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapExtensionAttribute Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapExtensionAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic SoapExtensionAttribute Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapExtensionAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHeader.Actor Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapHeader/Actor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHeader.Actor Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapHeader/Actor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapHeader_EncodedMustUnderstand/VB/WebService_SoapHeader_EncodedMustUnderstand.vb.asmx b/snippets/visualbasic/System.Web.Services.Protocols/SoapHeader/EncodedMustUnderstand/WebService_SoapHeader_EncodedMustUnderstand.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapHeader_EncodedMustUnderstand/VB/WebService_SoapHeader_EncodedMustUnderstand.vb.asmx rename to snippets/visualbasic/System.Web.Services.Protocols/SoapHeader/EncodedMustUnderstand/WebService_SoapHeader_EncodedMustUnderstand.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapHeader_EncodedMustUnderstand/VB/soapheader_encodedmustunderstand.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapHeader/EncodedMustUnderstand/soapheader_encodedmustunderstand.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapHeader_EncodedMustUnderstand/VB/soapheader_encodedmustunderstand.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapHeader/EncodedMustUnderstand/soapheader_encodedmustunderstand.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHeader.MustUnderstand Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapHeader/MustUnderstand/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHeader.MustUnderstand Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapHeader/MustUnderstand/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHeaderAttribute.MemberName Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderAttribute/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHeaderAttribute.MemberName Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderAttribute/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderCollection_Contains/VB/MathService_SoapHeaderCollection.vb.asmx b/snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderCollection/Contains/MathService_SoapHeaderCollection.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderCollection_Contains/VB/MathService_SoapHeaderCollection.vb.asmx rename to snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderCollection/Contains/MathService_SoapHeaderCollection.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderCollection_Contains/VB/soapheadercollection_contains.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderCollection/Contains/soapheadercollection_contains.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderCollection_Contains/VB/soapheadercollection_contains.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderCollection/Contains/soapheadercollection_contains.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderCollection/VB/MathSvc_SoapHeaderCollection.vb.asmx b/snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderCollection/Overview/MathSvc_SoapHeaderCollection.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderCollection/VB/MathSvc_SoapHeaderCollection.vb.asmx rename to snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderCollection/Overview/MathSvc_SoapHeaderCollection.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderCollection/VB/soapheadercollection.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderCollection/Overview/soapheadercollection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderCollection/VB/soapheadercollection.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderCollection/Overview/soapheadercollection.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHeaderDirection Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderDirection/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHeaderDirection Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderDirection/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/BeginInvoke/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/BeginInvoke/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol Example/VB/sourcevb.asmx b/snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/BeginInvoke/sourcevb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol Example/VB/sourcevb.asmx rename to snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/BeginInvoke/sourcevb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapHttpClientProtocol.Discover Example/VB/makefile b/snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/Discover/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapHttpClientProtocol.Discover Example/VB/makefile rename to snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/Discover/makefile diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapHttpClientProtocol.Discover Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/Discover/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapHttpClientProtocol.Discover Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/Discover/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapHttpClientProtocol.Discover Example/VB/sourcevb.aspx b/snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/Discover/sourcevb.aspx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapHttpClientProtocol.Discover Example/VB/sourcevb.aspx rename to snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/Discover/sourcevb.aspx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.BeginInvoke Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/EndInvoke/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.BeginInvoke Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/EndInvoke/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.BeginInvoke Example/VB/sourcevb.asmx b/snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/EndInvoke/sourcevb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.BeginInvoke Example/VB/sourcevb.asmx rename to snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/EndInvoke/sourcevb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.EndInvoke Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/Invoke/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.EndInvoke Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/Invoke/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.EndInvoke Example/VB/sourcevb.asmx b/snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/Invoke/sourcevb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.EndInvoke Example/VB/sourcevb.asmx rename to snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/Invoke/sourcevb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.Invoke Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.Invoke Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.Invoke Example/VB/sourcevb.asmx b/snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/Overview/sourcevb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.Invoke Example/VB/sourcevb.asmx rename to snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/Overview/sourcevb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapMessage.EnsureStage Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/EnsureStage/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic SoapMessage.EnsureStage Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/EnsureStage/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapMessage/VB/MathSvc_SoapMessage.vb.asmx b/snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/Overview/MathSvc_SoapMessage.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapMessage/VB/MathSvc_SoapMessage.vb.asmx rename to snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/Overview/MathSvc_SoapMessage.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapMessage/VB/soapmessage.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/Overview/soapmessage.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapMessage/VB/soapmessage.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/Overview/soapmessage.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapExtension.ProcessMessage Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/Stage/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic SoapExtension.ProcessMessage Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/Stage/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapMessage_Headers/VB/SoapMessage_Headers.vb.asmx b/snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/Stream/SoapMessage_Headers.vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapMessage_Headers/VB/SoapMessage_Headers.vb.asmx rename to snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/Stream/SoapMessage_Headers.vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapMessage_Headers/VB/soapmessage_headers.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/Stream/soapmessage_headers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapMessage_Headers/VB/soapmessage_headers.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/Stream/soapmessage_headers.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapMessageState/VB/MathSvc_SoapMessageState_vb.asmx b/snippets/visualbasic/System.Web.Services.Protocols/SoapMessageStage/Overview/MathSvc_SoapMessageState_vb.asmx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapMessageState/VB/MathSvc_SoapMessageState_vb.asmx rename to snippets/visualbasic/System.Web.Services.Protocols/SoapMessageStage/Overview/MathSvc_SoapMessageState_vb.asmx diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapMessageState/VB/soapmessagestate.vb b/snippets/visualbasic/System.Web.Services.Protocols/SoapMessageStage/Overview/soapmessagestate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapMessageState/VB/soapmessagestate.vb rename to snippets/visualbasic/System.Web.Services.Protocols/SoapMessageStage/Overview/soapmessagestate.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Web.Services.Protocols.WebClientProtocol constructor/VB/class1.vb b/snippets/visualbasic/System.Web.Services.Protocols/WebClientProtocol/.ctor/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Web.Services.Protocols.WebClientProtocol constructor/VB/class1.vb rename to snippets/visualbasic/System.Web.Services.Protocols/WebClientProtocol/.ctor/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic WebClientProtocol.Timeout Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/WebClientProtocol/Timeout/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic WebClientProtocol.Timeout Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/WebClientProtocol/Timeout/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic WebClientProtocol.Url Example/VB/source.vb b/snippets/visualbasic/System.Web.Services.Protocols/WebClientProtocol/Url/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic WebClientProtocol.Url Example/VB/source.vb rename to snippets/visualbasic/System.Web.Services.Protocols/WebClientProtocol/Url/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DataBinding/VB/webcustomcontrol1.vb b/snippets/visualbasic/System.Web.UI/DataBindingCollection/Remove/webcustomcontrol1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DataBinding/VB/webcustomcontrol1.vb rename to snippets/visualbasic/System.Web.UI/DataBindingCollection/Remove/webcustomcontrol1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/HttpParseException/vb/makefile b/snippets/visualbasic/System.Web/HttpParseException/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/HttpParseException/vb/makefile rename to snippets/visualbasic/System.Web/HttpParseException/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_CLR/HttpParseException/vb/source.aspx b/snippets/visualbasic/System.Web/HttpParseException/Overview/source.aspx similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/HttpParseException/vb/source.aspx rename to snippets/visualbasic/System.Web/HttpParseException/Overview/source.aspx diff --git a/snippets/visualbasic/VS_Snippets_CLR/HttpParseException/vb/source.vb b/snippets/visualbasic/System.Web/HttpParseException/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/HttpParseException/vb/source.vb rename to snippets/visualbasic/System.Web/HttpParseException/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.Glyph.MarginBorderAnchorGlyphs/VB/DesignerDemoControl.vb b/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Enabled/DesignerDemoControl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.Glyph.MarginBorderAnchorGlyphs/VB/DesignerDemoControl.vb rename to snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Enabled/DesignerDemoControl.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic IUIService.Styles Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms.Design/IUIService/Styles/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic IUIService.Styles Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms.Design/IUIService/Styles/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/WinFormsEditorServiceDialogExample/VB/winformsedserviceeditordialogexample.vb b/snippets/visualbasic/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/winformsedserviceeditordialogexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/WinFormsEditorServiceDialogExample/VB/winformsedserviceeditordialogexample.vb rename to snippets/visualbasic/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/winformsedserviceeditordialogexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/WinFormsEditorServiceDropDownExample/VB/winformsedserviceeditordropdownexample.vb b/snippets/visualbasic/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/winformsedserviceeditordropdownexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/WinFormsEditorServiceDropDownExample/VB/winformsedserviceeditordropdownexample.vb rename to snippets/visualbasic/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/winformsedserviceeditordropdownexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Layout.LayoutEngine/VB/DemoFlowLayout.vb b/snippets/visualbasic/System.Windows.Forms.Layout/LayoutEngine/Overview/DemoFlowLayout.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Layout.LayoutEngine/VB/DemoFlowLayout.vb rename to snippets/visualbasic/System.Windows.Forms.Layout/LayoutEngine/Overview/DemoFlowLayout.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleElement/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleElement/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleInformation/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleInformation/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleInformation/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleInformation/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb b/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb rename to snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb b/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb rename to snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.RemoveMessageFilter Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Application/AddMessageFilter/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Application.RemoveMessageFilter Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Application/AddMessageFilter/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Application/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Application/ApplicationExit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Application/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Application/ApplicationExit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.CompanyName Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Application/CompanyName/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Application.CompanyName Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Application/CompanyName/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.CurrentCulture Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Application/CurrentCulture/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Application.CurrentCulture Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Application/CurrentCulture/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.CurrentInputLanguage Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Application/CurrentInputLanguage/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Application.CurrentInputLanguage Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Application/CurrentInputLanguage/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/VB/filedialogform.vb b/snippets/visualbasic/System.Windows.Forms/Application/DoEvents/filedialogform.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/VB/filedialogform.vb rename to snippets/visualbasic/System.Windows.Forms/Application/DoEvents/filedialogform.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Application.EnableVisualStyles/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Application/EnableVisualStyles/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Application.EnableVisualStyles/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Application/EnableVisualStyles/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.Exit Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Application/Exit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Application.Exit Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Application/Exit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Application Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Application/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Application Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Application/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ProductName Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Application/ProductName/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ProductName Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Application/ProductName/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ProductVersion Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Application/ProductVersion/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ProductVersion Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Application/ProductVersion/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ThreadException Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ThreadException Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.StartupPath Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Application/StartupPath/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Application.StartupPath Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Application/StartupPath/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleState/VB/visualstylestate.vb b/snippets/visualbasic/System.Windows.Forms/Application/VisualStyleState/visualstylestate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleState/VB/visualstylestate.vb rename to snippets/visualbasic/System.Windows.Forms/Application/VisualStyleState/visualstylestate.vb diff --git a/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/AutoSizeProjectVB.vbproj b/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/AutoSizeProjectVB.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/AutoSizeProjectVB.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/Form1.resx b/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/Form1.vb similarity index 85% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/Form1.vb index 711c289489e..a680ba48ffd 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/Form1.vb @@ -1,19 +1,26 @@ -Public Class Form1 +Imports System.Drawing +Imports System.Windows.Forms + +Public Class Form1 Dim flowPanel As FlowLayoutPanel Dim urlLabel As Label Dim urlTextBox As TextBox Dim WithEvents urlButton As Button + Public Shared Sub Main() + + End Sub + ' Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load - Me.AutoSize = True - Me.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink - Me.Text = "URL Opener" + AutoSize = True + AutoSizeMode = AutoSizeMode.GrowAndShrink + Text = "URL Opener" flowPanel = New FlowLayoutPanel() flowPanel.AutoSize = True - flowPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink - Me.Controls.Add(flowPanel) + flowPanel.AutoSizeMode = AutoSizeMode.GrowAndShrink + Controls.Add(flowPanel) urlLabel = New Label() urlLabel.Name = "urlLabel" @@ -54,4 +61,4 @@ Process.Start(urlTextBox.Text) End Sub ' -End Class \ No newline at end of file +End Class diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/My Project/Resources.resx b/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/My Project/Resources.resx rename to snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Settings.settings b/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Settings.settings rename to snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/My Project/Settings.settings diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ValidateChildren/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/AutoValidate/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ValidateChildren/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/AutoValidate/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Binding Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Binding/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Binding Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Binding/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorBindingComplete/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Binding/BindingComplete/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorBindingComplete/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Binding/BindingComplete/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.BindingManagerBase Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Binding/BindingManagerBase/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.BindingManagerBase Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Binding/BindingManagerBase/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.BindingMemberInfo Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Binding/BindingMemberInfo/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.BindingMemberInfo Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Binding/BindingMemberInfo/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Control Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Binding/Control/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Control Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Binding/Control/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.DataSource Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Binding/DataSource/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.DataSource Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Binding/DataSource/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Format Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Binding/Format/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Format Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Binding/Format/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.IsBinding Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Binding/IsBinding/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.IsBinding Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Binding/IsBinding/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Binding/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Binding Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Binding/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Parse Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Binding/Parse/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Parse Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Binding/Parse/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.PropertyName Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Binding/PropertyName/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.PropertyName Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Binding/PropertyName/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMultipleControls/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMultipleControls/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.BindingContext Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingContext/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.BindingContext Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingContext/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.Contains Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingContext/Contains/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.Contains Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingContext/Contains/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.Contains1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingContext/Contains/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.Contains1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingContext/Contains/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.this Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingContext/Item/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.this Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingContext/Item/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingContext/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingContext/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.ICollection.CopyTo Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingContext/System.Collections.ICollection.CopyTo/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.ICollection.CopyTo Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingContext/System.Collections.ICollection.CopyTo/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.ICollection.Count Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingContext/System.Collections.ICollection.Count/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.ICollection.Count Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingContext/System.Collections.ICollection.Count/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.IEnumerable.GetEnumerator Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingContext/System.Collections.IEnumerable.GetEnumerator/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.IEnumerable.GetEnumerator Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingContext/System.Collections.IEnumerable.GetEnumerator/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.Bindings Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Bindings/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.Bindings Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Bindings/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase.CancelCurrentEdit Example/VB/canceledit.vb b/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/CancelCurrentEdit/canceledit.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase.CancelCurrentEdit Example/VB/canceledit.vb rename to snippets/visualbasic/System.Windows.Forms/BindingManagerBase/CancelCurrentEdit/canceledit.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.Count Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Count/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.Count Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Count/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.Current Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Current/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.Current Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Current/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.GetItemProperties Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/GetItemProperties/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.GetItemProperties Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingManagerBase/GetItemProperties/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.GetItemProperties2 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/GetItemProperties/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.GetItemProperties2 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingManagerBase/GetItemProperties/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.PositionChanged Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/PositionChanged/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.PositionChanged Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingManagerBase/PositionChanged/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase_RemoveAt/VB/bindingmanagerbase_removeat.vb b/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/RemoveAt/bindingmanagerbase_removeat.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase_RemoveAt/VB/bindingmanagerbase_removeat.vb rename to snippets/visualbasic/System.Windows.Forms/BindingManagerBase/RemoveAt/bindingmanagerbase_removeat.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase_Suspend_Resume_Binding/VB/bindingmanagerbase_suspend_resume_binding.vb b/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/ResumeBinding/bindingmanagerbase_suspend_resume_binding.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase_Suspend_Resume_Binding/VB/bindingmanagerbase_suspend_resume_binding.vb rename to snippets/visualbasic/System.Windows.Forms/BindingManagerBase/ResumeBinding/bindingmanagerbase_suspend_resume_binding.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingMemberInfo.BindingPath Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingMemberInfo/BindingField/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingMemberInfo.BindingPath Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingMemberInfo/BindingField/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingMemberInfo Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingMemberInfo/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingMemberInfo Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingMemberInfo/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataNavigator/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/BindingNavigator/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataNavigator/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/BindingNavigator/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMethods/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/BindingSource/Add/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMethods/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/BindingSource/Add/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ItemChangedEventMode/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/BindingSource/AllowNew/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ItemChangedEventMode/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/BindingSource/AllowNew/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorFilterAndSort/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/BindingSource/Count/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorFilterAndSort/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/BindingSource/Count/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ResetItem/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/BindingSource/DataSource/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ResetItem/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/BindingSource/DataSource/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorCurrent/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/BindingSource/MoveFirst/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorCurrent/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/BindingSource/MoveFirst/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ResetBindings/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/BindingSource/ResetBindings/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ResetBindings/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/BindingSource/ResetBindings/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingsCollection.AddCore Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingsCollection/AddCore/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingsCollection.AddCore Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingsCollection/AddCore/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingsCollection.this Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingsCollection/Item/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingsCollection.this Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingsCollection/Item/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingsCollection Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/BindingsCollection/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic BindingsCollection Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/BindingsCollection/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/BorderStyle/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/BorderStyle/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control.Layout/VB/layout.vb b/snippets/visualbasic/System.Windows.Forms/BoundsSpecified/Overview/layout.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control.Layout/VB/layout.vb rename to snippets/visualbasic/System.Windows.Forms/BoundsSpecified/Overview/layout.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Button.Button Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Button/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Button.Button Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Button/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Button.PerformClick Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Button/PerformClick/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Button.PerformClick Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Button/PerformClick/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ButtonBase.FlatStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ButtonBase/FlatStyle/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ButtonBase.FlatStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ButtonBase/FlatStyle/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ButtonBase.ImageIndex Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ButtonBase/ImageIndex/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ButtonBase.ImageIndex Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ButtonBase/ImageIndex/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ButtonRenderer/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ButtonRenderer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ButtonRenderer/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ButtonRenderer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ButtonState/VB/buttonstate1.vb b/snippets/visualbasic/System.Windows.Forms/ButtonState/Overview/buttonstate1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ButtonState/VB/buttonstate1.vb rename to snippets/visualbasic/System.Windows.Forms/ButtonState/Overview/buttonstate1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.CharacterCasing Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CharacterCasing/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.CharacterCasing Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CharacterCasing/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckAlign Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CheckBox/CheckAlign/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckAlign Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CheckBox/CheckAlign/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/CreateParams/VB/createparams.vb b/snippets/visualbasic/System.Windows.Forms/CheckBox/CreateParams/createparams.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/CreateParams/VB/createparams.vb rename to snippets/visualbasic/System.Windows.Forms/CheckBox/CreateParams/createparams.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CheckBox/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CheckBox/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProcessMnemonic/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/CheckBox/ProcessMnemonic/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProcessMnemonic/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/CheckBox/ProcessMnemonic/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.CheckBoxRenderer/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/CheckBoxRenderer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.CheckBoxRenderer/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/CheckBoxRenderer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/CheckedListBox/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/CheckedListBox/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckedListBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CheckedListBox/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CheckedListBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CheckedListBox/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/CheckedListBox/WndProc/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/CheckedListBox/WndProc/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Clipboard Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Clipboard/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Clipboard Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Clipboard/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Clipboard.SetDataObject1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Clipboard/SetDataObject/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Clipboard.SetDataObject1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Clipboard/SetDataObject/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ColorDialogHelp/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ColorDialog/AnyColor/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ColorDialogHelp/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ColorDialog/AnyColor/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ColorDialog CustomColors Property Example/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ColorDialog/CustomColors/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ColorDialog CustomColors Property Example/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ColorDialog/CustomColors/form1.vb diff --git a/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/ClassicColorDialogExample.vbproj b/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/ClassicColorDialogExample.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/ClassicColorDialogExample.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.resx b/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.vb similarity index 80% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.vb index c5fdc1f65ec..243df674fd7 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.vb @@ -1,4 +1,11 @@ -Public Class Form1 +Imports System.Windows.Forms + +Public Class Form1 + + Public Shared Sub Main() + + End Sub + ' Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim MyDialog As New ColorDialog() @@ -10,7 +17,7 @@ MyDialog.Color = TextBox1.ForeColor ' Update the text box color if the user clicks OK - If (MyDialog.ShowDialog() = Windows.Forms.DialogResult.OK) Then + If (MyDialog.ShowDialog() = DialogResult.OK) Then TextBox1.ForeColor = MyDialog.Color End If End Sub diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Resources.resx b/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Resources.resx rename to snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Settings.settings b/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Settings.settings rename to snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/My Project/Settings.settings diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ColumnHeader/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ColumnHeader/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView1/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView1/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxDropDown/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/AddRange/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxDropDown/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/AddRange/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.combobox.datasource/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/ComboBox/DataSource/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.combobox.datasource/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ComboBox/DataSource/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ComboBox/DrawItem/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ComboBox/DrawItem/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxSelectedText/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ComboBox/OnSelectionChangeCommitted/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxSelectedText/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ComboBox/OnSelectionChangeCommitted/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ComboBox/VB/comboboxmembers.vb b/snippets/visualbasic/System.Windows.Forms/ComboBox/Overview/comboboxmembers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ComboBox/VB/comboboxmembers.vb rename to snippets/visualbasic/System.Windows.Forms/ComboBox/Overview/comboboxmembers.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ComboBox/VB/comboboxtype.vb b/snippets/visualbasic/System.Windows.Forms/ComboBox/Overview/comboboxtype.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ComboBox/VB/comboboxtype.vb rename to snippets/visualbasic/System.Windows.Forms/ComboBox/Overview/comboboxtype.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ComboBoxRenderer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ComboBoxRenderer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/HookProc Example/VB/fontdialogoverride.vb b/snippets/visualbasic/System.Windows.Forms/CommonDialog/HookProc/fontdialogoverride.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/HookProc Example/VB/fontdialogoverride.vb rename to snippets/visualbasic/System.Windows.Forms/CommonDialog/HookProc/fontdialogoverride.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IContainerControl Implementation/VB/mycontainercontrol.vb b/snippets/visualbasic/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IContainerControl Implementation/VB/mycontainercontrol.vb rename to snippets/visualbasic/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ParentForm2/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ContainerControl/ParentForm/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ParentForm2/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ContainerControl/ParentForm/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ParentForm2/VB/form2.vb b/snippets/visualbasic/System.Windows.Forms/ContainerControl/ParentForm/form2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ParentForm2/VB/form2.vb rename to snippets/visualbasic/System.Windows.Forms/ContainerControl/ParentForm/form2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ValidateChildrenWithConstraints/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/ContainerControl/ValidateChildren/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ValidateChildrenWithConstraints/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/ContainerControl/ValidateChildren/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ManualContextMenu/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ContextMenu/.ctor/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ManualContextMenu/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ContextMenu/.ctor/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ContextMenu Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ContextMenu/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ContextMenu Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ContextMenu/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb b/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb rename to snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/VB/controlaccessibility.vb b/snippets/visualbasic/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/VB/controlaccessibility.vb rename to snippets/visualbasic/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ControlCollection/VB/controlcollection.vb b/snippets/visualbasic/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ControlCollection/VB/controlcollection.vb rename to snippets/visualbasic/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.DragOperations/VB/imagedrag.vb b/snippets/visualbasic/System.Windows.Forms/Control/AllowDrop/imagedrag.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.DragOperations/VB/imagedrag.vb rename to snippets/visualbasic/System.Windows.Forms/Control/AllowDrop/imagedrag.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/VB/propertychangedevents.vb b/snippets/visualbasic/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/VB/propertychangedevents.vb rename to snippets/visualbasic/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control_BeginInvoke/VB/control_begininvoke.vb b/snippets/visualbasic/System.Windows.Forms/Control/BeginInvoke/control_begininvoke.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control_BeginInvoke/VB/control_begininvoke.vb rename to snippets/visualbasic/System.Windows.Forms/Control/BeginInvoke/control_begininvoke.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Control.BindingContextChanged Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Control/BindingContextChanged/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Control.BindingContextChanged Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Control/BindingContextChanged/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyUp/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/Bottom/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control.KeyUp/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Bottom/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/VB/controlsizelocation.vb b/snippets/visualbasic/System.Windows.Forms/Control/Bounds/controlsizelocation.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/VB/controlsizelocation.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Bounds/controlsizelocation.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members4/VB/controlmembers4.vb b/snippets/visualbasic/System.Windows.Forms/Control/BringToFront/controlmembers4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members4/VB/controlmembers4.vb rename to snippets/visualbasic/System.Windows.Forms/Control/BringToFront/controlmembers4.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/VB/controlmembers6.vb b/snippets/visualbasic/System.Windows.Forms/Control/CanFocus/controlmembers6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/VB/controlmembers6.vb rename to snippets/visualbasic/System.Windows.Forms/Control/CanFocus/controlmembers6.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlCapture/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/Capture/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlCapture/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Capture/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control.Validating/VB/validating.vb b/snippets/visualbasic/System.Windows.Forms/Control/CausesValidation/validating.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control.Validating/VB/validating.vb rename to snippets/visualbasic/System.Windows.Forms/Control/CausesValidation/validating.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control.FindForm/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/Click/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control.FindForm/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Click/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Member5/VB/controlmembers5.vb b/snippets/visualbasic/System.Windows.Forms/Control/ClientRectangle/controlmembers5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Member5/VB/controlmembers5.vb rename to snippets/visualbasic/System.Windows.Forms/Control/ClientRectangle/controlmembers5.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties3/VB/aboutdialog.vb b/snippets/visualbasic/System.Windows.Forms/Control/CompanyName/aboutdialog.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties3/VB/aboutdialog.vb rename to snippets/visualbasic/System.Windows.Forms/Control/CompanyName/aboutdialog.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties2/VB/misccontrolproperties.vb b/snippets/visualbasic/System.Windows.Forms/Control/ContextMenu/misccontrolproperties.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties2/VB/misccontrolproperties.vb rename to snippets/visualbasic/System.Windows.Forms/Control/ContextMenu/misccontrolproperties.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control_ContextMenu_CreateGraphics/VB/control_contextmenu_creategraphics.vb b/snippets/visualbasic/System.Windows.Forms/Control/ContextMenuChanged/control_contextmenu_creategraphics.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control_ContextMenu_CreateGraphics/VB/control_contextmenu_creategraphics.vb rename to snippets/visualbasic/System.Windows.Forms/Control/ContextMenuChanged/control_contextmenu_creategraphics.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.ContextMenuStrip/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/ContextMenuStrip/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.ContextMenuStrip/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/ContextMenuStrip/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control.ControlRemoved/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/ControlAdded/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control.ControlRemoved/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/ControlAdded/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursors/VB/cursorexample.vb b/snippets/visualbasic/System.Windows.Forms/Control/CursorChanged/cursorexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursors/VB/cursorexample.vb rename to snippets/visualbasic/System.Windows.Forms/Control/CursorChanged/cursorexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Control.DataBindings Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Control/DataBindings/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Control.DataBindings Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Control/DataBindings/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlDefaultProperties/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/DefaultBackColor/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlDefaultProperties/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/DefaultBackColor/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextDragDrop/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextDragDrop/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control.DoubleClick/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/DoubleClick/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control.DoubleClick/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/DoubleClick/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.EnabledChanged/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/EnabledChanged/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.EnabledChanged/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/EnabledChanged/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control.Enter/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/Enter/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control.Enter/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Enter/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members2/VB/controlmembers2.vb b/snippets/visualbasic/System.Windows.Forms/Control/Focused/controlmembers2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members2/VB/controlmembers2.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Focused/controlmembers2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control_Font/VB/control_font.vb b/snippets/visualbasic/System.Windows.Forms/Control/Font/control_font.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control_Font/VB/control_font.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Font/control_font.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.FontChanged/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/FontChanged/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.FontChanged/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/FontChanged/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/Handle/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Handle/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpEventHandler/VB/helpevent.vb b/snippets/visualbasic/System.Windows.Forms/Control/HelpRequested/helpevent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpEventHandler/VB/helpevent.vb rename to snippets/visualbasic/System.Windows.Forms/Control/HelpRequested/helpevent.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control_Invoke1/VB/control_invoke1.vb b/snippets/visualbasic/System.Windows.Forms/Control/Invoke/control_invoke1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control_Invoke1/VB/control_invoke1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Invoke/control_invoke1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control_Invoke2/VB/control_invoke2.vb b/snippets/visualbasic/System.Windows.Forms/Control/Invoke/control_invoke2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control_Invoke2/VB/control_invoke2.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Invoke/control_invoke2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.IsInputKey/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/IsInputKey/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.IsInputKey/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/IsInputKey/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ControlIsKeyLocked/VB/controliskeylocked.vb b/snippets/visualbasic/System.Windows.Forms/Control/IsKeyLocked/controliskeylocked.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ControlIsKeyLocked/VB/controliskeylocked.vb rename to snippets/visualbasic/System.Windows.Forms/Control/IsKeyLocked/controliskeylocked.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/Form2.vb b/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/Form2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/Form2.vb rename to snippets/visualbasic/System.Windows.Forms/Control/KeyDown/Form2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LocationChanged/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/LocationChanged/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LocationChanged/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/LocationChanged/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/MouseButtons/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/MouseButtons/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/app.config b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/app.config similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/app.config rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/app.config diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/form1.designer.vb b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/form1.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/form1.designer.vb rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/form1.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/form1.resx b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/form1.resx rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/mousecapturechanged.vbproj b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/mousecapturechanged.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/mousecapturechanged.vbproj rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/mousecapturechanged.vbproj diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/application.designer.vb b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/application.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/application.designer.vb rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/application.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/application.myapp b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/application.myapp similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/application.myapp rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/application.myapp diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/assemblyinfo.vb b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/assemblyinfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/assemblyinfo.vb rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/assemblyinfo.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/resources.designer.vb b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/resources.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/resources.designer.vb rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/resources.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/resources.resx b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/resources.resx rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/settings.designer.vb b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/settings.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/settings.designer.vb rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/settings.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/my project/settings.settings b/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/my project/settings.settings rename to snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/my project/settings.settings diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/VB/mouseeventexample.vb b/snippets/visualbasic/System.Windows.Forms/Control/MouseDown/mouseeventexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/VB/mouseeventexample.vb rename to snippets/visualbasic/System.Windows.Forms/Control/MouseDown/mouseeventexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control.Move/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/Move/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control.Move/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Move/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb b/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb rename to snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlOnClick/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/OnClick/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlOnClick/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/OnClick/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control.Paint/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/OnPaint/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control.Paint/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/OnPaint/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.PerformLayout/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/PerformLayout/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.PerformLayout/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/PerformLayout/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.previewkeydown/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/PreviewKeyDown/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.previewkeydown/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/PreviewKeyDown/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.Region/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/Region/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.Region/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Region/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/WinForms.Control.Resize/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/Resize/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/WinForms.Control.Resize/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Resize/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.selectnextcontrol/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/Control/SelectNextControl/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.selectnextcontrol/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/SelectNextControl/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_Methods/VB/controlmethods.vb b/snippets/visualbasic/System.Windows.Forms/Control/SetBoundsCore/controlmethods.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_Methods/VB/controlmethods.vb rename to snippets/visualbasic/System.Windows.Forms/Control/SetBoundsCore/controlmethods.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control_Scale1/VB/control_scale1.vb b/snippets/visualbasic/System.Windows.Forms/Control/SizeChanged/control_scale1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control_Scale1/VB/control_scale1.vb rename to snippets/visualbasic/System.Windows.Forms/Control/SizeChanged/control_scale1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Control.Visible Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Control/Visible/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Control.Visible Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Control/Visible/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control_VisibleChanged/VB/control_visiblechanged.vb b/snippets/visualbasic/System.Windows.Forms/Control/VisibleChanged/control_visiblechanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control_VisibleChanged/VB/control_visiblechanged.vb rename to snippets/visualbasic/System.Windows.Forms/Control/VisibleChanged/control_visiblechanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Add Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Add/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Add Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Add/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Add1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Add/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Add1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Add/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Clear Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Clear/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Clear Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Clear/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Control Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Control/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Control Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Control/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/BindingsCollectionItem Property/VB/bindingscollectionthis.vb b/snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Item/bindingscollectionthis.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/BindingsCollectionItem Property/VB/bindingscollectionthis.vb rename to snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Item/bindingscollectionthis.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Remove Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Remove/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Remove Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Remove/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.RemoveAt Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/RemoveAt/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.RemoveAt Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/RemoveAt/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlEventHandler Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ControlEventHandler/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ControlEventHandler Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ControlEventHandler/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Control_StyleChanged/VB/control_stylechanged.vb b/snippets/visualbasic/System.Windows.Forms/ControlStyles/Overview/control_stylechanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Control_StyleChanged/VB/control_stylechanged.vb rename to snippets/visualbasic/System.Windows.Forms/ControlStyles/Overview/control_stylechanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ConvertEventArgs.DesiredType Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ConvertEventArgs/DesiredType/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ConvertEventArgs.DesiredType Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ConvertEventArgs/DesiredType/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ConvertEventArgs Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ConvertEventArgs/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ConvertEventArgs Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ConvertEventArgs/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ConvertEventHandler Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ConvertEventHandler/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ConvertEventHandler Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ConvertEventHandler/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.AddNew Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/AddNew/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.AddNew Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/AddNew/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.CancelCurrentEdit Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/CancelCurrentEdit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.CancelCurrentEdit Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/CancelCurrentEdit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Count Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/Count/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Count Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/Count/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Current Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/Current/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Current Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/Current/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.EndCurrentEdit Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/EndCurrentEdit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.EndCurrentEdit Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/EndCurrentEdit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.GetItemProperties Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/GetItemProperties/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.GetItemProperties Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/GetItemProperties/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.ItemChanged Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/ItemChanged/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.ItemChanged Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/ItemChanged/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/CurrencyManager.List Example/VB/list.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/List/list.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/CurrencyManager.List Example/VB/list.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/List/list.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Position Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/Position/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Position Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/Position/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Refresh Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/Refresh/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Refresh Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/Refresh/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.RemoveAt Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/CurrencyManager/RemoveAt/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.RemoveAt Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/CurrencyManager/RemoveAt/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb b/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb rename to snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/CursorFromResource/VB/mycursor.vb b/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/mycursor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/CursorFromResource/VB/mycursor.vb rename to snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/mycursor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor/VB/customcursor.vb b/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/customcursor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor/VB/customcursor.vb rename to snippets/visualbasic/System.Windows.Forms/Cursor/Overview/customcursor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb b/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb rename to snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRadioButtonExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Cursors/Cross/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRadioButtonExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Cursors/Cross/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataFormats.Format.Format Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataFormats+Format/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataFormats.Format.Format Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataFormats+Format/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataFormats.GetFormat Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataFormats+Format/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataFormats.GetFormat Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataFormats+Format/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataFormats_CommaSeparatedValue/VB/dataformats_dif.vb b/snippets/visualbasic/System.Windows.Forms/DataFormats/Dif/dataformats_dif.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataFormats_CommaSeparatedValue/VB/dataformats_dif.vb rename to snippets/visualbasic/System.Windows.Forms/DataFormats/Dif/dataformats_dif.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataFormats_GetFormat/VB/dataformats_getformat.vb b/snippets/visualbasic/System.Windows.Forms/DataFormats/GetFormat/dataformats_getformat.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataFormats_GetFormat/VB/dataformats_getformat.vb rename to snippets/visualbasic/System.Windows.Forms/DataFormats/GetFormat/dataformats_getformat.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataFormats Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataFormats/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataFormats Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataFormats/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataFormats_StringFormat/VB/dataformats_stringformat.vb b/snippets/visualbasic/System.Windows.Forms/DataFormats/StringFormat/dataformats_stringformat.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataFormats_StringFormat/VB/dataformats_stringformat.vb rename to snippets/visualbasic/System.Windows.Forms/DataFormats/StringFormat/dataformats_stringformat.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataFormats_UnicodeText1/VB/dataformats_unicodetext.vb b/snippets/visualbasic/System.Windows.Forms/DataFormats/Text/dataformats_unicodetext.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataFormats_UnicodeText1/VB/dataformats_unicodetext.vb rename to snippets/visualbasic/System.Windows.Forms/DataFormats/Text/dataformats_unicodetext.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Column Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Column/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Column Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Column/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Nowhere Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Equals/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Nowhere Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Equals/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.GetHashCode Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/GetHashCode/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.GetHashCode Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/GetHashCode/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Row Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Row/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Row Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Row/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.ToString Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/ToString/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.ToString Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/ToString/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Type Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Type/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Type Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Type/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestType Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestType/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestType Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestType/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.DataGrid Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.DataGrid Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGrid_AllowNavigationChanged/VB/mydatagrid_allownavigationchanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/AllowNavigation/mydatagrid_allownavigationchanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGrid_AllowNavigationChanged/VB/mydatagrid_allownavigationchanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/AllowNavigation/mydatagrid_allownavigationchanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.AllowSorting Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/AllowSorting/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.AllowSorting Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/AllowSorting/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.AlternatingBackColor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/AlternatingBackColor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.AlternatingBackColor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/AlternatingBackColor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGrid_BackgroundColorChanged/VB/mydatagrid_backgroundcolorchanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/BackButtonClick/mydatagrid_backgroundcolorchanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGrid_BackgroundColorChanged/VB/mydatagrid_backgroundcolorchanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/BackButtonClick/mydatagrid_backgroundcolorchanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.BackColor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/BackColor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.BackColor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/BackColor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.BackgroundColor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/BackgroundColor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.BackgroundColor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/BackgroundColor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.BeginEdit Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/BeginEdit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.BeginEdit Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/BeginEdit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.BorderStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/BorderStyle/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.BorderStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/BorderStyle/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionBackColor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionBackColor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionBackColor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionBackColor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionFont Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionFont/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionFont Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionFont/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionForeColor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionForeColor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionForeColor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionForeColor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionText Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionText/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionText Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionText/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionVisible Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionVisible/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionVisible Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionVisible/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGrid_CaptionVisibleChanged/VB/mydatagrid_captionvisiblechanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionVisibleChanged/mydatagrid_captionvisiblechanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGrid_CaptionVisibleChanged/VB/mydatagrid_captionvisiblechanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionVisibleChanged/mydatagrid_captionvisiblechanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.Collapse Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/Collapse/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.Collapse Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/Collapse/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ColumnHeadersVisible Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/ColumnHeadersVisible/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ColumnHeadersVisible Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/ColumnHeadersVisible/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CurrentCell Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/CurrentCell/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CurrentCell Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/CurrentCell/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CurrentRowIndex Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/CurrentRowIndex/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CurrentRowIndex Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/CurrentRowIndex/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.DataMember Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/DataMember/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.DataMember Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/DataMember/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.DataSource Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/DataSource/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.DataSource Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/DataSource/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.DataSourceChanged Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/DataSourceChanged/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.DataSourceChanged Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/DataSourceChanged/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.Dispose Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/Dispose/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.Dispose Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/Dispose/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.EndEdit Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/EndEdit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.EndEdit Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/EndEdit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.Expand Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/Expand/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.Expand Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/Expand/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.FirstVisibleColumn Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/FirstVisibleColumn/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.FirstVisibleColumn Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/FirstVisibleColumn/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MyDataGridClass_FlatMode_ReadOnly/VB/mydatagridclass_flatmode_readonly.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/FlatMode/mydatagridclass_flatmode_readonly.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MyDataGridClass_FlatMode_ReadOnly/VB/mydatagridclass_flatmode_readonly.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/FlatMode/mydatagridclass_flatmode_readonly.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGrid_ColorMembers/VB/datagrid_10.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/ForeColor/datagrid_10.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGrid_ColorMembers/VB/datagrid_10.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/ForeColor/datagrid_10.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.GetCellBounds Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/GetCellBounds/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.GetCellBounds Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/GetCellBounds/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.GetCellBounds1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/GetCellBounds/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.GetCellBounds1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/GetCellBounds/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.GetCurrentCellBounds Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/GetCurrentCellBounds/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.GetCurrentCellBounds Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/GetCurrentCellBounds/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.GridLineColor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/GridLineColor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.GridLineColor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/GridLineColor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.GridLineStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/GridLineStyle/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.GridLineStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/GridLineStyle/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HeaderBackColor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/HeaderBackColor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HeaderBackColor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/HeaderBackColor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HeaderForeColor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/HeaderForeColor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HeaderForeColor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/HeaderForeColor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTest Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/HitTest/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTest Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/HitTest/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTest1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/HitTest/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTest1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/HitTest/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.IsExpanded Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/IsExpanded/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.IsExpanded Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/IsExpanded/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MyDataGridClass_ResetHeaderBackColor/VB/mydatagridclass_resetheaderbackcolor.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/IsSelected/mydatagridclass_resetheaderbackcolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MyDataGridClass_ResetHeaderBackColor/VB/mydatagridclass_resetheaderbackcolor.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/IsSelected/mydatagridclass_resetheaderbackcolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.this Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/Item/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.this Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/Item/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.this1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/Item/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.this1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/Item/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.NavigateBack Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/NavigateBack/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.NavigateBack Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/NavigateBack/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.NavigateTo Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/NavigateTo/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.NavigateTo Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/NavigateTo/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGrid.OnMouseDown/VB/overridemousedown.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/OnMouseDown/overridemousedown.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGrid.OnMouseDown/VB/overridemousedown.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/OnMouseDown/overridemousedown.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsBackColor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsBackColor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsBackColor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsBackColor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsForeColor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsForeColor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsForeColor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsForeColor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsLabelStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsLabelStyle/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsLabelStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsLabelStyle/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGrid_ParentRowsLabelStyleChanged/VB/datagrid_parentrowslabelstylechanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsLabelStyleChanged/datagrid_parentrowslabelstylechanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGrid_ParentRowsLabelStyleChanged/VB/datagrid_parentrowslabelstylechanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsLabelStyleChanged/datagrid_parentrowslabelstylechanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsVisible Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsVisible/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsVisible Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsVisible/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.PreferredColumnWidth Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/PreferredColumnWidth/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.PreferredColumnWidth Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/PreferredColumnWidth/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.PreferredRowHeight Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/PreferredRowHeight/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.PreferredRowHeight Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/PreferredRowHeight/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ReadOnly Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/ReadOnly/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ReadOnly Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/ReadOnly/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.SetDataBinding Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/SetDataBinding/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.SetDataBinding Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/SetDataBinding/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGrid_ShowParentDetailsButtonClick/VB/datagrid_showparentdetailsbuttonclick.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/ShowParentDetailsButtonClick/datagrid_showparentdetailsbuttonclick.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGrid_ShowParentDetailsButtonClick/VB/datagrid_showparentdetailsbuttonclick.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/ShowParentDetailsButtonClick/datagrid_showparentdetailsbuttonclick.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.TableStyles Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/TableStyles/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.TableStyles Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/TableStyles/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGrid_UnSelect/VB/datagrid_unselect.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/UnSelect/datagrid_unselect.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGrid_UnSelect/VB/datagrid_unselect.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/UnSelect/datagrid_unselect.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.VisibleColumnCount Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/VisibleColumnCount/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.VisibleColumnCount Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/VisibleColumnCount/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.VisibleRowCount Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGrid/VisibleRowCount/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.VisibleRowCount Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGrid/VisibleRowCount/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.DataGridBoolColumn1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.DataGridBoolColumn1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.AllowNull Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/AllowNull/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.AllowNull Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/AllowNull/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridBoolColumn/VB/datagridboolcolumn.vb b/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/AllowNullChanged/datagridboolcolumn.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridBoolColumn/VB/datagridboolcolumn.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/AllowNullChanged/datagridboolcolumn.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.EnterNullValue Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/EnterNullValue/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.EnterNullValue Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/EnterNullValue/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.TrueValue Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/FalseValue/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.TrueValue Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/FalseValue/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridBoolColumn overview/VB/boolcolumn.vb b/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/Overview/boolcolumn.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridBoolColumn overview/VB/boolcolumn.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/Overview/boolcolumn.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.DataGridCell Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridCell/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.DataGridCell Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridCell/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.ColumnNumber Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridCell/ColumnNumber/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.ColumnNumber Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridCell/ColumnNumber/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.Equals Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridCell/Equals/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.Equals Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridCell/Equals/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.GetHashCode Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridCell/GetHashCode/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.GetHashCode Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridCell/GetHashCode/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridCell/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridCell/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.ToString Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridCell/ToString/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.ToString Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridCell/ToString/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.DataGridColumnStyle1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.DataGridColumnStyle1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Alignment Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Alignment/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Alignment Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Alignment/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_AlignmentChanged/VB/datagridcolumnstyle_alignmentchanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/AlignmentChanged/datagridcolumnstyle_alignmentchanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_AlignmentChanged/VB/datagridcolumnstyle_alignmentchanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/AlignmentChanged/datagridcolumnstyle_alignmentchanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.CheckValidDataSource Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/CheckValidDataSource/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.CheckValidDataSource Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/CheckValidDataSource/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Commit Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Commit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Commit Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Commit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.ConcedeFocus Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ConcedeFocus/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.ConcedeFocus Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ConcedeFocus/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.DataGridTableStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/DataGridTableStyle/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.DataGridTableStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/DataGridTableStyle/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Edit1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Edit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Edit1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Edit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.EnterNullValue Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/EnterNullValue/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.EnterNullValue Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/EnterNullValue/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetMinimumHeight Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/GetMinimumHeight/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetMinimumHeight Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/GetMinimumHeight/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetPreferredHeight Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/GetPreferredHeight/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetPreferredHeight Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/GetPreferredHeight/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetPreferredSize Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/GetPreferredSize/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetPreferredSize Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/GetPreferredSize/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.HeaderText Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/HeaderText/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.HeaderText Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/HeaderText/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_HeaderTextChanged/VB/datagridcolumnstyle_headertextchanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/HeaderTextChanged/datagridcolumnstyle_headertextchanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_HeaderTextChanged/VB/datagridcolumnstyle_headertextchanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/HeaderTextChanged/datagridcolumnstyle_headertextchanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GridTableStylesCollectionExamples/VB/gridtablestylescollectionexamples.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GridTableStylesCollectionExamples/VB/gridtablestylescollectionexamples.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_MappingNameChanged/VB/datagridcolumnstyle_mappingnamechanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingNameChanged/datagridcolumnstyle_mappingnamechanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_MappingNameChanged/VB/datagridcolumnstyle_mappingnamechanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingNameChanged/datagridcolumnstyle_mappingnamechanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.NullText Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/NullText/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.NullText Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/NullText/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_NullTextChanged/VB/datagridcolumnstyle_nulltextchanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/NullTextChanged/datagridcolumnstyle_nulltextchanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_NullTextChanged/VB/datagridcolumnstyle_nulltextchanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/NullTextChanged/datagridcolumnstyle_nulltextchanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle Overview/VB/timecolumn.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Overview/timecolumn.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle Overview/VB/timecolumn.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Overview/timecolumn.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.PropertyDescriptor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/PropertyDescriptor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.PropertyDescriptor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/PropertyDescriptor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_PropertyDescriptorChanged/VB/propertydescriptorchanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/PropertyDescriptorChanged/propertydescriptorchanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_PropertyDescriptorChanged/VB/propertydescriptorchanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/PropertyDescriptorChanged/propertydescriptorchanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.ReadOnly Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ReadOnly/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.ReadOnly Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ReadOnly/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_ReadOnlyChanged/VB/datagridcolumnstyle_readonlychanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ReadOnlyChanged/datagridcolumnstyle_readonlychanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_ReadOnlyChanged/VB/datagridcolumnstyle_readonlychanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ReadOnlyChanged/datagridcolumnstyle_readonlychanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_ResetHeaderText/VB/datagridcolumnstyle_resetheadertext.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ResetHeaderText/datagridcolumnstyle_resetheadertext.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_ResetHeaderText/VB/datagridcolumnstyle_resetheadertext.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ResetHeaderText/datagridcolumnstyle_resetheadertext.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.UpdateUI Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/UpdateUI/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.UpdateUI Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/UpdateUI/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Width Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Width/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Width Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Width/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_WidthChanged/VB/datagridcolumnstyle_widthchanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/WidthChanged/datagridcolumnstyle_widthchanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_WidthChanged/VB/datagridcolumnstyle_widthchanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/WidthChanged/datagridcolumnstyle_widthchanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridLineStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridLineStyle/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridLineStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridLineStyle/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridParentRowsLabelStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridParentRowsLabelStyle/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridParentRowsLabelStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridParentRowsLabelStyle/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGridTableStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGridTableStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGridTableStyle2 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGridTableStyle2 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample2/VB/datagridtablestyle_sample2.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/AllowSorting/datagridtablestyle_sample2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample2/VB/datagridtablestyle_sample2.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/AllowSorting/datagridtablestyle_sample2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_sample5/VB/datagridtablestyle_sample5.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/AlternatingBackColor/datagridtablestyle_sample5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_sample5/VB/datagridtablestyle_sample5.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/AlternatingBackColor/datagridtablestyle_sample5.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.BeginEdit Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/BeginEdit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.BeginEdit Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/BeginEdit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample3/VB/datagridtablestyle_sample3.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ColumnHeadersVisible/datagridtablestyle_sample3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample3/VB/datagridtablestyle_sample3.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ColumnHeadersVisible/datagridtablestyle_sample3.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGrid Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/DataGrid/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGrid Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/DataGrid/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.EndEdit Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/EndEdit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.EndEdit Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/EndEdit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ForeColor/VB/datagridtablestyle_forecolor.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ForeColor/datagridtablestyle_forecolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ForeColor/VB/datagridtablestyle_forecolor.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ForeColor/datagridtablestyle_forecolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.GridColumnStyles Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/GridColumnStyles/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.GridColumnStyles Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/GridColumnStyles/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_sample1/VB/datagridtablestyle_sample1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/GridLineStyleChanged/datagridtablestyle_sample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_sample1/VB/datagridtablestyle_sample1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/GridLineStyleChanged/datagridtablestyle_sample1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Header_4/VB/datagridtablestyle_header_4.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderBackColor/datagridtablestyle_header_4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Header_4/VB/datagridtablestyle_header_4.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderBackColor/datagridtablestyle_header_4.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample/VB/datagridtablestyle_sample.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderFont/datagridtablestyle_sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample/VB/datagridtablestyle_sample.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderFont/datagridtablestyle_sample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTable.MappingName Example/VB/bindarray.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/MappingName/bindarray.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTable.MappingName Example/VB/bindarray.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/MappingName/bindarray.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_PreferredColumnWidth/VB/datagridtablestyle_preferredcolumnwidth.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/PreferredColumnWidth/datagridtablestyle_preferredcolumnwidth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_PreferredColumnWidth/VB/datagridtablestyle_preferredcolumnwidth.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/PreferredColumnWidth/datagridtablestyle_preferredcolumnwidth.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_PreferredRowHeight/VB/datagridtablestyle_preferredrowheight.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/PreferredRowHeight/datagridtablestyle_preferredrowheight.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_PreferredRowHeight/VB/datagridtablestyle_preferredrowheight.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/PreferredRowHeight/datagridtablestyle_preferredrowheight.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_PreferredRowHeightChanged/VB/preferredrowheightchanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/PreferredRowHeightChanged/preferredrowheightchanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_PreferredRowHeightChanged/VB/preferredrowheightchanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/PreferredRowHeightChanged/preferredrowheightchanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.ReadOnly Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ReadOnly/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.ReadOnly Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ReadOnly/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ReadOnlyChanged/VB/datagridtablestyle_readonlychanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ReadOnlyChanged/datagridtablestyle_readonlychanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ReadOnlyChanged/VB/datagridtablestyle_readonlychanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ReadOnlyChanged/datagridtablestyle_readonlychanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetAlternatingBackcolor/VB/resetalternatingbackcolor.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetAlternatingBackColor/resetalternatingbackcolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetAlternatingBackcolor/VB/resetalternatingbackcolor.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetAlternatingBackColor/resetalternatingbackcolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetBackColor/VB/datagridtablestyle_resetbackcolor.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetBackColor/datagridtablestyle_resetbackcolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetBackColor/VB/datagridtablestyle_resetbackcolor.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetBackColor/datagridtablestyle_resetbackcolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetForeColor/VB/datagridtablestyle_resetforecolor.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetForeColor/datagridtablestyle_resetforecolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetForeColor/VB/datagridtablestyle_resetforecolor.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetForeColor/datagridtablestyle_resetforecolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetGridLineColor/VB/datagridtablestyle_resetgridlinecolor.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetGridLineColor/datagridtablestyle_resetgridlinecolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetGridLineColor/VB/datagridtablestyle_resetgridlinecolor.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetGridLineColor/datagridtablestyle_resetgridlinecolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderBackColor/VB/datagridtablestyle_resetheaderbackcolor.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetHeaderBackColor/datagridtablestyle_resetheaderbackcolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderBackColor/VB/datagridtablestyle_resetheaderbackcolor.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetHeaderBackColor/datagridtablestyle_resetheaderbackcolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderFont1/VB/datagridtablestyle_resetheaderfont1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetHeaderFont/datagridtablestyle_resetheaderfont1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderFont1/VB/datagridtablestyle_resetheaderfont1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetHeaderFont/datagridtablestyle_resetheaderfont1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderForeColor/VB/datagridtablestyle_resetheaderforecolor.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetHeaderForeColor/datagridtablestyle_resetheaderforecolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderForeColor/VB/datagridtablestyle_resetheaderforecolor.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetHeaderForeColor/datagridtablestyle_resetheaderforecolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetLinkColor/VB/datagridtablestyle_resetlinkcolor.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetLinkColor/datagridtablestyle_resetlinkcolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetLinkColor/VB/datagridtablestyle_resetlinkcolor.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetLinkColor/datagridtablestyle_resetlinkcolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_SelectionForeColor/VB/selectionforecolor.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetSelectionForeColor/selectionforecolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_SelectionForeColor/VB/selectionforecolor.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetSelectionForeColor/selectionforecolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_RowHeaderWidth/VB/rowheaderwidth.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/RowHeaderWidth/rowheaderwidth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_RowHeaderWidth/VB/rowheaderwidth.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/RowHeaderWidth/rowheaderwidth.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_RowHeadersVisibleChanged/VB/rowheadersvisiblechanged.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/RowHeadersVisible/rowheadersvisiblechanged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_RowHeadersVisibleChanged/VB/rowheadersvisiblechanged.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/RowHeadersVisible/rowheadersvisiblechanged.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_SelectionBackColor/VB/selectionbackcolor.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/SelectionBackColor/selectionbackcolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_SelectionBackColor/VB/selectionbackcolor.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/SelectionBackColor/selectionbackcolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBox_IsInEditOrNavigateMode/VB/datagridtextbox_isineditornavigatemode.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBox/IsInEditOrNavigateMode/datagridtextbox_isineditornavigatemode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBox_IsInEditOrNavigateMode/VB/datagridtextbox_isineditornavigatemode.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBox/IsInEditOrNavigateMode/datagridtextbox_isineditornavigatemode.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBox/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBox/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBox_SetDataGrid/VB/datagridtextbox_setdatagrid.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBox/SetDataGrid/datagridtextbox_setdatagrid.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBox_SetDataGrid/VB/datagridtextbox_setdatagrid.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBox/SetDataGrid/datagridtextbox_setdatagrid.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBoxColumn_DataGridTextBoxColumn_2/VB/datagridtextboxcolumn_datagridtextboxcolumn_2.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/.ctor/datagridtextboxcolumn_datagridtextboxcolumn_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBoxColumn_DataGridTextBoxColumn_2/VB/datagridtextboxcolumn_datagridtextboxcolumn_2.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/.ctor/datagridtextboxcolumn_datagridtextboxcolumn_2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.DataGridTextBoxColumn2 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.DataGridTextBoxColumn2 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.Edit Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Edit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.Edit Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Edit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.EndEdit Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/EndEdit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.EndEdit Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/EndEdit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.EnterNullValue Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/EnterNullValue/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.EnterNullValue Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/EnterNullValue/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBoxColumn Format/VB/datagridtextboxcolumn format.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Format/datagridtextboxcolumn format.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBoxColumn Format/VB/datagridtextboxcolumn format.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Format/datagridtextboxcolumn format.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.GetPreferredHeight Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/GetPreferredHeight/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.GetPreferredHeight Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/GetPreferredHeight/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.GetPreferredSize Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/GetPreferredSize/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.GetPreferredSize Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/GetPreferredSize/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.DataGridTextBoxColumn1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.DataGridTextBoxColumn1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.Paint2 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Paint/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.Paint2 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Paint/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.TextBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/TextBox/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.TextBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/TextBox/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewAutoSize/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewAutoSize/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectedCollections/VB/DataGridViewSelectedCollections.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectedCollections/VB/DataGridViewSelectedCollections.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewComboBoxObjectBinding/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoGenerateColumns/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewComboBoxObjectBinding/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/AutoGenerateColumns/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewrowdemo.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewrowdemo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewrowdemo.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewrowdemo.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ProgrammaticResizing/VB/programmaticsizing.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumns/programmaticsizing.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ProgrammaticResizing/VB/programmaticsizing.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumns/programmaticsizing.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMasterDetails/VB/masterdetails.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoSizeColumnsMode/masterdetails.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMasterDetails/VB/masterdetails.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/AutoSizeColumnsMode/masterdetails.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.AutoSizing/VB/autosizing.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoSizeRowsMode/autosizing.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.AutoSizing/VB/autosizing.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/AutoSizeRowsMode/autosizing.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewSimpleBound/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/BorderStyle/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewSimpleBound/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/BorderStyle/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewFillColumnsDemo/vb/fillcolumns.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CancelEdit/fillcolumns.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewFillColumnsDemo/vb/fillcolumns.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CancelEdit/fillcolumns.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.VirtualMode/VB/virtualmode.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CancelRowEdit/virtualmode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.VirtualMode/VB/virtualmode.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CancelRowEdit/virtualmode.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/VB/tictactoe.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CellClick/tictactoe.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/VB/tictactoe.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CellClick/tictactoe.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/VB/sharedrows.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/VB/sharedrows.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewDataValidation/VB/datavalidation.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CellEndEdit/datavalidation.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewDataValidation/VB/datavalidation.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CellEndEdit/datavalidation.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCellPainting/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CellPainting/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCellPainting/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CellPainting/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_NeededEvents/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_NeededEvents/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewClipboardDemo/VB/datagridviewclipboarddemo.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/ClipboardCopyMode/datagridviewclipboarddemo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewClipboardDemo/VB/datagridviewclipboarddemo.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/ClipboardCopyMode/datagridviewclipboarddemo.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.DisabledButtons/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/CommitEdit/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.DisabledButtons/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/CommitEdit/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCalendarColumn/VB/datagridviewcalendarcolumn.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCalendarColumn/VB/datagridviewcalendarcolumn.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRolloverCell/VB/rollovercell.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/InvalidateCell/rollovercell.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRolloverCell/VB/rollovercell.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/InvalidateCell/rollovercell.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSimpleUnbound/VB/simpleunbound.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/Overview/simpleunbound.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSimpleUnbound/VB/simpleunbound.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/Overview/simpleunbound.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.RowTemplate/VB/datagridviewrowtemplate.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/RowTemplate/datagridviewrowtemplate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.RowTemplate/VB/datagridviewrowtemplate.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/RowTemplate/datagridviewrowtemplate.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.RowOperations/VB/rowoperations.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/RowValidated/rowoperations.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.RowOperations/VB/rowoperations.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/RowValidated/rowoperations.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewProgrammaticSort/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/SelectedColumns/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewProgrammaticSort/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/SelectedColumns/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewIComparerSort/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/Sort/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewIComparerSort/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/Sort/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.SortCompare/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DataGridView/SortCompare/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.SortCompare/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridView/SortCompare/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSizingScenarios/vb/sizingscenarios.vb b/snippets/visualbasic/System.Windows.Forms/DataGridViewAutoSizeColumnMode/Overview/sizingscenarios.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSizingScenarios/vb/sizingscenarios.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridViewAutoSizeColumnMode/Overview/sizingscenarios.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.MouseBasedResizing/VB/mousesizing.vb b/snippets/visualbasic/System.Windows.Forms/DataGridViewBand/Resizable/mousesizing.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.MouseBasedResizing/VB/mousesizing.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridViewBand/Resizable/mousesizing.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewContentAlignment/VB/changecolumnalignment.vb b/snippets/visualbasic/System.Windows.Forms/DataGridViewButtonColumn/DefaultCellStyle/changecolumnalignment.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewContentAlignment/VB/changecolumnalignment.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridViewButtonColumn/DefaultCellStyle/changecolumnalignment.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCell.ToolTipText/VB/datagridviewcell.tooltiptext.vb b/snippets/visualbasic/System.Windows.Forms/DataGridViewCell/Overview/datagridviewcell.tooltiptext.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCell.ToolTipText/VB/datagridviewcell.tooltiptext.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridViewCell/Overview/datagridviewcell.tooltiptext.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/VB/trivaluevirtualcheckbox.vb b/snippets/visualbasic/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/VB/trivaluevirtualcheckbox.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._CollectionBound/VB/collectionbound.vb b/snippets/visualbasic/System.Windows.Forms/DataGridViewColumn/DataPropertyName/collectionbound.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._CollectionBound/VB/collectionbound.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridViewColumn/DataPropertyName/collectionbound.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.DataError/VB/errorhandling.vb b/snippets/visualbasic/System.Windows.Forms/DataGridViewDataErrorContexts/Overview/errorhandling.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.DataError/VB/errorhandling.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridViewDataErrorContexts/Overview/errorhandling.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewObjectBinding/VB/datagridviewobjectbinding.vb b/snippets/visualbasic/System.Windows.Forms/DataGridViewRow/DataBoundItem/datagridviewobjectbinding.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewObjectBinding/VB/datagridviewobjectbinding.vb rename to snippets/visualbasic/System.Windows.Forms/DataGridViewRow/DataBoundItem/datagridviewobjectbinding.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.DataObject2 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.DataObject2 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.DataObject3 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.DataObject3 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.DataObject4 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/.ctor/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.DataObject4 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/.ctor/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetData Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/GetData/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetData Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/GetData/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetData2 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/GetData/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetData2 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/GetData/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetDataPresent Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/GetDataPresent/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetDataPresent Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/GetDataPresent/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetDataPresent1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/GetDataPresent/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetDataPresent1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/GetDataPresent/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetFormats Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/GetFormats/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetFormats Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/GetFormats/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetFormats1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/GetFormats/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetFormats1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/GetFormats/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData2 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData2 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData3 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData3 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb b/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb rename to snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DateTimePicker.CalendarFont/VB/calendarfont.vb b/snippets/visualbasic/System.Windows.Forms/DateTimePicker/CalendarFont/calendarfont.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DateTimePicker.CalendarFont/VB/calendarfont.vb rename to snippets/visualbasic/System.Windows.Forms/DateTimePicker/CalendarFont/calendarfont.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DateTimePicker.CalendarForeColor/VB/calendarforecolor.vb b/snippets/visualbasic/System.Windows.Forms/DateTimePicker/CalendarForeColor/calendarforecolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DateTimePicker.CalendarForeColor/VB/calendarforecolor.vb rename to snippets/visualbasic/System.Windows.Forms/DateTimePicker/CalendarForeColor/calendarforecolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DateTimePicker.CalendarMonthBackground/VB/calendarmonthbackground.vb b/snippets/visualbasic/System.Windows.Forms/DateTimePicker/CalendarMonthBackground/calendarmonthbackground.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DateTimePicker.CalendarMonthBackground/VB/calendarmonthbackground.vb rename to snippets/visualbasic/System.Windows.Forms/DateTimePicker/CalendarMonthBackground/calendarmonthbackground.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DateTimePicker.CustomFormat Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DateTimePicker/CustomFormat/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DateTimePicker.CustomFormat Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DateTimePicker/CustomFormat/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DateTimePicker/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DateTimePicker/DropDown/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DateTimePicker/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DateTimePicker/DropDown/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DateTimePicker Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DateTimePicker/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DateTimePicker Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DateTimePicker/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DateTimePicker.Value/VB/value.vb b/snippets/visualbasic/System.Windows.Forms/DateTimePicker/Value/value.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DateTimePicker.Value/VB/value.vb rename to snippets/visualbasic/System.Windows.Forms/DateTimePicker/Value/value.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown.DomainUpDownItemCollection Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DomainUpDown+DomainUpDownItemCollection/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown.DomainUpDownItemCollection Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DomainUpDown+DomainUpDownItemCollection/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/DomainUpDown/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/DomainUpDown/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MenuItemOwnerDraw/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DrawItemEventHandler/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MenuItemOwnerDraw/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DrawItemEventHandler/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MeasureItemEventArgs/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DrawItemState/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MeasureItemEventArgs/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DrawItemState/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb b/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb rename to snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb b/snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb rename to snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/VB/errorproviderexample.vb b/snippets/visualbasic/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/VB/errorproviderexample.vb rename to snippets/visualbasic/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ErrorProvider Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ErrorProvider/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ErrorProvider Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ErrorProvider/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/FeatureSupport/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/FeatureSupport/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialogCommonPlaces/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/FileDialog/CustomPlaces/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialogCommonPlaces/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/FileDialog/CustomPlaces/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/FileDialog/DefaultExt/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/FileDialog/DefaultExt/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/Form1.resx b/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/Form1.vb similarity index 82% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/Form1.vb index 3135f686027..c8dde7487a1 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/Form1.vb @@ -1,13 +1,18 @@ -Imports System.Security +Imports System.Drawing +Imports System.Security +Imports System.Windows.Forms Public Class Form1 + Public Shared Sub Main() + End Sub + ' Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load InitializeOpenFileDialog() End Sub Private Sub SelectFileButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SelectFileButton.Click - Dim dr As DialogResult = Me.OpenFileDialog1.ShowDialog() + Dim dr As DialogResult = OpenFileDialog1.ShowDialog() If (dr = System.Windows.Forms.DialogResult.OK) Then ' Read the files Dim file As String @@ -22,12 +27,12 @@ Public Class Form1 FlowLayoutPanel1.Controls.Add(pb) Catch SecEx As SecurityException ' The user lacks appropriate permissions to read files, discover paths, etc. - MessageBox.Show("Security error. Please contact your administrator for details.\n\n" & _ - "Error message: " & SecEx.Message & "\n\n" & _ + MessageBox.Show("Security error. Please contact your administrator for details.\n\n" & + "Error message: " & SecEx.Message & "\n\n" & "Details (send to Support):\n\n" & SecEx.StackTrace) Catch ex As Exception ' Could not load the image - probably permissions-related. - MessageBox.Show(("Cannot display the image: " & file.Substring(file.LastIndexOf("\"c)) & _ + MessageBox.Show(("Cannot display the image: " & file.Substring(file.LastIndexOf("\"c)) & ". You may not have permission to read the file, or " + "it may be corrupt." _ & ControlChars.Lf & ControlChars.Lf & "Reported error: " & ex.Message)) End Try @@ -37,13 +42,13 @@ Public Class Form1 Public Sub InitializeOpenFileDialog() ' Set the file dialog to filter for graphics files. - Me.OpenFileDialog1.Filter = _ - "Images (*.BMP;*.JPG;*.GIF)|*.BMP;*.JPG;*.GIF|" + _ + OpenFileDialog1.Filter = + "Images (*.BMP;*.JPG;*.GIF)|*.BMP;*.JPG;*.GIF|" + "All files (*.*)|*.*" ' Allow the user to select multiple images. - Me.OpenFileDialog1.Multiselect = True - Me.OpenFileDialog1.Title = "My Image Browser" + OpenFileDialog1.Multiselect = True + OpenFileDialog1.Title = "My Image Browser" End Sub ' -End Class \ No newline at end of file +End Class diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Resources.resx b/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Resources.resx rename to snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Settings.settings b/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Settings.settings rename to snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/My Project/Settings.settings diff --git a/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/TestOpenFileDialogMultiSelectVB.vbproj b/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/TestOpenFileDialogMultiSelectVB.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/TestOpenFileDialogMultiSelectVB.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic OpenFileDialog Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/FileDialog/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic OpenFileDialog Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/FileDialog/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/Form1.resx b/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/Form1.vb similarity index 93% rename from snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/Form1.vb index a9b24816428..fa1a0b76562 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/Form1.vb @@ -1,8 +1,12 @@ ' Imports System.IO Imports System.Text +Imports System.Windows.Forms Public Class Form1 + Public Shared Sub Main() + End Sub + Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.SaveFileDialog1.SupportMultiDottedExtensions = True Me.SaveFileDialog1.Filter = "Data text files|*.data.txt" diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Resources.resx b/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Resources.resx rename to snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Settings.settings b/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Settings.settings rename to snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/My Project/Settings.settings diff --git a/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/TestSaveFileDialogVB.vbproj b/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/TestSaveFileDialogVB.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/TestSaveFileDialogVB.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FlowLayoutPanel/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/FlowDirection/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FlowLayoutPanel/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/FlowDirection/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/FolderBrowserDialog/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/FolderBrowserDialog/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/FontDialog/Apply/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/FontDialog/Apply/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic FontDialog Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/FontDialog/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic FontDialog Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/FontDialog/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/FontDialog.ShowApply/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/FontDialog/ShowApply/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/FontDialog.ShowApply/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/FontDialog/ShowApply/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ControlCollection Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form+ControlCollection/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ControlCollection Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form+ControlCollection/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FormsActivate/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/Activate/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FormsActivate/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/Activate/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ActiveForm Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/ActiveForm/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ActiveForm Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/ActiveForm/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ActiveMdiChild Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/ActiveMdiChild/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ActiveMdiChild Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/ActiveMdiChild/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AddOwnedForm/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/AddOwnedForm/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.AddOwnedForm/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/AddOwnedForm/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoScroll/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/AutoScroll/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.AutoScroll/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/AutoScroll/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ClientSize Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/ClientSize/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ClientSize Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/ClientSize/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.Closing/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/Closing/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.Closing/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/Closing/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ControlBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/ControlBox/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ControlBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/ControlBox/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.DesktopBounds Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/DesktopBounds/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.DesktopBounds Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/DesktopBounds/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.DesktopLocation Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/DesktopLocation/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.DesktopLocation Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/DesktopLocation/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.DialogResult Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/DialogResult/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.DialogResult Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/DialogResult/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MdiClientExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/IsMdiContainer/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MdiClientExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/IsMdiContainer/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.LayoutMdi Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/LayoutMdi/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.LayoutMdi Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/LayoutMdi/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FormExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/MaximumSize/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FormExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/MaximumSize/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.MDIChildren/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/MdiChildren/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.MDIChildren/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/MdiChildren/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.MDIParent/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/MdiParent/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.MDIParent/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/MdiParent/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MainMenu.MainMenu Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/Menu/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MainMenu.MainMenu Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/Menu/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.Modal/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/Modal/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.Modal/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/Modal/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.Opacity/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/Opacity/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.Opacity/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/Opacity/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.AcceptButton Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.AcceptButton Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.OwnedForms/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/OwnedForms/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.OwnedForms/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/OwnedForms/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ShowDialog Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/ShowDialog/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ShowDialog Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/ShowDialog/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.ShowInTaskbar/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/ShowInTaskbar/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.ShowInTaskbar/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/ShowInTaskbar/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.SizeGripStyle/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/SizeGripStyle/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.SizeGripStyle/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/SizeGripStyle/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.StartPosition Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/StartPosition/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.StartPosition Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/StartPosition/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.TopMost/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Form/TopMost/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.TopMost/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Form/TopMost/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.TransparencyKey Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Form/TransparencyKey/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Form.TransparencyKey Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Form/TransparencyKey/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/FormBorderStyle/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/FormBorderStyle/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/FormBorderStyle/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/FormBorderStyle/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/FormStartPosition/VB/formstartposition.vb b/snippets/visualbasic/System.Windows.Forms/FormStartPosition/Overview/formstartposition.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/FormStartPosition/VB/formstartposition.vb rename to snippets/visualbasic/System.Windows.Forms/FormStartPosition/Overview/formstartposition.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/FormWindowState/VB/formwindowstate.vb b/snippets/visualbasic/System.Windows.Forms/FormWindowState/Overview/formwindowstate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/FormWindowState/VB/formwindowstate.vb rename to snippets/visualbasic/System.Windows.Forms/FormWindowState/Overview/formwindowstate.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.AddRange Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/AddRange/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.AddRange Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/AddRange/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GridColumnStylesCollection_Members/VB/gridcolumnstylescollection_members.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Clear/gridcolumnstylescollection_members.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GridColumnStylesCollection_Members/VB/gridcolumnstylescollection_members.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Clear/gridcolumnstylescollection_members.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.Contains Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Contains/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.Contains Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Contains/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.Contains1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Contains/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.Contains1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Contains/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.Contains2 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Contains/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.Contains2 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Contains/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.IndexOf Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/IndexOf/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.IndexOf Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/IndexOf/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.this Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Item/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.this Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Item/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.this1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Item/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.this1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Item/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.this2 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Item/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.this2 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Item/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GridColumnStylesCollection_RemoveAt/VB/gridcolumnstylescollection_removeat.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Remove/gridcolumnstylescollection_removeat.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GridColumnStylesCollection_RemoveAt/VB/gridcolumnstylescollection_removeat.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Remove/gridcolumnstylescollection_removeat.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GridColumnStylesCollection_ResetPropertyDescriptor/VB/gridcolumnstylescollection_resetpropertydescriptor.vb b/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/ResetPropertyDescriptors/gridcolumnstylescollection_resetpropertydescriptor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GridColumnStylesCollection_ResetPropertyDescriptor/VB/gridcolumnstylescollection_resetpropertydescriptor.vb rename to snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/ResetPropertyDescriptors/gridcolumnstylescollection_resetpropertydescriptor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GridTableStylesCollection.Clear Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GridTableStylesCollection/Clear/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GridTableStylesCollection.Clear Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GridTableStylesCollection/Clear/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GridTableStylesCollection.CollectionChanged Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GridTableStylesCollection/CollectionChanged/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GridTableStylesCollection.CollectionChanged Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GridTableStylesCollection/CollectionChanged/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic GroupBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/GroupBox/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic GroupBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/GroupBox/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRenderer/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/GroupBoxRenderer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRenderer/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/GroupBoxRenderer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic HScrollBar Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/HScrollBar/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic HScrollBar Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/HScrollBar/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/Form1.vb similarity index 84% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/Form1.vb index 1e5445833b0..f094c3b105d 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/Form1.vb @@ -1,4 +1,7 @@ Public Class Form1 + Public Shared Sub Main() + End Sub + Sub New() ' This call is required by the Windows Form Designer. diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/MouseWheelControl.Designer.vb b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/MouseWheelControl.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/MouseWheelControl.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/MouseWheelControl.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/MouseWheelControl.vb b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/MouseWheelControl.vb similarity index 90% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/MouseWheelControl.vb rename to snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/MouseWheelControl.vb index 3189936b8cd..67cec94b40b 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/MouseWheelControl.vb +++ b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/MouseWheelControl.vb @@ -1,4 +1,6 @@ ' +Imports System.Windows.Forms + Public Class MouseWheelControl Sub New() ' Add initialization code for the control here. @@ -10,4 +12,4 @@ Public Class MouseWheelControl ' Perform custom mouse wheel action here. End Sub End Class -' \ No newline at end of file +' diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Resources.resx b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Resources.resx rename to snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Settings.settings b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Settings.settings rename to snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/My Project/Settings.settings diff --git a/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/TestMouseWheelVB.vbproj b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/TestMouseWheelVB.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/TestMouseWheelVB.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Help/VB/helpsnippet.vb b/snippets/visualbasic/System.Windows.Forms/Help/Overview/helpsnippet.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Help/VB/helpsnippet.vb rename to snippets/visualbasic/System.Windows.Forms/Help/Overview/helpsnippet.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Help/ShowHelp/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Help/ShowHelp/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.KeyEventsHelpAndErrors/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/HelpProvider/GetHelpString/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.KeyEventsHelpAndErrors/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/HelpProvider/GetHelpString/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/VB/helpprovider.vb b/snippets/visualbasic/System.Windows.Forms/HelpProvider/Overview/helpprovider.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/VB/helpprovider.vb rename to snippets/visualbasic/System.Windows.Forms/HelpProvider/Overview/helpprovider.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/HorizontalAlignment/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/HorizontalAlignment/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/HorizontalAlignment/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/HorizontalAlignment/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Form1.resx b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb similarity index 92% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb index 3b7f145a03b..087801e2058 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb @@ -1,16 +1,19 @@ -Imports System.Xml -Imports System.Data -Imports System.Data.SqlClient +Imports System.Data +Imports System.Windows.Forms +Imports Microsoft.Data.SqlClient Public Class Form1 + Public Shared Sub Main() + End Sub + Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim mtb As MaskedTextBox = New MaskedTextBox() End Sub Private Sub GetDocument() - ' - Dim Doc as HtmlDocument = WebBrowser1.Document - ' + ' + Dim Doc As HtmlDocument = WebBrowser1.Document + ' End Sub ' @@ -32,7 +35,7 @@ Public Class Form1 ' Private Function GetLastModifiedDate() As String If (Not (WebBrowser1.Document Is Nothing)) Then - Dim CurrentDocument As MSHTML.IHTMLDocument2 = WebBrowser1.Document.DomDocument + Dim CurrentDocument As Object = WebBrowser1.Document.DomDocument GetLastModifiedDate = CurrentDocument.lastModified Else GetLastModifiedDate = Nothing @@ -73,10 +76,10 @@ Public Class Form1 ' Private Sub DisplayMetaDescription() If (WebBrowser1.Document IsNot Nothing) Then - Dim Elems As HtmlElementCollection - Dim WebOC as WebBrowser = WebBrowser1 + Dim Elems As HtmlElementCollection + Dim WebOC As WebBrowser = WebBrowser1 - Elems = WebOC.Document.GetElementsByTagName("META") + Elems = WebOC.Document.GetElementsByTagName("META") For Each elem As HtmlElement In Elems Dim NameStr As String = elem.GetAttribute("name") @@ -155,7 +158,7 @@ Public Class Form1 Dim TableRow As HtmlElement - ' Create the table header. + ' Create the table header. Dim TableHeader As HtmlElement = .CreateElement("THEAD") TableElem.AppendChild(TableHeader) TableRow = .CreateElement("TR") @@ -234,17 +237,17 @@ Public Class Form1 End Sub ' -' ' - ' Public Sub SnipSelected() - ' If (webBrowser1.Document IsNot Nothing) Then - ' Dim o As Object = Nothing + ' ' + ' Public Sub SnipSelected() + ' If (webBrowser1.Document IsNot Nothing) Then + ' Dim o As Object = Nothing ' webBrowser1.Document.ExecCommand("Copy", False, o) - ' Dim selected As String = CType(o, String) - ' If (selected IsNot Nothing) AndAlso selected.Length > 0 Then - ' MessageBox.Show("Selected text: " & selected) - ' End If - 'End If - ' End Sub + ' Dim selected As String = CType(o, String) + ' If (selected IsNot Nothing) AndAlso selected.Length > 0 Then + ' MessageBox.Show("Selected text: " & selected) + ' End If + 'End If + ' End Sub ' Private Sub TestHTMLThrowButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TestHTMLThrowButton.Click @@ -318,4 +321,4 @@ Public Class Form1 Private Sub ExportUrlsButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExportUrlsButton.Click Me.ExportDocumentLink() End Sub -End Class \ No newline at end of file +End Class diff --git a/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/HtmlDocumentProject.vbproj b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/HtmlDocumentProject.vbproj new file mode 100644 index 00000000000..54f95ccfff3 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/HtmlDocumentProject.vbproj @@ -0,0 +1,13 @@ + + + + Exe + net9.0-windows + true + + + + + + + diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/MyEvents.vb b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/My Project/MyEvents.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/MyEvents.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/My Project/MyEvents.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/MyResources.resx b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/My Project/MyResources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/MyResources.resx rename to snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/My Project/MyResources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyResources.vb b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/My Project/MyResources.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyResources.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/My Project/MyResources.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/MySettings.settings b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/My Project/MySettings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/MySettings.settings rename to snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/My Project/MySettings.settings diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/MySettings.vb b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/My Project/MySettings.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/MySettings.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/My Project/MySettings.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/app.config b/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/app.config similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/app.config rename to snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/app.config diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.resx b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb similarity index 97% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb index 3b466396eff..97e413df1b9 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb @@ -1,6 +1,9 @@ Imports System.Net +Imports System.Windows.Forms Public Class Form1 + Public Shared Sub Main() + End Sub Private Sub PrintDOMButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PrintDOMButton.Click PrintDomBegin() @@ -105,16 +108,16 @@ Public Class Form1 ' Private Sub CreateHyperlinkFromSelection() If (WebBrowser1.Document IsNot Nothing) Then - Dim IDoc As mshtml.IHTMLDocument2 = WebBrowser1.Document.DomDocument + Dim IDoc = WebBrowser1.Document.DomDocument If (Not (IDoc Is Nothing)) Then - Dim ISelect As mshtml.IHTMLSelectionObject = IDoc.selection + Dim ISelect = IDoc.selection If (ISelect Is Nothing) Then MsgBox("Please select some text before using this command.") Exit Sub End If - Dim TxtRange As mshtml.IHTMLTxtRange = ISelect.createRange() + Dim TxtRange = ISelect.createRange() ' Create the link. If (TxtRange.queryCommandEnabled("CreateLink")) Then @@ -147,7 +150,7 @@ Public Class Form1 Elem.InnerHtml = HtmlMenu ' Retrieve the menu cues and hook up an event handler for expanding and collapsing display of the - ' child elements. + ' child elements. For Each MenuCueElem As HtmlElement In Elem.GetElementsByTagName("SPAN") If MenuCueElem.Id.EndsWith("cue") Then AddHandler MenuCueElem.Click, New HtmlElementEventHandler(AddressOf Me.Element_Click) @@ -156,7 +159,7 @@ Public Class Form1 End Sub Private Sub Element_Click(ByVal sender As Object, ByVal e As HtmlElementEventArgs) - ' !TODO: Need SetStyle() implemented per DCR. + ' !TODO: Need SetStyle() implemented per DCR. End Sub ' @@ -249,7 +252,7 @@ Public Class Form1 Private Sub AddTopPageMessage(ByVal Message As String) If (WebBrowser1.Document IsNot Nothing) Then With WebBrowser1.Document - ' Do not insert the warning again if it already exists. + ' Do not insert the warning again if it already exists. Dim ReturnedElems As HtmlElementCollection = .All.GetElementsByName("ADatumWarningDiv") If (Not (ReturnedElems Is Nothing) And (ReturnedElems.Count > 0)) Then Exit Sub @@ -426,4 +429,4 @@ Public Class Form1 Private Sub FlowLayoutPanel1_Paint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles FlowLayoutPanel1.Paint End Sub -End Class \ No newline at end of file +End Class diff --git a/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/HtmlElementProject.vbproj b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/HtmlElementProject.vbproj new file mode 100644 index 00000000000..72ca1fff2f2 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/HtmlElementProject.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net481-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/MyEvents.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/My Project/MyEvents.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/MyEvents.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/My Project/MyEvents.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyResources.resx b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/My Project/MyResources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyResources.resx rename to snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/My Project/MyResources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyResources.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/My Project/MyResources.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyResources.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/My Project/MyResources.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/MySettings.settings b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/My Project/MySettings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/MySettings.settings rename to snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/My Project/MySettings.settings diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/MySettings.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/My Project/MySettings.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/MySettings.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/My Project/MySettings.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/app.config b/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/app.config similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/app.config rename to snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/app.config diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.resx b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb similarity index 97% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb index 751fba1b2c0..54037eff4f0 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb @@ -1,4 +1,8 @@ -Public Class Form1 +Imports System.Windows.Forms + +Public Class Form1 + Public Shared Sub Main() + End Sub Private Sub GetLinksFromFramesButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GetLinksFromFramesButton.Click Me.GetLinksFromFrames() @@ -50,7 +54,7 @@ "dialogLeft: 300px; edge: Sunken; center: Yes; help: Yes; resizable: No; status: No;" ' Show the dialog. - Dim RawWindow As mshtml.IHTMLWindow2 = Frame.DomWindow + Dim RawWindow = Frame.DomWindow RawWindow.showModalDialog("http://www.adatum.com/dialogWindow.htm", Nothing, CObj(DialogArguments)) End If End Sub @@ -173,11 +177,11 @@ OrderWindow = .Window.OpenNew(New Uri("file://C:\\orderForm.htm"), "") ' !TODO: Perform this in the load event handler! - ' Get order form. + ' Get order form. Dim ElemCollection As System.Windows.Forms.HtmlElementCollection = .All.GetElementsByName("NewOrderForm") If (ElemCollection.Count = 1) Then FormElement = ElemCollection(0) - ' TODO: Resolve this. + ' TODO: Resolve this. 'FormElement.AttachEventHandler("onsubmit", New HtmlElementEventHandler(AddressOf Form_Submit)) End If End With @@ -188,7 +192,7 @@ Private Sub Form_Submit(ByVal sender As Object, ByVal e As HtmlElementEventArgs) Dim DoOrder As Boolean = OrderWindow.Confirm("Once you transmit this order, you cannot cancel it. Submit?") If (Not DoOrder) Then - ' Cancel the submit. + ' Cancel the submit. e.ReturnValue = False OrderWindow.Alert("Submit cancelled.") End If @@ -257,7 +261,7 @@ ' - Dim WithEvents Doc As Windows.Forms.HtmlDocument + Dim WithEvents Doc As HtmlDocument Private Sub EnableClickScroll() If (WebBrowser1.Document IsNot Nothing) Then diff --git a/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/HtmlWindowProject.vbproj b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/HtmlWindowProject.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/HtmlWindowProject.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyEvents.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/My Project/MyEvents.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyEvents.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/My Project/MyEvents.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyResources.resx b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/My Project/MyResources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyResources.resx rename to snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/My Project/MyResources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyResources.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/My Project/MyResources.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyResources.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/My Project/MyResources.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MySettings.settings b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/My Project/MySettings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MySettings.settings rename to snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/My Project/MySettings.settings diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MySettings.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/My Project/MySettings.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MySettings.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/My Project/MySettings.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/app.config b/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/app.config similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/app.config rename to snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/app.config diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/Form1.resx b/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.vb similarity index 91% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.vb index 5b65f091509..f2740e77657 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.vb @@ -1,4 +1,8 @@ -Public Class Form1 +Imports System.Windows.Forms + +Public Class Form1 + Public Shared Sub Main() + End Sub Dim WithEvents Doc As HtmlDocument diff --git a/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/HtmlElementEventArgsProjectVB.vbproj b/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/HtmlElementEventArgsProjectVB.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/HtmlElementEventArgsProjectVB.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Resources.resx b/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Resources.resx rename to snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Settings.settings b/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Settings.settings rename to snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/My Project/Settings.settings diff --git a/snippets/visualbasic/VS_Snippets_Winforms/HtmlElementEventHandler/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/HtmlElementEventHandler/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/HtmlElementEventHandler/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/HtmlElementEventHandler/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IButtonControl Implementation/VB/mybutton.vb b/snippets/visualbasic/System.Windows.Forms/IButtonControl/Overview/mybutton.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IButtonControl Implementation/VB/mybutton.vb rename to snippets/visualbasic/System.Windows.Forms/IButtonControl/Overview/mybutton.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetData1/VB/getdata1.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/GetData/getdata1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetData1/VB/getdata1.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/GetData/getdata1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetData2/VB/getdata2.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/GetData/getdata2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetData2/VB/getdata2.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/GetData/getdata2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetData3/VB/getdata3.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/GetData/getdata3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetData3/VB/getdata3.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/GetData/getdata3.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetDataPresent1/VB/getdatapresent1.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetDataPresent1/VB/getdatapresent1.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetDataPresent2/VB/getdatapresent2.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetDataPresent2/VB/getdatapresent2.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetDataPresent3/VB/getdatapresent3.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetDataPresent3/VB/getdatapresent3.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent3.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetFormats1/VB/getformats1.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/GetFormats/getformats1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetFormats1/VB/getformats1.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/GetFormats/getformats1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetFormats2/VB/getformats2.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/GetFormats/getformats2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetFormats2/VB/getformats2.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/GetFormats/getformats2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SetData4/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SetData4/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SetData1/VB/setdata1.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/setdata1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SetData1/VB/setdata1.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/setdata1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SetData2/VB/setdata2.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/setdata2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SetData2/VB/setdata2.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/setdata2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SetData3/VB/setdata3.vb b/snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/setdata3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SetData3/VB/setdata3.vb rename to snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/setdata3.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic IWin32Window Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/IWin32Window/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic IWin32Window Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/IWin32Window/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ImageList Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ImageList+ImageCollection/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ImageList Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ImageList+ImageCollection/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/InputLanguageChanged/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ImeMode/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/InputLanguageChanged/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ImeMode/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.Culture Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/InputLanguage/Culture/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.Culture Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/InputLanguage/Culture/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.CurrentInputLanguage Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/InputLanguage/CurrentInputLanguage/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.CurrentInputLanguage Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/InputLanguage/CurrentInputLanguage/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.DefaultInputLanguage Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/InputLanguage/DefaultInputLanguage/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.DefaultInputLanguage Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/InputLanguage/DefaultInputLanguage/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.FromCulture Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/InputLanguage/FromCulture/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.FromCulture Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/InputLanguage/FromCulture/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.Handle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/InputLanguage/Handle/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.Handle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/InputLanguage/Handle/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.InstalledInputLanguages Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/InputLanguage/InstalledInputLanguages/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.InstalledInputLanguages Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/InputLanguage/InstalledInputLanguages/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.LayoutName Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/InputLanguage/LayoutName/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.LayoutName Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/InputLanguage/LayoutName/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/InputLanguage/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/InputLanguage/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeViewDragDrop/VB/treeviewdragdrop.vb b/snippets/visualbasic/System.Windows.Forms/ItemDragEventArgs/Overview/treeviewdragdrop.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeViewDragDrop/VB/treeviewdragdrop.vb rename to snippets/visualbasic/System.Windows.Forms/ItemDragEventArgs/Overview/treeviewdragdrop.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/KeyEventArgs.Modifiers/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/KeyEventArgs/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/KeyEventArgs.Modifiers/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/KeyEventArgs/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/keyeventargs.suppresskeypress/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/KeyEventArgs/SuppressKeyPress/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/keyeventargs.suppresskeypress/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/KeyEventArgs/SuppressKeyPress/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/KeyPressEventArgs/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/KeyPressEventArgs/Handled/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/KeyPressEventArgs/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/KeyPressEventArgs/Handled/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic KeyPressEventArgs Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/KeyPressEventArgs/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic KeyPressEventArgs Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/KeyPressEventArgs/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic KeyPressEventArgs Example/VB/source2.vb b/snippets/visualbasic/System.Windows.Forms/KeyPressEventArgs/Overview/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic KeyPressEventArgs Example/VB/source2.vb rename to snippets/visualbasic/System.Windows.Forms/KeyPressEventArgs/Overview/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/Form1.resx b/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/Form1.vb similarity index 88% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/Form1.vb index a77ce3f43af..190f90c67fe 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/Form1.vb @@ -1,5 +1,9 @@ -' +Imports System.Windows.Forms + +' Public Class Form1 + Public Shared Sub Main() + End Sub Private Sub KeyDownWork(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) _ Handles TextBox1.KeyDown diff --git a/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/KeysConverterVB.vbproj b/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/KeysConverterVB.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/KeysConverterVB.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Resources.resx b/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Resources.resx rename to snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Settings.settings b/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Settings.settings rename to snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/My Project/Settings.settings diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LabelAutoSize/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Label/AutoSize/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LabelAutoSize/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Label/AutoSize/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Label_Image/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Label/Image/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Label_Image/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Label/Image/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Label Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Label/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Label Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Label/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView3/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/LabelEditEventArgs/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView3/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/LabelEditEventArgs/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/LayoutEventArgs/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/LayoutEventArgs/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/LayoutEventArgs/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/LayoutEventArgs/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb b/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb rename to snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb b/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb rename to snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/LinkBehavior/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/LinkBehavior/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/LinkLabel Overview/VB/linklabelex.vb b/snippets/visualbasic/System.Windows.Forms/LinkLabel+LinkCollection/Add/linklabelex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/LinkLabel Overview/VB/linklabelex.vb rename to snippets/visualbasic/System.Windows.Forms/LinkLabel+LinkCollection/Add/linklabelex.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelSimple/VB/form.vb b/snippets/visualbasic/System.Windows.Forms/LinkLabel/Overview/form.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelSimple/VB/form.vb rename to snippets/visualbasic/System.Windows.Forms/LinkLabel/Overview/form.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ListBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Add/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ListBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Add/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBoxExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBoxExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListBox.SelectedIndex/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/RemoveAt/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListBox.SelectedIndex/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/RemoveAt/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindString/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox+SelectedIndexCollection/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindString/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox+SelectedIndexCollection/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ListBox.BeginUpdate Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/BeginUpdate/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ListBox.BeginUpdate Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/BeginUpdate/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBox.MultiColumn/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/ColumnWidth/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBox.MultiColumn/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/ColumnWidth/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindString2/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/FindString/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindString2/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/FindString/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindStringExact/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/FindStringExact/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindStringExact/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/FindStringExact/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindStringExact2/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/FindStringExact/form11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindStringExact2/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/FindStringExact/form11.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListBox.GetSelected/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/GetSelected/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListBox.GetSelected/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/GetSelected/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListView.HorizontalExtent/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/HorizontalExtent/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListView.HorizontalExtent/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/HorizontalExtent/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.AllowDrop/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/IndexFromPoint/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.AllowDrop/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/IndexFromPoint/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListBox.PreferredHeight/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/PreferredHeight/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListBox.PreferredHeight/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/PreferredHeight/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListBox.SelectedIndexChanged/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/SelectedIndexChanged/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListBox.SelectedIndexChanged/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/SelectedIndexChanged/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBoxSort/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/Sort/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBoxSort/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/Sort/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListBox.UseTabStops/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListBox/UseTabStops/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListBox.UseTabStops/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListBox/UseTabStops/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListControl/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListControl/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListControl/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListControl/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListView.ColumnClick/VB/listviewsort1.vb b/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Overview/listviewsort1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListView.ColumnClick/VB/listviewsort1.vb rename to snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Overview/listviewsort1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ListView.AfterLabelEdit/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListView/AfterLabelEdit/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ListView.AfterLabelEdit/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListView/AfterLabelEdit/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewWhidbeyProperties/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListView/AutoResizeColumn/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewWhidbeyProperties/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListView/AutoResizeColumn/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.VirtualMode/vb/VirtualMode.vb b/snippets/visualbasic/System.Windows.Forms/ListView/CacheVirtualItems/VirtualMode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.VirtualMode/vb/VirtualMode.vb rename to snippets/visualbasic/System.Windows.Forms/ListView/CacheVirtualItems/VirtualMode.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView4/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListView/Clear/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView4/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListView/Clear/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/VB/listviewgroupsexample.vb b/snippets/visualbasic/System.Windows.Forms/ListView/Groups/listviewgroupsexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/VB/listviewgroupsexample.vb rename to snippets/visualbasic/System.Windows.Forms/ListView/Groups/listviewgroupsexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/VB/listviewinsertionmarkexample.vb b/snippets/visualbasic/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/VB/listviewinsertionmarkexample.vb rename to snippets/visualbasic/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemWhidbeyMembers/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListView/ShowItemToolTips/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemWhidbeyMembers/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListView/ShowItemToolTips/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.Tiling/VB/listviewtilingexample.vb b/snippets/visualbasic/System.Windows.Forms/ListView/TileSize/listviewtilingexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.Tiling/VB/listviewtilingexample.vb rename to snippets/visualbasic/System.Windows.Forms/ListView/TileSize/listviewtilingexample.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListView/TopItem/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListView/TopItem/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ListViewItem/Tag/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ListViewItem/Tag/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MainMenu.MainMenu1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MainMenu/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MainMenu.MainMenu1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MainMenu/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MainMenu.GetForm Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MainMenu/CloneMenu/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MainMenu.GetForm Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MainMenu/CloneMenu/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MainMenu.RightToLeft Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MainMenu/RightToLeft/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MainMenu.RightToLeft Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MainMenu/RightToLeft/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MaskInputRejectedSample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MaskedTextBox/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MaskInputRejectedSample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MaskedTextBox/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MaskInputRejectedSample/VB/makefile b/snippets/visualbasic/System.Windows.Forms/MaskedTextBox/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MaskInputRejectedSample/VB/makefile rename to snippets/visualbasic/System.Windows.Forms/MaskedTextBox/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TestMaskedTextBox/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MaskedTextBox/Text/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TestMaskedTextBox/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MaskedTextBox/Text/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TestMaskedTextBox/VB/makefile b/snippets/visualbasic/System.Windows.Forms/MaskedTextBox/Text/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TestMaskedTextBox/VB/makefile rename to snippets/visualbasic/System.Windows.Forms/MaskedTextBox/Text/makefile diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ValidatingTypeSample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MaskedTextBox/TypeValidationCompleted/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ValidatingTypeSample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MaskedTextBox/TypeValidationCompleted/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ValidatingTypeSample/VB/makefile b/snippets/visualbasic/System.Windows.Forms/MaskedTextBox/TypeValidationCompleted/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ValidatingTypeSample/VB/makefile rename to snippets/visualbasic/System.Windows.Forms/MaskedTextBox/TypeValidationCompleted/makefile diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add4 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add4 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItems Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItems Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.CopyTo Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/AddRange/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.CopyTo Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/AddRange/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ClearItems/VB/clearitems.vb b/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Clear/clearitems.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ClearItems/VB/clearitems.vb rename to snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Clear/clearitems.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ContainsItems/VB/containsitems.vb b/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Contains/containsitems.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ContainsItems/VB/containsitems.vb rename to snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Contains/containsitems.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/CountProperty/VB/countitems.vb b/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Count/countitems.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/CountProperty/VB/countitems.vb rename to snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Count/countitems.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IndexOf/VB/indexof.vb b/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/IndexOf/indexof.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IndexOf/VB/indexof.vb rename to snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/IndexOf/indexof.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RemoveMenuItems/VB/removeitems.vb b/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Remove/removeitems.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RemoveMenuItems/VB/removeitems.vb rename to snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Remove/removeitems.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RemoveAt/VB/removeat.vb b/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/RemoveAt/removeat.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RemoveAt/VB/removeat.vb rename to snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/RemoveAt/removeat.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/CloneMenu/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Menu/CloneMenu/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/CloneMenu/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Menu/CloneMenu/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetContextMenu2/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Menu/GetContextMenu/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetContextMenu2/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Menu/GetContextMenu/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetMainMenu/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Menu/GetMainMenu/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetMainMenu/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Menu/GetMainMenu/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/IsParent/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Menu/IsParent/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/IsParent/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Menu/IsParent/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MergeMenu/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Menu/MergeMenu/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MergeMenu/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Menu/MergeMenu/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Menu/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Menu Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Menu/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem2 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem2 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem3 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem3 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem4 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem4 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source4.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem5 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MenuItem5 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/.ctor/source5.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.BarBreak Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/BarBreak/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.BarBreak Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/BarBreak/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.Break Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/Break/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.Break Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/Break/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.Checked Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/Checked/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.Checked Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/Checked/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MenuItemClick/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/Click/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MenuItemClick/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/Click/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.CloneMenu Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/CloneMenu/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.CloneMenu Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/CloneMenu/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.CloneMenu1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/CloneMenu/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.CloneMenu1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/CloneMenu/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.DefaultItem Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/DefaultItem/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.DefaultItem Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/DefaultItem/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/OwnerDraw example/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/DrawItem/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/OwnerDraw example/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/DrawItem/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MenuItem.Popup/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/Enabled/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MenuItem.Popup/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/Enabled/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.Index Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/Index/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.Index Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/Index/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.IsParent Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/IsParent/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.IsParent Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/IsParent/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MdiList Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/MdiList/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MdiList Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/MdiList/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MergeMenu1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/MergeMenu/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MergeMenu1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/MergeMenu/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MenuItemMergeOrder/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/MergeOrder/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MenuItemMergeOrder/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/MergeOrder/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MergeType Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/MergeType/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MergeType Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/MergeType/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MenuItem.Select/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/OnSelect/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MenuItem.Select/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/OnSelect/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ParentMenu/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/Parent/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ParentMenu/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/Parent/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/PerformClick/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/PerformClick/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/PerformClick/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/PerformClick/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/PerformSelect/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/PerformSelect/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/PerformSelect/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/PerformSelect/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.RadioCheck Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/RadioCheck/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.RadioCheck Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/RadioCheck/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.Text Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MenuItem/Shortcut/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.Text Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MenuItem/Shortcut/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic MessageBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/MessageBox/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic MessageBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/MessageBox/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.methodinvoker/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/MethodInvoker/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.methodinvoker/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MethodInvoker/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MonthCalendar/VB/mc.vb b/snippets/visualbasic/System.Windows.Forms/MonthCalendar/AddBoldedDate/mc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MonthCalendar/VB/mc.vb rename to snippets/visualbasic/System.Windows.Forms/MonthCalendar/AddBoldedDate/mc.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/VB/selectionrangeobj.vb b/snippets/visualbasic/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/VB/selectionrangeobj.vb rename to snippets/visualbasic/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendarSelection/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MonthCalendar/SelectionEnd/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendarSelection/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MonthCalendar/SelectionEnd/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.GetCharAtIndex/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/MouseButtons/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.GetCharAtIndex/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/MouseButtons/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.resx b/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.vb similarity index 85% rename from snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.vb index 747ea407210..811b12e53e9 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.vb @@ -1,12 +1,17 @@ -Public Class Form1 +Imports System.Drawing +Imports System.Windows.Forms + +Public Class Form1 + Public Shared Sub Main() + End Sub ' Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load - TextBox1.ContextMenu = New ContextMenu() + TextBox1.ContextMenuStrip = New ContextMenuStrip() End Sub Private Sub TextBox1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles TextBox1.MouseDown - If (e.Button = Windows.Forms.MouseButtons.Right) Then + If (e.Button = MouseButtons.Right) Then TextBox1.Select(0, TextBox1.Text.Length) End If End Sub diff --git a/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/MouseEventArgsVB.vbproj b/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/MouseEventArgsVB.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/MouseEventArgsVB.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Resources.resx b/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Resources.resx rename to snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/My Project/Settings.settings b/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/My Project/Settings.settings rename to snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/My Project/Settings.settings diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/app.config b/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/app.config similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/app.config rename to snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/app.config diff --git a/snippets/visualbasic/VS_Snippets_Winforms/NativeWindow/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/NativeWindow/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/NativeWindow/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/NativeWindow/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconBalloonTip/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconBalloonTip/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/NotifyIcon/Click/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/NotifyIcon/Click/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/NotifyIcon/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/NotifyIcon/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic NumericUpDown Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/NumericUpDown/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic NumericUpDown Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/NumericUpDown/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature.GetVersionPresent Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/OSFeature/Feature/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature.GetVersionPresent Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/OSFeature/Feature/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OSFeature.IsPresent/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/OSFeature/IsPresent/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OSFeature.IsPresent/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/OSFeature/IsPresent/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature.LayeredWindows Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/OSFeature/LayeredWindows/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature.LayeredWindows Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/OSFeature/LayeredWindows/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DlgOpenFileReadOnly/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/OpenFileDialog/ReadOnlyChecked/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DlgOpenFileReadOnly/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/OpenFileDialog/ReadOnlyChecked/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Padding/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/Padding/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Padding/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/Padding/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PageSetupDialogExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/PageSetupDialog/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PageSetupDialogExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/PageSetupDialog/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Demontrates Form Paint Event/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/PaintEventArgs/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Demontrates Form Paint Event/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/PaintEventArgs/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Panel.BorderStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Panel/BorderStyle/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Panel.BorderStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Panel/BorderStyle/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Panel Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Panel/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Panel Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Panel/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/PictureBox/CancelAsync/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/PictureBox/CancelAsync/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CreateBitmapAtRuntime/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/PictureBox/Image/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CreateBitmapAtRuntime/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/PictureBox/Image/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PictureBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/PictureBox/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PictureBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/PictureBox/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PictureBox.SizeMode/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/PictureBox/SizeMode/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PictureBox.SizeMode/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/PictureBox/SizeMode/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/PowerStatusBrowser/VB/powerstatusbrowser.vb b/snippets/visualbasic/System.Windows.Forms/PowerStatus/Overview/powerstatusbrowser.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/PowerStatusBrowser/VB/powerstatusbrowser.vb rename to snippets/visualbasic/System.Windows.Forms/PowerStatus/Overview/powerstatusbrowser.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintControllerWithStatusDialog Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/PrintControllerWithStatusDialog/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PrintControllerWithStatusDialog Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/PrintControllerWithStatusDialog/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintDialogExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/PrintDialog/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintDialogExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/PrintDialog/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/PrintPreviewControl/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/PrintPreviewControl/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/PrintPreviewDialog/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/PrintPreviewDialog/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ProgressBar.Increment/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ProgressBar/Increment/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ProgressBar.Increment/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ProgressBar/Increment/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ProgressBarOverview/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ProgressBar/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ProgressBarOverview/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ProgressBar/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ProgressBarRenderer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ProgressBarRenderer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyGrid Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/PropertyGrid/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyGrid Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/PropertyGrid/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RadioButton.CheckAlign Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RadioButton/CheckAlign/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RadioButton.CheckAlign Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RadioButton/CheckAlign/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RadioButton.Checked Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RadioButton/Checked/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RadioButton.Checked Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RadioButton/Checked/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RadioButton.OnCheckedChanged Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RadioButton/OnCheckedChanged/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RadioButton.OnCheckedChanged Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RadioButton/OnCheckedChanged/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RadioButtonRenderer/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RadioButtonRenderer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RadioButtonRenderer/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RadioButtonRenderer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.ZoomFactor/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/AutoWordSelection/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.ZoomFactor/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/AutoWordSelection/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.BulletIndent/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/BulletIndent/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.BulletIndent/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/BulletIndent/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichText_Paste/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/CanPaste/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichText_Paste/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/CanPaste/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.RedoAction/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/CanRedo/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.RedoAction/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/CanRedo/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.LinkClicked Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/DetectUrls/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.LinkClicked Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/DetectUrls/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.FindChar1/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.FindChar1/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.FindChar2/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/form11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.FindChar2/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/form11.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.FindStringStartEnd/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/form12.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.FindStringStartEnd/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/form12.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.Find Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.Find Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.Find1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.Find1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.Find2 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.Find2 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.GetCharIndexFromPosition/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/GetCharIndexFromPosition/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.GetCharIndexFromPosition/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/GetCharIndexFromPosition/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxGetLine/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/GetLineFromCharIndex/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxGetLine/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/GetLineFromCharIndex/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.LoadFile Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/LoadFile/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.LoadFile Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/LoadFile/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.LoadFile1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/LoadFile/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.LoadFile1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/LoadFile/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.MaxLength/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/MaxLength/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.MaxLength/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/MaxLength/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SaveFile Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SaveFile/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SaveFile Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SaveFile/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SaveFile1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SaveFile/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SaveFile1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SaveFile/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionBullet/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectedText/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionBullet/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectedText/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionAlignment/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionAlignment/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionAlignment/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionAlignment/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionCharOffset/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionCharOffset/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionCharOffset/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionCharOffset/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SelectionColor Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionColor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SelectionColor Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionColor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SelectionFont Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionFont/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SelectionFont Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionFont/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionHangingIndent/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionHangingIndent/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionHangingIndent/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionHangingIndent/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionIndent/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionIndent/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionIndent/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionIndent/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionLength/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionLength/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionLength/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionLength/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionProtected/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionProtected/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionProtected/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionProtected/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionRightIndent/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionRightIndent/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionRightIndent/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionRightIndent/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic SaveFileDialog Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/SaveFileDialog/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic SaveFileDialog Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/SaveFileDialog/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Screen.FromPoint/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Screen/FromPoint/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Screen.FromPoint/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Screen/FromPoint/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScreenExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Screen/GetWorkingArea/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScreenExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Screen/GetWorkingArea/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Screen Object Example/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Screen/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Screen Object Example/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Screen/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ScrollBar/LargeChange/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ScrollBar/LargeChange/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ScrollBar/OnScroll/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ScrollBar/OnScroll/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic VScrollBar Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ScrollBar/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic VScrollBar Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ScrollBar/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ScrollBarRenderer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ScrollBarRenderer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarsExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ScrollBars/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarsExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ScrollBars/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.AutoScroll Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ScrollableControl/AutoScroll/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.AutoScroll Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ScrollableControl/AutoScroll/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.ScrollableControl/VB/scrollablecontrol.vb b/snippets/visualbasic/System.Windows.Forms/ScrollableControl/AutoScrollPosition/scrollablecontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.ScrollableControl/VB/scrollablecontrol.vb rename to snippets/visualbasic/System.Windows.Forms/ScrollableControl/AutoScrollPosition/scrollablecontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.DockPadding Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ScrollableControl/DockPadding/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.DockPadding Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ScrollableControl/DockPadding/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.SetAutoScrollMargin Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ScrollableControl/SetAutoScrollMargin/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.SetAutoScrollMargin Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ScrollableControl/SetAutoScrollMargin/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewFindItems/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/SearchDirectionHint/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewFindItems/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/SearchDirectionHint/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic SelectionRange.SelectionRange1 Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/SelectionRange/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic SelectionRange.SelectionRange1 Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/SelectionRange/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.SendKeys/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/SendKeys/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.SendKeys/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/SendKeys/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SplitContainerEvents/VB/splitcontainerevents.vb b/snippets/visualbasic/System.Windows.Forms/SplitContainer/OnSplitterMoved/splitcontainerevents.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SplitContainerEvents/VB/splitcontainerevents.vb rename to snippets/visualbasic/System.Windows.Forms/SplitContainer/OnSplitterMoved/splitcontainerevents.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/BasicSplitContainer/VB/basicsplitcontainer.vb b/snippets/visualbasic/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/BasicSplitContainer/VB/basicsplitcontainer.vb rename to snippets/visualbasic/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.vb diff --git a/snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/module1.vb b/snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/module1.vb new file mode 100644 index 00000000000..49e53557f24 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/module1.vb @@ -0,0 +1,261 @@ +Imports System.Windows.Forms + +Module Module1 + + Public Sub Main() + Application.Run(New Form1()) + End Sub + + Public Class Form1 + Inherits System.Windows.Forms.Form + ' use MySplitContainer to replicate 3.5 behavior + 'private MySplitContainer splitContainer2; + Private splitContainer2 As SplitContainer + + Private splitContainer1 As System.Windows.Forms.SplitContainer + Private treeView1 As System.Windows.Forms.TreeView + Private listView2 As System.Windows.Forms.ListView + Private listView1 As System.Windows.Forms.ListView + + Public Sub New() + InitializeComponent() + End Sub + Private Sub InitializeComponent() + splitContainer1 = New System.Windows.Forms.SplitContainer() + treeView1 = New System.Windows.Forms.TreeView() + splitContainer2 = New MySplitContainer() + listView1 = New System.Windows.Forms.ListView() + listView2 = New System.Windows.Forms.ListView() + splitContainer1.SuspendLayout() + splitContainer2.SuspendLayout() + SuspendLayout() + + ' Basic SplitContainer properties. + ' This is a vertical splitter that moves in 10-pixel increments. + ' This splitter needs no explicit Orientation property because Vertical is the default. + splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill + splitContainer1.ForeColor = System.Drawing.SystemColors.Control + splitContainer1.Location = New System.Drawing.Point(0, 0) + splitContainer1.Name = "splitContainer1" + + ' You can drag the splitter no nearer than 30 pixels from the left edge of the container. + splitContainer1.Panel1MinSize = 30 + + ' You can drag the splitter no nearer than 20 pixels from the right edge of the container. + splitContainer1.Panel2MinSize = 20 + splitContainer1.Size = New System.Drawing.Size(292, 273) + splitContainer1.SplitterDistance = 79 + + ' This splitter moves in 10-pixel increments. + splitContainer1.SplitterIncrement = 10 + splitContainer1.SplitterWidth = 6 + + ' splitContainer1 is the first control in the tab order. + splitContainer1.TabIndex = 0 + splitContainer1.Text = "splitContainer1" + + ' When the splitter moves, the cursor changes shape. + AddHandler splitContainer1.SplitterMoved, AddressOf splitContainer1_SplitterMoved + AddHandler splitContainer1.SplitterMoving, AddressOf splitContainer1_SplitterMoving + + ' Add a TreeView control to the left panel. + splitContainer1.Panel1.BackColor = System.Drawing.SystemColors.Control + + ' Add a TreeView control to Panel1. + splitContainer1.Panel1.Controls.Add(treeView1) + splitContainer1.Panel1.Name = "splitterPanel1" + + ' Controls placed on Panel1 support right-to-left fonts. + splitContainer1.Panel1.RightToLeft = System.Windows.Forms.RightToLeft.Yes + + + ' Add a SplitContainer to the right panel. + splitContainer1.Panel2.Controls.Add(splitContainer2) + splitContainer1.Panel2.Name = "splitterPanel2" + + ' This TreeView control is in Panel1 of splitContainer1. + treeView1.Dock = System.Windows.Forms.DockStyle.Fill + treeView1.ForeColor = System.Drawing.SystemColors.InfoText + treeView1.ImageIndex = -1 + treeView1.Location = New System.Drawing.Point(0, 0) + treeView1.Name = "treeView1" + treeView1.SelectedImageIndex = -1 + treeView1.Size = New System.Drawing.Size(79, 273) + + treeView1.BeginUpdate() + treeView1.Nodes.Add("Parent") + treeView1.Nodes(0).Nodes.Add("Child 1") + treeView1.Nodes(0).Nodes.Add("Child 2") + treeView1.Nodes(0).Nodes(1).Nodes.Add("Grandchild") + treeView1.Nodes(0).Nodes(1).Nodes(0).Nodes.Add("Great Grandchild") + treeView1.EndUpdate() + + ' treeView1 is the second control in the tab order. + treeView1.TabIndex = 1 + + ' Basic SplitContainer properties. + ' This is a horizontal splitter whose top and bottom panels are ListView controls. The top panel is fixed. + splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill + + ' The top panel remains the same size when the form is resized. + splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1 + splitContainer2.Location = New System.Drawing.Point(0, 0) + splitContainer2.Name = "splitContainer2" + + ' Create the horizontal splitter. + splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal + splitContainer2.Size = New System.Drawing.Size(207, 273) + splitContainer2.SplitterDistance = 125 + splitContainer2.SplitterWidth = 6 + + ' splitContainer2 is the third control in the tab order. + 'splitContainer2.TabIndex = 2; + splitContainer2.TabStop = False + splitContainer2.Text = "splitContainer2" + + ' This splitter panel contains the top ListView control. + splitContainer2.Panel1.Controls.Add(listView1) + splitContainer2.Panel1.Name = "splitterPanel3" + + ' This splitter panel contains the bottom ListView control. + splitContainer2.Panel2.Controls.Add(listView2) + splitContainer2.Panel2.Name = "splitterPanel4" + + ' This ListView control is in the top panel of splitContainer2. + listView1.Dock = System.Windows.Forms.DockStyle.Fill + listView1.Location = New System.Drawing.Point(0, 0) + listView1.Name = "listView1" + listView1.Size = New System.Drawing.Size(207, 125) + listView1.View = View.Details + + ' Display grid lines. + listView1.GridLines = True + + + ' Create three items and three sets of subitems for each item. + Dim item1 As New ListViewItem("item1", 0) + ' Place a check mark next to the item. + item1.Checked = True + item1.SubItems.Add("1") + item1.SubItems.Add("2") + item1.SubItems.Add("3") + Dim item2 As New ListViewItem("item2", 1) + item2.SubItems.Add("4") + item2.SubItems.Add("5") + item2.SubItems.Add("6") + Dim item3 As New ListViewItem("item3", 0) + ' Place a check mark next to the item. + item3.Checked = True + item3.SubItems.Add("7") + item3.SubItems.Add("8") + item3.SubItems.Add("9") + + ' Create columns for the items and subitems. + ' Width of -2 indicates auto-size. + listView1.Columns.Add("Item Column", -2, HorizontalAlignment.Left) + listView1.Columns.Add("Column 2", -2, HorizontalAlignment.Left) + listView1.Columns.Add("Column 3", -2, HorizontalAlignment.Left) + listView1.Columns.Add("Column 4", -2, HorizontalAlignment.Center) + + 'Add the items to the ListView. + listView1.Items.AddRange(New ListViewItem() {item1, item2, item3}) + + ' listView1 is the fourth control in the tab order. + listView1.TabIndex = 3 + + ' This ListView control is in the bottom panel of splitContainer2. + listView2.Dock = System.Windows.Forms.DockStyle.Fill + listView2.Location = New System.Drawing.Point(0, 0) + listView2.Name = "listView2" + listView2.Size = New System.Drawing.Size(207, 142) + listView2.View = View.Details + + ' Display grid lines. + listView2.GridLines = True + + + ' Create three items and three sets of subitems for each item. + item1 = New ListViewItem("item1", 0) + ' Place a check mark next to the item. + item1.Checked = True + item1.SubItems.Add("1") + item1.SubItems.Add("2") + item1.SubItems.Add("3") + item2 = New ListViewItem("item2", 1) + item2.SubItems.Add("4") + item2.SubItems.Add("5") + item2.SubItems.Add("6") + + item3 = New ListViewItem("item3", 0) + ' Place a check mark next to the item. + item3.Checked = True + item3.SubItems.Add("7") + item3.SubItems.Add("8") + item3.SubItems.Add("9") + + ' Create columns for the items and subitems. + ' Width of -2 indicates auto-size. + listView2.Columns.Add("Item Column", -2, HorizontalAlignment.Left) + listView2.Columns.Add("Column 2", -2, HorizontalAlignment.Left) + listView2.Columns.Add("Column 3", -2, HorizontalAlignment.Left) + listView2.Columns.Add("Column 4", -2, HorizontalAlignment.Center) + + 'Add the items to the ListView. + listView2.Items.AddRange(New ListViewItem() {item1, item2, item3}) + + ' listView2 is the fifth control in the tab order. + listView2.TabIndex = 4 + + ' These are basic properties of the form. + 'ClientSize = new System.Drawing.Size(292, 273); + Me.WindowState = FormWindowState.Maximized + Controls.Add(splitContainer1) + Name = "Form1" + Text = "Form1" + splitContainer1.ResumeLayout(False) + splitContainer2.ResumeLayout(False) + ResumeLayout(False) + End Sub + + Private Sub splitContainer1_SplitterMoving(ByVal sender As System.Object, ByVal e As System.Windows.Forms.SplitterCancelEventArgs) + ' As the splitter moves, change the cursor type. + Cursor.Current = System.Windows.Forms.Cursors.NoMoveVert + End Sub + Private Sub splitContainer1_SplitterMoved(ByVal sender As System.Object, ByVal e As System.Windows.Forms.SplitterEventArgs) + ' When the splitter stops moving, change the cursor back to the default. + Cursor.Current = System.Windows.Forms.Cursors.[Default] + End Sub + End Class + + ' + Public Class MySplitContainer + Inherits SplitContainer + Private m_tabStop As Boolean = True + Public Shadows Property TabStop() As Boolean + Get + Return m_tabStop + End Get + Set(ByVal value As Boolean) + If TabStop <> value Then + m_tabStop = value + OnTabStopChanged(EventArgs.Empty) + End If + End Set + End Property + + Protected Overloads Overrides Function ProcessTabKey(ByVal forward As Boolean) As Boolean + If Not m_tabStop Then + If SelectNextControl(ActiveControl, forward, True, True, False) Then + Return True + End If + End If + Return MyBase.ProcessTabKey(forward) + End Function + + Public Function ShouldSerializeTabStop() As Boolean + Return True + End Function + End Class + ' + +End Module diff --git a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/resources.designer.vb b/snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/my project/resources.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/resources.designer.vb rename to snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/my project/resources.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/resources.resx b/snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/my project/resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/resources.resx rename to snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/my project/resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/settings.designer.vb b/snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/my project/settings.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/settings.designer.vb rename to snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/my project/settings.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/settings.settings b/snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/my project/settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/settings.settings rename to snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/my project/settings.settings diff --git a/snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/splitcontainertabstop.vbproj b/snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/splitcontainertabstop.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/splitcontainertabstop.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Splitter Example/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/Splitter/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Splitter Example/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/Splitter/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/StatusBar and StatusBarPanel Example/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/StatusBar+StatusBarPanelCollection/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/StatusBar and StatusBarPanel Example/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/StatusBar+StatusBarPanelCollection/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusBarPanelExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/StatusBar/.ctor/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusBarPanelExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/StatusBar/.ctor/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/StatusBar.DrawItem/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/StatusBar/DrawItem/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/StatusBar.DrawItem/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/StatusBar/DrawItem/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusBarDrawItemEventHandler/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/StatusBar/Text/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusBarDrawItemEventHandler/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/StatusBar/Text/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusStrip.CommonProps/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/StatusStrip/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusStrip.CommonProps/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/StatusStrip/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb b/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb rename to snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TabControlExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabAlignment/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TabControlExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabAlignment/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Add/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Add/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Add/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Add/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.AddRange/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/AddRange/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.AddRange/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/AddRange/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Clear/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Clear/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Clear/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Clear/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Contains/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Contains/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Contains/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Contains/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Count/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Count/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Count/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Count/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.IndexOf/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/IndexOf/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.IndexOf/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/IndexOf/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.IsReadOnly/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/IsReadOnly/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.IsReadOnly/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/IsReadOnly/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Remove/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Remove/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Remove/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Remove/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.RemoveAt/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/RemoveAt/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.RemoveAt/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/RemoveAt/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabControl_constructor/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/.ctor/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabControl_constructor/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/.ctor/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabAlignment/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/Alignment/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabAlignment/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/Alignment/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Appearance/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/Appearance/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Appearance/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/Appearance/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DisplayRectangle1/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/DisplayRectangle/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DisplayRectangle1/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/DisplayRectangle/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DrawItem/VB/drawitem.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/DrawItem/drawitem.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DrawItem/VB/drawitem.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/DrawItem/drawitem.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/DrawMode/VB/drawmode.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/DrawMode/drawmode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/DrawMode/VB/drawmode.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/DrawMode/drawmode.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetTabRect/VB/gettabrect.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/GetTabRect/gettabrect.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetTabRect/VB/gettabrect.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/GetTabRect/gettabrect.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/HotTrack/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/HotTrack/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/HotTrack/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/HotTrack/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabControl.ImageList/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/ImageList/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabControl.ImageList/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/ImageList/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ItemSize/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/ItemSize/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ItemSize/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/ItemSize/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Multiline/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/Multiline/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Multiline/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/Multiline/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TabControl Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TabControl Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Padding/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/Padding/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Padding/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/Padding/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/RowCount/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/RowCount/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/RowCount/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/RowCount/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SelectedIndex/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/SelectedIndex/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SelectedIndex/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/SelectedIndex/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SelectedTab/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/SelectedTab/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SelectedTab/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/SelectedTab/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ToolTipText/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/ShowToolTips/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ToolTipText/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/ShowToolTips/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SizeMode/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/SizeMode/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SizeMode/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/SizeMode/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabCount/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabControl/TabCount/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabCount/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabControl/TabCount/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPageControlCollection.Add/VB/add.vb b/snippets/visualbasic/System.Windows.Forms/TabPage+TabPageControlCollection/Add/add.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPageControlCollection.Add/VB/add.vb rename to snippets/visualbasic/System.Windows.Forms/TabPage+TabPageControlCollection/Add/add.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPage_constructor/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabPage/.ctor/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPage_constructor/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabPage/.ctor/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPage_withText/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabPage/.ctor/form11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPage_withText/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabPage/.ctor/form11.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/GetTabPageOfComponent/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabPage/GetTabPageOfComponent/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/GetTabPageOfComponent/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabPage/GetTabPageOfComponent/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPage.ImageIndex/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabPage/ImageIndex/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPage.ImageIndex/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabPage/ImageIndex/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPage/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabPage/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPage/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabPage/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabText/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabPage/Text/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabText/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabPage/Text/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TabPage.ToString/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabPage/ToString/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TabPage.ToString/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabPage/ToString/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TabRenderer/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TabRenderer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TabRenderer/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TabRenderer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.TextBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBox/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.TextBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBox/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.AcceptsReturn Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBox/AcceptsReturn/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.AcceptsReturn Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBox/AcceptsReturn/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.textbox.autocompletecustomsource/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/TextBox/AutoCompleteCustomSource/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.textbox.autocompletecustomsource/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TextBox/AutoCompleteCustomSource/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBox/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBox/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.ScrollBars Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBox/ScrollBars/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.ScrollBars Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBox/ScrollBars/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TextBoxBase.AppendText/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AppendText/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TextBoxBase.AppendText/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/AppendText/form1.vb diff --git a/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/AutoSize.vbproj b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/AutoSize.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/AutoSize.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/Form1.resx b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/Form1.vb similarity index 91% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/Form1.vb index 54e652c9206..ce05e9422be 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/Form1.vb @@ -1,5 +1,9 @@ -Public Class Form1 +Imports System.Drawing +Public Class Form1 + + Public Shared Sub Main() + End Sub ' Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Resources.resx b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Resources.resx rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Settings.settings b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Settings.settings rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/My Project/Settings.settings diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.BorderStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/BorderStyle/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.BorderStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/BorderStyle/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.CanUndo Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/CanUndo/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.CanUndo Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/CanUndo/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Clear Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Clear/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Clear Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/Clear/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/ClearUndo/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/ClearUndo/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextBoxBaseScrolling/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Click/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextBoxBaseScrolling/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/Click/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Lines Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Lines/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Lines Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/Lines/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.MaxLength Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/MaxLength/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.MaxLength Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/MaxLength/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Modified Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Modified/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Modified Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/Modified/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Select Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Select/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Select Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/Select/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectAll Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectAll/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectAll Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectAll/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectedText Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectedText/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectedText Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectedText/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/Form1.Designer.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/Form1.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/Form1.resx b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/Form1.resx rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/Form1.vb similarity index 90% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/Form1.vb index 44c5b086f03..55ceb48e78a 100644 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/Form1.vb +++ b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/Form1.vb @@ -1,5 +1,7 @@ ' Public Class Form1 + Public Shared Sub Main() + End Sub Private Sub ButtonClickWork(ByVal sender As System.Object, ByVal e As System.EventArgs) _ Handles Button1.Click diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Resources.Designer.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/My Project/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Resources.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/My Project/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Resources.resx b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/My Project/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Resources.resx rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/My Project/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/My Project/Settings.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Settings.Designer.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/My Project/Settings.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Settings.settings b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/My Project/Settings.settings similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Settings.settings rename to snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/My Project/Settings.settings diff --git a/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/SelectionStart.vbproj b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/SelectionStart.vbproj new file mode 100644 index 00000000000..0b25e60e109 --- /dev/null +++ b/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/SelectionStart.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net9.0-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextBoxRenderer/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TextBoxRenderer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextBoxRenderer/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TextBoxRenderer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic Timer Example 2/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/Timer/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic Timer Example 2/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/Timer/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ToolBar/VB/mytoolbar.vb b/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ToolBar/VB/mytoolbar.vb rename to snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.Add Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.Add Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.Count Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Clear/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.Count Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Clear/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.IndexOf Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/IndexOf/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.IndexOf Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/IndexOf/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.this Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Item/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.this Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Item/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.Buttons Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.Buttons Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.RemoveAt Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/RemoveAt/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.RemoveAt Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/RemoveAt/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBar Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ToolBar/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBar Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ToolBar/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/ToolBarButton/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/ToolBarButton/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolBarButtonExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolBarButton/PartialPush/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolBarButtonExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolBarButton/PartialPush/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.BeginEndDrag/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStrip/BeginDrag/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.BeginEndDrag/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStrip/BeginDrag/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MainToolStripExample/vb/hvtsctoolstrip.vb b/snippets/visualbasic/System.Windows.Forms/ToolStrip/Items/hvtsctoolstrip.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MainToolStripExample/vb/hvtsctoolstrip.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStrip/Items/hvtsctoolstrip.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.toolstripcontainer2/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStrip/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.toolstripcontainer2/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStrip/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripToolTip/vb/Form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStrip/ShowItemToolTips/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripToolTip/vb/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStrip/ShowItemToolTips/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripButton/vb/Form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripButton/vb/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripButton/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripContainer/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripContentPanel/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripContainer/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripContentPanel/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripControlHost/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripControlHost/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDown/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDown/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownTreeView/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownTreeView/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ToolStripRadioButtonMenuItem/vb/ToolStripRadioButtonMenuItem.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/DropDownItems/ToolStripRadioButtonMenuItem.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ToolStripRadioButtonMenuItem/vb/ToolStripRadioButtonMenuItem.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/DropDownItems/ToolStripRadioButtonMenuItem.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownItem/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownItem/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStripMerge/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripItem/MergeIndex/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStripMerge/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripItem/MergeIndex/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripStatusLabel.CommonProps/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripStatusLabel.CommonProps/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripLabel/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Tag/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripLabel/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripItem/Tag/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.StackView/VB/StackView.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripProfessionalRenderer/Overview/StackView.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.StackView/VB/StackView.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripProfessionalRenderer/Overview/StackView.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ToolTip Example/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/ToolTip/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ToolTip Example/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/ToolTip/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarExample/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TrackBar/Minimum/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarExample/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TrackBar/Minimum/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/TrackBar/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/TrackBar/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/VB/form1.vb b/snippets/visualbasic/System.Windows.Forms/TrackBarRenderer/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/VB/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TrackBarRenderer/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Bounds/VB/treenode_bounds.vb b/snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Bounds/VB/treenode_bounds.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_TreeNode/VB/treenode_treenode.vb b/snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_treenode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeNode_TreeNode/VB/treenode_treenode.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_treenode.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Checked/VB/treenode_checked.vb b/snippets/visualbasic/System.Windows.Forms/TreeNode/BackColor/treenode_checked.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Checked/VB/treenode_checked.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNode/BackColor/treenode_checked.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_EnsureVisible_4/VB/treenode_ensurevisible_4.vb b/snippets/visualbasic/System.Windows.Forms/TreeNode/Clone/treenode_ensurevisible_4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeNode_EnsureVisible_4/VB/treenode_ensurevisible_4.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNode/Clone/treenode_ensurevisible_4.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_ForeColor/VB/treenode_forecolor.vb b/snippets/visualbasic/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeNode_ForeColor/VB/treenode_forecolor.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Parent/VB/treenode_parent.vb b/snippets/visualbasic/System.Windows.Forms/TreeNode/FirstNode/treenode_parent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Parent/VB/treenode_parent.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNode/FirstNode/treenode_parent.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.TreeNode/VB/treenode.vb b/snippets/visualbasic/System.Windows.Forms/TreeNode/FromHandle/treenode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.TreeNode/VB/treenode.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNode/FromHandle/treenode.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection/VB/treenodecollection.vb b/snippets/visualbasic/System.Windows.Forms/TreeNode/Nodes/treenodecollection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection/VB/treenodecollection.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNode/Nodes/treenodecollection.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/VB/Form1.vb b/snippets/visualbasic/System.Windows.Forms/TreeNode/ToolTipText/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/VB/Form1.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNode/ToolTipText/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Clear/VB/treenodecollection_clear.vb b/snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/AddRange/treenodecollection_clear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Clear/VB/treenodecollection_clear.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/AddRange/treenodecollection_clear.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Contains_GetEnumerator/VB/treenodecollection_contains_getenumerator.vb b/snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/Contains/treenodecollection_contains_getenumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Contains_GetEnumerator/VB/treenodecollection_contains_getenumerator.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/Contains/treenodecollection_contains_getenumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Count_CopyTo/VB/treenodecollection_count_copyto.vb b/snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/CopyTo/treenodecollection_count_copyto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Count_CopyTo/VB/treenodecollection_count_copyto.vb rename to snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/CopyTo/treenodecollection_count_copyto.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes2/VB/treeviewshowcheckednodes2.vb b/snippets/visualbasic/System.Windows.Forms/TreeView/.ctor/treeviewshowcheckednodes2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes2/VB/treeviewshowcheckednodes2.vb rename to snippets/visualbasic/System.Windows.Forms/TreeView/.ctor/treeviewshowcheckednodes2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeView.AfterCheck_BeforeCheck/VB/tn_checked.vb b/snippets/visualbasic/System.Windows.Forms/TreeView/AfterCheck/tn_checked.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeView.AfterCheck_BeforeCheck/VB/tn_checked.vb rename to snippets/visualbasic/System.Windows.Forms/TreeView/AfterCheck/tn_checked.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/VB/treeviewshowcheckednodes1.vb b/snippets/visualbasic/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/VB/treeviewshowcheckednodes1.vb rename to snippets/visualbasic/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeViewCustomization/VB/treeviewcustomization.vb b/snippets/visualbasic/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeViewCustomization/VB/treeviewcustomization.vb rename to snippets/visualbasic/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeViewMisc/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/TreeView/Overview/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeViewMisc/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/TreeView/Overview/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/UpDownBase/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/UpDownBase/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase.BorderStyle Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/UpDownBase/PreferredHeight/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase.BorderStyle Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/UpDownBase/PreferredHeight/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase.Text Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/UpDownBase/Select/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase.Text Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/UpDownBase/Select/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic UserControl.UserControl Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/UserControl/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic UserControl.UserControl Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/UserControl/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic UserControl Example/VB/source.vb b/snippets/visualbasic/System.Windows.Forms/UserControl/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/Classic UserControl Example/VB/source.vb rename to snippets/visualbasic/System.Windows.Forms/UserControl/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb b/snippets/visualbasic/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb rename to snippets/visualbasic/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser.ObjectForScripting/vb/form1.vb b/snippets/visualbasic/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser.ObjectForScripting/vb/form1.vb rename to snippets/visualbasic/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserExtensibility/VB/WB2.vb b/snippets/visualbasic/System.Windows.Forms/WebBrowser/CreateSink/WB2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/WebBrowserExtensibility/VB/WB2.vb rename to snippets/visualbasic/System.Windows.Forms/WebBrowser/CreateSink/WB2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SchemaImporterExtensionExample/VB/SchemaImporterExtensionExample.vb b/snippets/visualbasic/System.Xml.Serialization.Advanced/SchemaImporterExtension/ImportSchemaType/SchemaImporterExtensionExample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SchemaImporterExtensionExample/VB/SchemaImporterExtensionExample.vb rename to snippets/visualbasic/System.Xml.Serialization.Advanced/SchemaImporterExtension/ImportSchemaType/SchemaImporterExtensionExample.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapAttributeAttributeEx2/VB/soapattributeex2.vb b/snippets/visualbasic/System.Xml.Serialization/SoapAttributeAttribute/.ctor/soapattributeex2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapAttributeAttributeEx2/VB/soapattributeex2.vb rename to snippets/visualbasic/System.Xml.Serialization/SoapAttributeAttribute/.ctor/soapattributeex2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapAttribute/VB/soapattribute.vb b/snippets/visualbasic/System.Xml.Serialization/SoapAttributeAttribute/Overview/soapattribute.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapAttribute/VB/soapattribute.vb rename to snippets/visualbasic/System.Xml.Serialization/SoapAttributeAttribute/Overview/soapattribute.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapAttributeOverrides.Item property 1/VB/attadd.vb b/snippets/visualbasic/System.Xml.Serialization/SoapAttributeOverrides/Item/attadd.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapAttributeOverrides.Item property 1/VB/attadd.vb rename to snippets/visualbasic/System.Xml.Serialization/SoapAttributeOverrides/Item/attadd.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapAttributeOverrides.Item property 2/VB/attadd2.vb b/snippets/visualbasic/System.Xml.Serialization/SoapAttributeOverrides/Item/attadd2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapAttributeOverrides.Item property 2/VB/attadd2.vb rename to snippets/visualbasic/System.Xml.Serialization/SoapAttributeOverrides/Item/attadd2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapAttributesOverrides/VB/SoapOver.vb b/snippets/visualbasic/System.Xml.Serialization/SoapAttributeOverrides/Overview/SoapOver.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapAttributesOverrides/VB/SoapOver.vb rename to snippets/visualbasic/System.Xml.Serialization/SoapAttributeOverrides/Overview/SoapOver.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapAttribues.SoapDefaultValue/VB/defvalue.vb b/snippets/visualbasic/System.Xml.Serialization/SoapAttributes/SoapDefaultValue/defvalue.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapAttribues.SoapDefaultValue/VB/defvalue.vb rename to snippets/visualbasic/System.Xml.Serialization/SoapAttributes/SoapDefaultValue/defvalue.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapElementOverrides/VB/soapelementoverrides.vb b/snippets/visualbasic/System.Xml.Serialization/SoapAttributes/SoapElement/soapelementoverrides.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapElementOverrides/VB/soapelementoverrides.vb rename to snippets/visualbasic/System.Xml.Serialization/SoapAttributes/SoapElement/soapelementoverrides.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapEnumOverrides/VB/soapenumoverrides.vb b/snippets/visualbasic/System.Xml.Serialization/SoapAttributes/SoapEnum/soapenumoverrides.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapEnumOverrides/VB/soapenumoverrides.vb rename to snippets/visualbasic/System.Xml.Serialization/SoapAttributes/SoapEnum/soapenumoverrides.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SoapTypeAttribute Example/VB/soaptype.vb b/snippets/visualbasic/System.Xml.Serialization/SoapTypeAttribute/Overview/soaptype.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SoapTypeAttribute Example/VB/soaptype.vb rename to snippets/visualbasic/System.Xml.Serialization/SoapTypeAttribute/Overview/soaptype.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/UnreferencedObject Event Example/VB/unrefobj.vb b/snippets/visualbasic/System.Xml.Serialization/UnreferencedObjectEventArgs/Overview/unrefobj.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/UnreferencedObject Event Example/VB/unrefobj.vb rename to snippets/visualbasic/System.Xml.Serialization/UnreferencedObjectEventArgs/Overview/unrefobj.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/XmlAnyAttributeAttribute_ctor Example/VB/anyattover.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAnyAttributeAttribute/.ctor/anyattover.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/XmlAnyAttributeAttribute_ctor Example/VB/anyattover.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAnyAttributeAttribute/.ctor/anyattover.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/XmlAnyAttributeAttribute Example/VB/anyattribute.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAnyAttributeAttribute/Overview/anyattribute.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/XmlAnyAttributeAttribute Example/VB/anyattribute.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAnyAttributeAttribute/Overview/anyattribute.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/XmlAnyElementAttribute Example/VB/anyelement.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAnyElementAttribute/Name/anyelement.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/XmlAnyElementAttribute Example/VB/anyelement.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAnyElementAttribute/Name/anyelement.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAnyElementAttribute Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAnyElementAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAnyElementAttribute Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAnyElementAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/XmlAttributes.XmlAnyElements/VB/xmlanyover.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAnyElementAttributes/Overview/xmlanyover.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/XmlAttributes.XmlAnyElements/VB/xmlanyover.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAnyElementAttributes/Overview/xmlanyover.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayAttribute.XmlArrayAttribute Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlArrayAttribute/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayAttribute.XmlArrayAttribute Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlArrayAttribute/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayAttribute.XmlArrayAttribute1 Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlArrayAttribute/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayAttribute.XmlArrayAttribute1 Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlArrayAttribute/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayAttribute.ElementName Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlArrayAttribute/ElementName/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayAttribute.ElementName Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlArrayAttribute/ElementName/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayAttribute.Form Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlArrayAttribute/Form/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayAttribute.Form Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlArrayAttribute/Form/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayAttribute.IsNullable Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlArrayAttribute/IsNullable/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayAttribute.IsNullable Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlArrayAttribute/IsNullable/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayAttribute.Namespace Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlArrayAttribute/Namespace/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayAttribute.Namespace Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlArrayAttribute/Namespace/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayAttribute Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlArrayAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayAttribute Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlArrayAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.XmlArrayItemAttribute Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.XmlArrayItemAttribute Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.XmlArrayItemAttribute1 Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.XmlArrayItemAttribute1 Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.XmlArrayItemAttribute2 Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/.ctor/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.XmlArrayItemAttribute2 Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/.ctor/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.XmlArrayItemAttribute3 Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/.ctor/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.XmlArrayItemAttribute3 Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/.ctor/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/XmlArrayItemAttribute Example/VB/arrayitem.vb b/snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/DataType/arrayitem.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/XmlArrayItemAttribute Example/VB/arrayitem.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/DataType/arrayitem.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.ElementName Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/ElementName/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.ElementName Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/ElementName/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.Form Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/Form/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.Form Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/Form/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.IsNullable Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/IsNullable/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.IsNullable Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/IsNullable/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.Namespace Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/Namespace/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.Namespace Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/Namespace/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.Type Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/Type/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.Type Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/Type/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/XMLAttributeAttribute_ctr1_2/VB/xmlattributeattribute_ctr1_2.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributeAttribute/.ctor/xmlattributeattribute_ctr1_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/XMLAttributeAttribute_ctr1_2/VB/xmlattributeattribute_ctr1_2.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributeAttribute/.ctor/xmlattributeattribute_ctr1_2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeAttribute.AttributeName Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributeAttribute/AttributeName/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeAttribute.AttributeName Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributeAttribute/AttributeName/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeAttribute.DataType Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributeAttribute/DataType/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeAttribute.DataType Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributeAttribute/DataType/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeAttribute.Form Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributeAttribute/Form/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeAttribute.Form Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributeAttribute/Form/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeAttribute.Namespace Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributeAttribute/Namespace/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeAttribute.Namespace Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributeAttribute/Namespace/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeAttribute Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributeAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeAttribute Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributeAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeEventArgs.ObjectBeingDeserialized Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributeEventArgs/ObjectBeingDeserialized/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeEventArgs.ObjectBeingDeserialized Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributeEventArgs/ObjectBeingDeserialized/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.UnknownAttribute Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributeEventArgs/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.UnknownAttribute Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributeEventArgs/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeOverrides.Add Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributeOverrides/Add/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeOverrides.Add Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributeOverrides/Add/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeOverrides.Add1 Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributeOverrides/Add/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeOverrides.Add1 Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributeOverrides/Add/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeOverrides.this Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributeOverrides/Item/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeOverrides.this Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributeOverrides/Item/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeOverrides.this1 Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributeOverrides/Item/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeOverrides.this1 Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributeOverrides/Item/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeOverrides Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributeOverrides/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeOverrides Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributeOverrides/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlAttributes Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlAttributes Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributes/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlArray Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlArray/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlArray Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlArray/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlArrayItems Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlArrayItems/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlArrayItems Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlArrayItems/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlAttribute Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlAttribute/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlAttribute Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlAttribute/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlDefaultValue Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlDefaultValue/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlDefaultValue Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlDefaultValue/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlElements Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlElements/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlElements Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlElements/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlEnum Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlEnum/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlEnum Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlEnum/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlIgnore Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlIgnore/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlIgnore Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlIgnore/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlRoot Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlRoot/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlRoot Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlRoot/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlText Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlText/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlText Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlText/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlType Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlType/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlType Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlType/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/XmlAttributes.Xmlns property example/VB/xmlns.vb b/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/Xmlns/xmlns.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/XmlAttributes.Xmlns property example/VB/xmlns.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlAttributes/Xmlns/xmlns.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/XmlChoiceIdentifierAttribute Example/VB/choice.vb b/snippets/visualbasic/System.Xml.Serialization/XmlChoiceIdentifierAttribute/Overview/choice.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/XmlChoiceIdentifierAttribute Example/VB/choice.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlChoiceIdentifierAttribute/Overview/choice.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.XmlElementAttribute Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.XmlElementAttribute Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.XmlElementAttribute1 Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.XmlElementAttribute1 Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.XmlElementAttribute2 Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/.ctor/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.XmlElementAttribute2 Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/.ctor/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.DataType Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/DataType/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.DataType Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/DataType/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.ElementName Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/ElementName/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.ElementName Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/ElementName/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.Form Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/Form/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.Form Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/Form/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.IsNullable Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/IsNullable/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.IsNullable Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/IsNullable/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.Type Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/Type/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.Type Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/Type/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttributes.Add Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlElementAttributes/Add/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttributes.Add Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlElementAttributes/Add/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttributes Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlElementAttributes/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttributes Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlElementAttributes/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/XmlSerializer.UnknownElement Example/VB/unknownelement.vb b/snippets/visualbasic/System.Xml.Serialization/XmlElementEventArgs/Overview/unknownelement.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/XmlSerializer.UnknownElement Example/VB/unknownelement.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlElementEventArgs/Overview/unknownelement.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlEnumAttribute.Name Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlEnumAttribute/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlEnumAttribute.Name Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlEnumAttribute/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlEnumAttribute.XmlEnumAttribute Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlEnumAttribute/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlEnumAttribute.XmlEnumAttribute Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlEnumAttribute/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlEnumAttribute Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlEnumAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlEnumAttribute Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlEnumAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlIgnoreAttribute.XmlIgnoreAttribute Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlIgnoreAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlIgnoreAttribute.XmlIgnoreAttribute Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlIgnoreAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlIncludeAttribute.XmlIncludeAttribute Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlIncludeAttribute/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlIncludeAttribute.XmlIncludeAttribute Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlIncludeAttribute/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlIncludeAttribute.Type Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlIncludeAttribute/Type/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlIncludeAttribute.Type Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlIncludeAttribute/Type/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlNodeEventArgs.LocalName Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/LocalName/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlNodeEventArgs.LocalName Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/LocalName/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlNodeEventArgs.Name Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/Name/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlNodeEventArgs.Name Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/Name/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlNodeEventArgs.NamespaceURI Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/NamespaceURI/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlNodeEventArgs.NamespaceURI Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/NamespaceURI/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlNodeEventArgs.NodeType Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/NodeType/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlNodeEventArgs.NodeType Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/NodeType/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlNodeEventArgs.ObjectBeingDeserialized Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/ObjectBeingDeserialized/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlNodeEventArgs.ObjectBeingDeserialized Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/ObjectBeingDeserialized/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.UnknownNode Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.UnknownNode Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlNodeEventArgs.Text Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/Text/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlNodeEventArgs.Text Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/Text/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlNodeEventHandler Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlNodeEventHandler/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlNodeEventHandler Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlNodeEventHandler/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlRootAttribute.XmlRootAttribute Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlRootAttribute/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlRootAttribute.XmlRootAttribute Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlRootAttribute/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/XMLRootAttribute_Constructor/VB/xmlrootattribute_constructor.vb b/snippets/visualbasic/System.Xml.Serialization/XmlRootAttribute/.ctor/xmlrootattribute_constructor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/XMLRootAttribute_Constructor/VB/xmlrootattribute_constructor.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlRootAttribute/.ctor/xmlrootattribute_constructor.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/XMLRootAttribute_ElementName/VB/xmlrootattribute_elementname.vb b/snippets/visualbasic/System.Xml.Serialization/XmlRootAttribute/ElementName/xmlrootattribute_elementname.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/XMLRootAttribute_ElementName/VB/xmlrootattribute_elementname.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlRootAttribute/ElementName/xmlrootattribute_elementname.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlRootAttribute.IsNullable Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlRootAttribute/IsNullable/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlRootAttribute.IsNullable Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlRootAttribute/IsNullable/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlRootAttribute.Namespace Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlRootAttribute/Namespace/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlRootAttribute.Namespace Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlRootAttribute/Namespace/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlRootAttribute Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlRootAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlRootAttribute Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlRootAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/HowToChunkSerializedData/VB/SerializationChunk.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSchemaProviderAttribute/Overview/SerializationChunk.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/HowToChunkSerializedData/VB/SerializationChunk.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSchemaProviderAttribute/Overview/SerializationChunk.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.XmlSerializer Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.XmlSerializer Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSerializer/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.XmlSerializer1 Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.XmlSerializer1 Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSerializer/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.XmlSerializer2 Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/.ctor/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.XmlSerializer2 Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSerializer/.ctor/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.XmlSerializer3 Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/.ctor/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.XmlSerializer3 Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSerializer/.ctor/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.XmlSerializer4 Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/.ctor/source4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.XmlSerializer4 Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSerializer/.ctor/source4.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.XmlSerializer6 Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/.ctor/source5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.XmlSerializer6 Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSerializer/.ctor/source5.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.CanDeserialize Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/CanDeserialize/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.CanDeserialize Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSerializer/CanDeserialize/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Deserialize Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Deserialize/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Deserialize Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Deserialize/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Deserialize1 Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Deserialize/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Deserialize1 Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Deserialize/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Deserialize2 Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Deserialize/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Deserialize2 Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Deserialize/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.FromTypes Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/FromTypes/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.FromTypes Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSerializer/FromTypes/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Serialize Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Serialize/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Serialize Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Serialize/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Serialize1 Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Serialize/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Serialize1 Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Serialize/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Serialize2 Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Serialize/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Serialize2 Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Serialize/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Serialize3 Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Serialize/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Serialize3 Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Serialize/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Serialize4 Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Serialize/source4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Serialize4 Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Serialize/source4.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Serialize5 Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Serialize/source5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Serialize5 Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Serialize/source5.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializerNamespaces.XmlSerializerNamespaces1 Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSerializerNamespaces/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializerNamespaces.XmlSerializerNamespaces1 Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSerializerNamespaces/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/XmlSerializerNameSpaces_Constructor/VB/xmlserializernamespaces_constructor.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSerializerNamespaces/.ctor/xmlserializernamespaces_constructor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/XmlSerializerNameSpaces_Constructor/VB/xmlserializernamespaces_constructor.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSerializerNamespaces/.ctor/xmlserializernamespaces_constructor.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializerNamespaces.Add Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSerializerNamespaces/Add/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializerNamespaces.Add Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSerializerNamespaces/Add/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializerNamespaces Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSerializerNamespaces/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializerNamespaces Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSerializerNamespaces/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializerNamespaces.ToArray Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlSerializerNamespaces/ToArray/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializerNamespaces.ToArray Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlSerializerNamespaces/ToArray/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlTextAttribute.XmlTextAttribute Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlTextAttribute/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlTextAttribute.XmlTextAttribute Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlTextAttribute/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlTextAttribute Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlTextAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlTextAttribute Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlTextAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/XmlTextAttribute/vb/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlTextAttribute/Overview/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/XmlTextAttribute/vb/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlTextAttribute/Overview/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/XMLTypeAttribute1_2/VB/xmltypeattribute1_2.vb b/snippets/visualbasic/System.Xml.Serialization/XmlTypeAttribute/.ctor/xmltypeattribute1_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/XMLTypeAttribute1_2/VB/xmltypeattribute1_2.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlTypeAttribute/.ctor/xmltypeattribute1_2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlTypeAttribute.IncludeInSchema Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlTypeAttribute/IncludeInSchema/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlTypeAttribute.IncludeInSchema Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlTypeAttribute/IncludeInSchema/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlTypeAttribute.Namespace Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlTypeAttribute/Namespace/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlTypeAttribute.Namespace Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlTypeAttribute/Namespace/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlTypeAttribute Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlTypeAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlTypeAttribute Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlTypeAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlTypeAttribute.TypeName Example/VB/source.vb b/snippets/visualbasic/System.Xml.Serialization/XmlTypeAttribute/TypeName/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic XmlTypeAttribute.TypeName Example/VB/source.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlTypeAttribute/TypeName/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/XmlTypeMapping Example/VB/mapping.vb b/snippets/visualbasic/System.Xml.Serialization/XmlTypeMapping/TypeFullName/mapping.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/XmlTypeMapping Example/VB/mapping.vb rename to snippets/visualbasic/System.Xml.Serialization/XmlTypeMapping/TypeFullName/mapping.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.xml.xmlreader.class/vb/module1.vb b/snippets/visualbasic/System.Xml/XmlReader/Overview/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.xml.xmlreader.class/vb/module1.vb rename to snippets/visualbasic/System.Xml/XmlReader/Overview/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action/vb/Action.vb b/snippets/visualbasic/System/Action/Overview/Action.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action/vb/Action.vb rename to snippets/visualbasic/System/Action/Overview/Action.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.action.delegate/vb/delegate.vb b/snippets/visualbasic/System/Action/Overview/delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.action.delegate/vb/delegate.vb rename to snippets/visualbasic/System/Action/Overview/delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action/vb/lambda.vb b/snippets/visualbasic/System/Action/Overview/lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action/vb/lambda.vb rename to snippets/visualbasic/System/Action/Overview/lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/Action1.vb b/snippets/visualbasic/System/ActionT/Overview/Action1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/Action1.vb rename to snippets/visualbasic/System/ActionT/Overview/Action1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/Delegate.vb b/snippets/visualbasic/System/ActionT/Overview/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/Delegate.vb rename to snippets/visualbasic/System/ActionT/Overview/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action_PrintExample/vb/action.vb b/snippets/visualbasic/System/ActionT/Overview/action.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action_PrintExample/vb/action.vb rename to snippets/visualbasic/System/ActionT/Overview/action.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/lambda.vb b/snippets/visualbasic/System/ActionT/Overview/lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/lambda.vb rename to snippets/visualbasic/System/ActionT/Overview/lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Action4.vb b/snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/Action4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Action4.vb rename to snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/Action4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Delegate.vb b/snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Delegate.vb rename to snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Program.vb b/snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Program.vb rename to snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Project.vbproj b/snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Project.vbproj rename to snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/lambda.vb b/snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/lambda.vb rename to snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Action3.vb b/snippets/visualbasic/System/ActionT1,T2,T3/Overview/Action3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Action3.vb rename to snippets/visualbasic/System/ActionT1,T2,T3/Overview/Action3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Delegate.vb b/snippets/visualbasic/System/ActionT1,T2,T3/Overview/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Delegate.vb rename to snippets/visualbasic/System/ActionT1,T2,T3/Overview/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Program.vb b/snippets/visualbasic/System/ActionT1,T2,T3/Overview/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Program.vb rename to snippets/visualbasic/System/ActionT1,T2,T3/Overview/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Project.vbproj b/snippets/visualbasic/System/ActionT1,T2,T3/Overview/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Project.vbproj rename to snippets/visualbasic/System/ActionT1,T2,T3/Overview/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/lambda.vb b/snippets/visualbasic/System/ActionT1,T2,T3/Overview/lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/lambda.vb rename to snippets/visualbasic/System/ActionT1,T2,T3/Overview/lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/Delegate.vb b/snippets/visualbasic/System/ActionT1,T2/Overview/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/Delegate.vb rename to snippets/visualbasic/System/ActionT1,T2/Overview/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/action2.vb b/snippets/visualbasic/System/ActionT1,T2/Overview/action2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/action2.vb rename to snippets/visualbasic/System/ActionT1,T2/Overview/action2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/lambda.vb b/snippets/visualbasic/System/ActionT1,T2/Overview/lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/lambda.vb rename to snippets/visualbasic/System/ActionT1,T2/Overview/lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.ActivationContext/vb/program.vb b/snippets/visualbasic/System/ActivationContext/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.ActivationContext/vb/program.vb rename to snippets/visualbasic/System/ActivationContext/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/CreateInstance5.vb b/snippets/visualbasic/System/Activator/CreateInstance/CreateInstance5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/CreateInstance5.vb rename to snippets/visualbasic/System/Activator/CreateInstance/CreateInstance5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/createinstance2.vb b/snippets/visualbasic/System/Activator/CreateInstance/createinstance2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/createinstance2.vb rename to snippets/visualbasic/System/Activator/CreateInstance/createinstance2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/createinstanceex1.vb b/snippets/visualbasic/System/Activator/CreateInstance/createinstanceex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/createinstanceex1.vb rename to snippets/visualbasic/System/Activator/CreateInstance/createinstanceex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/createinstanceex1a.vb b/snippets/visualbasic/System/Activator/CreateInstance/createinstanceex1a.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/createinstanceex1a.vb rename to snippets/visualbasic/System/Activator/CreateInstance/createinstanceex1a.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/personinfo.vb b/snippets/visualbasic/System/Activator/CreateInstance/personinfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/personinfo.vb rename to snippets/visualbasic/System/Activator/CreateInstance/personinfo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.activation.createinstance~~1/vb/remarks.vb b/snippets/visualbasic/System/Activator/CreateInstanceT/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.activation.createinstance~~1/vb/remarks.vb rename to snippets/visualbasic/System/Activator/CreateInstanceT/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ActivatorX/VB/ActivatorX.vb b/snippets/visualbasic/System/Activator/Overview/ActivatorX.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ActivatorX/VB/ActivatorX.vb rename to snippets/visualbasic/System/Activator/Overview/ActivatorX.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ActivatorX/VB/source2.vb b/snippets/visualbasic/System/Activator/Overview/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ActivatorX/VB/source2.vb rename to snippets/visualbasic/System/Activator/Overview/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.aggregateexception.class/vb/exception1.vb b/snippets/visualbasic/System/AggregateException/Overview/exception1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.aggregateexception.class/vb/exception1.vb rename to snippets/visualbasic/System/AggregateException/Overview/exception1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.AppContext.Class/vb/TestValue1.vb b/snippets/visualbasic/System/AppContext/SetSwitch/TestValue1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.AppContext.Class/vb/TestValue1.vb rename to snippets/visualbasic/System/AppContext/SetSwitch/TestValue1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AppDomain_AssemblyLoad/VB/assemblyload.vb b/snippets/visualbasic/System/AppDomain/AssemblyLoad/assemblyload.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AppDomain_AssemblyLoad/VB/assemblyload.vb rename to snippets/visualbasic/System/AppDomain/AssemblyLoad/assemblyload.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyResolve/VB/assemblyresolve.vb b/snippets/visualbasic/System/AppDomain/AssemblyResolve/assemblyresolve.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyResolve/VB/assemblyresolve.vb rename to snippets/visualbasic/System/AppDomain/AssemblyResolve/assemblyresolve.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ADSetup/VB/adsetup.vb b/snippets/visualbasic/System/AppDomain/BaseDirectory/adsetup.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ADSetup/VB/adsetup.vb rename to snippets/visualbasic/System/AppDomain/BaseDirectory/adsetup.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ADClearPrivatePath/VB/adclearprivatepath.vb b/snippets/visualbasic/System/AppDomain/ClearPrivatePath/adclearprivatepath.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ADClearPrivatePath/VB/adclearprivatepath.vb rename to snippets/visualbasic/System/AppDomain/ClearPrivatePath/adclearprivatepath.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AppDomain_CreateComInstanceFrom/VB/createcominstancefrom.vb b/snippets/visualbasic/System/AppDomain/CreateComInstanceFrom/createcominstancefrom.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AppDomain_CreateComInstanceFrom/VB/createcominstancefrom.vb rename to snippets/visualbasic/System/AppDomain/CreateComInstanceFrom/createcominstancefrom.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AppDomain_Setup/VB/setup.vb b/snippets/visualbasic/System/AppDomain/CreateDomain/setup.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AppDomain_Setup/VB/setup.vb rename to snippets/visualbasic/System/AppDomain/CreateDomain/setup.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ADDyno/VB/addyno.vb b/snippets/visualbasic/System/AppDomain/CreateInstanceAndUnwrap/addyno.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ADDyno/VB/addyno.vb rename to snippets/visualbasic/System/AppDomain/CreateInstanceAndUnwrap/addyno.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AppDomain_CreateInstance_IgnoreCase/VB/ignorecase.vb b/snippets/visualbasic/System/AppDomain/CreateInstanceAndUnwrap/ignorecase.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AppDomain_CreateInstance_IgnoreCase/VB/ignorecase.vb rename to snippets/visualbasic/System/AppDomain/CreateInstanceAndUnwrap/ignorecase.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CreateInstanceAndUnwrap2/VB/source.vb b/snippets/visualbasic/System/AppDomain/CreateInstanceAndUnwrap/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CreateInstanceAndUnwrap2/VB/source.vb rename to snippets/visualbasic/System/AppDomain/CreateInstanceAndUnwrap/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.createinstancefrom_stringstring/vb/example.vb b/snippets/visualbasic/System/AppDomain/CreateInstanceFrom/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.createinstancefrom_stringstring/vb/example.vb rename to snippets/visualbasic/System/AppDomain/CreateInstanceFrom/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ADApplicationBase/VB/adapplicationbase.vb b/snippets/visualbasic/System/AppDomain/CurrentDomain/adapplicationbase.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ADApplicationBase/VB/adapplicationbase.vb rename to snippets/visualbasic/System/AppDomain/CurrentDomain/adapplicationbase.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AppDomain_DefineDynamicAssembly/VB/definedynamicassembly.vb b/snippets/visualbasic/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AppDomain_DefineDynamicAssembly/VB/definedynamicassembly.vb rename to snippets/visualbasic/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DefineDynamicAssemblyWithAttributes/vb/source.vb b/snippets/visualbasic/System/AppDomain/DefineDynamicAssembly/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DefineDynamicAssemblyWithAttributes/vb/source.vb rename to snippets/visualbasic/System/AppDomain/DefineDynamicAssembly/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AppDomain_DoCallBack/VB/docallback_byref.vb b/snippets/visualbasic/System/AppDomain/DoCallBack/docallback_byref.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AppDomain_DoCallBack/VB/docallback_byref.vb rename to snippets/visualbasic/System/AppDomain/DoCallBack/docallback_byref.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AppDomain_DoCallBack/VB/docallback_byval.vb b/snippets/visualbasic/System/AppDomain/DoCallBack/docallback_byval.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AppDomain_DoCallBack/VB/docallback_byval.vb rename to snippets/visualbasic/System/AppDomain/DoCallBack/docallback_byval.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AppDomain_DoCallBack/VB/docallback_static.vb b/snippets/visualbasic/System/AppDomain/DoCallBack/docallback_static.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AppDomain_DoCallBack/VB/docallback_static.vb rename to snippets/visualbasic/System/AppDomain/DoCallBack/docallback_static.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ADDynamicBase/VB/addynamicbase.vb b/snippets/visualbasic/System/AppDomain/DynamicDirectory/addynamicbase.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ADDynamicBase/VB/addynamicbase.vb rename to snippets/visualbasic/System/AppDomain/DynamicDirectory/addynamicbase.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AppDomain_ExecuteAssembly/VB/executeassembly.vb b/snippets/visualbasic/System/AppDomain/ExecuteAssembly/executeassembly.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AppDomain_ExecuteAssembly/VB/executeassembly.vb rename to snippets/visualbasic/System/AppDomain/ExecuteAssembly/executeassembly.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.firstchanceexception/vb/example.vb b/snippets/visualbasic/System/AppDomain/FirstChanceException/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.firstchanceexception/vb/example.vb rename to snippets/visualbasic/System/AppDomain/FirstChanceException/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ADGetAssemblies/VB/adgetassemblies.vb b/snippets/visualbasic/System/AppDomain/GetAssemblies/adgetassemblies.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ADGetAssemblies/VB/adgetassemblies.vb rename to snippets/visualbasic/System/AppDomain/GetAssemblies/adgetassemblies.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ADGetData/VB/adgetdata.vb b/snippets/visualbasic/System/AppDomain/GetData/adgetdata.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ADGetData/VB/adgetdata.vb rename to snippets/visualbasic/System/AppDomain/GetData/adgetdata.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.AppDomain.IsDefaultAppDomain/VB/source.vb b/snippets/visualbasic/System/AppDomain/Id/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.AppDomain.IsDefaultAppDomain/VB/source.vb rename to snippets/visualbasic/System/AppDomain/Id/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.isfullytrusted/vb/example.vb b/snippets/visualbasic/System/AppDomain/IsFullyTrusted/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.isfullytrusted/vb/example.vb rename to snippets/visualbasic/System/AppDomain/IsFullyTrusted/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AppDomain_LoadRaw/VB/loadraw.vb b/snippets/visualbasic/System/AppDomain/Load/loadraw.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AppDomain_LoadRaw/VB/loadraw.vb rename to snippets/visualbasic/System/AppDomain/Load/loadraw.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.load/vb/source.vb b/snippets/visualbasic/System/AppDomain/Load/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.load/vb/source.vb rename to snippets/visualbasic/System/AppDomain/Load/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AppDomainX/VB/AppDomainX.vb b/snippets/visualbasic/System/AppDomain/Overview/AppDomainX.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AppDomainX/VB/AppDomainX.vb rename to snippets/visualbasic/System/AppDomain/Overview/AppDomainX.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AppDomain.ReflectionOnlyGetAssemblies/VB/reflectiononly.vb b/snippets/visualbasic/System/AppDomain/ReflectionOnlyGetAssemblies/reflectiononly.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AppDomain.ReflectionOnlyGetAssemblies/VB/reflectiononly.vb rename to snippets/visualbasic/System/AppDomain/ReflectionOnlyGetAssemblies/reflectiononly.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ADSetAppDomainPolicy/VB/adsetappdomainpolicy.vb b/snippets/visualbasic/System/AppDomain/SetAppDomainPolicy/adsetappdomainpolicy.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ADSetAppDomainPolicy/VB/adsetappdomainpolicy.vb rename to snippets/visualbasic/System/AppDomain/SetAppDomainPolicy/adsetappdomainpolicy.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ADPrincipal/VB/adprincipal.vb b/snippets/visualbasic/System/AppDomain/SetPrincipalPolicy/adprincipal.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ADPrincipal/VB/adprincipal.vb rename to snippets/visualbasic/System/AppDomain/SetPrincipalPolicy/adprincipal.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/adproperties/VB/adproperties.vb b/snippets/visualbasic/System/AppDomain/SetShadowCopyFiles/adproperties.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/adproperties/VB/adproperties.vb rename to snippets/visualbasic/System/AppDomain/SetShadowCopyFiles/adproperties.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ADShadowCopy/VB/adshadowcopy.vb b/snippets/visualbasic/System/AppDomain/SetShadowCopyPath/adshadowcopy.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ADShadowCopy/VB/adshadowcopy.vb rename to snippets/visualbasic/System/AppDomain/SetShadowCopyPath/adshadowcopy.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ADToString/VB/adtostring.vb b/snippets/visualbasic/System/AppDomain/ToString/adtostring.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ADToString/VB/adtostring.vb rename to snippets/visualbasic/System/AppDomain/ToString/adtostring.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AppDomain_TypeResolve/VB/typeresolve.vb b/snippets/visualbasic/System/AppDomain/TypeResolve/typeresolve.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AppDomain_TypeResolve/VB/typeresolve.vb rename to snippets/visualbasic/System/AppDomain/TypeResolve/typeresolve.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ADUnload/VB/adunload.vb b/snippets/visualbasic/System/AppDomain/Unload/adunload.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ADUnload/VB/adunload.vb rename to snippets/visualbasic/System/AppDomain/Unload/adunload.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.AppDomainManager/VB/customAppDomainManager.vb b/snippets/visualbasic/System/AppDomainManager/Overview/customAppDomainManager.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.AppDomainManager/VB/customAppDomainManager.vb rename to snippets/visualbasic/System/AppDomainManager/Overview/customAppDomainManager.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AppDomainInitializer/VB/source.vb b/snippets/visualbasic/System/AppDomainSetup/AppDomainInitializer/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AppDomainInitializer/VB/source.vb rename to snippets/visualbasic/System/AppDomainSetup/AppDomainInitializer/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ADMultiDomain/VB/admultidomain.vb b/snippets/visualbasic/System/AppDomainSetup/ApplicationName/admultidomain.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ADMultiDomain/VB/admultidomain.vb rename to snippets/visualbasic/System/AppDomainSetup/ApplicationName/admultidomain.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AppDomainUnloadedException/vb/Sample.vb b/snippets/visualbasic/System/AppDomainUnloadedException/Overview/Sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AppDomainUnloadedException/vb/Sample.vb rename to snippets/visualbasic/System/AppDomainUnloadedException/Overview/Sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.ApplicationIdentity/VB/program.vb b/snippets/visualbasic/System/ApplicationId/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.ApplicationIdentity/VB/program.vb rename to snippets/visualbasic/System/ApplicationId/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ArgumentException/vb/program2.vb b/snippets/visualbasic/System/ArgumentException/Overview/program2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ArgumentException/vb/program2.vb rename to snippets/visualbasic/System/ArgumentException/Overview/program2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/BadSearch.vb b/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/BadSearch.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/BadSearch.vb rename to snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/BadSearch.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/EmptyString1.vb b/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/EmptyString1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/EmptyString1.vb rename to snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/EmptyString1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/FindWords1.vb b/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/FindWords1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/FindWords1.vb rename to snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/FindWords1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoElements.vb b/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/NoElements.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoElements.vb rename to snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/NoElements.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoElements2.vb b/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/NoElements2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoElements2.vb rename to snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/NoElements2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoFind1.vb b/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/NoFind1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoFind1.vb rename to snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/NoFind1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoFind2.vb b/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/NoFind2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoFind2.vb rename to snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/NoFind2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/OOR1.vb b/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/OOR1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/OOR1.vb rename to snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/OOR1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/OOR2.vb b/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/OOR2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/OOR2.vb rename to snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/OOR2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/Race1.vb b/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/Race1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/Race1.vb rename to snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/Race1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/Race2.vb b/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/Race2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/Race2.vb rename to snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/Race2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ArgumentOutOfRangeException/VB/program.vb b/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ArgumentOutOfRangeException/VB/program.vb rename to snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.AsReadOnly/VB/arrayasreadonly.vb b/snippets/visualbasic/System/Array/AsReadOnlyT/arrayasreadonly.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array.AsReadOnly/VB/arrayasreadonly.vb rename to snippets/visualbasic/System/Array/AsReadOnlyT/arrayasreadonly.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Array_SortSearch/vb/source.vb b/snippets/visualbasic/System/Array/BinarySearchT/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Array_SortSearch/vb/source.vb rename to snippets/visualbasic/System/Array/BinarySearchT/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Array_SortSearchComparer/vb/source.vb b/snippets/visualbasic/System/Array/BinarySearchT/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Array_SortSearchComparer/vb/source.vb rename to snippets/visualbasic/System/Array/BinarySearchT/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clear/vb/Program.vb b/snippets/visualbasic/System/Array/Clear/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clear/vb/Program.vb rename to snippets/visualbasic/System/Array/Clear/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clear/vb/Project.vbproj b/snippets/visualbasic/System/Array/Clear/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clear/vb/Project.vbproj rename to snippets/visualbasic/System/Array/Clear/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clear/vb/clearstruct1.vb b/snippets/visualbasic/System/Array/Clear/clearstruct1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clear/vb/clearstruct1.vb rename to snippets/visualbasic/System/Array/Clear/clearstruct1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clear/vb/example.vb b/snippets/visualbasic/System/Array/Clear/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clear/vb/example.vb rename to snippets/visualbasic/System/Array/Clear/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clone/VB/arrayclone.vb b/snippets/visualbasic/System/Array/Clone/arrayclone.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clone/VB/arrayclone.vb rename to snippets/visualbasic/System/Array/Clone/arrayclone.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Array_ConvertAll/vb/source.vb b/snippets/visualbasic/System/Array/ConvertAllTInput,TOutput/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Array_ConvertAll/vb/source.vb rename to snippets/visualbasic/System/Array/ConvertAllTInput,TOutput/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists1.vb b/snippets/visualbasic/System/Array/ExistsT/exists1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists1.vb rename to snippets/visualbasic/System/Array/ExistsT/exists1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists2.vb b/snippets/visualbasic/System/Array/ExistsT/exists2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists2.vb rename to snippets/visualbasic/System/Array/ExistsT/exists2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists3.vb b/snippets/visualbasic/System/Array/ExistsT/exists3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists3.vb rename to snippets/visualbasic/System/Array/ExistsT/exists3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.findall/vb/findall.vb b/snippets/visualbasic/System/Array/FindAllT/findall.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.findall/vb/findall.vb rename to snippets/visualbasic/System/Array/FindAllT/findall.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Array_FindEtAl/vb/source.vb b/snippets/visualbasic/System/Array/FindAllT/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Array_FindEtAl/vb/source.vb rename to snippets/visualbasic/System/Array/FindAllT/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Array_FindIndex/vb/source.vb b/snippets/visualbasic/System/Array/FindIndexT/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Array_FindIndex/vb/source.vb rename to snippets/visualbasic/System/Array/FindIndexT/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Array_FindLastIndex/vb/source.vb b/snippets/visualbasic/System/Array/FindLastIndexT/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Array_FindLastIndex/vb/source.vb rename to snippets/visualbasic/System/Array/FindLastIndexT/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.find/vb/lambda.vb b/snippets/visualbasic/System/Array/FindT/lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.find/vb/lambda.vb rename to snippets/visualbasic/System/Array/FindT/lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.find/vb/source.vb b/snippets/visualbasic/System/Array/FindT/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.find/vb/source.vb rename to snippets/visualbasic/System/Array/FindT/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.foreach/vb/source.vb b/snippets/visualbasic/System/Array/ForEachT/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.foreach/vb/source.vb rename to snippets/visualbasic/System/Array/ForEachT/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array_GetEnumerator/VB/array_getenumerator.vb b/snippets/visualbasic/System/Array/GetEnumerator/array_getenumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array_GetEnumerator/VB/array_getenumerator.vb rename to snippets/visualbasic/System/Array/GetEnumerator/array_getenumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.getlength/vb/source.vb b/snippets/visualbasic/System/Array/GetLength/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.getlength/vb/source.vb rename to snippets/visualbasic/System/Array/GetLength/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.getupperbound/vb/source.vb b/snippets/visualbasic/System/Array/GetLowerBound/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.getupperbound/vb/source.vb rename to snippets/visualbasic/System/Array/GetLowerBound/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array_GetSetValue/VB/array_getsetvalue.vb b/snippets/visualbasic/System/Array/GetValue/array_getsetvalue.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array_GetSetValue/VB/array_getsetvalue.vb rename to snippets/visualbasic/System/Array/GetValue/array_getsetvalue.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Array_IndexOf/vb/source.vb b/snippets/visualbasic/System/Array/IndexOfT/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Array_IndexOf/vb/source.vb rename to snippets/visualbasic/System/Array/IndexOfT/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.SyncRoot/vb/source.vb b/snippets/visualbasic/System/Array/IsSynchronized/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array.SyncRoot/vb/source.vb rename to snippets/visualbasic/System/Array/IsSynchronized/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Array_LastIndexOf/vb/source.vb b/snippets/visualbasic/System/Array/LastIndexOfT/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Array_LastIndexOf/vb/source.vb rename to snippets/visualbasic/System/Array/LastIndexOfT/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.length/vb/length1.vb b/snippets/visualbasic/System/Array/Length/length1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.length/vb/length1.vb rename to snippets/visualbasic/System/Array/Length/length1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.rank/vb/rank1.vb b/snippets/visualbasic/System/Array/Rank/rank1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.rank/vb/rank1.vb rename to snippets/visualbasic/System/Array/Rank/rank1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Resize/VB/arrayresize.vb b/snippets/visualbasic/System/Array/ResizeT/arrayresize.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Resize/VB/arrayresize.vb rename to snippets/visualbasic/System/Array/ResizeT/arrayresize.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Resize/VB/resizexd.vb b/snippets/visualbasic/System/Array/ResizeT/resizexd.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Resize/VB/resizexd.vb rename to snippets/visualbasic/System/Array/ResizeT/resizexd.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.reverse/vb/reversejagged.vb b/snippets/visualbasic/System/Array/Reverse/reversejagged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.reverse/vb/reversejagged.vb rename to snippets/visualbasic/System/Array/Reverse/reversejagged.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Sort/VB/arraysort.vb b/snippets/visualbasic/System/Array/Sort/arraysort.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Sort/VB/arraysort.vb rename to snippets/visualbasic/System/Array/Sort/arraysort.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Sort2/VB/arraysort2.vb b/snippets/visualbasic/System/Array/Sort/arraysort2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Sort2/VB/arraysort2.vb rename to snippets/visualbasic/System/Array/Sort/arraysort2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Array_SortComparison/vb/source.vb b/snippets/visualbasic/System/Array/SortT/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Array_SortComparison/vb/source.vb rename to snippets/visualbasic/System/Array/SortT/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Array_SortIntIntIComparer/vb/source.vb b/snippets/visualbasic/System/Array/SortT/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Array_SortIntIntIComparer/vb/source.vb rename to snippets/visualbasic/System/Array/SortT/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Array_Sort2IntIntIComparer/vb/source.vb b/snippets/visualbasic/System/Array/SortTKey,TValue/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Array_Sort2IntIntIComparer/vb/source.vb rename to snippets/visualbasic/System/Array/SortTKey,TValue/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.trueforall/vb/trueforall1.vb b/snippets/visualbasic/System/Array/TrueForAllT/trueforall1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.trueforall/vb/trueforall1.vb rename to snippets/visualbasic/System/Array/TrueForAllT/trueforall1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.trueforall/vb/trueforall2.vb b/snippets/visualbasic/System/Array/TrueForAllT/trueforall2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.trueforall/vb/trueforall2.vb rename to snippets/visualbasic/System/Array/TrueForAllT/trueforall2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.ArraySegment/VB/arraysegment.vb b/snippets/visualbasic/System/ArraySegmentT/Overview/arraysegment.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.ArraySegment/VB/arraysegment.vb rename to snippets/visualbasic/System/ArraySegmentT/Overview/arraysegment.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.arraysegment.class/vb/example1.vb b/snippets/visualbasic/System/ArraySegmentT/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.arraysegment.class/vb/example1.vb rename to snippets/visualbasic/System/ArraySegmentT/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.ArraySegment/VB/segmentexample.vb b/snippets/visualbasic/System/ArraySegmentT/Overview/segmentexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.ArraySegment/VB/segmentexample.vb rename to snippets/visualbasic/System/ArraySegmentT/Overview/segmentexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ArrayTypeMisMatch_Constructor1/VB/arraytypemismatch_constructor1.vb b/snippets/visualbasic/System/ArrayTypeMismatchException/.ctor/arraytypemismatch_constructor1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ArrayTypeMisMatch_Constructor1/VB/arraytypemismatch_constructor1.vb rename to snippets/visualbasic/System/ArrayTypeMismatchException/.ctor/arraytypemismatch_constructor1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ArrayTypeMisMatch_Constructor2/VB/arraytypemismatch_constructor2.vb b/snippets/visualbasic/System/ArrayTypeMismatchException/.ctor/arraytypemismatch_constructor2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ArrayTypeMisMatch_Constructor2/VB/arraytypemismatch_constructor2.vb rename to snippets/visualbasic/System/ArrayTypeMismatchException/.ctor/arraytypemismatch_constructor2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ArrayTypeMisMatch_Constructor3/VB/arraytypemismatch_constructor3.vb b/snippets/visualbasic/System/ArrayTypeMismatchException/.ctor/arraytypemismatch_constructor3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ArrayTypeMisMatch_Constructor3/VB/arraytypemismatch_constructor3.vb rename to snippets/visualbasic/System/ArrayTypeMismatchException/.ctor/arraytypemismatch_constructor3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.ArrayTypeMismatch/VB/class1.vb b/snippets/visualbasic/System/ArrayTypeMismatchException/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.ArrayTypeMismatch/VB/class1.vb rename to snippets/visualbasic/System/ArrayTypeMismatchException/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AsyncDesignPattern/VB/AsyncDelegateNoState.vb b/snippets/visualbasic/System/AsyncCallback/Overview/AsyncDelegateNoState.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AsyncDesignPattern/VB/AsyncDelegateNoState.vb rename to snippets/visualbasic/System/AsyncCallback/Overview/AsyncDelegateNoState.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AsyncDesignPattern/VB/makefile b/snippets/visualbasic/System/AsyncCallback/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AsyncDesignPattern/VB/makefile rename to snippets/visualbasic/System/AsyncCallback/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.GetCustomAttribute/VB/getcustattrparam.vb b/snippets/visualbasic/System/Attribute/.ctor/getcustattrparam.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.GetCustomAttribute/VB/getcustattrparam.vb rename to snippets/visualbasic/System/Attribute/.ctor/getcustattrparam.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.GetCustomAttribute/VB/getcustattrprminh.vb b/snippets/visualbasic/System/Attribute/.ctor/getcustattrprminh.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.GetCustomAttribute/VB/getcustattrprminh.vb rename to snippets/visualbasic/System/Attribute/.ctor/getcustattrprminh.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.Equals/VB/equals.vb b/snippets/visualbasic/System/Attribute/Equals/equals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.Equals/VB/equals.vb rename to snippets/visualbasic/System/Attribute/Equals/equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IsDefined/VB/id1.vb b/snippets/visualbasic/System/Attribute/GetCustomAttribute/id1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IsDefined/VB/id1.vb rename to snippets/visualbasic/System/Attribute/GetCustomAttribute/id1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IsDefined/VB/id2.vb b/snippets/visualbasic/System/Attribute/GetCustomAttribute/id2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IsDefined/VB/id2.vb rename to snippets/visualbasic/System/Attribute/GetCustomAttribute/id2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IsDefined/VB/id4.vb b/snippets/visualbasic/System/Attribute/GetCustomAttribute/id4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IsDefined/VB/id4.vb rename to snippets/visualbasic/System/Attribute/GetCustomAttribute/id4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IsDefined/VB/id5.vb b/snippets/visualbasic/System/Attribute/GetCustomAttribute/id5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IsDefined/VB/id5.vb rename to snippets/visualbasic/System/Attribute/GetCustomAttribute/id5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca1.vb b/snippets/visualbasic/System/Attribute/GetCustomAttributes/ca1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca1.vb rename to snippets/visualbasic/System/Attribute/GetCustomAttributes/ca1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca2.vb b/snippets/visualbasic/System/Attribute/GetCustomAttributes/ca2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca2.vb rename to snippets/visualbasic/System/Attribute/GetCustomAttributes/ca2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca4.vb b/snippets/visualbasic/System/Attribute/GetCustomAttributes/ca4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca4.vb rename to snippets/visualbasic/System/Attribute/GetCustomAttributes/ca4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca5.vb b/snippets/visualbasic/System/Attribute/GetCustomAttributes/ca5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca5.vb rename to snippets/visualbasic/System/Attribute/GetCustomAttributes/ca5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/GetHashCode/VB/hashcode.vb b/snippets/visualbasic/System/Attribute/GetHashCode/hashcode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/GetHashCode/VB/hashcode.vb rename to snippets/visualbasic/System/Attribute/GetHashCode/hashcode.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IsDefaultAttribute/VB/defattr.vb b/snippets/visualbasic/System/Attribute/IsDefaultAttribute/defattr.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IsDefaultAttribute/VB/defattr.vb rename to snippets/visualbasic/System/Attribute/IsDefaultAttribute/defattr.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Match/VB/match.vb b/snippets/visualbasic/System/Attribute/Match/match.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Match/VB/match.vb rename to snippets/visualbasic/System/Attribute/Match/match.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AnimalAttributes/VB/customattribute.vb b/snippets/visualbasic/System/Attribute/Overview/customattribute.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AnimalAttributes/VB/customattribute.vb rename to snippets/visualbasic/System/Attribute/Overview/customattribute.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.TypeId/VB/typeid.vb b/snippets/visualbasic/System/Attribute/TypeId/typeid.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.TypeId/VB/typeid.vb rename to snippets/visualbasic/System/Attribute/TypeId/typeid.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AttrTargs/VB/AttrTargs.vb b/snippets/visualbasic/System/AttributeTargets/Overview/AttrTargs.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AttrTargs/VB/AttrTargs.vb rename to snippets/visualbasic/System/AttributeTargets/Overview/AttrTargs.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.AttributeUsageAttribute.Inherited/vb/Inherited1.vb b/snippets/visualbasic/System/AttributeUsageAttribute/Inherited/Inherited1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.AttributeUsageAttribute.Inherited/vb/Inherited1.vb rename to snippets/visualbasic/System/AttributeUsageAttribute/Inherited/Inherited1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/condition1.vb b/snippets/visualbasic/System/BadImageFormatException/Overview/condition1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/condition1.vb rename to snippets/visualbasic/System/BadImageFormatException/Overview/condition1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/loadstringlib.vb b/snippets/visualbasic/System/BadImageFormatException/Overview/loadstringlib.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/loadstringlib.vb rename to snippets/visualbasic/System/BadImageFormatException/Overview/loadstringlib.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/stringlib.vb b/snippets/visualbasic/System/BadImageFormatException/Overview/stringlib.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/stringlib.vb rename to snippets/visualbasic/System/BadImageFormatException/Overview/stringlib.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/targetplatform1.vb b/snippets/visualbasic/System/BadImageFormatException/Overview/targetplatform1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/targetplatform1.vb rename to snippets/visualbasic/System/BadImageFormatException/Overview/targetplatform1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String.vb b/snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String.vb rename to snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String2.vb b/snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String2.vb rename to snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String3.vb b/snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String3.vb rename to snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.DoubleInt64/VB/bitstodbl.vb b/snippets/visualbasic/System/BitConverter/DoubleToInt64Bits/bitstodbl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.DoubleInt64/VB/bitstodbl.vb rename to snippets/visualbasic/System/BitConverter/DoubleToInt64Bits/bitstodbl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.DoubleInt64/VB/dbltobits.vb b/snippets/visualbasic/System/BitConverter/DoubleToInt64Bits/dbltobits.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.DoubleInt64/VB/dbltobits.vb rename to snippets/visualbasic/System/BitConverter/DoubleToInt64Bits/dbltobits.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/bytesbool.vb b/snippets/visualbasic/System/BitConverter/GetBytes/bytesbool.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/bytesbool.vb rename to snippets/visualbasic/System/BitConverter/GetBytes/bytesbool.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/byteschar.vb b/snippets/visualbasic/System/BitConverter/GetBytes/byteschar.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/byteschar.vb rename to snippets/visualbasic/System/BitConverter/GetBytes/byteschar.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/bytesdouble.vb b/snippets/visualbasic/System/BitConverter/GetBytes/bytesdouble.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/bytesdouble.vb rename to snippets/visualbasic/System/BitConverter/GetBytes/bytesdouble.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/VB/bytesint16.vb b/snippets/visualbasic/System/BitConverter/GetBytes/bytesint16.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/VB/bytesint16.vb rename to snippets/visualbasic/System/BitConverter/GetBytes/bytesint16.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/VB/bytesint32.vb b/snippets/visualbasic/System/BitConverter/GetBytes/bytesint32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/VB/bytesint32.vb rename to snippets/visualbasic/System/BitConverter/GetBytes/bytesint32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/VB/bytesint64.vb b/snippets/visualbasic/System/BitConverter/GetBytes/bytesint64.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/VB/bytesint64.vb rename to snippets/visualbasic/System/BitConverter/GetBytes/bytesint64.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/bytessingle.vb b/snippets/visualbasic/System/BitConverter/GetBytes/bytessingle.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/bytessingle.vb rename to snippets/visualbasic/System/BitConverter/GetBytes/bytessingle.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/VB/bytesuint16.vb b/snippets/visualbasic/System/BitConverter/GetBytes/bytesuint16.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/VB/bytesuint16.vb rename to snippets/visualbasic/System/BitConverter/GetBytes/bytesuint16.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/VB/bytesuint32.vb b/snippets/visualbasic/System/BitConverter/GetBytes/bytesuint32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/VB/bytesuint32.vb rename to snippets/visualbasic/System/BitConverter/GetBytes/bytesuint32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/VB/bytesuint64.vb b/snippets/visualbasic/System/BitConverter/GetBytes/bytesuint64.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/VB/bytesuint64.vb rename to snippets/visualbasic/System/BitConverter/GetBytes/bytesuint64.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/bitconv.vb b/snippets/visualbasic/System/BitConverter/Overview/bitconv.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/bitconv.vb rename to snippets/visualbasic/System/BitConverter/Overview/bitconv.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/example1.vb b/snippets/visualbasic/System/BitConverter/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/example1.vb rename to snippets/visualbasic/System/BitConverter/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/littleend.vb b/snippets/visualbasic/System/BitConverter/Overview/littleend.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/littleend.vb rename to snippets/visualbasic/System/BitConverter/Overview/littleend.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/networkorder1.vb b/snippets/visualbasic/System/BitConverter/Overview/networkorder1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/networkorder1.vb rename to snippets/visualbasic/System/BitConverter/Overview/networkorder1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batobool.vb b/snippets/visualbasic/System/BitConverter/ToBoolean/batobool.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batobool.vb rename to snippets/visualbasic/System/BitConverter/ToBoolean/batobool.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batochar.vb b/snippets/visualbasic/System/BitConverter/ToBoolean/batochar.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batochar.vb rename to snippets/visualbasic/System/BitConverter/ToBoolean/batochar.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batodouble.vb b/snippets/visualbasic/System/BitConverter/ToBoolean/batodouble.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batodouble.vb rename to snippets/visualbasic/System/BitConverter/ToBoolean/batodouble.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batosingle.vb b/snippets/visualbasic/System/BitConverter/ToBoolean/batosingle.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batosingle.vb rename to snippets/visualbasic/System/BitConverter/ToBoolean/batosingle.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.SInts/VB/batoint16.vb b/snippets/visualbasic/System/BitConverter/ToInt16/batoint16.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.SInts/VB/batoint16.vb rename to snippets/visualbasic/System/BitConverter/ToInt16/batoint16.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.SInts/VB/batoint64.vb b/snippets/visualbasic/System/BitConverter/ToInt16/batoint64.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.SInts/VB/batoint64.vb rename to snippets/visualbasic/System/BitConverter/ToInt16/batoint64.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.bitconverter.toint32/vb/toint32.vb b/snippets/visualbasic/System/BitConverter/ToInt32/toint32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.bitconverter.toint32/vb/toint32.vb rename to snippets/visualbasic/System/BitConverter/ToInt32/toint32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToString/VB/batostring.vb b/snippets/visualbasic/System/BitConverter/ToString/batostring.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToString/VB/batostring.vb rename to snippets/visualbasic/System/BitConverter/ToString/batostring.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToString/VB/batostringii.vb b/snippets/visualbasic/System/BitConverter/ToString/batostringii.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToString/VB/batostringii.vb rename to snippets/visualbasic/System/BitConverter/ToString/batostringii.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/VB/batouint16.vb b/snippets/visualbasic/System/BitConverter/ToUInt16/batouint16.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/VB/batouint16.vb rename to snippets/visualbasic/System/BitConverter/ToUInt16/batouint16.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/VB/batouint32.vb b/snippets/visualbasic/System/BitConverter/ToUInt16/batouint32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/VB/batouint32.vb rename to snippets/visualbasic/System/BitConverter/ToUInt16/batouint32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/VB/batouint64.vb b/snippets/visualbasic/System/BitConverter/ToUInt16/batouint64.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/VB/batouint64.vb rename to snippets/visualbasic/System/BitConverter/ToUInt16/batouint64.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/T.CompareTo/VB/cat.vb b/snippets/visualbasic/System/Boolean/CompareTo/cat.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/T.CompareTo/VB/cat.vb rename to snippets/visualbasic/System/Boolean/CompareTo/cat.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Boolean/VB/booleanmembers.vb b/snippets/visualbasic/System/Boolean/Parse/booleanmembers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Boolean/VB/booleanmembers.vb rename to snippets/visualbasic/System/Boolean/Parse/booleanmembers.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.boolean.tryparse/vb/tryparseex.vb b/snippets/visualbasic/System/Boolean/TryParse/tryparseex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.boolean.tryparse/vb/tryparseex.vb rename to snippets/visualbasic/System/Boolean/TryParse/tryparseex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.Bytes/VB/bytelength.vb b/snippets/visualbasic/System/Buffer/ByteLength/bytelength.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.Bytes/VB/bytelength.vb rename to snippets/visualbasic/System/Buffer/ByteLength/bytelength.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.Bytes/VB/getbyte.vb b/snippets/visualbasic/System/Buffer/ByteLength/getbyte.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.Bytes/VB/getbyte.vb rename to snippets/visualbasic/System/Buffer/ByteLength/getbyte.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.Bytes/VB/setbyte.vb b/snippets/visualbasic/System/Buffer/ByteLength/setbyte.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.Bytes/VB/setbyte.vb rename to snippets/visualbasic/System/Buffer/ByteLength/setbyte.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.BlockCopy/VB/bcopy.vb b/snippets/visualbasic/System/Buffer/Overview/bcopy.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.BlockCopy/VB/bcopy.vb rename to snippets/visualbasic/System/Buffer/Overview/bcopy.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.BlockCopy/VB/buffer.vb b/snippets/visualbasic/System/Buffer/Overview/buffer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.BlockCopy/VB/buffer.vb rename to snippets/visualbasic/System/Buffer/Overview/buffer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.BlockCopy/VB/overlap1.vb b/snippets/visualbasic/System/Buffer/Overview/overlap1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.BlockCopy/VB/overlap1.vb rename to snippets/visualbasic/System/Buffer/Overview/overlap1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte Examples/VB/systembyte.vb b/snippets/visualbasic/System/Byte/CompareTo/systembyte.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Byte Examples/VB/systembyte.vb rename to snippets/visualbasic/System/Byte/CompareTo/systembyte.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.byte.equals/vb/eq.vb b/snippets/visualbasic/System/Byte/Equals/eq.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.byte.equals/vb/eq.vb rename to snippets/visualbasic/System/Byte/Equals/eq.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.Parse/VB/parse.vb b/snippets/visualbasic/System/Byte/Parse/parse.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.Parse/VB/parse.vb rename to snippets/visualbasic/System/Byte/Parse/parse.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.ToString/VB/NewByteMembers.vb b/snippets/visualbasic/System/Byte/ToString/NewByteMembers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.ToString/VB/NewByteMembers.vb rename to snippets/visualbasic/System/Byte/ToString/NewByteMembers.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.TryParse/vb/TryParse.vb b/snippets/visualbasic/System/Byte/TryParse/TryParse.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.TryParse/vb/TryParse.vb rename to snippets/visualbasic/System/Byte/TryParse/TryParse.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.TryParse/vb/TryParse2.vb b/snippets/visualbasic/System/Byte/TryParse/TryParse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.TryParse/vb/TryParse2.vb rename to snippets/visualbasic/System/Byte/TryParse/TryParse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.CompareTo/VB/compareto.vb b/snippets/visualbasic/System/Char/CompareTo/compareto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.CompareTo/VB/compareto.vb rename to snippets/visualbasic/System/Char/CompareTo/compareto.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/char.cvtutf32/VB/utf.vb b/snippets/visualbasic/System/Char/ConvertFromUtf32/utf.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/char.cvtutf32/VB/utf.vb rename to snippets/visualbasic/System/Char/ConvertFromUtf32/utf.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.Equals/VB/equals.vb b/snippets/visualbasic/System/Char/Equals/equals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.Equals/VB/equals.vb rename to snippets/visualbasic/System/Char/Equals/equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.GetNumericValue/VB/getnumericvalue.vb b/snippets/visualbasic/System/Char/GetNumericValue/getnumericvalue.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.GetNumericValue/VB/getnumericvalue.vb rename to snippets/visualbasic/System/Char/GetNumericValue/getnumericvalue.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.GetNumericValue/VB/getnumericvalue1.vb b/snippets/visualbasic/System/Char/GetNumericValue/getnumericvalue1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.GetNumericValue/VB/getnumericvalue1.vb rename to snippets/visualbasic/System/Char/GetNumericValue/getnumericvalue1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.GetUnicodeCategory/VB/getunicodecategory.vb b/snippets/visualbasic/System/Char/GetUnicodeCategory/getunicodecategory.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.GetUnicodeCategory/VB/getunicodecategory.vb rename to snippets/visualbasic/System/Char/GetUnicodeCategory/getunicodecategory.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsControl/VB/IsControl1.vb b/snippets/visualbasic/System/Char/IsControl/IsControl1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsControl/VB/IsControl1.vb rename to snippets/visualbasic/System/Char/IsControl/IsControl1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsControl/VB/IsControl2.vb b/snippets/visualbasic/System/Char/IsControl/IsControl2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsControl/VB/IsControl2.vb rename to snippets/visualbasic/System/Char/IsControl/IsControl2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsDigit/VB/isdigit.vb b/snippets/visualbasic/System/Char/IsDigit/isdigit.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsDigit/VB/isdigit.vb rename to snippets/visualbasic/System/Char/IsDigit/isdigit.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/char.surrogate/VB/sur.vb b/snippets/visualbasic/System/Char/IsHighSurrogate/sur.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/char.surrogate/VB/sur.vb rename to snippets/visualbasic/System/Char/IsHighSurrogate/sur.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLetter/VB/isletter.vb b/snippets/visualbasic/System/Char/IsLetter/isletter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLetter/VB/isletter.vb rename to snippets/visualbasic/System/Char/IsLetter/isletter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLetterOrDigit/VB/isletterordigit.vb b/snippets/visualbasic/System/Char/IsLetterOrDigit/isletterordigit.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLetterOrDigit/VB/isletterordigit.vb rename to snippets/visualbasic/System/Char/IsLetterOrDigit/isletterordigit.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLower/VB/islower.vb b/snippets/visualbasic/System/Char/IsLower/islower.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLower/VB/islower.vb rename to snippets/visualbasic/System/Char/IsLower/islower.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsNumber/VB/isnumber.vb b/snippets/visualbasic/System/Char/IsNumber/isnumber.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsNumber/VB/isnumber.vb rename to snippets/visualbasic/System/Char/IsNumber/isnumber.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsNumber/VB/isnumber1.vb b/snippets/visualbasic/System/Char/IsNumber/isnumber1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsNumber/VB/isnumber1.vb rename to snippets/visualbasic/System/Char/IsNumber/isnumber1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsPunctuation/VB/ispunctuation.vb b/snippets/visualbasic/System/Char/IsPunctuation/ispunctuation.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsPunctuation/VB/ispunctuation.vb rename to snippets/visualbasic/System/Char/IsPunctuation/ispunctuation.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSeparator/VB/isseparator.vb b/snippets/visualbasic/System/Char/IsSeparator/isseparator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSeparator/VB/isseparator.vb rename to snippets/visualbasic/System/Char/IsSeparator/isseparator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSeparator/VB/isseparator1.vb b/snippets/visualbasic/System/Char/IsSeparator/isseparator1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSeparator/VB/isseparator1.vb rename to snippets/visualbasic/System/Char/IsSeparator/isseparator1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSurrogate/VB/issurrogate.vb b/snippets/visualbasic/System/Char/IsSurrogate/issurrogate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSurrogate/VB/issurrogate.vb rename to snippets/visualbasic/System/Char/IsSurrogate/issurrogate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSymbol/VB/issymbol.vb b/snippets/visualbasic/System/Char/IsSymbol/issymbol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSymbol/VB/issymbol.vb rename to snippets/visualbasic/System/Char/IsSymbol/issymbol.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsWhiteSpace/VB/iswhitespace.vb b/snippets/visualbasic/System/Char/IsWhiteSpace/iswhitespace.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsWhiteSpace/VB/iswhitespace.vb rename to snippets/visualbasic/System/Char/IsWhiteSpace/iswhitespace.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char [Type Level]/VB/charstructure.vb b/snippets/visualbasic/System/Char/Overview/charstructure.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char [Type Level]/VB/charstructure.vb rename to snippets/visualbasic/System/Char/Overview/charstructure.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.Parse/VB/parse.vb b/snippets/visualbasic/System/Char/Parse/parse.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.Parse/VB/parse.vb rename to snippets/visualbasic/System/Char/Parse/parse.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.ToLower/VB/tolower.vb b/snippets/visualbasic/System/Char/ToLower/tolower.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.ToLower/VB/tolower.vb rename to snippets/visualbasic/System/Char/ToLower/tolower.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.ToString/VB/tostring.vb b/snippets/visualbasic/System/Char/ToString/tostring.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.ToString/VB/tostring.vb rename to snippets/visualbasic/System/Char/ToString/tostring.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.char.toupper/vb/toupper1.vb b/snippets/visualbasic/System/Char/ToUpper/toupper1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.char.toupper/vb/toupper1.vb rename to snippets/visualbasic/System/Char/ToUpper/toupper1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.char.toupper/vb/toupper5.vb b/snippets/visualbasic/System/Char/ToUpper/toupper5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.char.toupper/vb/toupper5.vb rename to snippets/visualbasic/System/Char/ToUpper/toupper5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/T.TryParse/VB/tp.vb b/snippets/visualbasic/System/Char/TryParse/tp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/T.TryParse/VB/tp.vb rename to snippets/visualbasic/System/Char/TryParse/tp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.CharEnumerator.Class/vb/CharEnumerator1.vb b/snippets/visualbasic/System/CharEnumerator/Overview/CharEnumerator1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.CharEnumerator.Class/vb/CharEnumerator1.vb rename to snippets/visualbasic/System/CharEnumerator/Overview/CharEnumerator1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.comparison`1/vb/comparisont1.vb b/snippets/visualbasic/System/ComparisonT/Overview/comparisont1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.comparison`1/vb/comparisont1.vb rename to snippets/visualbasic/System/ComparisonT/Overview/comparisont1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_SortComparison/vb/source.vb b/snippets/visualbasic/System/ComparisonT/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_SortComparison/vb/source.vb rename to snippets/visualbasic/System/ComparisonT/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/vb/Example2.vb b/snippets/visualbasic/System/Console/BackgroundColor/Example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/vb/Example2.vb rename to snippets/visualbasic/System/Console/BackgroundColor/Example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.console.backgroundcolor/vb/backgroundcolor1.vb b/snippets/visualbasic/System/Console/BackgroundColor/backgroundcolor1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.console.backgroundcolor/vb/backgroundcolor1.vb rename to snippets/visualbasic/System/Console/BackgroundColor/backgroundcolor1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/vb/foregroundcolor3.vb b/snippets/visualbasic/System/Console/BackgroundColor/foregroundcolor3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/vb/foregroundcolor3.vb rename to snippets/visualbasic/System/Console/BackgroundColor/foregroundcolor3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/console.beep2/VB/b2.vb b/snippets/visualbasic/System/Console/Beep/b2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/console.beep2/VB/b2.vb rename to snippets/visualbasic/System/Console/Beep/b2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/console.beep/VB/beep.vb b/snippets/visualbasic/System/Console/Beep/beep.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/console.beep/VB/beep.vb rename to snippets/visualbasic/System/Console/Beep/beep.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/console.bufferHW/VB/hw.vb b/snippets/visualbasic/System/Console/BufferHeight/hw.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/console.bufferHW/VB/hw.vb rename to snippets/visualbasic/System/Console/BufferHeight/hw.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/console.cancelkeypress/vb/ckp.vb b/snippets/visualbasic/System/Console/CancelKeyPress/ckp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/console.cancelkeypress/vb/ckp.vb rename to snippets/visualbasic/System/Console/CancelKeyPress/ckp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.console.clear/vb/clear1.vb b/snippets/visualbasic/System/Console/Clear/clear1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.console.clear/vb/clear1.vb rename to snippets/visualbasic/System/Console/Clear/clear1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/console.cursorLTS/VB/lts.vb b/snippets/visualbasic/System/Console/Clear/lts.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/console.cursorLTS/VB/lts.vb rename to snippets/visualbasic/System/Console/Clear/lts.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/console.cursorsize/VB/csize.vb b/snippets/visualbasic/System/Console/CursorSize/csize.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/console.cursorsize/VB/csize.vb rename to snippets/visualbasic/System/Console/CursorSize/csize.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/console.cursorvis/VB/vis.vb b/snippets/visualbasic/System/Console/CursorVisible/vis.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/console.cursorvis/VB/vis.vb rename to snippets/visualbasic/System/Console/CursorVisible/vis.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.console.error/vb/error1.vb b/snippets/visualbasic/System/Console/Error/error1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.console.error/vb/error1.vb rename to snippets/visualbasic/System/Console/Error/error1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Console-EXPANDTABSEX/VB/expandtabsex.vb b/snippets/visualbasic/System/Console/Error/expandtabsex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Console-EXPANDTABSEX/VB/expandtabsex.vb rename to snippets/visualbasic/System/Console/Error/expandtabsex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.console.openstandarderror/vb/viewtextfile.vb b/snippets/visualbasic/System/Console/Error/viewtextfile.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.console.openstandarderror/vb/viewtextfile.vb rename to snippets/visualbasic/System/Console/Error/viewtextfile.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/consolein/VB/consolein.vb b/snippets/visualbasic/System/Console/In/consolein.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/consolein/VB/consolein.vb rename to snippets/visualbasic/System/Console/In/consolein.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/console.keyavailable/VB/ka.vb b/snippets/visualbasic/System/Console/KeyAvailable/ka.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/console.keyavailable/VB/ka.vb rename to snippets/visualbasic/System/Console/KeyAvailable/ka.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.OpenStandartInput/VB/decode.vb b/snippets/visualbasic/System/Console/OpenStandardInput/decode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Console.OpenStandartInput/VB/decode.vb rename to snippets/visualbasic/System/Console/OpenStandardInput/decode.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-INSERTTABS/VB/inserttabs.vb b/snippets/visualbasic/System/Console/OpenStandardOutput/inserttabs.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Console-INSERTTABS/VB/inserttabs.vb rename to snippets/visualbasic/System/Console/OpenStandardOutput/inserttabs.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.console.out/vb/out1.vb b/snippets/visualbasic/System/Console/Out/out1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.console.out/vb/out1.vb rename to snippets/visualbasic/System/Console/Out/out1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/console.read/VB/read.vb b/snippets/visualbasic/System/Console/Read/read.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/console.read/VB/read.vb rename to snippets/visualbasic/System/Console/Read/read.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Console.ReadKey/vb/ReadKey1.vb b/snippets/visualbasic/System/Console/ReadKey/ReadKey1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Console.ReadKey/vb/ReadKey1.vb rename to snippets/visualbasic/System/Console/ReadKey/ReadKey1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Console.ReadKey/vb/ReadKey2.vb b/snippets/visualbasic/System/Console/ReadKey/ReadKey2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Console.ReadKey/vb/ReadKey2.vb rename to snippets/visualbasic/System/Console/ReadKey/ReadKey2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/console.readkey1/VB/rk.vb b/snippets/visualbasic/System/Console/ReadKey/rk.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/console.readkey1/VB/rk.vb rename to snippets/visualbasic/System/Console/ReadKey/rk.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/console.readkey2/VB/rkbool.vb b/snippets/visualbasic/System/Console/ReadKey/rkbool.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/console.readkey2/VB/rkbool.vb rename to snippets/visualbasic/System/Console/ReadKey/rkbool.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.ReadLine/vb/ReadLine2.vb b/snippets/visualbasic/System/Console/ReadLine/ReadLine2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Console.ReadLine/vb/ReadLine2.vb rename to snippets/visualbasic/System/Console/ReadLine/ReadLine2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.ReadLine/vb/ReadLine3.vb b/snippets/visualbasic/System/Console/ReadLine/ReadLine3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Console.ReadLine/vb/ReadLine3.vb rename to snippets/visualbasic/System/Console/ReadLine/ReadLine3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.ReadLine/vb/ReadLineSimple.vb b/snippets/visualbasic/System/Console/ReadLine/ReadLineSimple.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Console.ReadLine/vb/ReadLineSimple.vb rename to snippets/visualbasic/System/Console/ReadLine/ReadLineSimple.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/console.windowLT/VB/wlt.vb b/snippets/visualbasic/System/Console/SetBufferSize/wlt.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/console.windowLT/VB/wlt.vb rename to snippets/visualbasic/System/Console/SetBufferSize/wlt.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.SetError/vb/SetError1.vb b/snippets/visualbasic/System/Console/SetError/SetError1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Console.SetError/vb/SetError1.vb rename to snippets/visualbasic/System/Console/SetError/SetError1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.console.setout/vb/source.vb b/snippets/visualbasic/System/Console/SetOut/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.console.setout/vb/source.vb rename to snippets/visualbasic/System/Console/SetOut/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/console.setwindowsize/VB/sws.vb b/snippets/visualbasic/System/Console/SetWindowSize/sws.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/console.setwindowsize/VB/sws.vb rename to snippets/visualbasic/System/Console/SetWindowSize/sws.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/console.title/VB/mytitle.vb b/snippets/visualbasic/System/Console/Title/mytitle.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/console.title/VB/mytitle.vb rename to snippets/visualbasic/System/Console/Title/mytitle.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.console.windowleft/vb/windowleft1.vb b/snippets/visualbasic/System/Console/WindowLeft/windowleft1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.console.windowleft/vb/windowleft1.vb rename to snippets/visualbasic/System/Console/WindowLeft/windowleft1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.console.write/vb/WriteParams1.vb b/snippets/visualbasic/System/Console/Write/WriteParams1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.console.write/vb/WriteParams1.vb rename to snippets/visualbasic/System/Console/Write/WriteParams1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.console.write/vb/WriteParams2.vb b/snippets/visualbasic/System/Console/Write/WriteParams2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.console.write/vb/WriteParams2.vb rename to snippets/visualbasic/System/Console/Write/WriteParams2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb b/snippets/visualbasic/System/Console/Write/reformat.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb rename to snippets/visualbasic/System/Console/Write/reformat.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/console.writelineFmt1/vb/wl.vb b/snippets/visualbasic/System/Console/Write/wl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/console.writelineFmt1/vb/wl.vb rename to snippets/visualbasic/System/Console/Write/wl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/WriteLine6.vb b/snippets/visualbasic/System/Console/WriteLine/WriteLine6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/WriteLine6.vb rename to snippets/visualbasic/System/Console/WriteLine/WriteLine6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/WriteLine7.vb b/snippets/visualbasic/System/Console/WriteLine/WriteLine7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/WriteLine7.vb rename to snippets/visualbasic/System/Console/WriteLine/WriteLine7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/newline1.vb b/snippets/visualbasic/System/Console/WriteLine/newline1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/newline1.vb rename to snippets/visualbasic/System/Console/WriteLine/newline1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb b/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb rename to snippets/visualbasic/System/Console/WriteLine/tipcalc.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/writeline_boolean1.vb b/snippets/visualbasic/System/Console/WriteLine/writeline_boolean1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/writeline_boolean1.vb rename to snippets/visualbasic/System/Console/WriteLine/writeline_boolean1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/writeline_obj1.vb b/snippets/visualbasic/System/Console/WriteLine/writeline_obj1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/writeline_obj1.vb rename to snippets/visualbasic/System/Console/WriteLine/writeline_obj1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.ConsoleKey/vb/ConsoleKey1.vb b/snippets/visualbasic/System/ConsoleKey/Overview/ConsoleKey1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.ConsoleKey/vb/ConsoleKey1.vb rename to snippets/visualbasic/System/ConsoleKey/Overview/ConsoleKey1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.ConsoleKeyInfo.Equals/vb/equals.vb b/snippets/visualbasic/System/ConsoleKeyInfo/Equals/equals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.ConsoleKeyInfo.Equals/vb/equals.vb rename to snippets/visualbasic/System/ConsoleKeyInfo/Equals/equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.ConsoleKeyInfo.GetHashcode/vb/hash.vb b/snippets/visualbasic/System/ConsoleKeyInfo/GetHashCode/hash.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.ConsoleKeyInfo.GetHashcode/vb/hash.vb rename to snippets/visualbasic/System/ConsoleKeyInfo/GetHashCode/hash.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.consolekeyinfo.keychar/vb/keychar1.vb b/snippets/visualbasic/System/ConsoleKeyInfo/KeyChar/keychar1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.consolekeyinfo.keychar/vb/keychar1.vb rename to snippets/visualbasic/System/ConsoleKeyInfo/KeyChar/keychar1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype00.vb b/snippets/visualbasic/System/Convert/ChangeType/changetype00.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype00.vb rename to snippets/visualbasic/System/Convert/ChangeType/changetype00.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype01.vb b/snippets/visualbasic/System/Convert/ChangeType/changetype01.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype01.vb rename to snippets/visualbasic/System/Convert/ChangeType/changetype01.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype03.vb b/snippets/visualbasic/System/Convert/ChangeType/changetype03.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype03.vb rename to snippets/visualbasic/System/Convert/ChangeType/changetype03.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype_enum2.vb b/snippets/visualbasic/System/Convert/ChangeType/changetype_enum2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype_enum2.vb rename to snippets/visualbasic/System/Convert/ChangeType/changetype_enum2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype_nullable.vb b/snippets/visualbasic/System/Convert/ChangeType/changetype_nullable.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype_nullable.vb rename to snippets/visualbasic/System/Convert/ChangeType/changetype_nullable.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype_nullable_1.vb b/snippets/visualbasic/System/Convert/ChangeType/changetype_nullable_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype_nullable_1.vb rename to snippets/visualbasic/System/Convert/ChangeType/changetype_nullable_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/convertchangetype/VB/convertchangetype.vb b/snippets/visualbasic/System/Convert/ChangeType/convertchangetype.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/convertchangetype/VB/convertchangetype.vb rename to snippets/visualbasic/System/Convert/ChangeType/convertchangetype.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.dbnull/vb/dbnull1.vb b/snippets/visualbasic/System/Convert/DBNull/dbnull1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.dbnull/vb/dbnull1.vb rename to snippets/visualbasic/System/Convert/DBNull/dbnull1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert UUEncodeDecode functions/VB/class1.vb b/snippets/visualbasic/System/Convert/FromBase64CharArray/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Convert UUEncodeDecode functions/VB/class1.vb rename to snippets/visualbasic/System/Convert/FromBase64CharArray/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/convert.tobase64chararray/VB/tb64ca.vb b/snippets/visualbasic/System/Convert/FromBase64CharArray/tb64ca.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/convert.tobase64chararray/VB/tb64ca.vb rename to snippets/visualbasic/System/Convert/FromBase64CharArray/tb64ca.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/Form1.Designer.vb b/snippets/visualbasic/System/Convert/IsDBNull/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/Form1.Designer.vb rename to snippets/visualbasic/System/Convert/IsDBNull/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/Form1.resx b/snippets/visualbasic/System/Convert/IsDBNull/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/Form1.resx rename to snippets/visualbasic/System/Convert/IsDBNull/Form1.resx diff --git a/snippets/visualbasic/System/Convert/IsDBNull/Form1.vb b/snippets/visualbasic/System/Convert/IsDBNull/Form1.vb new file mode 100644 index 00000000000..4b06af25eb8 --- /dev/null +++ b/snippets/visualbasic/System/Convert/IsDBNull/Form1.vb @@ -0,0 +1,83 @@ +Imports System.Data +Imports System.Data.SqlClient +Imports System.Drawing +Imports System.Windows.Forms + +Public Class Form1 + + Public Shared Sub Main() + + End Sub + + Private connectionString As String = "Data Source=RONPET59\SQLEXPRESS;Initial Catalog=SurveyDB;Integrated Security=True" + + Private Function CompareForMissing(ByVal value As Object) As Boolean + ' + Return DBNull.Value.Equals(value) + ' + End Function + + ' + Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load + ' Define ADO.NET objects. + Dim conn As New SqlConnection(connectionString) + Dim cmd As New SqlCommand + Dim dr As SqlDataReader + + ' Open connection, and retrieve dataset. + conn.Open() + + ' Define Command object. + cmd.CommandText = "Select * From Responses" + cmd.CommandType = CommandType.Text + cmd.Connection = conn + + ' Retrieve data reader. + dr = cmd.ExecuteReader() + + Dim fieldCount As Integer = dr.FieldCount + Dim fieldValues(fieldCount - 1) As Object + Dim headers(fieldCount - 1) As String + + ' Get names of fields. + For ctr As Integer = 0 To fieldCount - 1 + headers(ctr) = dr.GetName(ctr) + Next + + ' Set up data grid. + grid.ColumnCount = fieldCount + + With grid.ColumnHeadersDefaultCellStyle + .BackColor = Color.Navy + .ForeColor = Color.White + .Font = New Font(grid.Font, FontStyle.Bold) + End With + + With grid + .AutoSizeRowsMode = + DataGridViewAutoSizeRowsMode.DisplayedCellsExceptHeaders + .ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.Single + .CellBorderStyle = DataGridViewCellBorderStyle.Single + .GridColor = Color.Black + .RowHeadersVisible = True + + For columnNumber As Integer = 0 To headers.Length - 1 + .Columns(columnNumber).Name = headers(columnNumber) + Next + End With + + ' Get data, replace missing values with "NA", and display it. + Do While dr.Read() + dr.GetValues(fieldValues) + + For fieldCounter As Integer = 0 To fieldCount - 1 + If Convert.IsDBNull(fieldValues(fieldCounter)) Then + fieldValues(fieldCounter) = "NA" + End If + Next + grid.Rows.Add(fieldValues) + Loop + dr.Close() + End Sub + ' +End Class diff --git a/snippets/visualbasic/System/Convert/IsDBNull/IsDBNull_To_NA.vbproj b/snippets/visualbasic/System/Convert/IsDBNull/IsDBNull_To_NA.vbproj new file mode 100644 index 00000000000..8925f2a185d --- /dev/null +++ b/snippets/visualbasic/System/Convert/IsDBNull/IsDBNull_To_NA.vbproj @@ -0,0 +1,9 @@ + + + + Exe + net481-windows + true + + + diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/Resources.Designer.vb b/snippets/visualbasic/System/Convert/IsDBNull/Resources.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/Resources.Designer.vb rename to snippets/visualbasic/System/Convert/IsDBNull/Resources.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Resources.resx b/snippets/visualbasic/System/Convert/IsDBNull/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Resources.resx rename to snippets/visualbasic/System/Convert/IsDBNull/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_CLR/convert.tobase64string/VB/tb64s.vb b/snippets/visualbasic/System/Convert/ToBase64String/tb64s.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/convert.tobase64string/VB/tb64s.vb rename to snippets/visualbasic/System/Convert/ToBase64String/tb64s.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/ToBoolean1.vb b/snippets/visualbasic/System/Convert/ToBoolean/ToBoolean1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/ToBoolean1.vb rename to snippets/visualbasic/System/Convert/ToBoolean/ToBoolean1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToXXX_Object_IFP/VB/objectifp.vb b/snippets/visualbasic/System/Convert/ToBoolean/objectifp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToXXX_Object_IFP/VB/objectifp.vb rename to snippets/visualbasic/System/Convert/ToBoolean/objectifp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb b/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb rename to snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb b/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb rename to snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb b/snippets/visualbasic/System/Convert/ToByte/Conversion.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb rename to snippets/visualbasic/System/Convert/ToByte/Conversion.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb b/snippets/visualbasic/System/Convert/ToByte/tobyte1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb rename to snippets/visualbasic/System/Convert/ToByte/tobyte1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte2.vb b/snippets/visualbasic/System/Convert/ToByte/tobyte2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte2.vb rename to snippets/visualbasic/System/Convert/ToByte/tobyte2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte3.vb b/snippets/visualbasic/System/Convert/ToByte/tobyte3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte3.vb rename to snippets/visualbasic/System/Convert/ToByte/tobyte3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte4.vb b/snippets/visualbasic/System/Convert/ToByte/tobyte4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte4.vb rename to snippets/visualbasic/System/Convert/ToByte/tobyte4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte5.vb b/snippets/visualbasic/System/Convert/ToByte/tobyte5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte5.vb rename to snippets/visualbasic/System/Convert/ToByte/tobyte5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToNonNum_String/VB/stringnonnum.vb b/snippets/visualbasic/System/Convert/ToChar/stringnonnum.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToNonNum_String/VB/stringnonnum.vb rename to snippets/visualbasic/System/Convert/ToChar/stringnonnum.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tochar/vb/tochar1.vb b/snippets/visualbasic/System/Convert/ToChar/tochar1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tochar/vb/tochar1.vb rename to snippets/visualbasic/System/Convert/ToChar/tochar1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/ToDateTime1.vb b/snippets/visualbasic/System/Convert/ToDateTime/ToDateTime1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/ToDateTime1.vb rename to snippets/visualbasic/System/Convert/ToDateTime/ToDateTime1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/ToDateTime2.vb b/snippets/visualbasic/System/Convert/ToDateTime/ToDateTime2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/ToDateTime2.vb rename to snippets/visualbasic/System/Convert/ToDateTime/ToDateTime2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/ToDateTime3.vb b/snippets/visualbasic/System/Convert/ToDateTime/ToDateTime3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/ToDateTime3.vb rename to snippets/visualbasic/System/Convert/ToDateTime/ToDateTime3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/todatetime4.vb b/snippets/visualbasic/System/Convert/ToDateTime/todatetime4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/todatetime4.vb rename to snippets/visualbasic/System/Convert/ToDateTime/todatetime4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDecimal/vb/ToDecimal1.vb b/snippets/visualbasic/System/Convert/ToDecimal/ToDecimal1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDecimal/vb/ToDecimal1.vb rename to snippets/visualbasic/System/Convert/ToDecimal/ToDecimal1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb b/snippets/visualbasic/System/Convert/ToDecimal/todecimal11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb rename to snippets/visualbasic/System/Convert/ToDecimal/todecimal11.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal2.vb b/snippets/visualbasic/System/Convert/ToDecimal/todecimal2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal2.vb rename to snippets/visualbasic/System/Convert/ToDecimal/todecimal2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal3.vb b/snippets/visualbasic/System/Convert/ToDecimal/todecimal3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal3.vb rename to snippets/visualbasic/System/Convert/ToDecimal/todecimal3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/example8.vb b/snippets/visualbasic/System/Convert/ToDouble/example8.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/example8.vb rename to snippets/visualbasic/System/Convert/ToDouble/example8.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToReals_String/VB/todouble.vb b/snippets/visualbasic/System/Convert/ToDouble/todouble.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToReals_String/VB/todouble.vb rename to snippets/visualbasic/System/Convert/ToDouble/todouble.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/todouble1.vb b/snippets/visualbasic/System/Convert/ToDouble/todouble1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/todouble1.vb rename to snippets/visualbasic/System/Convert/ToDouble/todouble1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToSInts_String/VB/toint16.vb b/snippets/visualbasic/System/Convert/ToInt16/toint16.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToSInts_String/VB/toint16.vb rename to snippets/visualbasic/System/Convert/ToInt16/toint16.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb b/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb rename to snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_2.vb b/snippets/visualbasic/System/Convert/ToInt16/toint16_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_2.vb rename to snippets/visualbasic/System/Convert/ToInt16/toint16_2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToSInts_String/VB/tosbyte.vb b/snippets/visualbasic/System/Convert/ToInt16/tosbyte.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToSInts_String/VB/tosbyte.vb rename to snippets/visualbasic/System/Convert/ToInt16/tosbyte.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb b/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb rename to snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_2.vb b/snippets/visualbasic/System/Convert/ToInt32/toint32_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_2.vb rename to snippets/visualbasic/System/Convert/ToInt32/toint32_2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb b/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb rename to snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_2.vb b/snippets/visualbasic/System/Convert/ToInt64/toint64_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_2.vb rename to snippets/visualbasic/System/Convert/ToInt64/toint64_2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_3.vb b/snippets/visualbasic/System/Convert/ToInt64/toint64_3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_3.vb rename to snippets/visualbasic/System/Convert/ToInt64/toint64_3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb b/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb rename to snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte2.vb b/snippets/visualbasic/System/Convert/ToSByte/tosbyte2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte2.vb rename to snippets/visualbasic/System/Convert/ToSByte/tosbyte2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte3.vb b/snippets/visualbasic/System/Convert/ToSByte/tosbyte3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte3.vb rename to snippets/visualbasic/System/Convert/ToSByte/tosbyte3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb b/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb rename to snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle2.vb b/snippets/visualbasic/System/Convert/ToSingle/tosingle2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle2.vb rename to snippets/visualbasic/System/Convert/ToSingle/tosingle2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle3.vb b/snippets/visualbasic/System/Convert/ToSingle/tosingle3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle3.vb rename to snippets/visualbasic/System/Convert/ToSingle/tosingle3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString/vb/ToString.Byte1.vb b/snippets/visualbasic/System/Convert/ToString/ToString.Byte1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString/vb/ToString.Byte1.vb rename to snippets/visualbasic/System/Convert/ToString/ToString.Byte1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString/vb/ToString_Bool1.vb b/snippets/visualbasic/System/Convert/ToString/ToString_Bool1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString/vb/ToString_Bool1.vb rename to snippets/visualbasic/System/Convert/ToString/ToString_Bool1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString.IFormatProvider/VB/nonnumeric.vb b/snippets/visualbasic/System/Convert/ToString/nonnumeric.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString.IFormatProvider/VB/nonnumeric.vb rename to snippets/visualbasic/System/Convert/ToString/nonnumeric.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring1.vb b/snippets/visualbasic/System/Convert/ToString/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring1.vb rename to snippets/visualbasic/System/Convert/ToString/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring2.vb b/snippets/visualbasic/System/Convert/ToString/tostring2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring2.vb rename to snippets/visualbasic/System/Convert/ToString/tostring2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb b/snippets/visualbasic/System/Convert/ToString/tostring3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb rename to snippets/visualbasic/System/Convert/ToString/tostring3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring5.vb b/snippets/visualbasic/System/Convert/ToString/tostring5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring5.vb rename to snippets/visualbasic/System/Convert/ToString/tostring5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring6.vb b/snippets/visualbasic/System/Convert/ToString/tostring6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring6.vb rename to snippets/visualbasic/System/Convert/ToString/tostring6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring7.vb b/snippets/visualbasic/System/Convert/ToString/tostring7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring7.vb rename to snippets/visualbasic/System/Convert/ToString/tostring7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring_obj30.vb b/snippets/visualbasic/System/Convert/ToString/tostring_obj30.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring_obj30.vb rename to snippets/visualbasic/System/Convert/ToString/tostring_obj30.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString/vb/tostring_string1.vb b/snippets/visualbasic/System/Convert/ToString/tostring_string1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString/vb/tostring_string1.vb rename to snippets/visualbasic/System/Convert/ToString/tostring_string1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb b/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb rename to snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_2.vb b/snippets/visualbasic/System/Convert/ToUInt16/touint16_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_2.vb rename to snippets/visualbasic/System/Convert/ToUInt16/touint16_2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_3.vb b/snippets/visualbasic/System/Convert/ToUInt16/touint16_3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_3.vb rename to snippets/visualbasic/System/Convert/ToUInt16/touint16_3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_4.vb b/snippets/visualbasic/System/Convert/ToUInt16/touint16_4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_4.vb rename to snippets/visualbasic/System/Convert/ToUInt16/touint16_4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb b/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb rename to snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_2.vb b/snippets/visualbasic/System/Convert/ToUInt32/touint32_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_2.vb rename to snippets/visualbasic/System/Convert/ToUInt32/touint32_2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_3.vb b/snippets/visualbasic/System/Convert/ToUInt32/touint32_3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_3.vb rename to snippets/visualbasic/System/Convert/ToUInt32/touint32_3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_4.vb b/snippets/visualbasic/System/Convert/ToUInt32/touint32_4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_4.vb rename to snippets/visualbasic/System/Convert/ToUInt32/touint32_4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb b/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb rename to snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_2.vb b/snippets/visualbasic/System/Convert/ToUInt64/touint64_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_2.vb rename to snippets/visualbasic/System/Convert/ToUInt64/touint64_2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_3.vb b/snippets/visualbasic/System/Convert/ToUInt64/touint64_3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_3.vb rename to snippets/visualbasic/System/Convert/ToUInt64/touint64_3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_4.vb b/snippets/visualbasic/System/Convert/ToUInt64/touint64_4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_4.vb rename to snippets/visualbasic/System/Convert/ToUInt64/touint64_4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_ConvertAll/vb/source.vb b/snippets/visualbasic/System/ConverterTInput,TOutput/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_ConvertAll/vb/source.vb rename to snippets/visualbasic/System/ConverterTInput,TOutput/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DBNull.Class/vb/DBNullExamples.vb b/snippets/visualbasic/System/DBNull/Overview/DBNullExamples.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DBNull.Class/vb/DBNullExamples.vb rename to snippets/visualbasic/System/DBNull/Overview/DBNullExamples.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample1.vb b/snippets/visualbasic/System/DateTime/.ctor/ctorexample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample1.vb rename to snippets/visualbasic/System/DateTime/.ctor/ctorexample1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample2.vb b/snippets/visualbasic/System/DateTime/.ctor/ctorexample2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample2.vb rename to snippets/visualbasic/System/DateTime/.ctor/ctorexample2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample4.vb b/snippets/visualbasic/System/DateTime/.ctor/ctorexample4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample4.vb rename to snippets/visualbasic/System/DateTime/.ctor/ctorexample4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample6.vb b/snippets/visualbasic/System/DateTime/.ctor/ctorexample6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample6.vb rename to snippets/visualbasic/System/DateTime/.ctor/ctorexample6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample9.vb b/snippets/visualbasic/System/DateTime/.ctor/ctorexample9.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample9.vb rename to snippets/visualbasic/System/DateTime/.ctor/ctorexample9.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/datetime.ctor_Int64/VB/ticks.vb b/snippets/visualbasic/System/DateTime/.ctor/ticks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/datetime.ctor_Int64/VB/ticks.vb rename to snippets/visualbasic/System/DateTime/.ctor/ticks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DateTime.Add/VB/class1.vb b/snippets/visualbasic/System/DateTime/Add/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DateTime.Add/VB/class1.vb rename to snippets/visualbasic/System/DateTime/Add/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DateTime.AddDays/VB/class1.vb b/snippets/visualbasic/System/DateTime/AddDays/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DateTime.AddDays/VB/class1.vb rename to snippets/visualbasic/System/DateTime/AddDays/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.AddHours/vb/AddHours1.vb b/snippets/visualbasic/System/DateTime/AddHours/AddHours1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.AddHours/vb/AddHours1.vb rename to snippets/visualbasic/System/DateTime/AddHours/AddHours1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addmilliseconds/vb/addmilliseconds2.vb b/snippets/visualbasic/System/DateTime/AddMilliseconds/addmilliseconds2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addmilliseconds/vb/addmilliseconds2.vb rename to snippets/visualbasic/System/DateTime/AddMilliseconds/addmilliseconds2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addminutes/vb/addminutes1.vb b/snippets/visualbasic/System/DateTime/AddMinutes/addminutes1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addminutes/vb/addminutes1.vb rename to snippets/visualbasic/System/DateTime/AddMinutes/addminutes1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addmonths/vb/addmonths1.vb b/snippets/visualbasic/System/DateTime/AddMonths/addmonths1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addmonths/vb/addmonths1.vb rename to snippets/visualbasic/System/DateTime/AddMonths/addmonths1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addseconds/vb/addseconds1.vb b/snippets/visualbasic/System/DateTime/AddSeconds/addseconds1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addseconds/vb/addseconds1.vb rename to snippets/visualbasic/System/DateTime/AddSeconds/addseconds1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addyears/vb/addyears1.vb b/snippets/visualbasic/System/DateTime/AddYears/addyears1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addyears/vb/addyears1.vb rename to snippets/visualbasic/System/DateTime/AddYears/addyears1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.compare/vb/compare1.vb b/snippets/visualbasic/System/DateTime/Compare/compare1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.compare/vb/compare1.vb rename to snippets/visualbasic/System/DateTime/Compare/compare1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DateTime.CompareTo.2/VB/CompareTo_VB1_24564.vb b/snippets/visualbasic/System/DateTime/CompareTo/CompareTo_VB1_24564.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DateTime.CompareTo.2/VB/CompareTo_VB1_24564.vb rename to snippets/visualbasic/System/DateTime/CompareTo/CompareTo_VB1_24564.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DateTime.CompareTo/VB/class1.vb b/snippets/visualbasic/System/DateTime/CompareTo/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DateTime.CompareTo/VB/class1.vb rename to snippets/visualbasic/System/DateTime/CompareTo/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Date/vb/Date1.vb b/snippets/visualbasic/System/DateTime/Date/Date1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Date/vb/Date1.vb rename to snippets/visualbasic/System/DateTime/Date/Date1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Day/vb/Day1.vb b/snippets/visualbasic/System/DateTime/Day/Day1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Day/vb/Day1.vb rename to snippets/visualbasic/System/DateTime/Day/Day1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Day/vb/Day2.vb b/snippets/visualbasic/System/DateTime/Day/Day2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Day/vb/Day2.vb rename to snippets/visualbasic/System/DateTime/Day/Day2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Minute etc/VB/class1.vb b/snippets/visualbasic/System/DateTime/Day/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Minute etc/VB/class1.vb rename to snippets/visualbasic/System/DateTime/Day/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DateTime.DayOfWeek/VB/dow.vb b/snippets/visualbasic/System/DateTime/DayOfWeek/dow.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DateTime.DayOfWeek/VB/dow.vb rename to snippets/visualbasic/System/DateTime/DayOfWeek/dow.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.dayofyear/vb/dayofyear2.vb b/snippets/visualbasic/System/DateTime/DayOfYear/dayofyear2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.dayofyear/vb/dayofyear2.vb rename to snippets/visualbasic/System/DateTime/DayOfYear/dayofyear2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DateTime.DaysInMonth/VB/class1.vb b/snippets/visualbasic/System/DateTime/DaysInMonth/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DateTime.DaysInMonth/VB/class1.vb rename to snippets/visualbasic/System/DateTime/DaysInMonth/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.daysinmonth/vb/daysinmonth3.vb b/snippets/visualbasic/System/DateTime/DaysInMonth/daysinmonth3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.daysinmonth/vb/daysinmonth3.vb rename to snippets/visualbasic/System/DateTime/DaysInMonth/daysinmonth3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DateTime.Equals/VB/class1.vb b/snippets/visualbasic/System/DateTime/Equals/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DateTime.Equals/VB/class1.vb rename to snippets/visualbasic/System/DateTime/Equals/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Equals-Instance/vb/sample.vb b/snippets/visualbasic/System/DateTime/Equals/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Equals-Instance/vb/sample.vb rename to snippets/visualbasic/System/DateTime/Equals/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DateTime.FromFileTime/VB/class1.vb b/snippets/visualbasic/System/DateTime/FromFileTime/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DateTime.FromFileTime/VB/class1.vb rename to snippets/visualbasic/System/DateTime/FromFileTime/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.fromfiletime/vb/fromfiletime1.vb b/snippets/visualbasic/System/DateTime/FromFileTime/fromfiletime1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.fromfiletime/vb/fromfiletime1.vb rename to snippets/visualbasic/System/DateTime/FromFileTime/fromfiletime1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DateTime.GetDateTimeFormats/VB/class1.vb b/snippets/visualbasic/System/DateTime/GetDateTimeFormats/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DateTime.GetDateTimeFormats/VB/class1.vb rename to snippets/visualbasic/System/DateTime/GetDateTimeFormats/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Hour/vb/Hour1.vb b/snippets/visualbasic/System/DateTime/Hour/Hour1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Hour/vb/Hour1.vb rename to snippets/visualbasic/System/DateTime/Hour/Hour1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.IsLeapYear/vb/IsLeapYear1.vb b/snippets/visualbasic/System/DateTime/IsLeapYear/IsLeapYear1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.IsLeapYear/vb/IsLeapYear1.vb rename to snippets/visualbasic/System/DateTime/IsLeapYear/IsLeapYear1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DateTime.Kind_Suite/vb/ks.vb b/snippets/visualbasic/System/DateTime/Kind/ks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DateTime.Kind_Suite/vb/ks.vb rename to snippets/visualbasic/System/DateTime/Kind/ks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.MinValue/vb/MinValue.vb b/snippets/visualbasic/System/DateTime/MaxValue/MinValue.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.MinValue/vb/MinValue.vb rename to snippets/visualbasic/System/DateTime/MaxValue/MinValue.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Millisecond/vb/Millisecond.vb b/snippets/visualbasic/System/DateTime/Millisecond/Millisecond.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Millisecond/vb/Millisecond.vb rename to snippets/visualbasic/System/DateTime/Millisecond/Millisecond.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.now/vb/now1.vb b/snippets/visualbasic/System/DateTime/Now/now1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.now/vb/now1.vb rename to snippets/visualbasic/System/DateTime/Now/now1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.now/vb/now2.vb b/snippets/visualbasic/System/DateTime/Now/now2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.now/vb/now2.vb rename to snippets/visualbasic/System/DateTime/Now/now2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse1.vb b/snippets/visualbasic/System/DateTime/Parse/Parse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse1.vb rename to snippets/visualbasic/System/DateTime/Parse/Parse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse2.vb b/snippets/visualbasic/System/DateTime/Parse/Parse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse2.vb rename to snippets/visualbasic/System/DateTime/Parse/Parse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse3.vb b/snippets/visualbasic/System/DateTime/Parse/Parse3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse3.vb rename to snippets/visualbasic/System/DateTime/Parse/Parse3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse4.vb b/snippets/visualbasic/System/DateTime/Parse/Parse4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse4.vb rename to snippets/visualbasic/System/DateTime/Parse/Parse4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse5.vb b/snippets/visualbasic/System/DateTime/Parse/Parse5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse5.vb rename to snippets/visualbasic/System/DateTime/Parse/Parse5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse6.vb b/snippets/visualbasic/System/DateTime/Parse/Parse6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse6.vb rename to snippets/visualbasic/System/DateTime/Parse/Parse6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ParseExact/vb/ParseExact1.vb b/snippets/visualbasic/System/DateTime/ParseExact/ParseExact1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ParseExact/vb/ParseExact1.vb rename to snippets/visualbasic/System/DateTime/ParseExact/ParseExact1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ParseExact/vb/parseexact2.vb b/snippets/visualbasic/System/DateTime/ParseExact/parseexact2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ParseExact/vb/parseexact2.vb rename to snippets/visualbasic/System/DateTime/ParseExact/parseexact2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ParseExact/vb/parseexact3.vb b/snippets/visualbasic/System/DateTime/ParseExact/parseexact3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ParseExact/vb/parseexact3.vb rename to snippets/visualbasic/System/DateTime/ParseExact/parseexact3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Ticks/vb/Ticks.vb b/snippets/visualbasic/System/DateTime/Ticks/Ticks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Ticks/vb/Ticks.vb rename to snippets/visualbasic/System/DateTime/Ticks/Ticks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.timeofday/vb/timeofday1.vb b/snippets/visualbasic/System/DateTime/TimeOfDay/timeofday1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.timeofday/vb/timeofday1.vb rename to snippets/visualbasic/System/DateTime/TimeOfDay/timeofday1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DateTime.ToFileTime/VB/class1.vb b/snippets/visualbasic/System/DateTime/ToFileTime/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DateTime.ToFileTime/VB/class1.vb rename to snippets/visualbasic/System/DateTime/ToFileTime/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DateTime.ToLocalTime ToUniversalTime/VB/class1.vb b/snippets/visualbasic/System/DateTime/ToLocalTime/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DateTime.ToLocalTime ToUniversalTime/VB/class1.vb rename to snippets/visualbasic/System/DateTime/ToLocalTime/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tolocaltime/vb/tolocaltime1.vb b/snippets/visualbasic/System/DateTime/ToLocalTime/tolocaltime1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tolocaltime/vb/tolocaltime1.vb rename to snippets/visualbasic/System/DateTime/ToLocalTime/tolocaltime1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DateTime.ToShortLongString/vb/sls.vb b/snippets/visualbasic/System/DateTime/ToLongDateString/sls.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DateTime.ToShortLongString/vb/sls.vb rename to snippets/visualbasic/System/DateTime/ToLongDateString/sls.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tolongtimestring/vb/sls.vb b/snippets/visualbasic/System/DateTime/ToLongTimeString/sls.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tolongtimestring/vb/sls.vb rename to snippets/visualbasic/System/DateTime/ToLongTimeString/sls.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToShortDateString/vb/ToShortDateString.vb b/snippets/visualbasic/System/DateTime/ToShortDateString/ToShortDateString.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToShortDateString/vb/ToShortDateString.vb rename to snippets/visualbasic/System/DateTime/ToShortDateString/ToShortDateString.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/ToString1.vb b/snippets/visualbasic/System/DateTime/ToString/ToString1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/ToString1.vb rename to snippets/visualbasic/System/DateTime/ToString/ToString1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/ToString2.vb b/snippets/visualbasic/System/DateTime/ToString/ToString2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/ToString2.vb rename to snippets/visualbasic/System/DateTime/ToString/ToString2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/ToString4.vb b/snippets/visualbasic/System/DateTime/ToString/ToString4.vb similarity index 97% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/ToString4.vb rename to snippets/visualbasic/System/DateTime/ToString/ToString4.vb index f8a7c1df9a7..92301029d78 100644 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/ToString4.vb +++ b/snippets/visualbasic/System/DateTime/ToString/ToString4.vb @@ -4,7 +4,7 @@ Option Strict On ' Imports System.Globalization -Module Example4 +Module DateToStringExample4 Public Sub Main4() Dim cultures() As CultureInfo = {CultureInfo.InvariantCulture, New CultureInfo("en-us"), diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tostring.argumentoutofrangeexception/vb/datetime.tostring.argumentoutofrangeexception1.vb b/snippets/visualbasic/System/DateTime/ToString/datetime.tostring.argumentoutofrangeexception1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tostring.argumentoutofrangeexception/vb/datetime.tostring.argumentoutofrangeexception1.vb rename to snippets/visualbasic/System/DateTime/ToString/datetime.tostring.argumentoutofrangeexception1.vb diff --git a/snippets/visualbasic/System/DateTime/ToString/datetime.tostring.argumentoutofrangeexception2.vb b/snippets/visualbasic/System/DateTime/ToString/datetime.tostring.argumentoutofrangeexception2.vb new file mode 100644 index 00000000000..7bbd91ed2bb --- /dev/null +++ b/snippets/visualbasic/System/DateTime/ToString/datetime.tostring.argumentoutofrangeexception2.vb @@ -0,0 +1,35 @@ +' Visual Basic .NET Document +Option Strict On + +' +Imports System.Globalization +Imports System.Threading + +Module Example2 + Public Sub Main() + Dim date1 As Date = #1/1/550# + Dim dft As CultureInfo + Dim arSY As New CultureInfo("ar-SY") + arSY.DateTimeFormat.Calendar = New HijriCalendar() + + ' Change current culture to ar-SY. + dft = Thread.CurrentThread.CurrentCulture + Thread.CurrentThread.CurrentCulture = arSY + + ' Display the date using the current culture's calendar. + Try + Console.WriteLine(date1.ToString()) + Catch e As ArgumentOutOfRangeException + Console.WriteLine("{0} is earlier than {1} or later than {2}", + date1.ToString("d", CultureInfo.InvariantCulture), + arSY.DateTimeFormat.Calendar.MinSupportedDateTime.ToString("d", CultureInfo.InvariantCulture), + arSY.DateTimeFormat.Calendar.MaxSupportedDateTime.ToString("d", CultureInfo.InvariantCulture)) + End Try + + ' Restore the default culture. + Thread.CurrentThread.CurrentCulture = dft + End Sub +End Module +' The example displays the following output: +' 01/01/0550 is earlier than 07/18/0622 or later than 12/31/9999 +' diff --git a/snippets/visualbasic/System/DateTime/ToString/datetime.tostring.argumentoutofrangeexception3.vb b/snippets/visualbasic/System/DateTime/ToString/datetime.tostring.argumentoutofrangeexception3.vb new file mode 100644 index 00000000000..988beb829ca --- /dev/null +++ b/snippets/visualbasic/System/DateTime/ToString/datetime.tostring.argumentoutofrangeexception3.vb @@ -0,0 +1,35 @@ +' Visual Basic .NET Document +Option Strict On + +' +Imports System.Globalization +Imports System.Threading + +Module Example3 + Public Sub Main() + Dim date1 As Date = #7/21/1550# + Dim dft As CultureInfo + Dim heIL As New CultureInfo("he-IL") + heIL.DateTimeFormat.Calendar = New HebrewCalendar() + + ' Change current culture to he-IL. + dft = Thread.CurrentThread.CurrentCulture + Thread.CurrentThread.CurrentCulture = heIL + + ' Display the date using the current culture's calendar. + Try + Console.WriteLine(date1.ToString("G")) + Catch e As ArgumentOutOfRangeException + Console.WriteLine("{0} is earlier than {1} or later than {2}", + date1.ToString("d", CultureInfo.InvariantCulture), + heIL.DateTimeFormat.Calendar.MinSupportedDateTime.ToString("d", CultureInfo.InvariantCulture), + heIL.DateTimeFormat.Calendar.MaxSupportedDateTime.ToString("d", CultureInfo.InvariantCulture)) + End Try + + ' Restore the default culture. + Thread.CurrentThread.CurrentCulture = dft + End Sub +End Module +' The example displays the following output: +' 07/21/1550 is earlier than 01/01/1583 or later than 09/29/2239 +' diff --git a/snippets/visualbasic/System/DateTime/ToString/datetime.tostring.argumentoutofrangeexception4.vb b/snippets/visualbasic/System/DateTime/ToString/datetime.tostring.argumentoutofrangeexception4.vb new file mode 100644 index 00000000000..ef36afa2ab9 --- /dev/null +++ b/snippets/visualbasic/System/DateTime/ToString/datetime.tostring.argumentoutofrangeexception4.vb @@ -0,0 +1,26 @@ +' Visual Basic .NET Document +Option Strict On + +' +Imports System.Globalization + +Module Example4 + Public Sub Main() + Dim arSA As New CultureInfo("ar-SA") + arSA.DateTimeFormat.Calendar = New UmAlQuraCalendar() + Dim date1 As Date = #09/10/1890# + + Try + Console.WriteLine(date1.ToString("d", arSA)) + Catch e As ArgumentOutOfRangeException + Console.WriteLine("{0:d} is earlier than {1:d} or later than {2:d}", + date1, + arSA.DateTimeFormat.Calendar.MinSupportedDateTime, + arSA.DateTimeFormat.Calendar.MaxSupportedDateTime) + End Try + End Sub +End Module + +' The example displays the following output: +' 9/10/1890 is earlier than 4/30/1900 or later than 5/13/2029 +' diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/tostring.vbproj b/snippets/visualbasic/System/DateTime/ToString/tostring.vbproj similarity index 60% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/tostring.vbproj rename to snippets/visualbasic/System/DateTime/ToString/tostring.vbproj index 9801613a77b..d8a989ecbe3 100644 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/tostring.vbproj +++ b/snippets/visualbasic/System/DateTime/ToString/tostring.vbproj @@ -1,9 +1,9 @@ - Exe + Library tostring - net6.0 + net9.0 diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/tostring3.vb b/snippets/visualbasic/System/DateTime/ToString/tostring3.vb similarity index 99% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/tostring3.vb rename to snippets/visualbasic/System/DateTime/ToString/tostring3.vb index 1d6935f6687..aa50bafcbc7 100644 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/tostring3.vb +++ b/snippets/visualbasic/System/DateTime/ToString/tostring3.vb @@ -4,7 +4,7 @@ Option Strict On ' Imports System.Globalization -Module Example +Module DateToStringExample3 Public Sub Main4() ' Create an array of all supported standard date and time format specifiers. Dim formats() As String = {"d", "D", "f", "F", "g", "G", "m", "o", "r", diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/tostring5.vb b/snippets/visualbasic/System/DateTime/ToString/tostring5.vb similarity index 97% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/tostring5.vb rename to snippets/visualbasic/System/DateTime/ToString/tostring5.vb index 267bf70eac7..958417f2d29 100644 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/tostring5.vb +++ b/snippets/visualbasic/System/DateTime/ToString/tostring5.vb @@ -2,7 +2,7 @@ Imports System.Globalization Imports System.Threading -Public Module Example5 +Public Module DateToStringExample5 Public Sub Main5() Dim formats() As String = {"G", "MM/yyyy", "MM\/dd\/yyyy HH:mm", "yyyyMMdd"} diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.touniversaltime/vb/touniversaltime.vb b/snippets/visualbasic/System/DateTime/ToUniversalTime/touniversaltime.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.touniversaltime/vb/touniversaltime.vb rename to snippets/visualbasic/System/DateTime/ToUniversalTime/touniversaltime.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Today/vb/Today1.vb b/snippets/visualbasic/System/DateTime/Today/Today1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Today/vb/Today1.vb rename to snippets/visualbasic/System/DateTime/Today/Today1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.TryParse/vb/TryParse1.vb b/snippets/visualbasic/System/DateTime/TryParse/TryParse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.TryParse/vb/TryParse1.vb rename to snippets/visualbasic/System/DateTime/TryParse/TryParse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.TryParse/vb/tryparse2.vb b/snippets/visualbasic/System/DateTime/TryParse/tryparse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.TryParse/vb/tryparse2.vb rename to snippets/visualbasic/System/DateTime/TryParse/tryparse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.TryParseExact/vb/TryParseExact1.vb b/snippets/visualbasic/System/DateTime/TryParseExact/TryParseExact1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.TryParseExact/vb/TryParseExact1.vb rename to snippets/visualbasic/System/DateTime/TryParseExact/TryParseExact1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.TryParseExact/vb/TryParseExact2.vb b/snippets/visualbasic/System/DateTime/TryParseExact/TryParseExact2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.TryParseExact/vb/TryParseExact2.vb rename to snippets/visualbasic/System/DateTime/TryParseExact/TryParseExact2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Year/vb/Year.vb b/snippets/visualbasic/System/DateTime/Year/Year.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Year/vb/Year.vb rename to snippets/visualbasic/System/DateTime/Year/Year.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DateTime Operators/VB/class1.vb b/snippets/visualbasic/System/DateTime/op_Addition/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DateTime Operators/VB/class1.vb rename to snippets/visualbasic/System/DateTime/op_Addition/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DateTime.Subtraction/VB/class1.vb b/snippets/visualbasic/System/DateTime/op_Subtraction/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DateTime.Subtraction/VB/class1.vb rename to snippets/visualbasic/System/DateTime/op_Subtraction/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/vb/Constructors.vb b/snippets/visualbasic/System/DateTimeOffset/.ctor/Constructors.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/vb/Constructors.vb rename to snippets/visualbasic/System/DateTimeOffset/.ctor/Constructors.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb b/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb rename to snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods2.vb b/snippets/visualbasic/System/DateTimeOffset/Add/Methods2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods2.vb rename to snippets/visualbasic/System/DateTimeOffset/Add/Methods2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods3.vb b/snippets/visualbasic/System/DateTimeOffset/Add/Methods3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods3.vb rename to snippets/visualbasic/System/DateTimeOffset/Add/Methods3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/vb/Syntax.vb b/snippets/visualbasic/System/DateTimeOffset/Compare/Syntax.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/vb/Syntax.vb rename to snippets/visualbasic/System/DateTimeOffset/Compare/Syntax.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb b/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb rename to snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.FromFileTime/vb/FileTime.vb b/snippets/visualbasic/System/DateTimeOffset/FromFileTime/FileTime.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.FromFileTime/vb/FileTime.vb rename to snippets/visualbasic/System/DateTimeOffset/FromFileTime/FileTime.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.now/vb/now1.vb b/snippets/visualbasic/System/DateTimeOffset/Now/now1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.now/vb/now1.vb rename to snippets/visualbasic/System/DateTimeOffset/Now/now1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Type/vb/Type.vb b/snippets/visualbasic/System/DateTimeOffset/Overview/Type.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Type/vb/Type.vb rename to snippets/visualbasic/System/DateTimeOffset/Overview/Type.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Parse/vb/ParseExamples.vb b/snippets/visualbasic/System/DateTimeOffset/Parse/ParseExamples.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Parse/vb/ParseExamples.vb rename to snippets/visualbasic/System/DateTimeOffset/Parse/ParseExamples.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ParseExact/vb/ParseExact.vb b/snippets/visualbasic/System/DateTimeOffset/ParseExact/ParseExact.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ParseExact/vb/ParseExact.vb rename to snippets/visualbasic/System/DateTimeOffset/ParseExact/ParseExact.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ToOffset/vb/ToOffset.vb b/snippets/visualbasic/System/DateTimeOffset/ToOffset/ToOffset.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ToOffset/vb/ToOffset.vb rename to snippets/visualbasic/System/DateTimeOffset/ToOffset/ToOffset.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ToString/vb/ToString.vb b/snippets/visualbasic/System/DateTimeOffset/ToString/ToString.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ToString/vb/ToString.vb rename to snippets/visualbasic/System/DateTimeOffset/ToString/ToString.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception1.vb b/snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception1.vb rename to snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception2.vb b/snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception2.vb rename to snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception3.vb b/snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception3.vb rename to snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception4.vb b/snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception4.vb rename to snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tounixtimeseconds/vb/tounixtimeseconds1.vb b/snippets/visualbasic/System/DateTimeOffset/ToUnixTimeSeconds/tounixtimeseconds1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tounixtimeseconds/vb/tounixtimeseconds1.vb rename to snippets/visualbasic/System/DateTimeOffset/ToUnixTimeSeconds/tounixtimeseconds1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.TryParse/vb/TryParse.vb b/snippets/visualbasic/System/DateTimeOffset/TryParse/TryParse.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.TryParse/vb/TryParse.vb rename to snippets/visualbasic/System/DateTimeOffset/TryParse/TryParse.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.TryParseExact/vb/TryParseExact.vb b/snippets/visualbasic/System/DateTimeOffset/TryParseExact/TryParseExact.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.TryParseExact/vb/TryParseExact.vb rename to snippets/visualbasic/System/DateTimeOffset/TryParseExact/TryParseExact.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Operators/vb/Operators.vb b/snippets/visualbasic/System/DateTimeOffset/op_Addition/Operators.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Operators/vb/Operators.vb rename to snippets/visualbasic/System/DateTimeOffset/op_Addition/Operators.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.ctor/vb/ctor2a.vb b/snippets/visualbasic/System/Decimal/.ctor/ctor2a.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.ctor/vb/ctor2a.vb rename to snippets/visualbasic/System/Decimal/.ctor/ctor2a.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/VB/ctordo.vb b/snippets/visualbasic/System/Decimal/.ctor/ctordo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/VB/ctordo.vb rename to snippets/visualbasic/System/Decimal/.ctor/ctordo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctori.vb b/snippets/visualbasic/System/Decimal/.ctor/ctori.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctori.vb rename to snippets/visualbasic/System/Decimal/.ctor/ctori.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/VB/ctoriarr.vb b/snippets/visualbasic/System/Decimal/.ctor/ctoriarr.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/VB/ctoriarr.vb rename to snippets/visualbasic/System/Decimal/.ctor/ctoriarr.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/VB/ctoriiibby.vb b/snippets/visualbasic/System/Decimal/.ctor/ctoriiibby.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/VB/ctoriiibby.vb rename to snippets/visualbasic/System/Decimal/.ctor/ctoriiibby.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctorl.vb b/snippets/visualbasic/System/Decimal/.ctor/ctorl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctorl.vb rename to snippets/visualbasic/System/Decimal/.ctor/ctorl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/VB/ctors.vb b/snippets/visualbasic/System/Decimal/.ctor/ctors.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/VB/ctors.vb rename to snippets/visualbasic/System/Decimal/.ctor/ctors.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctorui.vb b/snippets/visualbasic/System/Decimal/.ctor/ctorui.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctorui.vb rename to snippets/visualbasic/System/Decimal/.ctor/ctorui.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctorul.vb b/snippets/visualbasic/System/Decimal/.ctor/ctorul.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctorul.vb rename to snippets/visualbasic/System/Decimal/.ctor/ctorul.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Decimal Example/VB/source.vb b/snippets/visualbasic/System/Decimal/Add/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Decimal Example/VB/source.vb rename to snippets/visualbasic/System/Decimal/Add/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ceiling/vb/Ceiling1.vb b/snippets/visualbasic/System/Decimal/Ceiling/Ceiling1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ceiling/vb/Ceiling1.vb rename to snippets/visualbasic/System/Decimal/Ceiling/Ceiling1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.Compare/vb/Compare1.vb b/snippets/visualbasic/System/Decimal/Compare/Compare1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.Compare/vb/Compare1.vb rename to snippets/visualbasic/System/Decimal/Compare/Compare1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/VB/comp_equal.vb b/snippets/visualbasic/System/Decimal/CompareTo/comp_equal.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/VB/comp_equal.vb rename to snippets/visualbasic/System/Decimal/CompareTo/comp_equal.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/VB/cto_eq_obj.vb b/snippets/visualbasic/System/Decimal/CompareTo/cto_eq_obj.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/VB/cto_eq_obj.vb rename to snippets/visualbasic/System/Decimal/CompareTo/cto_eq_obj.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.Divide/vb/Divide1.vb b/snippets/visualbasic/System/Decimal/Divide/Divide1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.Divide/vb/Divide1.vb rename to snippets/visualbasic/System/Decimal/Divide/Divide1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.equals/vb/equalsoverl.vb b/snippets/visualbasic/System/Decimal/Equals/equalsoverl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.equals/vb/equalsoverl.vb rename to snippets/visualbasic/System/Decimal/Equals/equalsoverl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.OACurrency/VB/fromoacurrency.vb b/snippets/visualbasic/System/Decimal/FromOACurrency/fromoacurrency.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.OACurrency/VB/fromoacurrency.vb rename to snippets/visualbasic/System/Decimal/FromOACurrency/fromoacurrency.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.OACurrency/VB/tooacurrency.vb b/snippets/visualbasic/System/Decimal/FromOACurrency/tooacurrency.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.OACurrency/VB/tooacurrency.vb rename to snippets/visualbasic/System/Decimal/FromOACurrency/tooacurrency.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Get_Bits_Hash_Type/VB/getbits.vb b/snippets/visualbasic/System/Decimal/GetBits/getbits.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Get_Bits_Hash_Type/VB/getbits.vb rename to snippets/visualbasic/System/Decimal/GetBits/getbits.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Get_Bits_Hash_Type/VB/gettypecode.vb b/snippets/visualbasic/System/Decimal/GetBits/gettypecode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Get_Bits_Hash_Type/VB/gettypecode.vb rename to snippets/visualbasic/System/Decimal/GetBits/gettypecode.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Fields/VB/fields.vb b/snippets/visualbasic/System/Decimal/MinusOne/fields.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Fields/VB/fields.vb rename to snippets/visualbasic/System/Decimal/MinusOne/fields.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Mul_Div_Rem/VB/mul_div_rem.vb b/snippets/visualbasic/System/Decimal/Multiply/mul_div_rem.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Mul_Div_Rem/VB/mul_div_rem.vb rename to snippets/visualbasic/System/Decimal/Multiply/mul_div_rem.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Flr_Neg_Rnd_Trnc/VB/floor_neg_trunc.vb b/snippets/visualbasic/System/Decimal/Negate/floor_neg_trunc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Flr_Neg_Rnd_Trnc/VB/floor_neg_trunc.vb rename to snippets/visualbasic/System/Decimal/Negate/floor_neg_trunc.vb diff --git a/snippets/visualbasic/System/Decimal/Parse/Default.aspx.vb b/snippets/visualbasic/System/Decimal/Parse/Default.aspx.vb new file mode 100644 index 00000000000..c3d067b5edc --- /dev/null +++ b/snippets/visualbasic/System/Decimal/Parse/Default.aspx.vb @@ -0,0 +1,239 @@ +Option Strict On + +Imports System.Globalization +Imports System.Web.UI.WebControls + +Partial Class _Default + Inherits Web.UI.Page + + ' Controls on web form + Dim inputNumber As TextBox + Dim outputNumber As Label + Dim WithEvents OkToSingle, OkToDouble, OkToDecimal, OkToInteger, OkToLong As Button + Dim WithEvents OkToUInteger, OkToULong As Button + + Public Shared Sub Main() + + End Sub + + Protected Overrides Sub OnInit(ByVal e As EventArgs) + ViewStateUserKey = Session.SessionID + End Sub + + ' + Protected Sub OkToSingle_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles OkToSingle.Click + Dim locale As String + Dim culture As CultureInfo + Dim number As Single + + ' Return if string is empty + If String.IsNullOrEmpty(Me.inputNumber.Text) Then Exit Sub + + ' Get locale of web request to determine possible format of number + If Request.UserLanguages.Length = 0 Then Exit Sub + locale = Request.UserLanguages(0) + If String.IsNullOrEmpty(locale) Then Exit Sub + + ' Instantiate CultureInfo object for the user's locale + culture = New CultureInfo(locale) + + ' Convert user input from a string to a number + Try + number = Single.Parse(Me.inputNumber.Text, culture.NumberFormat) + Catch ex As FormatException + Exit Sub + Catch ex As OverflowException + Exit Sub + End Try + + ' Output number to label on web form + Me.outputNumber.Text = "Number is " & number.ToString() + End Sub + ' + + ' + Protected Sub OkToDouble_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles OkToDouble.Click + Dim locale As String + Dim culture As CultureInfo + Dim number As Double + + ' Return if string is empty + If String.IsNullOrEmpty(Me.inputNumber.Text) Then Exit Sub + + ' Get locale of web request to determine possible format of number + If Request.UserLanguages.Length = 0 Then Exit Sub + locale = Request.UserLanguages(0) + If String.IsNullOrEmpty(locale) Then Exit Sub + + ' Instantiate CultureInfo object for the user's locale + culture = New CultureInfo(locale) + + ' Convert user input from a string to a number + Try + number = Double.Parse(Me.inputNumber.Text, culture.NumberFormat) + Catch ex As FormatException + Exit Sub + Catch ex As Exception + Exit Sub + End Try + + ' Output number to label on web form + Me.outputNumber.Text = "Number is " & number.ToString() + End Sub + ' + + ' + Protected Sub OkToDecimal_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles OkToDecimal.Click + Dim locale As String + Dim culture As CultureInfo + Dim number As Decimal + + ' Return if string is empty + If String.IsNullOrEmpty(Me.inputNumber.Text) Then Exit Sub + + ' Get locale of web request to determine possible format of number + If Request.UserLanguages.Length = 0 Then Exit Sub + locale = Request.UserLanguages(0) + If String.IsNullOrEmpty(locale) Then Exit Sub + + ' Instantiate CultureInfo object for the user's locale + culture = New CultureInfo(locale) + + ' Convert user input from a string to a number + Try + number = Decimal.Parse(Me.inputNumber.Text, culture.NumberFormat) + Catch ex As FormatException + Exit Sub + Catch ex As Exception + Exit Sub + End Try + + ' Output number to label on web form + Me.outputNumber.Text = "Number is " & number.ToString() + End Sub + ' + + ' + Protected Sub OkToInteger_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles OkToInteger.Click + Dim locale As String + Dim culture As CultureInfo + Dim number As Integer + + ' Return if string is empty + If String.IsNullOrEmpty(Me.inputNumber.Text) Then Exit Sub + + ' Get locale of web request to determine possible format of number + If Request.UserLanguages.Length = 0 Then Exit Sub + locale = Request.UserLanguages(0) + If String.IsNullOrEmpty(locale) Then Exit Sub + + ' Instantiate CultureInfo object for the user's locale + culture = New CultureInfo(locale) + + ' Convert user input from a string to a number + Try + number = Int32.Parse(Me.inputNumber.Text, culture.NumberFormat) + Catch ex As FormatException + Exit Sub + Catch ex As Exception + Exit Sub + End Try + + ' Output number to label on web form + Me.outputNumber.Text = "Number is " & number.ToString() + End Sub + ' + + ' + Protected Sub OKToUInteger_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles OkToUInteger.Click + Dim locale As String + Dim culture As CultureInfo + Dim number As UInteger + + ' Return if string is empty + If String.IsNullOrEmpty(Me.inputNumber.Text) Then Exit Sub + + ' Get locale of web request to determine possible format of number + If Request.UserLanguages.Length = 0 Then Exit Sub + locale = Request.UserLanguages(0) + If String.IsNullOrEmpty(locale) Then Exit Sub + + ' Instantiate CultureInfo object for the user's locale + culture = New CultureInfo(locale) + + ' Convert user input from a string to a number + Try + number = UInt32.Parse(Me.inputNumber.Text, culture.NumberFormat) + Catch ex As FormatException + Exit Sub + Catch ex As Exception + Exit Sub + End Try + + ' Output number to label on web form + Me.outputNumber.Text = "Number is " & number.ToString() + End Sub + ' + + ' + Protected Sub OkToLong_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles OkToLong.Click + Dim locale As String + Dim culture As CultureInfo + Dim number As Long + + ' Return if string is empty + If String.IsNullOrEmpty(Me.inputNumber.Text) Then Exit Sub + + ' Get locale of web request to determine possible format of number + If Request.UserLanguages.Length = 0 Then Exit Sub + locale = Request.UserLanguages(0) + If String.IsNullOrEmpty(locale) Then Exit Sub + + ' Instantiate CultureInfo object for the user's locale + culture = New CultureInfo(locale) + + ' Convert user input from a string to a number + Try + number = Int64.Parse(Me.inputNumber.Text, culture.NumberFormat) + Catch ex As FormatException + Exit Sub + Catch ex As Exception + Exit Sub + End Try + + ' Output number to label on web form + Me.outputNumber.Text = "Number is " & number.ToString() + End Sub + ' + + ' + Protected Sub OkToULong_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles OkToULong.Click + Dim locale As String + Dim culture As CultureInfo + Dim number As ULong + + ' Return if string is empty + If String.IsNullOrEmpty(Me.inputNumber.Text) Then Exit Sub + + ' Get locale of web request to determine possible format of number + If Request.UserLanguages.Length = 0 Then Exit Sub + locale = Request.UserLanguages(0) + If String.IsNullOrEmpty(locale) Then Exit Sub + + ' Instantiate CultureInfo object for the user's locale + culture = New CultureInfo(locale) + + ' Convert user input from a string to a number + Try + number = UInt64.Parse(Me.inputNumber.Text, culture.NumberFormat) + Catch ex As FormatException + Exit Sub + Catch ex As Exception + Exit Sub + End Try + + ' Output number to label on web form + Me.outputNumber.Text = "Number is " & number.ToString() + End Sub + ' +End Class diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Parse/VB/parse.vb b/snippets/visualbasic/System/Decimal/Parse/parse.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Parse/VB/parse.vb rename to snippets/visualbasic/System/Decimal/Parse/parse.vb diff --git a/snippets/visualbasic/System/Decimal/Parse/parsemethod.vbproj b/snippets/visualbasic/System/Decimal/Parse/parsemethod.vbproj new file mode 100644 index 00000000000..d02d506898d --- /dev/null +++ b/snippets/visualbasic/System/Decimal/Parse/parsemethod.vbproj @@ -0,0 +1,12 @@ + + + + Exe + net481 + + + + + + + diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.remainder/vb/remainder.vb b/snippets/visualbasic/System/Decimal/Remainder/remainder.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.remainder/vb/remainder.vb rename to snippets/visualbasic/System/Decimal/Remainder/remainder.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/Program.vb b/snippets/visualbasic/System/Decimal/Round/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/Program.vb rename to snippets/visualbasic/System/Decimal/Round/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.Round/vb/Round1.vb b/snippets/visualbasic/System/Decimal/Round/Round1.vb similarity index 76% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.Round/vb/Round1.vb rename to snippets/visualbasic/System/Decimal/Round/Round1.vb index 9e4ce1f7a20..e0d5043ec2d 100644 --- a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.Round/vb/Round1.vb +++ b/snippets/visualbasic/System/Decimal/Round/Round1.vb @@ -3,12 +3,13 @@ Option Strict On ' Module Example - Public Sub Main() - For value As Decimal = 100d To 102d Step .1d - Console.WriteLine("{0} --> {1}", value, Decimal.Round(value)) - Next - End Sub + Public Sub Run() + For value As Decimal = 100D To 102D Step 0.1D + Console.WriteLine("{0} --> {1}", value, Decimal.Round(value)) + Next + End Sub End Module + ' The example displays the following output: ' 100 --> 100 ' 100.1 --> 100 diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.Round/vb/Round12.vb b/snippets/visualbasic/System/Decimal/Round/Round12.vb similarity index 54% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.Round/vb/Round12.vb rename to snippets/visualbasic/System/Decimal/Round/Round12.vb index bbe851cf656..1504001efbc 100644 --- a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.Round/vb/Round12.vb +++ b/snippets/visualbasic/System/Decimal/Round/Round12.vb @@ -1,27 +1,28 @@ ' -Public Module Example - Public Sub Main() - ' Define a set of Decimal values. - Dim values() As Decimal = { 1.45d, 1.55d, 123.456789d, 123.456789d, - 123.456789d, -123.456d, - New Decimal(1230000000, 0, 0, true, 7 ), - New Decimal(1230000000, 0, 0, true, 7 ), - -9999999999.9999999999d, - -9999999999.9999999999d } - ' Define a set of integers to for decimals argument. - Dim decimals() As Integer = { 1, 1, 4, 6, 8, 0, 3, 11, 9, 10} - - Console.WriteLine("{0,26}{1,8}{2,26}", - "Argument", "Digits", "Result" ) - Console.WriteLine("{0,26}{1,8}{2,26}", - "--------", "------", "------" ) - For ctr As Integer = 0 To values.Length - 1 - Console.WriteLine("{0,26}{1,8}{2,26}", - values(ctr), decimals(ctr), +Public Module Example12 + Public Sub Run() + ' Define a set of Decimal values. + Dim values() As Decimal = {1.45D, 1.55D, 123.456789D, 123.456789D, + 123.456789D, -123.456D, + New Decimal(1230000000, 0, 0, True, 7), + New Decimal(1230000000, 0, 0, True, 7), + -9999999999.9999999999D, + -9999999999.9999999999D} + ' Define a set of integers to for decimals argument. + Dim decimals() As Integer = {1, 1, 4, 6, 8, 0, 3, 11, 9, 10} + + Console.WriteLine("{0,26}{1,8}{2,26}", + "Argument", "Digits", "Result") + Console.WriteLine("{0,26}{1,8}{2,26}", + "--------", "------", "------") + For ctr As Integer = 0 To values.Length - 1 + Console.WriteLine("{0,26}{1,8}{2,26}", + values(ctr), decimals(ctr), Decimal.Round(values(ctr), decimals(ctr))) - Next - End Sub + Next + End Sub End Module + ' The example displays the following output: ' Argument Digits Result ' -------- ------ ------ diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/Rounding.vbproj b/snippets/visualbasic/System/Decimal/Round/Rounding.vbproj similarity index 77% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/Rounding.vbproj rename to snippets/visualbasic/System/Decimal/Round/Rounding.vbproj index 93873deaf86..7c48464041c 100644 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/Rounding.vbproj +++ b/snippets/visualbasic/System/Decimal/Round/Rounding.vbproj @@ -3,7 +3,7 @@ Exe Rounding - net6.0 + net9.0 diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/mean1.vb b/snippets/visualbasic/System/Decimal/Round/mean1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/mean1.vb rename to snippets/visualbasic/System/Decimal/Round/mean1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/midpoint1.vb b/snippets/visualbasic/System/Decimal/Round/midpoint1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/midpoint1.vb rename to snippets/visualbasic/System/Decimal/Round/midpoint1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/midpoint2.vb b/snippets/visualbasic/System/Decimal/Round/midpoint2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/midpoint2.vb rename to snippets/visualbasic/System/Decimal/Round/midpoint2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/mpr.vb b/snippets/visualbasic/System/Decimal/Round/mpr.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/mpr.vb rename to snippets/visualbasic/System/Decimal/Round/mpr.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/precision1.vb b/snippets/visualbasic/System/Decimal/Round/precision1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/precision1.vb rename to snippets/visualbasic/System/Decimal/Round/precision1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/precision2.vb b/snippets/visualbasic/System/Decimal/Round/precision2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/precision2.vb rename to snippets/visualbasic/System/Decimal/Round/precision2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/single1.vb b/snippets/visualbasic/System/Decimal/Round/single1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/single1.vb rename to snippets/visualbasic/System/Decimal/Round/single1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/source.vb b/snippets/visualbasic/System/Decimal/Round/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/source.vb rename to snippets/visualbasic/System/Decimal/Round/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.tobyte/vb/tobyte_1.vb b/snippets/visualbasic/System/Decimal/ToByte/tobyte_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.tobyte/vb/tobyte_1.vb rename to snippets/visualbasic/System/Decimal/ToByte/tobyte_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.ToXXX/VB/tosgl_dbl.vb b/snippets/visualbasic/System/Decimal/ToDouble/tosgl_dbl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.ToXXX/VB/tosgl_dbl.vb rename to snippets/visualbasic/System/Decimal/ToDouble/tosgl_dbl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.toint16/vb/toint16_1.vb b/snippets/visualbasic/System/Decimal/ToInt16/toint16_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.toint16/vb/toint16_1.vb rename to snippets/visualbasic/System/Decimal/ToInt16/toint16_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.toint32/vb/toint32_1.vb b/snippets/visualbasic/System/Decimal/ToInt32/toint32_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.toint32/vb/toint32_1.vb rename to snippets/visualbasic/System/Decimal/ToInt32/toint32_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.toint64/vb/toint64_1.vb b/snippets/visualbasic/System/Decimal/ToInt64/toint64_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.toint64/vb/toint64_1.vb rename to snippets/visualbasic/System/Decimal/ToInt64/toint64_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.tosbyte/vb/tosbyte1.vb b/snippets/visualbasic/System/Decimal/ToSByte/tosbyte1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.tosbyte/vb/tosbyte1.vb rename to snippets/visualbasic/System/Decimal/ToSByte/tosbyte1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.ToString/VB/ToString2.vb b/snippets/visualbasic/System/Decimal/ToString/ToString2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.ToString/VB/ToString2.vb rename to snippets/visualbasic/System/Decimal/ToString/ToString2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.touint16/vb/touint16_1.vb b/snippets/visualbasic/System/Decimal/ToUInt16/touint16_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.touint16/vb/touint16_1.vb rename to snippets/visualbasic/System/Decimal/ToUInt16/touint16_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.touint32/vb/touint32_1.vb b/snippets/visualbasic/System/Decimal/ToUInt32/touint32_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.touint32/vb/touint32_1.vb rename to snippets/visualbasic/System/Decimal/ToUInt32/touint32_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.touint64/vb/touint64_1.vb b/snippets/visualbasic/System/Decimal/ToUInt64/touint64_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.touint64/vb/touint64_1.vb rename to snippets/visualbasic/System/Decimal/ToUInt64/touint64_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.TryParse/vb/TryParse.vb b/snippets/visualbasic/System/Decimal/TryParse/TryParse.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.TryParse/vb/TryParse.vb rename to snippets/visualbasic/System/Decimal/TryParse/TryParse.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/addition1.vb b/snippets/visualbasic/System/Decimal/op_Addition/addition1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/addition1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/addition1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/decrement1.vb b/snippets/visualbasic/System/Decimal/op_Addition/decrement1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/decrement1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/decrement1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/decrement2.vb b/snippets/visualbasic/System/Decimal/op_Addition/decrement2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/decrement2.vb rename to snippets/visualbasic/System/Decimal/op_Addition/decrement2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/division1.vb b/snippets/visualbasic/System/Decimal/op_Addition/division1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/division1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/division1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/equality1.vb b/snippets/visualbasic/System/Decimal/op_Addition/equality1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/equality1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/equality1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthan1.vb b/snippets/visualbasic/System/Decimal/op_Addition/greaterthan1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthan1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/greaterthan1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthan2.vb b/snippets/visualbasic/System/Decimal/op_Addition/greaterthan2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthan2.vb rename to snippets/visualbasic/System/Decimal/op_Addition/greaterthan2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthanorequal1.vb b/snippets/visualbasic/System/Decimal/op_Addition/greaterthanorequal1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthanorequal1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/greaterthanorequal1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthanorequal2.vb b/snippets/visualbasic/System/Decimal/op_Addition/greaterthanorequal2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthanorequal2.vb rename to snippets/visualbasic/System/Decimal/op_Addition/greaterthanorequal2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/increment1.vb b/snippets/visualbasic/System/Decimal/op_Addition/increment1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/increment1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/increment1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/increment2.vb b/snippets/visualbasic/System/Decimal/op_Addition/increment2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/increment2.vb rename to snippets/visualbasic/System/Decimal/op_Addition/increment2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/inequality1.vb b/snippets/visualbasic/System/Decimal/op_Addition/inequality1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/inequality1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/inequality1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthan1.vb b/snippets/visualbasic/System/Decimal/op_Addition/lessthan1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthan1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/lessthan1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthan2.vb b/snippets/visualbasic/System/Decimal/op_Addition/lessthan2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthan2.vb rename to snippets/visualbasic/System/Decimal/op_Addition/lessthan2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthanorequal1.vb b/snippets/visualbasic/System/Decimal/op_Addition/lessthanorequal1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthanorequal1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/lessthanorequal1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthanorequal2.vb b/snippets/visualbasic/System/Decimal/op_Addition/lessthanorequal2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthanorequal2.vb rename to snippets/visualbasic/System/Decimal/op_Addition/lessthanorequal2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/modulus1.vb b/snippets/visualbasic/System/Decimal/op_Addition/modulus1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/modulus1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/modulus1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/multiply1.vb b/snippets/visualbasic/System/Decimal/op_Addition/multiply1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/multiply1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/multiply1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/subtraction1.vb b/snippets/visualbasic/System/Decimal/op_Addition/subtraction1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/subtraction1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/subtraction1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/VB/cfromchar.vb b/snippets/visualbasic/System/Decimal/op_Explicit/cfromchar.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/VB/cfromchar.vb rename to snippets/visualbasic/System/Decimal/op_Explicit/cfromchar.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/VB/cfromdouble.vb b/snippets/visualbasic/System/Decimal/op_Explicit/cfromdouble.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/VB/cfromdouble.vb rename to snippets/visualbasic/System/Decimal/op_Explicit/cfromdouble.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/VB/cfromsingle.vb b/snippets/visualbasic/System/Decimal/op_Explicit/cfromsingle.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/VB/cfromsingle.vb rename to snippets/visualbasic/System/Decimal/op_Explicit/cfromsingle.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctochar.vb b/snippets/visualbasic/System/Decimal/op_Explicit/ctochar.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctochar.vb rename to snippets/visualbasic/System/Decimal/op_Explicit/ctochar.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctos_byte.vb b/snippets/visualbasic/System/Decimal/op_Explicit/ctos_byte.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctos_byte.vb rename to snippets/visualbasic/System/Decimal/op_Explicit/ctos_byte.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctosgl_dbl.vb b/snippets/visualbasic/System/Decimal/op_Explicit/ctosgl_dbl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctosgl_dbl.vb rename to snippets/visualbasic/System/Decimal/op_Explicit/ctosgl_dbl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int16.vb b/snippets/visualbasic/System/Decimal/op_Explicit/ctou_int16.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int16.vb rename to snippets/visualbasic/System/Decimal/op_Explicit/ctou_int16.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int32.vb b/snippets/visualbasic/System/Decimal/op_Explicit/ctou_int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int32.vb rename to snippets/visualbasic/System/Decimal/op_Explicit/ctou_int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int64.vb b/snippets/visualbasic/System/Decimal/op_Explicit/ctou_int64.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int64.vb rename to snippets/visualbasic/System/Decimal/op_Explicit/ctou_int64.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators.explicit/vb/tosbyte.vb b/snippets/visualbasic/System/Decimal/op_Explicit/tosbyte.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators.explicit/vb/tosbyte.vb rename to snippets/visualbasic/System/Decimal/op_Explicit/tosbyte.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators.explicit/vb/tosingle1.vb b/snippets/visualbasic/System/Decimal/op_Explicit/tosingle1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators.explicit/vb/tosingle1.vb rename to snippets/visualbasic/System/Decimal/op_Explicit/tosingle1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfrombyte.vb b/snippets/visualbasic/System/Decimal/op_Implicit/cfrombyte.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfrombyte.vb rename to snippets/visualbasic/System/Decimal/op_Implicit/cfrombyte.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromint16.vb b/snippets/visualbasic/System/Decimal/op_Implicit/cfromint16.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromint16.vb rename to snippets/visualbasic/System/Decimal/op_Implicit/cfromint16.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromint32.vb b/snippets/visualbasic/System/Decimal/op_Implicit/cfromint32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromint32.vb rename to snippets/visualbasic/System/Decimal/op_Implicit/cfromint32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromint64.vb b/snippets/visualbasic/System/Decimal/op_Implicit/cfromint64.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromint64.vb rename to snippets/visualbasic/System/Decimal/op_Implicit/cfromint64.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromsbyte.vb b/snippets/visualbasic/System/Decimal/op_Implicit/cfromsbyte.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromsbyte.vb rename to snippets/visualbasic/System/Decimal/op_Implicit/cfromsbyte.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfromuint16.vb b/snippets/visualbasic/System/Decimal/op_Implicit/cfromuint16.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfromuint16.vb rename to snippets/visualbasic/System/Decimal/op_Implicit/cfromuint16.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfromuint32.vb b/snippets/visualbasic/System/Decimal/op_Implicit/cfromuint32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfromuint32.vb rename to snippets/visualbasic/System/Decimal/op_Implicit/cfromuint32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfromuint64.vb b/snippets/visualbasic/System/Decimal/op_Implicit/cfromuint64.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfromuint64.vb rename to snippets/visualbasic/System/Decimal/op_Implicit/cfromuint64.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Delegate.GetInvocationList/vb/GetInvocationList1.vb b/snippets/visualbasic/System/Delegate/GetInvocationList/GetInvocationList1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Delegate.GetInvocationList/vb/GetInvocationList1.vb rename to snippets/visualbasic/System/Delegate/GetInvocationList/GetInvocationList1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.dividebyzeroexception.class/vb/exception1.vb b/snippets/visualbasic/System/DivideByZeroException/Overview/exception1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.dividebyzeroexception.class/vb/exception1.vb rename to snippets/visualbasic/System/DivideByZeroException/Overview/exception1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.dividebyzeroexception.class/vb/exception2.vb b/snippets/visualbasic/System/DivideByZeroException/Overview/exception2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.dividebyzeroexception.class/vb/exception2.vb rename to snippets/visualbasic/System/DivideByZeroException/Overview/exception2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Epsilon/vb/Equals_25051.vb b/snippets/visualbasic/System/Double/Equals/Equals_25051.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Epsilon/vb/Equals_25051.vb rename to snippets/visualbasic/System/Double/Equals/Equals_25051.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.double.equals/vb/equalsoverl.vb b/snippets/visualbasic/System/Double/Equals/equalsoverl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.double.equals/vb/equalsoverl.vb rename to snippets/visualbasic/System/Double/Equals/equalsoverl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double/VB/doublesample.vb b/snippets/visualbasic/System/Double/IsInfinity/doublesample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double/VB/doublesample.vb rename to snippets/visualbasic/System/Double/IsInfinity/doublesample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.double.maxvalue/vb/maxvalueex.vb b/snippets/visualbasic/System/Double/MaxValue/maxvalueex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.double.maxvalue/vb/maxvalueex.vb rename to snippets/visualbasic/System/Double/MaxValue/maxvalueex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Double Example/VB/source.vb b/snippets/visualbasic/System/Double/MaxValue/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Double Example/VB/source.vb rename to snippets/visualbasic/System/Double/MaxValue/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.double.minvalue/vb/minvalueex.vb b/snippets/visualbasic/System/Double/MinValue/minvalueex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.double.minvalue/vb/minvalueex.vb rename to snippets/visualbasic/System/Double/MinValue/minvalueex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.double.nan/vb/double.nan4.vb b/snippets/visualbasic/System/Double/NaN/double.nan4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.double.nan/vb/double.nan4.vb rename to snippets/visualbasic/System/Double/NaN/double.nan4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.double.nan/vb/nan1.vb b/snippets/visualbasic/System/Double/NaN/nan1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.double.nan/vb/nan1.vb rename to snippets/visualbasic/System/Double/NaN/nan1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Parse/vb/Parse.vb b/snippets/visualbasic/System/Double/Parse/Parse.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Parse/vb/Parse.vb rename to snippets/visualbasic/System/Double/Parse/Parse.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Parse/vb/Parse3.vb b/snippets/visualbasic/System/Double/Parse/Parse3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Parse/vb/Parse3.vb rename to snippets/visualbasic/System/Double/Parse/Parse3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Parse/vb/parse2.vb b/snippets/visualbasic/System/Double/Parse/parse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Parse/vb/parse2.vb rename to snippets/visualbasic/System/Double/Parse/parse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/ToString1.vb b/snippets/visualbasic/System/Double/ToString/ToString1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/ToString1.vb rename to snippets/visualbasic/System/Double/ToString/ToString1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/ToString7.vb b/snippets/visualbasic/System/Double/ToString/ToString7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/ToString7.vb rename to snippets/visualbasic/System/Double/ToString/ToString7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/roundtripex1.vb b/snippets/visualbasic/System/Double/ToString/roundtripex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/roundtripex1.vb rename to snippets/visualbasic/System/Double/ToString/roundtripex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/roundtripex2.vb b/snippets/visualbasic/System/Double/ToString/roundtripex2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/roundtripex2.vb rename to snippets/visualbasic/System/Double/ToString/roundtripex2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.TryParse/vb/TryParse1.vb b/snippets/visualbasic/System/Double/TryParse/TryParse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double.TryParse/vb/TryParse1.vb rename to snippets/visualbasic/System/Double/TryParse/TryParse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.TryParse/vb/tryparse1a.vb b/snippets/visualbasic/System/Double/TryParse/tryparse1a.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double.TryParse/vb/tryparse1a.vb rename to snippets/visualbasic/System/Double/TryParse/tryparse1a.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.TryParse/vb/tryparse2.vb b/snippets/visualbasic/System/Double/TryParse/tryparse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double.TryParse/vb/tryparse2.vb rename to snippets/visualbasic/System/Double/TryParse/tryparse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/badcall1.vb b/snippets/visualbasic/System/EntryPointNotFoundException/Overview/badcall1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/badcall1.vb rename to snippets/visualbasic/System/EntryPointNotFoundException/Overview/badcall1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/fiximportassembly1.vb b/snippets/visualbasic/System/EntryPointNotFoundException/Overview/fiximportassembly1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/fiximportassembly1.vb rename to snippets/visualbasic/System/EntryPointNotFoundException/Overview/fiximportassembly1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/importassembly1.vb b/snippets/visualbasic/System/EntryPointNotFoundException/Overview/importassembly1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/importassembly1.vb rename to snippets/visualbasic/System/EntryPointNotFoundException/Overview/importassembly1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/mangle1.vb b/snippets/visualbasic/System/EntryPointNotFoundException/Overview/mangle1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/mangle1.vb rename to snippets/visualbasic/System/EntryPointNotFoundException/Overview/mangle1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/mangle2.vb b/snippets/visualbasic/System/EntryPointNotFoundException/Overview/mangle2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/mangle2.vb rename to snippets/visualbasic/System/EntryPointNotFoundException/Overview/mangle2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/nofunction1.vb b/snippets/visualbasic/System/EntryPointNotFoundException/Overview/nofunction1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/nofunction1.vb rename to snippets/visualbasic/System/EntryPointNotFoundException/Overview/nofunction1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/stringutilities.vb b/snippets/visualbasic/System/EntryPointNotFoundException/Overview/stringutilities.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/stringutilities.vb rename to snippets/visualbasic/System/EntryPointNotFoundException/Overview/stringutilities.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/enumcompareto/VB/EnumCompareTo.vb b/snippets/visualbasic/System/Enum/CompareTo/EnumCompareTo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/enumcompareto/VB/EnumCompareTo.vb rename to snippets/visualbasic/System/Enum/CompareTo/EnumCompareTo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.equals/vb/enumequals.vb b/snippets/visualbasic/System/Enum/Equals/enumequals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.enum.equals/vb/enumequals.vb rename to snippets/visualbasic/System/Enum/Equals/enumequals.vb diff --git a/snippets/visualbasic/System/Enum/Equals/enumequals1.vb b/snippets/visualbasic/System/Enum/Equals/enumequals1.vb new file mode 100644 index 00000000000..ce46b998906 --- /dev/null +++ b/snippets/visualbasic/System/Enum/Equals/enumequals1.vb @@ -0,0 +1,35 @@ +' Visual Basic .NET Document +Option Strict On + +' +Public Enum SledDog As Integer + Unknown=0 + AlaskanMalamute=1 + Malamute=1 + Husky=2 + SiberianHusky=2 +End Enum + +Public Enum WorkDog As Integer + Unknown=0 + Newfoundland=1 + GreatPyrennes=2 +End Enum + +Module Example + Public Sub Main() + Dim dog1 As SledDog = SledDog.Malamute + Dim dog2 As SledDog = SledDog.AlaskanMalamute + Dim dog3 As WorkDog = WorkDog.Newfoundland + + Console.WriteLine("{0:F} ({0:D}) = {1:F} ({1:D}): {2}", + dog1, dog2, dog1.Equals(dog2)) + Console.WriteLine("{0:F} ({0:D}) = {1:F} ({1:D}): {2}", + dog1, dog3, dog1.Equals(dog3)) + End Sub +End Module + +' The example displays the following output: +' Malamute (1) = Malamute (1): True +' Malamute (1) = Newfoundland (1): False +' diff --git a/snippets/visualbasic/VS_Snippets_CLR/enumformat/VB/EnumFormat.vb b/snippets/visualbasic/System/Enum/Format/EnumFormat.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/enumformat/VB/EnumFormat.vb rename to snippets/visualbasic/System/Enum/Format/EnumFormat.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/enumgetname/VB/EnumGetName.vb b/snippets/visualbasic/System/Enum/GetName/EnumGetName.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/enumgetname/VB/EnumGetName.vb rename to snippets/visualbasic/System/Enum/GetName/EnumGetName.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/enumgetnames/VB/EnumGetNames.vb b/snippets/visualbasic/System/Enum/GetNames/EnumGetNames.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/enumgetnames/VB/EnumGetNames.vb rename to snippets/visualbasic/System/Enum/GetNames/EnumGetNames.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.getnames/vb/getnames1.vb b/snippets/visualbasic/System/Enum/GetNames/getnames1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.enum.getnames/vb/getnames1.vb rename to snippets/visualbasic/System/Enum/GetNames/getnames1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.getunderlyingtype/vb/getunderlyingtype1.vb b/snippets/visualbasic/System/Enum/GetUnderlyingType/getunderlyingtype1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.enum.getunderlyingtype/vb/getunderlyingtype1.vb rename to snippets/visualbasic/System/Enum/GetUnderlyingType/getunderlyingtype1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/enumgetvalues/VB/EnumGetValues.vb b/snippets/visualbasic/System/Enum/GetValues/EnumGetValues.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/enumgetvalues/VB/EnumGetValues.vb rename to snippets/visualbasic/System/Enum/GetValues/EnumGetValues.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.getvalues/vb/getvalues1.vb b/snippets/visualbasic/System/Enum/GetValues/getvalues1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.enum.getvalues/vb/getvalues1.vb rename to snippets/visualbasic/System/Enum/GetValues/getvalues1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.getvalues/vb/getvalues_reflectiononly.vb b/snippets/visualbasic/System/Enum/GetValues/getvalues_reflectiononly.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.enum.getvalues/vb/getvalues_reflectiononly.vb rename to snippets/visualbasic/System/Enum/GetValues/getvalues_reflectiononly.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.hasflag/vb/hasflag0.vb b/snippets/visualbasic/System/Enum/HasFlag/hasflag0.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.enum.hasflag/vb/hasflag0.vb rename to snippets/visualbasic/System/Enum/HasFlag/hasflag0.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.hasflag/vb/hasflag1.vb b/snippets/visualbasic/System/Enum/HasFlag/hasflag1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.enum.hasflag/vb/hasflag1.vb rename to snippets/visualbasic/System/Enum/HasFlag/hasflag1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Enum.IsDefined/vb/IsDefined1.vb b/snippets/visualbasic/System/Enum/IsDefined/IsDefined1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Enum.IsDefined/vb/IsDefined1.vb rename to snippets/visualbasic/System/Enum/IsDefined/IsDefined1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Enum.IsDefined/vb/isdefined2.vb b/snippets/visualbasic/System/Enum/IsDefined/isdefined2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Enum.IsDefined/vb/isdefined2.vb rename to snippets/visualbasic/System/Enum/IsDefined/isdefined2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/enumparse/VB/EnumParse.vb b/snippets/visualbasic/System/Enum/Parse/EnumParse.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/enumparse/VB/EnumParse.vb rename to snippets/visualbasic/System/Enum/Parse/EnumParse.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Enum.Parse/vb/ParseExample1.vb b/snippets/visualbasic/System/Enum/Parse/ParseExample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Enum.Parse/vb/ParseExample1.vb rename to snippets/visualbasic/System/Enum/Parse/ParseExample1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Enum.Parse/vb/ParseExample2.vb b/snippets/visualbasic/System/Enum/Parse/ParseExample2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Enum.Parse/vb/ParseExample2.vb rename to snippets/visualbasic/System/Enum/Parse/ParseExample2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/enum.tostring/VB/tostr.vb b/snippets/visualbasic/System/Enum/ToString/tostr.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/enum.tostring/VB/tostr.vb rename to snippets/visualbasic/System/Enum/ToString/tostr.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tostring/vb/tostringbyvalue1.vb b/snippets/visualbasic/System/Enum/ToString/tostringbyvalue1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tostring/vb/tostringbyvalue1.vb rename to snippets/visualbasic/System/Enum/ToString/tostringbyvalue1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tryparse/vb/tryparse1.vb b/snippets/visualbasic/System/Enum/TryParseTEnum/tryparse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tryparse/vb/tryparse1.vb rename to snippets/visualbasic/System/Enum/TryParseTEnum/tryparse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tryparse/vb/tryparse2.vb b/snippets/visualbasic/System/Enum/TryParseTEnum/tryparse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tryparse/vb/tryparse2.vb rename to snippets/visualbasic/System/Enum/TryParseTEnum/tryparse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Environment.GetFolderPath/VB/getfolderpath.vb b/snippets/visualbasic/System/Environment+SpecialFolder/Overview/getfolderpath.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Environment.GetFolderPath/VB/getfolderpath.vb rename to snippets/visualbasic/System/Environment+SpecialFolder/Overview/getfolderpath.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/environment.CommandLine/VB/commandline.vb b/snippets/visualbasic/System/Environment/CommandLine/commandline.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/environment.CommandLine/VB/commandline.vb rename to snippets/visualbasic/System/Environment/CommandLine/commandline.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Environment/VB/Vars1.vb b/snippets/visualbasic/System/Environment/CurrentDirectory/Vars1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Environment/VB/Vars1.vb rename to snippets/visualbasic/System/Environment/CurrentDirectory/Vars1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.environment.exitcode/vb/double.vb b/snippets/visualbasic/System/Environment/ExitCode/double.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.environment.exitcode/vb/double.vb rename to snippets/visualbasic/System/Environment/ExitCode/double.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.environment.exitcode/vb/double1.vb b/snippets/visualbasic/System/Environment/ExitCode/double1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.environment.exitcode/vb/double1.vb rename to snippets/visualbasic/System/Environment/ExitCode/double1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/environment.ExpandEnvironmentVariables/VB/expandenvironmentvariables.vb b/snippets/visualbasic/System/Environment/ExpandEnvironmentVariables/expandenvironmentvariables.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/environment.ExpandEnvironmentVariables/VB/expandenvironmentvariables.vb rename to snippets/visualbasic/System/Environment/ExpandEnvironmentVariables/expandenvironmentvariables.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/environment.FailFast/vb/ff.vb b/snippets/visualbasic/System/Environment/FailFast/ff.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/environment.FailFast/vb/ff.vb rename to snippets/visualbasic/System/Environment/FailFast/ff.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Environment.GetCommandLineArgs/VB/getcommandlineargs.vb b/snippets/visualbasic/System/Environment/GetCommandLineArgs/getcommandlineargs.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Environment.GetCommandLineArgs/VB/getcommandlineargs.vb rename to snippets/visualbasic/System/Environment/GetCommandLineArgs/getcommandlineargs.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Environment.GetEnvironmentVariables/VB/getenvironmentvariables.vb b/snippets/visualbasic/System/Environment/GetEnvironmentVariables/getenvironmentvariables.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Environment.GetEnvironmentVariables/VB/getenvironmentvariables.vb rename to snippets/visualbasic/System/Environment/GetEnvironmentVariables/getenvironmentvariables.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/environment.getsetenvar/VB/gsev.vb b/snippets/visualbasic/System/Environment/GetEnvironmentVariables/gsev.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/environment.getsetenvar/VB/gsev.vb rename to snippets/visualbasic/System/Environment/GetEnvironmentVariables/gsev.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Environment.GetLogicalDrives/VB/getlogicaldrives.vb b/snippets/visualbasic/System/Environment/GetLogicalDrives/getlogicaldrives.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Environment.GetLogicalDrives/VB/getlogicaldrives.vb rename to snippets/visualbasic/System/Environment/GetLogicalDrives/getlogicaldrives.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Environment.MachineName/VB/machinename.vb b/snippets/visualbasic/System/Environment/MachineName/machinename.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Environment.MachineName/VB/machinename.vb rename to snippets/visualbasic/System/Environment/MachineName/machinename.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Environment.NewLine/VB/newline.vb b/snippets/visualbasic/System/Environment/NewLine/newline.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Environment.NewLine/VB/newline.vb rename to snippets/visualbasic/System/Environment/NewLine/newline.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/environment.class/VB/env0.vb b/snippets/visualbasic/System/Environment/Overview/env0.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/environment.class/VB/env0.vb rename to snippets/visualbasic/System/Environment/Overview/env0.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/environment.processorcount/VB/pc.vb b/snippets/visualbasic/System/Environment/ProcessorCount/pc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/environment.processorcount/VB/pc.vb rename to snippets/visualbasic/System/Environment/ProcessorCount/pc.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.environment.getenvironmentvariable/vb/getenvironmentvariableex1.vb b/snippets/visualbasic/System/Environment/SetEnvironmentVariable/getenvironmentvariableex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.environment.getenvironmentvariable/vb/getenvironmentvariableex1.vb rename to snippets/visualbasic/System/Environment/SetEnvironmentVariable/getenvironmentvariableex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Environment.StackTrace/VB/stacktrace.vb b/snippets/visualbasic/System/Environment/StackTrace/stacktrace.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Environment.StackTrace/VB/stacktrace.vb rename to snippets/visualbasic/System/Environment/StackTrace/stacktrace.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Environment.SystemDirectory/VB/systemdirectory.vb b/snippets/visualbasic/System/Environment/SystemDirectory/systemdirectory.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Environment.SystemDirectory/VB/systemdirectory.vb rename to snippets/visualbasic/System/Environment/SystemDirectory/systemdirectory.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Environment.TickCount/VB/tickcount.vb b/snippets/visualbasic/System/Environment/TickCount/tickcount.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Environment.TickCount/VB/tickcount.vb rename to snippets/visualbasic/System/Environment/TickCount/tickcount.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Environment.UserInteractive/VB/userinteractive.vb b/snippets/visualbasic/System/Environment/UserInteractive/userinteractive.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Environment.UserInteractive/VB/userinteractive.vb rename to snippets/visualbasic/System/Environment/UserInteractive/userinteractive.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Environment.UserName/VB/username.vb b/snippets/visualbasic/System/Environment/UserName/username.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Environment.UserName/VB/username.vb rename to snippets/visualbasic/System/Environment/UserName/username.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Environment.Version/VB/version.vb b/snippets/visualbasic/System/Environment/Version/version.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Environment.Version/VB/version.vb rename to snippets/visualbasic/System/Environment/Version/version.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Environment.WorkingSet/VB/workingset.vb b/snippets/visualbasic/System/Environment/WorkingSet/workingset.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Environment.WorkingSet/VB/workingset.vb rename to snippets/visualbasic/System/Environment/WorkingSet/workingset.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/eventsoverview/vb/module1nodata.vb b/snippets/visualbasic/System/EventArgs/Overview/module1nodata.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/eventsoverview/vb/module1nodata.vb rename to snippets/visualbasic/System/EventArgs/Overview/module1nodata.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/eventsoverview/vb/module1withdata.vb b/snippets/visualbasic/System/EventArgs/Overview/module1withdata.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/eventsoverview/vb/module1withdata.vb rename to snippets/visualbasic/System/EventArgs/Overview/module1withdata.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.GetObjectData/VB/getobjdata.vb b/snippets/visualbasic/System/Exception/.ctor/getobjdata.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.GetObjectData/VB/getobjdata.vb rename to snippets/visualbasic/System/Exception/.ctor/getobjdata.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Ctor/VB/new.vb b/snippets/visualbasic/System/Exception/.ctor/new.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Ctor/VB/new.vb rename to snippets/visualbasic/System/Exception/.ctor/new.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Ctor/VB/news.vb b/snippets/visualbasic/System/Exception/.ctor/news.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Ctor/VB/news.vb rename to snippets/visualbasic/System/Exception/.ctor/news.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Ctor/VB/newsi.vb b/snippets/visualbasic/System/Exception/.ctor/newsi.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Ctor/VB/newsi.vb rename to snippets/visualbasic/System/Exception/.ctor/newsi.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.GetBaseException/VB/getbaseexc.vb b/snippets/visualbasic/System/Exception/GetBaseException/getbaseexc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.GetBaseException/VB/getbaseexc.vb rename to snippets/visualbasic/System/Exception/GetBaseException/getbaseexc.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.HResult/VB/hresult.vb b/snippets/visualbasic/System/Exception/HResult/hresult.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.HResult/VB/hresult.vb rename to snippets/visualbasic/System/Exception/HResult/hresult.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Properties/VB/properties.vb b/snippets/visualbasic/System/Exception/HelpLink/properties.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Properties/VB/properties.vb rename to snippets/visualbasic/System/Exception/HelpLink/properties.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Properties/VB/vb.vbproj b/snippets/visualbasic/System/Exception/HelpLink/vb.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Properties/VB/vb.vbproj rename to snippets/visualbasic/System/Exception/HelpLink/vb.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR/InnerEx/VB/innerex.vb b/snippets/visualbasic/System/Exception/InnerException/innerex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/InnerEx/VB/innerex.vb rename to snippets/visualbasic/System/Exception/InnerException/innerex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.exception.tostring/vb/ToStringEx1.vb b/snippets/visualbasic/System/Exception/ToString/ToStringEx1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.exception.tostring/vb/ToStringEx1.vb rename to snippets/visualbasic/System/Exception/ToString/ToStringEx1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.FlagsAttribute/VB/flags.vb b/snippets/visualbasic/System/FlagsAttribute/.ctor/flags.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.FlagsAttribute/VB/flags.vb rename to snippets/visualbasic/System/FlagsAttribute/.ctor/flags.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.FlagsAttribute/VB/flags1.vb b/snippets/visualbasic/System/FlagsAttribute/.ctor/flags1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.FlagsAttribute/VB/flags1.vb rename to snippets/visualbasic/System/FlagsAttribute/.ctor/flags1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/example1.vb b/snippets/visualbasic/System/FormatException/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/example1.vb rename to snippets/visualbasic/System/FormatException/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/example2.vb b/snippets/visualbasic/System/FormatException/Overview/example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/example2.vb rename to snippets/visualbasic/System/FormatException/Overview/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/example3.vb b/snippets/visualbasic/System/FormatException/Overview/example3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/example3.vb rename to snippets/visualbasic/System/FormatException/Overview/example3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format4.vb b/snippets/visualbasic/System/FormatException/Overview/format4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format4.vb rename to snippets/visualbasic/System/FormatException/Overview/format4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format5.vb b/snippets/visualbasic/System/FormatException/Overview/format5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format5.vb rename to snippets/visualbasic/System/FormatException/Overview/format5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format7.vb b/snippets/visualbasic/System/FormatException/Overview/format7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format7.vb rename to snippets/visualbasic/System/FormatException/Overview/format7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format_paramarray1.vb b/snippets/visualbasic/System/FormatException/Overview/format_paramarray1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format_paramarray1.vb rename to snippets/visualbasic/System/FormatException/Overview/format_paramarray1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/formatexample4.vb b/snippets/visualbasic/System/FormatException/Overview/formatexample4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/formatexample4.vb rename to snippets/visualbasic/System/FormatException/Overview/formatexample4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable1.vb b/snippets/visualbasic/System/FormatException/Overview/iformattable1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable1.vb rename to snippets/visualbasic/System/FormatException/Overview/iformattable1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable2.vb b/snippets/visualbasic/System/FormatException/Overview/iformattable2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable2.vb rename to snippets/visualbasic/System/FormatException/Overview/iformattable2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable3.vb b/snippets/visualbasic/System/FormatException/Overview/iformattable3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable3.vb rename to snippets/visualbasic/System/FormatException/Overview/iformattable3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable4.vb b/snippets/visualbasic/System/FormatException/Overview/iformattable4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable4.vb rename to snippets/visualbasic/System/FormatException/Overview/iformattable4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/qa1.vb b/snippets/visualbasic/System/FormatException/Overview/qa1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/qa1.vb rename to snippets/visualbasic/System/FormatException/Overview/qa1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/qa2.vb b/snippets/visualbasic/System/FormatException/Overview/qa2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/qa2.vb rename to snippets/visualbasic/System/FormatException/Overview/qa2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/qa3.vb b/snippets/visualbasic/System/FormatException/Overview/qa3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/qa3.vb rename to snippets/visualbasic/System/FormatException/Overview/qa3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Formatting.Composite/vb/Composite1.vb b/snippets/visualbasic/System/FormattableString/Format/Composite1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Formatting.Composite/vb/Composite1.vb rename to snippets/visualbasic/System/FormattableString/Format/Composite1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Delegate.vb b/snippets/visualbasic/System/FuncT,TResult/Overview/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Delegate.vb rename to snippets/visualbasic/System/FuncT,TResult/Overview/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Example.vb b/snippets/visualbasic/System/FuncT,TResult/Overview/Example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Example.vb rename to snippets/visualbasic/System/FuncT,TResult/Overview/Example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Func2_1.vb b/snippets/visualbasic/System/FuncT,TResult/Overview/Func2_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Func2_1.vb rename to snippets/visualbasic/System/FuncT,TResult/Overview/Func2_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Lambda.vb b/snippets/visualbasic/System/FuncT,TResult/Overview/Lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Lambda.vb rename to snippets/visualbasic/System/FuncT,TResult/Overview/Lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Delegate.vb b/snippets/visualbasic/System/FuncT1,T2,T3,T4,TResult/Overview/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Delegate.vb rename to snippets/visualbasic/System/FuncT1,T2,T3,T4,TResult/Overview/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Func5.vb b/snippets/visualbasic/System/FuncT1,T2,T3,T4,TResult/Overview/Func5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Func5.vb rename to snippets/visualbasic/System/FuncT1,T2,T3,T4,TResult/Overview/Func5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Lambda.vb b/snippets/visualbasic/System/FuncT1,T2,T3,T4,TResult/Overview/Lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Lambda.vb rename to snippets/visualbasic/System/FuncT1,T2,T3,T4,TResult/Overview/Lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Delegate.vb b/snippets/visualbasic/System/FuncT1,T2,T3,TResult/Overview/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Delegate.vb rename to snippets/visualbasic/System/FuncT1,T2,T3,TResult/Overview/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Func4.vb b/snippets/visualbasic/System/FuncT1,T2,T3,TResult/Overview/Func4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Func4.vb rename to snippets/visualbasic/System/FuncT1,T2,T3,TResult/Overview/Func4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Lambda.vb b/snippets/visualbasic/System/FuncT1,T2,T3,TResult/Overview/Lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Lambda.vb rename to snippets/visualbasic/System/FuncT1,T2,T3,TResult/Overview/Lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Delegate.vb b/snippets/visualbasic/System/FuncT1,T2,TResult/Overview/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Delegate.vb rename to snippets/visualbasic/System/FuncT1,T2,TResult/Overview/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Example.vb b/snippets/visualbasic/System/FuncT1,T2,TResult/Overview/Example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Example.vb rename to snippets/visualbasic/System/FuncT1,T2,TResult/Overview/Example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Func3.vb b/snippets/visualbasic/System/FuncT1,T2,TResult/Overview/Func3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Func3.vb rename to snippets/visualbasic/System/FuncT1,T2,TResult/Overview/Func3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/lambda.vb b/snippets/visualbasic/System/FuncT1,T2,TResult/Overview/lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/lambda.vb rename to snippets/visualbasic/System/FuncT1,T2,TResult/Overview/lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Delegate.vb b/snippets/visualbasic/System/FuncTResult/Overview/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Delegate.vb rename to snippets/visualbasic/System/FuncTResult/Overview/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Example.vb b/snippets/visualbasic/System/FuncTResult/Overview/Example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Example.vb rename to snippets/visualbasic/System/FuncTResult/Overview/Example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Func1.vb b/snippets/visualbasic/System/FuncTResult/Overview/Func1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Func1.vb rename to snippets/visualbasic/System/FuncTResult/Overview/Func1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Lambda.vb b/snippets/visualbasic/System/FuncTResult/Overview/Lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Lambda.vb rename to snippets/visualbasic/System/FuncTResult/Overview/Lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/GCNotification/vb/program.vb b/snippets/visualbasic/System/GC/CancelFullGCNotification/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/GCNotification/vb/program.vb rename to snippets/visualbasic/System/GC/CancelFullGCNotification/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.GC.Collect Example/VB/class1.vb b/snippets/visualbasic/System/GC/Collect/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.GC.Collect Example/VB/class1.vb rename to snippets/visualbasic/System/GC/Collect/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.gc.collect/vb/collect4.vb b/snippets/visualbasic/System/GC/Collect/collect4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.gc.collect/vb/collect4.vb rename to snippets/visualbasic/System/GC/Collect/collect4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.gcsettings/vb/lohcompactionmode1.vb b/snippets/visualbasic/System/GC/Collect/lohcompactionmode1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.gcsettings/vb/lohcompactionmode1.vb rename to snippets/visualbasic/System/GC/Collect/lohcompactionmode1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.GC.GCCollectionMode/vb/program.vb b/snippets/visualbasic/System/GC/Collect/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.GC.GCCollectionMode/vb/program.vb rename to snippets/visualbasic/System/GC/Collect/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.gc.endnogcregion/vb/endnogcregion1.vb b/snippets/visualbasic/System/GC/EndNoGCRegion/endnogcregion1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.gc.endnogcregion/vb/endnogcregion1.vb rename to snippets/visualbasic/System/GC/EndNoGCRegion/endnogcregion1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.GC.GetGenerationWeak Example/VB/systemgcgetgenerationweak.vb b/snippets/visualbasic/System/GC/GetGeneration/systemgcgetgenerationweak.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.GC.GetGenerationWeak Example/VB/systemgcgetgenerationweak.vb rename to snippets/visualbasic/System/GC/GetGeneration/systemgcgetgenerationweak.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.GC.KeepAlive Example2/VB/gckeepalive.vb b/snippets/visualbasic/System/GC/KeepAlive/gckeepalive.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.GC.KeepAlive Example2/VB/gckeepalive.vb rename to snippets/visualbasic/System/GC/KeepAlive/gckeepalive.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.gc.collect int example/VB/class1.vb b/snippets/visualbasic/System/GC/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.gc.collect int example/VB/class1.vb rename to snippets/visualbasic/System/GC/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.GC.ReRegisterForFinalize Example/VB/class1.vb b/snippets/visualbasic/System/GC/ReRegisterForFinalize/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.GC.ReRegisterForFinalize Example/VB/class1.vb rename to snippets/visualbasic/System/GC/ReRegisterForFinalize/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.gc.suppressfinalize/vb/suppressfinalize1.vb b/snippets/visualbasic/System/GC/SuppressFinalize/suppressfinalize1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.gc.suppressfinalize/vb/suppressfinalize1.vb rename to snippets/visualbasic/System/GC/SuppressFinalize/suppressfinalize1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.GC.WaitForPendingFinalizers Example/VB/class1.vb b/snippets/visualbasic/System/GC/WaitForPendingFinalizers/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.GC.WaitForPendingFinalizers Example/VB/class1.vb rename to snippets/visualbasic/System/GC/WaitForPendingFinalizers/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.ctor/vb/ctor1.vb b/snippets/visualbasic/System/Guid/.ctor/ctor1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.guid.ctor/vb/ctor1.vb rename to snippets/visualbasic/System/Guid/.ctor/ctor1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.ctor/vb/ctor2.vb b/snippets/visualbasic/System/Guid/.ctor/ctor2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.guid.ctor/vb/ctor2.vb rename to snippets/visualbasic/System/Guid/.ctor/ctor2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.compareto/vb/compareto1.vb b/snippets/visualbasic/System/Guid/CompareTo/compareto1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.guid.compareto/vb/compareto1.vb rename to snippets/visualbasic/System/Guid/CompareTo/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.compareto/vb/compareto2.vb b/snippets/visualbasic/System/Guid/CompareTo/compareto2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.guid.compareto/vb/compareto2.vb rename to snippets/visualbasic/System/Guid/CompareTo/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.empty/vb/empty.vb b/snippets/visualbasic/System/Guid/Empty/empty.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.guid.empty/vb/empty.vb rename to snippets/visualbasic/System/Guid/Empty/empty.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.newguid/vb/ng.vb b/snippets/visualbasic/System/Guid/NewGuid/ng.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.guid.newguid/vb/ng.vb rename to snippets/visualbasic/System/Guid/NewGuid/ng.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/parseex1.vb b/snippets/visualbasic/System/Guid/Parse/parseex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/parseex1.vb rename to snippets/visualbasic/System/Guid/Parse/parseex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/parseexactex1.vb b/snippets/visualbasic/System/Guid/Parse/parseexactex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/parseexactex1.vb rename to snippets/visualbasic/System/Guid/Parse/parseexactex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/tryparseex1.vb b/snippets/visualbasic/System/Guid/Parse/tryparseex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/tryparseex1.vb rename to snippets/visualbasic/System/Guid/Parse/tryparseex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/tryparseexactex1.vb b/snippets/visualbasic/System/Guid/Parse/tryparseexactex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/tryparseexactex1.vb rename to snippets/visualbasic/System/Guid/Parse/tryparseexactex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.tobytearray/vb/tobytearray3.vb b/snippets/visualbasic/System/Guid/ToByteArray/tobytearray3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.guid.tobytearray/vb/tobytearray3.vb rename to snippets/visualbasic/System/Guid/ToByteArray/tobytearray3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example1.vb b/snippets/visualbasic/System/HashCode/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example1.vb rename to snippets/visualbasic/System/HashCode/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example2.vb b/snippets/visualbasic/System/HashCode/Overview/example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example2.vb rename to snippets/visualbasic/System/HashCode/Overview/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example3.vb b/snippets/visualbasic/System/HashCode/Overview/example3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example3.vb rename to snippets/visualbasic/System/HashCode/Overview/example3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example4.vb b/snippets/visualbasic/System/HashCode/Overview/example4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example4.vb rename to snippets/visualbasic/System/HashCode/Overview/example4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/TestMethod.vb b/snippets/visualbasic/System/IAsyncResult/Overview/TestMethod.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/TestMethod.vb rename to snippets/visualbasic/System/IAsyncResult/Overview/TestMethod.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/WaitHandle.vb b/snippets/visualbasic/System/IAsyncResult/Overview/WaitHandle.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/WaitHandle.vb rename to snippets/visualbasic/System/IAsyncResult/Overview/WaitHandle.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/callback.vb b/snippets/visualbasic/System/IAsyncResult/Overview/callback.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/callback.vb rename to snippets/visualbasic/System/IAsyncResult/Overview/callback.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/makefile b/snippets/visualbasic/System/IAsyncResult/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/makefile rename to snippets/visualbasic/System/IAsyncResult/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/polling.vb b/snippets/visualbasic/System/IAsyncResult/Overview/polling.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/polling.vb rename to snippets/visualbasic/System/IAsyncResult/Overview/polling.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IComparable Example/VB/source.vb b/snippets/visualbasic/System/IComparable/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IComparable Example/VB/source.vb rename to snippets/visualbasic/System/IComparable/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IComparable`1 Example/VB/source.vb b/snippets/visualbasic/System/IComparableT/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IComparable`1 Example/VB/source.vb rename to snippets/visualbasic/System/IComparableT/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IConvertible/VB/iconvertible.vb b/snippets/visualbasic/System/IConvertible/Overview/iconvertible.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IConvertible/VB/iconvertible.vb rename to snippets/visualbasic/System/IConvertible/Overview/iconvertible.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.icustomformatter.class/vb/Project.vbproj b/snippets/visualbasic/System/ICustomFormatter/Overview/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.icustomformatter.class/vb/Project.vbproj rename to snippets/visualbasic/System/ICustomFormatter/Overview/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.icustomformatter.class/vb/myformatter.vb b/snippets/visualbasic/System/ICustomFormatter/Overview/myformatter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.icustomformatter.class/vb/myformatter.vb rename to snippets/visualbasic/System/ICustomFormatter/Overview/myformatter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IDisposable.Dispose Example/VB/idisposabledispose.vb b/snippets/visualbasic/System/IDisposable/Overview/idisposabledispose.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IDisposable.Dispose Example/VB/idisposabledispose.vb rename to snippets/visualbasic/System/IDisposable/Overview/idisposabledispose.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.GenericIEquatable.Equals/vb/Equals.vbproj b/snippets/visualbasic/System/IEquatableT/Overview/Equals.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.GenericIEquatable.Equals/vb/Equals.vbproj rename to snippets/visualbasic/System/IEquatableT/Overview/Equals.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.GenericIEquatable.Equals/vb/EqualsExample.vb b/snippets/visualbasic/System/IEquatableT/Overview/EqualsExample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.GenericIEquatable.Equals/vb/EqualsExample.vb rename to snippets/visualbasic/System/IEquatableT/Overview/EqualsExample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IFormatProvider.Class/vb/Provider.vb b/snippets/visualbasic/System/IFormatProvider/Overview/Provider.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IFormatProvider.Class/vb/Provider.vb rename to snippets/visualbasic/System/IFormatProvider/Overview/Provider.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IFormatProvider.Class/vb/provider2.vb b/snippets/visualbasic/System/IFormatProvider/Overview/provider2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IFormatProvider.Class/vb/provider2.vb rename to snippets/visualbasic/System/IFormatProvider/Overview/provider2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.iformattable/vb/example1.vb b/snippets/visualbasic/System/IFormattable/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.iformattable/vb/example1.vb rename to snippets/visualbasic/System/IFormattable/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/example1.vb b/snippets/visualbasic/System/IObservableT/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/example1.vb rename to snippets/visualbasic/System/IObservableT/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/locationtracker.vbproj b/snippets/visualbasic/System/IObservableT/Overview/locationtracker.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/locationtracker.vbproj rename to snippets/visualbasic/System/IObservableT/Overview/locationtracker.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/module1.vb b/snippets/visualbasic/System/IObservableT/Overview/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/module1.vb rename to snippets/visualbasic/System/IObservableT/Overview/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/observer.vb b/snippets/visualbasic/System/IObservableT/Overview/observer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/observer.vb rename to snippets/visualbasic/System/IObservableT/Overview/observer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/provider.vb b/snippets/visualbasic/System/IObservableT/Overview/provider.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/provider.vb rename to snippets/visualbasic/System/IObservableT/Overview/provider.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/Uninit1.vb b/snippets/visualbasic/System/IndexOutOfRangeException/Overview/Uninit1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/Uninit1.vb rename to snippets/visualbasic/System/IndexOutOfRangeException/Overview/Uninit1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/foreach1.vb b/snippets/visualbasic/System/IndexOutOfRangeException/Overview/foreach1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/foreach1.vb rename to snippets/visualbasic/System/IndexOutOfRangeException/Overview/foreach1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/foreach2.vb b/snippets/visualbasic/System/IndexOutOfRangeException/Overview/foreach2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/foreach2.vb rename to snippets/visualbasic/System/IndexOutOfRangeException/Overview/foreach2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/length1.vb b/snippets/visualbasic/System/IndexOutOfRangeException/Overview/length1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/length1.vb rename to snippets/visualbasic/System/IndexOutOfRangeException/Overview/length1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/length2.vb b/snippets/visualbasic/System/IndexOutOfRangeException/Overview/length2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/length2.vb rename to snippets/visualbasic/System/IndexOutOfRangeException/Overview/length2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/negative1.vb b/snippets/visualbasic/System/IndexOutOfRangeException/Overview/negative1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/negative1.vb rename to snippets/visualbasic/System/IndexOutOfRangeException/Overview/negative1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/negative2.vb b/snippets/visualbasic/System/IndexOutOfRangeException/Overview/negative2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/negative2.vb rename to snippets/visualbasic/System/IndexOutOfRangeException/Overview/negative2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/nonzero1.vb b/snippets/visualbasic/System/IndexOutOfRangeException/Overview/nonzero1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/nonzero1.vb rename to snippets/visualbasic/System/IndexOutOfRangeException/Overview/nonzero1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/nonzero2.vb b/snippets/visualbasic/System/IndexOutOfRangeException/Overview/nonzero2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/nonzero2.vb rename to snippets/visualbasic/System/IndexOutOfRangeException/Overview/nonzero2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.int16.equals/vb/equalsoverl.vb b/snippets/visualbasic/System/Int16/Equals/equalsoverl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.int16.equals/vb/equalsoverl.vb rename to snippets/visualbasic/System/Int16/Equals/equalsoverl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Int16_Equals/VB/int16_equals.vb b/snippets/visualbasic/System/Int16/Equals/int16_equals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Int16_Equals/VB/int16_equals.vb rename to snippets/visualbasic/System/Int16/Equals/int16_equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.MaxValue/vb/MaxValue.vb b/snippets/visualbasic/System/Int16/MaxValue/MaxValue.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.MaxValue/vb/MaxValue.vb rename to snippets/visualbasic/System/Int16/MaxValue/MaxValue.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.Parse/vb/Parse.vb b/snippets/visualbasic/System/Int16/Parse/Parse.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.Parse/vb/Parse.vb rename to snippets/visualbasic/System/Int16/Parse/Parse.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.Parse/vb/Parse2.vb b/snippets/visualbasic/System/Int16/Parse/Parse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.Parse/vb/Parse2.vb rename to snippets/visualbasic/System/Int16/Parse/Parse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.ToString/vb/ToString1.vb b/snippets/visualbasic/System/Int16/ToString/ToString1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.ToString/vb/ToString1.vb rename to snippets/visualbasic/System/Int16/ToString/ToString1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.TryParse/vb/TryParse1.vb b/snippets/visualbasic/System/Int16/TryParse/TryParse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.TryParse/vb/TryParse1.vb rename to snippets/visualbasic/System/Int16/TryParse/TryParse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.TryParse/vb/TryParse2.vb b/snippets/visualbasic/System/Int16/TryParse/TryParse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.TryParse/vb/TryParse2.vb rename to snippets/visualbasic/System/Int16/TryParse/TryParse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.CompareTo/vb/CompareTo1.vb b/snippets/visualbasic/System/Int32/CompareTo/CompareTo1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.CompareTo/vb/CompareTo1.vb rename to snippets/visualbasic/System/Int32/CompareTo/CompareTo1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.int32.equals/vb/equalsoverloads2.vb b/snippets/visualbasic/System/Int32/Equals/equalsoverloads2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.int32.equals/vb/equalsoverloads2.vb rename to snippets/visualbasic/System/Int32/Equals/equalsoverloads2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Int32_Equals/VB/int32_equals.vb b/snippets/visualbasic/System/Int32/Equals/int32_equals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Int32_Equals/VB/int32_equals.vb rename to snippets/visualbasic/System/Int32/Equals/int32_equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.int32.maxvalue/vb/maxvalue1.vb b/snippets/visualbasic/System/Int32/MaxValue/maxvalue1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.int32.maxvalue/vb/maxvalue1.vb rename to snippets/visualbasic/System/Int32/MaxValue/maxvalue1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.Parse/vb/Parse1.vb b/snippets/visualbasic/System/Int32/Parse/Parse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.Parse/vb/Parse1.vb rename to snippets/visualbasic/System/Int32/Parse/Parse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.Parse/vb/Parse2.vb b/snippets/visualbasic/System/Int32/Parse/Parse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.Parse/vb/Parse2.vb rename to snippets/visualbasic/System/Int32/Parse/Parse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.Parse/vb/Parse3.vb b/snippets/visualbasic/System/Int32/Parse/Parse3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.Parse/vb/Parse3.vb rename to snippets/visualbasic/System/Int32/Parse/Parse3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.ToString/vb/ToString.vb b/snippets/visualbasic/System/Int32/ToString/ToString.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.ToString/vb/ToString.vb rename to snippets/visualbasic/System/Int32/ToString/ToString.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.TryParse/vb/TryParse1.vb b/snippets/visualbasic/System/Int32/TryParse/TryParse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.TryParse/vb/TryParse1.vb rename to snippets/visualbasic/System/Int32/TryParse/TryParse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.TryParse/vb/TryParse2.vb b/snippets/visualbasic/System/Int32/TryParse/TryParse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.TryParse/vb/TryParse2.vb rename to snippets/visualbasic/System/Int32/TryParse/TryParse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.int64.equals/vb/equalsoverl.vb b/snippets/visualbasic/System/Int64/Equals/equalsoverl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.int64.equals/vb/equalsoverl.vb rename to snippets/visualbasic/System/Int64/Equals/equalsoverl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Int64_Equals/VB/int64_equals.vb b/snippets/visualbasic/System/Int64/Equals/int64_equals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Int64_Equals/VB/int64_equals.vb rename to snippets/visualbasic/System/Int64/Equals/int64_equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.int64.parse/vb/Parse1.vb b/snippets/visualbasic/System/Int64/Parse/Parse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.int64.parse/vb/Parse1.vb rename to snippets/visualbasic/System/Int64/Parse/Parse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.int64.parse/vb/Parse2.vb b/snippets/visualbasic/System/Int64/Parse/Parse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.int64.parse/vb/Parse2.vb rename to snippets/visualbasic/System/Int64/Parse/Parse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.int64.parse/vb/Parse3.vb b/snippets/visualbasic/System/Int64/Parse/Parse3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.int64.parse/vb/Parse3.vb rename to snippets/visualbasic/System/Int64/Parse/Parse3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Int64.ToString/vb/ToString.vb b/snippets/visualbasic/System/Int64/ToString/ToString.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Int64.ToString/vb/ToString.vb rename to snippets/visualbasic/System/Int64/ToString/ToString.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Int64.TryParse/vb/TryParse1.vb b/snippets/visualbasic/System/Int64/TryParse/TryParse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Int64.TryParse/vb/TryParse1.vb rename to snippets/visualbasic/System/Int64/TryParse/TryParse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Int64.TryParse/vb/TryParse2.vb b/snippets/visualbasic/System/Int64/TryParse/TryParse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Int64.TryParse/vb/TryParse2.vb rename to snippets/visualbasic/System/Int64/TryParse/TryParse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.add/vb/add1.vb b/snippets/visualbasic/System/IntPtr/Add/add1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.add/vb/add1.vb rename to snippets/visualbasic/System/IntPtr/Add/add1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.intptr/vb/topointer.vb b/snippets/visualbasic/System/IntPtr/Overview/topointer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.intptr/vb/topointer.vb rename to snippets/visualbasic/System/IntPtr/Overview/topointer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.subtract/vb/subtract1.vb b/snippets/visualbasic/System/IntPtr/Subtract/subtract1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.subtract/vb/subtract1.vb rename to snippets/visualbasic/System/IntPtr/Subtract/subtract1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.zero/vb/zero2.vb b/snippets/visualbasic/System/IntPtr/Zero/zero2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.zero/vb/zero2.vb rename to snippets/visualbasic/System/IntPtr/Zero/zero2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.zero/vb/zero4.vb b/snippets/visualbasic/System/IntPtr/Zero/zero4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.zero/vb/zero4.vb rename to snippets/visualbasic/System/IntPtr/Zero/zero4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.op_addition/vb/addition1.vb b/snippets/visualbasic/System/IntPtr/op_Addition/addition1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.op_addition/vb/addition1.vb rename to snippets/visualbasic/System/IntPtr/op_Addition/addition1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.op_addition/vb/op_subtraction1.vb b/snippets/visualbasic/System/IntPtr/op_Addition/op_subtraction1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.op_addition/vb/op_subtraction1.vb rename to snippets/visualbasic/System/IntPtr/op_Addition/op_subtraction1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZoneNotFoundException.Class/vb/TimeZoneNotFoundException.vb b/snippets/visualbasic/System/InvalidTimeZoneException/.ctor/TimeZoneNotFoundException.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZoneNotFoundException.Class/vb/TimeZoneNotFoundException.vb rename to snippets/visualbasic/System/InvalidTimeZoneException/.ctor/TimeZoneNotFoundException.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctor/vb/example.vb b/snippets/visualbasic/System/LazyT/.ctor/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctor/vb/example.vb rename to snippets/visualbasic/System/LazyT/.ctor/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorbool/vb/example.vb b/snippets/visualbasic/System/LazyT/.ctor/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorbool/vb/example.vb rename to snippets/visualbasic/System/LazyT/.ctor/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfunc/vb/example.vb b/snippets/visualbasic/System/LazyT/.ctor/example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfunc/vb/example.vb rename to snippets/visualbasic/System/LazyT/.ctor/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncbool/vb/example.vb b/snippets/visualbasic/System/LazyT/.ctor/example3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncbool/vb/example.vb rename to snippets/visualbasic/System/LazyT/.ctor/example3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncltsm/vb/example.vb b/snippets/visualbasic/System/LazyT/.ctor/example4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncltsm/vb/example.vb rename to snippets/visualbasic/System/LazyT/.ctor/example4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorltsm/vb/example.vb b/snippets/visualbasic/System/LazyT/.ctor/example5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorltsm/vb/example.vb rename to snippets/visualbasic/System/LazyT/.ctor/example5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/example.vb b/snippets/visualbasic/System/LazyT/Overview/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/example.vb rename to snippets/visualbasic/System/LazyT/Overview/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/lambda.vb b/snippets/visualbasic/System/LazyT/Overview/lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/lambda.vb rename to snippets/visualbasic/System/LazyT/Overview/lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/RemotingServices.SetObjectUriForMarshal/VB/source.vb b/snippets/visualbasic/System/MarshalByRefObject/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/RemotingServices.SetObjectUriForMarshal/VB/source.vb rename to snippets/visualbasic/System/MarshalByRefObject/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs2.vb b/snippets/visualbasic/System/Math/Abs/abs2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs2.vb rename to snippets/visualbasic/System/Math/Abs/abs2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs3.vb b/snippets/visualbasic/System/Math/Abs/abs3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs3.vb rename to snippets/visualbasic/System/Math/Abs/abs3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs4.vb b/snippets/visualbasic/System/Math/Abs/abs4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs4.vb rename to snippets/visualbasic/System/Math/Abs/abs4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs5.vb b/snippets/visualbasic/System/Math/Abs/abs5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs5.vb rename to snippets/visualbasic/System/Math/Abs/abs5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs6.vb b/snippets/visualbasic/System/Math/Abs/abs6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs6.vb rename to snippets/visualbasic/System/Math/Abs/abs6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs7.vb b/snippets/visualbasic/System/Math/Abs/abs7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs7.vb rename to snippets/visualbasic/System/Math/Abs/abs7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/math.atanx/VB/atan.vb b/snippets/visualbasic/System/Math/Atan/atan.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/math.atanx/VB/atan.vb rename to snippets/visualbasic/System/Math/Atan/atan.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/math.bigmul/VB/bigmul.vb b/snippets/visualbasic/System/Math/BigMul/bigmul.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/math.bigmul/VB/bigmul.vb rename to snippets/visualbasic/System/Math/BigMul/bigmul.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Ceiling/vb/Ceiling1.vb b/snippets/visualbasic/System/Math/Ceiling/Ceiling1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Ceiling/vb/Ceiling1.vb rename to snippets/visualbasic/System/Math/Ceiling/Ceiling1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.SinCos/VB/sincos.vb b/snippets/visualbasic/System/Math/Cos/sincos.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Math.SinCos/VB/sincos.vb rename to snippets/visualbasic/System/Math/Cos/sincos.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.SinhCosh/VB/sinhcosh.vb b/snippets/visualbasic/System/Math/Cosh/sinhcosh.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Math.SinhCosh/VB/sinhcosh.vb rename to snippets/visualbasic/System/Math/Cosh/sinhcosh.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.divrem/vb/divrem1.vb b/snippets/visualbasic/System/Math/DivRem/divrem1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.divrem/vb/divrem1.vb rename to snippets/visualbasic/System/Math/DivRem/divrem1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.divrem/vb/divrem2.vb b/snippets/visualbasic/System/Math/DivRem/divrem2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.divrem/vb/divrem2.vb rename to snippets/visualbasic/System/Math/DivRem/divrem2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.E/VB/efield.vb b/snippets/visualbasic/System/Math/E/efield.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Math.E/VB/efield.vb rename to snippets/visualbasic/System/Math/E/efield.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Exp/VB/exp.vb b/snippets/visualbasic/System/Math/Exp/exp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Exp/VB/exp.vb rename to snippets/visualbasic/System/Math/Exp/exp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.ieeeremainder/vb/ieeeremainder1.vb b/snippets/visualbasic/System/Math/IEEERemainder/ieeeremainder1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.ieeeremainder/vb/ieeeremainder1.vb rename to snippets/visualbasic/System/Math/IEEERemainder/ieeeremainder1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Log10/VB/log10.vb b/snippets/visualbasic/System/Math/Log10/log10.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Log10/VB/log10.vb rename to snippets/visualbasic/System/Math/Log10/log10.vb diff --git a/snippets/visualbasic/System/Math/LogMethod/log1.vb b/snippets/visualbasic/System/Math/LogMethod/log1.vb new file mode 100644 index 00000000000..098be198ef1 --- /dev/null +++ b/snippets/visualbasic/System/Math/LogMethod/log1.vb @@ -0,0 +1,38 @@ +' +Module Example + Sub Main() + Console.WriteLine( _ + " Evaluate this identity with selected values for X:") + Console.WriteLine(" ln(x) = 1 / log[X](B)") + Console.WriteLine() + + Dim XArgs() As Double = { 1.2, 4.9, 9.9, 0.1 } + + For Each argX As Double In XArgs + ' Find natural log of argX. + Console.WriteLine(" Math.Log({0}) = {1:E16}", _ + argX, Math.Log(argX)) + + ' Evaluate 1 / log[X](e). + Console.WriteLine(" 1.0 / Math.Log(e, {0}) = {1:E16}", _ + argX, 1.0 / Math.Log(Math.E, argX)) + Console.WriteLine() + Next + End Sub +End Module +' This example displays the following output: +' Evaluate this identity with selected values for X: +' ln(x) = 1 / log[X](B) +' +' Math.Log(1.2) = 1.8232155679395459E-001 +' 1.0 / Math.Log(e, 1.2) = 1.8232155679395459E-001 +' +' Math.Log(4.9) = 1.5892352051165810E+000 +' 1.0 / Math.Log(e, 4.9) = 1.5892352051165810E+000 +' +' Math.Log(9.9) = 2.2925347571405443E+000 +' 1.0 / Math.Log(e, 9.9) = 2.2925347571405443E+000 +' +' Math.Log(0.1) = -2.3025850929940455E+000 +' 1.0 / Math.Log(e, 0.1) = -2.3025850929940455E+000 +' diff --git a/snippets/visualbasic/System/Math/LogMethod/loggen.vb b/snippets/visualbasic/System/Math/LogMethod/loggen.vb new file mode 100644 index 00000000000..760859301cc --- /dev/null +++ b/snippets/visualbasic/System/Math/LogMethod/loggen.vb @@ -0,0 +1,73 @@ +' +' Example for the Math.Log( Double ) and Math.Log( Double, Double ) methods. +Module LogDLogDD + + Sub Main() + Console.WriteLine( _ + "This example of Math.Log( Double ) and " + _ + "Math.Log( Double, Double )" & vbCrLf & _ + "generates the following output." & vbCrLf) + Console.WriteLine( _ + "Evaluate these identities with selected " & _ + "values for X and B (base):") + Console.WriteLine(" log(B)[X] = 1 / log(X)[B]") + Console.WriteLine(" log(B)[X] = ln[X] / ln[B]") + Console.WriteLine(" log(B)[X] = log(B)[e] * ln[X]") + + UseBaseAndArg(0.1, 1.2) + UseBaseAndArg(1.2, 4.9) + UseBaseAndArg(4.9, 9.9) + UseBaseAndArg(9.9, 0.1) + End Sub + + ' Evaluate logarithmic identities that are functions of two arguments. + Sub UseBaseAndArg(argB As Double, argX As Double) + + ' Evaluate log(B)[X] = 1 / log(X)[B]. + Console.WriteLine( _ + vbCrLf & " Math.Log({1}, {0}) = {2:E16}" + _ + vbCrLf & " 1.0 / Math.Log({0}, {1}) = {3:E16}", _ + argB, argX, Math.Log(argX, argB), _ + 1.0 / Math.Log(argB, argX)) + + ' Evaluate log(B)[X] = ln[X] / ln[B]. + Console.WriteLine( _ + " Math.Log({1}) / Math.Log({0}) = {2:E16}", _ + argB, argX, Math.Log(argX) / Math.Log(argB)) + + ' Evaluate log(B)[X] = log(B)[e] * ln[X]. + Console.WriteLine( _ + "Math.Log(Math.E, {0}) * Math.Log({1}) = {2:E16}", _ + argB, argX, Math.Log(Math.E, argB) * Math.Log(argX)) + + End Sub +End Module 'LogDLogDD + +' This example of Math.Log( Double ) and Math.Log( Double, Double ) +' generates the following output. +' +' Evaluate these identities with selected values for X and B (base): +' log(B)[X] = 1 / log(X)[B] +' log(B)[X] = ln[X] / ln[B] +' log(B)[X] = log(B)[e] * ln[X] +' +' Math.Log(1.2, 0.1) = -7.9181246047624818E-002 +' 1.0 / Math.Log(0.1, 1.2) = -7.9181246047624818E-002 +' Math.Log(1.2) / Math.Log(0.1) = -7.9181246047624818E-002 +' Math.Log(Math.E, 0.1) * Math.Log(1.2) = -7.9181246047624804E-002 +' +' Math.Log(4.9, 1.2) = 8.7166610085093179E+000 +' 1.0 / Math.Log(1.2, 4.9) = 8.7166610085093161E+000 +' Math.Log(4.9) / Math.Log(1.2) = 8.7166610085093179E+000 +' Math.Log(Math.E, 1.2) * Math.Log(4.9) = 8.7166610085093179E+000 +' +' Math.Log(9.9, 4.9) = 1.4425396251981288E+000 +' 1.0 / Math.Log(4.9, 9.9) = 1.4425396251981288E+000 +' Math.Log(9.9) / Math.Log(4.9) = 1.4425396251981288E+000 +' Math.Log(Math.E, 4.9) * Math.Log(9.9) = 1.4425396251981288E+000 +' +' Math.Log(0.1, 9.9) = -1.0043839404494075E+000 +' 1.0 / Math.Log(9.9, 0.1) = -1.0043839404494075E+000 +' Math.Log(0.1) / Math.Log(9.9) = -1.0043839404494075E+000 +' Math.Log(Math.E, 9.9) * Math.Log(0.1) = -1.0043839404494077E+000 +' diff --git a/snippets/visualbasic/VS_Snippets_CLR/math.max/VB/max.vb b/snippets/visualbasic/System/Math/Max/max.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/math.max/VB/max.vb rename to snippets/visualbasic/System/Math/Max/max.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/math.min/VB/min.vb b/snippets/visualbasic/System/Math/Min/min.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/math.min/VB/min.vb rename to snippets/visualbasic/System/Math/Min/min.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/WebResponse_GetResponseStream/VB/Project.vbproj b/snippets/visualbasic/System/Math/Overview/Project.vbproj similarity index 68% rename from snippets/visualbasic/VS_Snippets_Remoting/WebResponse_GetResponseStream/VB/Project.vbproj rename to snippets/visualbasic/System/Math/Overview/Project.vbproj index ddb344e65f4..92e46ddaccf 100644 --- a/snippets/visualbasic/VS_Snippets_Remoting/WebResponse_GetResponseStream/VB/Project.vbproj +++ b/snippets/visualbasic/System/Math/Overview/Project.vbproj @@ -1,8 +1,8 @@ - - - - Exe - net6.0 - - - + + + + Exe + net9.0 + + + diff --git a/snippets/visualbasic/VS_Snippets_CLR/MathSample/VB/mathsample.vb b/snippets/visualbasic/System/Math/Overview/mathsample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/MathSample/VB/mathsample.vb rename to snippets/visualbasic/System/Math/Overview/mathsample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.pow/vb/pow1.vb b/snippets/visualbasic/System/Math/Pow/pow1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.pow/vb/pow1.vb rename to snippets/visualbasic/System/Math/Pow/pow1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/round2.vb b/snippets/visualbasic/System/Math/Round/round2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/round2.vb rename to snippets/visualbasic/System/Math/Round/round2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/round3.vb b/snippets/visualbasic/System/Math/Round/round3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/round3.vb rename to snippets/visualbasic/System/Math/Round/round3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/round4.vb b/snippets/visualbasic/System/Math/Round/round4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/round4.vb rename to snippets/visualbasic/System/Math/Round/round4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/round5.vb b/snippets/visualbasic/System/Math/Round/round5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/round5.vb rename to snippets/visualbasic/System/Math/Round/round5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/rounddecimal1.vb b/snippets/visualbasic/System/Math/Round/rounddecimal1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/rounddecimal1.vb rename to snippets/visualbasic/System/Math/Round/rounddecimal1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb b/snippets/visualbasic/System/Math/Sign/sign.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/math.sign/VB/sign.vb rename to snippets/visualbasic/System/Math/Sign/sign.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.sqrt/vb/sqrt1.vb b/snippets/visualbasic/System/Math/Sqrt/sqrt1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.sqrt/vb/sqrt1.vb rename to snippets/visualbasic/System/Math/Sqrt/sqrt1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Tanh/VB/tanh.vb b/snippets/visualbasic/System/Math/Tanh/tanh.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Tanh/VB/tanh.vb rename to snippets/visualbasic/System/Math/Tanh/tanh.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Truncate/vb/Truncate1.vb b/snippets/visualbasic/System/Math/Truncate/Truncate1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Truncate/vb/Truncate1.vb rename to snippets/visualbasic/System/Math/Truncate/Truncate1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/MissingMethodException/vb/missingmethodexception.vb b/snippets/visualbasic/System/MissingFieldException/Overview/missingmethodexception.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/MissingMethodException/vb/missingmethodexception.vb rename to snippets/visualbasic/System/MissingFieldException/Overview/missingmethodexception.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Multicast Delegate Introduction/VB/delegatestring.vb b/snippets/visualbasic/System/MulticastDelegate/Overview/delegatestring.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Multicast Delegate Introduction/VB/delegatestring.vb rename to snippets/visualbasic/System/MulticastDelegate/Overview/delegatestring.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/SerializationAttributes/VB/s.vb b/snippets/visualbasic/System/NonSerializedAttribute/Overview/s.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/SerializationAttributes/VB/s.vb rename to snippets/visualbasic/System/NonSerializedAttribute/Overview/s.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.notimplementedexception/vb/program.vb b/snippets/visualbasic/System/NotImplementedException/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.notimplementedexception/vb/program.vb rename to snippets/visualbasic/System/NotImplementedException/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array1.vb b/snippets/visualbasic/System/NullReferenceException/Overview/Array1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array1.vb rename to snippets/visualbasic/System/NullReferenceException/Overview/Array1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array2.vb b/snippets/visualbasic/System/NullReferenceException/Overview/Array2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array2.vb rename to snippets/visualbasic/System/NullReferenceException/Overview/Array2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array3.vb b/snippets/visualbasic/System/NullReferenceException/Overview/Array3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array3.vb rename to snippets/visualbasic/System/NullReferenceException/Overview/Array3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array4.vb b/snippets/visualbasic/System/NullReferenceException/Overview/Array4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array4.vb rename to snippets/visualbasic/System/NullReferenceException/Overview/Array4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Chain1.vb b/snippets/visualbasic/System/NullReferenceException/Overview/Chain1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Chain1.vb rename to snippets/visualbasic/System/NullReferenceException/Overview/Chain1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Chain2.vb b/snippets/visualbasic/System/NullReferenceException/Overview/Chain2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Chain2.vb rename to snippets/visualbasic/System/NullReferenceException/Overview/Chain2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/example1.vb b/snippets/visualbasic/System/NullReferenceException/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/example1.vb rename to snippets/visualbasic/System/NullReferenceException/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/example1a.vb b/snippets/visualbasic/System/NullReferenceException/Overview/example1a.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/example1a.vb rename to snippets/visualbasic/System/NullReferenceException/Overview/example1a.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/example2.vb b/snippets/visualbasic/System/NullReferenceException/Overview/example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/example2.vb rename to snippets/visualbasic/System/NullReferenceException/Overview/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/nullreturn2.vb b/snippets/visualbasic/System/NullReferenceException/Overview/nullreturn2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/nullreturn2.vb rename to snippets/visualbasic/System/NullReferenceException/Overview/nullreturn2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/nullreturn2a.vb b/snippets/visualbasic/System/NullReferenceException/Overview/nullreturn2a.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/nullreturn2a.vb rename to snippets/visualbasic/System/NullReferenceException/Overview/nullreturn2a.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullable_GetUnderlyingType/vb/gut.vb b/snippets/visualbasic/System/Nullable/GetUnderlyingType/gut.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullable_GetUnderlyingType/vb/gut.vb rename to snippets/visualbasic/System/Nullable/GetUnderlyingType/gut.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.Equals/vb/eq.vb b/snippets/visualbasic/System/NullableT/Equals/eq.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.Equals/vb/eq.vb rename to snippets/visualbasic/System/NullableT/Equals/eq.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.GetValueOrDefault/vb/gvod.vb b/snippets/visualbasic/System/NullableT/GetValueOrDefault/gvod.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.GetValueOrDefault/vb/gvod.vb rename to snippets/visualbasic/System/NullableT/GetValueOrDefault/gvod.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullable~1.hasvalue/vb/hasvalue2.vb b/snippets/visualbasic/System/NullableT/HasValue/hasvalue2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullable~1.hasvalue/vb/hasvalue2.vb rename to snippets/visualbasic/System/NullableT/HasValue/hasvalue2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.class/vb/tarow.vb b/snippets/visualbasic/System/NullableT/Overview/tarow.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.class/vb/tarow.vb rename to snippets/visualbasic/System/NullableT/Overview/tarow.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.ToString/vb/ts.vb b/snippets/visualbasic/System/NullableT/ToString/ts.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.ToString/vb/ts.vb rename to snippets/visualbasic/System/NullableT/ToString/ts.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullable~1.conversion/vb/explicit1.vb b/snippets/visualbasic/System/NullableT/op_Explicit/explicit1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullable~1.conversion/vb/explicit1.vb rename to snippets/visualbasic/System/NullableT/op_Explicit/explicit1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.object.equals/vb/equals_static2.vb b/snippets/visualbasic/System/Object/Equals/equals_static2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.object.equals/vb/equals_static2.vb rename to snippets/visualbasic/System/Object/Equals/equals_static2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.object.gettype/vb/GetTypeEx2.vb b/snippets/visualbasic/System/Object/GetType/GetTypeEx2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.object.gettype/vb/GetTypeEx2.vb rename to snippets/visualbasic/System/Object/GetType/GetTypeEx2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ECMA-System.Object.GetType/VB/gettype.vb b/snippets/visualbasic/System/Object/GetType/gettype.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ECMA-System.Object.GetType/VB/gettype.vb rename to snippets/visualbasic/System/Object/GetType/gettype.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.object.gettype/vb/gettype1.vb b/snippets/visualbasic/System/Object/GetType/gettype1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.object.gettype/vb/gettype1.vb rename to snippets/visualbasic/System/Object/GetType/gettype1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ObjectX/vb/objectX.vb b/snippets/visualbasic/System/Object/Overview/objectX.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ObjectX/vb/objectX.vb rename to snippets/visualbasic/System/Object/Overview/objectX.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ECMA-System.Object.ReferenceEquals/vb/referenceequals.vb b/snippets/visualbasic/System/Object/ReferenceEquals/referenceequals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ECMA-System.Object.ReferenceEquals/vb/referenceequals.vb rename to snippets/visualbasic/System/Object/ReferenceEquals/referenceequals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.object.referenceequals/vb/referenceequals4.vb b/snippets/visualbasic/System/Object/ReferenceEquals/referenceequals4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.object.referenceequals/vb/referenceequals4.vb rename to snippets/visualbasic/System/Object/ReferenceEquals/referenceequals4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.object.referenceequals/vb/referenceequalsa.vb b/snippets/visualbasic/System/Object/ReferenceEquals/referenceequalsa.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.object.referenceequals/vb/referenceequalsa.vb rename to snippets/visualbasic/System/Object/ReferenceEquals/referenceequalsa.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.objectdisposedexception/vb/dispose1.vb b/snippets/visualbasic/System/ObjectDisposedException/Overview/dispose1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.objectdisposedexception/vb/dispose1.vb rename to snippets/visualbasic/System/ObjectDisposedException/Overview/dispose1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ObjDispEx/VB/objdispexc.vb b/snippets/visualbasic/System/ObjectDisposedException/Overview/objdispexc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ObjDispEx/VB/objdispexc.vb rename to snippets/visualbasic/System/ObjectDisposedException/Overview/objdispexc.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.obsoleteattribute.message/vb/obsoleteattribute_message.vb b/snippets/visualbasic/System/ObsoleteAttribute/IsError/obsoleteattribute_message.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.obsoleteattribute.message/vb/obsoleteattribute_message.vb rename to snippets/visualbasic/System/ObsoleteAttribute/IsError/obsoleteattribute_message.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ObsoleteAttribute/vb/obsoleteattributeex1.vb b/snippets/visualbasic/System/ObsoleteAttribute/Overview/obsoleteattributeex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ObsoleteAttribute/vb/obsoleteattributeex1.vb rename to snippets/visualbasic/System/ObsoleteAttribute/Overview/obsoleteattributeex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.OperatingSystem.Clone/VB/clone.vb b/snippets/visualbasic/System/OperatingSystem/Clone/clone.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.OperatingSystem.Clone/VB/clone.vb rename to snippets/visualbasic/System/OperatingSystem/Clone/clone.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.environment.osversion/vb/osinfo1.vb b/snippets/visualbasic/System/OperatingSystem/Overview/osinfo1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.environment.osversion/vb/osinfo1.vb rename to snippets/visualbasic/System/OperatingSystem/Overview/osinfo1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.OperatingSystem.Platform_Version/VB/plat_ver.vb b/snippets/visualbasic/System/OperatingSystem/Platform/plat_ver.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.OperatingSystem.Platform_Version/VB/plat_ver.vb rename to snippets/visualbasic/System/OperatingSystem/Platform/plat_ver.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/OperatingSystem.ServicePack/VB/sp.vb b/snippets/visualbasic/System/OperatingSystem/ServicePack/sp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/OperatingSystem.ServicePack/VB/sp.vb rename to snippets/visualbasic/System/OperatingSystem/ServicePack/sp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.OperatingSystem.Ctor_ToString/VB/ctor_tostr.vb b/snippets/visualbasic/System/OperatingSystem/ToString/ctor_tostr.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.OperatingSystem.Ctor_ToString/VB/ctor_tostr.vb rename to snippets/visualbasic/System/OperatingSystem/ToString/ctor_tostr.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/OperatingSystem.VersionString/VB/osvs.vb b/snippets/visualbasic/System/OperatingSystem/VersionString/osvs.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/OperatingSystem.VersionString/VB/osvs.vb rename to snippets/visualbasic/System/OperatingSystem/VersionString/osvs.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.outofmemoryexception/vb/data1.vb b/snippets/visualbasic/System/OutOfMemoryException/Overview/data1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.outofmemoryexception/vb/data1.vb rename to snippets/visualbasic/System/OutOfMemoryException/Overview/data1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.outofmemoryexception/vb/data2.vb b/snippets/visualbasic/System/OutOfMemoryException/Overview/data2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.outofmemoryexception/vb/data2.vb rename to snippets/visualbasic/System/OutOfMemoryException/Overview/data2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.outofmemoryexception/vb/failfast1.vb b/snippets/visualbasic/System/OutOfMemoryException/Overview/failfast1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.outofmemoryexception/vb/failfast1.vb rename to snippets/visualbasic/System/OutOfMemoryException/Overview/failfast1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.outofmemoryexception/vb/sb_example1.vb b/snippets/visualbasic/System/OutOfMemoryException/Overview/sb_example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.outofmemoryexception/vb/sb_example1.vb rename to snippets/visualbasic/System/OutOfMemoryException/Overview/sb_example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.overflowexception/vb/arithmetic1.vb b/snippets/visualbasic/System/OverflowException/Overview/arithmetic1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.overflowexception/vb/arithmetic1.vb rename to snippets/visualbasic/System/OverflowException/Overview/arithmetic1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.ParamArrayAttribute/vb/Example.vb b/snippets/visualbasic/System/ParamArrayAttribute/Overview/Example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.ParamArrayAttribute/vb/Example.vb rename to snippets/visualbasic/System/ParamArrayAttribute/Overview/Example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/platformID.class/VB/pid.vb b/snippets/visualbasic/System/PlatformID/Overview/pid.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/platformID.class/VB/pid.vb rename to snippets/visualbasic/System/PlatformID/Overview/pid.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/vb/predicate1.vb b/snippets/visualbasic/System/PredicateT/Overview/predicate1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/vb/predicate1.vb rename to snippets/visualbasic/System/PredicateT/Overview/predicate1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/vb/predicateex1.vb b/snippets/visualbasic/System/PredicateT/Overview/predicateex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/vb/predicateex1.vb rename to snippets/visualbasic/System/PredicateT/Overview/predicateex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/vb/predicateex2.vb b/snippets/visualbasic/System/PredicateT/Overview/predicateex2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/vb/predicateex2.vb rename to snippets/visualbasic/System/PredicateT/Overview/predicateex2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Ctor/VB/ctor.vb b/snippets/visualbasic/System/Random/.ctor/ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Ctor/VB/ctor.vb rename to snippets/visualbasic/System/Random/.ctor/ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Ctor/VB/ctor1.vb b/snippets/visualbasic/System/Random/.ctor/ctor1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Ctor/VB/ctor1.vb rename to snippets/visualbasic/System/Random/.ctor/ctor1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Ctor/VB/ctor4.vb b/snippets/visualbasic/System/Random/.ctor/ctor4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Ctor/VB/ctor4.vb rename to snippets/visualbasic/System/Random/.ctor/ctor4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Sample/VB/sample.vb b/snippets/visualbasic/System/Random/Next/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Sample/VB/sample.vb rename to snippets/visualbasic/System/Random/Next/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.random.nextdouble/vb/nextdouble1.vb b/snippets/visualbasic/System/Random/NextDouble/nextdouble1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.random.nextdouble/vb/nextdouble1.vb rename to snippets/visualbasic/System/Random/NextDouble/nextdouble1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random/vb/Random2.vb b/snippets/visualbasic/System/Random/Overview/Random2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Random/vb/Random2.vb rename to snippets/visualbasic/System/Random/Overview/Random2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next.vb b/snippets/visualbasic/System/Random/Overview/next.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next.vb rename to snippets/visualbasic/System/Random/Overview/next.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next1.vb b/snippets/visualbasic/System/Random/Overview/next1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next1.vb rename to snippets/visualbasic/System/Random/Overview/next1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next2.vb b/snippets/visualbasic/System/Random/Overview/next2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next2.vb rename to snippets/visualbasic/System/Random/Overview/next2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next3.vb b/snippets/visualbasic/System/Random/Overview/next3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next3.vb rename to snippets/visualbasic/System/Random/Overview/next3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next4.vb b/snippets/visualbasic/System/Random/Overview/next4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next4.vb rename to snippets/visualbasic/System/Random/Overview/next4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetTypeHandle/VB/type_gettypehandle.vb b/snippets/visualbasic/System/RuntimeTypeHandle/Overview/type_gettypehandle.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetTypeHandle/VB/type_gettypehandle.vb rename to snippets/visualbasic/System/RuntimeTypeHandle/Overview/type_gettypehandle.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.MaxValue/vb/MaxValue1.vb b/snippets/visualbasic/System/SByte/MaxValue/MaxValue1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.MaxValue/vb/MaxValue1.vb rename to snippets/visualbasic/System/SByte/MaxValue/MaxValue1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.Parse/VB/parse_1.vb b/snippets/visualbasic/System/SByte/Parse/parse_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.Parse/VB/parse_1.vb rename to snippets/visualbasic/System/SByte/Parse/parse_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex1.vb b/snippets/visualbasic/System/SByte/Parse/parseex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex1.vb rename to snippets/visualbasic/System/SByte/Parse/parseex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex2.vb b/snippets/visualbasic/System/SByte/Parse/parseex2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex2.vb rename to snippets/visualbasic/System/SByte/Parse/parseex2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex3.vb b/snippets/visualbasic/System/SByte/Parse/parseex3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex3.vb rename to snippets/visualbasic/System/SByte/Parse/parseex3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring2.vb b/snippets/visualbasic/System/SByte/ToString/tostring2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring2.vb rename to snippets/visualbasic/System/SByte/ToString/tostring2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring3.vb b/snippets/visualbasic/System/SByte/ToString/tostring3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring3.vb rename to snippets/visualbasic/System/SByte/ToString/tostring3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring4.vb b/snippets/visualbasic/System/SByte/ToString/tostring4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring4.vb rename to snippets/visualbasic/System/SByte/ToString/tostring4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring5.vb b/snippets/visualbasic/System/SByte/ToString/tostring5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring5.vb rename to snippets/visualbasic/System/SByte/ToString/tostring5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.TryParse/vb/TryParse1.vb b/snippets/visualbasic/System/SByte/TryParse/TryParse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.TryParse/vb/TryParse1.vb rename to snippets/visualbasic/System/SByte/TryParse/TryParse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.TryParse/vb/tryparse2.vb b/snippets/visualbasic/System/SByte/TryParse/tryparse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.TryParse/vb/tryparse2.vb rename to snippets/visualbasic/System/SByte/TryParse/tryparse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Epsilon/vb/SingleEquals_25051.vb b/snippets/visualbasic/System/Single/Equals/SingleEquals_25051.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Epsilon/vb/SingleEquals_25051.vb rename to snippets/visualbasic/System/Single/Equals/SingleEquals_25051.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.single.equals/vb/equalsoverl.vb b/snippets/visualbasic/System/Single/Equals/equalsoverl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.single.equals/vb/equalsoverl.vb rename to snippets/visualbasic/System/Single/Equals/equalsoverl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb b/snippets/visualbasic/System/Single/Equals/singlesample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb rename to snippets/visualbasic/System/Single/Equals/singlesample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.single.maxvalue/vb/maxvalueex.vb b/snippets/visualbasic/System/Single/MaxValue/maxvalueex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.single.maxvalue/vb/maxvalueex.vb rename to snippets/visualbasic/System/Single/MaxValue/maxvalueex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.single.minvalue/vb/minvalueex.vb b/snippets/visualbasic/System/Single/MinValue/minvalueex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.single.minvalue/vb/minvalueex.vb rename to snippets/visualbasic/System/Single/MinValue/minvalueex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.single.nan/vb/nan1.vb b/snippets/visualbasic/System/Single/NaN/nan1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.single.nan/vb/nan1.vb rename to snippets/visualbasic/System/Single/NaN/nan1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.single.nan/vb/single.nan4.vb b/snippets/visualbasic/System/Single/NaN/single.nan4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.single.nan/vb/single.nan4.vb rename to snippets/visualbasic/System/Single/NaN/single.nan4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Parse/VB/parse1.vb b/snippets/visualbasic/System/Single/Parse/parse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Parse/VB/parse1.vb rename to snippets/visualbasic/System/Single/Parse/parse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Parse/VB/parse2.vb b/snippets/visualbasic/System/Single/Parse/parse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Parse/VB/parse2.vb rename to snippets/visualbasic/System/Single/Parse/parse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Parse/VB/parse3.vb b/snippets/visualbasic/System/Single/Parse/parse3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Parse/VB/parse3.vb rename to snippets/visualbasic/System/Single/Parse/parse3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.ToString/VB/ToString1.vb b/snippets/visualbasic/System/Single/ToString/ToString1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Single.ToString/VB/ToString1.vb rename to snippets/visualbasic/System/Single/ToString/ToString1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.ToString/VB/ToString7.vb b/snippets/visualbasic/System/Single/ToString/ToString7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Single.ToString/VB/ToString7.vb rename to snippets/visualbasic/System/Single/ToString/ToString7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.single.tryparse/vb/tryparse1.vb b/snippets/visualbasic/System/Single/TryParse/tryparse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.single.tryparse/vb/tryparse1.vb rename to snippets/visualbasic/System/Single/TryParse/tryparse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.stackoverflowexception.class/vb/example1a.vb b/snippets/visualbasic/System/StackOverflowException/Overview/example1a.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.stackoverflowexception.class/vb/example1a.vb rename to snippets/visualbasic/System/StackOverflowException/Overview/example1a.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.chars/vb/chars1.vb b/snippets/visualbasic/System/String/Chars/chars1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.chars/vb/chars1.vb rename to snippets/visualbasic/System/String/Chars/chars1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Uri_IsHexDigit/VB/uri_ishexdigit.vb b/snippets/visualbasic/System/String/Chars/uri_ishexdigit.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Uri_IsHexDigit/VB/uri_ishexdigit.vb rename to snippets/visualbasic/System/String/Chars/uri_ishexdigit.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ArrayList/VB/ArrayListSample.vb b/snippets/visualbasic/System/String/Compare/ArrayListSample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ArrayList/VB/ArrayListSample.vb rename to snippets/visualbasic/System/String/Compare/ArrayListSample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/Example.vb b/snippets/visualbasic/System/String/Compare/Example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/Example.vb rename to snippets/visualbasic/System/String/Compare/Example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare5/vb/Example.vb b/snippets/visualbasic/System/String/Compare/Example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare5/vb/Example.vb rename to snippets/visualbasic/System/String/Compare/Example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.CompareCmp/vb/cmpcmp.vb b/snippets/visualbasic/System/String/Compare/cmpcmp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.CompareCmp/vb/cmpcmp.vb rename to snippets/visualbasic/System/String/Compare/cmpcmp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.compare3/VB/comp3.vb b/snippets/visualbasic/System/String/Compare/comp3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.compare3/VB/comp3.vb rename to snippets/visualbasic/System/String/Compare/comp3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.compare4/VB/comp4.vb b/snippets/visualbasic/System/String/Compare/comp4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.compare4/VB/comp4.vb rename to snippets/visualbasic/System/String/Compare/comp4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.compare5/VB/comp5.vb b/snippets/visualbasic/System/String/Compare/comp5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.compare5/VB/comp5.vb rename to snippets/visualbasic/System/String/Compare/comp5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/compare02.vb b/snippets/visualbasic/System/String/Compare/compare02.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/compare02.vb rename to snippets/visualbasic/System/String/Compare/compare02.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/compare21.vb b/snippets/visualbasic/System/String/Compare/compare21.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/compare21.vb rename to snippets/visualbasic/System/String/Compare/compare21.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/compare22.vb b/snippets/visualbasic/System/String/Compare/compare22.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/compare22.vb rename to snippets/visualbasic/System/String/Compare/compare22.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/compare23.vb b/snippets/visualbasic/System/String/Compare/compare23.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/compare23.vb rename to snippets/visualbasic/System/String/Compare/compare23.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb b/snippets/visualbasic/System/String/Compare/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb rename to snippets/visualbasic/System/String/Compare/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.comp4/VB/string.comp4.vb b/snippets/visualbasic/System/String/Compare/string.comp4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.comp4/VB/string.comp4.vb rename to snippets/visualbasic/System/String/Compare/string.comp4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.compareordinal/VB/comp0.vb b/snippets/visualbasic/System/String/CompareOrdinal/comp0.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.compareordinal/VB/comp0.vb rename to snippets/visualbasic/System/String/CompareOrdinal/comp0.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/StringCompareOrdinal/VB/stringcompareordinal.vb b/snippets/visualbasic/System/String/CompareOrdinal/stringcompareordinal.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/StringCompareOrdinal/VB/stringcompareordinal.vb rename to snippets/visualbasic/System/String/CompareOrdinal/stringcompareordinal.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.compareto/vb/compareto1.vb b/snippets/visualbasic/System/String/CompareTo/compareto1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.compareto/vb/compareto1.vb rename to snippets/visualbasic/System/String/CompareTo/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.compareto/vb/compareto2.vb b/snippets/visualbasic/System/String/CompareTo/compareto2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.compareto/vb/compareto2.vb rename to snippets/visualbasic/System/String/CompareTo/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ExToString/VB/extostring.vb b/snippets/visualbasic/System/String/CompareTo/extostring.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ExToString/VB/extostring.vb rename to snippets/visualbasic/System/String/CompareTo/extostring.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/StringCompareTo/VB/stringcompareto.vb b/snippets/visualbasic/System/String/CompareTo/stringcompareto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/StringCompareTo/VB/stringcompareto.vb rename to snippets/visualbasic/System/String/CompareTo/stringcompareto.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.concat/vb/Concat6.vb b/snippets/visualbasic/System/String/Concat/Concat6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.concat/vb/Concat6.vb rename to snippets/visualbasic/System/String/Concat/Concat6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.concat/vb/concat1.vb b/snippets/visualbasic/System/String/Concat/concat1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.concat/vb/concat1.vb rename to snippets/visualbasic/System/String/Concat/concat1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.concat/vb/concat2.vb b/snippets/visualbasic/System/String/Concat/concat2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.concat/vb/concat2.vb rename to snippets/visualbasic/System/String/Concat/concat2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.concat/vb/concat3.vb b/snippets/visualbasic/System/String/Concat/concat3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.concat/vb/concat3.vb rename to snippets/visualbasic/System/String/Concat/concat3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.concat/vb/concat4.vb b/snippets/visualbasic/System/String/Concat/concat4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.concat/vb/concat4.vb rename to snippets/visualbasic/System/String/Concat/concat4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.concat5/VB/string.concat5.vb b/snippets/visualbasic/System/String/Concat/string.concat5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.concat5/VB/string.concat5.vb rename to snippets/visualbasic/System/String/Concat/string.concat5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/stringconcat1/VB/stringconcat1.vb b/snippets/visualbasic/System/String/Concat/stringconcat1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/stringconcat1/VB/stringconcat1.vb rename to snippets/visualbasic/System/String/Concat/stringconcat1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/stringconcat3/VB/stringconcat3.vb b/snippets/visualbasic/System/String/Concat/stringconcat3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/stringconcat3/VB/stringconcat3.vb rename to snippets/visualbasic/System/String/Concat/stringconcat3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/stringconcat4/VB/stringconcat4.vb b/snippets/visualbasic/System/String/Concat/stringconcat4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/stringconcat4/VB/stringconcat4.vb rename to snippets/visualbasic/System/String/Concat/stringconcat4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Contains/vb/ContainsExt1.vb b/snippets/visualbasic/System/String/Contains/ContainsExt1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.String.Contains/vb/ContainsExt1.vb rename to snippets/visualbasic/System/String/Contains/ContainsExt1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.contains/VB/cont.vb b/snippets/visualbasic/System/String/Contains/cont.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.contains/VB/cont.vb rename to snippets/visualbasic/System/String/Contains/cont.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/stringcopyto/VB/stringcopyto.vb b/snippets/visualbasic/System/String/CopyTo/stringcopyto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/stringcopyto/VB/stringcopyto.vb rename to snippets/visualbasic/System/String/CopyTo/stringcopyto.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.String.EndsWith/vb/EndsWith1.vb b/snippets/visualbasic/System/String/EndsWith/EndsWith1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.String.EndsWith/vb/EndsWith1.vb rename to snippets/visualbasic/System/String/EndsWith/EndsWith1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.EndsWithCI/vb/ewci.vb b/snippets/visualbasic/System/String/EndsWith/ewci.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.EndsWithCI/vb/ewci.vb rename to snippets/visualbasic/System/String/EndsWith/ewci.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.EndsWithCmp/vb/ewcmp.vb b/snippets/visualbasic/System/String/EndsWith/ewcmp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.EndsWithCmp/vb/ewcmp.vb rename to snippets/visualbasic/System/String/EndsWith/ewcmp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/stringendswith/VB/stringendswith.vb b/snippets/visualbasic/System/String/EndsWith/stringendswith.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/stringendswith/VB/stringendswith.vb rename to snippets/visualbasic/System/String/EndsWith/stringendswith.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.equals/vb/eqcmp.vb b/snippets/visualbasic/System/String/Equals/eqcmp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.equals/vb/eqcmp.vb rename to snippets/visualbasic/System/String/Equals/eqcmp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.equals/VB/equals.vb b/snippets/visualbasic/System/String/Equals/equals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.equals/VB/equals.vb rename to snippets/visualbasic/System/String/Equals/equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.equals/vb/equals_ex3.vb b/snippets/visualbasic/System/String/Equals/equals_ex3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.equals/vb/equals_ex3.vb rename to snippets/visualbasic/System/String/Equals/equals_ex3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.equals/vb/equalsex1.vb b/snippets/visualbasic/System/String/Equals/equalsex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.equals/vb/equalsex1.vb rename to snippets/visualbasic/System/String/Equals/equalsex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format2/vb/Example2.vb b/snippets/visualbasic/System/String/Format/Example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format2/vb/Example2.vb rename to snippets/visualbasic/System/String/Format/Example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.GetEnumerator/VB/getenumerator.vb b/snippets/visualbasic/System/String/GetEnumerator/getenumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.GetEnumerator/VB/getenumerator.vb rename to snippets/visualbasic/System/String/GetEnumerator/getenumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.GetHashCode/VB/gethashcode.vb b/snippets/visualbasic/System/String/GetHashCode/gethashcode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.GetHashCode/VB/gethashcode.vb rename to snippets/visualbasic/System/String/GetHashCode/gethashcode.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.GetHashCode/VB/perdomain.vb b/snippets/visualbasic/System/String/GetHashCode/perdomain.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.GetHashCode/VB/perdomain.vb rename to snippets/visualbasic/System/String/GetHashCode/perdomain.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.gettypecode/VB/gtc.vb b/snippets/visualbasic/System/String/GetTypeCode/gtc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.gettypecode/VB/gtc.vb rename to snippets/visualbasic/System/String/GetTypeCode/gtc.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable21.vb b/snippets/visualbasic/System/String/IndexOf/ignorable21.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable21.vb rename to snippets/visualbasic/System/String/IndexOf/ignorable21.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable22.vb b/snippets/visualbasic/System/String/IndexOf/ignorable22.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable22.vb rename to snippets/visualbasic/System/String/IndexOf/ignorable22.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable23.vb b/snippets/visualbasic/System/String/IndexOf/ignorable23.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable23.vb rename to snippets/visualbasic/System/String/IndexOf/ignorable23.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable24.vb b/snippets/visualbasic/System/String/IndexOf/ignorable24.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable24.vb rename to snippets/visualbasic/System/String/IndexOf/ignorable24.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable25.vb b/snippets/visualbasic/System/String/IndexOf/ignorable25.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable25.vb rename to snippets/visualbasic/System/String/IndexOf/ignorable25.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable26.vb b/snippets/visualbasic/System/String/IndexOf/ignorable26.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable26.vb rename to snippets/visualbasic/System/String/IndexOf/ignorable26.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/indexof_c.vb b/snippets/visualbasic/System/String/IndexOf/indexof_c.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/indexof_c.vb rename to snippets/visualbasic/System/String/IndexOf/indexof_c.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/indexofcii.vb b/snippets/visualbasic/System/String/IndexOf/indexofcii.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/indexofcii.vb rename to snippets/visualbasic/System/String/IndexOf/indexofcii.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.IndexOfCmp/vb/iocmp.vb b/snippets/visualbasic/System/String/IndexOf/iocmp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.IndexOfCmp/vb/iocmp.vb rename to snippets/visualbasic/System/String/IndexOf/iocmp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.indexof1/VB/ixof1.vb b/snippets/visualbasic/System/String/IndexOf/ixof1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.indexof1/VB/ixof1.vb rename to snippets/visualbasic/System/String/IndexOf/ixof1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.indexof8/VB/ixof8.vb b/snippets/visualbasic/System/String/IndexOf/ixof8.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.indexof8/VB/ixof8.vb rename to snippets/visualbasic/System/String/IndexOf/ixof8.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/simple1.vb b/snippets/visualbasic/System/String/IndexOf/simple1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/simple1.vb rename to snippets/visualbasic/System/String/IndexOf/simple1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/stringindexof4/VB/stringindexof4.vb b/snippets/visualbasic/System/String/IndexOf/stringindexof4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/stringindexof4/VB/stringindexof4.vb rename to snippets/visualbasic/System/String/IndexOf/stringindexof4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/stringinsert/VB/stringinsert.vb b/snippets/visualbasic/System/String/IndexOf/stringinsert.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/stringinsert/VB/stringinsert.vb rename to snippets/visualbasic/System/String/IndexOf/stringinsert.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.String.IndexOfAny/vb/IndexOfAny1.vb b/snippets/visualbasic/System/String/IndexOfAny/IndexOfAny1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.String.IndexOfAny/vb/IndexOfAny1.vb rename to snippets/visualbasic/System/String/IndexOfAny/IndexOfAny1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.indexofany2/VB/ixany2.vb b/snippets/visualbasic/System/String/IndexOfAny/ixany2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.indexofany2/VB/ixany2.vb rename to snippets/visualbasic/System/String/IndexOfAny/ixany2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.indexofany3/VB/ixany3.vb b/snippets/visualbasic/System/String/IndexOfAny/ixany3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.indexofany3/VB/ixany3.vb rename to snippets/visualbasic/System/String/IndexOfAny/ixany3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Insert/vb/Insert1.vb b/snippets/visualbasic/System/String/Insert/Insert1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.String.Insert/vb/Insert1.vb rename to snippets/visualbasic/System/String/Insert/Insert1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.isinterned/VB/isin.vb b/snippets/visualbasic/System/String/IsInterned/isin.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.isinterned/VB/isin.vb rename to snippets/visualbasic/System/String/IsInterned/isin.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.isinterned/vb/isinternedex1.vb b/snippets/visualbasic/System/String/IsInterned/isinternedex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.isinterned/vb/isinternedex1.vb rename to snippets/visualbasic/System/String/IsInterned/isinternedex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.normalize/VB/norm.vb b/snippets/visualbasic/System/String/IsNormalized/norm.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.normalize/VB/norm.vb rename to snippets/visualbasic/System/String/IsNormalized/norm.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.isnullorwhitespace/vb/isnullorwhitespace.vb b/snippets/visualbasic/System/String/IsNullOrWhiteSpace/isnullorwhitespace.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.isnullorwhitespace/vb/isnullorwhitespace.vb rename to snippets/visualbasic/System/String/IsNullOrWhiteSpace/isnullorwhitespace.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.isnullorwhitespace/vb/isnullorwhitespace1.vb b/snippets/visualbasic/System/String/IsNullOrWhiteSpace/isnullorwhitespace1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.isnullorwhitespace/vb/isnullorwhitespace1.vb rename to snippets/visualbasic/System/String/IsNullOrWhiteSpace/isnullorwhitespace1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join1.vb b/snippets/visualbasic/System/String/Join/join1.vb similarity index 92% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join1.vb rename to snippets/visualbasic/System/String/Join/join1.vb index 3667dde84f7..db950f99f3c 100644 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join1.vb +++ b/snippets/visualbasic/System/String/Join/join1.vb @@ -9,27 +9,28 @@ Module Example Console.WriteLine("Primes less than {0}:", maxPrime) Console.WriteLine(" {0}", String.Join(" ", primes)) End Sub - + Private Function GetPrimes(maxPrime As Integer) As Integer() Dim values As Array = Array.CreateInstance(GetType(Integer), _ - New Integer() { maxPrime - 1}, New Integer(){ 2 }) + New Integer() { maxPrime - 1}, New Integer(){ 2 }) ' Use Sieve of Eratosthenes to determine prime numbers. For ctr As Integer = values.GetLowerBound(0) To _ CInt(Math.Ceiling(Math.Sqrt(values.GetUpperBound(0)))) If CInt(values.GetValue(ctr)) = 1 Then Continue For - + For multiplier As Integer = ctr To maxPrime \ 2 If ctr * multiplier <= maxPrime Then values.SetValue(1, ctr * multiplier) - Next - Next - + Next + Next + Dim primes As New System.Collections.Generic.List(Of Integer) For ctr As Integer = values.GetLowerBound(0) To values.GetUpperBound(0) If CInt(values.GetValue(ctr)) = 0 Then primes.Add(ctr) - Next + Next Return primes.ToArray() - End Function + End Function End Module + ' The example displays the following output: ' Primes less than 100: ' 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97 diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.join2/VB/join2.vb b/snippets/visualbasic/System/String/Join/join2.vb similarity index 95% rename from snippets/visualbasic/VS_Snippets_CLR/string.join2/VB/join2.vb rename to snippets/visualbasic/System/String/Join/join2.vb index cf2b0c7bfa4..d396a0c2515 100644 --- a/snippets/visualbasic/VS_Snippets_CLR/string.join2/VB/join2.vb +++ b/snippets/visualbasic/System/String/Join/join2.vb @@ -4,15 +4,16 @@ Class Sample Dim val As [String]() = {"apple", "orange", "grape", "pear"} Dim sep As [String] = ", " Dim result As [String] - + Console.WriteLine("sep = '{0}'", sep) Console.WriteLine("val() = {{'{0}' '{1}' '{2}' '{3}'}}", val(0), val(1), val(2), val(3)) result = [String].Join(sep, val, 1, 2) Console.WriteLine("String.Join(sep, val, 1, 2) = '{0}'", result) End Sub -End Class +End Class + 'This example displays the following output: ' sep = ', ' ' val() = {'apple' 'orange' 'grape' 'pear'} ' String.Join(sep, val, 1, 2) = 'orange, grape' -' \ No newline at end of file +' diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join3.vb b/snippets/visualbasic/System/String/Join/join3.vb similarity index 92% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join3.vb rename to snippets/visualbasic/System/String/Join/join3.vb index 834d414029e..6981d64f442 100644 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join3.vb +++ b/snippets/visualbasic/System/String/Join/join3.vb @@ -11,27 +11,28 @@ Module Example Console.WriteLine("Primes less than {0}:", maxPrime) Console.WriteLine(" {0}", String.Join(" ", primes)) End Sub - + Private Function GetPrimes(maxPrime As Integer) As List(Of String) Dim values As Array = Array.CreateInstance(GetType(Integer), _ - New Integer() { maxPrime - 1}, New Integer(){ 2 }) + New Integer() { maxPrime - 1}, New Integer(){ 2 }) ' Use Sieve of Eratosthenes to determine prime numbers. For ctr As Integer = values.GetLowerBound(0) To _ CInt(Math.Ceiling(Math.Sqrt(values.GetUpperBound(0)))) If CInt(values.GetValue(ctr)) = 1 Then Continue For - + For multiplier As Integer = ctr To maxPrime \ 2 If ctr * multiplier <= maxPrime Then values.SetValue(1, ctr * multiplier) - Next - Next - + Next + Next + Dim primes As New List(Of String) For ctr As Integer = values.GetLowerBound(0) To values.GetUpperBound(0) If CInt(values.GetValue(ctr)) = 0 Then primes.Add(ctr.ToString()) - Next + Next Return primes - End Function + End Function End Module + ' The example displays the following output: ' Primes less than 100: ' 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97 diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join4.vb b/snippets/visualbasic/System/String/Join/join4.vb similarity index 87% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join4.vb rename to snippets/visualbasic/System/String/Join/join4.vb index 8f05a44e01f..d4584afffd1 100644 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join4.vb +++ b/snippets/visualbasic/System/String/Join/join4.vb @@ -10,19 +10,20 @@ Module modMain Public Sub Main() Dim output As String = String.Join(" ", GetAlphabet(True).Where(Function(letter) _ letter >= "M")) - - Console.WriteLine(output) + + Console.WriteLine(output) End Sub - + Private Function GetAlphabet(upper As Boolean) As List(Of String) Dim alphabet As New List(Of String) Dim charValue As Integer = CInt(IIf(upper, 65, 97)) For ctr As Integer = 0 To 25 alphabet.Add(ChrW(charValue + ctr).ToString()) Next - Return alphabet + Return alphabet End Function End Module + ' The example displays the following output: ' M N O P Q R S T U V W X Y Z ' diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join5.vb b/snippets/visualbasic/System/String/Join/join5.vb similarity index 85% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join5.vb rename to snippets/visualbasic/System/String/Join/join5.vb index 1c4cc7dec3e..2123dd7126f 100644 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join5.vb +++ b/snippets/visualbasic/System/String/Join/join5.vb @@ -8,12 +8,12 @@ Imports System.Collections.Generic Public Class Animal Public Kind As String Public Order As String - + Public Sub New(kind As String, order As String) Me.Kind = kind Me.Order = order End Sub - + Public Overrides Function ToString() As String Return Me.Kind End Function @@ -24,12 +24,13 @@ Module Example Dim animals As New List(Of Animal) animals.Add(New Animal("Squirrel", "Rodent")) animals.Add(New Animal("Gray Wolf", "Carnivora")) - animals.Add(New Animal("Capybara", "Rodent")) + animals.Add(New Animal("Capybara", "Rodent")) Dim output As String = String.Join(" ", animals.Where(Function(animal) _ animal.Order = "Rodent")) - Console.WriteLine(output) + Console.WriteLine(output) End Sub End Module + ' The example displays the following output: ' Squirrel Capybara ' diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join2.vb b/snippets/visualbasic/System/String/Join/join6.vb similarity index 90% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join2.vb rename to snippets/visualbasic/System/String/Join/join6.vb index 6b1865a207e..c5dab1836e8 100644 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join2.vb +++ b/snippets/visualbasic/System/String/Join/join6.vb @@ -1,7 +1,7 @@ ' Visual Basic .NET Document Option Strict On -' +' Imports System.Collections.Generic Module Example @@ -11,28 +11,29 @@ Module Example Console.WriteLine("Primes less than {0}:", maxPrime) Console.WriteLine(" {0}", String.Join(" ", primes)) End Sub - + Private Function GetPrimes(maxPrime As Integer) As List(Of Integer) Dim values As Array = Array.CreateInstance(GetType(Integer), _ - New Integer() { maxPrime - 1}, New Integer(){ 2 }) + New Integer() { maxPrime - 1}, New Integer(){ 2 }) ' Use Sieve of Eratosthenes to determine prime numbers. For ctr As Integer = values.GetLowerBound(0) To _ CInt(Math.Ceiling(Math.Sqrt(values.GetUpperBound(0)))) If CInt(values.GetValue(ctr)) = 1 Then Continue For - + For multiplier As Integer = ctr To maxPrime \ 2 If ctr * multiplier <= maxPrime Then values.SetValue(1, ctr * multiplier) - Next - Next - + Next + Next + Dim primes As New System.Collections.Generic.List(Of Integer) For ctr As Integer = values.GetLowerBound(0) To values.GetUpperBound(0) If CInt(values.GetValue(ctr)) = 0 Then primes.Add(ctr) - Next + Next Return primes - End Function + End Function End Module + ' The example displays the following output: ' Primes less than 100: ' 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97 -' +' diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/joinfix1.vb b/snippets/visualbasic/System/String/Join/joinfix1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/joinfix1.vb rename to snippets/visualbasic/System/String/Join/joinfix1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/stringjoin/VB/stringjoin.vb b/snippets/visualbasic/System/String/Join/stringjoin.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/stringjoin/VB/stringjoin.vb rename to snippets/visualbasic/System/String/Join/stringjoin.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.LastIndexOf/vb/LastIndexOf_Example.vb b/snippets/visualbasic/System/String/LastIndexOf/LastIndexOf_Example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.LastIndexOf/vb/LastIndexOf_Example.vb rename to snippets/visualbasic/System/String/LastIndexOf/LastIndexOf_Example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.LastIndexOf/vb/lastindexof21.vb b/snippets/visualbasic/System/String/LastIndexOf/lastindexof21.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.LastIndexOf/vb/lastindexof21.vb rename to snippets/visualbasic/System/String/LastIndexOf/lastindexof21.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.LastIndexOf/vb/lastindexof22.vb b/snippets/visualbasic/System/String/LastIndexOf/lastindexof22.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.LastIndexOf/vb/lastindexof22.vb rename to snippets/visualbasic/System/String/LastIndexOf/lastindexof22.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.LastIndexOf/vb/lastindexof23.vb b/snippets/visualbasic/System/String/LastIndexOf/lastindexof23.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.LastIndexOf/vb/lastindexof23.vb rename to snippets/visualbasic/System/String/LastIndexOf/lastindexof23.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.LastIndexOf/vb/lastindexof24.vb b/snippets/visualbasic/System/String/LastIndexOf/lastindexof24.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.LastIndexOf/vb/lastindexof24.vb rename to snippets/visualbasic/System/String/LastIndexOf/lastindexof24.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.LastIndexOf/vb/lastindexof25.vb b/snippets/visualbasic/System/String/LastIndexOf/lastindexof25.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.LastIndexOf/vb/lastindexof25.vb rename to snippets/visualbasic/System/String/LastIndexOf/lastindexof25.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.LastIndexOf/vb/lastindexof26.vb b/snippets/visualbasic/System/String/LastIndexOf/lastindexof26.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.LastIndexOf/vb/lastindexof26.vb rename to snippets/visualbasic/System/String/LastIndexOf/lastindexof26.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.LastIndexOf/vb/lastindexof_example2.vb b/snippets/visualbasic/System/String/LastIndexOf/lastindexof_example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.LastIndexOf/vb/lastindexof_example2.vb rename to snippets/visualbasic/System/String/LastIndexOf/lastindexof_example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.lastindexof1/VB/lastixof1.vb b/snippets/visualbasic/System/String/LastIndexOf/lastixof1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.lastindexof1/VB/lastixof1.vb rename to snippets/visualbasic/System/String/LastIndexOf/lastixof1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.lastindexof2/VB/lastixof2.vb b/snippets/visualbasic/System/String/LastIndexOf/lastixof2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.lastindexof2/VB/lastixof2.vb rename to snippets/visualbasic/System/String/LastIndexOf/lastixof2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.LastIndexOf7/VB/lastixof7.vb b/snippets/visualbasic/System/String/LastIndexOf/lastixof7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.LastIndexOf7/VB/lastixof7.vb rename to snippets/visualbasic/System/String/LastIndexOf/lastixof7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.LastIndexOf8/VB/lastixof8.vb b/snippets/visualbasic/System/String/LastIndexOf/lastixof8.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.LastIndexOf8/VB/lastixof8.vb rename to snippets/visualbasic/System/String/LastIndexOf/lastixof8.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.LastIndexOfCmp/vb/liocmp.vb b/snippets/visualbasic/System/String/LastIndexOf/liocmp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.LastIndexOfCmp/vb/liocmp.vb rename to snippets/visualbasic/System/String/LastIndexOf/liocmp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.LastIndexOfAny1/VB/lastixany1.vb b/snippets/visualbasic/System/String/LastIndexOfAny/lastixany1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.LastIndexOfAny1/VB/lastixany1.vb rename to snippets/visualbasic/System/String/LastIndexOfAny/lastixany1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.LastIndexOfAny2/VB/lastixany2.vb b/snippets/visualbasic/System/String/LastIndexOfAny/lastixany2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.LastIndexOfAny2/VB/lastixany2.vb rename to snippets/visualbasic/System/String/LastIndexOfAny/lastixany2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.LastIndexOfAny3/VB/lastixany3.vb b/snippets/visualbasic/System/String/LastIndexOfAny/lastixany3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.LastIndexOfAny3/VB/lastixany3.vb rename to snippets/visualbasic/System/String/LastIndexOfAny/lastixany3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Class/vb/System.String.Class.vb b/snippets/visualbasic/System/String/Length/System.String.Class.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Class/vb/System.String.Class.vb rename to snippets/visualbasic/System/String/Length/System.String.Class.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.length/VB/length.vb b/snippets/visualbasic/System/String/Length/length.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.length/VB/length.vb rename to snippets/visualbasic/System/String/Length/length.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.remove/VB/r.vb b/snippets/visualbasic/System/String/Remove/r.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.remove/VB/r.vb rename to snippets/visualbasic/System/String/Remove/r.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/stringremove/VB/stringremove.vb b/snippets/visualbasic/System/String/Remove/stringremove.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/stringremove/VB/stringremove.vb rename to snippets/visualbasic/System/String/Remove/stringremove.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.replace/vb/replace1.vb b/snippets/visualbasic/System/String/Replace/replace1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.replace/vb/replace1.vb rename to snippets/visualbasic/System/String/Replace/replace1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.replace/vb/replace2.vb b/snippets/visualbasic/System/String/Replace/replace2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.replace/vb/replace2.vb rename to snippets/visualbasic/System/String/Replace/replace2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.replace1/VB/string.replace1.vb b/snippets/visualbasic/System/String/Replace/string.replace1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.replace1/VB/string.replace1.vb rename to snippets/visualbasic/System/String/Replace/string.replace1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/stringreplace/VB/stringreplace.vb b/snippets/visualbasic/System/String/Replace/stringreplace.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/stringreplace/VB/stringreplace.vb rename to snippets/visualbasic/System/String/Replace/stringreplace.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.startswith/vb/StartsWith2.vb b/snippets/visualbasic/System/String/StartsWith/StartsWith2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.startswith/vb/StartsWith2.vb rename to snippets/visualbasic/System/String/StartsWith/StartsWith2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.startswith/vb/startswith1.vb b/snippets/visualbasic/System/String/StartsWith/startswith1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.startswith/vb/startswith1.vb rename to snippets/visualbasic/System/String/StartsWith/startswith1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/stringstartswith/VB/stringstartswith.vb b/snippets/visualbasic/System/String/StartsWith/stringstartswith.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/stringstartswith/VB/stringstartswith.vb rename to snippets/visualbasic/System/String/StartsWith/stringstartswith.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.StartsWithCI/vb/swci.vb b/snippets/visualbasic/System/String/StartsWith/swci.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.StartsWithCI/vb/swci.vb rename to snippets/visualbasic/System/String/StartsWith/swci.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring1.vb b/snippets/visualbasic/System/String/Substring/Substring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring1.vb rename to snippets/visualbasic/System/String/Substring/Substring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring10.vb b/snippets/visualbasic/System/String/Substring/Substring10.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring10.vb rename to snippets/visualbasic/System/String/Substring/Substring10.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring2.vb b/snippets/visualbasic/System/String/Substring/Substring2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring2.vb rename to snippets/visualbasic/System/String/Substring/Substring2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring3.vb b/snippets/visualbasic/System/String/Substring/Substring3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring3.vb rename to snippets/visualbasic/System/String/Substring/Substring3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring4.vb b/snippets/visualbasic/System/String/Substring/Substring4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring4.vb rename to snippets/visualbasic/System/String/Substring/Substring4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.tochararray/vb/ToCharArray1.vb b/snippets/visualbasic/System/String/ToCharArray/ToCharArray1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.tochararray/vb/ToCharArray1.vb rename to snippets/visualbasic/System/String/ToCharArray/ToCharArray1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.ToCharArray1/VB/tocharry1.vb b/snippets/visualbasic/System/String/ToCharArray/tocharry1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.ToCharArray1/VB/tocharry1.vb rename to snippets/visualbasic/System/String/ToCharArray/tocharry1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.tolowerinvariant/vb/tolowerinvariant.vb b/snippets/visualbasic/System/String/ToLowerInvariant/tolowerinvariant.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.tolowerinvariant/vb/tolowerinvariant.vb rename to snippets/visualbasic/System/String/ToLowerInvariant/tolowerinvariant.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/string.tostring/VB/string.tostring.vb b/snippets/visualbasic/System/String/ToString/string.tostring.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/string.tostring/VB/string.tostring.vb rename to snippets/visualbasic/System/String/ToString/string.tostring.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Trim/vb/Trim1.vb b/snippets/visualbasic/System/String/Trim/Trim1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Trim/vb/Trim1.vb rename to snippets/visualbasic/System/String/Trim/Trim1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Trim/vb/Trim2.vb b/snippets/visualbasic/System/String/Trim/Trim2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Trim/vb/Trim2.vb rename to snippets/visualbasic/System/String/Trim/Trim2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.TrimEnd/vb/Sample2.vb b/snippets/visualbasic/System/String/TrimEnd/Sample2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.TrimEnd/vb/Sample2.vb rename to snippets/visualbasic/System/String/TrimEnd/Sample2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.TrimStart/vb/sample.vb b/snippets/visualbasic/System/String/TrimStart/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.TrimStart/vb/sample.vb rename to snippets/visualbasic/System/String/TrimStart/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.StringComparer.CurrentCulture/vb/CompareObjects.vb b/snippets/visualbasic/System/StringComparer/CurrentCulture/CompareObjects.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.StringComparer.CurrentCulture/vb/CompareObjects.vb rename to snippets/visualbasic/System/StringComparer/CurrentCulture/CompareObjects.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.StringComparer/vb/omni.vb b/snippets/visualbasic/System/StringComparer/Overview/omni.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.StringComparer/vb/omni.vb rename to snippets/visualbasic/System/StringComparer/Overview/omni.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threadstaticattribute/vb/Program.vbproj b/snippets/visualbasic/System/ThreadStaticAttribute/Overview/Program.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threadstaticattribute/vb/Program.vbproj rename to snippets/visualbasic/System/ThreadStaticAttribute/Overview/Program.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threadstaticattribute/vb/threadsafe2a.vb b/snippets/visualbasic/System/ThreadStaticAttribute/Overview/threadsafe2a.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threadstaticattribute/vb/threadsafe2a.vb rename to snippets/visualbasic/System/ThreadStaticAttribute/Overview/threadsafe2a.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctoriii.vb b/snippets/visualbasic/System/TimeSpan/.ctor/ctoriii.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctoriii.vb rename to snippets/visualbasic/System/TimeSpan/.ctor/ctoriii.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctoriiii.vb b/snippets/visualbasic/System/TimeSpan/.ctor/ctoriiii.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctoriiii.vb rename to snippets/visualbasic/System/TimeSpan/.ctor/ctoriiii.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctoriiiii.vb b/snippets/visualbasic/System/TimeSpan/.ctor/ctoriiiii.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctoriiiii.vb rename to snippets/visualbasic/System/TimeSpan/.ctor/ctoriiiii.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctorl.vb b/snippets/visualbasic/System/TimeSpan/.ctor/ctorl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctorl.vb rename to snippets/visualbasic/System/TimeSpan/.ctor/ctorl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.add/vb/add1.vb b/snippets/visualbasic/System/TimeSpan/Add/add1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.add/vb/add1.vb rename to snippets/visualbasic/System/TimeSpan/Add/add1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.compare/vb/compare1.vb b/snippets/visualbasic/System/TimeSpan/Compare/compare1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.compare/vb/compare1.vb rename to snippets/visualbasic/System/TimeSpan/Compare/compare1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Compare_Equals/VB/comp_equal.vb b/snippets/visualbasic/System/TimeSpan/CompareTo/comp_equal.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Compare_Equals/VB/comp_equal.vb rename to snippets/visualbasic/System/TimeSpan/CompareTo/comp_equal.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Compare_Equals/VB/cto_eq_obj.vb b/snippets/visualbasic/System/TimeSpan/CompareTo/cto_eq_obj.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Compare_Equals/VB/cto_eq_obj.vb rename to snippets/visualbasic/System/TimeSpan/CompareTo/cto_eq_obj.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Properties/VB/properties.vb b/snippets/visualbasic/System/TimeSpan/Days/properties.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Properties/VB/properties.vb rename to snippets/visualbasic/System/TimeSpan/Days/properties.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Dura_Nega_Unary/VB/dura_nega_una.vb b/snippets/visualbasic/System/TimeSpan/Duration/dura_nega_una.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Dura_Nega_Unary/VB/dura_nega_una.vb rename to snippets/visualbasic/System/TimeSpan/Duration/dura_nega_una.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.FromMinutes/vb/System.TimeSpan.FromMinutes.vb b/snippets/visualbasic/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.FromMinutes/vb/System.TimeSpan.FromMinutes.vb rename to snippets/visualbasic/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromdays.vb b/snippets/visualbasic/System/TimeSpan/FromDays/fromdays.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromdays.vb rename to snippets/visualbasic/System/TimeSpan/FromDays/fromdays.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromhours.vb b/snippets/visualbasic/System/TimeSpan/FromDays/fromhours.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromhours.vb rename to snippets/visualbasic/System/TimeSpan/FromDays/fromhours.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/frommillisec.vb b/snippets/visualbasic/System/TimeSpan/FromDays/frommillisec.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/frommillisec.vb rename to snippets/visualbasic/System/TimeSpan/FromDays/frommillisec.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromminutes.vb b/snippets/visualbasic/System/TimeSpan/FromDays/fromminutes.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromminutes.vb rename to snippets/visualbasic/System/TimeSpan/FromDays/fromminutes.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromseconds.vb b/snippets/visualbasic/System/TimeSpan/FromDays/fromseconds.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromseconds.vb rename to snippets/visualbasic/System/TimeSpan/FromDays/fromseconds.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromticks.vb b/snippets/visualbasic/System/TimeSpan/FromDays/fromticks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromticks.vb rename to snippets/visualbasic/System/TimeSpan/FromDays/fromticks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.GetHashCode/VB/hashcode.vb b/snippets/visualbasic/System/TimeSpan/GetHashCode/hashcode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.GetHashCode/VB/hashcode.vb rename to snippets/visualbasic/System/TimeSpan/GetHashCode/hashcode.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Fields/VB/fields.vb b/snippets/visualbasic/System/TimeSpan/MaxValue/fields.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Fields/VB/fields.vb rename to snippets/visualbasic/System/TimeSpan/MaxValue/fields.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.class/vb/structure1.vb b/snippets/visualbasic/System/TimeSpan/Overview/structure1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.class/vb/structure1.vb rename to snippets/visualbasic/System/TimeSpan/Overview/structure1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.parseexact/vb/parseexactexample1.vb b/snippets/visualbasic/System/TimeSpan/ParseExact/parseexactexample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.parseexact/vb/parseexactexample1.vb rename to snippets/visualbasic/System/TimeSpan/ParseExact/parseexactexample1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.parseexact/vb/parseexactexample2.vb b/snippets/visualbasic/System/TimeSpan/ParseExact/parseexactexample2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.parseexact/vb/parseexactexample2.vb rename to snippets/visualbasic/System/TimeSpan/ParseExact/parseexactexample2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.parseexact/vb/parseexactexample3.vb b/snippets/visualbasic/System/TimeSpan/ParseExact/parseexactexample3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.parseexact/vb/parseexactexample3.vb rename to snippets/visualbasic/System/TimeSpan/ParseExact/parseexactexample3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.parseexact/vb/parseexactexample4.vb b/snippets/visualbasic/System/TimeSpan/ParseExact/parseexactexample4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.parseexact/vb/parseexactexample4.vb rename to snippets/visualbasic/System/TimeSpan/ParseExact/parseexactexample4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.ToString/vb/ToString1.vb b/snippets/visualbasic/System/TimeSpan/ToString/ToString1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.ToString/vb/ToString1.vb rename to snippets/visualbasic/System/TimeSpan/ToString/ToString1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.ToString/vb/tostring3.vb b/snippets/visualbasic/System/TimeSpan/ToString/tostring3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.ToString/vb/tostring3.vb rename to snippets/visualbasic/System/TimeSpan/ToString/tostring3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.ToString/vb/tostring4.vb b/snippets/visualbasic/System/TimeSpan/ToString/tostring4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.ToString/vb/tostring4.vb rename to snippets/visualbasic/System/TimeSpan/ToString/tostring4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totaldays/vb/totaldays.vb b/snippets/visualbasic/System/TimeSpan/TotalDays/totaldays.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totaldays/vb/totaldays.vb rename to snippets/visualbasic/System/TimeSpan/TotalDays/totaldays.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalhours/vb/totalhours.vb b/snippets/visualbasic/System/TimeSpan/TotalHours/totalhours.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalhours/vb/totalhours.vb rename to snippets/visualbasic/System/TimeSpan/TotalHours/totalhours.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalmilliseconds/vb/totalmilliseconds.vb b/snippets/visualbasic/System/TimeSpan/TotalMilliseconds/totalmilliseconds.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalmilliseconds/vb/totalmilliseconds.vb rename to snippets/visualbasic/System/TimeSpan/TotalMilliseconds/totalmilliseconds.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalminutes/vb/totalminutes.vb b/snippets/visualbasic/System/TimeSpan/TotalMinutes/totalminutes.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalminutes/vb/totalminutes.vb rename to snippets/visualbasic/System/TimeSpan/TotalMinutes/totalminutes.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalseconds/vb/totalseconds.vb b/snippets/visualbasic/System/TimeSpan/TotalSeconds/totalseconds.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalseconds/vb/totalseconds.vb rename to snippets/visualbasic/System/TimeSpan/TotalSeconds/totalseconds.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.tryparseexact/vb/tryparseexactexample1.vb b/snippets/visualbasic/System/TimeSpan/TryParseExact/tryparseexactexample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.tryparseexact/vb/tryparseexactexample1.vb rename to snippets/visualbasic/System/TimeSpan/TryParseExact/tryparseexactexample1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.tryparseexact/vb/tryparseexactexample2.vb b/snippets/visualbasic/System/TimeSpan/TryParseExact/tryparseexactexample2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.tryparseexact/vb/tryparseexactexample2.vb rename to snippets/visualbasic/System/TimeSpan/TryParseExact/tryparseexactexample2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.tryparseexact/vb/tryparseexactexample3.vb b/snippets/visualbasic/System/TimeSpan/TryParseExact/tryparseexactexample3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.tryparseexact/vb/tryparseexactexample3.vb rename to snippets/visualbasic/System/TimeSpan/TryParseExact/tryparseexactexample3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.tryparseexact/vb/tryparseexactexample4.vb b/snippets/visualbasic/System/TimeSpan/TryParseExact/tryparseexactexample4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.tryparseexact/vb/tryparseexactexample4.vb rename to snippets/visualbasic/System/TimeSpan/TryParseExact/tryparseexactexample4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.operators/vb/Subtraction1.vb b/snippets/visualbasic/System/TimeSpan/op_Addition/Subtraction1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.operators/vb/Subtraction1.vb rename to snippets/visualbasic/System/TimeSpan/op_Addition/Subtraction1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.operators/vb/operators1.vb b/snippets/visualbasic/System/TimeSpan/op_Addition/operators1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.operators/vb/operators1.vb rename to snippets/visualbasic/System/TimeSpan/op_Addition/operators1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.RelationalOps/VB/relationalops.vb b/snippets/visualbasic/System/TimeSpan/op_Equality/relationalops.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.RelationalOps/VB/relationalops.vb rename to snippets/visualbasic/System/TimeSpan/op_Equality/relationalops.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.TimeZoneInfo.AdjustmentRule.DateStart/vb/DateStart1.vb b/snippets/visualbasic/System/TimeZoneInfo+AdjustmentRule/DateEnd/DateStart1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.TimeZoneInfo.AdjustmentRule.DateStart/vb/DateStart1.vb rename to snippets/visualbasic/System/TimeZoneInfo+AdjustmentRule/DateEnd/DateStart1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.AdjustmentRule.Class/vb/System.TimeZone2.AdjustmentRule.Class.vb b/snippets/visualbasic/System/TimeZoneInfo+AdjustmentRule/Overview/System.TimeZone2.AdjustmentRule.Class.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.AdjustmentRule.Class/vb/System.TimeZone2.AdjustmentRule.Class.vb rename to snippets/visualbasic/System/TimeZoneInfo+AdjustmentRule/Overview/System.TimeZone2.AdjustmentRule.Class.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/System.TimeZone2.TransitionTime.Class.vb b/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/System.TimeZone2.TransitionTime.Class.vb rename to snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/example1.vb b/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/example1.vb rename to snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Class/VB/ShowTimeZoneNames1.vb b/snippets/visualbasic/System/TimeZoneInfo/BaseUtcOffset/ShowTimeZoneNames1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Class/VB/ShowTimeZoneNames1.vb rename to snippets/visualbasic/System/TimeZoneInfo/BaseUtcOffset/ShowTimeZoneNames1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Class/VB/TimeZone2_Examples.vb b/snippets/visualbasic/System/TimeZoneInfo/BaseUtcOffset/TimeZone2_Examples.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Class/VB/TimeZone2_Examples.vb rename to snippets/visualbasic/System/TimeZoneInfo/BaseUtcOffset/TimeZone2_Examples.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Class/VB/getsystemtimezones1.vb b/snippets/visualbasic/System/TimeZoneInfo/BaseUtcOffset/getsystemtimezones1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Class/VB/getsystemtimezones1.vb rename to snippets/visualbasic/System/TimeZoneInfo/BaseUtcOffset/getsystemtimezones1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.BestPractices/vb/System.TimeZone2.BestPractices.vb b/snippets/visualbasic/System/TimeZoneInfo/ClearCachedData/System.TimeZone2.BestPractices.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.BestPractices/vb/System.TimeZone2.BestPractices.vb rename to snippets/visualbasic/System/TimeZoneInfo/ClearCachedData/System.TimeZone2.BestPractices.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Concepts/VB/TimeZone2Concepts.vb b/snippets/visualbasic/System/TimeZoneInfo/ConvertTime/TimeZone2Concepts.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Concepts/VB/TimeZone2Concepts.vb rename to snippets/visualbasic/System/TimeZoneInfo/ConvertTime/TimeZone2Concepts.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timezoneinfo.converttime/vb/converttime1.vb b/snippets/visualbasic/System/TimeZoneInfo/ConvertTime/converttime1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timezoneinfo.converttime/vb/converttime1.vb rename to snippets/visualbasic/System/TimeZoneInfo/ConvertTime/converttime1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timezoneinfo.converttime/vb/converttime2.vb b/snippets/visualbasic/System/TimeZoneInfo/ConvertTime/converttime2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timezoneinfo.converttime/vb/converttime2.vb rename to snippets/visualbasic/System/TimeZoneInfo/ConvertTime/converttime2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Conversions/vb/System.TimeZone2.Conversions.vb b/snippets/visualbasic/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/System.TimeZone2.Conversions.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Conversions/vb/System.TimeZone2.Conversions.vb rename to snippets/visualbasic/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/System.TimeZone2.Conversions.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Conversions/vb/convertdt2.vb b/snippets/visualbasic/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/convertdt2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Conversions/vb/convertdt2.vb rename to snippets/visualbasic/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/convertdt2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.CreateTimeZone/vb/System.TimeZone2.CreateTimeZone.vb b/snippets/visualbasic/System/TimeZoneInfo/CreateCustomTimeZone/System.TimeZone2.CreateTimeZone.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.CreateTimeZone/vb/System.TimeZone2.CreateTimeZone.vb rename to snippets/visualbasic/System/TimeZoneInfo/CreateCustomTimeZone/System.TimeZone2.CreateTimeZone.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.IsDaylightSavingTime/vb/IsDaylightSavingTime.vb b/snippets/visualbasic/System/TimeZoneInfo/DaylightName/IsDaylightSavingTime.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.IsDaylightSavingTime/vb/IsDaylightSavingTime.vb rename to snippets/visualbasic/System/TimeZoneInfo/DaylightName/IsDaylightSavingTime.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timezoneinfo.equals/vb/equals1.vb b/snippets/visualbasic/System/TimeZoneInfo/Equals/equals1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timezoneinfo.equals/vb/equals1.vb rename to snippets/visualbasic/System/TimeZoneInfo/Equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.GetAmbiguousTimeOffsets/vb/System.TimeZone2.GetAmbiguousTimeOffsets.vb b/snippets/visualbasic/System/TimeZoneInfo/GetAmbiguousTimeOffsets/System.TimeZone2.GetAmbiguousTimeOffsets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.GetAmbiguousTimeOffsets/vb/System.TimeZone2.GetAmbiguousTimeOffsets.vb rename to snippets/visualbasic/System/TimeZoneInfo/GetAmbiguousTimeOffsets/System.TimeZone2.GetAmbiguousTimeOffsets.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.GetUtcOffset/vb/System.TimeZone2.GetUtcOffset.vb b/snippets/visualbasic/System/TimeZoneInfo/GetUtcOffset/System.TimeZone2.GetUtcOffset.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.GetUtcOffset/vb/System.TimeZone2.GetUtcOffset.vb rename to snippets/visualbasic/System/TimeZoneInfo/GetUtcOffset/System.TimeZone2.GetUtcOffset.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.HasSameRules/vb/HasSameRules.vb b/snippets/visualbasic/System/TimeZoneInfo/HasSameRules/HasSameRules.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.HasSameRules/vb/HasSameRules.vb rename to snippets/visualbasic/System/TimeZoneInfo/HasSameRules/HasSameRules.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TimeoutException.class/VB/to.vb b/snippets/visualbasic/System/TimeoutException/Overview/to.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TimeoutException.class/VB/to.vb rename to snippets/visualbasic/System/TimeoutException/Overview/to.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb b/snippets/visualbasic/System/Tuple/Overview/create1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb rename to snippets/visualbasic/System/Tuple/Overview/create1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/createntuple.vb b/snippets/visualbasic/System/Tuple/Overview/createntuple.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/createntuple.vb rename to snippets/visualbasic/System/Tuple/Overview/createntuple.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/ctor8.vb b/snippets/visualbasic/System/Tuple/Overview/ctor8.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/ctor8.vb rename to snippets/visualbasic/System/Tuple/Overview/ctor8.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/example.vb b/snippets/visualbasic/System/Tuple/Overview/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/example.vb rename to snippets/visualbasic/System/Tuple/Overview/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.class/vb/example1.vb b/snippets/visualbasic/System/Tuple/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.class/vb/example1.vb rename to snippets/visualbasic/System/Tuple/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.equals/vb/equals1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Equals/equals1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.equals/vb/equals1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/item1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/item1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/rest.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/rest.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/rest.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/rest.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.class/vb/octuple1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Overview/octuple1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.class/vb/octuple1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Overview/octuple1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.compareto/vb/compareto1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/System.Collections.IStructuralComparable.CompareTo/compareto1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.compareto/vb/compareto1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/System.Collections.IStructuralComparable.CompareTo/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.compareto/vb/compareto2.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/System.Collections.IStructuralComparable.CompareTo/compareto2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.compareto/vb/compareto2.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/System.Collections.IStructuralComparable.CompareTo/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.tostring/vb/tostring1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/ToString/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.tostring/vb/tostring1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/ToString/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.equals/vb/equals1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Equals/equals1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.equals/vb/equals1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.equals/vb/equals2.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Equals/equals2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.equals/vb/equals2.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Equals/equals2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.item1/vb/item1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.item1/vb/item1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.class/vb/example1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.class/vb/example1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.compareto/vb/compareto1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/System.Collections.IStructuralComparable.CompareTo/compareto1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.compareto/vb/compareto1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/System.Collections.IStructuralComparable.CompareTo/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.compareto/vb/compareto2.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/System.Collections.IStructuralComparable.CompareTo/compareto2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.compareto/vb/compareto2.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/System.Collections.IStructuralComparable.CompareTo/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.tostring/vb/tostring1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/ToString/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.tostring/vb/tostring1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/ToString/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.equals/vb/equals1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Equals/equals1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.equals/vb/equals1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.equals/vb/equals2.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Equals/equals2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.equals/vb/equals2.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Equals/equals2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.item1/vb/item1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.item1/vb/item1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.class/vb/example1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.class/vb/example1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.compareto/vb/compareto1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.compareto/vb/compareto1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.compareto/vb/compareto2.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.compareto/vb/compareto2.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.tostring/vb/tostring1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/ToString/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.tostring/vb/tostring1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/ToString/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.equals/vb/equals1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Equals/equals1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.equals/vb/equals1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.equals/vb/equals2.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Equals/equals2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.equals/vb/equals2.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Equals/equals2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.item1/vb/item1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Item1/item1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.item1/vb/item1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Item1/item1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.class/vb/example1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.class/vb/example1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.compareto/vb/compareto1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/System.Collections.IStructuralComparable.CompareTo/compareto1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.compareto/vb/compareto1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/System.Collections.IStructuralComparable.CompareTo/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.compareto/vb/compareto2.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/System.Collections.IStructuralComparable.CompareTo/compareto2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.compareto/vb/compareto2.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/System.Collections.IStructuralComparable.CompareTo/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.tostring/vb/tostring1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/ToString/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.tostring/vb/tostring1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/ToString/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.equals/vb/equals1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4/Equals/equals1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.equals/vb/equals1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4/Equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.equals/vb/equals2.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4/Equals/equals2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.equals/vb/equals2.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4/Equals/equals2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.item1/vb/item1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4/Item1/item1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.item1/vb/item1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4/Item1/item1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.class/vb/example1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.class/vb/example1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.compareto/vb/compareto1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4/System.Collections.IStructuralComparable.CompareTo/compareto1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.compareto/vb/compareto1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4/System.Collections.IStructuralComparable.CompareTo/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.compareto/vb/compareto2.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4/System.Collections.IStructuralComparable.CompareTo/compareto2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.compareto/vb/compareto2.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4/System.Collections.IStructuralComparable.CompareTo/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.tostring/vb/tostring1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4/ToString/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.tostring/vb/tostring1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4/ToString/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.equals/vb/equals1.vb b/snippets/visualbasic/System/TupleT1,T2,T3/Equals/equals1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.equals/vb/equals1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3/Equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.equals/vb/equals2.vb b/snippets/visualbasic/System/TupleT1,T2,T3/Equals/equals2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.equals/vb/equals2.vb rename to snippets/visualbasic/System/TupleT1,T2,T3/Equals/equals2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.class/vb/example1.vb b/snippets/visualbasic/System/TupleT1,T2,T3/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.class/vb/example1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.compareto/vb/compareto1.vb b/snippets/visualbasic/System/TupleT1,T2,T3/System.Collections.IStructuralComparable.CompareTo/compareto1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.compareto/vb/compareto1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3/System.Collections.IStructuralComparable.CompareTo/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.compareto/vb/compareto2.vb b/snippets/visualbasic/System/TupleT1,T2,T3/System.Collections.IStructuralComparable.CompareTo/compareto2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.compareto/vb/compareto2.vb rename to snippets/visualbasic/System/TupleT1,T2,T3/System.Collections.IStructuralComparable.CompareTo/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.tostring/vb/tostring1.vb b/snippets/visualbasic/System/TupleT1,T2,T3/ToString/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.tostring/vb/tostring1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3/ToString/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.equals/vb/equals1.vb b/snippets/visualbasic/System/TupleT1,T2/Equals/equals1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.equals/vb/equals1.vb rename to snippets/visualbasic/System/TupleT1,T2/Equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.equals/vb/equals2.vb b/snippets/visualbasic/System/TupleT1,T2/Equals/equals2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.equals/vb/equals2.vb rename to snippets/visualbasic/System/TupleT1,T2/Equals/equals2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.class/vb/example1.vb b/snippets/visualbasic/System/TupleT1,T2/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.class/vb/example1.vb rename to snippets/visualbasic/System/TupleT1,T2/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.item1/vb/item1.vb b/snippets/visualbasic/System/TupleT1,T2/Overview/item1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.item1/vb/item1.vb rename to snippets/visualbasic/System/TupleT1,T2/Overview/item1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.compareto/vb/compareto1.vb b/snippets/visualbasic/System/TupleT1,T2/System.Collections.IStructuralComparable.CompareTo/compareto1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.compareto/vb/compareto1.vb rename to snippets/visualbasic/System/TupleT1,T2/System.Collections.IStructuralComparable.CompareTo/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.compareto/vb/compareto2.vb b/snippets/visualbasic/System/TupleT1,T2/System.Collections.IStructuralComparable.CompareTo/compareto2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.compareto/vb/compareto2.vb rename to snippets/visualbasic/System/TupleT1,T2/System.Collections.IStructuralComparable.CompareTo/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.tostring/vb/tostring1.vb b/snippets/visualbasic/System/TupleT1,T2/ToString/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.tostring/vb/tostring1.vb rename to snippets/visualbasic/System/TupleT1,T2/ToString/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.equals/vb/equals1.vb b/snippets/visualbasic/System/TupleT1/Equals/equals1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.equals/vb/equals1.vb rename to snippets/visualbasic/System/TupleT1/Equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.equals/vb/equals2.vb b/snippets/visualbasic/System/TupleT1/Equals/equals2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.equals/vb/equals2.vb rename to snippets/visualbasic/System/TupleT1/Equals/equals2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.item1/vb/item1.vb b/snippets/visualbasic/System/TupleT1/Item1/item1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.item1/vb/item1.vb rename to snippets/visualbasic/System/TupleT1/Item1/item1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.compareto/vb/compareto1.vb b/snippets/visualbasic/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/compareto1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.compareto/vb/compareto1.vb rename to snippets/visualbasic/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.compareto/vb/compareto2.vb b/snippets/visualbasic/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/compareto2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.compareto/vb/compareto2.vb rename to snippets/visualbasic/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.tostring/vb/tostring1.vb b/snippets/visualbasic/System/TupleT1/ToString/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.tostring/vb/tostring1.vb rename to snippets/visualbasic/System/TupleT1/ToString/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_Assembly/VB/type_assembly.vb b/snippets/visualbasic/System/Type/Assembly/type_assembly.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_Assembly/VB/type_assembly.vb rename to snippets/visualbasic/System/Type/Assembly/type_assembly.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.tostring/vb/fullname1.vb b/snippets/visualbasic/System/Type/AssemblyQualifiedName/fullname1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.tostring/vb/fullname1.vb rename to snippets/visualbasic/System/Type/AssemblyQualifiedName/fullname1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.attributes/vb/attributes1.vb b/snippets/visualbasic/System/Type/Attributes/attributes1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.attributes/vb/attributes1.vb rename to snippets/visualbasic/System/Type/Attributes/attributes1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.basetype/vb/basetype3.vb b/snippets/visualbasic/System/Type/BaseType/basetype3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.basetype/vb/basetype3.vb rename to snippets/visualbasic/System/Type/BaseType/basetype3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.basetype/vb/remarks.vb b/snippets/visualbasic/System/Type/BaseType/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.basetype/vb/remarks.vb rename to snippets/visualbasic/System/Type/BaseType/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TestBaseType/VB/testbasetype.vb b/snippets/visualbasic/System/Type/BaseType/testbasetype.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TestBaseType/VB/testbasetype.vb rename to snippets/visualbasic/System/Type/BaseType/testbasetype.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.HasUnboundGenericParameters/VB/source.vb b/snippets/visualbasic/System/Type/ContainsGenericParameters/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Type.HasUnboundGenericParameters/VB/source.vb rename to snippets/visualbasic/System/Type/ContainsGenericParameters/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/MethodInfo.Generics/VB/source.vb b/snippets/visualbasic/System/Type/DeclaringMethod/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/MethodInfo.Generics/VB/source.vb rename to snippets/visualbasic/System/Type/DeclaringMethod/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.declaringtype/vb/remarks.vb b/snippets/visualbasic/System/Type/DeclaringType/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.declaringtype/vb/remarks.vb rename to snippets/visualbasic/System/Type/DeclaringType/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_DefaultBinder/VB/type_defaultbinder.vb b/snippets/visualbasic/System/Type/DefaultBinder/type_defaultbinder.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_DefaultBinder/VB/type_defaultbinder.vb rename to snippets/visualbasic/System/Type/DefaultBinder/type_defaultbinder.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Type.Equals/vb/EqualsEx1.vb b/snippets/visualbasic/System/Type/Equals/EqualsEx1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Type.Equals/vb/EqualsEx1.vb rename to snippets/visualbasic/System/Type/Equals/EqualsEx1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_FilterAttribute/VB/type_filterattribute.vb b/snippets/visualbasic/System/Type/FilterAttribute/type_filterattribute.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_FilterAttribute/VB/type_filterattribute.vb rename to snippets/visualbasic/System/Type/FilterAttribute/type_filterattribute.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_FilterNameIgnoreCase/VB/type_filternameignorecase.vb b/snippets/visualbasic/System/Type/FilterNameIgnoreCase/type_filternameignorecase.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_FilterNameIgnoreCase/VB/type_filternameignorecase.vb rename to snippets/visualbasic/System/Type/FilterNameIgnoreCase/type_filternameignorecase.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_FindInterfaces/VB/type_findinterfaces.vb b/snippets/visualbasic/System/Type/FindInterfaces/type_findinterfaces.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_FindInterfaces/VB/type_findinterfaces.vb rename to snippets/visualbasic/System/Type/FindInterfaces/type_findinterfaces.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_FindMembers/VB/type_findmembers.vb b/snippets/visualbasic/System/Type/FindMembers/type_findmembers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_FindMembers/VB/type_findmembers.vb rename to snippets/visualbasic/System/Type/FindMembers/type_findmembers.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.fullname/vb/FullName4.vb b/snippets/visualbasic/System/Type/FullName/FullName4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.fullname/vb/FullName4.vb rename to snippets/visualbasic/System/Type/FullName/FullName4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.fullname/vb/FullName5.vb b/snippets/visualbasic/System/Type/FullName/FullName5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.fullname/vb/FullName5.vb rename to snippets/visualbasic/System/Type/FullName/FullName5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.fullname/vb/Fullname3.vb b/snippets/visualbasic/System/Type/FullName/Fullname3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.fullname/vb/Fullname3.vb rename to snippets/visualbasic/System/Type/FullName/Fullname3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.fullname/vb/fullnameex1.vb b/snippets/visualbasic/System/Type/FullName/fullnameex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.fullname/vb/fullnameex1.vb rename to snippets/visualbasic/System/Type/FullName/fullnameex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TestFullName/VB/testfullname.vb b/snippets/visualbasic/System/Type/FullName/testfullname.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TestFullName/VB/testfullname.vb rename to snippets/visualbasic/System/Type/FullName/testfullname.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_Guid/VB/type_guid.vb b/snippets/visualbasic/System/Type/GUID/type_guid.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_Guid/VB/type_guid.vb rename to snippets/visualbasic/System/Type/GUID/type_guid.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.GetGenericParameterConstraints/VB/source.vb b/snippets/visualbasic/System/Type/GenericParameterAttributes/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Type.GetGenericParameterConstraints/VB/source.vb rename to snippets/visualbasic/System/Type/GenericParameterAttributes/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.genericparameterposition/vb/remarks.vb b/snippets/visualbasic/System/Type/GenericParameterPosition/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.genericparameterposition/vb/remarks.vb rename to snippets/visualbasic/System/Type/GenericParameterPosition/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetArrayRank/VB/type_getarrayrank.vb b/snippets/visualbasic/System/Type/GetArrayRank/type_getarrayrank.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetArrayRank/VB/type_getarrayrank.vb rename to snippets/visualbasic/System/Type/GetArrayRank/type_getarrayrank.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetConstructor/VB/type_getconstructor.vb b/snippets/visualbasic/System/Type/GetConstructor/type_getconstructor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetConstructor/VB/type_getconstructor.vb rename to snippets/visualbasic/System/Type/GetConstructor/type_getconstructor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetConstructor2/VB/type_getconstructor2.vb b/snippets/visualbasic/System/Type/GetConstructor/type_getconstructor2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetConstructor2/VB/type_getconstructor2.vb rename to snippets/visualbasic/System/Type/GetConstructor/type_getconstructor2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetConstructor3/VB/type_getconstructor3.vb b/snippets/visualbasic/System/Type/GetConstructor/type_getconstructor3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetConstructor3/VB/type_getconstructor3.vb rename to snippets/visualbasic/System/Type/GetConstructor/type_getconstructor3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetDefaultMembers/VB/type_getdefaultmembers.vb b/snippets/visualbasic/System/Type/GetDefaultMembers/type_getdefaultmembers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetDefaultMembers/VB/type_getdefaultmembers.vb rename to snippets/visualbasic/System/Type/GetDefaultMembers/type_getdefaultmembers.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TestGetElementType/VB/testgetelementtype.vb b/snippets/visualbasic/System/Type/GetElementType/testgetelementtype.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TestGetElementType/VB/testgetelementtype.vb rename to snippets/visualbasic/System/Type/GetElementType/testgetelementtype.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetEvent/VB/type_getevent.vb b/snippets/visualbasic/System/Type/GetEvent/type_getevent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetEvent/VB/type_getevent.vb rename to snippets/visualbasic/System/Type/GetEvent/type_getevent.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/type_getevent1/VB/type_getevent1.vb b/snippets/visualbasic/System/Type/GetEvent/type_getevent1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/type_getevent1/VB/type_getevent1.vb rename to snippets/visualbasic/System/Type/GetEvent/type_getevent1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/type_getevents1/VB/type_getevents1.vb b/snippets/visualbasic/System/Type/GetEvents/type_getevents1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/type_getevents1/VB/type_getevents1.vb rename to snippets/visualbasic/System/Type/GetEvents/type_getevents1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/type_getevents2/VB/type_getevents2.vb b/snippets/visualbasic/System/Type/GetEvents/type_getevents2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/type_getevents2/VB/type_getevents2.vb rename to snippets/visualbasic/System/Type/GetEvents/type_getevents2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetField/VB/type_getfield.vb b/snippets/visualbasic/System/Type/GetField/type_getfield.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetField/VB/type_getfield.vb rename to snippets/visualbasic/System/Type/GetField/type_getfield.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FieldInfo_IsSpecialName/VB/fieldinfo_isspecialname.vb b/snippets/visualbasic/System/Type/GetFields/fieldinfo_isspecialname.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FieldInfo_IsSpecialName/VB/fieldinfo_isspecialname.vb rename to snippets/visualbasic/System/Type/GetFields/fieldinfo_isspecialname.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericParameter/VB/source.vb b/snippets/visualbasic/System/Type/GetGenericArguments/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericParameter/VB/source.vb rename to snippets/visualbasic/System/Type/GetGenericArguments/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.GetGenericTypeDefinition/VB/source.vb b/snippets/visualbasic/System/Type/GetGenericTypeDefinition/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Type.GetGenericTypeDefinition/VB/source.vb rename to snippets/visualbasic/System/Type/GetGenericTypeDefinition/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetHashCode_GetFields/VB/type_gethashcode_getfields.vb b/snippets/visualbasic/System/Type/GetHashCode/type_gethashcode_getfields.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetHashCode_GetFields/VB/type_gethashcode_getfields.vb rename to snippets/visualbasic/System/Type/GetHashCode/type_gethashcode_getfields.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetInterface/VB/type_getinterface.vb b/snippets/visualbasic/System/Type/GetInterface/type_getinterface.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetInterface/VB/type_getinterface.vb rename to snippets/visualbasic/System/Type/GetInterface/type_getinterface.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.getinterfacemap/vb/interfacemapping1.vb b/snippets/visualbasic/System/Type/GetInterfaceMap/interfacemapping1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.getinterfacemap/vb/interfacemapping1.vb rename to snippets/visualbasic/System/Type/GetInterfaceMap/interfacemapping1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetInterfaces1/VB/type_getinterfaces1.vb b/snippets/visualbasic/System/Type/GetInterfaces/type_getinterfaces1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetInterfaces1/VB/type_getinterfaces1.vb rename to snippets/visualbasic/System/Type/GetInterfaces/type_getinterfaces1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetMember/VB/type_getmember.vb b/snippets/visualbasic/System/Type/GetMember/type_getmember.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetMember/VB/type_getmember.vb rename to snippets/visualbasic/System/Type/GetMember/type_getmember.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetMembers1/VB/type_getmembers1.vb b/snippets/visualbasic/System/Type/GetMembers/type_getmembers1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetMembers1/VB/type_getmembers1.vb rename to snippets/visualbasic/System/Type/GetMembers/type_getmembers1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetMembers2/VB/type_getmembers2.vb b/snippets/visualbasic/System/Type/GetMembers/type_getmembers2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetMembers2/VB/type_getmembers2.vb rename to snippets/visualbasic/System/Type/GetMembers/type_getmembers2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Type.GetMethod/vb/GetMethod1.vb b/snippets/visualbasic/System/Type/GetMethod/GetMethod1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Type.GetMethod/vb/GetMethod1.vb rename to snippets/visualbasic/System/Type/GetMethod/GetMethod1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Type.GetMethod/vb/GetMethodWithOverloads1.vb b/snippets/visualbasic/System/Type/GetMethod/GetMethodWithOverloads1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Type.GetMethod/vb/GetMethodWithOverloads1.vb rename to snippets/visualbasic/System/Type/GetMethod/GetMethodWithOverloads1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Type.GetMethod/vb/GetMethodWithOverloads2.vb b/snippets/visualbasic/System/Type/GetMethod/GetMethodWithOverloads2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Type.GetMethod/vb/GetMethodWithOverloads2.vb rename to snippets/visualbasic/System/Type/GetMethod/GetMethodWithOverloads2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetMethod1/VB/type_getmethod1.vb b/snippets/visualbasic/System/Type/GetMethod/type_getmethod1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetMethod1/VB/type_getmethod1.vb rename to snippets/visualbasic/System/Type/GetMethod/type_getmethod1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetMethod2/VB/type_getmethod2.vb b/snippets/visualbasic/System/Type/GetMethod/type_getmethod2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetMethod2/VB/type_getmethod2.vb rename to snippets/visualbasic/System/Type/GetMethod/type_getmethod2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetMethod3/VB/type_getmethod3.vb b/snippets/visualbasic/System/Type/GetMethod/type_getmethod3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetMethod3/VB/type_getmethod3.vb rename to snippets/visualbasic/System/Type/GetMethod/type_getmethod3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetMethod4/VB/type_getmethod4.vb b/snippets/visualbasic/System/Type/GetMethod/type_getmethod4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetMethod4/VB/type_getmethod4.vb rename to snippets/visualbasic/System/Type/GetMethod/type_getmethod4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetMethod5/VB/type_getmethod5.vb b/snippets/visualbasic/System/Type/GetMethod/type_getmethod5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetMethod5/VB/type_getmethod5.vb rename to snippets/visualbasic/System/Type/GetMethod/type_getmethod5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetMethods2/VB/type_getmethods2.vb b/snippets/visualbasic/System/Type/GetMethods/type_getmethods2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetMethods2/VB/type_getmethods2.vb rename to snippets/visualbasic/System/Type/GetMethods/type_getmethods2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetNestedClassesAbs/VB/type_getnestedclassesabs.vb b/snippets/visualbasic/System/Type/GetNestedTypes/type_getnestedclassesabs.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetNestedClassesAbs/VB/type_getnestedclassesabs.vb rename to snippets/visualbasic/System/Type/GetNestedTypes/type_getnestedclassesabs.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetNestedTypes/VB/type_getnestedtypes.vb b/snippets/visualbasic/System/Type/GetNestedTypes/type_getnestedtypes.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetNestedTypes/VB/type_getnestedtypes.vb rename to snippets/visualbasic/System/Type/GetNestedTypes/type_getnestedtypes.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetProperties2/VB/type_getproperties2.vb b/snippets/visualbasic/System/Type/GetProperties/type_getproperties2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetProperties2/VB/type_getproperties2.vb rename to snippets/visualbasic/System/Type/GetProperties/type_getproperties2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetTypeCode/VB/type_gettypecode.vb b/snippets/visualbasic/System/Type/GetProperties/type_gettypecode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetTypeCode/VB/type_gettypecode.vb rename to snippets/visualbasic/System/Type/GetProperties/type_gettypecode.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetProperty2/VB/type_getproperty2.vb b/snippets/visualbasic/System/Type/GetProperty/type_getproperty2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetProperty2/VB/type_getproperty2.vb rename to snippets/visualbasic/System/Type/GetProperty/type_getproperty2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetProperty5/VB/type_getproperty2.vb b/snippets/visualbasic/System/Type/GetProperty/type_getproperty21.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetProperty5/VB/type_getproperty2.vb rename to snippets/visualbasic/System/Type/GetProperty/type_getproperty21.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetProperty3/VB/type_getproperty3.vb b/snippets/visualbasic/System/Type/GetProperty/type_getproperty3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetProperty3/VB/type_getproperty3.vb rename to snippets/visualbasic/System/Type/GetProperty/type_getproperty3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetProperty_Types/VB/type_getproperty_types.vb b/snippets/visualbasic/System/Type/GetProperty/type_getproperty_types.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetProperty_Types/VB/type_getproperty_types.vb rename to snippets/visualbasic/System/Type/GetProperty/type_getproperty_types.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetType/VB/type_gettype.vb b/snippets/visualbasic/System/Type/GetType/type_gettype.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetType/VB/type_gettype.vb rename to snippets/visualbasic/System/Type/GetType/type_gettype.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TypeCode/VB/iconvertible.vb b/snippets/visualbasic/System/Type/GetTypeCode/iconvertible.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TypeCode/VB/iconvertible.vb rename to snippets/visualbasic/System/Type/GetTypeCode/iconvertible.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.gettypefromclsid/vb/gettypefromclsid1.vb b/snippets/visualbasic/System/Type/GetTypeFromCLSID/gettypefromclsid1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.gettypefromclsid/vb/gettypefromclsid1.vb rename to snippets/visualbasic/System/Type/GetTypeFromCLSID/gettypefromclsid1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.gettypefromclsid/vb/gettypefromclsid11.vb b/snippets/visualbasic/System/Type/GetTypeFromCLSID/gettypefromclsid11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.gettypefromclsid/vb/gettypefromclsid11.vb rename to snippets/visualbasic/System/Type/GetTypeFromCLSID/gettypefromclsid11.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.gettypefromclsid/vb/gettypefromclsid_ex2.vb b/snippets/visualbasic/System/Type/GetTypeFromCLSID/gettypefromclsid_ex2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.gettypefromclsid/vb/gettypefromclsid_ex2.vb rename to snippets/visualbasic/System/Type/GetTypeFromCLSID/gettypefromclsid_ex2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.gettypefromclsid/vb/gettypefromclsid_ex3.vb b/snippets/visualbasic/System/Type/GetTypeFromCLSID/gettypefromclsid_ex3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.gettypefromclsid/vb/gettypefromclsid_ex3.vb rename to snippets/visualbasic/System/Type/GetTypeFromCLSID/gettypefromclsid_ex3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.gettypefromclsid/vb/gettypefromclsid_ex4.vb b/snippets/visualbasic/System/Type/GetTypeFromCLSID/gettypefromclsid_ex4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.gettypefromclsid/vb/gettypefromclsid_ex4.vb rename to snippets/visualbasic/System/Type/GetTypeFromCLSID/gettypefromclsid_ex4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetTypeFromHandle/VB/type_gettypefromhandle.vb b/snippets/visualbasic/System/Type/GetTypeFromHandle/type_gettypefromhandle.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetTypeFromHandle/VB/type_gettypefromhandle.vb rename to snippets/visualbasic/System/Type/GetTypeFromHandle/type_gettypefromhandle.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetTypeFromProgID2/VB/type_gettypefromprogid2.vb b/snippets/visualbasic/System/Type/GetTypeFromProgID/type_gettypefromprogid2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetTypeFromProgID2/VB/type_gettypefromprogid2.vb rename to snippets/visualbasic/System/Type/GetTypeFromProgID/type_gettypefromprogid2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetTypeFromProgID3/VB/type_gettypefromprogid3.vb b/snippets/visualbasic/System/Type/GetTypeFromProgID/type_gettypefromprogid3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetTypeFromProgID3/VB/type_gettypefromprogid3.vb rename to snippets/visualbasic/System/Type/GetTypeFromProgID/type_gettypefromprogid3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_GetTypeFromProgID4/VB/type_gettypefromprogid4.vb b/snippets/visualbasic/System/Type/GetTypeFromProgID/type_gettypefromprogid4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_GetTypeFromProgID4/VB/type_gettypefromprogid4.vb rename to snippets/visualbasic/System/Type/GetTypeFromProgID/type_gettypefromprogid4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_HasElementType/VB/type_haselementtype.vb b/snippets/visualbasic/System/Type/HasElementType/type_haselementtype.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_HasElementType/VB/type_haselementtype.vb rename to snippets/visualbasic/System/Type/HasElementType/type_haselementtype.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_HasElementTypeImpl/VB/type_haselementtypeimpl.vb b/snippets/visualbasic/System/Type/HasElementTypeImpl/type_haselementtypeimpl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_HasElementTypeImpl/VB/type_haselementtypeimpl.vb rename to snippets/visualbasic/System/Type/HasElementTypeImpl/type_haselementtypeimpl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/InvokeMem/VB/invokemem.vb b/snippets/visualbasic/System/Type/InvokeMember/invokemem.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/InvokeMem/VB/invokemem.vb rename to snippets/visualbasic/System/Type/InvokeMember/invokemem.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isabstract/vb/isabstract1.vb b/snippets/visualbasic/System/Type/IsAbstract/isabstract1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.isabstract/vb/isabstract1.vb rename to snippets/visualbasic/System/Type/IsAbstract/isabstract1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_IsAnsiClass/VB/type_isansiclass.vb b/snippets/visualbasic/System/Type/IsAnsiClass/type_isansiclass.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_IsAnsiClass/VB/type_isansiclass.vb rename to snippets/visualbasic/System/Type/IsAnsiClass/type_isansiclass.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isarray/vb/isarray2.vb b/snippets/visualbasic/System/Type/IsArray/isarray2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.isarray/vb/isarray2.vb rename to snippets/visualbasic/System/Type/IsArray/isarray2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_IsArrayImpl/VB/type_isarrayimpl.vb b/snippets/visualbasic/System/Type/IsArrayImpl/type_isarrayimpl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_IsArrayImpl/VB/type_isarrayimpl.vb rename to snippets/visualbasic/System/Type/IsArrayImpl/type_isarrayimpl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isassignablefrom/vb/IsAssignableFrom2.vb b/snippets/visualbasic/System/Type/IsAssignableFrom/IsAssignableFrom2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.isassignablefrom/vb/IsAssignableFrom2.vb rename to snippets/visualbasic/System/Type/IsAssignableFrom/IsAssignableFrom2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isassignablefrom/vb/IsAssignableFrom3.vb b/snippets/visualbasic/System/Type/IsAssignableFrom/IsAssignableFrom3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.isassignablefrom/vb/IsAssignableFrom3.vb rename to snippets/visualbasic/System/Type/IsAssignableFrom/IsAssignableFrom3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isassignablefrom/vb/isassignablefrom_ex1.vb b/snippets/visualbasic/System/Type/IsAssignableFrom/isassignablefrom_ex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.isassignablefrom/vb/isassignablefrom_ex1.vb rename to snippets/visualbasic/System/Type/IsAssignableFrom/isassignablefrom_ex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TestIsAssignableFrom/VB/testisassignablefrom.vb b/snippets/visualbasic/System/Type/IsAssignableFrom/testisassignablefrom.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TestIsAssignableFrom/VB/testisassignablefrom.vb rename to snippets/visualbasic/System/Type/IsAssignableFrom/testisassignablefrom.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_IsAutoLayout/VB/type_isautolayout.vb b/snippets/visualbasic/System/Type/IsAutoLayout/type_isautolayout.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_IsAutoLayout/VB/type_isautolayout.vb rename to snippets/visualbasic/System/Type/IsAutoLayout/type_isautolayout.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_IsClass/VB/type_isclass.vb b/snippets/visualbasic/System/Type/IsClass/type_isclass.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_IsClass/VB/type_isclass.vb rename to snippets/visualbasic/System/Type/IsClass/type_isclass.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_IsContextful/VB/type_iscontextful.vb b/snippets/visualbasic/System/Type/IsContextful/type_iscontextful.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_IsContextful/VB/type_iscontextful.vb rename to snippets/visualbasic/System/Type/IsContextful/type_iscontextful.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_IsContextfulImpl/VB/type_iscontextfulimpl.vb b/snippets/visualbasic/System/Type/IsContextfulImpl/type_iscontextfulimpl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_IsContextfulImpl/VB/type_iscontextfulimpl.vb rename to snippets/visualbasic/System/Type/IsContextfulImpl/type_iscontextfulimpl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TestIsEnum/VB/testisenum.vb b/snippets/visualbasic/System/Type/IsEnum/testisenum.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TestIsEnum/VB/testisenum.vb rename to snippets/visualbasic/System/Type/IsEnum/testisenum.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_IsExplicitLayout/VB/type_isexplicitlayout.vb b/snippets/visualbasic/System/Type/IsExplicitLayout/type_isexplicitlayout.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_IsExplicitLayout/VB/type_isexplicitlayout.vb rename to snippets/visualbasic/System/Type/IsExplicitLayout/type_isexplicitlayout.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericTypeDefinition/VB/source.vb b/snippets/visualbasic/System/Type/IsGenericParameter/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericTypeDefinition/VB/source.vb rename to snippets/visualbasic/System/Type/IsGenericParameter/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericType/vb/remarks.vb b/snippets/visualbasic/System/Type/IsGenericType/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericType/vb/remarks.vb rename to snippets/visualbasic/System/Type/IsGenericType/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericType/vb/source.vb b/snippets/visualbasic/System/Type/IsGenericType/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericType/vb/source.vb rename to snippets/visualbasic/System/Type/IsGenericType/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TestIsInstanceOfType/VB/testisinstanceoftype.vb b/snippets/visualbasic/System/Type/IsInstanceOfType/testisinstanceoftype.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TestIsInstanceOfType/VB/testisinstanceoftype.vb rename to snippets/visualbasic/System/Type/IsInstanceOfType/testisinstanceoftype.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_IsInterface/VB/type_isinterface.vb b/snippets/visualbasic/System/Type/IsInterface/type_isinterface.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_IsInterface/VB/type_isinterface.vb rename to snippets/visualbasic/System/Type/IsInterface/type_isinterface.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_IsLayoutSequential/VB/type_islayoutsequential.vb b/snippets/visualbasic/System/Type/IsLayoutSequential/type_islayoutsequential.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_IsLayoutSequential/VB/type_islayoutsequential.vb rename to snippets/visualbasic/System/Type/IsLayoutSequential/type_islayoutsequential.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_IsMarshalByRefImpl/VB/type_ismarshalbyrefimpl.vb b/snippets/visualbasic/System/Type/IsMarshalByRefImpl/type_ismarshalbyrefimpl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_IsMarshalByRefImpl/VB/type_ismarshalbyrefimpl.vb rename to snippets/visualbasic/System/Type/IsMarshalByRefImpl/type_ismarshalbyrefimpl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isnestedfamandassem/vb/isnestedfamilyandassembly1.vb b/snippets/visualbasic/System/Type/IsNested/isnestedfamilyandassembly1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.isnestedfamandassem/vb/isnestedfamilyandassembly1.vb rename to snippets/visualbasic/System/Type/IsNested/isnestedfamilyandassembly1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_IsPrimitiveImpl/VB/type_isprimitiveimpl.vb b/snippets/visualbasic/System/Type/IsPrimitiveImpl/type_isprimitiveimpl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_IsPrimitiveImpl/VB/type_isprimitiveimpl.vb rename to snippets/visualbasic/System/Type/IsPrimitiveImpl/type_isprimitiveimpl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type.IsPublic/VB/type_ispublic.vb b/snippets/visualbasic/System/Type/IsPublic/type_ispublic.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type.IsPublic/VB/type_ispublic.vb rename to snippets/visualbasic/System/Type/IsPublic/type_ispublic.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_IsSealed/VB/type_issealed.vb b/snippets/visualbasic/System/Type/IsSealed/type_issealed.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_IsSealed/VB/type_issealed.vb rename to snippets/visualbasic/System/Type/IsSealed/type_issealed.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_IsSerializable/VB/type_isserializable.vb b/snippets/visualbasic/System/Type/IsSerializable/type_isserializable.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_IsSerializable/VB/type_isserializable.vb rename to snippets/visualbasic/System/Type/IsSerializable/type_isserializable.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.issubclassof/vb/issubclassof_interface1.vb b/snippets/visualbasic/System/Type/IsSubclassOf/issubclassof_interface1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.issubclassof/vb/issubclassof_interface1.vb rename to snippets/visualbasic/System/Type/IsSubclassOf/issubclassof_interface1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TestIsSubclassOf/VB/testissubclassof.vb b/snippets/visualbasic/System/Type/IsSubclassOf/testissubclassof.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TestIsSubclassOf/VB/testissubclassof.vb rename to snippets/visualbasic/System/Type/IsSubclassOf/testissubclassof.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_IsValueType/VB/type_isvaluetype.vb b/snippets/visualbasic/System/Type/IsValueType/type_isvaluetype.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_IsValueType/VB/type_isvaluetype.vb rename to snippets/visualbasic/System/Type/IsValueType/type_isvaluetype.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsVisible/VB/source.vb b/snippets/visualbasic/System/Type/IsVisible/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsVisible/VB/source.vb rename to snippets/visualbasic/System/Type/IsVisible/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.MakeXxxType/VB/source.vb b/snippets/visualbasic/System/Type/MakeByRefType/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Type.MakeXxxType/VB/source.vb rename to snippets/visualbasic/System/Type/MakeByRefType/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_ToString/VB/type_tostring.vb b/snippets/visualbasic/System/Type/Module/type_tostring.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_ToString/VB/type_tostring.vb rename to snippets/visualbasic/System/Type/Module/type_tostring.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Type/vb/source.vb b/snippets/visualbasic/System/Type/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Type/vb/source.vb rename to snippets/visualbasic/System/Type/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type.StructLayoutAttribute/VB/source.vb b/snippets/visualbasic/System/Type/StructLayoutAttribute/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type.StructLayoutAttribute/VB/source.vb rename to snippets/visualbasic/System/Type/StructLayoutAttribute/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Type_TypeHandle/VB/type_typehandle.vb b/snippets/visualbasic/System/Type/TypeHandle/type_typehandle.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Type_TypeHandle/VB/type_typehandle.vb rename to snippets/visualbasic/System/Type/TypeHandle/type_typehandle.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TypeLoadException_Constructor2/VB/typeloadexception_constructor2.vb b/snippets/visualbasic/System/TypeLoadException/.ctor/typeloadexception_constructor2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TypeLoadException_Constructor2/VB/typeloadexception_constructor2.vb rename to snippets/visualbasic/System/TypeLoadException/.ctor/typeloadexception_constructor2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TypeLoadException_Constructor3/VB/typeloadexception_constructor3.vb b/snippets/visualbasic/System/TypeLoadException/.ctor/typeloadexception_constructor3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TypeLoadException_Constructor3/VB/typeloadexception_constructor3.vb rename to snippets/visualbasic/System/TypeLoadException/.ctor/typeloadexception_constructor3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TypeLoadException_GetObjectData/VB/typeloadexception_getobjectdata.vb b/snippets/visualbasic/System/TypeLoadException/.ctor/typeloadexception_getobjectdata.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TypeLoadException_GetObjectData/VB/typeloadexception_getobjectdata.vb rename to snippets/visualbasic/System/TypeLoadException/.ctor/typeloadexception_getobjectdata.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TypeLoadException_TypeName/VB/typeloadexception_typename.vb b/snippets/visualbasic/System/TypeLoadException/Message/typeloadexception_typename.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TypeLoadException_TypeName/VB/typeloadexception_typename.vb rename to snippets/visualbasic/System/TypeLoadException/Message/typeloadexception_typename.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.typedreference/vb/source.vb b/snippets/visualbasic/System/TypedReference/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.typedreference/vb/source.vb rename to snippets/visualbasic/System/TypedReference/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/UInt16 Example/VB/source.vb b/snippets/visualbasic/System/UInt16/CompareTo/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/UInt16 Example/VB/source.vb rename to snippets/visualbasic/System/UInt16/CompareTo/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.equals/vb/equalsoverl.vb b/snippets/visualbasic/System/UInt16/Equals/equalsoverl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.equals/vb/equalsoverl.vb rename to snippets/visualbasic/System/UInt16/Equals/equalsoverl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/UInt16_Equals/VB/uint16_equals.vb b/snippets/visualbasic/System/UInt16/Equals/uint16_equals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/UInt16_Equals/VB/uint16_equals.vb rename to snippets/visualbasic/System/UInt16/Equals/uint16_equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.UInt16.MaxValue/vb/MaxValue.vb b/snippets/visualbasic/System/UInt16/MaxValue/MaxValue.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.UInt16.MaxValue/vb/MaxValue.vb rename to snippets/visualbasic/System/UInt16/MaxValue/MaxValue.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.parse/vb/parseex2.vb b/snippets/visualbasic/System/UInt16/Parse/parseex2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.parse/vb/parseex2.vb rename to snippets/visualbasic/System/UInt16/Parse/parseex2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.parse/vb/parseex3.vb b/snippets/visualbasic/System/UInt16/Parse/parseex3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.parse/vb/parseex3.vb rename to snippets/visualbasic/System/UInt16/Parse/parseex3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.parse/vb/parseex4.vb b/snippets/visualbasic/System/UInt16/Parse/parseex4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.parse/vb/parseex4.vb rename to snippets/visualbasic/System/UInt16/Parse/parseex4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.parse/vb/parseex5.vb b/snippets/visualbasic/System/UInt16/Parse/parseex5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.parse/vb/parseex5.vb rename to snippets/visualbasic/System/UInt16/Parse/parseex5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.tostring/vb/tostring1.vb b/snippets/visualbasic/System/UInt16/ToString/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.tostring/vb/tostring1.vb rename to snippets/visualbasic/System/UInt16/ToString/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.tostring/vb/tostring2.vb b/snippets/visualbasic/System/UInt16/ToString/tostring2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.tostring/vb/tostring2.vb rename to snippets/visualbasic/System/UInt16/ToString/tostring2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.tostring/vb/tostring3.vb b/snippets/visualbasic/System/UInt16/ToString/tostring3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.tostring/vb/tostring3.vb rename to snippets/visualbasic/System/UInt16/ToString/tostring3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.tostring/vb/tostring4.vb b/snippets/visualbasic/System/UInt16/ToString/tostring4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.tostring/vb/tostring4.vb rename to snippets/visualbasic/System/UInt16/ToString/tostring4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tryparse/vb/tryparse1.vb b/snippets/visualbasic/System/UInt16/TryParse/tryparse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tryparse/vb/tryparse1.vb rename to snippets/visualbasic/System/UInt16/TryParse/tryparse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.tryparse/vb/tryparse2.vb b/snippets/visualbasic/System/UInt16/TryParse/tryparse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.tryparse/vb/tryparse2.vb rename to snippets/visualbasic/System/UInt16/TryParse/tryparse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tryparse/vb/tryparse2.vb b/snippets/visualbasic/System/UInt16/TryParse/tryparse21.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tryparse/vb/tryparse2.vb rename to snippets/visualbasic/System/UInt16/TryParse/tryparse21.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/UInt32 Example/VB/source.vb b/snippets/visualbasic/System/UInt32/CompareTo/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/UInt32 Example/VB/source.vb rename to snippets/visualbasic/System/UInt32/CompareTo/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.equals/vb/equalsoverl.vb b/snippets/visualbasic/System/UInt32/Equals/equalsoverl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.equals/vb/equalsoverl.vb rename to snippets/visualbasic/System/UInt32/Equals/equalsoverl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/UInt32_Equals/VB/uint32_equals.vb b/snippets/visualbasic/System/UInt32/Equals/uint32_equals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/UInt32_Equals/VB/uint32_equals.vb rename to snippets/visualbasic/System/UInt32/Equals/uint32_equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.UInt32.MaxValue/vb/MaxValue1.vb b/snippets/visualbasic/System/UInt32/MaxValue/MaxValue1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.UInt32.MaxValue/vb/MaxValue1.vb rename to snippets/visualbasic/System/UInt32/MaxValue/MaxValue1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.parse/vb/parse1.vb b/snippets/visualbasic/System/UInt32/Parse/parse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.parse/vb/parse1.vb rename to snippets/visualbasic/System/UInt32/Parse/parse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.parse/vb/parseex2.vb b/snippets/visualbasic/System/UInt32/Parse/parseex2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.parse/vb/parseex2.vb rename to snippets/visualbasic/System/UInt32/Parse/parseex2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.parse/vb/parseex4.vb b/snippets/visualbasic/System/UInt32/Parse/parseex4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.parse/vb/parseex4.vb rename to snippets/visualbasic/System/UInt32/Parse/parseex4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tostring/vb/tostring1.vb b/snippets/visualbasic/System/UInt32/ToString/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tostring/vb/tostring1.vb rename to snippets/visualbasic/System/UInt32/ToString/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tostring/vb/tostring2.vb b/snippets/visualbasic/System/UInt32/ToString/tostring2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tostring/vb/tostring2.vb rename to snippets/visualbasic/System/UInt32/ToString/tostring2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tostring/vb/tostring3.vb b/snippets/visualbasic/System/UInt32/ToString/tostring3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tostring/vb/tostring3.vb rename to snippets/visualbasic/System/UInt32/ToString/tostring3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tostring/vb/tostring4.vb b/snippets/visualbasic/System/UInt32/ToString/tostring4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tostring/vb/tostring4.vb rename to snippets/visualbasic/System/UInt32/ToString/tostring4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/UInt64 Example/VB/source.vb b/snippets/visualbasic/System/UInt64/CompareTo/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/UInt64 Example/VB/source.vb rename to snippets/visualbasic/System/UInt64/CompareTo/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.equals/vb/equals1.vb b/snippets/visualbasic/System/UInt64/Equals/equals1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.equals/vb/equals1.vb rename to snippets/visualbasic/System/UInt64/Equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.equals/vb/equalsoverl.vb b/snippets/visualbasic/System/UInt64/Equals/equalsoverl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.equals/vb/equalsoverl.vb rename to snippets/visualbasic/System/UInt64/Equals/equalsoverl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/UInt64_Equals/VB/uint64_equals.vb b/snippets/visualbasic/System/UInt64/Equals/uint64_equals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/UInt64_Equals/VB/uint64_equals.vb rename to snippets/visualbasic/System/UInt64/Equals/uint64_equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.UInt64.MaxValue/vb/MaxValue1.vb b/snippets/visualbasic/System/UInt64/MaxValue/MaxValue1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.UInt64.MaxValue/vb/MaxValue1.vb rename to snippets/visualbasic/System/UInt64/MaxValue/MaxValue1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.parse/vb/parse1.vb b/snippets/visualbasic/System/UInt64/Parse/parse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.parse/vb/parse1.vb rename to snippets/visualbasic/System/UInt64/Parse/parse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.parse/vb/parseex2.vb b/snippets/visualbasic/System/UInt64/Parse/parseex2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.parse/vb/parseex2.vb rename to snippets/visualbasic/System/UInt64/Parse/parseex2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.parse/vb/parseex4.vb b/snippets/visualbasic/System/UInt64/Parse/parseex4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.parse/vb/parseex4.vb rename to snippets/visualbasic/System/UInt64/Parse/parseex4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tostring/vb/tostring1.vb b/snippets/visualbasic/System/UInt64/ToString/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tostring/vb/tostring1.vb rename to snippets/visualbasic/System/UInt64/ToString/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tostring/vb/tostring2.vb b/snippets/visualbasic/System/UInt64/ToString/tostring2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tostring/vb/tostring2.vb rename to snippets/visualbasic/System/UInt64/ToString/tostring2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tostring/vb/tostring3.vb b/snippets/visualbasic/System/UInt64/ToString/tostring3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tostring/vb/tostring3.vb rename to snippets/visualbasic/System/UInt64/ToString/tostring3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tostring/vb/tostring4.vb b/snippets/visualbasic/System/UInt64/ToString/tostring4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tostring/vb/tostring4.vb rename to snippets/visualbasic/System/UInt64/ToString/tostring4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tryparse/vb/tryparse1.vb b/snippets/visualbasic/System/UInt64/TryParse/tryparse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tryparse/vb/tryparse1.vb rename to snippets/visualbasic/System/UInt64/TryParse/tryparse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tryparse/vb/tryparse2.vb b/snippets/visualbasic/System/UInt64/TryParse/tryparse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tryparse/vb/tryparse2.vb rename to snippets/visualbasic/System/UInt64/TryParse/tryparse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uintptr.add/vb/add1.vb b/snippets/visualbasic/System/UIntPtr/Add/add1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uintptr.add/vb/add1.vb rename to snippets/visualbasic/System/UIntPtr/Add/add1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uintptr.subtract/vb/subtract1.vb b/snippets/visualbasic/System/UIntPtr/Subtract/subtract1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uintptr.subtract/vb/subtract1.vb rename to snippets/visualbasic/System/UIntPtr/Subtract/subtract1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uintptr.op_addition/vb/op_addition1.vb b/snippets/visualbasic/System/UIntPtr/op_Addition/op_addition1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uintptr.op_addition/vb/op_addition1.vb rename to snippets/visualbasic/System/UIntPtr/op_Addition/op_addition1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uintptr.op_addition/vb/op_subtraction1.vb b/snippets/visualbasic/System/UIntPtr/op_Addition/op_subtraction1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uintptr.op_addition/vb/op_subtraction1.vb rename to snippets/visualbasic/System/UIntPtr/op_Addition/op_subtraction1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.unauthorizedaccessexception/vb/withio.vb b/snippets/visualbasic/System/UnauthorizedAccessException/Overview/withio.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.unauthorizedaccessexception/vb/withio.vb rename to snippets/visualbasic/System/UnauthorizedAccessException/Overview/withio.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AppDomain_UnhandledException/VB/unhandledexception.vb b/snippets/visualbasic/System/UnhandledExceptionEventArgs/ExceptionObject/unhandledexception.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AppDomain_UnhandledException/VB/unhandledexception.vb rename to snippets/visualbasic/System/UnhandledExceptionEventArgs/ExceptionObject/unhandledexception.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NCLUriEnhancements/VB/nclurienhancements.vb b/snippets/visualbasic/System/Uri/.ctor/nclurienhancements.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NCLUriEnhancements/VB/nclurienhancements.vb rename to snippets/visualbasic/System/Uri/.ctor/nclurienhancements.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.Uri Example/VB/source.vb b/snippets/visualbasic/System/Uri/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.Uri Example/VB/source.vb rename to snippets/visualbasic/System/Uri/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.Uri1 Example/VB/source.vb b/snippets/visualbasic/System/Uri/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.Uri1 Example/VB/source.vb rename to snippets/visualbasic/System/Uri/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.Uri3 Example/VB/source.vb b/snippets/visualbasic/System/Uri/.ctor/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.Uri3 Example/VB/source.vb rename to snippets/visualbasic/System/Uri/.ctor/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.Uri4 Example/VB/source.vb b/snippets/visualbasic/System/Uri/.ctor/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.Uri4 Example/VB/source.vb rename to snippets/visualbasic/System/Uri/.ctor/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.AbsolutePath Example/VB/source.vb b/snippets/visualbasic/System/Uri/AbsolutePath/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.AbsolutePath Example/VB/source.vb rename to snippets/visualbasic/System/Uri/AbsolutePath/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.AbsoluteUri Example/VB/source.vb b/snippets/visualbasic/System/Uri/AbsoluteUri/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.AbsoluteUri Example/VB/source.vb rename to snippets/visualbasic/System/Uri/AbsoluteUri/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.Authority Example/VB/source.vb b/snippets/visualbasic/System/Uri/Authority/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.Authority Example/VB/source.vb rename to snippets/visualbasic/System/Uri/Authority/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.CheckHostName Example/VB/source.vb b/snippets/visualbasic/System/Uri/CheckHostName/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.CheckHostName Example/VB/source.vb rename to snippets/visualbasic/System/Uri/CheckHostName/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NCLUriExamples/VB/uriexamples.vb b/snippets/visualbasic/System/Uri/CheckSchemeName/uriexamples.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NCLUriExamples/VB/uriexamples.vb rename to snippets/visualbasic/System/Uri/CheckSchemeName/uriexamples.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.Host Example/VB/source.vb b/snippets/visualbasic/System/Uri/Host/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.Host Example/VB/source.vb rename to snippets/visualbasic/System/Uri/Host/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Authentication/VB/Project.vbproj b/snippets/visualbasic/System/Uri/Overview/Project.vbproj similarity index 95% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Net.Authentication/VB/Project.vbproj rename to snippets/visualbasic/System/Uri/Overview/Project.vbproj index e87b87cc0cd..adbde6e0619 100644 --- a/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Authentication/VB/Project.vbproj +++ b/snippets/visualbasic/System/Uri/Overview/Project.vbproj @@ -1,8 +1,8 @@ - - - - Exe - net6.0 - - + + + + Exe + net6.0 + + \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic Uri Example/VB/source.vb b/snippets/visualbasic/System/Uri/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic Uri Example/VB/source.vb rename to snippets/visualbasic/System/Uri/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.PathAndQuery Example/VB/source.vb b/snippets/visualbasic/System/Uri/PathAndQuery/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.PathAndQuery Example/VB/source.vb rename to snippets/visualbasic/System/Uri/PathAndQuery/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.Port Example/VB/source.vb b/snippets/visualbasic/System/Uri/Port/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.Port Example/VB/source.vb rename to snippets/visualbasic/System/Uri/Port/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.Scheme Example/VB/source.vb b/snippets/visualbasic/System/Uri/Scheme/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.Scheme Example/VB/source.vb rename to snippets/visualbasic/System/Uri/Scheme/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic UriBuilder.UriBuilder3 Example/VB/source.vb b/snippets/visualbasic/System/UriBuilder/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic UriBuilder.UriBuilder3 Example/VB/source.vb rename to snippets/visualbasic/System/UriBuilder/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic UriBuilder.UriBuilder4 Example/VB/source.vb b/snippets/visualbasic/System/UriBuilder/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic UriBuilder.UriBuilder4 Example/VB/source.vb rename to snippets/visualbasic/System/UriBuilder/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic UriBuilder.UriBuilder5 Example/VB/source.vb b/snippets/visualbasic/System/UriBuilder/.ctor/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic UriBuilder.UriBuilder5 Example/VB/source.vb rename to snippets/visualbasic/System/UriBuilder/.ctor/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic UriBuilder.UriBuilder6 Example/VB/source.vb b/snippets/visualbasic/System/UriBuilder/.ctor/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic UriBuilder.UriBuilder6 Example/VB/source.vb rename to snippets/visualbasic/System/UriBuilder/.ctor/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/Classic UriBuilder.Fragment Example/VB/source.vb b/snippets/visualbasic/System/UriBuilder/Fragment/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/Classic UriBuilder.Fragment Example/VB/source.vb rename to snippets/visualbasic/System/UriBuilder/Fragment/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.valuetype.structure/vb/example1.vb b/snippets/visualbasic/System/ValueType/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.valuetype.structure/vb/example1.vb rename to snippets/visualbasic/System/ValueType/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.ValueType.ToString/vb/ToString2.vb b/snippets/visualbasic/System/ValueType/ToString/ToString2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.ValueType.ToString/vb/ToString2.vb rename to snippets/visualbasic/System/ValueType/ToString/ToString2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.version.revision/vb/rev.vb b/snippets/visualbasic/System/Version/.ctor/rev.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.version.revision/vb/rev.vb rename to snippets/visualbasic/System/Version/.ctor/rev.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Version.Class/vb/example1.vb b/snippets/visualbasic/System/Version/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Version.Class/vb/example1.vb rename to snippets/visualbasic/System/Version/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.version.parse/vb/parse1.vb b/snippets/visualbasic/System/Version/Parse/parse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.version.parse/vb/parse1.vb rename to snippets/visualbasic/System/Version/Parse/parse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.version.tryparse/vb/tryparse1.vb b/snippets/visualbasic/System/Version/TryParse/tryparse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.version.tryparse/vb/tryparse1.vb rename to snippets/visualbasic/System/Version/TryParse/tryparse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/WeakReference/vb/Module1.vb b/snippets/visualbasic/System/WeakReference/Overview/Module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/WeakReference/vb/Module1.vb rename to snippets/visualbasic/System/WeakReference/Overview/Module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/vb/AddInSideAdapters.vbproj b/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/vb/AddInSideAdapters.vbproj deleted file mode 100644 index 86077f8d2c3..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/vb/AddInSideAdapters.vbproj +++ /dev/null @@ -1,73 +0,0 @@ - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {181291F2-FE25-4575-BBC8-D24EC22CC017} - Library - Properties - - - AddInSideAdapters - - - true - full - false - bin\debug - true - true - prompt - - - pdbonly - true - bin\debug - false - true - prompt - - - - False - .\AddInViews.dll - - - False - .\LibraryContracts.dll - - - - False - ..\..\..\Orcas\Assemblies\System.AddIn.dll - - - False - ..\..\..\Orcas\Assemblies\System.AddIn.Contract.dll - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/vb/Properties/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/vb/Properties/AssemblyInfo.vb deleted file mode 100644 index 7d219ad469c..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/vb/Properties/AssemblyInfo.vb +++ /dev/null @@ -1,35 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.CompilerServices -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - - - - - - - - - -' Setting ComVisible to false makes the types in this assembly not visible -' to COM components. If you need to access a type in this assembly from -' COM, set the ComVisible attribute to true on that type. - - -' The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Revision and Build Numbers -' by using the '*' as shown below: - - diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHost/vb/ListAdaptersHost.vbproj b/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHost/vb/ListAdaptersHost.vbproj deleted file mode 100644 index 380584f9829..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHost/vb/ListAdaptersHost.vbproj +++ /dev/null @@ -1,92 +0,0 @@ - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {A33684C3-B744-4B70-B5AD-E674851825FC} - Exe - Properties - - - ListAdaptersHost - 1E7AF24558416A01014BF87A554E10208696A3C3 - ListAdaptersHost_TemporaryKey.pfx - false - false - C:\vsproj\ListAdaptersSample\output\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 1.0.0.%2a - false - true - LocalIntranet - - - true - full - false - bin\debug - true - true - prompt - - - pdbonly - true - bin\debug - false - true - prompt - - - - False - .\HAV.dll - - - - False - ..\..\..\Orcas\Assemblies\System.AddIn.dll - - - False - ..\..\..\Orcas\Assemblies\System.AddIn.Contract.dll - - - - - - - - - - - False - .NET Framework 2.0 - true - - - - - - - - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHost/vb/Program.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHost/vb/Program.vb deleted file mode 100644 index b1b308ffae6..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHost/vb/Program.vb +++ /dev/null @@ -1,200 +0,0 @@ -' - -Imports System.Collections.Generic -Imports System.Collections.ObjectModel -Imports System.Text -Imports LibraryContractsHAV -Imports System.AddIn.Hosting -Imports System.Xml - - -Namespace ListAdaptersHost -Friend Class Program -Shared Sub Main(ByVal args As String()) - - ' - ' In this example, the pipeline root is the current directory. - Dim pipeRoot As String = Environment.CurrentDirectory - - ' Rebuild the cache of pipeline and add-in information. - Dim warnings As String() = AddInStore.Update(pipeRoot) - If warnings.Length > 0 Then - For Each one As String In warnings - Console.WriteLine(one) - Next one - End If - ' - - ' - ' Find add-ins of type LibraryManager under the specified pipeline root directory. - Dim tokens As Collection(Of AddInToken) = AddInStore.FindAddIns(GetType(LibraryManager), pipeRoot) - ' - ' Determine which add-in to use. - Dim selectedToken As AddInToken = ChooseAddIn(tokens) - - ' - ' Activate the selected AddInToken in a new - ' application domain with a specified security trust level. - Dim manager As LibraryManager = selectedToken.Activate(Of LibraryManager)(AddInSecurityLevel.FullTrust) - ' - - ' Create a collection of books. - Dim books As IList(Of BookInfo) = CreateBooks() - - ' Show the collection count. - Console.WriteLine("Number of books: {0}",books.Count.ToString()) - - ' Have the add-in process the books. - ' The add-in will discount computer books by $20 - ' and list their before and after prices. It - ' will also remove all horror books. - manager.ProcessBooks(books) - - ' List the genre of each book. There - ' should be no horror books. - For Each bk As BookInfo In books - Console.WriteLine(bk.Genre()) - Next bk - - Console.WriteLine("Number of books: {0}", books.Count.ToString()) - - Console.WriteLine() - ' Have the add-in pass a BookInfo object - ' of the best selling book. - Dim bestBook As BookInfo = manager.GetBestSeller() - Console.WriteLine("Best seller is {0} by {1}", bestBook.Title(), bestBook.Author()) - - ' Have the add-in show the sales tax rate. - manager.Data("sales tax") - - ' - Dim ctrl As AddInController = AddInController.GetAddInController(manager) - ctrl.Shutdown() - ' - Console.WriteLine("Press any key to exit.") - Console.ReadLine() -End Sub - - - -Private Shared Function ChooseAddIn(ByVal tokens As Collection(Of AddInToken)) As AddInToken - If tokens.Count = 0 Then - Console.WriteLine("No add-ins of this type are available") - Return Nothing - End If - Console.WriteLine("{0} Available add-in(s):",tokens.Count.ToString()) - ' - For i As Integer = 0 To tokens.Count - 1 - ' Show AddInToken properties. - Console.WriteLine("[{0}] - {1}, Publisher: {2}, Version: {3}, Description: {4}", (i + 1).ToString(), tokens(i).Name, tokens(i).Publisher, tokens(i).Version, tokens(i).Description) - Next i - ' - Console.WriteLine("Select add-in by number:") - Dim line As String = Console.ReadLine() - Dim selection As Integer - If Int32.TryParse(line, selection) Then - If selection <= tokens.Count Then - Return tokens(selection - 1) - End If - End If - Console.WriteLine("Invalid selection: {0}. Please choose again.", line) - Return ChooseAddIn(tokens) -End Function - - -Friend Shared Function CreateBooks() As IList(Of BookInfo) - Dim books As List(Of BookInfo) = New List(Of BookInfo)() - - Dim ParamId As String = "" - Dim ParamAuthor As String = "" - Dim ParamTitle As String = "" - Dim ParamGenre As String = "" - Dim ParamPrice As String = "" - Dim ParamPublish_Date As String = "" - Dim ParamDescription As String = "" - - Dim xDoc As XmlDocument = New XmlDocument() - xDoc.Load("c:\Books.xml") - - Dim xRoot As XmlNode = xDoc.DocumentElement - If xRoot.Name = "catalog" Then - Dim bklist As XmlNodeList = xRoot.ChildNodes - For Each bk As XmlNode In bklist - ParamId = bk.Attributes(0).Value - Dim dataItems As XmlNodeList = bk.ChildNodes - Dim items As Integer = dataItems.Count - For Each di As XmlNode In dataItems - Select Case di.Name - Case "author" - ParamAuthor = di.InnerText - Case "title" - ParamTitle = di.InnerText - Case "genre" - ParamGenre = di.InnerText - Case "price" - ParamPrice = di.InnerText - Case "publish_date" - ParamAuthor = di.InnerText - Case "description" - ParamDescription = di.InnerText - Case Else - End Select - - Next di - books.Add(New MyBookInfo(ParamId, ParamAuthor, ParamTitle, ParamGenre, ParamPrice, ParamPublish_Date, ParamDescription)) - Next bk - - End If - Return books -End Function - - -End Class - -Friend Class MyBookInfo - Inherits BookInfo - Private _id As String - Private _author As String - Private _title As String - Private _genre As String - Private _price As String - Private _publish_date As String - Private _description As String - - Public Sub New(ByVal id As String, ByVal author As String, ByVal title As String, ByVal genre As String, ByVal price As String, ByVal publish_date As String, ByVal description As String) - _id = id - _author = author - _title = title - _genre = genre - _price = price - _publish_date = publish_date - _description = description - End Sub - - Public Overrides Function ID() As String - Return _id - End Function - - Public Overrides Function Title() As String - Return _title - End Function - - Public Overrides Function Author() As String - Return _author - End Function - - Public Overrides Function Genre() As String - Return _genre - End Function - Public Overrides Function Price() As String - Return _price - End Function - Public Overrides Function Publish_Date() As String - Return _publish_date - End Function - Public Overrides Function Description() As String - Return _description - End Function -End Class -End Namespace -' \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHost/vb/Properties/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHost/vb/Properties/AssemblyInfo.vb deleted file mode 100644 index e19bc33a876..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHost/vb/Properties/AssemblyInfo.vb +++ /dev/null @@ -1,33 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.CompilerServices -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - - - - - - - - - -' Setting ComVisible to false makes the types in this assembly not visible -' to COM components. If you need to access a type in this assembly from -' COM, set the ComVisible attribute to true on that type. - - -' The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' - - diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/vb/HostSideAdapters.vbproj b/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/vb/HostSideAdapters.vbproj deleted file mode 100644 index d572f3d2a9c..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/vb/HostSideAdapters.vbproj +++ /dev/null @@ -1,70 +0,0 @@ - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {B7D3E607-D1F1-48C1-8FB1-949028307DF0} - Library - Properties - - HostSideAdapters - - - true - full - false - bin\debug - true - true - prompt - - - pdbonly - true - bin\debug - false - true - prompt - - - - False - .\HAV.dll - - - False - .\LibraryContracts.dll - - - - False - ..\..\..\Orcas\Assemblies\System.AddIn.dll - - - False - ..\..\..\Orcas\Assemblies\System.AddIn.Contract.dll - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/vb/Properties/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/vb/Properties/AssemblyInfo.vb deleted file mode 100644 index 7d219ad469c..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/vb/Properties/AssemblyInfo.vb +++ /dev/null @@ -1,35 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.CompilerServices -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - - - - - - - - - -' Setting ComVisible to false makes the types in this assembly not visible -' to COM components. If you need to access a type in this assembly from -' COM, set the ComVisible attribute to true on that type. - - -' The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Revision and Build Numbers -' by using the '*' as shown below: - - diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/Calc1AddInSideAdapter.vbproj b/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/Calc1AddInSideAdapter.vbproj deleted file mode 100644 index c5a6883284e..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/Calc1AddInSideAdapter.vbproj +++ /dev/null @@ -1,129 +0,0 @@ - - - - Debug - AnyCPU - 9.0.20706 - 2.0 - {9730E25C-45F4-4220-B6CF-37E1C99E0BF8} - Library - Calc1AddInSideAdapter - Calc1AddInSideAdapter - 512 - Windows - v3.5 - On - Binary - Off - On - - - true - full - true - true - ..\..\%40Pipeline\AddInSideAdapters\ - Calc1AddInSideAdapter.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - Calc1AddInSideAdapter.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - False - ..\..\..\..\..\..\VSProj\Assemblies\System.AddIn.dll - 3.5 - - - False - ..\..\..\..\..\..\VSProj\Assemblies\System.AddIn.Contract.dll - 3.5 - - - - - 3.5 - - - 3.5 - - - 3.5 - - - - - - - - - - - - - - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - {BEA361D4-1D91-4423-BC84-6DA563A28E93} - Calc1AddInView - False - - - {0C5E72A2-2085-4A31-A881-DE4EB444F7D0} - Calc1Contract - False - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/My Project/assemblyinfo.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/My Project/assemblyinfo.vb deleted file mode 100644 index 444c028286b..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/My Project/assemblyinfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/Calc1AddInView.vbproj b/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/Calc1AddInView.vbproj deleted file mode 100644 index 6898dcfebd5..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/Calc1AddInView.vbproj +++ /dev/null @@ -1,112 +0,0 @@ - - - - Debug - AnyCPU - 9.0.20706 - 2.0 - {BEA361D4-1D91-4423-BC84-6DA563A28E93} - Library - Calc1AddInView - Calc1AddInView - 512 - Windows - v3.5 - On - Binary - Off - On - - - true - full - true - true - ..\..\%40Pipeline\addinviews\ - Calc1AddInView.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - Calc1AddInView.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - False - ..\..\..\..\..\..\VSProj\Assemblies\System.AddIn.dll - 3.5 - - - - - 3.5 - - - 3.5 - - - 3.5 - - - - - - - - - - - - - - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/My Project/Application.Designer.vb deleted file mode 100644 index 0e8f9f4ce37..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/My Project/Application.Designer.vb +++ /dev/null @@ -1,13 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.1378 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/My Project/Application.myapp deleted file mode 100644 index 758895def25..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/My Project/Application.myapp +++ /dev/null @@ -1,10 +0,0 @@ - - - false - false - 0 - true - 0 - 1 - true - diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/My Project/assemblyinfo.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/My Project/assemblyinfo.vb deleted file mode 100644 index b1620784ecc..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/My Project/assemblyinfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/Calc1Contract.vbproj b/snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/Calc1Contract.vbproj deleted file mode 100644 index d10fce1be4f..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/Calc1Contract.vbproj +++ /dev/null @@ -1,117 +0,0 @@ - - - - Debug - AnyCPU - 9.0.20706 - 2.0 - {0C5E72A2-2085-4A31-A881-DE4EB444F7D0} - Library - Calc1Contract - Calc1Contract - 512 - Windows - v3.5 - On - Binary - Off - On - - - true - full - true - true - ..\..\%40Pipeline\contracts\ - ICalc1Contract.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - ICalc1Contract.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - False - ..\..\..\..\..\..\VSProj\Assemblies\System.AddIn.dll - 3.5 - - - False - ..\..\..\..\..\..\VSProj\Assemblies\System.AddIn.Contract.dll - 3.5 - - - - - 3.5 - - - 3.5 - - - 3.5 - - - - - - - - - - - - - - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/My Project/Application.Designer.vb deleted file mode 100644 index 0e8f9f4ce37..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/My Project/Application.Designer.vb +++ /dev/null @@ -1,13 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.1378 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/My Project/Application.myapp deleted file mode 100644 index 758895def25..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/My Project/Application.myapp +++ /dev/null @@ -1,10 +0,0 @@ - - - false - false - 0 - true - 0 - 1 - true - diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/My Project/assemblyinfo.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/My Project/assemblyinfo.vb deleted file mode 100644 index 6cefc8badaf..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/My Project/assemblyinfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/Calc1HostSideSideAdapter.vbproj b/snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/Calc1HostSideSideAdapter.vbproj deleted file mode 100644 index 7943cb8b996..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/Calc1HostSideSideAdapter.vbproj +++ /dev/null @@ -1,129 +0,0 @@ - - - - Debug - AnyCPU - 9.0.20706 - 2.0 - {03E27DE1-7374-44F2-94C2-0B6FCED313F4} - Library - Calc1HostSideAdapter - Calc1HostSideSideAdapter - 512 - Windows - v3.5 - On - Binary - Off - On - - - true - full - true - true - ..\..\%40Pipeline\HostSideAdapters\ - Calc1HostSideSideAdapter.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - Calc1HostSideSideAdapter.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - False - ..\..\..\..\..\..\VSProj\Assemblies\System.AddIn.dll - 3.5 - - - False - ..\..\..\..\..\..\VSProj\Assemblies\System.AddIn.Contract.dll - 3.5 - - - - - 3.5 - - - 3.5 - - - 3.5 - - - - - - - - - - - - - - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - {0C5E72A2-2085-4A31-A881-DE4EB444F7D0} - Calc1Contract - False - - - {04A52E87-8B3D-4AF2-82D9-80F55FCF291D} - Calc1HVA - False - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/My Project/Application.Designer.vb deleted file mode 100644 index 0e8f9f4ce37..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/My Project/Application.Designer.vb +++ /dev/null @@ -1,13 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.1378 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/My Project/Application.myapp deleted file mode 100644 index 758895def25..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/My Project/Application.myapp +++ /dev/null @@ -1,10 +0,0 @@ - - - false - false - 0 - true - 0 - 1 - true - diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/My Project/assemblyinfo.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/My Project/assemblyinfo.vb deleted file mode 100644 index cd2ed47ea61..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/My Project/assemblyinfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/AddInCalcV2.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/AddInCalcV2.vb deleted file mode 100644 index a97c69a3025..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/AddInCalcV2.vb +++ /dev/null @@ -1,51 +0,0 @@ -' - -Imports System.Collections.Generic -Imports System.Text -Imports System.AddIn -Imports System.AddIn.Pipeline -Imports Calc2AddInView.CalcAddInViews - -Namespace CalculatorAddIns -' -' This pipeline segment has -' two attributes: -' 1 - An AddInAttribute to identify -' this segment as an add-in. -' -' 2 - A QualificationDataAttribute to -' indicate that the add-in should -' be loaded into a new application domain. - - _ - _ - Public Class SampleV2AddIn -' - Inherits Calculator2 -Public Overrides ReadOnly Property Operations() As String - Get - Return "+, -, *, /, **" - End Get -End Property - -Public Overrides Function Operate(ByVal operation As String, _ - ByVal a As Double, ByVal b As Double) As Double - Select Case operation - Case "+" - Return a + b - Case "-" - Return a - b - Case "*" - Return a * b - Case "/" - Return a / b - Case "**" - Return Math.Pow(a, b) - Case Else - Throw New InvalidOperationException("This add-in does not support: " & operation) - End Select -End Function - -End Class -End Namespace -' \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/My Project/Application.Designer.vb deleted file mode 100644 index 0e8f9f4ce37..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/My Project/Application.Designer.vb +++ /dev/null @@ -1,13 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.1378 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/My Project/Application.myapp deleted file mode 100644 index 758895def25..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/My Project/Application.myapp +++ /dev/null @@ -1,10 +0,0 @@ - - - false - false - 0 - true - 0 - 1 - true - diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/My Project/Settings.Designer.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/My Project/Settings.Designer.vb deleted file mode 100644 index 48df2ea7603..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/My Project/Settings.Designer.vb +++ /dev/null @@ -1,73 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.1378 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - _ - Partial Friend NotInheritable Class MySettings - Inherits Global.System.Configuration.ApplicationSettingsBase - - Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) - -#Region "My.Settings Auto-Save Functionality" -#If _MyType = "WindowsForms" Then - Private Shared addedHandler As Boolean - - Private Shared addedHandlerLockObject As New Object - - _ - Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) - If My.Application.SaveMySettingsOnExit Then - My.Settings.Save() - End If - End Sub -#End If -#End Region - - Public Shared ReadOnly Property [Default]() As MySettings - Get - -#If _MyType = "WindowsForms" Then - If Not addedHandler Then - SyncLock addedHandlerLockObject - If Not addedHandler Then - AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings - addedHandler = True - End If - End SyncLock - End If -#End If - Return defaultInstance - End Get - End Property - End Class -End Namespace - -Namespace My - - _ - Friend Module MySettingsProperty - - _ - Friend ReadOnly Property Settings() As Global.AddInCalcV2.My.MySettings - Get - Return Global.AddInCalcV2.My.MySettings.Default - End Get - End Property - End Module -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/Calc2HostSideAdapter.vbproj b/snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/Calc2HostSideAdapter.vbproj deleted file mode 100644 index c42ac52b873..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/Calc2HostSideAdapter.vbproj +++ /dev/null @@ -1,129 +0,0 @@ - - - - Debug - AnyCPU - 9.0.20706 - 2.0 - {6839223C-990B-47A9-A86C-F80B3BE87DA7} - Library - Calc2HostSideAdapter - Calc2HostSideAdapter - 512 - Windows - v3.5 - On - Binary - Off - On - - - true - full - true - true - ..\..\%40Pipeline\HostSideAdapters\ - Calc2HostSideAdapter.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - Calc2HostSideAdapter.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - False - ..\..\..\..\..\..\VSProj\Assemblies\System.AddIn.dll - 3.5 - - - False - ..\..\..\..\..\..\VSProj\Assemblies\System.AddIn.Contract.dll - 3.5 - - - - - 3.5 - - - 3.5 - - - 3.5 - - - - - - - - - - - - - - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - {8AA84073-D405-4860-9BB6-1956D7D355A6} - Calc2Contract - False - - - {70A39280-3D24-4D4D-B6B0-9496FB33ECD6} - Calc2HVA - False - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/My Project/Application.Designer.vb deleted file mode 100644 index 0e8f9f4ce37..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/My Project/Application.Designer.vb +++ /dev/null @@ -1,13 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.1378 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/My Project/Application.myapp deleted file mode 100644 index 758895def25..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/My Project/Application.myapp +++ /dev/null @@ -1,10 +0,0 @@ - - - false - false - 0 - true - 0 - 1 - true - diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/My Project/AssemblyInfo.vb deleted file mode 100644 index fa5c411c22b..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_CLR/ParseMethod/vb/Default.aspx.vb b/snippets/visualbasic/VS_Snippets_CLR/ParseMethod/vb/Default.aspx.vb deleted file mode 100644 index 7cb1c40f681..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/ParseMethod/vb/Default.aspx.vb +++ /dev/null @@ -1,231 +0,0 @@ -Option Strict On - -Imports System.Globalization -Imports System.Web.UI.WebControls - -Partial Class _Default - Inherits System.Web.UI.Page - - ' controls on web form - Dim inputNumber As TextBox - Dim outputNumber As Label - Dim WithEvents OkToSingle, OkToDouble, OkToDecimal, OkToInteger, OkToLong As Button - Dim WithEvents OkToUInteger, OkToULong As Button - - ' - Protected Sub OkToSingle_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles OkToSingle.Click - Dim locale As String - Dim culture As CultureInfo - Dim number As Single - - ' Return if string is empty - If String.IsNullOrEmpty(Me.inputNumber.Text) Then Exit Sub - - ' Get locale of web request to determine possible format of number - If Request.UserLanguages.Length = 0 Then Exit Sub - locale = Request.UserLanguages(0) - If String.IsNullOrEmpty(locale) Then Exit Sub - - ' Instantiate CultureInfo object for the user's locale - culture = New CultureInfo(locale) - - ' Convert user input from a string to a number - Try - number = Single.Parse(Me.inputNumber.Text, culture.NumberFormat) - Catch ex As FormatException - Exit Sub - Catch ex As OverflowException - Exit Sub - End Try - - ' Output number to label on web form - Me.outputNumber.Text = "Number is " & number.ToString() - End Sub - ' - - ' - Protected Sub OkToDouble_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles OkToDouble.Click - Dim locale As String - Dim culture As CultureInfo - Dim number As Double - - ' Return if string is empty - If String.IsNullOrEmpty(Me.inputNumber.Text) Then Exit Sub - - ' Get locale of web request to determine possible format of number - If Request.UserLanguages.Length = 0 Then Exit Sub - locale = Request.UserLanguages(0) - If String.IsNullOrEmpty(locale) Then Exit Sub - - ' Instantiate CultureInfo object for the user's locale - culture = New CultureInfo(locale) - - ' Convert user input from a string to a number - Try - number = Double.Parse(Me.inputNumber.Text, culture.NumberFormat) - Catch ex As FormatException - Exit Sub - Catch ex As Exception - Exit Sub - End Try - - ' Output number to label on web form - Me.outputNumber.Text = "Number is " & number.ToString() - End Sub - ' - - ' - Protected Sub OkToDecimal_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles OkToDecimal.Click - Dim locale As String - Dim culture As CultureInfo - Dim number As Decimal - - ' Return if string is empty - If String.IsNullOrEmpty(Me.inputNumber.Text) Then Exit Sub - - ' Get locale of web request to determine possible format of number - If Request.UserLanguages.Length = 0 Then Exit Sub - locale = Request.UserLanguages(0) - If String.IsNullOrEmpty(locale) Then Exit Sub - - ' Instantiate CultureInfo object for the user's locale - culture = New CultureInfo(locale) - - ' Convert user input from a string to a number - Try - number = Decimal.Parse(Me.inputNumber.Text, culture.NumberFormat) - Catch ex As FormatException - Exit Sub - Catch ex As Exception - Exit Sub - End Try - - ' Output number to label on web form - Me.outputNumber.Text = "Number is " & number.ToString() - End Sub - ' - - ' - Protected Sub OkToInteger_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles OkToInteger.Click - Dim locale As String - Dim culture As CultureInfo - Dim number As Integer - - ' Return if string is empty - If String.IsNullOrEmpty(Me.inputNumber.Text) Then Exit Sub - - ' Get locale of web request to determine possible format of number - If Request.UserLanguages.Length = 0 Then Exit Sub - locale = Request.UserLanguages(0) - If String.IsNullOrEmpty(locale) Then Exit Sub - - ' Instantiate CultureInfo object for the user's locale - culture = New CultureInfo(locale) - - ' Convert user input from a string to a number - Try - number = Int32.Parse(Me.inputNumber.Text, culture.NumberFormat) - Catch ex As FormatException - Exit Sub - Catch ex As Exception - Exit Sub - End Try - - ' Output number to label on web form - Me.outputNumber.Text = "Number is " & number.ToString() - End Sub - ' - - ' - Protected Sub OKToUInteger_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles OKToUInteger.Click - Dim locale As String - Dim culture As CultureInfo - Dim number As UInteger - - ' Return if string is empty - If String.IsNullOrEmpty(Me.inputNumber.Text) Then Exit Sub - - ' Get locale of web request to determine possible format of number - If Request.UserLanguages.Length = 0 Then Exit Sub - locale = Request.UserLanguages(0) - If String.IsNullOrEmpty(locale) Then Exit Sub - - ' Instantiate CultureInfo object for the user's locale - culture = New CultureInfo(locale) - - ' Convert user input from a string to a number - Try - number = UInt32.Parse(Me.inputNumber.Text, culture.NumberFormat) - Catch ex As FormatException - Exit Sub - Catch ex As Exception - Exit Sub - End Try - - ' Output number to label on web form - Me.outputNumber.Text = "Number is " & number.ToString() - End Sub - ' - - ' - Protected Sub OkToLong_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles OkToLong.Click - Dim locale As String - Dim culture As CultureInfo - Dim number As Long - - ' Return if string is empty - If String.IsNullOrEmpty(Me.inputNumber.Text) Then Exit Sub - - ' Get locale of web request to determine possible format of number - If Request.UserLanguages.Length = 0 Then Exit Sub - locale = Request.UserLanguages(0) - If String.IsNullOrEmpty(locale) Then Exit Sub - - ' Instantiate CultureInfo object for the user's locale - culture = New CultureInfo(locale) - - ' Convert user input from a string to a number - Try - number = Int64.Parse(Me.inputNumber.Text, culture.NumberFormat) - Catch ex As FormatException - Exit Sub - Catch ex As Exception - Exit Sub - End Try - - ' Output number to label on web form - Me.outputNumber.Text = "Number is " & number.ToString() - End Sub - ' - - ' - Protected Sub OkToULong_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles OkToULong.Click - Dim locale As String - Dim culture As CultureInfo - Dim number As ULong - - ' Return if string is empty - If String.IsNullOrEmpty(Me.inputNumber.Text) Then Exit Sub - - ' Get locale of web request to determine possible format of number - If Request.UserLanguages.Length = 0 Then Exit Sub - locale = Request.UserLanguages(0) - If String.IsNullOrEmpty(locale) Then Exit Sub - - ' Instantiate CultureInfo object for the user's locale - culture = New CultureInfo(locale) - - ' Convert user input from a string to a number - Try - number = UInt64.Parse(Me.inputNumber.Text, culture.NumberFormat) - Catch ex As FormatException - Exit Sub - Catch ex As Exception - Exit Sub - End Try - - ' Output number to label on web form - Me.outputNumber.Text = "Number is " & number.ToString() - End Sub - ' -End Class diff --git a/snippets/visualbasic/VS_Snippets_CLR/ParseMethod/vb/parsemethod.vbproj b/snippets/visualbasic/VS_Snippets_CLR/ParseMethod/vb/parsemethod.vbproj deleted file mode 100644 index 750a7967c3e..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/ParseMethod/vb/parsemethod.vbproj +++ /dev/null @@ -1,46 +0,0 @@ - - - - Release - AnyCPU - 9.0.30729 - 2.0 - {C124A897-7D7E-4486-AEB9-267A3FCF813D} - Library - VBClassLibrary - VBClassLibrary - 512 - Windows - v3.5 - On - Binary - On - On - - - none - false - . - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/My Project/Application.Designer.vb deleted file mode 100644 index 0e8f9f4ce37..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/My Project/Application.Designer.vb +++ /dev/null @@ -1,13 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.1378 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - diff --git a/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/My Project/Application.myapp deleted file mode 100644 index 758895def25..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/My Project/Application.myapp +++ /dev/null @@ -1,10 +0,0 @@ - - - false - false - 0 - true - 0 - 1 - true - diff --git a/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/My Project/assemblyinfo.vb b/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/My Project/assemblyinfo.vb deleted file mode 100644 index d9e923807fa..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/My Project/assemblyinfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/addinp3hostvb.vbproj b/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/addinp3hostvb.vbproj deleted file mode 100644 index 4e180c2acbf..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/addinp3hostvb.vbproj +++ /dev/null @@ -1,119 +0,0 @@ - - - - Debug - AnyCPU - 9.0.20706 - 2.0 - {703D6CF4-E4D8-4F34-B4E9-A1F25D081BB9} - Exe - P3HostVB - P3HostVB - 512 - Console - v3.5 - On - Binary - Off - On - - - - - true - full - true - true - ..\..\%40Pipeline\ - P3HostVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - P3HostVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - False - ..\..\..\..\..\..\VSProj\Assemblies\System.AddIn.dll - 3.5 - - - - - - 3.5 - - - 3.5 - - - 3.5 - - - - - - - - - - - - - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb b/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb deleted file mode 100644 index 555b3d57ae0..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb +++ /dev/null @@ -1,248 +0,0 @@ -' - -Imports System.Collections.Generic -Imports System.Collections.ObjectModel -Imports System.Text -Imports System.AddIn.Hosting -Imports CalcHVAs - -Namespace MathHost - Class Program - - Public Shared Sub Main() - -' -' Get the path for the pipeline root. -' Assumes that the current directory is the -' pipline directory structure root directory. -Dim pipeRoot As String = Environment.CurrentDirectory -' -' Update the cache files of the -' pipeline segments and add-ins. -Dim warnings() As String = AddInStore.Update(pipeRoot) -For Each warning As String In warnings - Console.WriteLine(warning) -Next - -' -' -' Search for add-ins of type Calculator (the host view of the add-in) -' specifying the host's application base, instead of a path, -' for the FindAddIns method. -Dim tokens As Collection(Of AddInToken) = _ - AddInStore.FindAddIns(GetType(Calculator), PipelineStoreLocation.ApplicationBase) -' -' - -' -'Ask the user which add-in they would like to use. -Dim selectedToken As AddInToken = ChooseAddIn(tokens) -'Activate the selected AddInToken in a new -'application domain with the Internet trust level. -Dim CalcAddIn As Calculator = selectedToken.Activate(Of Calculator)(AddInSecurityLevel.Internet) -'Run the add-in using a custom method. -RunCalculator(CalcAddIn) -' - -' -' Find a specific add-in. -' Construct the path to the add-in. -Dim addInFilePath As String = (pipeRoot + "\AddIns\P3AddIn2\P3AddIn2.dll") -' The fourth parameter, addinTypeName, takes the full name -' of the type qualified by its namespace. Same as AddInToken.AddInFullName. -Dim tokenColl As System.Collections.ObjectModel.Collection(Of AddInToken) = AddInStore.FindAddIn(GetType(Calculator), pipeRoot, addInFilePath, "CalcAddIns.P3AddIn2") -Console.WriteLine("Found {0}", tokenColl(0).Name) -' - -' -' Get the AddInController of a -' currently activated add-in (CalcAddIn). -Dim aiController As AddInController = AddInController.GetAddInController(CalcAddIn) - -' Select another token. -Dim selectedToken2 As AddInToken = ChooseAddIn(tokens) - -' Activate a second add-in, CalcAddIn2, in the same -' appliation domain and process as the first add-in by passing -' the first add-in's AddInEnvironment object to the Activate method. - -Dim aiEnvironment As AddInEnvironment = aiController.AddInEnvironment -Dim CalcAddIn2 As Calculator = _ - selectedToken2.Activate(Of Calculator)(aiEnvironment) - -' Get the AddInController for the second add-in to compare environments. -Dim aiController2 As AddInController = AddInController.GetAddInController(CalcAddIn2) - -Console.WriteLine("Add-ins in same application domain: {0}", _ - aiController.AppDomain.Equals(aiController2.AppDomain)) -Console.WriteLine("Add-ins in same process: {0}", _ - aiEnvironment.Process.Equals(aiController2.AddInEnvironment.Process)) -' - -' -' Get the application domain -' of an existing add-in (CalcAddIn). - -Dim aiCtrl As AddInController = AddInController.GetAddInController(CalcAddIn) -Dim AddInAppDom As AppDomain = aiCtrl.AppDomain - -' Activate another add-in in the same appliation domain. -Dim CalcAddIn3 As Calculator = selectedToken2.Activate(Of Calculator)(AddInAppDom) - -' Show that the CalcAddIn3 was loaded -' into CalcCaddIn's application domain. -Dim aic As AddInController = AddInController.GetAddInController(CalcAddIn3) -Console.WriteLine("Add-in loaded into existing application domain: {0}", _ - aic.AppDomain.Equals(AddInAppDom)) -' - -' -' Create an external process. -Dim pExternal As New AddInProcess() - -' Activate an add-in in the external process -' with a full trust security level. -Dim CalcAddIn4 As Calculator = _ - selectedToken.Activate(Of Calculator)(pExternal, _ - AddInSecurityLevel.FullTrust) - -' Show that the add-in is an external process -' by verifying that it is not in the current (host's) process. -Dim AddinCtl As AddInController = AddInController.GetAddInController(CalcAddIn4) -Console.WriteLine("Add-in in host's process: {0}", _ - AddinCtl.AddInEnvironment.Process.IsCurrentProcess) -' - -' -' Use qualification data to control -' how an add-in should be activated. - -If selectedToken.QualificationData(AddInSegmentType.AddIn)("Isolation").Equals("NewProcess") Then - ' Create an external process. - Dim external As AddInProcess = New AddInProcess - - ' Activate an add-in in an automatically generated - ' application domain with a full trust security level. - Dim CalcAddin5 As Calculator = _ - selectedToken.Activate(Of Calculator)(external, _ - AddInSecurityLevel.FullTrust) - Console.WriteLine("Add-in activated per qualification data.") -Else - Console.WriteLine("This add-in is not designated to be activated in a new process.") -End If -' - -' -' Show the qualification data for each -' token in an AddInToken collection. -For Each token As AddInToken In tokens - For Each qdi As QualificationDataItem In token - Console.WriteLine("{0} {1}\n\t QD Name: {2}, QD Value: {3}", _ - token.Name, qdi.Segment, qdi.Name, qdi.Value) - Next -Next -' - -End Sub -' -' Method to select a token by -' enumeratng the AddInToken collection. - -Private Shared Function ChooseAddIn(ByVal tokens As System.Collections.ObjectModel.Collection(Of AddInToken)) As AddInToken - If (tokens.Count = 0) Then - Console.WriteLine("No add-ins are available") - Return Nothing - End If - Console.WriteLine("Available add-ins: ") - ' - ' Show the token properties for each token - ' in the AddInToken collection (tokens), - ' preceded by the add-in number in [] brackets. - - Dim tokNumber As Integer = 1 - For Each tok As AddInToken In tokens - Console.WriteLine(vbTab & "{0}: {1} - {2}" & _ - vbLf & vbTab & "{3}" & _ - vbLf & vbTab & "{4}" & _ - vbLf & vbTab & "{5} - {6}", _ - tokNumber.ToString, tok.Name, _ - tok.AddInFullName, tok.AssemblyName, _ - tok.Description, tok.Version, tok.Publisher) - tokNumber = tokNumber + 1 - Next - ' - Console.WriteLine("Which calculator do you want to use?") - Dim line As String = Console.ReadLine - Dim selection As Integer - If Int32.TryParse(line, selection) Then - If (selection <= tokens.Count) Then - Return tokens((selection - 1)) - End If - End If - Console.WriteLine("Invalid selection: {0}. Please choose again.", line) - Return ChooseAddIn(tokens) - -End Function -' - -Private Shared Sub RunCalculator(ByVal calc As Calculator) - If IsNothing(calc) Then - 'No calculators were found, read a line and exit. - Console.ReadLine() - End If - Console.WriteLine(("Available operations: " + calc.Operations)) - Console.WriteLine("Type 'exit' to exit") - Dim line As String = Console.ReadLine - - While Not line.Equals("exit") - ' The Parser class parses the user's input. - Try - Dim c As Parser = New Parser(line) - Console.WriteLine(calc.Operate(c.Action, c.A, c.B)) - Catch Ex As System.Exception - Console.WriteLine("Invalid command: {0}. Commands must be formated: [number] [operation] [number]", line) - Console.WriteLine(("Available operations: " + calc.Operations)) - End Try - line = Console.ReadLine - - End While -End Sub - End Class - - Class Parser - - Private partA As Double - - Private partB As Double - - Private act As String - - Friend Sub New(ByVal line As String) - MyBase.New() - Dim parts() As String = line.Trim.Split(" ") - partA = Double.Parse(parts(0)) - act = parts(1) - partB = Double.Parse(parts(2)) - End Sub - - Public ReadOnly Property A() As Double - Get - Return partA - End Get - End Property - - Public ReadOnly Property B() As Double - Get - Return partB - End Get - End Property - - Public ReadOnly Property Action() As String - Get - Return act - End Get - End Property - End Class -End Namespace -' - diff --git a/snippets/visualbasic/VS_Snippets_CLR/enumequals/VB/EnumEquals.vb b/snippets/visualbasic/VS_Snippets_CLR/enumequals/VB/EnumEquals.vb deleted file mode 100644 index 04670e463c4..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/enumequals/VB/EnumEquals.vb +++ /dev/null @@ -1,54 +0,0 @@ -' -Public Class EqualsTest - Enum Colors - Red - Green - Blue - Yellow - End Enum - - Enum Mammals - Cat - Dog - Horse - Dolphin - End Enum - - Public Shared Sub Main() - Dim myPet As Mammals = Mammals.Cat - Dim myColor As Colors = Colors.Red - Dim yourPet As Mammals = Mammals.Dog - Dim yourColor As Colors = Colors.Red - Dim output as string - - Console.WriteLine("My favorite animal is a {0}", myPet) - Console.WriteLine("Your favorite animal is a {0}", yourPet) - If myPet.Equals(yourPet) Then output = "Yes" Else output = "No" - Console.WriteLine("Do we like the same animal? {0}", output) - - Console.WriteLine() - Console.WriteLine("My favorite color is {0}", myColor) - Console.WriteLine("Your favorite color is {0}", yourColor) - If myColor.Equals(yourColor) Then output = "Yes" Else output = "No" - Console.WriteLine("Do we like the same color? {0}", output) - - Console.WriteLine() - Console.WriteLine("The value of my color ({0}) is {1}", myColor, [Enum].Format(GetType(Colors), myColor, "d")) - Console.WriteLine("The value of my pet (a {0}) is {1}", myPet, [Enum].Format(GetType(Mammals), myPet, "d")) - Console.WriteLine("Even though they have the same value, are they equal? {0}", - If(myColor.Equals(myPet), "Yes", "No")) - End Sub -End Class -' The example displays the following output: -' My favorite animal is a Cat -' Your favorite animal is a Dog -' Do we like the same animal? No -' -' My favorite color is Red -' Your favorite color is Red -' Do we like the same color? Yes -' -' The value of my color (Red) is 0 -' The value of my pet (a Cat) is 0 -' Even though they have the same value, are they equal? No -' \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_CLR/streamreadwrite/vb/my project/assemblyinfo.vb b/snippets/visualbasic/VS_Snippets_CLR/streamreadwrite/vb/my project/assemblyinfo.vb deleted file mode 100644 index 1006fbb72de..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/streamreadwrite/vb/my project/assemblyinfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_CLR/streamreadwrite/vb/readwrite.vbproj b/snippets/visualbasic/VS_Snippets_CLR/streamreadwrite/vb/readwrite.vbproj deleted file mode 100644 index 0664697d025..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/streamreadwrite/vb/readwrite.vbproj +++ /dev/null @@ -1,134 +0,0 @@ - - - - Debug - AnyCPU - 9.0.30729 - 2.0 - {28CAE679-77C2-461B-B91D-55C33DA96238} - Exe - ReadWrite.Program - ReadWrite - ReadWrite - 512 - Console - v3.5 - On - Binary - Off - On - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 1.0.0.%2a - false - false - true - - - true - full - true - true - bin\Debug\ - ReadWrite.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - ReadWrite.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - 3.5 - - - 3.5 - - - 3.5 - - - - - - - - - - - - - - - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - False - .NET Framework Client Profile - false - - - False - .NET Framework 2.0 %28x86%29 - false - - - False - .NET Framework 3.0 %28x86%29 - false - - - False - .NET Framework 3.5 - false - - - False - .NET Framework 3.5 SP1 - true - - - False - Windows Installer 3.1 - true - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.txt.rgxCompInfo/vb/makefile b/snippets/visualbasic/VS_Snippets_CLR/sys.txt.rgxCompInfo/vb/makefile deleted file mode 100644 index 11c1ee0825f..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR/sys.txt.rgxCompInfo/vb/makefile +++ /dev/null @@ -1,11 +0,0 @@ -all : genFishRegex.exe useFishRegex.exe - -genFishRegex.exe: genFishRegex.vb - vbc genFishRegex.vb - -FishRegex.dll: genFishRegex.exe - genFishRegex.exe - -useFishRegex.exe: useFishRegex.vb FishRegex.dll - vbc /r:FishRegex.dll useFishRegex.vb - diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/Form1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/Form1.vb deleted file mode 100644 index 370bd399bd7..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/Form1.vb +++ /dev/null @@ -1,77 +0,0 @@ -Imports System.Data -Imports System.Data.SqlClient - -Public Class Form1 - - Private connectionString As String = "Data Source=RONPET59\SQLEXPRESS;Initial Catalog=SurveyDB;Integrated Security=True" - - Private Function CompareForMissing(ByVal value As Object) As Boolean - ' - Return DBNull.Value.Equals(value) - ' - End Function - - ' - Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load - ' Define ADO.NET objects. - Dim conn As New SqlConnection(connectionString) - Dim cmd As New SqlCommand - Dim dr As SqlDataReader - - ' Open connection, and retrieve dataset. - conn.Open() - - ' Define Command object. - cmd.CommandText = "Select * From Responses" - cmd.CommandType = CommandType.Text - cmd.Connection = conn - - ' Retrieve data reader. - dr = cmd.ExecuteReader() - - Dim fieldCount As Integer = dr.FieldCount - Dim fieldValues(fieldCount - 1) As Object - Dim headers(fieldCount - 1) As String - - ' Get names of fields. - For ctr As Integer = 0 To fieldCount - 1 - headers(ctr) = dr.GetName(ctr) - Next - - ' Set up data grid. - grid.ColumnCount = fieldCount - - With grid.ColumnHeadersDefaultCellStyle - .BackColor = Color.Navy - .ForeColor = Color.White - .Font = New Font(grid.Font, FontStyle.Bold) - End With - - With grid - .AutoSizeRowsMode = _ - DataGridViewAutoSizeRowsMode.DisplayedCellsExceptHeaders - .ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.Single - .CellBorderStyle = DataGridViewCellBorderStyle.Single - .GridColor = Color.Black - .RowHeadersVisible = True - - For columnNumber As Integer = 0 To headers.Length - 1 - .Columns(columnNumber).Name = headers(columnNumber) - Next - End With - - ' Get data, replace missing values with "NA", and display it. - Do While dr.Read() - dr.GetValues(fieldValues) - - For fieldCounter As Integer = 0 To fieldCount - 1 - If Convert.IsDBNull(fieldValues(fieldCounter)) Then - fieldValues(fieldCounter) = "NA" - End If - Next - grid.Rows.Add(fieldValues) - Loop - dr.Close() - End Sub - ' -End Class diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/IsDBNull_To_NA.vbproj b/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/IsDBNull_To_NA.vbproj deleted file mode 100644 index 406a9d2b880..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/IsDBNull_To_NA.vbproj +++ /dev/null @@ -1,105 +0,0 @@ - - - - Debug - AnyCPU - 9.0.30729 - 2.0 - {07E44C69-1092-4D57-82EC-E794DC6ABDF4} - WinExe - IsDBNull_To_NA.My.MyApplication - IsDBNull_To_NA - IsDBNull_To_NA - 512 - WindowsForms - v3.5 - On - Binary - On - On - - - true - full - true - true - bin\Debug\ - IsDBNull_To_NA.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - IsDBNull_To_NA.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - 3.5 - - - 3.5 - - - 3.5 - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - True - Resources.resx - - - - - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.ChangeAction/vb/change_action.vbproj b/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.ChangeAction/vb/change_action.vbproj deleted file mode 100644 index 6d374697c5a..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.ChangeAction/vb/change_action.vbproj +++ /dev/null @@ -1,77 +0,0 @@ - - - - Debug - AnyCPU - 9.0.20816 - 2.0 - {547A29CF-89CB-4E07-96FB-64AD80EF8B69} - Exe - - - change_action - change_action - 512 - Console - true - On - Binary - Off - On - v3.5 - - - true - full - true - true - bin\Debug\ - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - 3.5 - - - - 3.5 - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.DataContext/vb/DataContext.vbproj b/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.DataContext/vb/DataContext.vbproj deleted file mode 100644 index a4fda237cd0..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.DataContext/vb/DataContext.vbproj +++ /dev/null @@ -1,77 +0,0 @@ - - - - Debug - AnyCPU - 9.0.20730 - 2.0 - {D8AE9CC4-985D-4B93-884F-A6F1CBA05820} - Exe - - - DataContext - DataContext - 512 - Console - true - On - Binary - Off - On - v3.5 - - - true - full - true - true - bin\Debug\ - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - 3.5 - - - - 3.5 - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.AssociationAttribute/vb/assnattribute.vbproj b/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.AssociationAttribute/vb/assnattribute.vbproj deleted file mode 100644 index 7c5975d7b46..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.AssociationAttribute/vb/assnattribute.vbproj +++ /dev/null @@ -1,78 +0,0 @@ - - - - Debug - AnyCPU - 9.0.20810 - 2.0 - {6BDF019F-153A-4DF5-9C86-045ED1AC9761} - Exe - - - assnattribute - assnattribute - 512 - Console - true - On - Binary - Off - On - v3.5 - - - true - full - true - true - bin\Debug\ - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - 3.5 - - - - 3.5 - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.AssociationAttribute/vb/northwind.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.AssociationAttribute/vb/northwind.vb deleted file mode 100644 index b5bc8ba4e19..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.AssociationAttribute/vb/northwind.vb +++ /dev/null @@ -1,3899 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.1412 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - -Imports System.Collections.Generic -Imports System.ComponentModel -Imports System.Data -Imports System.Data.Linq -Imports System.Data.Linq.Mapping -Imports System.Linq -Imports System.Linq.Expressions -Imports System.Reflection - - - _ -Partial Public Class Northwnd - Inherits System.Data.Linq.DataContext - - Private Shared mappingSource As System.Data.Linq.Mapping.MappingSource = New AttributeMappingSource - - #Region "Extensibility Method Definitions" - Partial Private Sub OnCreated() - End Sub - Partial Private Sub InsertCategory(instance As Category) - End Sub - Partial Private Sub UpdateCategory(instance As Category) - End Sub - Partial Private Sub DeleteCategory(instance As Category) - End Sub - Partial Private Sub InsertCustomerCustomerDemo(instance As CustomerCustomerDemo) - End Sub - Partial Private Sub UpdateCustomerCustomerDemo(instance As CustomerCustomerDemo) - End Sub - Partial Private Sub DeleteCustomerCustomerDemo(instance As CustomerCustomerDemo) - End Sub - Partial Private Sub InsertCustomerDemographic(instance As CustomerDemographic) - End Sub - Partial Private Sub UpdateCustomerDemographic(instance As CustomerDemographic) - End Sub - Partial Private Sub DeleteCustomerDemographic(instance As CustomerDemographic) - End Sub - Partial Private Sub InsertCustomer(instance As Customer) - End Sub - Partial Private Sub UpdateCustomer(instance As Customer) - End Sub - Partial Private Sub DeleteCustomer(instance As Customer) - End Sub - Partial Private Sub InsertEmployee(instance As Employee) - End Sub - Partial Private Sub UpdateEmployee(instance As Employee) - End Sub - Partial Private Sub DeleteEmployee(instance As Employee) - End Sub - Partial Private Sub InsertEmployeeTerritory(instance As EmployeeTerritory) - End Sub - Partial Private Sub UpdateEmployeeTerritory(instance As EmployeeTerritory) - End Sub - Partial Private Sub DeleteEmployeeTerritory(instance As EmployeeTerritory) - End Sub - Partial Private Sub InsertOrderDetail(instance As OrderDetail) - End Sub - Partial Private Sub UpdateOrderDetail(instance As OrderDetail) - End Sub - Partial Private Sub DeleteOrderDetail(instance As OrderDetail) - End Sub - Partial Private Sub InsertOrder(instance As [Order]) - End Sub - Partial Private Sub UpdateOrder(instance As [Order]) - End Sub - Partial Private Sub DeleteOrder(instance As [Order]) - End Sub - Partial Private Sub InsertProduct(instance As Product) - End Sub - Partial Private Sub UpdateProduct(instance As Product) - End Sub - Partial Private Sub DeleteProduct(instance As Product) - End Sub - Partial Private Sub InsertRegion(instance As Region) - End Sub - Partial Private Sub UpdateRegion(instance As Region) - End Sub - Partial Private Sub DeleteRegion(instance As Region) - End Sub - Partial Private Sub InsertShipper(instance As Shipper) - End Sub - Partial Private Sub UpdateShipper(instance As Shipper) - End Sub - Partial Private Sub DeleteShipper(instance As Shipper) - End Sub - Partial Private Sub InsertSupplier(instance As Supplier) - End Sub - Partial Private Sub UpdateSupplier(instance As Supplier) - End Sub - Partial Private Sub DeleteSupplier(instance As Supplier) - End Sub - Partial Private Sub InsertTerritory(instance As Territory) - End Sub - Partial Private Sub UpdateTerritory(instance As Territory) - End Sub - Partial Private Sub DeleteTerritory(instance As Territory) - End Sub - #End Region - - Shared Sub New() - End Sub - - Public Sub New(ByVal connection As String) - MyBase.New(connection, mappingSource) - OnCreated - End Sub - - Public Sub New(ByVal connection As System.Data.IDbConnection) - MyBase.New(connection, mappingSource) - OnCreated - End Sub - - Public Sub New(ByVal connection As String, ByVal mappingSource As System.Data.Linq.Mapping.MappingSource) - MyBase.New(connection, mappingSource) - OnCreated - End Sub - - Public Sub New(ByVal connection As System.Data.IDbConnection, ByVal mappingSource As System.Data.Linq.Mapping.MappingSource) - MyBase.New(connection, mappingSource) - OnCreated - End Sub - - Public ReadOnly Property Categories() As System.Data.Linq.Table(Of Category) - Get - Return Me.GetTable(Of Category) - End Get - End Property - - Public ReadOnly Property CustomerCustomerDemos() As System.Data.Linq.Table(Of CustomerCustomerDemo) - Get - Return Me.GetTable(Of CustomerCustomerDemo) - End Get - End Property - - Public ReadOnly Property CustomerDemographics() As System.Data.Linq.Table(Of CustomerDemographic) - Get - Return Me.GetTable(Of CustomerDemographic) - End Get - End Property - - Public ReadOnly Property Customers() As System.Data.Linq.Table(Of Customer) - Get - Return Me.GetTable(Of Customer) - End Get - End Property - - Public ReadOnly Property Employees() As System.Data.Linq.Table(Of Employee) - Get - Return Me.GetTable(Of Employee) - End Get - End Property - - Public ReadOnly Property EmployeeTerritories() As System.Data.Linq.Table(Of EmployeeTerritory) - Get - Return Me.GetTable(Of EmployeeTerritory) - End Get - End Property - - Public ReadOnly Property OrderDetails() As System.Data.Linq.Table(Of OrderDetail) - Get - Return Me.GetTable(Of OrderDetail) - End Get - End Property - - Public ReadOnly Property Orders() As System.Data.Linq.Table(Of [Order]) - Get - Return Me.GetTable(Of [Order]) - End Get - End Property - - Public ReadOnly Property Products() As System.Data.Linq.Table(Of Product) - Get - Return Me.GetTable(Of Product) - End Get - End Property - - Public ReadOnly Property Regions() As System.Data.Linq.Table(Of Region) - Get - Return Me.GetTable(Of Region) - End Get - End Property - - Public ReadOnly Property Shippers() As System.Data.Linq.Table(Of Shipper) - Get - Return Me.GetTable(Of Shipper) - End Get - End Property - - Public ReadOnly Property Suppliers() As System.Data.Linq.Table(Of Supplier) - Get - Return Me.GetTable(Of Supplier) - End Get - End Property - - Public ReadOnly Property Territories() As System.Data.Linq.Table(Of Territory) - Get - Return Me.GetTable(Of Territory) - End Get - End Property - - _ - Public Function CustOrderHist( ByVal customerID As String) As ISingleResult(Of CustOrderHistResult) - Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), customerID) - Return CType(result.ReturnValue,ISingleResult(Of CustOrderHistResult)) - End Function - - _ - Public Function CustOrdersDetail( ByVal orderID As System.Nullable(Of Integer)) As ISingleResult(Of CustOrdersDetailResult) - Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), orderID) - Return CType(result.ReturnValue,ISingleResult(Of CustOrdersDetailResult)) - End Function - - _ - Public Function CustOrdersOrders( ByVal customerID As String) As ISingleResult(Of CustOrdersOrdersResult) - Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), customerID) - Return CType(result.ReturnValue,ISingleResult(Of CustOrdersOrdersResult)) - End Function - - _ - Public Function EmployeeSalesByCountry( ByVal beginning_Date As System.Nullable(Of Date), ByVal ending_Date As System.Nullable(Of Date)) As ISingleResult(Of EmployeeSalesByCountryResult) - Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), beginning_Date, ending_Date) - Return CType(result.ReturnValue,ISingleResult(Of EmployeeSalesByCountryResult)) - End Function - - _ - Public Function SalesByYear( ByVal beginning_Date As System.Nullable(Of Date), ByVal ending_Date As System.Nullable(Of Date)) As ISingleResult(Of SalesByYearResult) - Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), beginning_Date, ending_Date) - Return CType(result.ReturnValue,ISingleResult(Of SalesByYearResult)) - End Function - - _ - Public Function SalesByCategory( ByVal categoryName As String, ByVal ordYear As String) As ISingleResult(Of SalesByCategoryResult) - Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo), categoryName, ordYear) - Return CType(result.ReturnValue,ISingleResult(Of SalesByCategoryResult)) - End Function - - _ - Public Function TenMostExpensiveProducts() As ISingleResult(Of TenMostExpensiveProductsResult) - Dim result As IExecuteResult = Me.ExecuteMethodCall(Me, CType(MethodInfo.GetCurrentMethod,MethodInfo)) - Return CType(result.ReturnValue,ISingleResult(Of TenMostExpensiveProductsResult)) - End Function -End Class - - _ -Partial Public Class Category - Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged - - Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) - - Private _CategoryID As Integer - - Private _CategoryName As String - - Private _Description As String - - Private _Picture As System.Data.Linq.Binary - - Private _Products As EntitySet(Of Product) - - #Region "Extensibility Method Definitions" - Partial Private Sub OnLoaded() - End Sub - Partial Private Sub OnValidate() - End Sub - Partial Private Sub OnCreated() - End Sub - Partial Private Sub OnCategoryIDChanging(value As Integer) - End Sub - Partial Private Sub OnCategoryIDChanged() - End Sub - Partial Private Sub OnCategoryNameChanging(value As String) - End Sub - Partial Private Sub OnCategoryNameChanged() - End Sub - Partial Private Sub OnDescriptionChanging(value As String) - End Sub - Partial Private Sub OnDescriptionChanged() - End Sub - Partial Private Sub OnPictureChanging(value As System.Data.Linq.Binary) - End Sub - Partial Private Sub OnPictureChanged() - End Sub - #End Region - - Public Sub New() - MyBase.New - OnCreated - Me._Products = New EntitySet(Of Product)(AddressOf Me.attach_Products, AddressOf Me.detach_Products) - End Sub - - _ - Public Property CategoryID() As Integer - Get - Return Me._CategoryID - End Get - Set - If ((Me._CategoryID = value) _ - = false) Then - Me.OnCategoryIDChanging(value) - Me.SendPropertyChanging - Me._CategoryID = value - Me.SendPropertyChanged("CategoryID") - Me.OnCategoryIDChanged - End If - End Set - End Property - - _ - Public Property CategoryName() As String - Get - Return Me._CategoryName - End Get - Set - If (String.Equals(Me._CategoryName, value) = false) Then - Me.OnCategoryNameChanging(value) - Me.SendPropertyChanging - Me._CategoryName = value - Me.SendPropertyChanged("CategoryName") - Me.OnCategoryNameChanged - End If - End Set - End Property - - _ - Public Property Description() As String - Get - Return Me._Description - End Get - Set - If (String.Equals(Me._Description, value) = false) Then - Me.OnDescriptionChanging(value) - Me.SendPropertyChanging - Me._Description = value - Me.SendPropertyChanged("Description") - Me.OnDescriptionChanged - End If - End Set - End Property - - _ - Public Property Picture() As System.Data.Linq.Binary - Get - Return Me._Picture - End Get - Set - If (Me._Picture.Equals(value) = false) Then - Me.OnPictureChanging(value) - Me.SendPropertyChanging - Me._Picture = value - Me.SendPropertyChanged("Picture") - Me.OnPictureChanged - End If - End Set - End Property - - ' - _ - Public Property Products() As EntitySet(Of Product) - Get - Return Me._Products - End Get - Set - Me._Products.Assign(value) - End Set - End Property - ' - - Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging - - Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged - - Protected Overridable Sub SendPropertyChanging() - If ((Me.PropertyChangingEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) - End If - End Sub - - Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) - If ((Me.PropertyChangedEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) - End If - End Sub - - Private Sub attach_Products(ByVal entity As Product) - Me.SendPropertyChanging - entity.Category = Me - Me.SendPropertyChanged("Products") - End Sub - - Private Sub detach_Products(ByVal entity As Product) - Me.SendPropertyChanging - entity.Category = Nothing - Me.SendPropertyChanged("Products") - End Sub -End Class - - _ -Partial Public Class CustomerCustomerDemo - Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged - - Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) - - Private _CustomerID As String - - Private _CustomerTypeID As String - - Private _CustomerDemographic As EntityRef(Of CustomerDemographic) - - Private _Customer As EntityRef(Of Customer) - - #Region "Extensibility Method Definitions" - Partial Private Sub OnLoaded() - End Sub - Partial Private Sub OnValidate() - End Sub - Partial Private Sub OnCreated() - End Sub - Partial Private Sub OnCustomerIDChanging(value As String) - End Sub - Partial Private Sub OnCustomerIDChanged() - End Sub - Partial Private Sub OnCustomerTypeIDChanging(value As String) - End Sub - Partial Private Sub OnCustomerTypeIDChanged() - End Sub - #End Region - - Public Sub New() - MyBase.New - OnCreated - Me._CustomerDemographic = CType(Nothing, EntityRef(Of CustomerDemographic)) - Me._Customer = CType(Nothing, EntityRef(Of Customer)) - End Sub - - _ - Public Property CustomerID() As String - Get - Return Me._CustomerID - End Get - Set - If (String.Equals(Me._CustomerID, value) = false) Then - If Me._Customer.HasLoadedOrAssignedValue Then - Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException - End If - Me.OnCustomerIDChanging(value) - Me.SendPropertyChanging - Me._CustomerID = value - Me.SendPropertyChanged("CustomerID") - Me.OnCustomerIDChanged - End If - End Set - End Property - - _ - Public Property CustomerTypeID() As String - Get - Return Me._CustomerTypeID - End Get - Set - If (String.Equals(Me._CustomerTypeID, value) = false) Then - If Me._CustomerDemographic.HasLoadedOrAssignedValue Then - Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException - End If - Me.OnCustomerTypeIDChanging(value) - Me.SendPropertyChanging - Me._CustomerTypeID = value - Me.SendPropertyChanged("CustomerTypeID") - Me.OnCustomerTypeIDChanged - End If - End Set - End Property - - ' - _ - Public Property CustomerDemographic() As CustomerDemographic - Get - Return Me._CustomerDemographic.Entity - End Get - Set(ByVal value As CustomerDemographic) - Dim previousValue As CustomerDemographic = Me._CustomerDemographic.Entity - If (((previousValue Is value) _ - = False) _ - OrElse (Me._CustomerDemographic.HasLoadedOrAssignedValue = False)) Then - Me.SendPropertyChanging() - If ((previousValue Is Nothing) _ - = False) Then - Me._CustomerDemographic.Entity = Nothing - previousValue.CustomerCustomerDemos.Remove(Me) - End If - Me._CustomerDemographic.Entity = value - If ((value Is Nothing) _ - = False) Then - value.CustomerCustomerDemos.Add(Me) - Me._CustomerTypeID = value.CustomerTypeID - Else - Me._CustomerTypeID = CType(Nothing, String) - End If - Me.SendPropertyChanged("CustomerDemographic") - End If - End Set - End Property - ' - - _ - Public Property Customer() As Customer - Get - Return Me._Customer.Entity - End Get - Set - Dim previousValue As Customer = Me._Customer.Entity - If (((previousValue Is value) _ - = false) _ - OrElse (Me._Customer.HasLoadedOrAssignedValue = false)) Then - Me.SendPropertyChanging - If ((previousValue Is Nothing) _ - = false) Then - Me._Customer.Entity = Nothing - previousValue.CustomerCustomerDemos.Remove(Me) - End If - Me._Customer.Entity = value - If ((value Is Nothing) _ - = false) Then - value.CustomerCustomerDemos.Add(Me) - Me._CustomerID = value.CustomerID - Else - Me._CustomerID = CType(Nothing, String) - End If - Me.SendPropertyChanged("Customer") - End If - End Set - End Property - - Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging - - Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged - - Protected Overridable Sub SendPropertyChanging() - If ((Me.PropertyChangingEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) - End If - End Sub - - Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) - If ((Me.PropertyChangedEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) - End If - End Sub -End Class - - _ -Partial Public Class CustomerDemographic - Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged - - Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) - - Private _CustomerTypeID As String - - Private _CustomerDesc As String - - Private _CustomerCustomerDemos As EntitySet(Of CustomerCustomerDemo) - - #Region "Extensibility Method Definitions" - Partial Private Sub OnLoaded() - End Sub - Partial Private Sub OnValidate() - End Sub - Partial Private Sub OnCreated() - End Sub - Partial Private Sub OnCustomerTypeIDChanging(value As String) - End Sub - Partial Private Sub OnCustomerTypeIDChanged() - End Sub - Partial Private Sub OnCustomerDescChanging(value As String) - End Sub - Partial Private Sub OnCustomerDescChanged() - End Sub - #End Region - - Public Sub New() - MyBase.New - OnCreated - Me._CustomerCustomerDemos = New EntitySet(Of CustomerCustomerDemo)(AddressOf Me.attach_CustomerCustomerDemos, AddressOf Me.detach_CustomerCustomerDemos) - End Sub - - _ - Public Property CustomerTypeID() As String - Get - Return Me._CustomerTypeID - End Get - Set - If (String.Equals(Me._CustomerTypeID, value) = false) Then - Me.OnCustomerTypeIDChanging(value) - Me.SendPropertyChanging - Me._CustomerTypeID = value - Me.SendPropertyChanged("CustomerTypeID") - Me.OnCustomerTypeIDChanged - End If - End Set - End Property - - _ - Public Property CustomerDesc() As String - Get - Return Me._CustomerDesc - End Get - Set - If (String.Equals(Me._CustomerDesc, value) = false) Then - Me.OnCustomerDescChanging(value) - Me.SendPropertyChanging - Me._CustomerDesc = value - Me.SendPropertyChanged("CustomerDesc") - Me.OnCustomerDescChanged - End If - End Set - End Property - - _ - Public Property CustomerCustomerDemos() As EntitySet(Of CustomerCustomerDemo) - Get - Return Me._CustomerCustomerDemos - End Get - Set - Me._CustomerCustomerDemos.Assign(value) - End Set - End Property - - Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging - - Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged - - Protected Overridable Sub SendPropertyChanging() - If ((Me.PropertyChangingEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) - End If - End Sub - - Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) - If ((Me.PropertyChangedEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) - End If - End Sub - - Private Sub attach_CustomerCustomerDemos(ByVal entity As CustomerCustomerDemo) - Me.SendPropertyChanging - entity.CustomerDemographic = Me - Me.SendPropertyChanged("CustomerCustomerDemos") - End Sub - - Private Sub detach_CustomerCustomerDemos(ByVal entity As CustomerCustomerDemo) - Me.SendPropertyChanging - entity.CustomerDemographic = Nothing - Me.SendPropertyChanged("CustomerCustomerDemos") - End Sub -End Class - - _ -Partial Public Class Customer - Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged - - Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) - - Private _CustomerID As String - - Private _CompanyName As String - - Private _ContactName As String - - Private _ContactTitle As String - - Private _Address As String - - Private _City As String - - Private _Region As String - - Private _PostalCode As String - - Private _Country As String - - Private _Phone As String - - Private _Fax As String - - Private _CustomerCustomerDemos As EntitySet(Of CustomerCustomerDemo) - - Private _Orders As EntitySet(Of [Order]) - - #Region "Extensibility Method Definitions" - Partial Private Sub OnLoaded() - End Sub - Partial Private Sub OnValidate() - End Sub - Partial Private Sub OnCreated() - End Sub - Partial Private Sub OnCustomerIDChanging(value As String) - End Sub - Partial Private Sub OnCustomerIDChanged() - End Sub - Partial Private Sub OnCompanyNameChanging(value As String) - End Sub - Partial Private Sub OnCompanyNameChanged() - End Sub - Partial Private Sub OnContactNameChanging(value As String) - End Sub - Partial Private Sub OnContactNameChanged() - End Sub - Partial Private Sub OnContactTitleChanging(value As String) - End Sub - Partial Private Sub OnContactTitleChanged() - End Sub - Partial Private Sub OnAddressChanging(value As String) - End Sub - Partial Private Sub OnAddressChanged() - End Sub - Partial Private Sub OnCityChanging(value As String) - End Sub - Partial Private Sub OnCityChanged() - End Sub - Partial Private Sub OnRegionChanging(value As String) - End Sub - Partial Private Sub OnRegionChanged() - End Sub - Partial Private Sub OnPostalCodeChanging(value As String) - End Sub - Partial Private Sub OnPostalCodeChanged() - End Sub - Partial Private Sub OnCountryChanging(value As String) - End Sub - Partial Private Sub OnCountryChanged() - End Sub - Partial Private Sub OnPhoneChanging(value As String) - End Sub - Partial Private Sub OnPhoneChanged() - End Sub - Partial Private Sub OnFaxChanging(value As String) - End Sub - Partial Private Sub OnFaxChanged() - End Sub - #End Region - - Public Sub New() - MyBase.New - OnCreated - Me._CustomerCustomerDemos = New EntitySet(Of CustomerCustomerDemo)(AddressOf Me.attach_CustomerCustomerDemos, AddressOf Me.detach_CustomerCustomerDemos) - Me._Orders = New EntitySet(Of [Order])(AddressOf Me.attach_Orders, AddressOf Me.detach_Orders) - End Sub - - _ - Public Property CustomerID() As String - Get - Return Me._CustomerID - End Get - Set - If (String.Equals(Me._CustomerID, value) = false) Then - Me.OnCustomerIDChanging(value) - Me.SendPropertyChanging - Me._CustomerID = value - Me.SendPropertyChanged("CustomerID") - Me.OnCustomerIDChanged - End If - End Set - End Property - - _ - Public Property CompanyName() As String - Get - Return Me._CompanyName - End Get - Set - If (String.Equals(Me._CompanyName, value) = false) Then - Me.OnCompanyNameChanging(value) - Me.SendPropertyChanging - Me._CompanyName = value - Me.SendPropertyChanged("CompanyName") - Me.OnCompanyNameChanged - End If - End Set - End Property - - _ - Public Property ContactName() As String - Get - Return Me._ContactName - End Get - Set - If (String.Equals(Me._ContactName, value) = false) Then - Me.OnContactNameChanging(value) - Me.SendPropertyChanging - Me._ContactName = value - Me.SendPropertyChanged("ContactName") - Me.OnContactNameChanged - End If - End Set - End Property - - _ - Public Property ContactTitle() As String - Get - Return Me._ContactTitle - End Get - Set - If (String.Equals(Me._ContactTitle, value) = false) Then - Me.OnContactTitleChanging(value) - Me.SendPropertyChanging - Me._ContactTitle = value - Me.SendPropertyChanged("ContactTitle") - Me.OnContactTitleChanged - End If - End Set - End Property - - _ - Public Property Address() As String - Get - Return Me._Address - End Get - Set - If (String.Equals(Me._Address, value) = false) Then - Me.OnAddressChanging(value) - Me.SendPropertyChanging - Me._Address = value - Me.SendPropertyChanged("Address") - Me.OnAddressChanged - End If - End Set - End Property - - _ - Public Property City() As String - Get - Return Me._City - End Get - Set - If (String.Equals(Me._City, value) = false) Then - Me.OnCityChanging(value) - Me.SendPropertyChanging - Me._City = value - Me.SendPropertyChanged("City") - Me.OnCityChanged - End If - End Set - End Property - - _ - Public Property Region() As String - Get - Return Me._Region - End Get - Set - If (String.Equals(Me._Region, value) = false) Then - Me.OnRegionChanging(value) - Me.SendPropertyChanging - Me._Region = value - Me.SendPropertyChanged("Region") - Me.OnRegionChanged - End If - End Set - End Property - - _ - Public Property PostalCode() As String - Get - Return Me._PostalCode - End Get - Set - If (String.Equals(Me._PostalCode, value) = false) Then - Me.OnPostalCodeChanging(value) - Me.SendPropertyChanging - Me._PostalCode = value - Me.SendPropertyChanged("PostalCode") - Me.OnPostalCodeChanged - End If - End Set - End Property - - _ - Public Property Country() As String - Get - Return Me._Country - End Get - Set - If (String.Equals(Me._Country, value) = false) Then - Me.OnCountryChanging(value) - Me.SendPropertyChanging - Me._Country = value - Me.SendPropertyChanged("Country") - Me.OnCountryChanged - End If - End Set - End Property - - _ - Public Property Phone() As String - Get - Return Me._Phone - End Get - Set - If (String.Equals(Me._Phone, value) = false) Then - Me.OnPhoneChanging(value) - Me.SendPropertyChanging - Me._Phone = value - Me.SendPropertyChanged("Phone") - Me.OnPhoneChanged - End If - End Set - End Property - - _ - Public Property Fax() As String - Get - Return Me._Fax - End Get - Set - If (String.Equals(Me._Fax, value) = false) Then - Me.OnFaxChanging(value) - Me.SendPropertyChanging - Me._Fax = value - Me.SendPropertyChanged("Fax") - Me.OnFaxChanged - End If - End Set - End Property - - _ - Public Property CustomerCustomerDemos() As EntitySet(Of CustomerCustomerDemo) - Get - Return Me._CustomerCustomerDemos - End Get - Set - Me._CustomerCustomerDemos.Assign(value) - End Set - End Property - - _ - Public Property Orders() As EntitySet(Of [Order]) - Get - Return Me._Orders - End Get - Set - Me._Orders.Assign(value) - End Set - End Property - - Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging - - Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged - - Protected Overridable Sub SendPropertyChanging() - If ((Me.PropertyChangingEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) - End If - End Sub - - Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) - If ((Me.PropertyChangedEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) - End If - End Sub - - Private Sub attach_CustomerCustomerDemos(ByVal entity As CustomerCustomerDemo) - Me.SendPropertyChanging - entity.Customer = Me - Me.SendPropertyChanged("CustomerCustomerDemos") - End Sub - - Private Sub detach_CustomerCustomerDemos(ByVal entity As CustomerCustomerDemo) - Me.SendPropertyChanging - entity.Customer = Nothing - Me.SendPropertyChanged("CustomerCustomerDemos") - End Sub - - Private Sub attach_Orders(ByVal entity As [Order]) - Me.SendPropertyChanging - entity.Customer = Me - Me.SendPropertyChanged("Orders") - End Sub - - Private Sub detach_Orders(ByVal entity As [Order]) - Me.SendPropertyChanging - entity.Customer = Nothing - Me.SendPropertyChanged("Orders") - End Sub -End Class - - _ -Partial Public Class Employee - Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged - - Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) - - Private _EmployeeID As Integer - - Private _LastName As String - - Private _FirstName As String - - Private _Title As String - - Private _TitleOfCourtesy As String - - Private _BirthDate As System.Nullable(Of Date) - - Private _HireDate As System.Nullable(Of Date) - - Private _Address As String - - Private _City As String - - Private _Region As String - - Private _PostalCode As String - - Private _Country As String - - Private _HomePhone As String - - Private _Extension As String - - Private _Photo As System.Data.Linq.Binary - - Private _Notes As String - - Private _ReportsTo As System.Nullable(Of Integer) - - Private _PhotoPath As String - - Private _ReportsToEmployee As EntityRef(Of Employee) - - Private _Employees As EntitySet(Of Employee) - - Private _EmployeeTerritories As EntitySet(Of EmployeeTerritory) - - Private _Orders As EntitySet(Of [Order]) - - #Region "Extensibility Method Definitions" - Partial Private Sub OnLoaded() - End Sub - Partial Private Sub OnValidate() - End Sub - Partial Private Sub OnCreated() - End Sub - Partial Private Sub OnEmployeeIDChanging(value As Integer) - End Sub - Partial Private Sub OnEmployeeIDChanged() - End Sub - Partial Private Sub OnLastNameChanging(value As String) - End Sub - Partial Private Sub OnLastNameChanged() - End Sub - Partial Private Sub OnFirstNameChanging(value As String) - End Sub - Partial Private Sub OnFirstNameChanged() - End Sub - Partial Private Sub OnTitleChanging(value As String) - End Sub - Partial Private Sub OnTitleChanged() - End Sub - Partial Private Sub OnTitleOfCourtesyChanging(value As String) - End Sub - Partial Private Sub OnTitleOfCourtesyChanged() - End Sub - Partial Private Sub OnBirthDateChanging(value As System.Nullable(Of Date)) - End Sub - Partial Private Sub OnBirthDateChanged() - End Sub - Partial Private Sub OnHireDateChanging(value As System.Nullable(Of Date)) - End Sub - Partial Private Sub OnHireDateChanged() - End Sub - Partial Private Sub OnAddressChanging(value As String) - End Sub - Partial Private Sub OnAddressChanged() - End Sub - Partial Private Sub OnCityChanging(value As String) - End Sub - Partial Private Sub OnCityChanged() - End Sub - Partial Private Sub OnRegionChanging(value As String) - End Sub - Partial Private Sub OnRegionChanged() - End Sub - Partial Private Sub OnPostalCodeChanging(value As String) - End Sub - Partial Private Sub OnPostalCodeChanged() - End Sub - Partial Private Sub OnCountryChanging(value As String) - End Sub - Partial Private Sub OnCountryChanged() - End Sub - Partial Private Sub OnHomePhoneChanging(value As String) - End Sub - Partial Private Sub OnHomePhoneChanged() - End Sub - Partial Private Sub OnExtensionChanging(value As String) - End Sub - Partial Private Sub OnExtensionChanged() - End Sub - Partial Private Sub OnPhotoChanging(value As System.Data.Linq.Binary) - End Sub - Partial Private Sub OnPhotoChanged() - End Sub - Partial Private Sub OnNotesChanging(value As String) - End Sub - Partial Private Sub OnNotesChanged() - End Sub - Partial Private Sub OnReportsToChanging(value As System.Nullable(Of Integer)) - End Sub - Partial Private Sub OnReportsToChanged() - End Sub - Partial Private Sub OnPhotoPathChanging(value As String) - End Sub - Partial Private Sub OnPhotoPathChanged() - End Sub - #End Region - - Public Sub New() - MyBase.New - OnCreated - Me._ReportsToEmployee = CType(Nothing, EntityRef(Of Employee)) - Me._Employees = New EntitySet(Of Employee)(AddressOf Me.attach_Employees, AddressOf Me.detach_Employees) - Me._EmployeeTerritories = New EntitySet(Of EmployeeTerritory)(AddressOf Me.attach_EmployeeTerritories, AddressOf Me.detach_EmployeeTerritories) - Me._Orders = New EntitySet(Of [Order])(AddressOf Me.attach_Orders, AddressOf Me.detach_Orders) - End Sub - - _ - Public Property EmployeeID() As Integer - Get - Return Me._EmployeeID - End Get - Set - If ((Me._EmployeeID = value) _ - = false) Then - Me.OnEmployeeIDChanging(value) - Me.SendPropertyChanging - Me._EmployeeID = value - Me.SendPropertyChanged("EmployeeID") - Me.OnEmployeeIDChanged - End If - End Set - End Property - - _ - Public Property LastName() As String - Get - Return Me._LastName - End Get - Set - If (String.Equals(Me._LastName, value) = false) Then - Me.OnLastNameChanging(value) - Me.SendPropertyChanging - Me._LastName = value - Me.SendPropertyChanged("LastName") - Me.OnLastNameChanged - End If - End Set - End Property - - _ - Public Property FirstName() As String - Get - Return Me._FirstName - End Get - Set - If (String.Equals(Me._FirstName, value) = false) Then - Me.OnFirstNameChanging(value) - Me.SendPropertyChanging - Me._FirstName = value - Me.SendPropertyChanged("FirstName") - Me.OnFirstNameChanged - End If - End Set - End Property - - _ - Public Property Title() As String - Get - Return Me._Title - End Get - Set - If (String.Equals(Me._Title, value) = false) Then - Me.OnTitleChanging(value) - Me.SendPropertyChanging - Me._Title = value - Me.SendPropertyChanged("Title") - Me.OnTitleChanged - End If - End Set - End Property - - _ - Public Property TitleOfCourtesy() As String - Get - Return Me._TitleOfCourtesy - End Get - Set - If (String.Equals(Me._TitleOfCourtesy, value) = false) Then - Me.OnTitleOfCourtesyChanging(value) - Me.SendPropertyChanging - Me._TitleOfCourtesy = value - Me.SendPropertyChanged("TitleOfCourtesy") - Me.OnTitleOfCourtesyChanged - End If - End Set - End Property - - _ - Public Property BirthDate() As System.Nullable(Of Date) - Get - Return Me._BirthDate - End Get - Set - If (Me._BirthDate.Equals(value) = false) Then - Me.OnBirthDateChanging(value) - Me.SendPropertyChanging - Me._BirthDate = value - Me.SendPropertyChanged("BirthDate") - Me.OnBirthDateChanged - End If - End Set - End Property - - _ - Public Property HireDate() As System.Nullable(Of Date) - Get - Return Me._HireDate - End Get - Set - If (Me._HireDate.Equals(value) = false) Then - Me.OnHireDateChanging(value) - Me.SendPropertyChanging - Me._HireDate = value - Me.SendPropertyChanged("HireDate") - Me.OnHireDateChanged - End If - End Set - End Property - - _ - Public Property Address() As String - Get - Return Me._Address - End Get - Set - If (String.Equals(Me._Address, value) = false) Then - Me.OnAddressChanging(value) - Me.SendPropertyChanging - Me._Address = value - Me.SendPropertyChanged("Address") - Me.OnAddressChanged - End If - End Set - End Property - - _ - Public Property City() As String - Get - Return Me._City - End Get - Set - If (String.Equals(Me._City, value) = false) Then - Me.OnCityChanging(value) - Me.SendPropertyChanging - Me._City = value - Me.SendPropertyChanged("City") - Me.OnCityChanged - End If - End Set - End Property - - _ - Public Property Region() As String - Get - Return Me._Region - End Get - Set - If (String.Equals(Me._Region, value) = false) Then - Me.OnRegionChanging(value) - Me.SendPropertyChanging - Me._Region = value - Me.SendPropertyChanged("Region") - Me.OnRegionChanged - End If - End Set - End Property - - _ - Public Property PostalCode() As String - Get - Return Me._PostalCode - End Get - Set - If (String.Equals(Me._PostalCode, value) = false) Then - Me.OnPostalCodeChanging(value) - Me.SendPropertyChanging - Me._PostalCode = value - Me.SendPropertyChanged("PostalCode") - Me.OnPostalCodeChanged - End If - End Set - End Property - - _ - Public Property Country() As String - Get - Return Me._Country - End Get - Set - If (String.Equals(Me._Country, value) = false) Then - Me.OnCountryChanging(value) - Me.SendPropertyChanging - Me._Country = value - Me.SendPropertyChanged("Country") - Me.OnCountryChanged - End If - End Set - End Property - - _ - Public Property HomePhone() As String - Get - Return Me._HomePhone - End Get - Set - If (String.Equals(Me._HomePhone, value) = false) Then - Me.OnHomePhoneChanging(value) - Me.SendPropertyChanging - Me._HomePhone = value - Me.SendPropertyChanged("HomePhone") - Me.OnHomePhoneChanged - End If - End Set - End Property - - _ - Public Property Extension() As String - Get - Return Me._Extension - End Get - Set - If (String.Equals(Me._Extension, value) = false) Then - Me.OnExtensionChanging(value) - Me.SendPropertyChanging - Me._Extension = value - Me.SendPropertyChanged("Extension") - Me.OnExtensionChanged - End If - End Set - End Property - - _ - Public Property Photo() As System.Data.Linq.Binary - Get - Return Me._Photo - End Get - Set - If (Me._Photo.Equals(value) = false) Then - Me.OnPhotoChanging(value) - Me.SendPropertyChanging - Me._Photo = value - Me.SendPropertyChanged("Photo") - Me.OnPhotoChanged - End If - End Set - End Property - - _ - Public Property Notes() As String - Get - Return Me._Notes - End Get - Set - If (String.Equals(Me._Notes, value) = false) Then - Me.OnNotesChanging(value) - Me.SendPropertyChanging - Me._Notes = value - Me.SendPropertyChanged("Notes") - Me.OnNotesChanged - End If - End Set - End Property - - _ - Public Property ReportsTo() As System.Nullable(Of Integer) - Get - Return Me._ReportsTo - End Get - Set - If (Me._ReportsTo.Equals(value) = false) Then - If Me._ReportsToEmployee.HasLoadedOrAssignedValue Then - Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException - End If - Me.OnReportsToChanging(value) - Me.SendPropertyChanging - Me._ReportsTo = value - Me.SendPropertyChanged("ReportsTo") - Me.OnReportsToChanged - End If - End Set - End Property - - _ - Public Property PhotoPath() As String - Get - Return Me._PhotoPath - End Get - Set - If (String.Equals(Me._PhotoPath, value) = false) Then - Me.OnPhotoPathChanging(value) - Me.SendPropertyChanging - Me._PhotoPath = value - Me.SendPropertyChanged("PhotoPath") - Me.OnPhotoPathChanged - End If - End Set - End Property - - _ - Public Property ReportsToEmployee() As Employee - Get - Return Me._ReportsToEmployee.Entity - End Get - Set - Dim previousValue As Employee = Me._ReportsToEmployee.Entity - If (((previousValue Is value) _ - = false) _ - OrElse (Me._ReportsToEmployee.HasLoadedOrAssignedValue = false)) Then - Me.SendPropertyChanging - If ((previousValue Is Nothing) _ - = false) Then - Me._ReportsToEmployee.Entity = Nothing - previousValue.Employees.Remove(Me) - End If - Me._ReportsToEmployee.Entity = value - If ((value Is Nothing) _ - = false) Then - value.Employees.Add(Me) - Me._ReportsTo = value.EmployeeID - Else - Me._ReportsTo = CType(Nothing, Nullable(Of Integer)) - End If - Me.SendPropertyChanged("ReportsToEmployee") - End If - End Set - End Property - - _ - Public Property Employees() As EntitySet(Of Employee) - Get - Return Me._Employees - End Get - Set - Me._Employees.Assign(value) - End Set - End Property - - _ - Public Property EmployeeTerritories() As EntitySet(Of EmployeeTerritory) - Get - Return Me._EmployeeTerritories - End Get - Set - Me._EmployeeTerritories.Assign(value) - End Set - End Property - - _ - Public Property Orders() As EntitySet(Of [Order]) - Get - Return Me._Orders - End Get - Set - Me._Orders.Assign(value) - End Set - End Property - - Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging - - Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged - - Protected Overridable Sub SendPropertyChanging() - If ((Me.PropertyChangingEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) - End If - End Sub - - Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) - If ((Me.PropertyChangedEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) - End If - End Sub - - Private Sub attach_Employees(ByVal entity As Employee) - Me.SendPropertyChanging - entity.ReportsToEmployee = Me - Me.SendPropertyChanged("Employees") - End Sub - - Private Sub detach_Employees(ByVal entity As Employee) - Me.SendPropertyChanging - entity.ReportsToEmployee = Nothing - Me.SendPropertyChanged("Employees") - End Sub - - Private Sub attach_EmployeeTerritories(ByVal entity As EmployeeTerritory) - Me.SendPropertyChanging - entity.Employee = Me - Me.SendPropertyChanged("EmployeeTerritories") - End Sub - - Private Sub detach_EmployeeTerritories(ByVal entity As EmployeeTerritory) - Me.SendPropertyChanging - entity.Employee = Nothing - Me.SendPropertyChanged("EmployeeTerritories") - End Sub - - Private Sub attach_Orders(ByVal entity As [Order]) - Me.SendPropertyChanging - entity.Employee = Me - Me.SendPropertyChanged("Orders") - End Sub - - Private Sub detach_Orders(ByVal entity As [Order]) - Me.SendPropertyChanging - entity.Employee = Nothing - Me.SendPropertyChanged("Orders") - End Sub -End Class - - _ -Partial Public Class EmployeeTerritory - Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged - - Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) - - Private _EmployeeID As Integer - - Private _TerritoryID As String - - Private _Employee As EntityRef(Of Employee) - - Private _Territory As EntityRef(Of Territory) - - #Region "Extensibility Method Definitions" - Partial Private Sub OnLoaded() - End Sub - Partial Private Sub OnValidate() - End Sub - Partial Private Sub OnCreated() - End Sub - Partial Private Sub OnEmployeeIDChanging(value As Integer) - End Sub - Partial Private Sub OnEmployeeIDChanged() - End Sub - Partial Private Sub OnTerritoryIDChanging(value As String) - End Sub - Partial Private Sub OnTerritoryIDChanged() - End Sub - #End Region - - Public Sub New() - MyBase.New - OnCreated - Me._Employee = CType(Nothing, EntityRef(Of Employee)) - Me._Territory = CType(Nothing, EntityRef(Of Territory)) - End Sub - - _ - Public Property EmployeeID() As Integer - Get - Return Me._EmployeeID - End Get - Set - If ((Me._EmployeeID = value) _ - = false) Then - If Me._Employee.HasLoadedOrAssignedValue Then - Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException - End If - Me.OnEmployeeIDChanging(value) - Me.SendPropertyChanging - Me._EmployeeID = value - Me.SendPropertyChanged("EmployeeID") - Me.OnEmployeeIDChanged - End If - End Set - End Property - - _ - Public Property TerritoryID() As String - Get - Return Me._TerritoryID - End Get - Set - If (String.Equals(Me._TerritoryID, value) = false) Then - If Me._Territory.HasLoadedOrAssignedValue Then - Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException - End If - Me.OnTerritoryIDChanging(value) - Me.SendPropertyChanging - Me._TerritoryID = value - Me.SendPropertyChanged("TerritoryID") - Me.OnTerritoryIDChanged - End If - End Set - End Property - - _ - Public Property Employee() As Employee - Get - Return Me._Employee.Entity - End Get - Set - Dim previousValue As Employee = Me._Employee.Entity - If (((previousValue Is value) _ - = false) _ - OrElse (Me._Employee.HasLoadedOrAssignedValue = false)) Then - Me.SendPropertyChanging - If ((previousValue Is Nothing) _ - = false) Then - Me._Employee.Entity = Nothing - previousValue.EmployeeTerritories.Remove(Me) - End If - Me._Employee.Entity = value - If ((value Is Nothing) _ - = false) Then - value.EmployeeTerritories.Add(Me) - Me._EmployeeID = value.EmployeeID - Else - Me._EmployeeID = CType(Nothing, Integer) - End If - Me.SendPropertyChanged("Employee") - End If - End Set - End Property - - _ - Public Property Territory() As Territory - Get - Return Me._Territory.Entity - End Get - Set - Dim previousValue As Territory = Me._Territory.Entity - If (((previousValue Is value) _ - = false) _ - OrElse (Me._Territory.HasLoadedOrAssignedValue = false)) Then - Me.SendPropertyChanging - If ((previousValue Is Nothing) _ - = false) Then - Me._Territory.Entity = Nothing - previousValue.EmployeeTerritories.Remove(Me) - End If - Me._Territory.Entity = value - If ((value Is Nothing) _ - = false) Then - value.EmployeeTerritories.Add(Me) - Me._TerritoryID = value.TerritoryID - Else - Me._TerritoryID = CType(Nothing, String) - End If - Me.SendPropertyChanged("Territory") - End If - End Set - End Property - - Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging - - Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged - - Protected Overridable Sub SendPropertyChanging() - If ((Me.PropertyChangingEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) - End If - End Sub - - Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) - If ((Me.PropertyChangedEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) - End If - End Sub -End Class - - _ -Partial Public Class OrderDetail - Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged - - Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) - - Private _OrderID As Integer - - Private _ProductID As Integer - - Private _UnitPrice As Decimal - - Private _Quantity As Short - - Private _Discount As Single - - Private _Order As EntityRef(Of [Order]) - - Private _Product As EntityRef(Of Product) - - #Region "Extensibility Method Definitions" - Partial Private Sub OnLoaded() - End Sub - Partial Private Sub OnValidate() - End Sub - Partial Private Sub OnCreated() - End Sub - Partial Private Sub OnOrderIDChanging(value As Integer) - End Sub - Partial Private Sub OnOrderIDChanged() - End Sub - Partial Private Sub OnProductIDChanging(value As Integer) - End Sub - Partial Private Sub OnProductIDChanged() - End Sub - Partial Private Sub OnUnitPriceChanging(value As Decimal) - End Sub - Partial Private Sub OnUnitPriceChanged() - End Sub - Partial Private Sub OnQuantityChanging(value As Short) - End Sub - Partial Private Sub OnQuantityChanged() - End Sub - Partial Private Sub OnDiscountChanging(value As Single) - End Sub - Partial Private Sub OnDiscountChanged() - End Sub - #End Region - - Public Sub New() - MyBase.New - OnCreated - Me._Order = CType(Nothing, EntityRef(Of [Order])) - Me._Product = CType(Nothing, EntityRef(Of Product)) - End Sub - - _ - Public Property OrderID() As Integer - Get - Return Me._OrderID - End Get - Set - If ((Me._OrderID = value) _ - = false) Then - If Me._Order.HasLoadedOrAssignedValue Then - Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException - End If - Me.OnOrderIDChanging(value) - Me.SendPropertyChanging - Me._OrderID = value - Me.SendPropertyChanged("OrderID") - Me.OnOrderIDChanged - End If - End Set - End Property - - _ - Public Property ProductID() As Integer - Get - Return Me._ProductID - End Get - Set - If ((Me._ProductID = value) _ - = false) Then - If Me._Product.HasLoadedOrAssignedValue Then - Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException - End If - Me.OnProductIDChanging(value) - Me.SendPropertyChanging - Me._ProductID = value - Me.SendPropertyChanged("ProductID") - Me.OnProductIDChanged - End If - End Set - End Property - - _ - Public Property UnitPrice() As Decimal - Get - Return Me._UnitPrice - End Get - Set - If ((Me._UnitPrice = value) _ - = false) Then - Me.OnUnitPriceChanging(value) - Me.SendPropertyChanging - Me._UnitPrice = value - Me.SendPropertyChanged("UnitPrice") - Me.OnUnitPriceChanged - End If - End Set - End Property - - _ - Public Property Quantity() As Short - Get - Return Me._Quantity - End Get - Set - If ((Me._Quantity = value) _ - = false) Then - Me.OnQuantityChanging(value) - Me.SendPropertyChanging - Me._Quantity = value - Me.SendPropertyChanged("Quantity") - Me.OnQuantityChanged - End If - End Set - End Property - - _ - Public Property Discount() As Single - Get - Return Me._Discount - End Get - Set - If ((Me._Discount = value) _ - = false) Then - Me.OnDiscountChanging(value) - Me.SendPropertyChanging - Me._Discount = value - Me.SendPropertyChanged("Discount") - Me.OnDiscountChanged - End If - End Set - End Property - - _ - Public Property [Order]() As [Order] - Get - Return Me._Order.Entity - End Get - Set - Dim previousValue As [Order] = Me._Order.Entity - If (((previousValue Is value) _ - = false) _ - OrElse (Me._Order.HasLoadedOrAssignedValue = false)) Then - Me.SendPropertyChanging - If ((previousValue Is Nothing) _ - = false) Then - Me._Order.Entity = Nothing - previousValue.OrderDetails.Remove(Me) - End If - Me._Order.Entity = value - If ((value Is Nothing) _ - = false) Then - value.OrderDetails.Add(Me) - Me._OrderID = value.OrderID - Else - Me._OrderID = CType(Nothing, Integer) - End If - Me.SendPropertyChanged("[Order]") - End If - End Set - End Property - - _ - Public Property Product() As Product - Get - Return Me._Product.Entity - End Get - Set - Dim previousValue As Product = Me._Product.Entity - If (((previousValue Is value) _ - = false) _ - OrElse (Me._Product.HasLoadedOrAssignedValue = false)) Then - Me.SendPropertyChanging - If ((previousValue Is Nothing) _ - = false) Then - Me._Product.Entity = Nothing - previousValue.OrderDetails.Remove(Me) - End If - Me._Product.Entity = value - If ((value Is Nothing) _ - = false) Then - value.OrderDetails.Add(Me) - Me._ProductID = value.ProductID - Else - Me._ProductID = CType(Nothing, Integer) - End If - Me.SendPropertyChanged("Product") - End If - End Set - End Property - - Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging - - Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged - - Protected Overridable Sub SendPropertyChanging() - If ((Me.PropertyChangingEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) - End If - End Sub - - Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) - If ((Me.PropertyChangedEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) - End If - End Sub -End Class - - _ -Partial Public Class [Order] - Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged - - Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) - - Private _OrderID As Integer - - Private _CustomerID As String - - Private _EmployeeID As System.Nullable(Of Integer) - - Private _OrderDate As System.Nullable(Of Date) - - Private _RequiredDate As System.Nullable(Of Date) - - Private _ShippedDate As System.Nullable(Of Date) - - Private _ShipVia As System.Nullable(Of Integer) - - Private _Freight As System.Nullable(Of Decimal) - - Private _ShipName As String - - Private _ShipAddress As String - - Private _ShipCity As String - - Private _ShipRegion As String - - Private _ShipPostalCode As String - - Private _ShipCountry As String - - Private _OrderDetails As EntitySet(Of OrderDetail) - - ' Private _Customer As EntityRef(Of Customer)*** - - Private _Employee As EntityRef(Of Employee) - - Private _Shipper As EntityRef(Of Shipper) - - #Region "Extensibility Method Definitions" - Partial Private Sub OnLoaded() - End Sub - Partial Private Sub OnValidate() - End Sub - Partial Private Sub OnCreated() - End Sub - Partial Private Sub OnOrderIDChanging(value As Integer) - End Sub - Partial Private Sub OnOrderIDChanged() - End Sub - Partial Private Sub OnCustomerIDChanging(value As String) - End Sub - Partial Private Sub OnCustomerIDChanged() - End Sub - Partial Private Sub OnEmployeeIDChanging(value As System.Nullable(Of Integer)) - End Sub - Partial Private Sub OnEmployeeIDChanged() - End Sub - Partial Private Sub OnOrderDateChanging(value As System.Nullable(Of Date)) - End Sub - Partial Private Sub OnOrderDateChanged() - End Sub - Partial Private Sub OnRequiredDateChanging(value As System.Nullable(Of Date)) - End Sub - Partial Private Sub OnRequiredDateChanged() - End Sub - Partial Private Sub OnShippedDateChanging(value As System.Nullable(Of Date)) - End Sub - Partial Private Sub OnShippedDateChanged() - End Sub - Partial Private Sub OnShipViaChanging(value As System.Nullable(Of Integer)) - End Sub - Partial Private Sub OnShipViaChanged() - End Sub - Partial Private Sub OnFreightChanging(value As System.Nullable(Of Decimal)) - End Sub - Partial Private Sub OnFreightChanged() - End Sub - Partial Private Sub OnShipNameChanging(value As String) - End Sub - Partial Private Sub OnShipNameChanged() - End Sub - Partial Private Sub OnShipAddressChanging(value As String) - End Sub - Partial Private Sub OnShipAddressChanged() - End Sub - Partial Private Sub OnShipCityChanging(value As String) - End Sub - Partial Private Sub OnShipCityChanged() - End Sub - Partial Private Sub OnShipRegionChanging(value As String) - End Sub - Partial Private Sub OnShipRegionChanged() - End Sub - Partial Private Sub OnShipPostalCodeChanging(value As String) - End Sub - Partial Private Sub OnShipPostalCodeChanged() - End Sub - Partial Private Sub OnShipCountryChanging(value As String) - End Sub - Partial Private Sub OnShipCountryChanged() - End Sub - #End Region - - Public Sub New() - MyBase.New - OnCreated - Me._OrderDetails = New EntitySet(Of OrderDetail)(AddressOf Me.attach_OrderDetails, AddressOf Me.detach_OrderDetails) - Me._Customer = CType(Nothing, EntityRef(Of Customer)) - Me._Employee = CType(Nothing, EntityRef(Of Employee)) - Me._Shipper = CType(Nothing, EntityRef(Of Shipper)) - End Sub - - _ - Public Property OrderID() As Integer - Get - Return Me._OrderID - End Get - Set - If ((Me._OrderID = value) _ - = false) Then - Me.OnOrderIDChanging(value) - Me.SendPropertyChanging - Me._OrderID = value - Me.SendPropertyChanged("OrderID") - Me.OnOrderIDChanged - End If - End Set - End Property - - _ - Public Property CustomerID() As String - Get - Return Me._CustomerID - End Get - Set - If (String.Equals(Me._CustomerID, value) = false) Then - If Me._Customer.HasLoadedOrAssignedValue Then - Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException - End If - Me.OnCustomerIDChanging(value) - Me.SendPropertyChanging - Me._CustomerID = value - Me.SendPropertyChanged("CustomerID") - Me.OnCustomerIDChanged - End If - End Set - End Property - - _ - Public Property EmployeeID() As System.Nullable(Of Integer) - Get - Return Me._EmployeeID - End Get - Set - If (Me._EmployeeID.Equals(value) = false) Then - If Me._Employee.HasLoadedOrAssignedValue Then - Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException - End If - Me.OnEmployeeIDChanging(value) - Me.SendPropertyChanging - Me._EmployeeID = value - Me.SendPropertyChanged("EmployeeID") - Me.OnEmployeeIDChanged - End If - End Set - End Property - - _ - Public Property OrderDate() As System.Nullable(Of Date) - Get - Return Me._OrderDate - End Get - Set - If (Me._OrderDate.Equals(value) = false) Then - Me.OnOrderDateChanging(value) - Me.SendPropertyChanging - Me._OrderDate = value - Me.SendPropertyChanged("OrderDate") - Me.OnOrderDateChanged - End If - End Set - End Property - - _ - Public Property RequiredDate() As System.Nullable(Of Date) - Get - Return Me._RequiredDate - End Get - Set - If (Me._RequiredDate.Equals(value) = false) Then - Me.OnRequiredDateChanging(value) - Me.SendPropertyChanging - Me._RequiredDate = value - Me.SendPropertyChanged("RequiredDate") - Me.OnRequiredDateChanged - End If - End Set - End Property - - _ - Public Property ShippedDate() As System.Nullable(Of Date) - Get - Return Me._ShippedDate - End Get - Set - If (Me._ShippedDate.Equals(value) = false) Then - Me.OnShippedDateChanging(value) - Me.SendPropertyChanging - Me._ShippedDate = value - Me.SendPropertyChanged("ShippedDate") - Me.OnShippedDateChanged - End If - End Set - End Property - - _ - Public Property ShipVia() As System.Nullable(Of Integer) - Get - Return Me._ShipVia - End Get - Set - If (Me._ShipVia.Equals(value) = false) Then - If Me._Shipper.HasLoadedOrAssignedValue Then - Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException - End If - Me.OnShipViaChanging(value) - Me.SendPropertyChanging - Me._ShipVia = value - Me.SendPropertyChanged("ShipVia") - Me.OnShipViaChanged - End If - End Set - End Property - - _ - Public Property Freight() As System.Nullable(Of Decimal) - Get - Return Me._Freight - End Get - Set - If (Me._Freight.Equals(value) = false) Then - Me.OnFreightChanging(value) - Me.SendPropertyChanging - Me._Freight = value - Me.SendPropertyChanged("Freight") - Me.OnFreightChanged - End If - End Set - End Property - - _ - Public Property ShipName() As String - Get - Return Me._ShipName - End Get - Set - If (String.Equals(Me._ShipName, value) = false) Then - Me.OnShipNameChanging(value) - Me.SendPropertyChanging - Me._ShipName = value - Me.SendPropertyChanged("ShipName") - Me.OnShipNameChanged - End If - End Set - End Property - - _ - Public Property ShipAddress() As String - Get - Return Me._ShipAddress - End Get - Set - If (String.Equals(Me._ShipAddress, value) = false) Then - Me.OnShipAddressChanging(value) - Me.SendPropertyChanging - Me._ShipAddress = value - Me.SendPropertyChanged("ShipAddress") - Me.OnShipAddressChanged - End If - End Set - End Property - - _ - Public Property ShipCity() As String - Get - Return Me._ShipCity - End Get - Set - If (String.Equals(Me._ShipCity, value) = false) Then - Me.OnShipCityChanging(value) - Me.SendPropertyChanging - Me._ShipCity = value - Me.SendPropertyChanged("ShipCity") - Me.OnShipCityChanged - End If - End Set - End Property - - _ - Public Property ShipRegion() As String - Get - Return Me._ShipRegion - End Get - Set - If (String.Equals(Me._ShipRegion, value) = false) Then - Me.OnShipRegionChanging(value) - Me.SendPropertyChanging - Me._ShipRegion = value - Me.SendPropertyChanged("ShipRegion") - Me.OnShipRegionChanged - End If - End Set - End Property - - _ - Public Property ShipPostalCode() As String - Get - Return Me._ShipPostalCode - End Get - Set - If (String.Equals(Me._ShipPostalCode, value) = false) Then - Me.OnShipPostalCodeChanging(value) - Me.SendPropertyChanging - Me._ShipPostalCode = value - Me.SendPropertyChanged("ShipPostalCode") - Me.OnShipPostalCodeChanged - End If - End Set - End Property - - _ - Public Property ShipCountry() As String - Get - Return Me._ShipCountry - End Get - Set - If (String.Equals(Me._ShipCountry, value) = false) Then - Me.OnShipCountryChanging(value) - Me.SendPropertyChanging - Me._ShipCountry = value - Me.SendPropertyChanged("ShipCountry") - Me.OnShipCountryChanged - End If - End Set - End Property - - _ - Public Property OrderDetails() As EntitySet(Of OrderDetail) - Get - Return Me._OrderDetails - End Get - Set - Me._OrderDetails.Assign(value) - End Set - End Property - - ' - Private _Customer As EntityRef(Of Customer) - _ - Public Property Customer() As Customer - Get - Return Me._Customer.Entity - End Get - Set(ByVal value As Customer) - Dim previousValue As Customer = Me._Customer.Entity - If (((previousValue Is value) _ - = False) _ - OrElse (Me._Customer.HasLoadedOrAssignedValue = False)) Then - Me.SendPropertyChanging() - If ((previousValue Is Nothing) _ - = False) Then - Me._Customer.Entity = Nothing - previousValue.Orders.Remove(Me) - End If - Me._Customer.Entity = value - If ((value Is Nothing) _ - = False) Then - value.Orders.Add(Me) - Me._CustomerID = value.CustomerID - Else - Me._CustomerID = CType(Nothing, String) - End If - Me.SendPropertyChanged("Customer") - End If - End Set - End Property - ' - - _ - Public Property Employee() As Employee - Get - Return Me._Employee.Entity - End Get - Set - Dim previousValue As Employee = Me._Employee.Entity - If (((previousValue Is value) _ - = false) _ - OrElse (Me._Employee.HasLoadedOrAssignedValue = false)) Then - Me.SendPropertyChanging - If ((previousValue Is Nothing) _ - = false) Then - Me._Employee.Entity = Nothing - previousValue.Orders.Remove(Me) - End If - Me._Employee.Entity = value - If ((value Is Nothing) _ - = false) Then - value.Orders.Add(Me) - Me._EmployeeID = value.EmployeeID - Else - Me._EmployeeID = CType(Nothing, Nullable(Of Integer)) - End If - Me.SendPropertyChanged("Employee") - End If - End Set - End Property - - _ - Public Property Shipper() As Shipper - Get - Return Me._Shipper.Entity - End Get - Set - Dim previousValue As Shipper = Me._Shipper.Entity - If (((previousValue Is value) _ - = false) _ - OrElse (Me._Shipper.HasLoadedOrAssignedValue = false)) Then - Me.SendPropertyChanging - If ((previousValue Is Nothing) _ - = false) Then - Me._Shipper.Entity = Nothing - previousValue.Orders.Remove(Me) - End If - Me._Shipper.Entity = value - If ((value Is Nothing) _ - = false) Then - value.Orders.Add(Me) - Me._ShipVia = value.ShipperID - Else - Me._ShipVia = CType(Nothing, Nullable(Of Integer)) - End If - Me.SendPropertyChanged("Shipper") - End If - End Set - End Property - - Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging - - Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged - - Protected Overridable Sub SendPropertyChanging() - If ((Me.PropertyChangingEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) - End If - End Sub - - Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) - If ((Me.PropertyChangedEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) - End If - End Sub - - Private Sub attach_OrderDetails(ByVal entity As OrderDetail) - Me.SendPropertyChanging - entity.[Order] = Me - Me.SendPropertyChanged("OrderDetails") - End Sub - - Private Sub detach_OrderDetails(ByVal entity As OrderDetail) - Me.SendPropertyChanging - entity.[Order] = Nothing - Me.SendPropertyChanged("OrderDetails") - End Sub -End Class - - _ -Partial Public Class Product - Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged - - Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) - - Private _ProductID As Integer - - Private _ProductName As String - - Private _SupplierID As System.Nullable(Of Integer) - - Private _CategoryID As System.Nullable(Of Integer) - - Private _QuantityPerUnit As String - - Private _UnitPrice As System.Nullable(Of Decimal) - - Private _UnitsInStock As System.Nullable(Of Short) - - Private _UnitsOnOrder As System.Nullable(Of Short) - - Private _ReorderLevel As System.Nullable(Of Short) - - Private _Discontinued As Boolean - - Private _OrderDetails As EntitySet(Of OrderDetail) - - Private _Category As EntityRef(Of Category) - - Private _Supplier As EntityRef(Of Supplier) - - #Region "Extensibility Method Definitions" - Partial Private Sub OnLoaded() - End Sub - Partial Private Sub OnValidate() - End Sub - Partial Private Sub OnCreated() - End Sub - Partial Private Sub OnProductIDChanging(value As Integer) - End Sub - Partial Private Sub OnProductIDChanged() - End Sub - Partial Private Sub OnProductNameChanging(value As String) - End Sub - Partial Private Sub OnProductNameChanged() - End Sub - Partial Private Sub OnSupplierIDChanging(value As System.Nullable(Of Integer)) - End Sub - Partial Private Sub OnSupplierIDChanged() - End Sub - Partial Private Sub OnCategoryIDChanging(value As System.Nullable(Of Integer)) - End Sub - Partial Private Sub OnCategoryIDChanged() - End Sub - Partial Private Sub OnQuantityPerUnitChanging(value As String) - End Sub - Partial Private Sub OnQuantityPerUnitChanged() - End Sub - Partial Private Sub OnUnitPriceChanging(value As System.Nullable(Of Decimal)) - End Sub - Partial Private Sub OnUnitPriceChanged() - End Sub - Partial Private Sub OnUnitsInStockChanging(value As System.Nullable(Of Short)) - End Sub - Partial Private Sub OnUnitsInStockChanged() - End Sub - Partial Private Sub OnUnitsOnOrderChanging(value As System.Nullable(Of Short)) - End Sub - Partial Private Sub OnUnitsOnOrderChanged() - End Sub - Partial Private Sub OnReorderLevelChanging(value As System.Nullable(Of Short)) - End Sub - Partial Private Sub OnReorderLevelChanged() - End Sub - Partial Private Sub OnDiscontinuedChanging(value As Boolean) - End Sub - Partial Private Sub OnDiscontinuedChanged() - End Sub - #End Region - - Public Sub New() - MyBase.New - OnCreated - Me._OrderDetails = New EntitySet(Of OrderDetail)(AddressOf Me.attach_OrderDetails, AddressOf Me.detach_OrderDetails) - Me._Category = CType(Nothing, EntityRef(Of Category)) - Me._Supplier = CType(Nothing, EntityRef(Of Supplier)) - End Sub - - _ - Public Property ProductID() As Integer - Get - Return Me._ProductID - End Get - Set - If ((Me._ProductID = value) _ - = false) Then - Me.OnProductIDChanging(value) - Me.SendPropertyChanging - Me._ProductID = value - Me.SendPropertyChanged("ProductID") - Me.OnProductIDChanged - End If - End Set - End Property - - _ - Public Property ProductName() As String - Get - Return Me._ProductName - End Get - Set - If (String.Equals(Me._ProductName, value) = false) Then - Me.OnProductNameChanging(value) - Me.SendPropertyChanging - Me._ProductName = value - Me.SendPropertyChanged("ProductName") - Me.OnProductNameChanged - End If - End Set - End Property - - _ - Public Property SupplierID() As System.Nullable(Of Integer) - Get - Return Me._SupplierID - End Get - Set - If (Me._SupplierID.Equals(value) = false) Then - If Me._Supplier.HasLoadedOrAssignedValue Then - Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException - End If - Me.OnSupplierIDChanging(value) - Me.SendPropertyChanging - Me._SupplierID = value - Me.SendPropertyChanged("SupplierID") - Me.OnSupplierIDChanged - End If - End Set - End Property - - _ - Public Property CategoryID() As System.Nullable(Of Integer) - Get - Return Me._CategoryID - End Get - Set - If (Me._CategoryID.Equals(value) = false) Then - If Me._Category.HasLoadedOrAssignedValue Then - Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException - End If - Me.OnCategoryIDChanging(value) - Me.SendPropertyChanging - Me._CategoryID = value - Me.SendPropertyChanged("CategoryID") - Me.OnCategoryIDChanged - End If - End Set - End Property - - _ - Public Property QuantityPerUnit() As String - Get - Return Me._QuantityPerUnit - End Get - Set - If (String.Equals(Me._QuantityPerUnit, value) = false) Then - Me.OnQuantityPerUnitChanging(value) - Me.SendPropertyChanging - Me._QuantityPerUnit = value - Me.SendPropertyChanged("QuantityPerUnit") - Me.OnQuantityPerUnitChanged - End If - End Set - End Property - - _ - Public Property UnitPrice() As System.Nullable(Of Decimal) - Get - Return Me._UnitPrice - End Get - Set - If (Me._UnitPrice.Equals(value) = false) Then - Me.OnUnitPriceChanging(value) - Me.SendPropertyChanging - Me._UnitPrice = value - Me.SendPropertyChanged("UnitPrice") - Me.OnUnitPriceChanged - End If - End Set - End Property - - _ - Public Property UnitsInStock() As System.Nullable(Of Short) - Get - Return Me._UnitsInStock - End Get - Set - If (Me._UnitsInStock.Equals(value) = false) Then - Me.OnUnitsInStockChanging(value) - Me.SendPropertyChanging - Me._UnitsInStock = value - Me.SendPropertyChanged("UnitsInStock") - Me.OnUnitsInStockChanged - End If - End Set - End Property - - _ - Public Property UnitsOnOrder() As System.Nullable(Of Short) - Get - Return Me._UnitsOnOrder - End Get - Set - If (Me._UnitsOnOrder.Equals(value) = false) Then - Me.OnUnitsOnOrderChanging(value) - Me.SendPropertyChanging - Me._UnitsOnOrder = value - Me.SendPropertyChanged("UnitsOnOrder") - Me.OnUnitsOnOrderChanged - End If - End Set - End Property - - _ - Public Property ReorderLevel() As System.Nullable(Of Short) - Get - Return Me._ReorderLevel - End Get - Set - If (Me._ReorderLevel.Equals(value) = false) Then - Me.OnReorderLevelChanging(value) - Me.SendPropertyChanging - Me._ReorderLevel = value - Me.SendPropertyChanged("ReorderLevel") - Me.OnReorderLevelChanged - End If - End Set - End Property - - _ - Public Property Discontinued() As Boolean - Get - Return Me._Discontinued - End Get - Set - If ((Me._Discontinued = value) _ - = false) Then - Me.OnDiscontinuedChanging(value) - Me.SendPropertyChanging - Me._Discontinued = value - Me.SendPropertyChanged("Discontinued") - Me.OnDiscontinuedChanged - End If - End Set - End Property - - _ - Public Property OrderDetails() As EntitySet(Of OrderDetail) - Get - Return Me._OrderDetails - End Get - Set - Me._OrderDetails.Assign(value) - End Set - End Property - - _ - Public Property Category() As Category - Get - Return Me._Category.Entity - End Get - Set - Dim previousValue As Category = Me._Category.Entity - If (((previousValue Is value) _ - = false) _ - OrElse (Me._Category.HasLoadedOrAssignedValue = false)) Then - Me.SendPropertyChanging - If ((previousValue Is Nothing) _ - = false) Then - Me._Category.Entity = Nothing - previousValue.Products.Remove(Me) - End If - Me._Category.Entity = value - If ((value Is Nothing) _ - = false) Then - value.Products.Add(Me) - Me._CategoryID = value.CategoryID - Else - Me._CategoryID = CType(Nothing, Nullable(Of Integer)) - End If - Me.SendPropertyChanged("Category") - End If - End Set - End Property - - _ - Public Property Supplier() As Supplier - Get - Return Me._Supplier.Entity - End Get - Set - Dim previousValue As Supplier = Me._Supplier.Entity - If (((previousValue Is value) _ - = false) _ - OrElse (Me._Supplier.HasLoadedOrAssignedValue = false)) Then - Me.SendPropertyChanging - If ((previousValue Is Nothing) _ - = false) Then - Me._Supplier.Entity = Nothing - previousValue.Products.Remove(Me) - End If - Me._Supplier.Entity = value - If ((value Is Nothing) _ - = false) Then - value.Products.Add(Me) - Me._SupplierID = value.SupplierID - Else - Me._SupplierID = CType(Nothing, Nullable(Of Integer)) - End If - Me.SendPropertyChanged("Supplier") - End If - End Set - End Property - - Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging - - Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged - - Protected Overridable Sub SendPropertyChanging() - If ((Me.PropertyChangingEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) - End If - End Sub - - Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) - If ((Me.PropertyChangedEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) - End If - End Sub - - Private Sub attach_OrderDetails(ByVal entity As OrderDetail) - Me.SendPropertyChanging - entity.Product = Me - Me.SendPropertyChanged("OrderDetails") - End Sub - - Private Sub detach_OrderDetails(ByVal entity As OrderDetail) - Me.SendPropertyChanging - entity.Product = Nothing - Me.SendPropertyChanged("OrderDetails") - End Sub -End Class - - _ -Partial Public Class Region - Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged - - Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) - - Private _RegionID As Integer - - Private _RegionDescription As String - - Private _Territories As EntitySet(Of Territory) - - #Region "Extensibility Method Definitions" - Partial Private Sub OnLoaded() - End Sub - Partial Private Sub OnValidate() - End Sub - Partial Private Sub OnCreated() - End Sub - Partial Private Sub OnRegionIDChanging(value As Integer) - End Sub - Partial Private Sub OnRegionIDChanged() - End Sub - Partial Private Sub OnRegionDescriptionChanging(value As String) - End Sub - Partial Private Sub OnRegionDescriptionChanged() - End Sub - #End Region - - Public Sub New() - MyBase.New - OnCreated - Me._Territories = New EntitySet(Of Territory)(AddressOf Me.attach_Territories, AddressOf Me.detach_Territories) - End Sub - - _ - Public Property RegionID() As Integer - Get - Return Me._RegionID - End Get - Set - If ((Me._RegionID = value) _ - = false) Then - Me.OnRegionIDChanging(value) - Me.SendPropertyChanging - Me._RegionID = value - Me.SendPropertyChanged("RegionID") - Me.OnRegionIDChanged - End If - End Set - End Property - - _ - Public Property RegionDescription() As String - Get - Return Me._RegionDescription - End Get - Set - If (String.Equals(Me._RegionDescription, value) = false) Then - Me.OnRegionDescriptionChanging(value) - Me.SendPropertyChanging - Me._RegionDescription = value - Me.SendPropertyChanged("RegionDescription") - Me.OnRegionDescriptionChanged - End If - End Set - End Property - - _ - Public Property Territories() As EntitySet(Of Territory) - Get - Return Me._Territories - End Get - Set - Me._Territories.Assign(value) - End Set - End Property - - Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging - - Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged - - Protected Overridable Sub SendPropertyChanging() - If ((Me.PropertyChangingEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) - End If - End Sub - - Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) - If ((Me.PropertyChangedEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) - End If - End Sub - - Private Sub attach_Territories(ByVal entity As Territory) - Me.SendPropertyChanging - entity.Region = Me - Me.SendPropertyChanged("Territories") - End Sub - - Private Sub detach_Territories(ByVal entity As Territory) - Me.SendPropertyChanging - entity.Region = Nothing - Me.SendPropertyChanged("Territories") - End Sub -End Class - - _ -Partial Public Class Shipper - Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged - - Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) - - Private _ShipperID As Integer - - Private _CompanyName As String - - Private _Phone As String - - Private _Orders As EntitySet(Of [Order]) - - #Region "Extensibility Method Definitions" - Partial Private Sub OnLoaded() - End Sub - Partial Private Sub OnValidate() - End Sub - Partial Private Sub OnCreated() - End Sub - Partial Private Sub OnShipperIDChanging(value As Integer) - End Sub - Partial Private Sub OnShipperIDChanged() - End Sub - Partial Private Sub OnCompanyNameChanging(value As String) - End Sub - Partial Private Sub OnCompanyNameChanged() - End Sub - Partial Private Sub OnPhoneChanging(value As String) - End Sub - Partial Private Sub OnPhoneChanged() - End Sub - #End Region - - Public Sub New() - MyBase.New - OnCreated - Me._Orders = New EntitySet(Of [Order])(AddressOf Me.attach_Orders, AddressOf Me.detach_Orders) - End Sub - - _ - Public Property ShipperID() As Integer - Get - Return Me._ShipperID - End Get - Set - If ((Me._ShipperID = value) _ - = false) Then - Me.OnShipperIDChanging(value) - Me.SendPropertyChanging - Me._ShipperID = value - Me.SendPropertyChanged("ShipperID") - Me.OnShipperIDChanged - End If - End Set - End Property - - _ - Public Property CompanyName() As String - Get - Return Me._CompanyName - End Get - Set - If (String.Equals(Me._CompanyName, value) = false) Then - Me.OnCompanyNameChanging(value) - Me.SendPropertyChanging - Me._CompanyName = value - Me.SendPropertyChanged("CompanyName") - Me.OnCompanyNameChanged - End If - End Set - End Property - - _ - Public Property Phone() As String - Get - Return Me._Phone - End Get - Set - If (String.Equals(Me._Phone, value) = false) Then - Me.OnPhoneChanging(value) - Me.SendPropertyChanging - Me._Phone = value - Me.SendPropertyChanged("Phone") - Me.OnPhoneChanged - End If - End Set - End Property - - _ - Public Property Orders() As EntitySet(Of [Order]) - Get - Return Me._Orders - End Get - Set - Me._Orders.Assign(value) - End Set - End Property - - Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging - - Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged - - Protected Overridable Sub SendPropertyChanging() - If ((Me.PropertyChangingEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) - End If - End Sub - - Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) - If ((Me.PropertyChangedEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) - End If - End Sub - - Private Sub attach_Orders(ByVal entity As [Order]) - Me.SendPropertyChanging - entity.Shipper = Me - Me.SendPropertyChanged("Orders") - End Sub - - Private Sub detach_Orders(ByVal entity As [Order]) - Me.SendPropertyChanging - entity.Shipper = Nothing - Me.SendPropertyChanged("Orders") - End Sub -End Class - - _ -Partial Public Class Supplier - Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged - - Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) - - Private _SupplierID As Integer - - Private _CompanyName As String - - Private _ContactName As String - - Private _ContactTitle As String - - Private _Address As String - - Private _City As String - - Private _Region As String - - Private _PostalCode As String - - Private _Country As String - - Private _Phone As String - - Private _Fax As String - - Private _HomePage As String - - Private _Products As EntitySet(Of Product) - - #Region "Extensibility Method Definitions" - Partial Private Sub OnLoaded() - End Sub - Partial Private Sub OnValidate() - End Sub - Partial Private Sub OnCreated() - End Sub - Partial Private Sub OnSupplierIDChanging(value As Integer) - End Sub - Partial Private Sub OnSupplierIDChanged() - End Sub - Partial Private Sub OnCompanyNameChanging(value As String) - End Sub - Partial Private Sub OnCompanyNameChanged() - End Sub - Partial Private Sub OnContactNameChanging(value As String) - End Sub - Partial Private Sub OnContactNameChanged() - End Sub - Partial Private Sub OnContactTitleChanging(value As String) - End Sub - Partial Private Sub OnContactTitleChanged() - End Sub - Partial Private Sub OnAddressChanging(value As String) - End Sub - Partial Private Sub OnAddressChanged() - End Sub - Partial Private Sub OnCityChanging(value As String) - End Sub - Partial Private Sub OnCityChanged() - End Sub - Partial Private Sub OnRegionChanging(value As String) - End Sub - Partial Private Sub OnRegionChanged() - End Sub - Partial Private Sub OnPostalCodeChanging(value As String) - End Sub - Partial Private Sub OnPostalCodeChanged() - End Sub - Partial Private Sub OnCountryChanging(value As String) - End Sub - Partial Private Sub OnCountryChanged() - End Sub - Partial Private Sub OnPhoneChanging(value As String) - End Sub - Partial Private Sub OnPhoneChanged() - End Sub - Partial Private Sub OnFaxChanging(value As String) - End Sub - Partial Private Sub OnFaxChanged() - End Sub - Partial Private Sub OnHomePageChanging(value As String) - End Sub - Partial Private Sub OnHomePageChanged() - End Sub - #End Region - - Public Sub New() - MyBase.New - OnCreated - Me._Products = New EntitySet(Of Product)(AddressOf Me.attach_Products, AddressOf Me.detach_Products) - End Sub - - _ - Public Property SupplierID() As Integer - Get - Return Me._SupplierID - End Get - Set - If ((Me._SupplierID = value) _ - = false) Then - Me.OnSupplierIDChanging(value) - Me.SendPropertyChanging - Me._SupplierID = value - Me.SendPropertyChanged("SupplierID") - Me.OnSupplierIDChanged - End If - End Set - End Property - - _ - Public Property CompanyName() As String - Get - Return Me._CompanyName - End Get - Set - If (String.Equals(Me._CompanyName, value) = false) Then - Me.OnCompanyNameChanging(value) - Me.SendPropertyChanging - Me._CompanyName = value - Me.SendPropertyChanged("CompanyName") - Me.OnCompanyNameChanged - End If - End Set - End Property - - _ - Public Property ContactName() As String - Get - Return Me._ContactName - End Get - Set - If (String.Equals(Me._ContactName, value) = false) Then - Me.OnContactNameChanging(value) - Me.SendPropertyChanging - Me._ContactName = value - Me.SendPropertyChanged("ContactName") - Me.OnContactNameChanged - End If - End Set - End Property - - _ - Public Property ContactTitle() As String - Get - Return Me._ContactTitle - End Get - Set - If (String.Equals(Me._ContactTitle, value) = false) Then - Me.OnContactTitleChanging(value) - Me.SendPropertyChanging - Me._ContactTitle = value - Me.SendPropertyChanged("ContactTitle") - Me.OnContactTitleChanged - End If - End Set - End Property - - _ - Public Property Address() As String - Get - Return Me._Address - End Get - Set - If (String.Equals(Me._Address, value) = false) Then - Me.OnAddressChanging(value) - Me.SendPropertyChanging - Me._Address = value - Me.SendPropertyChanged("Address") - Me.OnAddressChanged - End If - End Set - End Property - - _ - Public Property City() As String - Get - Return Me._City - End Get - Set - If (String.Equals(Me._City, value) = false) Then - Me.OnCityChanging(value) - Me.SendPropertyChanging - Me._City = value - Me.SendPropertyChanged("City") - Me.OnCityChanged - End If - End Set - End Property - - _ - Public Property Region() As String - Get - Return Me._Region - End Get - Set - If (String.Equals(Me._Region, value) = false) Then - Me.OnRegionChanging(value) - Me.SendPropertyChanging - Me._Region = value - Me.SendPropertyChanged("Region") - Me.OnRegionChanged - End If - End Set - End Property - - _ - Public Property PostalCode() As String - Get - Return Me._PostalCode - End Get - Set - If (String.Equals(Me._PostalCode, value) = false) Then - Me.OnPostalCodeChanging(value) - Me.SendPropertyChanging - Me._PostalCode = value - Me.SendPropertyChanged("PostalCode") - Me.OnPostalCodeChanged - End If - End Set - End Property - - _ - Public Property Country() As String - Get - Return Me._Country - End Get - Set - If (String.Equals(Me._Country, value) = false) Then - Me.OnCountryChanging(value) - Me.SendPropertyChanging - Me._Country = value - Me.SendPropertyChanged("Country") - Me.OnCountryChanged - End If - End Set - End Property - - _ - Public Property Phone() As String - Get - Return Me._Phone - End Get - Set - If (String.Equals(Me._Phone, value) = false) Then - Me.OnPhoneChanging(value) - Me.SendPropertyChanging - Me._Phone = value - Me.SendPropertyChanged("Phone") - Me.OnPhoneChanged - End If - End Set - End Property - - _ - Public Property Fax() As String - Get - Return Me._Fax - End Get - Set - If (String.Equals(Me._Fax, value) = false) Then - Me.OnFaxChanging(value) - Me.SendPropertyChanging - Me._Fax = value - Me.SendPropertyChanged("Fax") - Me.OnFaxChanged - End If - End Set - End Property - - _ - Public Property HomePage() As String - Get - Return Me._HomePage - End Get - Set - If (String.Equals(Me._HomePage, value) = false) Then - Me.OnHomePageChanging(value) - Me.SendPropertyChanging - Me._HomePage = value - Me.SendPropertyChanged("HomePage") - Me.OnHomePageChanged - End If - End Set - End Property - - _ - Public Property Products() As EntitySet(Of Product) - Get - Return Me._Products - End Get - Set - Me._Products.Assign(value) - End Set - End Property - - Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging - - Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged - - Protected Overridable Sub SendPropertyChanging() - If ((Me.PropertyChangingEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) - End If - End Sub - - Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) - If ((Me.PropertyChangedEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) - End If - End Sub - - Private Sub attach_Products(ByVal entity As Product) - Me.SendPropertyChanging - entity.Supplier = Me - Me.SendPropertyChanged("Products") - End Sub - - Private Sub detach_Products(ByVal entity As Product) - Me.SendPropertyChanging - entity.Supplier = Nothing - Me.SendPropertyChanged("Products") - End Sub -End Class - - _ -Partial Public Class Territory - Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged - - Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty) - - Private _TerritoryID As String - - Private _TerritoryDescription As String - - Private _RegionID As Integer - - Private _EmployeeTerritories As EntitySet(Of EmployeeTerritory) - - Private _Region As EntityRef(Of Region) - - #Region "Extensibility Method Definitions" - Partial Private Sub OnLoaded() - End Sub - Partial Private Sub OnValidate() - End Sub - Partial Private Sub OnCreated() - End Sub - Partial Private Sub OnTerritoryIDChanging(value As String) - End Sub - Partial Private Sub OnTerritoryIDChanged() - End Sub - Partial Private Sub OnTerritoryDescriptionChanging(value As String) - End Sub - Partial Private Sub OnTerritoryDescriptionChanged() - End Sub - Partial Private Sub OnRegionIDChanging(value As Integer) - End Sub - Partial Private Sub OnRegionIDChanged() - End Sub - #End Region - - Public Sub New() - MyBase.New - OnCreated - Me._EmployeeTerritories = New EntitySet(Of EmployeeTerritory)(AddressOf Me.attach_EmployeeTerritories, AddressOf Me.detach_EmployeeTerritories) - Me._Region = CType(Nothing, EntityRef(Of Region)) - End Sub - - _ - Public Property TerritoryID() As String - Get - Return Me._TerritoryID - End Get - Set - If (String.Equals(Me._TerritoryID, value) = false) Then - Me.OnTerritoryIDChanging(value) - Me.SendPropertyChanging - Me._TerritoryID = value - Me.SendPropertyChanged("TerritoryID") - Me.OnTerritoryIDChanged - End If - End Set - End Property - - _ - Public Property TerritoryDescription() As String - Get - Return Me._TerritoryDescription - End Get - Set - If (String.Equals(Me._TerritoryDescription, value) = false) Then - Me.OnTerritoryDescriptionChanging(value) - Me.SendPropertyChanging - Me._TerritoryDescription = value - Me.SendPropertyChanged("TerritoryDescription") - Me.OnTerritoryDescriptionChanged - End If - End Set - End Property - - _ - Public Property RegionID() As Integer - Get - Return Me._RegionID - End Get - Set - If ((Me._RegionID = value) _ - = false) Then - If Me._Region.HasLoadedOrAssignedValue Then - Throw New System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException - End If - Me.OnRegionIDChanging(value) - Me.SendPropertyChanging - Me._RegionID = value - Me.SendPropertyChanged("RegionID") - Me.OnRegionIDChanged - End If - End Set - End Property - - _ - Public Property EmployeeTerritories() As EntitySet(Of EmployeeTerritory) - Get - Return Me._EmployeeTerritories - End Get - Set - Me._EmployeeTerritories.Assign(value) - End Set - End Property - - _ - Public Property Region() As Region - Get - Return Me._Region.Entity - End Get - Set - Dim previousValue As Region = Me._Region.Entity - If (((previousValue Is value) _ - = false) _ - OrElse (Me._Region.HasLoadedOrAssignedValue = false)) Then - Me.SendPropertyChanging - If ((previousValue Is Nothing) _ - = false) Then - Me._Region.Entity = Nothing - previousValue.Territories.Remove(Me) - End If - Me._Region.Entity = value - If ((value Is Nothing) _ - = false) Then - value.Territories.Add(Me) - Me._RegionID = value.RegionID - Else - Me._RegionID = CType(Nothing, Integer) - End If - Me.SendPropertyChanged("Region") - End If - End Set - End Property - - Public Event PropertyChanging As PropertyChangingEventHandler Implements System.ComponentModel.INotifyPropertyChanging.PropertyChanging - - Public Event PropertyChanged As PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged - - Protected Overridable Sub SendPropertyChanging() - If ((Me.PropertyChangingEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanging(Me, emptyChangingEventArgs) - End If - End Sub - - Protected Overridable Sub SendPropertyChanged(ByVal propertyName As [String]) - If ((Me.PropertyChangedEvent Is Nothing) _ - = false) Then - RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName)) - End If - End Sub - - Private Sub attach_EmployeeTerritories(ByVal entity As EmployeeTerritory) - Me.SendPropertyChanging - entity.Territory = Me - Me.SendPropertyChanged("EmployeeTerritories") - End Sub - - Private Sub detach_EmployeeTerritories(ByVal entity As EmployeeTerritory) - Me.SendPropertyChanging - entity.Territory = Nothing - Me.SendPropertyChanged("EmployeeTerritories") - End Sub -End Class - -Partial Public Class CustOrderHistResult - - Private _ProductName As String - - Private _Total As System.Nullable(Of Integer) - - Public Sub New() - MyBase.New - End Sub - - _ - Public Property ProductName() As String - Get - Return Me._ProductName - End Get - Set - If (String.Equals(Me._ProductName, value) = false) Then - Me._ProductName = value - End If - End Set - End Property - - _ - Public Property Total() As System.Nullable(Of Integer) - Get - Return Me._Total - End Get - Set - If (Me._Total.Equals(value) = false) Then - Me._Total = value - End If - End Set - End Property -End Class - -Partial Public Class CustOrdersDetailResult - - Private _ProductName As String - - Private _UnitPrice As System.Nullable(Of Decimal) - - Private _Quantity As System.Nullable(Of Short) - - Private _Discount As System.Nullable(Of Integer) - - Private _ExtendedPrice As System.Nullable(Of Decimal) - - Public Sub New() - MyBase.New - End Sub - - _ - Public Property ProductName() As String - Get - Return Me._ProductName - End Get - Set - If (String.Equals(Me._ProductName, value) = false) Then - Me._ProductName = value - End If - End Set - End Property - - _ - Public Property UnitPrice() As System.Nullable(Of Decimal) - Get - Return Me._UnitPrice - End Get - Set - If (Me._UnitPrice.Equals(value) = false) Then - Me._UnitPrice = value - End If - End Set - End Property - - _ - Public Property Quantity() As System.Nullable(Of Short) - Get - Return Me._Quantity - End Get - Set - If (Me._Quantity.Equals(value) = false) Then - Me._Quantity = value - End If - End Set - End Property - - _ - Public Property Discount() As System.Nullable(Of Integer) - Get - Return Me._Discount - End Get - Set - If (Me._Discount.Equals(value) = false) Then - Me._Discount = value - End If - End Set - End Property - - _ - Public Property ExtendedPrice() As System.Nullable(Of Decimal) - Get - Return Me._ExtendedPrice - End Get - Set - If (Me._ExtendedPrice.Equals(value) = false) Then - Me._ExtendedPrice = value - End If - End Set - End Property -End Class - -Partial Public Class CustOrdersOrdersResult - - Private _OrderID As System.Nullable(Of Integer) - - Private _OrderDate As System.Nullable(Of Date) - - Private _RequiredDate As System.Nullable(Of Date) - - Private _ShippedDate As System.Nullable(Of Date) - - Public Sub New() - MyBase.New - End Sub - - _ - Public Property OrderID() As System.Nullable(Of Integer) - Get - Return Me._OrderID - End Get - Set - If (Me._OrderID.Equals(value) = false) Then - Me._OrderID = value - End If - End Set - End Property - - _ - Public Property OrderDate() As System.Nullable(Of Date) - Get - Return Me._OrderDate - End Get - Set - If (Me._OrderDate.Equals(value) = false) Then - Me._OrderDate = value - End If - End Set - End Property - - _ - Public Property RequiredDate() As System.Nullable(Of Date) - Get - Return Me._RequiredDate - End Get - Set - If (Me._RequiredDate.Equals(value) = false) Then - Me._RequiredDate = value - End If - End Set - End Property - - _ - Public Property ShippedDate() As System.Nullable(Of Date) - Get - Return Me._ShippedDate - End Get - Set - If (Me._ShippedDate.Equals(value) = false) Then - Me._ShippedDate = value - End If - End Set - End Property -End Class - -Partial Public Class EmployeeSalesByCountryResult - - Private _Country As String - - Private _LastName As String - - Private _FirstName As String - - Private _ShippedDate As System.Nullable(Of Date) - - Private _OrderID As System.Nullable(Of Integer) - - Private _SaleAmount As System.Nullable(Of Decimal) - - Public Sub New() - MyBase.New - End Sub - - _ - Public Property Country() As String - Get - Return Me._Country - End Get - Set - If (String.Equals(Me._Country, value) = false) Then - Me._Country = value - End If - End Set - End Property - - _ - Public Property LastName() As String - Get - Return Me._LastName - End Get - Set - If (String.Equals(Me._LastName, value) = false) Then - Me._LastName = value - End If - End Set - End Property - - _ - Public Property FirstName() As String - Get - Return Me._FirstName - End Get - Set - If (String.Equals(Me._FirstName, value) = false) Then - Me._FirstName = value - End If - End Set - End Property - - _ - Public Property ShippedDate() As System.Nullable(Of Date) - Get - Return Me._ShippedDate - End Get - Set - If (Me._ShippedDate.Equals(value) = false) Then - Me._ShippedDate = value - End If - End Set - End Property - - _ - Public Property OrderID() As System.Nullable(Of Integer) - Get - Return Me._OrderID - End Get - Set - If (Me._OrderID.Equals(value) = false) Then - Me._OrderID = value - End If - End Set - End Property - - _ - Public Property SaleAmount() As System.Nullable(Of Decimal) - Get - Return Me._SaleAmount - End Get - Set - If (Me._SaleAmount.Equals(value) = false) Then - Me._SaleAmount = value - End If - End Set - End Property -End Class - -Partial Public Class SalesByYearResult - - Private _ShippedDate As System.Nullable(Of Date) - - Private _OrderID As System.Nullable(Of Integer) - - Private _Subtotal As System.Nullable(Of Decimal) - - Private _Year As String - - Public Sub New() - MyBase.New - End Sub - - _ - Public Property ShippedDate() As System.Nullable(Of Date) - Get - Return Me._ShippedDate - End Get - Set - If (Me._ShippedDate.Equals(value) = false) Then - Me._ShippedDate = value - End If - End Set - End Property - - _ - Public Property OrderID() As System.Nullable(Of Integer) - Get - Return Me._OrderID - End Get - Set - If (Me._OrderID.Equals(value) = false) Then - Me._OrderID = value - End If - End Set - End Property - - _ - Public Property Subtotal() As System.Nullable(Of Decimal) - Get - Return Me._Subtotal - End Get - Set - If (Me._Subtotal.Equals(value) = false) Then - Me._Subtotal = value - End If - End Set - End Property - - _ - Public Property Year() As String - Get - Return Me._Year - End Get - Set - If (String.Equals(Me._Year, value) = false) Then - Me._Year = value - End If - End Set - End Property -End Class - -Partial Public Class SalesByCategoryResult - - Private _ProductName As String - - Private _TotalPurchase As System.Nullable(Of Decimal) - - Public Sub New() - MyBase.New - End Sub - - _ - Public Property ProductName() As String - Get - Return Me._ProductName - End Get - Set - If (String.Equals(Me._ProductName, value) = false) Then - Me._ProductName = value - End If - End Set - End Property - - _ - Public Property TotalPurchase() As System.Nullable(Of Decimal) - Get - Return Me._TotalPurchase - End Get - Set - If (Me._TotalPurchase.Equals(value) = false) Then - Me._TotalPurchase = value - End If - End Set - End Property -End Class - -Partial Public Class TenMostExpensiveProductsResult - - Private _TenMostExpensiveProducts As String - - Private _UnitPrice As System.Nullable(Of Decimal) - - Public Sub New() - MyBase.New - End Sub - - _ - Public Property TenMostExpensiveProducts() As String - Get - Return Me._TenMostExpensiveProducts - End Get - Set - If (String.Equals(Me._TenMostExpensiveProducts, value) = false) Then - Me._TenMostExpensiveProducts = value - End If - End Set - End Property - - _ - Public Property UnitPrice() As System.Nullable(Of Decimal) - Get - Return Me._UnitPrice - End Get - Set - If (Me._UnitPrice.Equals(value) = false) Then - Me._UnitPrice = value - End If - End Set - End Property -End Class diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/vb-ColumnAttributes.vbproj b/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/vb-ColumnAttributes.vbproj deleted file mode 100644 index b8ffdaadfd9..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/vb-ColumnAttributes.vbproj +++ /dev/null @@ -1,72 +0,0 @@ - - - - Debug - AnyCPU - 9.0.20621 - 2.0 - {FD5E7FDE-D978-4C9B-8C0B-B33B5E23E490} - Exe - vb_ColumnAttributes.Module1 - vb_ColumnAttributes - vb-ColumnAttributes - 512 - Console - v3.5 - On - Binary - Off - On - - - true - full - true - true - bin\Debug\ - vb-ColumnAttributes.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - vb-ColumnAttributes.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - 3.5 - - - - - 3.5 - - - 3.5 - - - 3.5 - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.InheritanceMappingAttribute/vb/inherit.vbproj b/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.InheritanceMappingAttribute/vb/inherit.vbproj deleted file mode 100644 index 02dcac60d6b..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.InheritanceMappingAttribute/vb/inherit.vbproj +++ /dev/null @@ -1,77 +0,0 @@ - - - - Debug - AnyCPU - 9.0.20816 - 2.0 - {3C348FCB-1550-4267-A9B0-6E6D63403E86} - Exe - - - inherit - inherit - 512 - Console - true - On - Binary - Off - On - v3.5 - - - true - full - true - true - bin\Debug\ - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - 3.5 - - - - 3.5 - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tostring.argumentoutofrangeexception/vb/datetime.tostring.argumentoutofrangeexception2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tostring.argumentoutofrangeexception/vb/datetime.tostring.argumentoutofrangeexception2.vb deleted file mode 100644 index 1a952cdeeda..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tostring.argumentoutofrangeexception/vb/datetime.tostring.argumentoutofrangeexception2.vb +++ /dev/null @@ -1,35 +0,0 @@ -' Visual Basic .NET Document -Option Strict On - -' -Imports System.Globalization -Imports System.Threading - -Module Example - Public Sub Main() - Dim date1 As Date = #1/1/550# - Dim dft As CultureInfo - Dim arSY As New CultureInfo("ar-SY") - arSY.DateTimeFormat.Calendar = New HijriCalendar() - - ' Change current culture to ar-SY. - dft = Thread.CurrentThread.CurrentCulture - Thread.CurrentThread.CurrentCulture = arSY - - ' Display the date using the current culture's calendar. - Try - Console.WriteLine(date1.ToString()) - Catch e As ArgumentOutOfRangeException - Console.WriteLine("{0} is earlier than {1} or later than {2}", _ - date1.ToString("d", CultureInfo.InvariantCulture), _ - arSY.DateTimeFormat.Calendar.MinSupportedDateTime.ToString("d", CultureInfo.InvariantCulture), _ - arSY.DateTimeFormat.Calendar.MaxSupportedDateTime.ToString("d", CultureInfo.InvariantCulture)) - End Try - - ' Restore the default culture. - Thread.CurrentThread.CurrentCulture = dft - End Sub -End Module -' The example displays the following output: -' 01/01/0550 is earlier than 07/18/0622 or later than 12/31/9999 -' diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tostring.argumentoutofrangeexception/vb/datetime.tostring.argumentoutofrangeexception3.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tostring.argumentoutofrangeexception/vb/datetime.tostring.argumentoutofrangeexception3.vb deleted file mode 100644 index ad5b01992e6..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tostring.argumentoutofrangeexception/vb/datetime.tostring.argumentoutofrangeexception3.vb +++ /dev/null @@ -1,35 +0,0 @@ -' Visual Basic .NET Document -Option Strict On - -' -Imports System.Globalization -Imports System.Threading - -Module Example - Public Sub Main() - Dim date1 As Date = #7/21/1550# - Dim dft As CultureInfo - Dim heIL As New CultureInfo("he-IL") - heIL.DateTimeFormat.Calendar = New HebrewCalendar() - - ' Change current culture to he-IL. - dft = Thread.CurrentThread.CurrentCulture - Thread.CurrentThread.CurrentCulture = heIL - - ' Display the date using the current culture's calendar. - Try - Console.WriteLine(date1.ToString("G")) - Catch e As ArgumentOutOfRangeException - Console.WriteLine("{0} is earlier than {1} or later than {2}", _ - date1.ToString("d", CultureInfo.InvariantCulture), _ - heIL.DateTimeFormat.Calendar.MinSupportedDateTime.ToString("d", CultureInfo.InvariantCulture), _ - heIL.DateTimeFormat.Calendar.MaxSupportedDateTime.ToString("d", CultureInfo.InvariantCulture)) - End Try - - ' Restore the default culture. - Thread.CurrentThread.CurrentCulture = dft - End Sub -End Module -' The example displays the following output: -' 07/21/1550 is earlier than 01/01/1583 or later than 09/29/2239 -' diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tostring.argumentoutofrangeexception/vb/datetime.tostring.argumentoutofrangeexception4.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tostring.argumentoutofrangeexception/vb/datetime.tostring.argumentoutofrangeexception4.vb deleted file mode 100644 index 53af4ab316c..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tostring.argumentoutofrangeexception/vb/datetime.tostring.argumentoutofrangeexception4.vb +++ /dev/null @@ -1,25 +0,0 @@ -' Visual Basic .NET Document -Option Strict On - -' -Imports System.Globalization - -Module Example - Public Sub Main() - Dim arSA As New CultureInfo("ar-SA") - arSA.DateTimeFormat.Calendar = New UmAlQuraCalendar() - Dim date1 As Date = #09/10/1890# - - Try - Console.WriteLine(date1.ToString("d", arSA)) - Catch e As ArgumentOutOfRangeException - Console.WriteLine("{0:d} is earlier than {1:d} or later than {2:d}", _ - date1, _ - arSA.DateTimeFormat.Calendar.MinSupportedDateTime, _ - arSA.DateTimeFormat.Calendar.MaxSupportedDateTime) - End Try - End Sub -End Module -' The example displays the following output: -' 9/10/1890 is earlier than 4/30/1900 or later than 5/13/2029 -' diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/vb/makefile b/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/vb/makefile deleted file mode 100644 index 15d86c7c725..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/vb/makefile +++ /dev/null @@ -1,8 +0,0 @@ -Example1.exe: Example1.vb - vbc Example1.vb - -RegexLib.dll: Example1.exe - Example1.exe - -Example1a.exe: Example1a.vb RegexLib.dll - vbc /r:RegexLib.dll Example1a.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderscustom.xaml.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderscustom.xaml.vb deleted file mode 100644 index ce93ded5a10..00000000000 --- a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderscustom.xaml.vb +++ /dev/null @@ -1,123 +0,0 @@ -' -Imports System.Collections.Generic -Imports System.Linq -Imports System.Text -Imports System.Windows -Imports System.Windows.Controls -Imports System.Windows.Data -Imports System.Windows.Documents -Imports System.Windows.Input -Imports System.Windows.Media -Imports System.Windows.Media.Imaging -Imports System.Windows.Navigation -Imports System.Windows.Shapes -Imports System.Data.Services.Client -Imports NorthwindClient.Northwind -Imports System.Collections.Specialized - -Partial Public Class CustomerOrdersCustom - Inherits Window - Private context As NorthwindEntities - Private trackedCustomers As DataServiceCollection(Of Customer) - Private Const customerCountry As String = "Germany" - Private Const svcUri As String = "http://localhost:12345/Northwind.svc/" - Private Sub Window_Loaded(ByVal sender As Object, ByVal e As RoutedEventArgs) - Try - ' Initialize the context for the data service. - context = New NorthwindEntities(New Uri(svcUri)) - - ' - ' Create a LINQ query that returns customers with related orders. - Dim customerQuery = From cust In context.Customers.Expand("Orders") _ - Where cust.Country = customerCountry _ - Select cust - - ' Create a new collection for binding based on the LINQ query. - trackedCustomers = New DataServiceCollection(Of Customer)(customerQuery, _ - TrackingMode.AutoChangeTracking, "Customers", _ - AddressOf OnMyPropertyChanged, AddressOf OnMyCollectionChanged) - - ' Bind the root StackPanel element to the collection - ' related object binding paths are defined in the XAML. - Me.LayoutRoot.DataContext = trackedCustomers - ' - Catch ex As DataServiceQueryException - MessageBox.Show("The query could not be completed:\n" + ex.ToString()) - Catch ex As InvalidOperationException - MessageBox.Show("The following error occurred:\n" + ex.ToString()) - End Try - End Sub - ' - ' Method that is called when the CollectionChanged event is handled. - Private Function OnMyCollectionChanged( _ - ByVal entityCollectionChangedinfo As EntityCollectionChangedParams) As Boolean - If entityCollectionChangedinfo.Action = _ - NotifyCollectionChangedAction.Remove Then - - ' Delete the related items when an order is deleted. - If entityCollectionChangedinfo.TargetEntity.GetType() Is GetType(Order) Then - - ' Get the context and object from the supplied parameter. - Dim context = entityCollectionChangedinfo.Context - Dim deletedOrder As Order = _ - CType(entityCollectionChangedinfo.TargetEntity, Order) - - If deletedOrder.Order_Details.Count = 0 Then - ' Load the related OrderDetails. - context.LoadProperty(deletedOrder, "Order_Details") - End If - - ' Delete the order and its related items - For Each item As Order_Detail In deletedOrder.Order_Details - context.DeleteObject(item) - Next - - ' Delete the order and then return false since the object is already deleted. - context.DeleteObject(deletedOrder) - - Return True - Else - Return False - End If - Else - ' Use the default behavior. - Return False - End If - End Function - ' - ' Method that is called when the PropertyChanged event is handled. - Private Function OnMyPropertyChanged( _ - ByVal entityChangedInfo As EntityChangedParams) As Boolean - ' Validate a changed order to ensure that changes are not made - ' after the order ships. - If entityChangedInfo.Entity.GetType() Is GetType(Order) AndAlso _ - (CType(entityChangedInfo.Entity, Order).ShippedDate < DateTime.Today) Then - Throw New ApplicationException(String.Format( _ - "The order {0} cannot be changed because it shipped on {1}.", _ - CType(entityChangedInfo.Entity, Order).OrderID, _ - CType(entityChangedInfo.Entity, Order).ShippedDate)) - Return False - Else - Return True - End If - End Function - Private Sub deleteButton_Click(ByVal sender As Object, ByVal e As RoutedEventArgs) - ' Get the Orders binding collection. - If customerIDComboBox.SelectedItem IsNot Nothing Then - Dim trackedOrders As DataServiceCollection(Of Order) = _ - (CType(customerIDComboBox.SelectedItem, Customer)).Orders - - ' Remove the currently selected order. - trackedOrders.Remove(CType(ordersDataGrid.SelectedItem, Order)) - End If - End Sub - Private Sub saveChangesButton_Click(ByVal sender As Object, ByVal e As RoutedEventArgs) - Try - ' Save changes to the data service. - context.SaveChanges() - Catch ex As Exception - MessageBox.Show(ex.ToString()) - End Try - End Sub -End Class -' \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/my project/assemblyinfo.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/my project/assemblyinfo.vb deleted file mode 100644 index a5a72cc16fd..00000000000 --- a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/my project/assemblyinfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/northwindclientvb.vbproj b/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/northwindclientvb.vbproj deleted file mode 100644 index 9b13b6a1e3b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/northwindclientvb.vbproj +++ /dev/null @@ -1,300 +0,0 @@ - - - - Debug - AnyCPU - 10.0.20604 - 2.0 - {9FB79FAA-1BB3-426F-82F0-074D45E67B21} - Exe - NorthwindClient.Program - NorthwindClient - NorthwindClient - 512 - Console - v4.0 - On - Binary - Off - On - - - 3.5 - - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 1.0.0.%2a - false - false - true - - - - - true - full - true - true - bin\Debug\ - NorthwindClient.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - AllRules.ruleset - - - pdbonly - false - true - true - bin\Release\ - NorthwindClient.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - AllRules.ruleset - - - - 3.0 - - - 3.0 - - - - - - - - 3.0 - - - 3.0 - - - - - - 3.5 - - - 3.5 - - - 3.5 - - - 3.0 - - - 3.0 - - - - - - - - - - - - - - - - - Application.xaml - - - - CustomerOrders.vb - - - Form - - - CustomerOrders2.vb - - - Form - - - CustomerOrdersAsync.xaml - - - Code - CustomerOrdersCustom.xaml - - - CustomerOrdersWPF.xaml - - - CustomerOrdersWPF2.xaml - - - CustomerOrdersWPF3.xaml - - - LoginWindow.xaml - - - ClientCredentials.xaml - - - - True - Application.myapp - - - Microsoft.VisualBasic.WPF.MyExtension - 1.0.0.0 - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - SalesOrders.xaml - - - True - True - Reference.datasvcmap - - - - - - CustomerOrders.vb - - - CustomerOrders2.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - - - - - MSBuild:Compile - Designer - MSBuild:Compile - Designer - - - Designer - MSBuild:Compile - MSBuild:Compile - Designer - - - Designer - MSBuild:Compile - MSBuild:Compile - Designer - - - Designer - MSBuild:Compile - MSBuild:Compile - Designer - - - Designer - MSBuild:Compile - MSBuild:Compile - Designer - - - Designer - MSBuild:Compile - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - Designer - MSBuild:Compile - MSBuild:Compile - Designer - - - - - False - .NET Framework 3.5 SP1 Client Profile - false - - - False - .NET Framework 3.5 SP1 - true - - - False - Windows Installer 3.1 - true - - - - - datasvcmap - - - - - DataServiceClientGenerator - Reference.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 901eb3943e7..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,36 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - -' - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - -' - diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/VbCnAttributes.vbproj b/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/VbCnAttributes.vbproj deleted file mode 100644 index 5a5e0af2a32..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/VbCnAttributes.vbproj +++ /dev/null @@ -1,101 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50110 - 2.0 - {2AFD64F0-CCD1-4005-8A83-8F123C234384} - Library - - - VbCnAttributes - VbCnAttributes - Windows - true - true - myKey.snk - - - true - full - true - true - bin\Debug\ - VbCnAttributes.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - VbCnAttributes.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 1306345afc3..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,33 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices -Imports System.Data.Sql - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: - - diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/VB.vbproj b/snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/VB.vbproj deleted file mode 100644 index 39229d3c634..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/VB.vbproj +++ /dev/null @@ -1,70 +0,0 @@ - - - - Debug - AnyCPU - {c252feb5-a946-4202-b1d4-9916a0590387};{F184B08F-C81C-45F6-A57F-5ABD9991F28F} - 8.0.50613 - 2.0 - {8A22C9C7-55E7-43BB-BD6E-2A59E734DD05} - Library - Empty - VB - VB - - - true - full - true - true - bin\ - - - false - false - true - true - bin\ - - - - System - False - - - System.Data - False - - - System.XML - False - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Class1.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Class1.vb deleted file mode 100644 index e82d2be637f..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Class1.vb +++ /dev/null @@ -1,137 +0,0 @@ -Public Class Class1 - - '**************************************************************************** - Shared Sub TestGetEnumerator() - ' - Dim customers As New Collection - ' Insert code to add elements to the customers collection. - Dim custEnum As IEnumerator = customers.GetEnumerator() - custEnum.Reset() - Dim thisCustomer As Object - While custEnum.MoveNext() - thisCustomer = custEnum.Current() - ' Insert code to process this element of the collection. - End While - ' - End Sub - - '**************************************************************************** - Shared Sub BirthdayCollection() - ' - Dim birthdays As New Collection() - birthdays.Add(New DateTime(2001, 1, 12), "Bill") - birthdays.Add(New DateTime(2001, 1, 13), "Joe") - birthdays.Add(New DateTime(2001, 1, 14), "Mike") - birthdays.Add(New DateTime(2001, 1, 15), "Pete") - ' - - ' - MsgBox("Number of birthdays in collection: " & CStr(birthdays.Count)) - ' - - ' - Dim aBirthday As DateTime - aBirthday = birthdays.Item("Bill") - MsgBox(CStr(aBirthday)) - aBirthday = birthdays("Bill") - MsgBox(CStr(aBirthday)) - ' - - ' - birthdays.Remove(1) - birthdays.Remove("Mike") - ' - - MsgBox("Number of birthdays in collection: " & CStr(birthdays.Count)) - End Sub - - - '**************************************************************************** - Class Customer - Private _accountNumber As String - Public Property accountNumber() As String - Get - Return _accountNumber - End Get - Set(ByVal value As String) - _accountNumber = value - End Set - End Property - End Class - - - '**************************************************************************** - Shared Sub TestContains() - Dim newCustomer As New Customer - - ' - Dim customers As New Microsoft.VisualBasic.Collection() - Dim accountNumber As String = "1234" - ' Insert code that obtains new customer objects. - ' Use the new customer's account number as the key. - customers.Add(newCustomer, accountNumber) - ' The preceding statements can be repeated for several customers. - Dim searchNumber As String = "1234" - ' Insert code to obtain an account number to search for. - If customers.Contains(searchNumber) Then - MsgBox("The desired customer is in the collection.") - Else - MsgBox("The desired customer is not in the collection.") - End If - ' - - End Sub - - - '**************************************************************************** - Shared Function TestClear() As Integer - ' - Dim customers As New Microsoft.VisualBasic.Collection() - ' Insert code that adds customers to collection. - customers.Clear() - ' - - Return customers.Count - End Function - - - '**************************************************************************** - ' - Public Class nameClass - Public instanceName As String - End Class - Sub classNamer() - ' Create a Visual Basic Collection object. - Dim names As New Microsoft.VisualBasic.Collection() - Dim key As Integer - Dim msg As String - Dim name As String - Dim nameList As String = "" - ' 1. Get names from the user to add to the collection. - Do - Dim inst As New nameClass() - key += 1 - msg = "Please enter a name for this object." & vbCrLf & - "Press Cancel to see names in collection." - name = InputBox(msg, "Name the Collection items") - inst.instanceName = name - ' If user entered a name, add it to the collection. - If inst.instanceName <> "" Then - names.Add(inst, CStr(key)) - End If - Loop Until name = "" - ' 2. Create and display a list of names from the collection. - For Each oneInst As nameClass In names - nameList &= oneInst.instanceName & vbCrLf - Next oneInst - MsgBox(nameList, , "Instance Names in names Collection") - ' 3. Remove elements from the collection without disposing of the collection. - For count As Integer = 1 To names.Count - names.Remove(1) - ' Since Visual Basic collections are reindexed automatically, - ' remove the first member on each iteration. - Next count - End Sub - ' - -End Class diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/My Project/Application.Designer.vb deleted file mode 100644 index fa410166a56..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,37 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50330.0 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - -Namespace My - - 'NOTE: This file is auto-generated, do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to project properties or double-click on the My Project node in the - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Class MyApplication - - _ - Public Sub New() - MyBase.New(Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.VbVbalrCollectionObject.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index dea56955ed8..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,36 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/VbVbalrCollectionObject.vbproj b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/VbVbalrCollectionObject.vbproj deleted file mode 100644 index a83931b9088..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/VbVbalrCollectionObject.vbproj +++ /dev/null @@ -1,97 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50404 - 2.0 - {B89EF969-B333-4A80-BD61-A28CD1D22CD8} - WinExe - VbVbalrCollectionObject.My.MyApplication - VbVbalrCollectionObject - VbVbalrCollectionObject - WindowsForms - - - true - full - true - true - bin\Debug\ - VbVbalrCollectionObject.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - VbVbalrCollectionObject.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - Settings.Designer.vb - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 8638e32a001..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,36 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/VbVbalrDateProperties.vbproj b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/VbVbalrDateProperties.vbproj deleted file mode 100644 index c923359202c..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/VbVbalrDateProperties.vbproj +++ /dev/null @@ -1,84 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50317 - 2.0 - {1F408514-B970-4A14-B73A-27EBD22D1343} - Exe - VbVbalrDateProperties.Module1 - VbVbalrDateProperties - VbVbalrDateProperties - Console - - - true - full - true - true - bin\Debug\ - VbVbalrDateProperties.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - VbVbalrDateProperties.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - Settings.Designer.vb - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 24f2988b498..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/VbVbalrMyApplication.vbproj b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/VbVbalrMyApplication.vbproj deleted file mode 100644 index a3ae3319e91..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/VbVbalrMyApplication.vbproj +++ /dev/null @@ -1,149 +0,0 @@ - - - Debug - AnyCPU - 10.0.20724 - 2.0 - {4BC96725-B0B3-434C-ADFE-692DC95E5B45} - WinExe - VbVbalrMyApplication.My.MyApplication - VbVbalrMyApplication - VbVbalrMyApplication - WindowsForms - - - 2.0 - v4.0 - - - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 1.0.0.%2a - false - false - true - - - true - full - true - true - bin\ - VbVbalrMyApplication.xml - 42016,42017,42018,42019,42032 - - - pdbonly - false - true - true - bin\ - VbVbalrMyApplication.xml - 42016,42017,42018,42019,42032 - - - - - - - - - - - - - - - - - - - True - MyApplication.myapp - - - True - True - MyResources.resx - - - True - True - MySettings.settings - - - - - Form - - - Form1.vb - Form - - - Form2.vb - - - Form - - - - - SplashScreen1.vb - - - Form - - - - - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - My.Resources - MyResources.Designer.vb - - - SplashScreen1.vb - - - - - - MyApplicationCodeGenerator - MyApplication.Designer.vb - - - SettingsSingleFileGenerator - MySettings.Designer.vb - - - - - False - .NET Framework 3.5 SP1 Client Profile - false - - - False - .NET Framework 3.5 SP1 - true - - - False - Windows Installer 3.1 - true - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/Form1.Designer.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/Form1.Designer.vb deleted file mode 100644 index ba2e6ce4d3a..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/Form1.Designer.vb +++ /dev/null @@ -1,62 +0,0 @@ -Partial Public Class Form1 - Inherits System.Windows.Forms.Form - - _ - Public Sub New() - MyBase.New() - - 'This call is required by the Windows Form Designer. - InitializeComponent() - - End Sub - - 'Form overrides dispose to clean up the component list. - _ - Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) - If disposing AndAlso components IsNot Nothing Then - components.Dispose() - End If - MyBase.Dispose(disposing) - End Sub - - 'Required by the Windows Form Designer - Private components As System.ComponentModel.IContainer - - 'NOTE: The following procedure is required by the Windows Form Designer - 'It can be modified using the Windows Form Designer. - 'Do not modify it using the code editor. - _ - Private Sub InitializeComponent() - Me.Button1 = New System.Windows.Forms.Button - Me.StrongName = New System.Windows.Forms.TextBox - Me.SuspendLayout() - ' - 'Button1 - ' - Me.Button1.Location = New System.Drawing.Point(12, 12) - Me.Button1.Name = "Button1" - Me.Button1.TabIndex = 0 - Me.Button1.Text = "Button1" - ' - 'StrongName - ' - Me.StrongName.Location = New System.Drawing.Point(13, 42) - Me.StrongName.Name = "StrongName" - Me.StrongName.Size = New System.Drawing.Size(267, 20) - Me.StrongName.TabIndex = 1 - ' - 'Form1 - ' - Me.ClientSize = New System.Drawing.Size(292, 273) - Me.Controls.Add(Me.StrongName) - Me.Controls.Add(Me.Button1) - Me.Name = "Form1" - Me.Text = "Form1" - Me.ResumeLayout(False) - Me.PerformLayout() - - End Sub - Friend WithEvents Button1 As System.Windows.Forms.Button - Friend WithEvents StrongName As System.Windows.Forms.TextBox - -End Class diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/Form1.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/Form1.vb deleted file mode 100644 index aa934cbf704..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/Form1.vb +++ /dev/null @@ -1,149 +0,0 @@ -' -Imports System.Diagnostics -' - -Public Class Form1 - - Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click - Dim t As Type = GetType(SimpleListener) - MsgBox(t.FullName & ", " & t.Assembly.FullName) - DisplayStrongName() - 'MsgBox(GetListeners(My.Application.Log.TraceSource.Listeners)) - Trace.TraceInformation("trace information") - Trace.TraceError("trace error") - My.Application.Log.WriteEntry("Information", TraceEventType.Information) - My.Application.Log.WriteEntry("Error", TraceEventType.Error) - End Sub - - ' - Public Sub TestSimpleListener() - My.Application.Log.WriteEntry("Hello SimpleListener") - End Sub - ' - ' - Public Sub DisplaySimpleListenerStrongName() - Dim t As Type = GetType(SimpleListener) - MsgBox(t.FullName & ", " & t.Assembly.FullName) - End Sub - ' - - ' - Public Sub DisplayStrongName() - Dim t As Type = GetType(Logging.FileLogTraceListener) - MsgBox(t.FullName & ", " & t.Assembly.FullName) - End Sub - ' - - Private Sub Snippet19() - ' - Dim ListenerCollection As TraceListenerCollection - ListenerCollection = My.Application.Log.TraceSource.Listeners - Dim ListenersText As String = GetListeners(ListenerCollection) - MsgBox(ListenersText) - ' - End Sub - - ' - Function GetListeners(ByVal listeners As TraceListenerCollection) As String - Dim ret As String = "" - For Each listener As TraceListener In listeners - ret &= listener.Name - Dim listenerType As Type = listener.GetType - If listenerType Is GetType(DefaultTraceListener) Then - Dim tmp As DefaultTraceListener = - DirectCast(listener, DefaultTraceListener) - ret &= ": Writes to the debug output." - ElseIf listenerType Is GetType(Logging.FileLogTraceListener) Then - Dim tmp As Logging.FileLogTraceListener = - DirectCast(listener, Logging.FileLogTraceListener) - ret &= ": Log filename: " & tmp.FullLogFileName - ElseIf listenerType Is GetType(EventLogTraceListener) Then - Dim tmp As EventLogTraceListener = - DirectCast(listener, EventLogTraceListener) - ret &= ": Event log name: " & tmp.EventLog.Log - ElseIf listenerType Is GetType(XmlWriterTraceListener) Then - Dim tmp As Diagnostics.XmlWriterTraceListener = - DirectCast(listener, XmlWriterTraceListener) - ret &= ": XML log" - ElseIf listenerType Is GetType(ConsoleTraceListener) Then - Dim tmp As ConsoleTraceListener = - DirectCast(listener, ConsoleTraceListener) - ret &= ": Console log" - ElseIf listenerType Is GetType(DelimitedListTraceListener) Then - Dim tmp As DelimitedListTraceListener = - DirectCast(listener, DelimitedListTraceListener) - ret &= ": Delimited log" - Else - ret &= ": Unhandeled log type: " & - listenerType.ToString - End If - ret &= vbCrLf - Next - - Return ret - End Function - ' - - ' - Public Sub TracingTest(ByVal fileName As String) - My.Application.Log.WriteEntry( - "Entering TracingTest with argument " & - fileName & ".") - ' Code to trace goes here. - My.Application.Log.WriteEntry( - "Exiting TracingTest with argument " & - fileName & ".") - End Sub - ' - - - ' - Public Sub ExceptionLogTest(ByVal fileName As String) - Try - ' - ' Code that might generate an exception goes here. - ' For example: - ' Dim x As Object - ' MsgBox(x.ToString) - ' - Catch ex As Exception - ' - My.Application.Log.WriteException(ex, - TraceEventType.Error, - "Exception in ExceptionLogTest " & - "with argument " & fileName & ".") - ' - End Try - End Sub - ' -End Class -Class extra - Private Sub extra() - ' - Try - Catch ex As Exception - End Try - ' - End Sub - ' - Public Sub ExceptionLogTest(ByVal fileName As String) - End Sub - ' -End Class - - -' -Public Class SimpleListener - Inherits System.Diagnostics.TraceListener - - - Public Overloads Overrides Sub Write(ByVal message As String) - MsgBox("Write: " & message) - End Sub - - - Public Overloads Overrides Sub WriteLine(ByVal message As String) - MsgBox("WriteLine: " & message) - End Sub -End Class -' diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index fe68d444a00..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/MyApplication.myapp b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/MyApplication.myapp deleted file mode 100644 index e4781dae716..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/MyApplication.myapp +++ /dev/null @@ -1,10 +0,0 @@ - - - true - VbVbalrMyApplicationLog.Form1 - false - 0 - true - 0 - 0 - diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/MyApplication.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/MyApplication.vb deleted file mode 100644 index 00227d3dcc8..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/MyApplication.vb +++ /dev/null @@ -1,29 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - Partial Class MyApplication - - Public Sub New() - MyBase.New(ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.ShutDownStyle = ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = My.Forms.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/MyResources.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/MyResources.vb deleted file mode 100644 index 0f87f8a3f29..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/MyResources.vb +++ /dev/null @@ -1,61 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict Off -Option Explicit On - -Imports System.IO -Imports System.Resources - -Namespace My.Resources - - ' - ' A strongly-typed resource class, for looking up localized strings, etc. - ' - 'This class was auto-generated by the Strongly Typed Resource Builder - 'class via a tool like ResGen or Visual Studio.NET. - 'To add or remove a member, edit your .ResX file then rerun ResGen - 'with the /str option, or rebuild your VS project. - _ - Module MyResources - - Private _resMgr As System.Resources.ResourceManager - - Private _resCulture As System.Globalization.CultureInfo - - ' - ' Returns the cached ResourceManager instance used by this class. - ' - _ - Public ReadOnly Property ResourceManager() As System.Resources.ResourceManager - Get - If (_resMgr Is Nothing) Then - Dim temp As System.Resources.ResourceManager = New System.Resources.ResourceManager("VbVbalrMyApplicationLog.MyResources", GetType(MyResources).Assembly) - System.Threading.Thread.MemoryBarrier - _resMgr = temp - End If - Return _resMgr - End Get - End Property - - ' - ' Overrides the current thread's CurrentUICulture property for all - ' resource lookups using this strongly typed resource class. - ' - _ - Public Property Culture() As System.Globalization.CultureInfo - Get - Return _resCulture - End Get - Set - _resCulture = value - End Set - End Property - End Module -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/myapplication.designer.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/myapplication.designer.vb deleted file mode 100644 index fa592c1c7d2..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/myapplication.designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:4.0.20828.0 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = False - Me.EnableVisualStyles = True - Me.SaveMySettingsOnExit = True - Me.ShutdownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.VbVbalrMyApplicationLog.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/myresources.designer.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/myresources.designer.vb deleted file mode 100644 index 8081c134d79..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/myresources.designer.vb +++ /dev/null @@ -1,61 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:4.0.20828.0 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - -Namespace My.Resources - - 'This class was auto-generated by the StronglyTypedResourceBuilder - 'class via a tool like ResGen or Visual Studio. - 'To add or remove a member, edit your .ResX file then rerun ResGen - 'with the /str option, or rebuild your VS project. - ''' - ''' A strongly-typed resource class, for looking up localized strings, etc. - ''' - _ - Friend Module MyResources - - Private resourceMan As Global.System.Resources.ResourceManager - - Private resourceCulture As Global.System.Globalization.CultureInfo - - ''' - ''' Returns the cached ResourceManager instance used by this class. - ''' - _ - Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager - Get - If Object.ReferenceEquals(resourceMan, Nothing) Then - Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("VbVbalrMyApplicationLog.MyResources", GetType(MyResources).Assembly) - resourceMan = temp - End If - Return resourceMan - End Get - End Property - - ''' - ''' Overrides the current thread's CurrentUICulture property for all - ''' resource lookups using this strongly typed resource class. - ''' - _ - Friend Property Culture() As Global.System.Globalization.CultureInfo - Get - Return resourceCulture - End Get - Set - resourceCulture = value - End Set - End Property - End Module -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/mysettings.designer.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/mysettings.designer.vb deleted file mode 100644 index a77f55d2269..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/My Project/mysettings.designer.vb +++ /dev/null @@ -1,28 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:4.0.20828.0 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - - - _ -Partial Friend NotInheritable Class MySettings - Inherits Global.System.Configuration.ApplicationSettingsBase - - Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings) - - Public Shared ReadOnly Property [Default]() As MySettings - Get - Return defaultInstance - End Get - End Property -End Class diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/MyEventsFake.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/MyEventsFake.vb deleted file mode 100644 index bec78cce2d1..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/MyEventsFake.vb +++ /dev/null @@ -1,40 +0,0 @@ -Namespace My - Partial Friend Class MyApplication - ' - Private Sub MyApplication_Startup( - ByVal sender As Object, - ByVal e As ApplicationServices.StartupEventArgs - ) Handles Me.Startup - ' - My.Application.Log.WriteEntry("Application started at " & - My.Computer.Clock.GmtTime.ToString) - ' - End Sub - - Private Sub MyApplication_Shutdown( - ByVal sender As Object, - ByVal e As System.EventArgs - ) Handles Me.Shutdown - ' - My.Application.Log.WriteEntry("Application shut down at " & - My.Computer.Clock.GmtTime.ToString) - ' - End Sub - ' - - ' - Private Sub MyApplication_UnhandledException( - ByVal sender As Object, - ByVal e As ApplicationServices.UnhandledExceptionEventArgs - ) Handles Me.UnhandledException - ' - My.Application.Log.WriteException(e.Exception, - TraceEventType.Critical, - "Application shut down at " & - My.Computer.Clock.GmtTime.ToString) - ' - End Sub - ' - - End Class -End Namespace \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/VbVbalrMyApplicationLog.vbproj b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/VbVbalrMyApplicationLog.vbproj deleted file mode 100644 index ac41f765498..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/VbVbalrMyApplicationLog.vbproj +++ /dev/null @@ -1,103 +0,0 @@ - - - - Debug - AnyCPU - 8.0.41019 - 2.0 - {0E66C0AD-35BD-4063-9C9D-6CD9AA5F4B45} - WinExe - VbVbalrMyApplicationLog.My.MyApplication - VbVbalrMyApplicationLog - VbVbalrMyApplicationLog - WindowsForms - true - jkey.snk - v2.0 - - - 2.0 - - - - true - full - true - true - bin\ - VbVbalrMyApplicationLog.xml - 42016,42017,42018,42019,42032 - - - pdbonly - false - false - true - bin\ - VbVbalrMyApplicationLog.xml - 42016,42017,42018,42019,42032 - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - MyApplication.myapp - - - True - True - MyResources.resx - - - - True - True - MySettings.settings - - - - - - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - My.Resources - MyResources.Designer.vb - - - - - - - MyApplicationCodeGenerator - MyApplication.Designer.vb - - - SettingsSingleFileGenerator - MySettings.Designer.vb - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/app.config b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/app.config deleted file mode 100644 index 6b4813bc91a..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/app.config +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/jkey.snk b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/jkey.snk deleted file mode 100644 index 732d3f7e972..00000000000 Binary files a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/jkey.snk and /dev/null differ diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/Application.Designer.vb deleted file mode 100644 index 60eaf308faa..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,37 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50107.0 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - -Namespace My - - 'NOTE: This file is auto-generated, do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to project properties or double-click on the My Project node in the - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Class MyApplication - - _ - Public Sub New() - MyBase.New(Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.VbVbalrMyComputer.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/Application.myapp deleted file mode 100644 index b456038a826..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/ApplicationEvents.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/ApplicationEvents.vb deleted file mode 100644 index db583f42ae7..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/ApplicationEvents.vb +++ /dev/null @@ -1,15 +0,0 @@ -Namespace My - - 'The following events are available for MyApplication - ' - 'Startup: Raised when the application starts, before the startup form is created. - 'Shutdown: Raised after all application forms are closed. This event is not raised if the application is terminating abnormally. - 'UnhandledException: Raised if the application encounters an unhandled exception. - 'StartupNextInstance: Raised when launching a single-instance application and the application is already active. - 'NetworkAvailabilityChanged: Raised when the network connection is connected or disconnected. - - Partial Friend Class MyApplication - - End Class - -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 73c22653176..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/MyApplication.myapp b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/MyApplication.myapp deleted file mode 100644 index 194be46de43..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/MyApplication.myapp +++ /dev/null @@ -1,10 +0,0 @@ - - - true - VbVbalrMyComputer.Form1 - false - 0 - true - 0 - 0 - diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/MyApplication.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/MyApplication.vb deleted file mode 100644 index 00227d3dcc8..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/MyApplication.vb +++ /dev/null @@ -1,29 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - Partial Class MyApplication - - Public Sub New() - MyBase.New(ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.ShutDownStyle = ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = My.Forms.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/Settings.Designer.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/Settings.Designer.vb deleted file mode 100644 index 88172fee488..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/My Project/Settings.Designer.vb +++ /dev/null @@ -1,66 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50107.0 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - - - - _ -Partial NotInheritable Class Settings - Inherits Global.System.Configuration.ApplicationSettingsBase - - _ - Private Shared defaultInstance As Settings = New Settings - -#Region "My.Settings Auto-Save Functionality" -#If _MyType = "WindowsForms" Then - _ - Private Shared addedHandler As Boolean - - _ - Private Shared Sub AutoSaveSettings(ByVal sender As Object, ByVal e As EventArgs) - If My.Application.SaveMySettingsOnExit Then - My.Settings.Save() - End If - End Sub -#End If -#End Region - - Public Shared ReadOnly Property [Default]() As Settings - Get - -#If _MyType = "WindowsForms" Then - If Not addedHandler Then - AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings - addedHandler = True - End If -#End If - Return defaultInstance - End Get - End Property -End Class - -Namespace My - - _ - Module MySettingsProperty - - _ - Friend ReadOnly Property Settings() As Global.VbVbalrMyComputer.Settings - Get - Return Global.VbVbalrMyComputer.Settings.Default - End Get - End Property - End Module -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/VbVbalrMyComputer.vbproj b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/VbVbalrMyComputer.vbproj deleted file mode 100644 index ac20e3dad17..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/VbVbalrMyComputer.vbproj +++ /dev/null @@ -1,99 +0,0 @@ - - - Debug - AnyCPU - 8.0.50129 - 2.0 - {70F5EA07-48BD-4FEC-8E00-E251D72AE11E} - WinExe - VbVbalrMyComputer.My.MyApplication - VbVbalrMyComputer - VbVbalrMyComputer - WindowsForms - - - true - full - true - true - bin\ - VbVbalrMyComputer.xml - 42016,42017,42018,42019,42032 - - - pdbonly - false - true - true - bin\ - VbVbalrMyComputer.xml - 42016,42017,42018,42019,42032 - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - MyApplication.myapp - - - True - True - MyResources.resx - - - True - MySettings.settings - True - - - - - - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - My.Resources - MyResources.Designer.vb - - - - - - MyApplicationCodeGenerator - MyApplication.vb - - - SettingsSingleFileGenerator - MySettings.vb - - - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/My Project/Application.Designer.vb deleted file mode 100644 index a59851788b6..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,37 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50129.0 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - -Namespace My - - 'NOTE: This file is auto-generated, do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to project properties or double-click on the My Project node in the - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Class MyApplication - - _ - Public Sub New() - MyBase.New(Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.VbVbalrMyResources2.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 6ef0e362573..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,36 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/VbVbalrMyResources2.vbproj b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/VbVbalrMyResources2.vbproj deleted file mode 100644 index 94e73c529d8..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/VbVbalrMyResources2.vbproj +++ /dev/null @@ -1,111 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50129 - 2.0 - {47F692EB-4E7D-4498-A118-E854099A78DB} - WinExe - VbVbalrMyResources2.My.MyApplication - VbVbalrMyResources2 - VbVbalrMyResources2 - WindowsForms - - - 2.0 - - - - - true - full - true - true - bin\Debug\ - VbVbalrMyResources2.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - VbVbalrMyResources2.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - Settings.Designer.vb - - - - - - - - - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/My Project/Application.Designer.vb deleted file mode 100644 index eb21d15bcfc..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50129.0 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.ApplicationDefined) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.VbVbalrMyUser.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/My Project/Application.myapp deleted file mode 100644 index 79749140e83..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 1 - 0 - true - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 73db5d3847a..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,36 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/VbVbalrMyUser.vbproj b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/VbVbalrMyUser.vbproj deleted file mode 100644 index c9192e9a408..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/VbVbalrMyUser.vbproj +++ /dev/null @@ -1,108 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50129 - 2.0 - {73C1830E-F98F-4512-B949-09C4EA06B880} - WinExe - VbVbalrMyUser.My.MyApplication - VbVbalrMyUser - VbVbalrMyUser - WindowsForms - - - true - full - true - true - bin\Debug\ - VbVbalrMyUser.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - VbVbalrMyUser.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - LoginForm1.vb - - - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - - - - Form1.vb - - - LoginForm1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - Settings.Designer.vb - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 91d7311a61b..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,36 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/VbVbalrScriptEngineProperties.vbproj b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/VbVbalrScriptEngineProperties.vbproj deleted file mode 100644 index 8f4edb26139..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/VbVbalrScriptEngineProperties.vbproj +++ /dev/null @@ -1,84 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50317 - 2.0 - {22418863-7F24-42D9-886D-CABF04A25039} - Exe - VbVbalrScriptEngineProperties.Module1 - VbVbalrScriptEngineProperties - VbVbalrScriptEngineProperties - Console - - - true - full - true - true - bin\Debug\ - VbVbalrScriptEngineProperties.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - VbVbalrScriptEngineProperties.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - Settings.Designer.vb - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/Form1.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/Form1.vb deleted file mode 100644 index e5c17e20dc0..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/Form1.vb +++ /dev/null @@ -1,34 +0,0 @@ -Public Class Form1 - -' - Public Sub waitFiveSeconds() - ' - If TimeOfDay >= #11:59:55 PM# Then - MsgBox("The current time is within 5 seconds of midnight" & - vbCrLf & "The timer returns to 0.0 at midnight") - Return - End If - ' - Dim start, finish, totalTime As Double - If (MsgBox("Press Yes to pause for 5 seconds", MsgBoxStyle.YesNo)) = - MsgBoxResult.Yes Then - - start = Microsoft.VisualBasic.DateAndTime.Timer - ' Set end time for 5-second duration. - finish = start + 5.0 - ' - Do While Microsoft.VisualBasic.DateAndTime.Timer < finish - ' Do other processing while waiting for 5 seconds to elapse. - Loop - ' - totalTime = Microsoft.VisualBasic.DateAndTime.Timer - start - MsgBox("Paused for " & totalTime & " seconds") - End If - End Sub -' - - Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click - waitFiveSeconds() - End Sub - -End Class diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/My Project/Application.Designer.vb deleted file mode 100644 index c1b41f69c1e..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,37 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50317.0 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - -Namespace My - - 'NOTE: This file is auto-generated, do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to project properties or double-click on the My Project node in the - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Class MyApplication - - _ - Public Sub New() - MyBase.New(Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.VbVbalrTimerProperty.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 2410c846e17..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,36 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/VbVbalrTimerProperty.vbproj b/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/VbVbalrTimerProperty.vbproj deleted file mode 100644 index 56baf18c059..00000000000 --- a/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/VbVbalrTimerProperty.vbproj +++ /dev/null @@ -1,95 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50317 - 2.0 - {C6235D23-B51C-4DB5-A46F-C7BFF6596297} - WinExe - VbVbalrTimerProperty.My.MyApplication - VbVbalrTimerProperty - VbVbalrTimerProperty - WindowsForms - - - true - full - true - true - bin\Debug\ - VbVbalrTimerProperty.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - VbVbalrTimerProperty.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - Settings.Designer.vb - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/AppSettingsSample.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/AppSettingsSample.vbproj deleted file mode 100644 index 88817429111..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/AppSettingsSample.vbproj +++ /dev/null @@ -1,106 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {8185A72A-6670-477B-B062-96065DCB8735} - WinExe - AppSettingsSample.My.MyApplication - AppSettingsSample - AppSettingsSample - WindowsForms - - - true - full - true - true - bin\Debug\ - AppSettingsSample.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - AppSettingsSample.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Designer - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Application.Designer.vb deleted file mode 100644 index fcf2637254c..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.AppSettingsSample.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 17d40dea8cb..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/ClassicColorDialogExample.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/ClassicColorDialogExample.vbproj deleted file mode 100644 index aa3b0dbed74..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/ClassicColorDialogExample.vbproj +++ /dev/null @@ -1,106 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {CC678BD7-260C-4381-A773-01D91CE64ED5} - WinExe - ClassicColorDialogExample.My.MyApplication - ClassicColorDialogExample - ClassicColorDialogExample - WindowsForms - - - true - full - true - true - bin\Debug\ - ClassicColorDialogExample.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - ClassicColorDialogExample.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Designer - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Application.Designer.vb deleted file mode 100644 index 152a66f74eb..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.ClassicColorDialogExample.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 78fdcc1d10c..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/ClientAppServicesDemo.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/ClientAppServicesDemo.vbproj deleted file mode 100644 index 3e28229a778..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/ClientAppServicesDemo.vbproj +++ /dev/null @@ -1,94 +0,0 @@ - - - - Debug - AnyCPU - 9.0.20706 - 2.0 - {E7BE7173-3B0A-42A7-ADE3-A498A707EDE4} - WinExe - ClientAppServicesDemo.Form1 - ClientAppServicesDemo - ClientAppServicesDemo - 512 - WindowsForms - v3.5 - On - Binary - Off - On - - - true - full - true - true - bin\Debug\ - ClientAppServicesDemo.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - ClientAppServicesDemo.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - 3.5 - - - - - 3.5 - - - 3.5 - - - - - - - - - - - - - - - - - - - Form - - - Form - - - - - - - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/AutoSizeProjectVB.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/AutoSizeProjectVB.vbproj deleted file mode 100644 index 3f9c618a53c..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/AutoSizeProjectVB.vbproj +++ /dev/null @@ -1,106 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {38A4720C-E8CB-4673-823A-ED9FCCB13219} - WinExe - AutoSizeProjectVB.My.MyApplication - AutoSizeProjectVB - AutoSizeProjectVB - WindowsForms - - - true - full - true - true - bin\Debug\ - AutoSizeProjectVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - AutoSizeProjectVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Designer - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Application.Designer.vb deleted file mode 100644 index 6b9460e7a94..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.AutoSizeProjectVB.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 5703af9c1a8..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/MouseEventArgsVB.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/MouseEventArgsVB.vbproj deleted file mode 100644 index d4bf430820b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/MouseEventArgsVB.vbproj +++ /dev/null @@ -1,96 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50129 - 2.0 - {109A3344-7D8E-4260-8FFF-61B96EE47CD7} - WinExe - MouseEventArgsVB.My.MyApplication - MouseEventArgsVB - MouseEventArgsVB - WindowsForms - - - true - full - true - true - bin\Debug\ - MouseEventArgsVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - MouseEventArgsVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - Settings.Designer.vb - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Application.Designer.vb deleted file mode 100644 index 4ecbdb4b542..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,37 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50129.0 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - -Namespace My - - 'NOTE: This file is auto-generated, do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to project properties or double-click on the My Project node in the - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Class MyApplication - - _ - Public Sub New() - MyBase.New(Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.MouseEventArgsVB.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/ApplicationEvents.vb b/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/ApplicationEvents.vb deleted file mode 100644 index 31b18beb736..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/ApplicationEvents.vb +++ /dev/null @@ -1,15 +0,0 @@ -Namespace My - - 'The following events are available for MyApplication - ' - 'Startup: Raised when the application starts, before the startup form is created. - 'Shutdown: Raised after all application forms are closed. This event is not raised if the application is terminating abnormally. - 'UnhandledException: Raised if the application encounters an unhandled exception. - 'StartupNextInstance: Raised when launching a single-instance application and the application is already active. - 'NetworkAvailabilityChanged: Raised when the network connection is connected or disconnected. - - Class MyApplication - - End Class - -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 59eace6df61..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,36 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Settings.settings b/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Settings.settings deleted file mode 100644 index 39645652af6..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/My Project/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Application.Designer.vb deleted file mode 100644 index 0d59b7aac01..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.TestSaveFileDialogVB.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index ebb329edaaf..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/TestSaveFileDialogVB.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/TestSaveFileDialogVB.vbproj deleted file mode 100644 index dc596d5e57a..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/TestSaveFileDialogVB.vbproj +++ /dev/null @@ -1,112 +0,0 @@ - - - - Debug - AnyCPU - - 2.0 - {fdbe1954-0807-4641-b189-6426ca901eaa} - WinExe - TestSaveFileDialogVB.My.MyApplication - TestSaveFileDialogVB - TestSaveFileDialogVB - WindowsForms - - - - true - full - true - true - bin\Debug\ - TestSaveFileDialogVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - pdbonly - false - true - true - bin\Release\ - TestSaveFileDialogVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/DemoControl.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/DemoControl.vb deleted file mode 100644 index 67c1ac9e866..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/DemoControl.vb +++ /dev/null @@ -1,17 +0,0 @@ - ' -Imports System.ComponentModel -Imports System.ComponentModel.Design -Imports System.Text -Imports System.Windows.Forms -Imports System.Windows.Forms.Design - - - _ -Public Class DemoControl - Inherits Control - - Public Sub New() - - End Sub -End Class -' \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/ReadOnlyPropertyDescriptor.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/ReadOnlyPropertyDescriptor.vbproj deleted file mode 100644 index 0f2a6f603dc..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/ReadOnlyPropertyDescriptor.vbproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {72DFD7F8-CE28-49C1-AA55-A3D7CF96467A} - Library - ReadOnlyPropertyDescriptor - ReadOnlyPropertyDescriptor - Windows - - - true - full - true - true - bin\Debug\ - ReadOnlyPropertyDescriptor.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - ReadOnlyPropertyDescriptor.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - Component - - - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Application.Designer.vb deleted file mode 100644 index 49d02340af5..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50721.0 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.TestMouseWheelVB.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 99c5a07d001..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/TestMouseWheelVB.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/TestMouseWheelVB.vbproj deleted file mode 100644 index 630402f225d..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/TestMouseWheelVB.vbproj +++ /dev/null @@ -1,108 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50721 - 2.0 - {517C77AA-24D4-48B6-8596-02005E3DAA2E} - WinExe - TestMouseWheelVB.My.MyApplication - TestMouseWheelVB - TestMouseWheelVB - WindowsForms - - - true - full - true - true - bin\Debug\ - TestMouseWheelVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - TestMouseWheelVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - MouseWheelControl.vb - - - UserControl - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/HtmlDocumentProject.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/HtmlDocumentProject.vbproj deleted file mode 100644 index 11041be0eb2..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/HtmlDocumentProject.vbproj +++ /dev/null @@ -1,103 +0,0 @@ - - - Debug - AnyCPU - 8.0.50228 - 2.0 - {259B81AA-F306-49F0-9AFB-7C75884FB6FE} - WinExe - HtmlDocumentProject.My.MyApplication - HtmlDocumentProject - HtmlDocumentProject - WindowsForms - - - true - full - true - true - bin\ - HtmlDocumentProject.xml - 42016,42017,42018,42019,42032 - - - pdbonly - false - true - true - bin\ - HtmlDocumentProject.xml - 42016,42017,42018,42019,42032 - - - - False - Common\MSHTML.dll - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - MyApplication.myapp - - - True - True - MyResources.resx - - - True - MySettings.settings - True - - - - - - Form1.vb - Designer - - - VbMyResourcesResXFileCodeGenerator - MyResources.vb - My.Resources - Designer - - - - - - MyApplicationCodeGenerator - MyApplication.vb - - - SettingsSingleFileGenerator - MySettings.vb - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 7e5837e4651..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyApplication.myapp b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyApplication.myapp deleted file mode 100644 index f5f5c1f7004..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyApplication.myapp +++ /dev/null @@ -1,10 +0,0 @@ - - - true - HtmlDocumentProject.Form1 - false - 0 - true - 0 - 0 - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyApplication.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyApplication.vb deleted file mode 100644 index 00227d3dcc8..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/My Project/MyApplication.vb +++ /dev/null @@ -1,29 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - Partial Class MyApplication - - Public Sub New() - MyBase.New(ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.ShutDownStyle = ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = My.Forms.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/HtmlElementProject.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/HtmlElementProject.vbproj deleted file mode 100644 index 8f097245afb..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/HtmlElementProject.vbproj +++ /dev/null @@ -1,96 +0,0 @@ - - - Debug - AnyCPU - 8.0.41123 - 2.0 - {0032B27F-DFAF-4DD5-BB1F-8B3A3E7C7DE2} - WinExe - HtmlElementProject.My.MyApplication - HtmlElementProject - HtmlElementProject - WindowsForms - - - true - full - true - true - bin\ - HtmlElementProject.xml - 42016,42017,42018,42019,42032 - - - pdbonly - false - true - true - bin\ - HtmlElementProject.xml - 42016,42017,42018,42019,42032 - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - MyApplication.myapp - - - True - True - MyResources.resx - - - True - MySettings.settings - True - - - - - - Form1.vb - Designer - - - VbMyResourcesResXFileCodeGenerator - MyResources.vb - My.Resources - Designer - - - - - - MyApplicationCodeGenerator - MyApplication.vb - - - SettingsSingleFileGenerator - MySettings.vb - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 65c5feb0b9d..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyApplication.myapp b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyApplication.myapp deleted file mode 100644 index e84073258a2..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyApplication.myapp +++ /dev/null @@ -1,10 +0,0 @@ - - - true - HtmlElementProject.Form1 - false - 0 - true - 0 - 0 - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyApplication.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyApplication.vb deleted file mode 100644 index 00227d3dcc8..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyApplication.vb +++ /dev/null @@ -1,29 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - Partial Class MyApplication - - Public Sub New() - MyBase.New(ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.ShutDownStyle = ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = My.Forms.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyEvents.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyEvents.vb deleted file mode 100644 index b6dfb0a6eb5..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MyEvents.vb +++ /dev/null @@ -1,15 +0,0 @@ -Namespace My - - 'Use the editor window dropdowns in the Application pane of the Project Designer to handle MyApplication Events - ' - 'Startup: Raised when the application starts, before the startup form is created. - 'Shutdown: Raised after all application forms are closed. This event is not raised if the application is terminating abnormally. - 'UnhandledException: Raised if the application encounters an unhandled exception. - 'StartupNextInstance: Raised when launching a single-instance application and the application is already active. - 'NetworkAvailabilityChanged: Raised when the network connection is connected or disconnected. - - Partial Friend Class MyApplication - - End Class - -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MySettings.settings b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MySettings.settings deleted file mode 100644 index 0bcb11da337..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MySettings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MySettings.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MySettings.vb deleted file mode 100644 index 3d12c6fb5fa..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/My Project/MySettings.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict Off -Option Explicit On - - - -Partial Friend NotInheritable Class MySettings - Inherits System.Configuration.ApplicationSettingsBase - - Private Shared m_Value As MySettings - - Private Shared m_SyncObject As Object = New Object - - _ - Public Shared ReadOnly Property Value() As MySettings - Get - If (MySettings.m_Value Is Nothing) Then - System.Threading.Monitor.Enter(MySettings.m_SyncObject) - If (MySettings.m_Value Is Nothing) Then - Try - MySettings.m_Value = New MySettings - Finally - System.Threading.Monitor.Exit(MySettings.m_SyncObject) - End Try - End If - End If - Return MySettings.m_Value - End Get - End Property -End Class diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/HtmlElementEventArgsProjectVB.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/HtmlElementEventArgsProjectVB.vbproj deleted file mode 100644 index b8f1eaadc24..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/HtmlElementEventArgsProjectVB.vbproj +++ /dev/null @@ -1,106 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {4F895F10-105F-4E16-9C62-78F0ABF99D7E} - WinExe - HtmlElementEventArgsProjectVB.My.MyApplication - HtmlElementEventArgsProjectVB - HtmlElementEventArgsProjectVB - WindowsForms - - - true - full - true - true - bin\Debug\ - HtmlElementEventArgsProjectVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - HtmlElementEventArgsProjectVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Designer - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Application.Designer.vb deleted file mode 100644 index c8a5a9b3957..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.HtmlElementEventArgsProjectVB.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 6aa2eb6bff3..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.resx b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.resx deleted file mode 100644 index 25c2f26478d..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/HtmlWindowProject.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/HtmlWindowProject.vbproj deleted file mode 100644 index 229aaf08d13..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/HtmlWindowProject.vbproj +++ /dev/null @@ -1,113 +0,0 @@ - - - Debug - AnyCPU - 8.0.41129 - 2.0 - {32E74E99-EB22-466D-A22C-9196118038F1} - WinExe - HtmlWindowProject.My.MyApplication - HtmlWindowProject - HtmlWindowProject - WindowsForms - - - true - full - true - true - bin\ - HtmlWindowProject.xml - 42016,42017,42018,42019,42032 - - - pdbonly - false - true - true - bin\ - HtmlWindowProject.xml - 42016,42017,42018,42019,42032 - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - MyApplication.myapp - - - True - True - MyResources.resx - - - True - MySettings.settings - True - - - - - - Form1.vb - Designer - - - VbMyResourcesResXFileCodeGenerator - MyResources.vb - My.Resources - Designer - - - - - - MyApplicationCodeGenerator - MyApplication.Designer.vb - - - SettingsSingleFileGenerator - MySettings.vb - - - - - {3050F1C5-98B5-11CF-BB82-00AA00BDCE0B} - 4 - 0 - 0 - primary - False - - - {00020430-0000-0000-C000-000000000046} - 2 - 0 - 0 - primary - False - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index a0f52b8bccb..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyApplication.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyApplication.Designer.vb deleted file mode 100644 index 26f31a45dd1..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyApplication.Designer.vb +++ /dev/null @@ -1,33 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.40930.0 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - Partial Class MyApplication - - _ - Public Sub New() - MyBase.New(Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - ' Me.EnableRTLMirroring = false - Me.ShutDownStyle = Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.HtmlWindowProject.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyApplication.myapp b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyApplication.myapp deleted file mode 100644 index dc446fe4f8b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyApplication.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - HtmlWindowProject.Form1 - false - 0 - true - 0 - 0 - false - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyEvents.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyEvents.vb deleted file mode 100644 index b6dfb0a6eb5..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyEvents.vb +++ /dev/null @@ -1,15 +0,0 @@ -Namespace My - - 'Use the editor window dropdowns in the Application pane of the Project Designer to handle MyApplication Events - ' - 'Startup: Raised when the application starts, before the startup form is created. - 'Shutdown: Raised after all application forms are closed. This event is not raised if the application is terminating abnormally. - 'UnhandledException: Raised if the application encounters an unhandled exception. - 'StartupNextInstance: Raised when launching a single-instance application and the application is already active. - 'NetworkAvailabilityChanged: Raised when the network connection is connected or disconnected. - - Partial Friend Class MyApplication - - End Class - -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyResources.resx b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyResources.resx deleted file mode 100644 index 3e18af958a2..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MyResources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MySettings.settings b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MySettings.settings deleted file mode 100644 index 0bcb11da337..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MySettings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MySettings.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MySettings.vb deleted file mode 100644 index 3d12c6fb5fa..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/My Project/MySettings.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict Off -Option Explicit On - - - -Partial Friend NotInheritable Class MySettings - Inherits System.Configuration.ApplicationSettingsBase - - Private Shared m_Value As MySettings - - Private Shared m_SyncObject As Object = New Object - - _ - Public Shared ReadOnly Property Value() As MySettings - Get - If (MySettings.m_Value Is Nothing) Then - System.Threading.Monitor.Enter(MySettings.m_SyncObject) - If (MySettings.m_Value Is Nothing) Then - Try - MySettings.m_Value = New MySettings - Finally - System.Threading.Monitor.Exit(MySettings.m_SyncObject) - End Try - End If - End If - Return MySettings.m_Value - End Get - End Property -End Class diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Application.Designer.vb deleted file mode 100644 index 4790b40a0ff..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.42 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.TestOpenFileDialogMultiSelectVB.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index c01b98f22a3..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/TestOpenFileDialogMultiSelectVB.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/TestOpenFileDialogMultiSelectVB.vbproj deleted file mode 100644 index d26d23f1cbf..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/TestOpenFileDialogMultiSelectVB.vbproj +++ /dev/null @@ -1,106 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {7CD282C6-7060-49F5-B797-5C2DEC17FB43} - WinExe - TestOpenFileDialogMultiSelectVB.My.MyApplication - TestOpenFileDialogMultiSelectVB - TestOpenFileDialogMultiSelectVB - WindowsForms - - - true - full - true - true - bin\Debug\ - TestOpenFileDialogMultiSelectVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - TestOpenFileDialogMultiSelectVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Designer - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/AutoSize.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/AutoSize.vbproj deleted file mode 100644 index 4b98601788a..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/AutoSize.vbproj +++ /dev/null @@ -1,106 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {69331AA4-F828-4FFF-A125-B087955118FB} - WinExe - AutoSize.My.MyApplication - AutoSize - AutoSize - WindowsForms - - - true - full - true - true - bin\Debug\ - AutoSize.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - AutoSize.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Designer - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Application.Designer.vb deleted file mode 100644 index 5cad2bece91..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.312 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.AutoSize.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index d1ae0cdc803..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/KeysConverterVB.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/KeysConverterVB.vbproj deleted file mode 100644 index df4901df669..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/KeysConverterVB.vbproj +++ /dev/null @@ -1,106 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {C9E43FBE-B97C-47F6-9E53-8FD22247555C} - WinExe - KeysConverterVB.My.MyApplication - KeysConverterVB - KeysConverterVB - WindowsForms - - - true - full - true - true - bin\Debug\ - KeysConverterVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - KeysConverterVB.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Designer - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Application.Designer.vb deleted file mode 100644 index 48ef5f7ba4a..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.312 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.KeysConverterVB.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index 17a86baceda..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Application.Designer.vb deleted file mode 100644 index 800ed2675fa..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Application.Designer.vb +++ /dev/null @@ -1,38 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:2.0.50727.312 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - - -Namespace My - - 'NOTE: This file is auto-generated; do not modify it directly. To make changes, - ' or if you encounter build errors in this file, go to the Project Designer - ' (go to Project Properties or double-click the My Project node in - ' Solution Explorer), and make changes on the Application tab. - ' - Partial Friend Class MyApplication - - _ - Public Sub New() - MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) - Me.IsSingleInstance = false - Me.EnableVisualStyles = true - Me.SaveMySettingsOnExit = true - Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses - End Sub - - _ - Protected Overrides Sub OnCreateMainForm() - Me.MainForm = Global.SelectionStart.Form1 - End Sub - End Class -End Namespace diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Application.myapp deleted file mode 100644 index 1243847fd9b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Application.myapp +++ /dev/null @@ -1,11 +0,0 @@ - - - true - Form1 - false - 0 - true - 0 - 0 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/AssemblyInfo.vb deleted file mode 100644 index dd590caa343..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/AssemblyInfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Resources.resx b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Resources.resx deleted file mode 100644 index af7dbebbace..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/My Project/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/SelectionStart.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/SelectionStart.vbproj deleted file mode 100644 index 1a1f024f23a..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/SelectionStart.vbproj +++ /dev/null @@ -1,106 +0,0 @@ - - - - Debug - AnyCPU - 8.0.50727 - 2.0 - {3932B152-9BA2-4708-AB28-FA49E820BB1A} - WinExe - SelectionStart.My.MyApplication - SelectionStart - SelectionStart - WindowsForms - - - true - full - true - true - bin\Debug\ - SelectionStart.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - pdbonly - false - true - true - bin\Release\ - SelectionStart.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Designer - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/module1.vb b/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/module1.vb deleted file mode 100644 index 5778d02419b..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/module1.vb +++ /dev/null @@ -1,262 +0,0 @@ - -Imports System.Drawing -Imports System.Collections -Imports System.ComponentModel -Imports System.Windows.Forms -Imports System.Data - -Module Module1 - - Private Sub Main() - Application.Run(New Form1()) - End Sub - -Public Class Form1 - Inherits System.Windows.Forms.Form - ' use MySplitContainer to replicate 3.5 behavior - 'private MySplitContainer splitContainer2; - Private splitContainer2 As SplitContainer - - Private splitContainer1 As System.Windows.Forms.SplitContainer - Private treeView1 As System.Windows.Forms.TreeView - Private listView2 As System.Windows.Forms.ListView - Private listView1 As System.Windows.Forms.ListView - - Public Sub New() - InitializeComponent() - End Sub - Private Sub InitializeComponent() - splitContainer1 = New System.Windows.Forms.SplitContainer() - treeView1 = New System.Windows.Forms.TreeView() - splitContainer2 = New MySplitContainer() - listView1 = New System.Windows.Forms.ListView() - listView2 = New System.Windows.Forms.ListView() - splitContainer1.SuspendLayout() - splitContainer2.SuspendLayout() - SuspendLayout() - - ' Basic SplitContainer properties. - ' This is a vertical splitter that moves in 10-pixel increments. - ' This splitter needs no explicit Orientation property because Vertical is the default. - splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill - splitContainer1.ForeColor = System.Drawing.SystemColors.Control - splitContainer1.Location = New System.Drawing.Point(0, 0) - splitContainer1.Name = "splitContainer1" - - ' You can drag the splitter no nearer than 30 pixels from the left edge of the container. - splitContainer1.Panel1MinSize = 30 - - ' You can drag the splitter no nearer than 20 pixels from the right edge of the container. - splitContainer1.Panel2MinSize = 20 - splitContainer1.Size = New System.Drawing.Size(292, 273) - splitContainer1.SplitterDistance = 79 - - ' This splitter moves in 10-pixel increments. - splitContainer1.SplitterIncrement = 10 - splitContainer1.SplitterWidth = 6 - - ' splitContainer1 is the first control in the tab order. - splitContainer1.TabIndex = 0 - splitContainer1.Text = "splitContainer1" - - ' When the splitter moves, the cursor changes shape. - AddHandler splitContainer1.SplitterMoved, AddressOf splitContainer1_SplitterMoved - AddHandler splitContainer1.SplitterMoving, AddressOf splitContainer1_SplitterMoving - - ' Add a TreeView control to the left panel. - splitContainer1.Panel1.BackColor = System.Drawing.SystemColors.Control - - ' Add a TreeView control to Panel1. - splitContainer1.Panel1.Controls.Add(treeView1) - splitContainer1.Panel1.Name = "splitterPanel1" - - ' Controls placed on Panel1 support right-to-left fonts. - splitContainer1.Panel1.RightToLeft = System.Windows.Forms.RightToLeft.Yes - - - ' Add a SplitContainer to the right panel. - splitContainer1.Panel2.Controls.Add(splitContainer2) - splitContainer1.Panel2.Name = "splitterPanel2" - - ' This TreeView control is in Panel1 of splitContainer1. - treeView1.Dock = System.Windows.Forms.DockStyle.Fill - treeView1.ForeColor = System.Drawing.SystemColors.InfoText - treeView1.ImageIndex = -1 - treeView1.Location = New System.Drawing.Point(0, 0) - treeView1.Name = "treeView1" - treeView1.SelectedImageIndex = -1 - treeView1.Size = New System.Drawing.Size(79, 273) - - treeView1.BeginUpdate() - treeView1.Nodes.Add("Parent") - treeView1.Nodes(0).Nodes.Add("Child 1") - treeView1.Nodes(0).Nodes.Add("Child 2") - treeView1.Nodes(0).Nodes(1).Nodes.Add("Grandchild") - treeView1.Nodes(0).Nodes(1).Nodes(0).Nodes.Add("Great Grandchild") - treeView1.EndUpdate() - - ' treeView1 is the second control in the tab order. - treeView1.TabIndex = 1 - - ' Basic SplitContainer properties. - ' This is a horizontal splitter whose top and bottom panels are ListView controls. The top panel is fixed. - splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill - - ' The top panel remains the same size when the form is resized. - splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1 - splitContainer2.Location = New System.Drawing.Point(0, 0) - splitContainer2.Name = "splitContainer2" - - ' Create the horizontal splitter. - splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal - splitContainer2.Size = New System.Drawing.Size(207, 273) - splitContainer2.SplitterDistance = 125 - splitContainer2.SplitterWidth = 6 - - ' splitContainer2 is the third control in the tab order. - 'splitContainer2.TabIndex = 2; - splitContainer2.TabStop = False - splitContainer2.Text = "splitContainer2" - - ' This splitter panel contains the top ListView control. - splitContainer2.Panel1.Controls.Add(listView1) - splitContainer2.Panel1.Name = "splitterPanel3" - - ' This splitter panel contains the bottom ListView control. - splitContainer2.Panel2.Controls.Add(listView2) - splitContainer2.Panel2.Name = "splitterPanel4" - - ' This ListView control is in the top panel of splitContainer2. - listView1.Dock = System.Windows.Forms.DockStyle.Fill - listView1.Location = New System.Drawing.Point(0, 0) - listView1.Name = "listView1" - listView1.Size = New System.Drawing.Size(207, 125) - listView1.View = View.Details - - ' Display grid lines. - listView1.GridLines = True - - - ' Create three items and three sets of subitems for each item. - Dim item1 As New ListViewItem("item1", 0) - ' Place a check mark next to the item. - item1.Checked = True - item1.SubItems.Add("1") - item1.SubItems.Add("2") - item1.SubItems.Add("3") - Dim item2 As New ListViewItem("item2", 1) - item2.SubItems.Add("4") - item2.SubItems.Add("5") - item2.SubItems.Add("6") - Dim item3 As New ListViewItem("item3", 0) - ' Place a check mark next to the item. - item3.Checked = True - item3.SubItems.Add("7") - item3.SubItems.Add("8") - item3.SubItems.Add("9") - - ' Create columns for the items and subitems. - ' Width of -2 indicates auto-size. - listView1.Columns.Add("Item Column", -2, HorizontalAlignment.Left) - listView1.Columns.Add("Column 2", -2, HorizontalAlignment.Left) - listView1.Columns.Add("Column 3", -2, HorizontalAlignment.Left) - listView1.Columns.Add("Column 4", -2, HorizontalAlignment.Center) - - 'Add the items to the ListView. - listView1.Items.AddRange(New ListViewItem() {item1, item2, item3}) - - ' listView1 is the fourth control in the tab order. - listView1.TabIndex = 3 - - ' This ListView control is in the bottom panel of splitContainer2. - listView2.Dock = System.Windows.Forms.DockStyle.Fill - listView2.Location = New System.Drawing.Point(0, 0) - listView2.Name = "listView2" - listView2.Size = New System.Drawing.Size(207, 142) - listView2.View = View.Details - - ' Display grid lines. - listView2.GridLines = True - - - ' Create three items and three sets of subitems for each item. - item1 = New ListViewItem("item1", 0) - ' Place a check mark next to the item. - item1.Checked = True - item1.SubItems.Add("1") - item1.SubItems.Add("2") - item1.SubItems.Add("3") - item2 = New ListViewItem("item2", 1) - item2.SubItems.Add("4") - item2.SubItems.Add("5") - item2.SubItems.Add("6") - - item3 = New ListViewItem("item3", 0) - ' Place a check mark next to the item. - item3.Checked = True - item3.SubItems.Add("7") - item3.SubItems.Add("8") - item3.SubItems.Add("9") - - ' Create columns for the items and subitems. - ' Width of -2 indicates auto-size. - listView2.Columns.Add("Item Column", -2, HorizontalAlignment.Left) - listView2.Columns.Add("Column 2", -2, HorizontalAlignment.Left) - listView2.Columns.Add("Column 3", -2, HorizontalAlignment.Left) - listView2.Columns.Add("Column 4", -2, HorizontalAlignment.Center) - - 'Add the items to the ListView. - listView2.Items.AddRange(New ListViewItem() {item1, item2, item3}) - - ' listView2 is the fifth control in the tab order. - listView2.TabIndex = 4 - - ' These are basic properties of the form. - 'ClientSize = new System.Drawing.Size(292, 273); - Me.WindowState = FormWindowState.Maximized - Controls.Add(splitContainer1) - Name = "Form1" - Text = "Form1" - splitContainer1.ResumeLayout(False) - splitContainer2.ResumeLayout(False) - ResumeLayout(False) - End Sub - - Private Sub splitContainer1_SplitterMoving(ByVal sender As System.Object, ByVal e As System.Windows.Forms.SplitterCancelEventArgs) - ' As the splitter moves, change the cursor type. - Cursor.Current = System.Windows.Forms.Cursors.NoMoveVert - End Sub - Private Sub splitContainer1_SplitterMoved(ByVal sender As System.Object, ByVal e As System.Windows.Forms.SplitterEventArgs) - ' When the splitter stops moving, change the cursor back to the default. - Cursor.Current = System.Windows.Forms.Cursors.[Default] - End Sub -End Class - -' -Public Class MySplitContainer - Inherits SplitContainer - Private m_tabStop As Boolean = True - Public Shadows Property TabStop() As Boolean - Get - Return m_tabStop - End Get - Set(ByVal value As Boolean) - If TabStop <> value Then - m_tabStop = value - OnTabStopChanged(EventArgs.Empty) - End If - End Set - End Property - - Protected Overloads Overrides Function ProcessTabKey(ByVal forward As Boolean) As Boolean - If Not m_tabStop Then - If SelectNextControl(ActiveControl, forward, True, True, False) Then - Return True - End If - End If - Return MyBase.ProcessTabKey(forward) - End Function -End Class - ' - -End Module diff --git a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/application.designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/application.designer.vb deleted file mode 100644 index 32c54ef1402..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/application.designer.vb +++ /dev/null @@ -1,13 +0,0 @@ -'------------------------------------------------------------------------------ -' -' This code was generated by a tool. -' Runtime Version:4.0.30109.1 -' -' Changes to this file may cause incorrect behavior and will be lost if -' the code is regenerated. -' -'------------------------------------------------------------------------------ - -Option Strict On -Option Explicit On - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/application.myapp b/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/application.myapp deleted file mode 100644 index e62f1a53381..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/application.myapp +++ /dev/null @@ -1,10 +0,0 @@ - - - false - false - 0 - true - 0 - 2 - true - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/assemblyinfo.vb b/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/assemblyinfo.vb deleted file mode 100644 index 12cd5de55d0..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/my project/assemblyinfo.vb +++ /dev/null @@ -1,34 +0,0 @@ -Imports System.Reflection -Imports System.Runtime.InteropServices - -' General Information about an assembly is controlled through the following -' set of attributes. Change these attribute values to modify the information -' associated with an assembly. - -' Review the values of the assembly attributes - - - - - - - - - - -'The following GUID is for the ID of the typelib if this project is exposed to COM - - -' Version information for an assembly consists of the following four values: -' -' Major Version -' Minor Version -' Build Number -' Revision -' -' You can specify all the values or you can default the Build and Revision Numbers -' by using the '*' as shown below: -' - - - diff --git a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/splitcontainertabstop.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/splitcontainertabstop.vbproj deleted file mode 100644 index e7d94f5013a..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/splitcontainertabstop.vbproj +++ /dev/null @@ -1,120 +0,0 @@ - - - - Debug - x86 - - - - - {A1F1418D-DD90-484D-B6ED-B98AEDE9221D} - Exe - SplitContainerTabStop.Form1 - SplitContainerTabStop - SplitContainerTabStop - 512 - Console - v4.0 - Client - - - x86 - true - full - true - true - bin\Debug\ - SplitContainerTabStop.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - x86 - pdbonly - false - true - true - bin\Release\ - SplitContainerTabStop.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - On - - - Binary - - - Off - - - On - - - - - - - - - - - - - - - - - - - - - - - - - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/backgroundworkersimple.vbproj b/snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/backgroundworkersimple.vbproj deleted file mode 100644 index b11b568d9c1..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/backgroundworkersimple.vbproj +++ /dev/null @@ -1,128 +0,0 @@ - - - - Debug - x86 - - - 2.0 - {28D8D430-EDFB-4B2D-8FF3-59CE4313485F} - WinExe - BackgroundWorkerSimple.My.MyApplication - BackgroundWorkerSimple - BackgroundWorkerSimple - 512 - WindowsForms - v4.8 - - - - x86 - true - full - true - true - bin\Debug\ - BackgroundWorkerSimple.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - x86 - pdbonly - false - true - true - bin\Release\ - BackgroundWorkerSimple.xml - 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - - - On - - - Binary - - - Off - - - On - - - - - - - - - - - - - - - - - - - - - - - - - - - Form - - - Form1.vb - Form - - - - True - Application.myapp - - - True - True - Resources.resx - - - True - Settings.settings - True - - - - - Form1.vb - - - VbMyResourcesResXFileCodeGenerator - Resources.Designer.vb - My.Resources - Designer - - - - - MyApplicationCodeGenerator - Application.Designer.vb - - - SettingsSingleFileGenerator - My - Settings.Designer.vb - - - - - \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/settings.settings b/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/settings.settings deleted file mode 100644 index 85b890b3c66..00000000000 --- a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/my project/settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/xml/Microsoft.CSharp/CSharpCodeProvider.xml b/xml/Microsoft.CSharp/CSharpCodeProvider.xml index ebfe1a81a38..9c41a5164a2 100644 --- a/xml/Microsoft.CSharp/CSharpCodeProvider.xml +++ b/xml/Microsoft.CSharp/CSharpCodeProvider.xml @@ -49,7 +49,7 @@ This class provides methods that can be used to retrieve instances of the C# The `CompileAssemblyFrom*` methods aren't supported on .NET Core and .NET 5+. This example only runs on .NET Framework. :::code language="csharp" source="~/snippets/csharp/Microsoft.CSharp/CSharpCodeProvider/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDom_CodeProviders/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.CSharp/CSharpCodeProvider/Overview/source.vb" id="Snippet1"::: ]]> @@ -357,7 +357,7 @@ In .NET Framework apps, you can obtain the value for `providerOptions` from the The following code example shows the use of the method to create a code fragment to be used in a CodeDOM graph. This code example is part of a larger example provided for the method of the class. :::code language="csharp" source="~/snippets/csharp/Microsoft.CSharp/CSharpCodeProvider/GenerateCodeFromMember/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDom_GenerateCodeFromMember/vb/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.CSharp/CSharpCodeProvider/GenerateCodeFromMember/module1.vb" id="Snippet3"::: ]]> diff --git a/xml/Microsoft.SqlServer.Server/SqlFunctionAttribute.xml b/xml/Microsoft.SqlServer.Server/SqlFunctionAttribute.xml index aa83dea2624..194d4c0213a 100644 --- a/xml/Microsoft.SqlServer.Server/SqlFunctionAttribute.xml +++ b/xml/Microsoft.SqlServer.Server/SqlFunctionAttribute.xml @@ -260,7 +260,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/Microsoft.SqlServer.Server/SqlFunctionAttribute/Function1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/Function1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.SqlServer.Server/SqlFunctionAttribute/Name/Function1.vb" id="Snippet10"::: ]]> @@ -335,7 +335,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/Microsoft.SqlServer.Server/SqlFunctionAttribute/Function1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/Function1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.SqlServer.Server/SqlFunctionAttribute/Name/Function1.vb" id="Snippet11"::: ]]> diff --git a/xml/Microsoft.SqlServer.Server/SqlProcedureAttribute.xml b/xml/Microsoft.SqlServer.Server/SqlProcedureAttribute.xml index 83055b3223a..5f27890c582 100644 --- a/xml/Microsoft.SqlServer.Server/SqlProcedureAttribute.xml +++ b/xml/Microsoft.SqlServer.Server/SqlProcedureAttribute.xml @@ -96,7 +96,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/Microsoft.SqlServer.Server/SqlProcedureAttribute/InsertCurrency.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/InsertCurrency.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.SqlServer.Server/SqlFunctionAttribute/Name/InsertCurrency.vb" id="Snippet7"::: ]]> diff --git a/xml/Microsoft.SqlServer.Server/SqlTriggerAttribute.xml b/xml/Microsoft.SqlServer.Server/SqlTriggerAttribute.xml index ca4ec060dab..45a74196055 100644 --- a/xml/Microsoft.SqlServer.Server/SqlTriggerAttribute.xml +++ b/xml/Microsoft.SqlServer.Server/SqlTriggerAttribute.xml @@ -70,7 +70,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/Microsoft.SqlServer.Server/SqlTriggerAttribute/Trigger1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/Trigger1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.SqlServer.Server/SqlFunctionAttribute/Name/Trigger1.vb" id="Snippet8"::: ]]> @@ -160,7 +160,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/Microsoft.SqlServer.Server/SqlTriggerAttribute/Trigger1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/Trigger1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.SqlServer.Server/SqlFunctionAttribute/Name/Trigger1.vb" id="Snippet9"::: ]]> diff --git a/xml/Microsoft.SqlServer.Server/SqlUserDefinedAggregateAttribute.xml b/xml/Microsoft.SqlServer.Server/SqlUserDefinedAggregateAttribute.xml index b36268498c8..fc2fa62f68e 100644 --- a/xml/Microsoft.SqlServer.Server/SqlUserDefinedAggregateAttribute.xml +++ b/xml/Microsoft.SqlServer.Server/SqlUserDefinedAggregateAttribute.xml @@ -111,7 +111,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/Microsoft.SqlServer.Server/SqlUserDefinedAggregateAttribute/Aggregate1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/Aggregate1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.SqlServer.Server/SqlFunctionAttribute/Name/Aggregate1.vb" id="Snippet6"::: ]]> diff --git a/xml/Microsoft.SqlServer.Server/SqlUserDefinedTypeAttribute.xml b/xml/Microsoft.SqlServer.Server/SqlUserDefinedTypeAttribute.xml index 13e0c3a9885..fd968b7becd 100644 --- a/xml/Microsoft.SqlServer.Server/SqlUserDefinedTypeAttribute.xml +++ b/xml/Microsoft.SqlServer.Server/SqlUserDefinedTypeAttribute.xml @@ -88,7 +88,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/Microsoft.SqlServer.Server/SqlUserDefinedTypeAttribute/Type1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRaddataSQLObjects/VB/Type1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.SqlServer.Server/SqlFunctionAttribute/Name/Type1.vb" id="Snippet12"::: ]]> diff --git a/xml/Microsoft.VisualBasic.ApplicationServices/ApplicationBase.xml b/xml/Microsoft.VisualBasic.ApplicationServices/ApplicationBase.xml index fa8dc8b684a..40f0473bfc7 100644 --- a/xml/Microsoft.VisualBasic.ApplicationServices/ApplicationBase.xml +++ b/xml/Microsoft.VisualBasic.ApplicationServices/ApplicationBase.xml @@ -30,26 +30,26 @@ Provides properties, methods, and events related to the current application. - provides members that are available in all projects. - -- provides members that are available in Windows Forms applications. - -- provides members that are available in console applications. - - - -## Examples - This example uses the `My.Application.GetEnvironmentVariable` method to get and display the value of the PATH environment variable, if this value is available. Otherwise, it displays a message that indicates that the PATH environment variable does not exist. - - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet7"::: - + provides members that are available in all projects. + +- provides members that are available in Windows Forms applications. + +- provides members that are available in console applications. + + + +## Examples + This example uses the `My.Application.GetEnvironmentVariable` method to get and display the value of the PATH environment variable, if this value is available. Otherwise, it displays a message that indicates that the PATH environment variable does not exist. + + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet7"::: + ]]> @@ -133,36 +133,36 @@ . Name of the culture as a string. For a list of possible names, see . Changes the culture used by the current thread for string manipulation and for string formatting. - property. determines the default formats for dates, times, currency, numbers, sorting order of text, string comparisons, and casing for all computations on that thread. - - To retrieve the current culture, you can use the property or the property. - - The setting is different from a language setting. It contains only data related to the standard settings for a geographical region. Therefore, the property can only be set to a specific culture or to the . - + property. determines the default formats for dates, times, currency, numbers, sorting order of text, string comparisons, and casing for all computations on that thread. + + To retrieve the current culture, you can use the property or the property. + + The setting is different from a language setting. It contains only data related to the standard settings for a geographical region. Therefore, the property can only be set to a specific culture or to the . + Use the `My.Application.ChangeUICulture` method to change the culture that the current thread uses for retrieving culture-specific resources. - -## Availability by Project Type - -|Project type|Available| -|-|-| -|Windows Forms Application|**Yes**| -|Class Library|**Yes**| -|Console Application|**Yes**| -|Windows Forms Control Library|**Yes**| -|Web Control Library|No| -|Windows Service|**Yes**| -|Web Site|No| - - - -## Examples - This example demonstrates how changing the culture changes the string representation of dates. - - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet1"::: - + +## Availability by Project Type + +|Project type|Available| +|-|-| +|Windows Forms Application|**Yes**| +|Class Library|**Yes**| +|Console Application|**Yes**| +|Windows Forms Control Library|**Yes**| +|Web Control Library|No| +|Windows Service|**Yes**| +|Web Site|No| + + + +## Examples + This example demonstrates how changing the culture changes the string representation of dates. + + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet1"::: + ]]> @@ -210,38 +210,38 @@ . Name of the culture as a string. For a list of possible names, see . Changes the culture that the current thread uses for retrieving culture-specific resources. - property. The property determines the culture used by the Resource Manager and the `My.Resources` object; it uses this information to look up culture-specific resources at run time. - - To retrieve the current UI culture, you can use the property or the property. - - Use the `My.Application.ChangeCulture` method to change the culture that the current thread uses for string manipulation and string formatting. - -## Availability by Project Type - -|Project type|Available| -|-|-| -|Windows Forms Application|**Yes**| -|Class Library|**Yes**| -|Console Application|**Yes**| -|Windows Forms Control Library|**Yes**| -|Web Control Library|No| -|Windows Service|**Yes**| -|Web Site|No| - - - -## Examples - This example uses the `My.Application.ChangeUICulture` method to set the culture that the `My.Resources` object uses for retrieving resources. - - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/Form1.vb" id="Snippet10"::: - - For this example to work, your application must have a string named `Message` in the application's resource file, and the application should have the French-culture version of that resource file, `Resources.fr-FR.resx`. For more information, see [How to: Add or Remove Resources](/previous-versions/visualstudio/visual-studio-2010/3bka19x4(v=vs.100)). - - If the application does not have the French-culture version of that resource file, the `My.Resources` object retrieves the resource from the default-culture resource file. - + property. The property determines the culture used by the Resource Manager and the `My.Resources` object; it uses this information to look up culture-specific resources at run time. + + To retrieve the current UI culture, you can use the property or the property. + + Use the `My.Application.ChangeCulture` method to change the culture that the current thread uses for string manipulation and string formatting. + +## Availability by Project Type + +|Project type|Available| +|-|-| +|Windows Forms Application|**Yes**| +|Class Library|**Yes**| +|Console Application|**Yes**| +|Windows Forms Control Library|**Yes**| +|Web Control Library|No| +|Windows Service|**Yes**| +|Web Site|No| + + + +## Examples + This example uses the `My.Application.ChangeUICulture` method to set the culture that the `My.Resources` object uses for retrieving resources. + + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/Form1.vb" id="Snippet10"::: + + For this example to work, your application must have a string named `Message` in the application's resource file, and the application should have the French-culture version of that resource file, `Resources.fr-FR.resx`. For more information, see [How to: Add or Remove Resources](/previous-versions/visualstudio/visual-studio-2010/3bka19x4(v=vs.100)). + + If the application does not have the French-culture version of that resource file, the `My.Resources` object retrieves the resource from the default-culture resource file. + ]]> @@ -284,36 +284,36 @@ Gets the culture that the current thread uses for string manipulation and string formatting. A object that represents the culture the current thread uses for string manipulation and string formatting. - object that the current thread uses for string manipulation and string formatting. This object is identical to the one returned by the property, which controls many of the string-related computations on that thread. The property determines the default formats for dates, times, currency, and numbers. It also determines how to sort, compare, and capitalize strings. - - To change the culture, you can use the method or assign a different object to the property. - - The setting is different from a language setting. It contains only data related to the standard settings for a geographical region. - - Use the `My.Application.CurrentUICulture` property to get the culture that the current thread uses for retrieving culture-specific resources. - -## Availability by Project Type - -|Project type|Available| -|-|-| -|Windows Forms Application|**Yes**| -|Class Library|**Yes**| -|Console Application|**Yes**| -|Windows Forms Control Library|**Yes**| -|Web Control Library|No| -|Windows Service|**Yes**| -|Web Site|No| - - - -## Examples - This example demonstrates how the culture affects the string representation of dates. - - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet1"::: - + object that the current thread uses for string manipulation and string formatting. This object is identical to the one returned by the property, which controls many of the string-related computations on that thread. The property determines the default formats for dates, times, currency, and numbers. It also determines how to sort, compare, and capitalize strings. + + To change the culture, you can use the method or assign a different object to the property. + + The setting is different from a language setting. It contains only data related to the standard settings for a geographical region. + + Use the `My.Application.CurrentUICulture` property to get the culture that the current thread uses for retrieving culture-specific resources. + +## Availability by Project Type + +|Project type|Available| +|-|-| +|Windows Forms Application|**Yes**| +|Class Library|**Yes**| +|Console Application|**Yes**| +|Windows Forms Control Library|**Yes**| +|Web Control Library|No| +|Windows Service|**Yes**| +|Web Site|No| + + + +## Examples + This example demonstrates how the culture affects the string representation of dates. + + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet1"::: + ]]> @@ -358,30 +358,30 @@ Returns the value of the specified environment variable. A containing the value of the environment variable with the name . - , except that this method raises an exception if the environment variable specified by `name` does not exist. - -## Availability by Project Type - -|Project type|Available| -|-|-| -|Windows Forms Application|**Yes**| -|Class Library|**Yes**| -|Console Application|**Yes**| -|Windows Forms Control Library|**Yes**| -|Web Control Library|No| -|Windows Service|**Yes**| -|Web Site|No| - - - -## Examples - This example uses the `My.Application.GetEnvironmentVariable` method to get and display the value of the PATH environment variable, if available. Otherwise, it displays a message indicating that the PATH environment variable does not exist. - - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet7"::: - + , except that this method raises an exception if the environment variable specified by `name` does not exist. + +## Availability by Project Type + +|Project type|Available| +|-|-| +|Windows Forms Application|**Yes**| +|Class Library|**Yes**| +|Console Application|**Yes**| +|Windows Forms Control Library|**Yes**| +|Web Control Library|No| +|Windows Service|**Yes**| +|Web Site|No| + + + +## Examples + This example uses the `My.Application.GetEnvironmentVariable` method to get and display the value of the PATH environment variable, if available. Otherwise, it displays a message indicating that the PATH environment variable does not exist. + + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet7"::: + ]]> @@ -425,13 +425,13 @@ Gets an object that provides properties for getting information about the application's assembly, such as the version number, description, and so on. The object for the current application. - @@ -467,13 +467,13 @@ Gets an object that provides properties and methods for writing event and exception information to the application's log listeners. The object for the current application. - @@ -513,40 +513,40 @@ Gets the culture that the current thread uses for retrieving culture-specific resources. A object that represents the culture that the current thread uses for retrieving culture-specific resources. - object that the current thread uses for retrieving culture-specific resources. This object is identical to the one returned by the property. The property determines the culture used by the Resource Manager and the `My.Resources` object, information it needs to look up culture-specific resources at run time. - - To change the culture, you can use the method or assign a different object to the property. - - The setting is different from a language setting. It contains only data related to the standard settings for a geographical region. - - Use the `My.Application.CurrentCulture` property to get the culture that the current thread uses for string manipulation and string formatting. - -## Availability by Project Type - -|Project type|Available| -|-|-| -|Windows Forms Application|**Yes**| -|Class Library|**Yes**| -|Console Application|**Yes**| -|Windows Forms Control Library|**Yes**| -|Web Control Library|No| -|Windows Service|**Yes**| -|Web Site|No| - - - -## Examples - This example uses the `My.Application.CurrentCulture` property to cache the current culture before changing it by using . The `My.Application.ChangeUICulture` method sets the culture that the `My.Resources` object uses for retrieving resources. - - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyResources/VB/Form1.vb" id="Snippet10"::: - - For this example to work, your application must have a string named `Message` in the application's resource file, and the application should have the French-culture version of that resource file, `Resources.fr-FR.resx`. For more information, see [How to: Add or Remove Resources](/previous-versions/visualstudio/visual-studio-2010/3bka19x4(v=vs.100)). - - If the application does not have the French-culture version of that resource file, the `My.Resources` object retrieves the resource from the default-culture resource file. - + object that the current thread uses for retrieving culture-specific resources. This object is identical to the one returned by the property. The property determines the culture used by the Resource Manager and the `My.Resources` object, information it needs to look up culture-specific resources at run time. + + To change the culture, you can use the method or assign a different object to the property. + + The setting is different from a language setting. It contains only data related to the standard settings for a geographical region. + + Use the `My.Application.CurrentCulture` property to get the culture that the current thread uses for string manipulation and string formatting. + +## Availability by Project Type + +|Project type|Available| +|-|-| +|Windows Forms Application|**Yes**| +|Class Library|**Yes**| +|Console Application|**Yes**| +|Windows Forms Control Library|**Yes**| +|Web Control Library|No| +|Windows Service|**Yes**| +|Web Site|No| + + + +## Examples + This example uses the `My.Application.CurrentCulture` property to cache the current culture before changing it by using . The `My.Application.ChangeUICulture` method sets the culture that the `My.Resources` object uses for retrieving resources. + + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/ChangeUICulture/Form1.vb" id="Snippet10"::: + + For this example to work, your application must have a string named `Message` in the application's resource file, and the application should have the French-culture version of that resource file, `Resources.fr-FR.resx`. For more information, see [How to: Add or Remove Resources](/previous-versions/visualstudio/visual-studio-2010/3bka19x4(v=vs.100)). + + If the application does not have the French-culture version of that resource file, the `My.Resources` object retrieves the resource from the default-culture resource file. + ]]> diff --git a/xml/Microsoft.VisualBasic.ApplicationServices/AssemblyInfo.xml b/xml/Microsoft.VisualBasic.ApplicationServices/AssemblyInfo.xml index 04fad57cfee..90e0be6e930 100644 --- a/xml/Microsoft.VisualBasic.ApplicationServices/AssemblyInfo.xml +++ b/xml/Microsoft.VisualBasic.ApplicationServices/AssemblyInfo.xml @@ -44,7 +44,7 @@ ## Examples This example uses the `My.Application.Info.Version` property to display the version of the application. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet30"::: ]]> @@ -146,7 +146,7 @@ ## Examples This example uses the `My.Application.Info.AssemblyName` property to display the name of the application. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet20"::: ]]> @@ -212,7 +212,7 @@ ## Examples This example uses the `My.Application.Info.CompanyName` property to display the company name associated with the application. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet21"::: ]]> @@ -278,7 +278,7 @@ ## Examples This example uses the `My.Application.Info.Copyright` property to display the company name associated with the application. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet22"::: ]]> @@ -344,7 +344,7 @@ ## Examples This example uses the `My.Application.Info.Description` property to display the description associated with the application. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet23"::: ]]> @@ -408,7 +408,7 @@ ## Examples This example uses the `My.Application.Info.DirectoryPath` property to display the directory path where the application is stored. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet24"::: ]]> @@ -471,7 +471,7 @@ ## Examples This example uses the `My.Application.Info.LoadedAssemblies` property to display the assemblies loaded by the application. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet25"::: This example requires that your Windows Forms application has a control named `ListBox1`. @@ -541,7 +541,7 @@ ## Examples This example uses the `My.Application.Info.ProductName` property to display the product name associated with the application. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet26"::: ]]> @@ -623,7 +623,7 @@ ## Examples This example uses the `My.Application.Info.StackTrace` property to display the stack trace of the application from the point at which the code executes. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet27"::: ]]> @@ -690,7 +690,7 @@ ## Examples This example uses the `My.Application.Info.Title` property to display the title associated with the application. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet28"::: ]]> @@ -756,7 +756,7 @@ ## Examples This example uses the `My.Application.Info.Trademark` property to display the trademark information associated with the application. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet29"::: ]]> @@ -822,7 +822,7 @@ ## Examples This example uses the `My.Application.Info.Version` property to display the version of the application. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet30"::: ]]> @@ -887,7 +887,7 @@ ## Examples This example uses the `My.Application.Info.WorkingSet` property to display the number of bytes of physical memory mapped to the application. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet31"::: ]]> diff --git a/xml/Microsoft.VisualBasic.ApplicationServices/ConsoleApplicationBase.xml b/xml/Microsoft.VisualBasic.ApplicationServices/ConsoleApplicationBase.xml index 1eea260abfd..123dcbc80cf 100644 --- a/xml/Microsoft.VisualBasic.ApplicationServices/ConsoleApplicationBase.xml +++ b/xml/Microsoft.VisualBasic.ApplicationServices/ConsoleApplicationBase.xml @@ -48,7 +48,7 @@ ## Examples This example uses the `My.Application.CommandLineArgs` property to examine the application's command-line arguments. If an argument is found that starts with `/input=`, the rest of that argument is displayed. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -164,7 +164,7 @@ ## Examples This example uses the `My.Application.CommandLineArgs` property to examine the application's command-line arguments. If an argument is found that starts with `/input=`, the rest of that argument is displayed. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -222,7 +222,7 @@ ## Examples This example downloads and installs the update after checking that the application is network-deployed. The method does not update the application unless it is out of date. The application has to restart to use the update. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet4"::: Only applications that are ClickOnce deployed can be updated using the `My.Application.Deployment` object. For more information on deploying a ClickOnce application, see [How to: Publish a ClickOnce Application using the Publish Wizard](/visualstudio/deployment/how-to-publish-a-clickonce-application-using-the-publish-wizard). @@ -337,7 +337,7 @@ ## Examples This example downloads and installs the update after checking that the application is deployed from a network. The method does not update the application unless it is out of date. The application has to restart to use the update. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet4"::: Only applications that are ClickOnce-deployed can be updated using the `My.Application.Deployment` object. For more information on deploying a ClickOnce application, see [How to: Publish a ClickOnce Application using the Publish Wizard](/visualstudio/deployment/how-to-publish-a-clickonce-application-using-the-publish-wizard). diff --git a/xml/Microsoft.VisualBasic.ApplicationServices/User.xml b/xml/Microsoft.VisualBasic.ApplicationServices/User.xml index 9637575ea30..0438df969b7 100644 --- a/xml/Microsoft.VisualBasic.ApplicationServices/User.xml +++ b/xml/Microsoft.VisualBasic.ApplicationServices/User.xml @@ -45,7 +45,7 @@ ## Examples This example checks if the application is using Windows or custom authentication, and uses that information to parse the `My.User.Name` property. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/Class1.vb" id="Snippet3"::: ]]> @@ -175,7 +175,7 @@ ## Examples This example checks if the application is using Windows or custom authentication, and uses that information to parse `My.User.Name` property. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/Class1.vb" id="Snippet3"::: ]]> @@ -341,7 +341,7 @@ ## Examples This example verifies that the user has been authenticated before accessing a resource. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/Class1.vb" id="Snippet2"::: ]]> @@ -411,7 +411,7 @@ ## Examples This example checks if the user is an administrator before accessing a resource. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/Class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/Class1.vb" id="Snippet1"::: ]]> @@ -485,7 +485,7 @@ ## Examples This example checks if the user is an administrator before accessing a resource. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/Class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/Class1.vb" id="Snippet1"::: ]]> @@ -554,7 +554,7 @@ ## Examples This example checks if the application is using Windows or custom authentication, and uses that information to parse the `My.User.Name` property. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/Class1.vb" id="Snippet3"::: ]]> diff --git a/xml/Microsoft.VisualBasic.ApplicationServices/WebUser.xml b/xml/Microsoft.VisualBasic.ApplicationServices/WebUser.xml index 4e244fc35c3..5f7262d89ae 100644 --- a/xml/Microsoft.VisualBasic.ApplicationServices/WebUser.xml +++ b/xml/Microsoft.VisualBasic.ApplicationServices/WebUser.xml @@ -32,7 +32,7 @@ ## Examples This example checks if the application is using Windows or custom authentication, and uses that information to parse the `My.User.Name` property. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyUser/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/User/Overview/Class1.vb" id="Snippet3"::: ]]> diff --git a/xml/Microsoft.VisualBasic.ApplicationServices/WindowsFormsApplicationBase.xml b/xml/Microsoft.VisualBasic.ApplicationServices/WindowsFormsApplicationBase.xml index 1a765f90436..005447ee9f8 100644 --- a/xml/Microsoft.VisualBasic.ApplicationServices/WindowsFormsApplicationBase.xml +++ b/xml/Microsoft.VisualBasic.ApplicationServices/WindowsFormsApplicationBase.xml @@ -44,7 +44,7 @@ ## Examples This example uses a loop to iterate through the application's open forms, selects the forms that can be accessed directly by the current thread, and displays their titles in a control. For information about how to access the open forms, see . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet10"::: This example requires that your Windows Forms application have a form named `Form1` that contains a list box named `ListBox1`. @@ -336,7 +336,7 @@ ## Examples This example uses the `My.Application.DoEvents` method to allow the UI for `TextBox1` to update. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet6"::: This code should be in a form that has a `TextBox1` component with a `Text` property. @@ -658,7 +658,7 @@ For more information, see [Application Page, Project Designer (Visual Basic)](ht ## Examples This example demonstrates how to set the `My.Application.MinimumSplashScreenDisplayTime` property by overriding the property. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/FakeMyEvents.vb" id="Snippet51"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/FakeMyEvents.vb" id="Snippet51"::: This example requires that the project have a splash screen. @@ -745,7 +745,7 @@ For more information, see [Application Page, Project Designer (Visual Basic)](ht The project should have a form named `Form1`. It should have a method named `SetConnectionStatus` that takes a `Boolean` parameter. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/FakeMyEvents.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/FakeMyEvents.vb" id="Snippet9"::: ]]> @@ -1229,11 +1229,11 @@ For more information, see [Application Page, Project Designer (Visual Basic)](ht ## Examples This example loops over the application's open forms, selects the ones directly accessible by the current thread, and displays their titles in a control. This example requires that your Windows Forms application have a form named `Form1` that contains a list box named `ListBox1`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet10"::: This example loops over the application's open forms and displays their titles in a control. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet11"::: ]]> @@ -1377,7 +1377,7 @@ To change the setting in the Project Designer: - The `SaveMySettingsOnExit_CheckedChanged` subroutine, which handles changes to a control to update the `My.Application.SaveMySettingsOnExit` property. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet12"::: For this example to work, your application must have a control named `SaveMySettingsOnExit`. @@ -1498,7 +1498,7 @@ For more information, see [Application Page, Project Designer (Visual Basic)](ht ## Examples This example logs messages when the application shuts down. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/FakeMyEvents.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/FakeMyEvents.vb" id="Snippet13"::: You must enter the code in the Code Editor window for application events. To access this window, follow the instructions from this topic's Remarks section. For more information, see [How to: Log Messages When the Application Starts or Shuts Down](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-log-messages-when-the-application-starts-or-shuts-down). @@ -1617,7 +1617,7 @@ For more information, see [Application Page, Project Designer (Visual Basic)](ht ## Examples This example uses the `My.Application.SplashScreen` property and the `My.Application.Startup` event to update the splash screen with status information as the application starts. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/FakeMyEvents.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/FakeMyEvents.vb" id="Snippet14"::: This example requires that the project have a splash screen named `SplashScreen1`. The splash screen needs to have a property named `Status` that updates its user interface. @@ -1698,7 +1698,7 @@ For more information, see [Application Page, Project Designer (Visual Basic)](ht ## Examples This example uses the `My.Application.SplashScreen` property and the `My.Application.Startup` event to update the splash screen with status information as the application starts. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/FakeMyEvents.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/FakeMyEvents.vb" id="Snippet14"::: This example requires that the project have a splash screen named `SplashScreen1`. The splash screen needs to have property named `Status` that updates its user interface. @@ -1790,7 +1790,7 @@ To access the Code Editor window for application events: ## Examples This example uses the `e` parameter of the event handler to examine the application's command-line arguments. If an argument is found that starts with `/input=`, the rest of that argument is displayed. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/FakeMyEvents.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/FakeMyEvents.vb" id="Snippet15"::: You must enter the code in the Code Editor window for application events. To access this window, follow the instructions from this topic's Remarks section. For more information, see [Application Page, Project Designer (Visual Basic)](https://learn.microsoft.com/visualstudio/ide/reference/application-page-project-designer-visual-basic). @@ -1880,7 +1880,7 @@ To access the Code Editor window for application events: Because the `UnhandledException` event is not raised when a debugger is attached to the application, you have to run this example outside the Visual Studio Integrated Development Environment. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/FakeMyEvents.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/FakeMyEvents.vb" id="Snippet17"::: ]]> diff --git a/xml/Microsoft.VisualBasic.Devices/Audio.xml b/xml/Microsoft.VisualBasic.Devices/Audio.xml index 945f7c123c7..df8a910053a 100644 --- a/xml/Microsoft.VisualBasic.Devices/Audio.xml +++ b/xml/Microsoft.VisualBasic.Devices/Audio.xml @@ -54,7 +54,7 @@ ## Examples The `My.Computer.Audio.Play` method plays the specified sound in the background when `AudioPlayMode.Background` is specified. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet15"::: This code can run only within a Windows Forms application. @@ -193,7 +193,7 @@ ## Examples The `My.Computer.Audio.Play` method plays the specified sound in the background when `PlayMode.Background` is specified. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet15"::: This code example can only run within a Windows Forms application. @@ -285,7 +285,7 @@ ## Examples The `My.Computer.Audio.Play` method plays the specified sound in the background when `PlayMode.Background` is specified. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet15"::: This code example can only run within a Windows Forms application. @@ -376,7 +376,7 @@ ## Examples The `My.Computer.Audio.Play` method plays the specified sound in the background when `PlayMode.Background` is specified. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet15"::: This code example can only run within a Windows Forms application. @@ -467,7 +467,7 @@ ## Examples The `My.Computer.Audio.Play` method plays the specified sound in the background when `PlayMode.Background` is specified. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet15"::: This code example can only run within a Windows Forms application. @@ -560,7 +560,7 @@ ## Examples This example uses the `My.Computer.Audio.PlaySystemSound` method to play a system sound. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet17"::: This code example can run only within a Windows Forms application. @@ -629,7 +629,7 @@ ## Examples This example uses the `My.Computer.Audio.Stop` method to stop the application currently playing background or looping sound and uses the `My.Computer.Audio.Play` method to play a looping sound in the background. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet19"::: This code example can run only within a Windows Forms application. diff --git a/xml/Microsoft.VisualBasic.Devices/Clock.xml b/xml/Microsoft.VisualBasic.Devices/Clock.xml index b3063b36641..3181029d8b1 100644 --- a/xml/Microsoft.VisualBasic.Devices/Clock.xml +++ b/xml/Microsoft.VisualBasic.Devices/Clock.xml @@ -40,7 +40,7 @@ ## Examples This example uses the `My.Computer.Clock.LocalTime` property to display the local time of the computer on which the code runs. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet21"::: ]]> @@ -141,7 +141,7 @@ ## Examples This example uses the `My.Computer.Clock.GmtTime` property to display the GMT time of the computer on which the code runs. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet22"::: ]]> @@ -205,7 +205,7 @@ ## Examples This example uses the `My.Computer.Clock.LocalTime` property to display the local time of the computer on which the code runs. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet21"::: ]]> @@ -282,7 +282,7 @@ ## Examples The following example uses the `My.Computer.Clock.TickCount` property to run a task in a loop for a given number of seconds, even if the computer's system time changes while it runs. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet20"::: ]]> diff --git a/xml/Microsoft.VisualBasic.Devices/Computer.xml b/xml/Microsoft.VisualBasic.Devices/Computer.xml index 810adc1b69c..db293f4c7b6 100644 --- a/xml/Microsoft.VisualBasic.Devices/Computer.xml +++ b/xml/Microsoft.VisualBasic.Devices/Computer.xml @@ -52,7 +52,7 @@ ## Examples This example uses the `My.Computer.Name` property to display the name of the computer on which the code runs. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet1"::: ]]> @@ -169,7 +169,7 @@ ## Examples The `My.Computer.Audio.Play` method plays the specified sound in the background when `AudioPlayMode.Background` is specified. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet15"::: This code can run only within a Windows Forms application. @@ -240,7 +240,7 @@ ## Examples This example reads text from the Clipboard into the string `textOnClipboard`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyClipboard/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Computer/Clipboard/Class1.vb" id="Snippet6"::: This example fails if there is no text on the Clipboard. @@ -306,7 +306,7 @@ ## Examples This example uses the `My.Computer.Keyboard.CtrlKeyDown` property to determine if the computer's CTRL key is currently pressed. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb" id="Snippet36"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb" id="Snippet36"::: ]]> @@ -371,7 +371,7 @@ ## Examples This example uses the `My.Computer.Mouse.WheelExists` and `My.Computer.Mouse.WheelScrollLines` properties to determine if the mouse has a scroll wheel and how much to scroll when it rotates. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb" id="Snippet26"::: ]]> @@ -429,7 +429,7 @@ The method sends the data to the serial port. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb" id="Snippet33"::: For more information, see [How to: Send Strings to Serial Ports](/dotnet/visual-basic/developing-apps/programming/computer-resources/how-to-send-strings-to-serial-ports). @@ -490,7 +490,7 @@ ## Examples This example uses the property of the `My.Computer.Screen` property to determine the working area of the computer's primary display, and then resizes the form to fill the working area. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet10"::: This example needs to run in a Windows Forms application. diff --git a/xml/Microsoft.VisualBasic.Devices/ComputerInfo.xml b/xml/Microsoft.VisualBasic.Devices/ComputerInfo.xml index d7ac16cf65f..828d36e628c 100644 --- a/xml/Microsoft.VisualBasic.Devices/ComputerInfo.xml +++ b/xml/Microsoft.VisualBasic.Devices/ComputerInfo.xml @@ -46,7 +46,7 @@ ## Examples This example uses the `My.Computer.Info.AvailablePhysicalMemory` property to display the amount of available physical memory for the computer on which the code runs. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet2"::: ]]> @@ -139,7 +139,7 @@ ## Examples This example uses the `My.Computer.Info.AvailablePhysicalMemory` property to display the amount of available physical memory for the computer on which the code runs. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet2"::: ]]> @@ -195,7 +195,7 @@ ## Examples This example uses the `My.Computer.Info.AvailableVirtualMemory` property to display the amount of available virtual memory for the computer on which the code runs. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet3"::: ]]> @@ -248,7 +248,7 @@ ## Examples This example uses the `My.Computer.Info.InstalledUICulture` property to display the name of the operating system's UI culture. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet4"::: ]]> @@ -301,7 +301,7 @@ ## Examples This example uses the `My.Computer.Info.OSFullName` property to display the name of the computer's operating system. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet5"::: ]]> @@ -352,7 +352,7 @@ ## Examples This example uses the `My.Computer.Info.OSPlatform` property to display the platform of the computer's operating system. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet6"::: ]]> @@ -407,7 +407,7 @@ ## Examples This example uses the `My.Computer.Info.OSVersion` property to display the version of the computer's operating system. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet7"::: ]]> @@ -463,7 +463,7 @@ ## Examples This example uses the `My.Computer.Info.TotalPhysicalMemory` property to display the total amount of physical memory for the computer on which the code runs. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet8"::: ]]> @@ -519,7 +519,7 @@ ## Examples This example uses the `My.Computer.Info.TotalVirtualMemory` property to display the total amount of virtual memory for the computer on which the code runs. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet9"::: ]]> diff --git a/xml/Microsoft.VisualBasic.Devices/Keyboard.xml b/xml/Microsoft.VisualBasic.Devices/Keyboard.xml index a0452c7d7ab..e91bc6f7600 100644 --- a/xml/Microsoft.VisualBasic.Devices/Keyboard.xml +++ b/xml/Microsoft.VisualBasic.Devices/Keyboard.xml @@ -59,7 +59,7 @@ ## Examples This example uses the `My.Computer.Keyboard.CtrlKeyDown` property to determine if the computer's CTRL key is pressed. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb" id="Snippet36"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb" id="Snippet36"::: ]]> @@ -160,7 +160,7 @@ ## Examples This example uses the `My.Computer.Keyboard.AltKeyDown` property to determine if the computer's ALT key is down. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb" id="Snippet23"::: ]]> @@ -227,7 +227,7 @@ ## Examples This example uses the `My.Computer.Keyboard.CapsLock` property to determine if the computer's CAPS LOCK is turned on. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb" id="Snippet50"::: ]]> @@ -288,7 +288,7 @@ ## Examples This example uses the `My.Computer.Keyboard.CtrlKeyDown` property to determine if the computer's CTRL key is down. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb" id="Snippet34"::: ]]> @@ -356,7 +356,7 @@ ## Examples This example uses the `My.Computer.Keyboard.NumLock` property to determine if the computer's NUM LOCK key is on. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb" id="Snippet48"::: ]]> @@ -423,7 +423,7 @@ ## Examples This example uses the `My.Computer.Keyboard.ScrollLock` property to determine if the computer's SCROLL LOCK key is on. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb" id="Snippet31"::: ]]> @@ -537,7 +537,7 @@ This example uses the `My.Computer.Keyboard.SendKeys` method to send keystrokes to an external application, the Notepad application, started by the method. -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb" id="Snippet25"::: +:::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb" id="Snippet25"::: An exception is raised if an application with the requested process identifier cannot be found. @@ -646,7 +646,7 @@ The call to the method require This example uses the `My.Computer.Keyboard.SendKeys` method to send keystrokes to an external application, the Notepad application, started by the method. -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb" id="Snippet25"::: +:::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb" id="Snippet25"::: An exception is raised if an application with the requested process identifier cannot be found. @@ -715,7 +715,7 @@ The call to the method require ## Examples This example uses the `My.Computer.Keyboard.ShiftKeyDown` property to determine if one of the computer's SHIFT keys is down. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb" id="Snippet47"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb" id="Snippet47"::: ]]> diff --git a/xml/Microsoft.VisualBasic.Devices/Mouse.xml b/xml/Microsoft.VisualBasic.Devices/Mouse.xml index abcfa8ef362..55e6b4ee9c9 100644 --- a/xml/Microsoft.VisualBasic.Devices/Mouse.xml +++ b/xml/Microsoft.VisualBasic.Devices/Mouse.xml @@ -52,7 +52,7 @@ ## Examples This example uses the `My.Computer.Mouse.WheelExists` and `My.Computer.Mouse.WheelScrollLines` properties to determine if the mouse has a scroll wheel and how much to scroll when it rotates. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb" id="Snippet26"::: ]]> @@ -159,7 +159,7 @@ ## Examples This example uses the `My.Computer.Mouse.ButtonsSwapped` property to determine if functionality of the left and right mouse buttons has been swapped. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb" id="Snippet35"::: ]]> @@ -222,7 +222,7 @@ ## Examples This example uses the `My.Computer.Mouse.WheelExists` property to determine if the mouse has a scroll wheel and how much to scroll when the mouse wheel is rotated. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb" id="Snippet26"::: ]]> @@ -288,7 +288,7 @@ ## Examples This example determines if the mouse has a scroll wheel and uses the `My.Computer.Mouse.WheelExists` property to determine how much to scroll when the mouse wheel is rotated. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb" id="Snippet26"::: ]]> diff --git a/xml/Microsoft.VisualBasic.Devices/Network.xml b/xml/Microsoft.VisualBasic.Devices/Network.xml index 86c4b60d9ab..3ddf8581385 100644 --- a/xml/Microsoft.VisualBasic.Devices/Network.xml +++ b/xml/Microsoft.VisualBasic.Devices/Network.xml @@ -46,7 +46,7 @@ ## Examples This example uploads the file `Order.txt` to `http://www.cohowinery.com/uploads`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet6"::: ]]> @@ -156,11 +156,11 @@ ## Examples This example downloads the file `WineList.txt` from `http://www.cohowinery.com/downloads` and saves it to `C:\Documents and Settings\All Users\Documents`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet7"::: This example downloads the file `WineList.txt` from `http://www.cohowinery.com/downloads` and saves it to `C:\Documents and Settings\All Users\Documents`, specifying a timeout interval of 500 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet8"::: ]]> @@ -235,11 +235,11 @@ ## Examples This example downloads the file `WineList.txt` from `http://www.cohowinery.com/downloads` and saves it to `C:\Documents and Settings\All Users\Documents`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet7"::: This example downloads the file `WineList.txt` from `http://www.cohowinery.com/downloads` and saves it to `C:\Documents and Settings\All Users\Documents`, specifying a timeout interval of 500 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet8"::: ]]> @@ -323,11 +323,11 @@ ## Examples This example downloads the file `WineList.txt` from `http://www.cohowinery.com/downloads` and saves it to `C:\Documents and Settings\All Users\Documents`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet7"::: This example downloads the file `WineList.txt` from `http://www.cohowinery.com/downloads` and saves it to `C:\Documents and Settings\All Users\Documents`, specifying a timeout interval of 500 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet8"::: ]]> @@ -411,11 +411,11 @@ ## Examples This example downloads the file `WineList.txt` from `http://www.cohowinery.com/downloads` and saves it to `C:\Documents and Settings\All Users\Documents`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet7"::: This example downloads the file `WineList.txt` from `http://www.cohowinery.com/downloads` and saves it to `C:\Documents and Settings\All Users\Documents`, specifying a timeout interval of 500 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet8"::: ]]> @@ -510,11 +510,11 @@ ## Examples This example downloads the file `WineList.txt` from `http://www.cohowinery.com/downloads` and saves it to `C:\Documents and Settings\All Users\Documents`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet7"::: This example downloads the file `WineList.txt` from `http://www.cohowinery.com/downloads` and saves it to `C:\Documents and Settings\All Users\Documents`, specifying a timeout interval of 500 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet8"::: ]]> @@ -611,11 +611,11 @@ ## Examples This example downloads the file `WineList.txt` from `http://www.cohowinery.com/downloads` and saves it to `C:\Documents and Settings\All Users\Documents`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet7"::: This example downloads the file `WineList.txt` from `http://www.cohowinery.com/downloads` and saves it to `C:\Documents and Settings\All Users\Documents`, specifying a timeout interval of 500 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet8"::: ]]> @@ -711,11 +711,11 @@ ## Examples This example downloads the file `WineList.txt` from `http://www.cohowinery.com/downloads` and saves it to `C:\Documents and Settings\All Users\Documents`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet7"::: This example downloads the file `WineList.txt` from `http://www.cohowinery.com/downloads` and saves it to `C:\Documents and Settings\All Users\Documents`, specifying a timeout interval of 500 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet8"::: ]]> @@ -811,11 +811,11 @@ ## Examples This example downloads the file `WineList.txt` from `http://www.cohowinery.com/downloads` and saves it to `C:\Documents and Settings\All Users\Documents`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet7"::: This example downloads the file `WineList.txt` from `http://www.cohowinery.com/downloads` and saves it to `C:\Documents and Settings\All Users\Documents`, specifying a timeout interval of 500 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet8"::: ]]> @@ -907,11 +907,11 @@ ## Examples This example downloads the file `WineList.txt` from `http://www.cohowinery.com/downloads` and saves it to `C:\Documents and Settings\All Users\Documents`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet7"::: This example downloads the file `WineList.txt` from `http://www.cohowinery.com/downloads` and saves it to `C:\Documents and Settings\All Users\Documents`, specifying a timeout interval of 500 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet8"::: ]]> @@ -1003,11 +1003,11 @@ ## Examples This example downloads the file `WineList.txt` from `http://www.cohowinery.com/downloads` and saves it to `C:\Documents and Settings\All Users\Documents`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet7"::: This example downloads the file `WineList.txt` from `http://www.cohowinery.com/downloads` and saves it to `C:\Documents and Settings\All Users\Documents`, specifying a timeout interval of 500 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet8"::: ]]> @@ -1071,7 +1071,7 @@ ## Examples This example checks the property's status and reports it. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet1"::: ]]> @@ -1125,7 +1125,7 @@ This code should to be in a form or control that has a named `Label1`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplication/VB/Form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet50"::: ]]> @@ -1197,13 +1197,13 @@ ## Examples This example reports whether or not the server can be pinged by determining whether the `Ping` method returns `True`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet4"::: Replace `"198.01.01.01"` with the IP address, URL, or computer name of the server to ping. This example reports whether or not the server can be pinged by determining whether the `Ping` method returned `True` and specifies a timeout interval of 1000 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet5"::: Replace `"www.cohowinery.com"` with the IP address, URL, or computer name of the server to ping. @@ -1261,13 +1261,13 @@ ## Examples This example reports whether or not the server can be pinged by determining whether the `Ping` method returns `True`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet4"::: Replace `"198.01.01.01"` with the IP address, URL, or computer name of the server to ping. This example reports whether or not the server can be pinged by determining whether the `Ping` method returned `True` and specifies a timeout interval of 1000 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet5"::: Replace `"www.cohowinery.com"` with the IP address, URL, or computer name of the server to ping. @@ -1327,13 +1327,13 @@ ## Examples This example reports whether or not the server can be pinged by determining whether the `Ping` method returns `True`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet4"::: Replace `"198.01.01.01"` with the IP address, URL, or computer name of the server to ping. This example reports whether or not the server can be pinged by determining whether the `Ping` method returned `True` and specifies a timeout interval of 1000 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet5"::: Replace `"www.cohowinery.com"` with the IP address, URL, or computer name of the server to ping. @@ -1393,13 +1393,13 @@ ## Examples This example reports whether or not the server can be pinged by determining whether the `Ping` method returns `True`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet4"::: Replace `"198.01.01.01"` with the IP address, URL, or computer name of the server to ping. This example reports whether or not the server can be pinged by determining whether the `Ping` method returned `True` and specifies a timeout interval of 1000 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet5"::: Replace `"www.cohowinery.com"` with the IP address, URL, or computer name of the server to ping. @@ -1478,11 +1478,11 @@ ## Examples This example uploads the file `Order.txt` to `http://www.cohowinery.com/uploads`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet2"::: This example uploads the file `Order.txt` to `http://www.cohowinery.com/uploads` without supplying a user name or password, shows the progress of the upload, and has a time-out interval of 500 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet3"::: ]]> @@ -1558,11 +1558,11 @@ ## Examples This example uploads the file `Order.txt` to `http://www.cohowinery.com/uploads`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet2"::: This example uploads the file `Order.txt` to `http://www.cohowinery.com/uploads` without supplying a user name or password, shows the progress of the upload, and has a time-out interval of 500 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet3"::: ]]> @@ -1645,11 +1645,11 @@ ## Examples This example uploads the file `Order.txt` to `http://www.cohowinery.com/uploads`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet2"::: This example uploads the file `Order.txt` to `http://www.cohowinery.com/uploads` without supplying a user name or password, shows the progress of the upload, and has a time-out interval of 500 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet3"::: ]]> @@ -1733,11 +1733,11 @@ ## Examples This example uploads the file `Order.txt` to `http://www.cohowinery.com/uploads`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet2"::: This example uploads the file `Order.txt` to `http://www.cohowinery.com/uploads` without supplying a user name or password, shows the progress of the upload, and has a time-out interval of 500 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet3"::: ]]> @@ -1826,11 +1826,11 @@ ## Examples This example uploads the file `Order.txt` to `http://www.cohowinery.com/uploads`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet2"::: This example uploads the file `Order.txt` to `http://www.cohowinery.com/uploads` without supplying a user name or password, shows the progress of the upload, and has a time-out interval of 500 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet3"::: ]]> @@ -1921,11 +1921,11 @@ ## Examples This example uploads the file `Order.txt` to `http://www.cohowinery.com/uploads`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet2"::: This example uploads the file `Order.txt` to `http://www.cohowinery.com/uploads` without supplying a user name or password, shows the progress of the upload, and has a time-out interval of 500 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet3"::: ]]> @@ -2010,11 +2010,11 @@ ## Examples This example uploads the file `Order.txt` to `http://www.cohowinery.com/uploads`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet2"::: This example uploads the file `Order.txt` to `http://www.cohowinery.com/uploads` without supplying a user name or password, shows the progress of the upload, and has a time-out interval of 500 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet3"::: ]]> @@ -2105,11 +2105,11 @@ ## Examples This example uploads the file `Order.txt` to `http://www.cohowinery.com/uploads`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet2"::: This example uploads the file `Order.txt` to `http://www.cohowinery.com/uploads` without supplying a user name or password, shows the progress of the upload, and has a time-out interval of 500 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet3"::: ]]> @@ -2195,11 +2195,11 @@ ## Examples This example uploads the file `Order.txt` to `http://www.cohowinery.com/uploads`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet2"::: This example uploads the file `Order.txt` to `http://www.cohowinery.com/uploads` without supplying a user name or password, shows the progress of the upload, and has a time-out interval of 500 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet3"::: ]]> @@ -2285,11 +2285,11 @@ ## Examples This example uploads the file `Order.txt` to `http://www.cohowinery.com/uploads`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet2"::: This example uploads the file `Order.txt` to `http://www.cohowinery.com/uploads` without supplying a user name or password, shows the progress of the upload, and has a time-out interval of 500 milliseconds. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet3"::: ]]> diff --git a/xml/Microsoft.VisualBasic.Devices/Ports.xml b/xml/Microsoft.VisualBasic.Devices/Ports.xml index 6439d018fc1..ac6947784f7 100644 --- a/xml/Microsoft.VisualBasic.Devices/Ports.xml +++ b/xml/Microsoft.VisualBasic.Devices/Ports.xml @@ -56,7 +56,7 @@ The method sends the data to the serial port. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb" id="Snippet33"::: For more information, see [How to: Send Strings to Serial Ports](/dotnet/visual-basic/developing-apps/programming/computer-resources/how-to-send-strings-to-serial-ports). @@ -168,7 +168,7 @@ The method sends the data to the serial port. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb" id="Snippet33"::: For more information, see [How to: Send Strings to Serial Ports](/dotnet/visual-basic/developing-apps/programming/computer-resources/how-to-send-strings-to-serial-ports). @@ -251,7 +251,7 @@ The method sends the data to the serial port. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb" id="Snippet33"::: For more information, see [How to: Send Strings to Serial Ports](/dotnet/visual-basic/developing-apps/programming/computer-resources/how-to-send-strings-to-serial-ports). @@ -339,7 +339,7 @@ The method sends the data to the serial port. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb" id="Snippet33"::: For more information, see [How to: Send Strings to Serial Ports](/dotnet/visual-basic/developing-apps/programming/computer-resources/how-to-send-strings-to-serial-ports). @@ -432,7 +432,7 @@ The method sends the data to the serial port. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb" id="Snippet33"::: For more information, see [How to: Send Strings to Serial Ports](/dotnet/visual-basic/developing-apps/programming/computer-resources/how-to-send-strings-to-serial-ports). @@ -528,7 +528,7 @@ The method sends the data to the serial port. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb" id="Snippet33"::: For more information, see [How to: Send Strings to Serial Ports](/dotnet/visual-basic/developing-apps/programming/computer-resources/how-to-send-strings-to-serial-ports). @@ -601,7 +601,7 @@ Typically, a user selects which serial port the application should use from the list of available ports. In this example, the serial port names are stored in a control. For more information, see [ListBox Control](/dotnet/desktop/winforms/controls/listbox-control-windows-forms). - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class2.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class2.vb" id="Snippet45"::: This example requires: diff --git a/xml/Microsoft.VisualBasic.Devices/ServerComputer.xml b/xml/Microsoft.VisualBasic.Devices/ServerComputer.xml index f7685ba3bd7..12b585ca662 100644 --- a/xml/Microsoft.VisualBasic.Devices/ServerComputer.xml +++ b/xml/Microsoft.VisualBasic.Devices/ServerComputer.xml @@ -52,7 +52,7 @@ ## Examples This example uses the `My.Computer.Name` property to display the name of the computer on which the code runs. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet1"::: ]]> @@ -163,7 +163,7 @@ ## Examples The `My.Computer.Audio.Play` method plays the specified sound in the background when `AudioPlayMode.Background` is specified. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet15"::: This code can run only within a Windows Forms application. @@ -232,7 +232,7 @@ ## Examples This example checks to determine whether the folder `C:\backup\logs` exists and checks its properties. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet23"::: ]]> @@ -298,7 +298,7 @@ ## Examples This example uses the `My.Computer.Info.AvailablePhysicalMemory` property to display the amount of available physical memory for the computer on which the code runs. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet2"::: ]]> @@ -361,7 +361,7 @@ ## Examples This example uses the `My.Computer.Name` property to display the name of the computer on which the code runs. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyComputer/VB/Class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Audio/Overview/Class1.vb" id="Snippet1"::: ]]> @@ -424,7 +424,7 @@ ## Examples This example uploads the file `Order.txt` to `http://www.cohowinery.com/uploads`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyNetwork/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Network/Overview/Class1.vb" id="Snippet6"::: ]]> @@ -476,7 +476,7 @@ ## Examples This example reads the value `Name` from `HKEY_CURRENT_USER\Software\MyApp` and displays it in a message box. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyRegistry/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/Registry/Class1.vb" id="Snippet8"::: ]]> diff --git a/xml/Microsoft.VisualBasic.FileIO/FileSystem.xml b/xml/Microsoft.VisualBasic.FileIO/FileSystem.xml index 8ff7d8884fc..f26bd0ea7c5 100644 --- a/xml/Microsoft.VisualBasic.FileIO/FileSystem.xml +++ b/xml/Microsoft.VisualBasic.FileIO/FileSystem.xml @@ -72,7 +72,7 @@ ## Examples This example checks to determine whether the folder `C:\backup\logs` exists and checks its properties. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet23"::: ]]> @@ -187,11 +187,11 @@ ## Examples This example combines a directory path and file name to create a properly formatted path. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet3"::: This example combines two paths to create a properly formatted path. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet4"::: This example returns `C:\Dir1\Dir2\Dir4\Dir5\File.txt`. @@ -272,7 +272,7 @@ ## Examples The following example copies the contents of directory `TestDirectory1` into `TestDirectory2`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet94"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet94"::: Replace `C:\TestDirectory1` and `C:\TestDirectory2` with the path and name of the directory you wish to copy and the location to which you wish to copy it. @@ -348,7 +348,7 @@ ## Examples The following example copies the contents of directory `TestDirectory1` into `TestDirectory2`, showing progress dialog and any error dialog. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet92"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet92"::: Replace `C:\TestDirectory1` and `C:\TestDirectory2` with the path and name of the directory you wish to copy and the location to which you wish to copy it. @@ -433,7 +433,7 @@ ## Examples The following example copies the contents of directory `TestDirectory1` into `TestDirectory2`, overwriting existing files. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet49"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet49"::: Replace `C:\TestDirectory1` and `C:\TestDirectory2` with the path and name of the directory you wish to copy and the location to which you wish to copy it. @@ -511,7 +511,7 @@ ## Examples The following example copies the contents of directory `TestDirectory1` into `TestDirectory2`, showing progress dialog and any error dialog, and does nothing if the user clicks **Cancel** during the operation. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet93"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet93"::: Replace `C:\TestDirectory1` and `C:\TestDirectory2` with the path and name of the directory you wish to copy and the location to which you wish to copy it. @@ -601,13 +601,13 @@ ## Examples This example copies the file `Test.txt` to the directory `TestFiles2` without overwriting existing files. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet15"::: Replace the file paths with the paths you want to use in your code. This example copies the file `Test.txt` to the directory `TestFiles2` and renames it `NewFile.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet16"::: Replace the file paths with the paths you want to use in your code. @@ -682,13 +682,13 @@ ## Examples This example copies the file `Test.txt` to the directory `TestFiles2` without overwriting existing files. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet15"::: Replace the file paths with the paths you want to use in your code. This example copies the file `Test.txt` to the directory `TestFiles2` and renames it `NewFile.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet16"::: Replace the file paths with the paths you want to use in your code. @@ -770,13 +770,13 @@ ## Examples This example copies the file `Test.txt` to the directory `TestFiles2` without overwriting existing files. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet15"::: Replace the file paths with the paths you want to use in your code. This example copies the file `Test.txt` to the directory `TestFiles2` and renames it `NewFile.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet16"::: Replace the file paths with the paths you want to use in your code. @@ -853,13 +853,13 @@ ## Examples This example copies the file `Test.txt` to the directory `TestFiles2` without overwriting existing files. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet15"::: Replace the file paths with the paths you want to use in your code. This example copies the file `Test.txt` to the directory `TestFiles2` and renames it `NewFile.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet16"::: Replace the file paths with the paths you want to use in your code. @@ -931,7 +931,7 @@ ## Examples This example creates the directory, `NewDirectory`, in `C:\Documents and Settings\All Users\Documents`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet17"::: ]]> @@ -986,11 +986,11 @@ ## Examples This example returns the current directory and displays it in a message box. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet18"::: This example sets the current directory to `C:\TestDirectory`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet19"::: ]]> @@ -1055,19 +1055,19 @@ ## Examples The example deletes the directory `OldDirectory` only if it is empty. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet56"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet56"::: This example deletes the directory `OldDirectory` and all of its contents. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet57"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet57"::: This example deletes the directory `OldDirectory` and all of its contents, asking the user to confirm the deletion, but does not send the contents to the **Recycle Bin**. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet58"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet58"::: This example deletes the directory `OldDirectory` and all of its contents, sending them to the **Recycle Bin**, but does not show the progress of the operation. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet59"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet59"::: ]]> @@ -1132,19 +1132,19 @@ ## Examples The example deletes the directory `OldDirectory` only if it is empty. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet56"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet56"::: This example deletes the directory `OldDirectory` and all of its contents. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet57"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet57"::: This example deletes the directory `OldDirectory` and all of its contents, asking the user to confirm the deletion, but does not send the contents to the **Recycle Bin**. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet58"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet58"::: This example deletes the directory `OldDirectory` and all of its contents, sending them to the **Recycle Bin**, but does not show the progress of the operation. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet59"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet59"::: ]]> @@ -1212,19 +1212,19 @@ ## Examples The example deletes the directory `OldDirectory` only if it is empty. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet56"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet56"::: This example deletes the directory `OldDirectory` and all of its contents. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet57"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet57"::: This example deletes the directory `OldDirectory` and all of its contents, asking the user to confirm the deletion, but does not send the contents to the **Recycle Bin**. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet58"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet58"::: This example deletes the directory `OldDirectory` and all of its contents, sending them to the **Recycle Bin**, but does not show the progress of the operation. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet59"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet59"::: ]]> @@ -1306,15 +1306,15 @@ ## Examples This example deletes the file `Test.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet3"::: This example deletes the file `Test.txt` and allows the user to confirm that the file should be deleted. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet4"::: This example deletes the file `Test.txt` and sends it to the **Recycle Bin**. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet5"::: ]]> @@ -1384,15 +1384,15 @@ ## Examples This example deletes the file `Test.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet3"::: This example deletes the file `Test.txt` and allows the user to confirm that the file should be deleted. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet4"::: This example deletes the file `Test.txt` and sends it to the **Recycle Bin**. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet5"::: ]]> @@ -1466,15 +1466,15 @@ ## Examples This example deletes the file `Test.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet3"::: This example deletes the file `Test.txt` and allows the user to confirm that the file should be deleted. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet4"::: This example deletes the file `Test.txt` and sends it to the **Recycle Bin**. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet5"::: ]]> @@ -1535,7 +1535,7 @@ ## Examples This example determines whether the directory `C:\backup\logs` exists and checks its properties. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet13"::: ]]> @@ -1582,7 +1582,7 @@ ## Examples This example displays the available drive names in a message box. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet19"::: ]]> @@ -1636,7 +1636,7 @@ ## Examples This example checks to see whether or not the file `Check.txt` exists and supplies the information in a message box. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet20"::: ]]> @@ -1717,7 +1717,7 @@ ## Examples This example searches the directory `C:\TestDir` for any files containing the string `"sample string"` and displays the results in `ListBox1`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet12"::: In order to work, the project must contain a `ListBox` named `ListBox1`. @@ -1804,7 +1804,7 @@ ## Examples This example searches the directory `C:\TestDir` for any files containing the string `"sample string"` and displays the results in `ListBox1`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet12"::: In order to work, the project must contain a `ListBox` named `ListBox1`. @@ -1888,7 +1888,7 @@ ## Examples The following example returns all the directories in the directory structure that contain the word `Logs` in their names and adds them to `ListBox1`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet10"::: This example requires that you have a `ListBox` named `ListBox1` on your form. @@ -1978,7 +1978,7 @@ ## Examples The following example returns all the directories in the directory structure that contain the word `Logs` in their names and adds them to `ListBox1`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet10"::: This example requires that you have a `ListBox` named `ListBox1` on your form. @@ -2044,7 +2044,7 @@ ## Examples This example gets a object for the directory `C:\Documents and Settings` and displays the directory's creation time, last access time, and last write time. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet7"::: ]]> @@ -2104,7 +2104,7 @@ ## Examples This example obtains a object for the C drive and uses it to display information about the drive. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet11"::: For information on the different drive types, see . @@ -2172,7 +2172,7 @@ ## Examples This example retrieves a object for the file `MyLogFile.log` and uses it to report the file's full name, last access time, and length. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet1"::: ]]> @@ -2254,13 +2254,13 @@ ## Examples The following example returns all files in the directory and adds them to `ListBox1`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet5"::: This example requires that you have a `ListBox` named `ListBox1` on your form. This example returns all files in the directory with the extension `.txt` and adds them to `ListBox1`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet6"::: This example requires that you have a `ListBox` named `ListBox1` on your form. @@ -2349,13 +2349,13 @@ ## Examples The following example returns all files in the directory and adds them to `ListBox1`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet5"::: This example requires that you have a `ListBox` named `ListBox1` on your form. This example returns all files in the directory with the extension `.txt` and adds them to `ListBox1`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet6"::: This example requires that you have a `ListBox` named `ListBox1` on your form. @@ -2429,7 +2429,7 @@ ## Examples The following example parses a file path and returns the name of the file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet21"::: Replace the path `C:\Testdirectory\Testfile` with the path you wish to parse. @@ -2483,7 +2483,7 @@ ## Examples This example gets the parent path for `C:\Backups\Tmp\Test`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet17"::: ]]> @@ -2538,7 +2538,7 @@ ## Examples This example creates a temp file and returns its path. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet12"::: ]]> @@ -2606,11 +2606,11 @@ ## Examples This example moves `Directory1` inside `Directory2`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet81"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet81"::: This example moves `Directory1` inside `Directory2`, overwriting the directory if it already exists. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet82"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet82"::: ]]> @@ -2677,11 +2677,11 @@ ## Examples This example moves `Directory1` inside `Directory2`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet81"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet81"::: This example moves `Directory1` inside `Directory2`, overwriting the directory if it already exists. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet82"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet82"::: ]]> @@ -2756,11 +2756,11 @@ ## Examples This example moves `Directory1` inside `Directory2`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet81"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet81"::: This example moves `Directory1` inside `Directory2`, overwriting the directory if it already exists. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet82"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet82"::: ]]> @@ -2829,11 +2829,11 @@ ## Examples This example moves `Directory1` inside `Directory2`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet81"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet81"::: This example moves `Directory1` inside `Directory2`, overwriting the directory if it already exists. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet82"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet82"::: ]]> @@ -2926,11 +2926,11 @@ ## Examples This example moves the file `Test.txt` from `TestDir1` to `TestDir2`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet86"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet86"::: This example moves the file `Test.txt` from `TestDir1` to `TestDir2` and renames it `Test2.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet87"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet87"::: ]]> @@ -3001,11 +3001,11 @@ ## Examples This example moves the file `Test.txt` from `TestDir1` to `TestDir2`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet86"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet86"::: This example moves the file `Test.txt` from `TestDir1` to `TestDir2` and renames it `Test2.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet87"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet87"::: ]]> @@ -3084,11 +3084,11 @@ ## Examples This example moves the file `Test.txt` from `TestDir1` to `TestDir2`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet86"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet86"::: This example moves the file `Test.txt` from `TestDir1` to `TestDir2` and renames it `Test2.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet87"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet87"::: ]]> @@ -3161,11 +3161,11 @@ ## Examples This example moves the file `Test.txt` from `TestDir1` to `TestDir2`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet86"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet86"::: This example moves the file `Test.txt` from `TestDir1` to `TestDir2` and renames it `Test2.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet87"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet87"::: ]]> @@ -3245,7 +3245,7 @@ ## Examples This example opens the `TextFieldParser.reader` and uses it to read from `C:\TestFolder1\Test1.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet18"::: ]]> @@ -3323,7 +3323,7 @@ ## Examples This example opens the `TextFieldParser.reader` and uses it to read from `C:\TestFolder1\Test1.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet18"::: ]]> @@ -3401,7 +3401,7 @@ ## Examples This example opens the `TextFieldParser.reader` and uses it to read from `C:\TestFolder1\Test1.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet18"::: ]]> @@ -3479,7 +3479,7 @@ ## Examples This example opens the file `Testfile.txt`, reads a line from it, and displays the line in a `MessageBox`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet2"::: ]]> @@ -3545,7 +3545,7 @@ ## Examples This example opens the file `Testfile.txt`, reads a line from it, and displays the line in a `MessageBox`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet2"::: ]]> @@ -3626,7 +3626,7 @@ ## Examples This example opens a with the `My.Computer.FileSystem.OpenTextFileWriter` method and uses it to write a string to a text file with the `WriteLine` method of the `StreamWriter` class. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet14"::: ]]> @@ -3700,7 +3700,7 @@ ## Examples This example opens a with the `My.Computer.FileSystem.OpenTextFileWriter` method with `Unicode` encoding and uses it to write a string to a text file with the `WriteLine` method of the `StreamWriter` class. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet23"::: ]]> @@ -3766,7 +3766,7 @@ ## Examples This example reads from the file `C:/Documents and Settings/selfportrait.jpg.` - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet33"::: ]]> @@ -3847,11 +3847,11 @@ ## Examples This example reads the contents of `Test.txt` into a string and then displays it in a message box. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet8"::: This example reads the contents of the ASCII file `Test.txt` into a string and then displays it in a message box. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet9"::: ]]> @@ -3928,11 +3928,11 @@ ## Examples This example reads the contents of `Test.txt` into a string and then displays it in a message box. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet8"::: This example reads the contents of the ASCII file `Test.txt` into a string and then displays it in a message box. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet9"::: ]]> @@ -3996,7 +3996,7 @@ ## Examples This example renames the `Test` directory to `SecondTest`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet13"::: ]]> @@ -4070,7 +4070,7 @@ ## Examples This example renames the file `Test.txt` to `SecondTest.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet1"::: Change "`C:\Test.txt`" to the path and file name of the file that you want to rename. @@ -4151,7 +4151,7 @@ ## Examples This example appends the data array `CustomerData` to the file `CollectedData`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet50"::: ]]> @@ -4239,11 +4239,11 @@ ## Examples This example writes the line `"This is new text to be added."` to the file `Test.txt`, overwriting any existing text in the file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet21"::: This example writes the names of the files in the `Documents and Settings` folder to `FileList.txt`, inserting a carriage return between each for better readability. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet22"::: ]]> @@ -4324,11 +4324,11 @@ ## Examples This example writes the line `"This is new text to be added."` to the file `Test.txt`, overwriting any existing text in the file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet21"::: This example writes the names of the files in the `Documents and Settings` folder to `FileList.txt`, inserting a carriage return between each for better readability. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet22"::: ]]> diff --git a/xml/Microsoft.VisualBasic.FileIO/SpecialDirectories.xml b/xml/Microsoft.VisualBasic.FileIO/SpecialDirectories.xml index 025c86e52be..22260ca9985 100644 --- a/xml/Microsoft.VisualBasic.FileIO/SpecialDirectories.xml +++ b/xml/Microsoft.VisualBasic.FileIO/SpecialDirectories.xml @@ -65,7 +65,7 @@ ## Examples This example returns the `filePath` for the user's Desktop directory and displays it. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet80"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet80"::: ]]> @@ -152,7 +152,7 @@ ## Examples This example displays the path to the Application Data directory for the all users in a . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet79"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet79"::: ]]> @@ -203,7 +203,7 @@ ## Examples This example displays the path to the Application Data directory for the current user in a . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet48"::: ]]> @@ -253,7 +253,7 @@ ## Examples This example displays the path for the Desktop directory in a . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet60"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet60"::: ]]> @@ -303,7 +303,7 @@ ## Examples This example displays the path for the My Documents directory in a . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet53"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet53"::: ]]> @@ -353,7 +353,7 @@ ## Examples This example displays the path for the My Music directory in a . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet26"::: ]]> @@ -403,7 +403,7 @@ ## Examples This example displays the path for the MyPictures directory in a . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet77"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet77"::: ]]> @@ -453,7 +453,7 @@ ## Examples This example displays the path for the **Program Files** directory in a . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet90"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet90"::: ]]> @@ -503,7 +503,7 @@ ## Examples This example displays the path for the Programs directory in a . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet61"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet61"::: ]]> @@ -553,7 +553,7 @@ ## Examples This example displays the path for the Temp directory in a . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet31"::: ]]> diff --git a/xml/Microsoft.VisualBasic.FileIO/TextFieldParser.xml b/xml/Microsoft.VisualBasic.FileIO/TextFieldParser.xml index 558b314f45b..eb1873dd7c8 100644 --- a/xml/Microsoft.VisualBasic.FileIO/TextFieldParser.xml +++ b/xml/Microsoft.VisualBasic.FileIO/TextFieldParser.xml @@ -59,7 +59,7 @@ ## Examples This example parses through a tab-delimited text file, `Bigfile`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTextFieldParser/VB/Class1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/TextFieldParser/Overview/Class1.vb" id="Snippet17"::: ]]> @@ -575,7 +575,7 @@ ## Examples This example closes the `TextFieldParser.FileReader`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTextFieldParser/VB/Class1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/TextFieldParser/Overview/Class1.vb" id="Snippet14"::: ]]> @@ -642,7 +642,7 @@ ## Examples This example specifies that for the `TextFieldParser`, `FileReader` lines beginning with a single quotation mark (') should be ignored. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTextFieldParser/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/TextFieldParser/Overview/Class1.vb" id="Snippet5"::: ]]> @@ -714,7 +714,7 @@ ## Examples This example specifies that the delimiter for the `TextFieldParser` object, `FileReader`, is a comma (,). - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTextFieldParser/VB/Class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/TextFieldParser/Overview/Class1.vb" id="Snippet9"::: ]]> @@ -859,7 +859,7 @@ ## Examples This example uses the `EndofData` property to loop through all the fields in the file with the `TextFieldReader`, `FileReader`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTextFieldParser/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/TextFieldParser/Overview/Class1.vb" id="Snippet6"::: ]]> @@ -923,7 +923,7 @@ ## Examples This example uses the `ErrorLine` property to display the line causing the current exception. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTextFieldParser/VB/Class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/TextFieldParser/Overview/Class1.vb" id="Snippet1"::: ]]> @@ -992,7 +992,7 @@ ## Examples This example uses the `ErrorLineNumber` property to display the location of the line causing the current exception. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTextFieldParser/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/TextFieldParser/Overview/Class1.vb" id="Snippet3"::: ]]> @@ -1065,7 +1065,7 @@ ## Examples This example reads the file `ParserText.txt`, specifying the widths; the first column is 5 characters wide, the second is 10, the third is 11, and the fourth is of variable width - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTextFieldParser/VB/Class1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/TextFieldParser/Overview/Class1.vb" id="Snippet16"::: ]]> @@ -1176,7 +1176,7 @@ ## Examples This example sets the `HasFieldsEnclosedInQuotes` property to `True` for `myReader`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTextFieldParser/VB/Class1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/TextFieldParser/Overview/Class1.vb" id="Snippet18"::: ]]> @@ -1233,7 +1233,7 @@ ## Examples This example searches for the name "Jones" in the text file and reports what line(s) it occurs on. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTextFieldParser/VB/Class1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/TextFieldParser/Overview/Class1.vb" id="Snippet11"::: ]]> @@ -1300,7 +1300,7 @@ ## Examples This example uses `PeekChars` to find the end of the data and stop parsing the file at that point. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTextFieldParser/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/TextFieldParser/Overview/Class1.vb" id="Snippet8"::: ]]> @@ -1373,7 +1373,7 @@ ## Examples This example uses the `ReadFields` method to read from the comma-delimited file `ParserText.txt`. The example writes the fields to `Testfile.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTextFieldParser/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/TextFieldParser/Overview/Class1.vb" id="Snippet2"::: ]]> @@ -1442,7 +1442,7 @@ ## Examples This example reads through the file `ParserText.txt` and writes it to `Testfile.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTextFieldParser/VB/Class1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/TextFieldParser/Overview/Class1.vb" id="Snippet15"::: If `Testfile.txt` does not exist, it is created by the `WriteAllText` method. @@ -1511,7 +1511,7 @@ ## Examples This example uses the `ReadToEnd` method to read the entire file `ParserText.txt` and write it to the file `Testfile.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTextFieldParser/VB/Class1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/TextFieldParser/Overview/Class1.vb" id="Snippet10"::: If `Testfile.txt` does not exist, it is created by the `WriteAllText` method. @@ -1595,7 +1595,7 @@ ## Examples This example opens a text field parser and defines the delimiter as `vbTab`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTextFieldParser/VB/Class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/TextFieldParser/Overview/Class1.vb" id="Snippet4"::: Replace the path `C:\logs\test.log` with the path and name of the file you wish to parse. @@ -1676,13 +1676,13 @@ ## Examples This example opens a text-field parser and defines the field width as `5`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTextFieldParser/VB/Class1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/TextFieldParser/Overview/Class1.vb" id="Snippet12"::: Replace the path `C:\logs\test.log` with the path and name of the file you wish to parse. The following example opens a text-field parser and defines the field widths as `5`, `10`, and variable. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTextFieldParser/VB/Class1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/TextFieldParser/Overview/Class1.vb" id="Snippet13"::: Replace the path `C:\logs\test.log` with the path and name of the file you wish to parse. @@ -1785,11 +1785,11 @@ This member is an explicit interface member implementation. It can be used only ## Examples This example creates a `TextFieldParser`, `FileReader`, and specifies that it is delimited. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTextFieldParser/VB/Class1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/TextFieldParser/Overview/Class1.vb" id="Snippet19"::: This example creates a `TextFieldParser`, `FileReader`, and specifies that it is fixed-width. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTextFieldParser/VB/Class1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/TextFieldParser/Overview/Class1.vb" id="Snippet20"::: ]]> @@ -1855,7 +1855,7 @@ This member is an explicit interface member implementation. It can be used only ## Examples This example creates a `TextFieldParser`, `FileReader`, and sets the `TrimWhiteSpace` property to `True`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTextFieldParser/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/TextFieldParser/Overview/Class1.vb" id="Snippet7"::: ]]> diff --git a/xml/Microsoft.VisualBasic.Logging/AspLog.xml b/xml/Microsoft.VisualBasic.Logging/AspLog.xml index e260be70667..d2c7828d3bb 100644 --- a/xml/Microsoft.VisualBasic.Logging/AspLog.xml +++ b/xml/Microsoft.VisualBasic.Logging/AspLog.xml @@ -17,28 +17,26 @@ Provides a property and methods for writing event and exception information to the application's log listeners. - . - - The following table lists examples of tasks involving the `My.Application.Log` object. - -|To|See| -|--------|---------| -|Write event information to the application's log listeners|[How to: Write Log Messages](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-write-log-messages)| -|Write exception information to the application's log listeners|[How to: Log Exceptions](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-log-exceptions)| -|Determine where `My.Application.Log` writes information|[Walkthrough: Determining Where My.Application.Log Writes Information](/dotnet/visual-basic/developing-apps/programming/log-info/walkthrough-determining-where-my-application-log-writes-information)| - - - -## Examples - This example shows how to use the `My.Application.Log.WriteEntry` method to log tracing information. For more information, see [How to: Write Log Messages](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-write-log-messages). - - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/Form1.vb" id="Snippet11"::: - + . + + The following table lists examples of tasks involving the `My.Application.Log` object. + +|To|See| +|--------|---------| +|Write event information to the application's log listeners|[How to: Write Log Messages](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-write-log-messages)| +|Write exception information to the application's log listeners|[How to: Log Exceptions](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-log-exceptions)| +|Determine where `My.Application.Log` writes information|[Walkthrough: Determining Where My.Application.Log Writes Information](/dotnet/visual-basic/developing-apps/programming/log-info/walkthrough-determining-where-my-application-log-writes-information)| + +## Examples + This example shows how to use the `My.Application.Log.WriteEntry` method to log tracing information. For more information, see [How to: Write Log Messages](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-write-log-messages). + + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet11"::: + ]]> @@ -77,11 +75,11 @@ Initializes a new instance of the class. - @@ -120,11 +118,11 @@ . The name to give to the property object. Initializes a new instance of the class. - @@ -159,13 +157,13 @@ Creates a new and adds it to the collection. - , sets its name to `FileLog`, and configures it to log messages with severity level and greater. The new object is then added to the collection. - - The calls the method if the property has not been configured. The trace source can be configured in the application's configuration file. - + , sets its name to `FileLog`, and configures it to log messages with severity level and greater. The new object is then added to the collection. + + The calls the method if the property has not been configured. The trace source can be configured in the application's configuration file. + ]]> diff --git a/xml/Microsoft.VisualBasic.Logging/Log.xml b/xml/Microsoft.VisualBasic.Logging/Log.xml index 4c27bd1e0de..d68e125db45 100644 --- a/xml/Microsoft.VisualBasic.Logging/Log.xml +++ b/xml/Microsoft.VisualBasic.Logging/Log.xml @@ -26,28 +26,26 @@ Provides a property and methods for writing event and exception information to the application's log listeners. - . - - The following table lists examples of tasks involving the `My.Application.Log` object. - -|To|See| -|--------|---------| -|Write event information to the application's log listeners|[How to: Write Log Messages](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-write-log-messages)| -|Write exception information to the application's log listeners|[How to: Log Exceptions](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-log-exceptions)| -|Determine where `My.Application.Log` writes information|[Walkthrough: Determining Where My.Application.Log Writes Information](/dotnet/visual-basic/developing-apps/programming/log-info/walkthrough-determining-where-my-application-log-writes-information)| - - - -## Examples - This example shows how to use the `My.Application.Log.WriteEntry` method to log tracing information. For more information, see [How to: Write Log Messages](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-write-log-messages). - - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/Form1.vb" id="Snippet11"::: - + . + + The following table lists examples of tasks involving the `My.Application.Log` object. + +|To|See| +|--------|---------| +|Write event information to the application's log listeners|[How to: Write Log Messages](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-write-log-messages)| +|Write exception information to the application's log listeners|[How to: Log Exceptions](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-log-exceptions)| +|Determine where `My.Application.Log` writes information|[Walkthrough: Determining Where My.Application.Log Writes Information](/dotnet/visual-basic/developing-apps/programming/log-info/walkthrough-determining-where-my-application-log-writes-information)| + +## Examples + This example shows how to use the `My.Application.Log.WriteEntry` method to log tracing information. For more information, see [How to: Write Log Messages](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-write-log-messages). + + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet11"::: + ]]> Objects (Visual Basic) @@ -179,13 +177,13 @@ Right now we only support WinApp as an application platform Gets the file the object that underlies the object. The object that underlies the object. - object. - - In client applications, the `Log` object is available through the `My.Application.Log` object. In Web applications, the `Log` object is available through the `My.Log` object. - + object. + + In client applications, the `Log` object is available through the `My.Application.Log` object. In Web applications, the `Log` object is available through the `My.Log` object. + ]]> @@ -228,13 +226,13 @@ Right now we only support WinApp as an application platform Creates a new object and adds it to the collection. - , sets its name to `FileLog`, and configures it to log messages with severity level and greater. The new object is then added to the collection. - - The calls the method if the property has not been configured. The trace source can be configured in the application's configuration file. - + , sets its name to `FileLog`, and configures it to log messages with severity level and greater. The new object is then added to the collection. + + The calls the method if the property has not been configured. The trace source can be configured in the application's configuration file. + ]]> @@ -279,33 +277,33 @@ Right now we only support WinApp as an application platform Gets to the object that underlies the object. The object that underlies the object. - @@ -354,58 +352,58 @@ Right now we only support WinApp as an application platform Required. The message to log. If is , an empty string is used. Writes a message to the application's log listeners. - |0| -||1| -||2| -||3| -||4| -||5| -||6| -||7| -||8| -||9| - - The following table lists examples of tasks involving the `WriteEntry` method. - -|To|See| -|--------|---------| -|Write event information to the application's log listeners|[How to: Write Log Messages](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-write-log-messages)| -|Determine where `Log` writes information|[Walkthrough: Determining Where My.Application.Log Writes Information](/dotnet/visual-basic/developing-apps/programming/log-info/walkthrough-determining-where-my-application-log-writes-information)| - -## Availability by Project Type - -|Project type|Available| -|------------------|---------------| -|Windows Application|**Yes**| -|Class Library|**Yes**| -|Console Application|**Yes**| -|Windows Control Library|**Yes**| -|Web Control Library|No| -|Windows Service|**Yes**| -|Web Site|**Yes**| - - - -## Examples - This example shows how to use the `My.Application.Log.WriteEntry` method to log tracing information. For more information, see [How to: Write Log Messages](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-write-log-messages). - - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/Form1.vb" id="Snippet11"::: - - This code example can run only within a client application. Change `My.Application.Log.WriteEntry` to `My.Log.WriteEntry` for Web applications. - + |0| +||1| +||2| +||3| +||4| +||5| +||6| +||7| +||8| +||9| + + The following table lists examples of tasks involving the `WriteEntry` method. + +|To|See| +|--------|---------| +|Write event information to the application's log listeners|[How to: Write Log Messages](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-write-log-messages)| +|Determine where `Log` writes information|[Walkthrough: Determining Where My.Application.Log Writes Information](/dotnet/visual-basic/developing-apps/programming/log-info/walkthrough-determining-where-my-application-log-writes-information)| + +## Availability by Project Type + +|Project type|Available| +|------------------|---------------| +|Windows Application|**Yes**| +|Class Library|**Yes**| +|Console Application|**Yes**| +|Windows Control Library|**Yes**| +|Web Control Library|No| +|Windows Service|**Yes**| +|Web Site|**Yes**| + + + +## Examples + This example shows how to use the `My.Application.Log.WriteEntry` method to log tracing information. For more information, see [How to: Write Log Messages](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-write-log-messages). + + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet11"::: + + This code example can run only within a client application. Change `My.Application.Log.WriteEntry` to `My.Log.WriteEntry` for Web applications. + ]]> Code with partial trust calls the method, but writes to an event log listener that requires full trust. @@ -450,58 +448,58 @@ Right now we only support WinApp as an application platform The type of message. By default, . Writes a message to the application's log listeners. - |0| -||1| -||2| -||3| -||4| -||5| -||6| -||7| -||8| -||9| - - The following table lists examples of tasks involving the `WriteEntry` method. - -|To|See| -|--------|---------| -|Write event information to the application's log listeners|[How to: Write Log Messages](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-write-log-messages)| -|Determine where `Log` writes information|[Walkthrough: Determining Where My.Application.Log Writes Information](/dotnet/visual-basic/developing-apps/programming/log-info/walkthrough-determining-where-my-application-log-writes-information)| - -## Availability by Project Type - -|Project type|Available| -|------------------|---------------| -|Windows Application|**Yes**| -|Class Library|**Yes**| -|Console Application|**Yes**| -|Windows Control Library|**Yes**| -|Web Control Library|No| -|Windows Service|**Yes**| -|Web Site|**Yes**| - - - -## Examples - This example shows how to use the `My.Application.Log.WriteEntry` method to log tracing information. For more information, see [How to: Write Log Messages](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-write-log-messages). - - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/Form1.vb" id="Snippet11"::: - - This code example can run only within a client application. Change `My.Application.Log.WriteEntry` to `My.Log.WriteEntry` for Web applications. - + |0| +||1| +||2| +||3| +||4| +||5| +||6| +||7| +||8| +||9| + + The following table lists examples of tasks involving the `WriteEntry` method. + +|To|See| +|--------|---------| +|Write event information to the application's log listeners|[How to: Write Log Messages](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-write-log-messages)| +|Determine where `Log` writes information|[Walkthrough: Determining Where My.Application.Log Writes Information](/dotnet/visual-basic/developing-apps/programming/log-info/walkthrough-determining-where-my-application-log-writes-information)| + +## Availability by Project Type + +|Project type|Available| +|------------------|---------------| +|Windows Application|**Yes**| +|Class Library|**Yes**| +|Console Application|**Yes**| +|Windows Control Library|**Yes**| +|Web Control Library|No| +|Windows Service|**Yes**| +|Web Site|**Yes**| + + + +## Examples + This example shows how to use the `My.Application.Log.WriteEntry` method to log tracing information. For more information, see [How to: Write Log Messages](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-write-log-messages). + + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet11"::: + + This code example can run only within a client application. Change `My.Application.Log.WriteEntry` to `My.Log.WriteEntry` for Web applications. + ]]> The message type is not one of the enumeration values. @@ -549,58 +547,58 @@ Right now we only support WinApp as an application platform Message identifier, typically used for correlation. By default, related to entryType as described in the table. Writes a message to the application's log listeners. - |0| -||1| -||2| -||3| -||4| -||5| -||6| -||7| -||8| -||9| - - The following table lists examples of tasks involving the `WriteEntry` method. - -|To|See| -|--------|---------| -|Write event information to the application's log listeners|[How to: Write Log Messages](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-write-log-messages)| -|Determine where `Log` writes information|[Walkthrough: Determining Where My.Application.Log Writes Information](/dotnet/visual-basic/developing-apps/programming/log-info/walkthrough-determining-where-my-application-log-writes-information)| - -## Availability by Project Type - -|Project type|Available| -|------------------|---------------| -|Windows Application|**Yes**| -|Class Library|**Yes**| -|Console Application|**Yes**| -|Windows Control Library|**Yes**| -|Web Control Library|No| -|Windows Service|**Yes**| -|Web Site|**Yes**| - - - -## Examples - This example shows how to use the `My.Application.Log.WriteEntry` method to log tracing information. For more information, see [How to: Write Log Messages](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-write-log-messages). - - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/Form1.vb" id="Snippet11"::: - - This code example can run only within a client application. Change `My.Application.Log.WriteEntry` to `My.Log.WriteEntry` for Web applications. - + |0| +||1| +||2| +||3| +||4| +||5| +||6| +||7| +||8| +||9| + + The following table lists examples of tasks involving the `WriteEntry` method. + +|To|See| +|--------|---------| +|Write event information to the application's log listeners|[How to: Write Log Messages](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-write-log-messages)| +|Determine where `Log` writes information|[Walkthrough: Determining Where My.Application.Log Writes Information](/dotnet/visual-basic/developing-apps/programming/log-info/walkthrough-determining-where-my-application-log-writes-information)| + +## Availability by Project Type + +|Project type|Available| +|------------------|---------------| +|Windows Application|**Yes**| +|Class Library|**Yes**| +|Console Application|**Yes**| +|Windows Control Library|**Yes**| +|Web Control Library|No| +|Windows Service|**Yes**| +|Web Site|**Yes**| + + + +## Examples + This example shows how to use the `My.Application.Log.WriteEntry` method to log tracing information. For more information, see [How to: Write Log Messages](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-write-log-messages). + + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet11"::: + + This code example can run only within a client application. Change `My.Application.Log.WriteEntry` to `My.Log.WriteEntry` for Web applications. + ]]> The message type is not one of the enumeration values. @@ -653,58 +651,58 @@ Right now we only support WinApp as an application platform Required. Exception to log. Writes exception information to the application's log listeners. - |0| -||1| -||2| -||3| -||4| -||5| -||6| -||7| -||8| -||9| - - The following table lists examples of tasks involving the `WriteException` method. - -|To|See| -|--------|---------| -|Write exception information to the application's event log listeners.|[How to: Log Exceptions](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-log-exceptions)| -|Determine where `Log` writes information.|[Walkthrough: Determining Where My.Application.Log Writes Information](/dotnet/visual-basic/developing-apps/programming/log-info/walkthrough-determining-where-my-application-log-writes-information)| - -## Availability by Project Type - -|Project type|Available| -|------------------|---------------| -|Windows Application|**Yes**| -|Class Library|**Yes**| -|Console Application|**Yes**| -|Windows Control Library|**Yes**| -|Web Control Library|No| -|Windows Service|**Yes**| -|Web Site|**Yes**| - - - -## Examples - This example shows how to use the `My.Application.Log.WriteException` method to log exceptions. Uncomment the `Dim` and `MsgBox` lines to cause a exception. For more information, see [How to: Log Exceptions](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-log-exceptions). - - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/Form1.vb" id="Snippet10"::: - - This code example can run only within a client application. Change `My.Application.Log.WriteException` to `My.Log.WriteException` for Web applications. - + |0| +||1| +||2| +||3| +||4| +||5| +||6| +||7| +||8| +||9| + + The following table lists examples of tasks involving the `WriteException` method. + +|To|See| +|--------|---------| +|Write exception information to the application's event log listeners.|[How to: Log Exceptions](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-log-exceptions)| +|Determine where `Log` writes information.|[Walkthrough: Determining Where My.Application.Log Writes Information](/dotnet/visual-basic/developing-apps/programming/log-info/walkthrough-determining-where-my-application-log-writes-information)| + +## Availability by Project Type + +|Project type|Available| +|------------------|---------------| +|Windows Application|**Yes**| +|Class Library|**Yes**| +|Console Application|**Yes**| +|Windows Control Library|**Yes**| +|Web Control Library|No| +|Windows Service|**Yes**| +|Web Site|**Yes**| + + + +## Examples + This example shows how to use the `My.Application.Log.WriteException` method to log exceptions. Uncomment the `Dim` and `MsgBox` lines to cause a exception. For more information, see [How to: Log Exceptions](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-log-exceptions). + + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet10"::: + + This code example can run only within a client application. Change `My.Application.Log.WriteException` to `My.Log.WriteException` for Web applications. + ]]> @@ -754,58 +752,58 @@ Right now we only support WinApp as an application platform String to append to the message. By default, this is an empty string. Writes exception information to the application's log listeners. - |0| -||1| -||2| -||3| -||4| -||5| -||6| -||7| -||8| -||9| - - The following table lists examples of tasks involving the `WriteException` method. - -|To|See| -|--------|---------| -|Write exception information to the application's event log listeners.|[How to: Log Exceptions](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-log-exceptions)| -|Determine where `Log` writes information.|[Walkthrough: Determining Where My.Application.Log Writes Information](/dotnet/visual-basic/developing-apps/programming/log-info/walkthrough-determining-where-my-application-log-writes-information)| - -## Availability by Project Type - -|Project type|Available| -|------------------|---------------| -|Windows Application|**Yes**| -|Class Library|**Yes**| -|Console Application|**Yes**| -|Windows Control Library|**Yes**| -|Web Control Library|No| -|Windows Service|**Yes**| -|Web Site|**Yes**| - - - -## Examples - This example shows how to use the `My.Application.Log.WriteException` method to log exceptions. Uncomment the `Dim` and `MsgBox` lines to cause a exception. For more information, see [How to: Log Exceptions](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-log-exceptions). - - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/Form1.vb" id="Snippet10"::: - - This code example can run only within a client application. Change `My.Application.Log.WriteException` to `My.Log.WriteException` for Web applications. - + |0| +||1| +||2| +||3| +||4| +||5| +||6| +||7| +||8| +||9| + + The following table lists examples of tasks involving the `WriteException` method. + +|To|See| +|--------|---------| +|Write exception information to the application's event log listeners.|[How to: Log Exceptions](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-log-exceptions)| +|Determine where `Log` writes information.|[Walkthrough: Determining Where My.Application.Log Writes Information](/dotnet/visual-basic/developing-apps/programming/log-info/walkthrough-determining-where-my-application-log-writes-information)| + +## Availability by Project Type + +|Project type|Available| +|------------------|---------------| +|Windows Application|**Yes**| +|Class Library|**Yes**| +|Console Application|**Yes**| +|Windows Control Library|**Yes**| +|Web Control Library|No| +|Windows Service|**Yes**| +|Web Site|**Yes**| + + + +## Examples + This example shows how to use the `My.Application.Log.WriteException` method to log exceptions. Uncomment the `Dim` and `MsgBox` lines to cause a exception. For more information, see [How to: Log Exceptions](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-log-exceptions). + + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet10"::: + + This code example can run only within a client application. Change `My.Application.Log.WriteException` to `My.Log.WriteException` for Web applications. + ]]> @@ -858,58 +856,58 @@ Right now we only support WinApp as an application platform Message identifier, typically used for correlation. By default, related to entryType as described in the table in the Remarks section. Writes exception information to the application's log listeners. - |0| -||1| -||2| -||3| -||4| -||5| -||6| -||7| -||8| -||9| - - The following table lists examples of tasks involving the `WriteException` method. - -|To|See| -|--------|---------| -|Write exception information to the application's event log listeners.|[How to: Log Exceptions](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-log-exceptions)| -|Determine where `Log` writes information.|[Walkthrough: Determining Where My.Application.Log Writes Information](/dotnet/visual-basic/developing-apps/programming/log-info/walkthrough-determining-where-my-application-log-writes-information)| - -## Availability by Project Type - -|Project type|Available| -|------------------|---------------| -|Windows Application|**Yes**| -|Class Library|**Yes**| -|Console Application|**Yes**| -|Windows Control Library|**Yes**| -|Web Control Library|No| -|Windows Service|**Yes**| -|Web Site|**Yes**| - - - -## Examples - This example shows how to use the `My.Application.Log.WriteException` method to log exceptions. Uncomment the `Dim` and `MsgBox` lines to cause a exception. For more information, see [How to: Log Exceptions](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-log-exceptions). - - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyApplicationLog/VB/Form1.vb" id="Snippet10"::: - - This code example can run only within a client application. Change `My.Application.Log.WriteException` to `My.Log.WriteException` for Web applications. - + |0| +||1| +||2| +||3| +||4| +||5| +||6| +||7| +||8| +||9| + + The following table lists examples of tasks involving the `WriteException` method. + +|To|See| +|--------|---------| +|Write exception information to the application's event log listeners.|[How to: Log Exceptions](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-log-exceptions)| +|Determine where `Log` writes information.|[Walkthrough: Determining Where My.Application.Log Writes Information](/dotnet/visual-basic/developing-apps/programming/log-info/walkthrough-determining-where-my-application-log-writes-information)| + +## Availability by Project Type + +|Project type|Available| +|------------------|---------------| +|Windows Application|**Yes**| +|Class Library|**Yes**| +|Console Application|**Yes**| +|Windows Control Library|**Yes**| +|Web Control Library|No| +|Windows Service|**Yes**| +|Web Site|**Yes**| + + + +## Examples + This example shows how to use the `My.Application.Log.WriteException` method to log exceptions. Uncomment the `Dim` and `MsgBox` lines to cause a exception. For more information, see [How to: Log Exceptions](/dotnet/visual-basic/developing-apps/programming/log-info/how-to-log-exceptions). + + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.ApplicationServices/ApplicationBase/Overview/Form1.vb" id="Snippet10"::: + + This code example can run only within a client application. Change `My.Application.Log.WriteException` to `My.Log.WriteException` for Web applications. + ]]> diff --git a/xml/Microsoft.VisualBasic.MyServices/ClipboardProxy.xml b/xml/Microsoft.VisualBasic.MyServices/ClipboardProxy.xml index 424548653a4..51b782373d3 100644 --- a/xml/Microsoft.VisualBasic.MyServices/ClipboardProxy.xml +++ b/xml/Microsoft.VisualBasic.MyServices/ClipboardProxy.xml @@ -68,7 +68,7 @@ ## Examples This example reads text from the Clipboard into the string `textOnClipboard`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyClipboard/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Computer/Clipboard/Class1.vb" id="Snippet6"::: This example will fail if there is no text on the Clipboard. @@ -196,7 +196,7 @@ My.Computer.Clipboard.Clear() ## Examples This example determines whether the Clipboard contains audio data and displays the result. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefClipbd/VB/Class1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.MyServices/ClipboardProxy/ContainsAudio/Class1.vb" id="Snippet10"::: ]]> @@ -265,7 +265,7 @@ My.Computer.Clipboard.Clear() ## Examples This example checks for data in the custom format `specialFormat`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefClipbd/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.MyServices/ClipboardProxy/ContainsAudio/Class1.vb" id="Snippet6"::: Replace `specialFormat` with the name of the custom format you wish to check. @@ -334,7 +334,7 @@ My.Computer.Clipboard.Clear() ## Examples This example determines if there is a file drop list on the Clipboard and adds the list to the `ListBox.lstFiles` if they exist. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefClipbd/VB/Class1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.MyServices/ClipboardProxy/ContainsAudio/Class1.vb" id="Snippet12"::: This code will create an exception if there is no `ListBox` named `lstFiles`. @@ -400,7 +400,7 @@ My.Computer.Clipboard.Clear() ## Examples This example checks to see if there is an image on the Clipboard and, if so, gets the image and adds it to `PictureBox1`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefClipbd/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.MyServices/ClipboardProxy/ContainsAudio/Class1.vb" id="Snippet8"::: This example depends on the existence of a `PictureBox` named `PictureBox1`. @@ -476,7 +476,7 @@ My.Computer.Clipboard.Clear() ## Examples This example determines if HTML text is stored on the Clipboard and reads from the Clipboard if it does. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefClipbd/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.MyServices/ClipboardProxy/ContainsAudio/Class1.vb" id="Snippet5"::: ]]> @@ -546,7 +546,7 @@ My.Computer.Clipboard.Clear() ## Examples This example determines if HTML text is stored on the Clipboard and reads from the Clipboard if it does. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefClipbd/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.MyServices/ClipboardProxy/ContainsAudio/Class1.vb" id="Snippet5"::: ]]> @@ -610,7 +610,7 @@ My.Computer.Clipboard.Clear() ## Examples This example retrieves an audio stream from the Clipboard and plays it. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefClipbd/VB/Class1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.MyServices/ClipboardProxy/ContainsAudio/Class1.vb" id="Snippet11"::: ]]> @@ -684,7 +684,7 @@ My.Computer.Clipboard.Clear() ## Examples This example reads data in the format `specialformat` from the Clipboard and writes it to file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefClipbd/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.MyServices/ClipboardProxy/ContainsAudio/Class1.vb" id="Snippet7"::: Replace `specialformat` with the custom data format you wish to retrieve. @@ -758,7 +758,7 @@ My.Computer.Clipboard.Clear() ## Examples This example reads data from the Clipboard in the form of an and then writes it to a file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefClipbd/VB/Class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.MyServices/ClipboardProxy/ContainsAudio/Class1.vb" id="Snippet1"::: Replace `C:\mylogfile` with the name of the file to which you want to write. @@ -829,7 +829,7 @@ My.Computer.Clipboard.Clear() ## Examples This example determines if there is a file drop list on the Clipboard and adds the list to the `ListBox.lstFiles` if they exist. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefClipbd/VB/Class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.MyServices/ClipboardProxy/ContainsAudio/Class1.vb" id="Snippet9"::: This code creates an exception if there is no `ListBox` named `lstFiles`. @@ -895,7 +895,7 @@ My.Computer.Clipboard.Clear() ## Examples This example checks to see if there is an image on the Clipboard before retrieving it and assigning it to `PictureBox1`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefClipbd/VB/Class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.MyServices/ClipboardProxy/ContainsAudio/Class1.vb" id="Snippet4"::: For this example to function correctly, there must be a `PictureBox` named `PictureBox1` on your form. @@ -971,7 +971,7 @@ My.Computer.Clipboard.Clear() ## Examples This example reads text from the Clipboard into the string `textOnClipboard`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyClipboard/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Computer/Clipboard/Class1.vb" id="Snippet6"::: This example fails if there is no text on the Clipboard. @@ -1042,7 +1042,7 @@ My.Computer.Clipboard.Clear() ## Examples This example reads text from the Clipboard into the string `textOnClipboard`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyClipboard/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Computer/Clipboard/Class1.vb" id="Snippet6"::: This example fails if there is no text on the Clipboard. @@ -1123,7 +1123,7 @@ My.Computer.Clipboard.Clear() ## Examples This example creates the byte array `musicReader`, reads the file `cool.wav` into it, and then writes it to the Clipboard. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefClipbd/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.MyServices/ClipboardProxy/ContainsAudio/Class1.vb" id="Snippet2"::: Replace `cool.wav` with the name and path of the file you wish to read. @@ -1194,7 +1194,7 @@ My.Computer.Clipboard.Clear() ## Examples This example creates the byte array `musicReader`, reads the file `cool.wav` into it, and then writes it to the Clipboard. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefClipbd/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.MyServices/ClipboardProxy/ContainsAudio/Class1.vb" id="Snippet2"::: Replace `cool.wav` with the name and path of the file you wish to read. @@ -1269,7 +1269,7 @@ My.Computer.Clipboard.Clear() ## Examples This example writes the `DataObject.dataChunk` to the Clipboard in the custom format `specialFormat`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyClipboard/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Computer/Clipboard/Class1.vb" id="Snippet7"::: This example depends on the existence of the custom data format `specialFormat`. @@ -1379,7 +1379,7 @@ My.Computer.Clipboard.Clear() ## Examples This example writes the data object `dataChunk` to the Clipboard. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyClipboard/VB/Class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Computer/Clipboard/Class1.vb" id="Snippet9"::: This example depends on the existence of the data object `dataChunk`. @@ -1453,7 +1453,7 @@ My.Computer.Clipboard.Clear() ## Examples This example gets the collection of file names from **MyDocuments**, converts it to a file drop list, and writes it to the Clipboard. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefClipbd/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.MyServices/ClipboardProxy/ContainsAudio/Class1.vb" id="Snippet3"::: ]]> @@ -1523,7 +1523,7 @@ My.Computer.Clipboard.Clear() ## Examples This example writes the image `coolPicture` to the Clipboard. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyClipboard/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Computer/Clipboard/Class1.vb" id="Snippet8"::: This example depends on the existence of the image `coolPicture`. @@ -1607,7 +1607,7 @@ My.Computer.Clipboard.Clear() ## Examples This example writes the string `This is a test string.` to the Clipboard. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyClipboard/VB/Class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Computer/Clipboard/Class1.vb" id="Snippet1"::: ]]> @@ -1687,7 +1687,7 @@ My.Computer.Clipboard.Clear() ## Examples This example writes the string `This is a test string.` to the Clipboard. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyClipboard/VB/Class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/Computer/Clipboard/Class1.vb" id="Snippet1"::: ]]> diff --git a/xml/Microsoft.VisualBasic.MyServices/FileSystemProxy.xml b/xml/Microsoft.VisualBasic.MyServices/FileSystemProxy.xml index 054bb8b08fe..3cc0a5bb740 100644 --- a/xml/Microsoft.VisualBasic.MyServices/FileSystemProxy.xml +++ b/xml/Microsoft.VisualBasic.MyServices/FileSystemProxy.xml @@ -74,7 +74,7 @@ ## Examples This example checks to determine whether the folder `C:\backup\logs` exists and checks its properties. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet23"::: ]]> @@ -139,11 +139,11 @@ ## Examples This example combines a directory path and file name to create a properly formatted path. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet3"::: This example combines two paths to create a properly formatted path. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet4"::: This example returns `C:\Dir1\Dir2\Dir4\Dir5\File.txt`. @@ -222,7 +222,7 @@ ## Examples The following example copies the directory `TestDirectory1` into `TestDirectory2`, overwriting existing files. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet49"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet49"::: Replace `C:\TestDirectory1` and `C:\TestDirectory2` with the path and name of the directory you wish to copy and the location to which you wish to copy it. @@ -302,7 +302,7 @@ ## Examples The following example copies the directory `TestDirectory1` into `TestDirectory2`, overwriting existing files. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet49"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet49"::: Replace `C:\TestDirectory1` and `C:\TestDirectory2` with the path and name of the directory you wish to copy and the location to which you wish to copy it. @@ -385,7 +385,7 @@ ## Examples The following example copies the directory `TestDirectory1` into `TestDirectory2`, overwriting existing files. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet49"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet49"::: Replace `C:\TestDirectory1` and `C:\TestDirectory2` with the path and name of the directory you wish to copy and the location to which you wish to copy it. @@ -467,7 +467,7 @@ ## Examples The following example copies the directory `TestDirectory1` into `TestDirectory2`, overwriting existing files. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet49"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet49"::: Replace `C:\TestDirectory1` and `C:\TestDirectory2` with the path and name of the directory you wish to copy and the location to which you wish to copy it. @@ -560,13 +560,13 @@ ## Examples This example copies the file `Test.txt` to the directory `TestFiles2` without overwriting existing files. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet15"::: Replace the file paths with the paths you want to use in your code. This example copies the file `Test.txt` to the directory `TestFiles2` and renames it `NewFile.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet16"::: Replace the file paths with the paths you want to use in your code. @@ -647,13 +647,13 @@ ## Examples This example copies the file `Test.txt` to the directory `TestFiles2` without overwriting existing files. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet15"::: Replace the file paths with the paths you want to use in your code. This example copies the file `Test.txt` to the directory `TestFiles2` and renames it `NewFile.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet16"::: Replace the file paths with the paths you want to use in your code. @@ -735,13 +735,13 @@ ## Examples This example copies the file `Test.txt` to the directory `TestFiles2` without overwriting existing files. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet15"::: Replace the file paths with the paths you want to use in your code. This example copies the file `Test.txt` to the directory `TestFiles2` and renames it `NewFile.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet16"::: Replace the file paths with the paths you want to use in your code. @@ -824,13 +824,13 @@ ## Examples This example copies the file `Test.txt` to the directory `TestFiles2` without overwriting existing files. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet15"::: Replace the file paths with the paths you want to use in your code. This example copies the file `Test.txt` to the directory `TestFiles2` and renames it `NewFile.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet16"::: Replace the file paths with the paths you want to use in your code. @@ -908,7 +908,7 @@ ## Examples This example creates the directory, `NewDirectory`, in `C:\Documents and Settings\All Users\Documents`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet17"::: ]]> @@ -966,11 +966,11 @@ ## Examples This example returns the current directory and displays it in a message box. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet18"::: This example sets the current directory to `C:\TestDirectory`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet19"::: ]]> @@ -1031,19 +1031,19 @@ ## Examples The example deletes the directory `OldDirectory` only if it is empty. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet56"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet56"::: This example deletes the directory `OldDirectory` and all of its contents. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet57"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet57"::: This example deletes the directory `OldDirectory` and all of its contents, asking the user to confirm the deletion, but does not send the contents to the **Recycle Bin**. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet58"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet58"::: This example deletes the directory `OldDirectory` and all of its contents, sending them to the **Recycle Bin**, but does not show the progress of the operation. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet59"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet59"::: ]]> @@ -1111,19 +1111,19 @@ ## Examples The example deletes the directory `OldDirectory` only if it is empty. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet56"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet56"::: This example deletes the directory `OldDirectory` and all of its contents. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet57"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet57"::: This example deletes the directory `OldDirectory` and all of its contents, asking the user to confirm the deletion, but does not send the contents to the **Recycle Bin**. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet58"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet58"::: This example deletes the directory `OldDirectory` and all of its contents, sending them to the **Recycle Bin**, but does not show the progress of the operation. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet59"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet59"::: ]]> @@ -1194,19 +1194,19 @@ ## Examples The example deletes the directory `OldDirectory` only if it is empty. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet56"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet56"::: This example deletes the directory `OldDirectory` and all of its contents. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet57"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet57"::: This example deletes the directory `OldDirectory` and all of its contents, asking the user to confirm the deletion, but does not send the contents to the **Recycle Bin**. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet58"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet58"::: This example deletes the directory `OldDirectory` and all of its contents, sending them to the **Recycle Bin**, but does not show the progress of the operation. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet59"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet59"::: ]]> @@ -1285,15 +1285,15 @@ ## Examples This example deletes the file `Test.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet3"::: This example deletes the file `Test.txt` and allows the user to confirm that the file should be deleted. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet4"::: This example deletes the file `Test.txt` and sends it to the **Recycle Bin**. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet5"::: ]]> @@ -1366,15 +1366,15 @@ ## Examples This example deletes the file `Test.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet3"::: This example deletes the file `Test.txt` and allows the user to confirm that the file should be deleted. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet4"::: This example deletes the file `Test.txt` and sends it to the **Recycle Bin**. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet5"::: ]]> @@ -1451,15 +1451,15 @@ ## Examples This example deletes the file `Test.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet3"::: This example deletes the file `Test.txt` and allows the user to confirm that the file should be deleted. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet4"::: This example deletes the file `Test.txt` and sends it to the **Recycle Bin**. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet5"::: ]]> @@ -1523,7 +1523,7 @@ ## Examples This example determines whether the directory `C:\backup\logs` exists and checks its properties. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet13"::: ]]> @@ -1575,7 +1575,7 @@ ## Examples This example displays the available drive names in a message box. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet19"::: ]]> @@ -1631,7 +1631,7 @@ ## Examples This example checks to see whether or not the file `Check.txt` exists and supplies the information in a message box. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet20"::: ]]> @@ -1710,7 +1710,7 @@ ## Examples This example searches the directory `C:\TestDir` for any files containing the string `"sample string"` and displays the results in `ListBox1`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet12"::: In order to work, the project must contain a `ListBox` named `ListBox1`. @@ -1800,7 +1800,7 @@ ## Examples This example searches the directory `C:\TestDir` for any files containing the string `"sample string"` and displays the results in `ListBox1`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet12"::: In order to work, the project must contain a `ListBox` named `ListBox1`. @@ -1881,7 +1881,7 @@ ## Examples The following example returns all the directories in the directory structure that contain the word `Logs` in their names and adds them to `ListBox1`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet10"::: This example requires that you have a `ListBox` named `ListBox1` on your form. @@ -1967,7 +1967,7 @@ ## Examples The following example returns all the directories in the directory structure that contain the word `Logs` in their names and adds them to `ListBox1`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet10"::: This example requires that you have a `ListBox` named `ListBox1` on your form. @@ -2035,7 +2035,7 @@ ## Examples This example gets a object for the directory `C:\Documents and Settings` and displays the directory's creation time, last access time, and last write time. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet7"::: ]]> @@ -2097,7 +2097,7 @@ ## Examples This example obtains a object for the C drive and uses it to display information about the drive. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet11"::: For information on the different drive types, see . @@ -2167,7 +2167,7 @@ ## Examples This example retrieves a object for the file `MyLogFile.log` and uses it to report the file's full name, last access time, and length. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet1"::: ]]> @@ -2246,13 +2246,13 @@ ## Examples The following example returns all files in the directory and adds them to `ListBox1`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet5"::: This example requires that you have a `ListBox` named `ListBox1` on your form. This example returns all files in the directory with the extension `.txt` and adds them to `ListBox1`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet6"::: This example requires that you have a `ListBox` named `ListBox1` on your form. @@ -2339,13 +2339,13 @@ ## Examples The following example returns all files in the directory and adds them to `ListBox1`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet5"::: This example requires that you have a `ListBox` named `ListBox1` on your form. This example returns all files in the directory with the extension `.txt` and adds them to `ListBox1`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet6"::: This example requires that you have a `ListBox` named `ListBox1` on your form. @@ -2423,7 +2423,7 @@ ## Examples The following example parses a file path and returns the name of the file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet21"::: Replace the path `C:\Testdirectory\Testfile` with the path you wish to parse. @@ -2479,7 +2479,7 @@ ## Examples This example gets the parent path for `C:\Backups\Tmp\Test`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet17"::: ]]> @@ -2537,7 +2537,7 @@ ## Examples This example creates a temp file and returns its path. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet12"::: ]]> @@ -2602,11 +2602,11 @@ ## Examples This example moves `Directory1` inside `Directory2`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet81"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet81"::: This example moves `Directory1` inside `Directory2`, overwriting the directory if it already exists. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet82"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet82"::: ]]> @@ -2676,11 +2676,11 @@ ## Examples This example moves `Directory1` inside `Directory2`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet81"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet81"::: This example moves `Directory1` inside `Directory2`, overwriting the directory if it already exists. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet82"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet82"::: ]]> @@ -2752,11 +2752,11 @@ ## Examples This example moves `Directory1` inside `Directory2`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet81"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet81"::: This example moves `Directory1` inside `Directory2`, overwriting the directory if it already exists. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet82"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet82"::: ]]> @@ -2828,11 +2828,11 @@ ## Examples This example moves `Directory1` inside `Directory2`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet81"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet81"::: This example moves `Directory1` inside `Directory2`, overwriting the directory if it already exists. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet82"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet82"::: ]]> @@ -2922,11 +2922,11 @@ ## Examples This example moves the file `Test.txt` from `TestDir1` to `TestDir2`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet86"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet86"::: This example moves the file `Test.txt` from `TestDir1` to `TestDir2` and renames it `Test2.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet87"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet87"::: ]]> @@ -3000,11 +3000,11 @@ ## Examples This example moves the file `Test.txt` from `TestDir1` to `TestDir2`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet86"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet86"::: This example moves the file `Test.txt` from `TestDir1` to `TestDir2` and renames it `Test2.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet87"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet87"::: ]]> @@ -3080,11 +3080,11 @@ ## Examples This example moves the file `Test.txt` from `TestDir1` to `TestDir2`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet86"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet86"::: This example moves the file `Test.txt` from `TestDir1` to `TestDir2` and renames it `Test2.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet87"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet87"::: ]]> @@ -3160,11 +3160,11 @@ ## Examples This example moves the file `Test.txt` from `TestDir1` to `TestDir2`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet86"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet86"::: This example moves the file `Test.txt` from `TestDir1` to `TestDir2` and renames it `Test2.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet87"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet87"::: ]]> @@ -3246,7 +3246,7 @@ ## Examples This example opens the `TextFieldParser.reader` and uses it to read from `C:\TestFolder1\Test1.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet18"::: ]]> @@ -3331,7 +3331,7 @@ ## Examples This example opens the `TextFieldParser.reader` and uses it to read from `C:\TestFolder1\Test1.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet18"::: ]]> @@ -3416,7 +3416,7 @@ ## Examples This example opens the `TextFieldParser.reader` and uses it to read from `C:\TestFolder1\Test1.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet18"::: ]]> @@ -3501,7 +3501,7 @@ ## Examples This example opens the file `Testfile.txt`, reads a line from it, and displays the line in a `MessageBox`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet2"::: ]]> @@ -3571,7 +3571,7 @@ ## Examples This example opens the file `Testfile.txt`, reads a line from it, and displays the line in a `MessageBox`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet2"::: ]]> @@ -3656,7 +3656,7 @@ ## Examples This example opens a with the `My.Computer.FileSystem.OpenTextFileWriter` method and uses it to write a string to a text file with the `WriteLine` method of the `StreamWriter` class. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet14"::: ]]> @@ -3731,7 +3731,7 @@ ## Examples This example opens a with the `My.Computer.FileSystem.OpenTextFileWriter` method and uses it to write a string to a text file with the `WriteLine` method of the `StreamWriter` class. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet14"::: ]]> @@ -3798,7 +3798,7 @@ ## Examples This example reads from the file `C:/Documents and Settings/selfportrait.jpg.` - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet33"::: ]]> @@ -3882,11 +3882,11 @@ ## Examples This example reads the contents of `Test.txt` into a string and then displays it in a message box. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet8"::: This example reads the contents of the ASCII file `Test.txt` into a string and then displays it in a message box. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet9"::: ]]> @@ -3970,11 +3970,11 @@ ## Examples This example reads the contents of `Test.txt` into a string and then displays it in a message box. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet8"::: This example reads the contents of the ASCII file `Test.txt` into a string and then displays it in a message box. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet9"::: ]]> @@ -4045,7 +4045,7 @@ ## Examples This example renames the `Test` directory to `SecondTest`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet13"::: ]]> @@ -4122,7 +4122,7 @@ ## Examples This example renames the file `Test.txt` to `SecondTest.txt`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet1"::: Change "`C:\Test.txt`" to the path and file name of the file that you want to rename. @@ -4184,7 +4184,7 @@ ## Examples This example returns the file path for the user's Desktop directory and displays it. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet80"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet80"::: ]]> @@ -4252,7 +4252,7 @@ ## Examples This example appends the data array `CustomerData` to the file `CollectedData`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet50"::: ]]> @@ -4344,11 +4344,11 @@ ## Examples This example writes the line `"This is new text to be added."` to the file `Test.txt`, overwriting any existing text in the file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet21"::: This example writes the names of the files in the `Documents and Settings` folder to `FileList.txt`, inserting a carriage return between each for better readability. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet22"::: ]]> @@ -4432,11 +4432,11 @@ ## Examples This example writes the line `"This is new text to be added."` to the file `Test.txt`, overwriting any existing text in the file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet21"::: This example writes the names of the files in the `Documents and Settings` folder to `FileList.txt`, inserting a carriage return between each for better readability. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbRefFile/VB/Class1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.FileIO/FileSystem/CombinePath/Class1.vb" id="Snippet22"::: ]]> diff --git a/xml/Microsoft.VisualBasic.MyServices/RegistryProxy.xml b/xml/Microsoft.VisualBasic.MyServices/RegistryProxy.xml index 8b2ae1e7c62..1c66998eba4 100644 --- a/xml/Microsoft.VisualBasic.MyServices/RegistryProxy.xml +++ b/xml/Microsoft.VisualBasic.MyServices/RegistryProxy.xml @@ -54,7 +54,7 @@ ## Examples This example reads the value `Name` from `HKEY_CURRENT_USER\Software\MyApp` and displays it in a message box. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyRegistry/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/Registry/Class1.vb" id="Snippet8"::: ]]> @@ -130,7 +130,7 @@ ## Examples This example gets the names of the subkeys for the `ClassesRoot` registry key and adds them to `ListBox1`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyRegistry/VB/Class1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/Registry/Class1.vb" id="Snippet10"::: This example requires that you have a `ListBox` named `ListBox1` in your project. @@ -210,7 +210,7 @@ ## Examples This example creates the subkey `MyDeviceSettings`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyRegistry/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/Registry/Class1.vb" id="Snippet5"::: ]]> @@ -288,7 +288,7 @@ ## Examples This example deletes the subkey `Software\MyCompany\Preferences\UserData`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyRegistry/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/Registry/Class1.vb" id="Snippet2"::: ]]> @@ -392,7 +392,7 @@ ## Examples This example reads the value `Name` from `HKEY_CURRENT_USER\Software\MyApp` and displays it in a `MessageBox`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyRegistry/VB/Class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/Registry/Class1.vb" id="Snippet9"::: ]]> @@ -472,7 +472,7 @@ ## Examples This example opens the subkey `Software\MyCompany\Preferences` and sets the value `FontColor` to `"red"`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyRegistry/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/Registry/Class1.vb" id="Snippet3"::: ]]> @@ -552,7 +552,7 @@ ## Examples This example gets the value `ThisSoftware` from the `MyCompany` subkey. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyRegistry/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/Registry/Class1.vb" id="Snippet7"::: ]]> @@ -627,7 +627,7 @@ ## Examples This example sets the value `FontColor` to "red" in the key `HKEY_LOCAL_MACHINE\Software\MyCompany\Preferences`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyRegistry/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/Registry/Class1.vb" id="Snippet3"::: ]]> @@ -706,7 +706,7 @@ ## Examples This example sets the value `FontColor` to "red" in the key `HKEY_LOCAL_MACHINE\Software\MyCompany\Preferences`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyRegistry/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/Registry/Class1.vb" id="Snippet3"::: ]]> @@ -798,7 +798,7 @@ ## Examples This example counts and displays the number of values in the registry key. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMyRegistry/VB/Class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/Registry/Class1.vb" id="Snippet4"::: ]]> diff --git a/xml/Microsoft.VisualBasic.MyServices/SpecialDirectoriesProxy.xml b/xml/Microsoft.VisualBasic.MyServices/SpecialDirectoriesProxy.xml index c6dbe75cf35..ffb288bf9dd 100644 --- a/xml/Microsoft.VisualBasic.MyServices/SpecialDirectoriesProxy.xml +++ b/xml/Microsoft.VisualBasic.MyServices/SpecialDirectoriesProxy.xml @@ -66,7 +66,7 @@ ## Examples This example returns the `filePath` for the user's Desktop directory and displays it. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet80"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet80"::: ]]> @@ -118,7 +118,7 @@ ## Examples This example displays the path to the Application Data directory for the all users in a . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet79"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet79"::: ]]> @@ -171,7 +171,7 @@ ## Examples This example displays the path to the Application Data directory for the current user in a . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet48"::: ]]> @@ -224,7 +224,7 @@ ## Examples This example displays the path for the Desktop directory in a . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet60"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet60"::: ]]> @@ -277,7 +277,7 @@ ## Examples This example displays the path for the My Documents directory in a . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet53"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet53"::: ]]> @@ -330,7 +330,7 @@ ## Examples This example displays the path for the My Music directory in a . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet26"::: ]]> @@ -383,7 +383,7 @@ ## Examples This example displays the path for the MyPictures directory in a . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet77"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet77"::: ]]> @@ -436,7 +436,7 @@ ## Examples This example displays the path for the **Program Files** directory in a . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet90"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet90"::: ]]> @@ -489,7 +489,7 @@ ## Examples This example displays the path for the Programs directory in a . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet61"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet61"::: ]]> @@ -542,7 +542,7 @@ ## Examples This example displays the path for the Temp directory in a . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbcnMyFileSystem/VB/Class1.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic.Devices/ServerComputer/FileSystem/Class1.vb" id="Snippet31"::: ]]> diff --git a/xml/Microsoft.VisualBasic/Collection.xml b/xml/Microsoft.VisualBasic/Collection.xml index 62032333019..caf7b8f0d76 100644 --- a/xml/Microsoft.VisualBasic/Collection.xml +++ b/xml/Microsoft.VisualBasic/Collection.xml @@ -114,7 +114,7 @@ Dim coll As New Microsoft.VisualBasic.Collection() To see how this works, choose the **Add Class** command from the **Project** menu and declare a public variable called `instanceName` at the module level of `nameClass` (type `Public instanceName`) to hold the names of each instance. Leave the default name as `nameClass`. Copy and paste the following code into the **General** section of another module, and then start it with the statement `classNamer` in another procedure. (This example works only with host applications that support classes.) - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Class1.vb" id="Snippet1"::: ]]> @@ -227,7 +227,7 @@ Dim coll As New Microsoft.VisualBasic.Collection() ## Examples The following example uses the `Add` method to add `child` objects - instances of a class called `child` containing a `Public` property `name` - to a collection called `family`. To see how this works, create a with two controls and set their properties to `Add` and `List`. Add the `child` class definition and the `family` declaration to the form code. Modify the `_Click` event handlers for the **Add** and **List** buttons as shown. The **Add** button allows you to add children. The **List** button displays the names of all the children. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -276,7 +276,7 @@ Dim coll As New Microsoft.VisualBasic.Collection() ## Examples - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Class1.vb" id="Snippet3"::: ]]> @@ -329,7 +329,7 @@ Dim coll As New Microsoft.VisualBasic.Collection() ## Examples - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Class1.vb" id="Snippet4"::: If you intend to search the collection for elements using their keys, remember to supply the `Key` argument every time you call the `Add` method. @@ -382,8 +382,8 @@ Dim coll As New Microsoft.VisualBasic.Collection() ## Examples This example illustrates the use of the `Count` property to display the number of elements in a object in the variable `birthdays`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Class1.vb" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Class1.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Class1.vb" id="Snippet6"::: The `Collection` object is one-based, which means that the index values of the elements range from 1 through the value of the `Count` property. @@ -443,7 +443,7 @@ Dim coll As New Microsoft.VisualBasic.Collection() ## Examples The following example shows how to use `GetEnumerator` to retrieve all the elements of a `Collection` object. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Class1.vb" id="Snippet7"::: `GetEnumerator` constructs and returns an enumerator object, which implements the interface of the namespace. The enumerator object exposes the property and the and methods. For more information, see [For Each...Next Statement](/dotnet/visual-basic/language-reference/statements/for-each-next-statement). @@ -520,8 +520,8 @@ MsgBox(CStr(customers(1))) ## Examples The following example uses the `Item` property to retrieve a reference to an object in a collection. It creates `birthdays` as a `Collection` object and then retrieves the object representing Bill's birthday, using the key `"Bill"` as the `Index` argument. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Class1.vb" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Class1.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Class1.vb" id="Snippet8"::: Note that the first call explicitly specifies the `Item` property, but the second does not. Both calls work because the `Item` property is the default property for a `Collection` object. @@ -593,8 +593,8 @@ MsgBox(CStr(customers(1))) ## Examples The following example uses the `Item` property to retrieve a reference to an object in a collection. It creates `birthdays` as a `Collection` object and then retrieves the object representing Bill's birthday, using the key `"Bill"` as the `Index` argument. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Class1.vb" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Class1.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Class1.vb" id="Snippet8"::: Note that the first call explicitly specifies the `Item` property, but the second does not. Both calls work because the `Item` property is the default property for a `Collection` object. @@ -661,8 +661,8 @@ MsgBox(CStr(customers(1))) ## Examples The following example uses the `Item` property to retrieve a reference to an object in a collection. It creates `birthdays` as a `Collection` object and then retrieves the object representing Bill's birthday, using the key `"Bill"` as the `Index` argument. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Class1.vb" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Class1.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Class1.vb" id="Snippet8"::: Note that the first call explicitly specifies the `Item` property, but the second does not. Both calls work because the `Item` property is the default property for a `Collection` object. @@ -726,8 +726,8 @@ MsgBox(CStr(customers(1))) ## Examples This example illustrates the use of the `Remove` method to remove objects from a object in the variable `birthdays`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Class1.vb" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Class1.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Class1.vb" id="Snippet9"::: Following the four calls to the `Add` method, the `Count` property contains 4, element `"Bill"` has index value 1, and element `"Pete"` has index value 4. @@ -786,8 +786,8 @@ MsgBox(CStr(customers(1))) ## Examples This example illustrates the use of the `Remove` method to remove objects from a object in the variable `birthdays`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Class1.vb" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCollectionObject/VB/Class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Class1.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Collection/Overview/Class1.vb" id="Snippet9"::: Following the four calls to the `Add` method, the `Count` property contains 4, element `"Bill"` has index value 1, and element `"Pete"` has index value 4. diff --git a/xml/Microsoft.VisualBasic/ComClassAttribute.xml b/xml/Microsoft.VisualBasic/ComClassAttribute.xml index 32377d5bc7d..e546a14978c 100644 --- a/xml/Microsoft.VisualBasic/ComClassAttribute.xml +++ b/xml/Microsoft.VisualBasic/ComClassAttribute.xml @@ -56,7 +56,7 @@ ## Examples To run this example, create a new **Class Library** application and add the following code to a class module. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/Class2.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/Class2.vb" id="Snippet21"::: ]]> diff --git a/xml/Microsoft.VisualBasic/Constants.xml b/xml/Microsoft.VisualBasic/Constants.xml index 8852fd8003a..5010f4e35ba 100644 --- a/xml/Microsoft.VisualBasic/Constants.xml +++ b/xml/Microsoft.VisualBasic/Constants.xml @@ -841,7 +841,7 @@ ## Examples - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrConstants/VB/Class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Constants/vbDefaultButton1/Class1.vb" id="Snippet4"::: ]]> @@ -893,7 +893,7 @@ ## Examples - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrConstants/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Constants/vbDefaultButton1/Class1.vb" id="Snippet5"::: ]]> @@ -945,7 +945,7 @@ ## Examples - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrConstants/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Constants/vbDefaultButton1/Class1.vb" id="Snippet6"::: ]]> diff --git a/xml/Microsoft.VisualBasic/Conversion.xml b/xml/Microsoft.VisualBasic/Conversion.xml index 2716c28adb6..1e1c6d10e54 100644 --- a/xml/Microsoft.VisualBasic/Conversion.xml +++ b/xml/Microsoft.VisualBasic/Conversion.xml @@ -50,7 +50,7 @@ ## Examples This example uses the `Hex` function to return the hexadecimal value of a number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet16"::: ]]> @@ -320,7 +320,7 @@ End Class ## Examples The following code uses the `ErrorToString` function to display error messages that correspond to the specified error numbers. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet4"::: ]]> @@ -380,7 +380,7 @@ End Class ## Examples The following code uses the `ErrorToString` function to display error messages that correspond to the specified error numbers. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet4"::: ]]> @@ -449,15 +449,15 @@ End Class ## Examples This example illustrates how the `Int` and `Fix` functions return integer portions of numbers. In the case of a negative number argument, the `Int` function returns the first negative integer less than or equal to the number; the `Fix` function returns the first negative integer greater than or equal to the number. The following example requires you to specify `Option Strict Off` because implicit conversions from type `Double` to type `Integer` are not allowed under `Option Strict On`: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class2.vb" id="Snippet4"::: You can use the `CInt` function to explicitly convert other data types to type `Integer` with `Option Strict Off`. However, `CInt` rounds to the nearest integer instead of truncating the fractional part of numbers. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet5"::: You can use the `CInt` function on the result of a call to `Fix` or `Int` to perform explicit conversion to integer without rounding. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet6"::: For more information on `CInt`, see [Type Conversion Functions](/dotnet/visual-basic/language-reference/functions/type-conversion-functions). @@ -529,15 +529,15 @@ Dim i1 As Integer = CInt(Fix(d)) ' Result: 173 ## Examples This example illustrates how the `Int` and `Fix` functions return integer portions of numbers. In the case of a negative number argument, the `Int` function returns the first negative integer less than or equal to the number; the `Fix` function returns the first negative integer greater than or equal to the number. The following example requires you to specify `Option Strict Off` because implicit conversions from type `Double` to type `Integer` are not allowed under `Option Strict On`: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class2.vb" id="Snippet4"::: You can use the `CInt` function to explicitly convert other data types to type `Integer` with `Option Strict Off`. However, `CInt` rounds to the nearest integer instead of truncating the fractional part of numbers. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet5"::: You can use the `CInt` function on the result of a call to `Fix` or `Int` to perform explicit conversion to integer without rounding. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet6"::: For more information on `CInt`, see [Type Conversion Functions](/dotnet/visual-basic/language-reference/functions/type-conversion-functions). @@ -604,15 +604,15 @@ Dim i1 As Integer = CInt(Fix(d)) ' Result: 173 ## Examples This example illustrates how the `Int` and `Fix` functions return integer portions of numbers. In the case of a negative number argument, the `Int` function returns the first negative integer less than or equal to the number; the `Fix` function returns the first negative integer greater than or equal to the number. The following example requires you to specify `Option Strict Off` because implicit conversions from type `Double` to type `Integer` are not allowed under `Option Strict On`: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class2.vb" id="Snippet4"::: You can use the `CInt` function to explicitly convert other data types to type `Integer` with `Option Strict Off`. However, `CInt` rounds to the nearest integer instead of truncating the fractional part of numbers. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet5"::: You can use the `CInt` function on the result of a call to `Fix` or `Int` to perform explicit conversion to integer without rounding. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet6"::: For more information on `CInt`, see [Type Conversion Functions](/dotnet/visual-basic/language-reference/functions/type-conversion-functions). @@ -679,15 +679,15 @@ Dim i1 As Integer = CInt(Fix(d)) ' Result: 173 ## Examples This example illustrates how the `Int` and `Fix` functions return integer portions of numbers. In the case of a negative number argument, the `Int` function returns the first negative integer less than or equal to the number; the `Fix` function returns the first negative integer greater than or equal to the number. The following example requires you to specify `Option Strict Off` because implicit conversions from type `Double` to type `Integer` are not allowed under `Option Strict On`: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class2.vb" id="Snippet4"::: You can use the `CInt` function to explicitly convert other data types to type `Integer` with `Option Strict Off`. However, `CInt` rounds to the nearest integer instead of truncating the fractional part of numbers. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet5"::: You can use the `CInt` function on the result of a call to `Fix` or `Int` to perform explicit conversion to integer without rounding. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet6"::: For more information on `CInt`, see [Type Conversion Functions](/dotnet/visual-basic/language-reference/functions/type-conversion-functions). @@ -754,15 +754,15 @@ Dim i1 As Integer = CInt(Fix(d)) ' Result: 173 ## Examples This example illustrates how the `Int` and `Fix` functions return integer portions of numbers. In the case of a negative number argument, the `Int` function returns the first negative integer less than or equal to the number; the `Fix` function returns the first negative integer greater than or equal to the number. The following example requires you to specify `Option Strict Off` because implicit conversions from type `Double` to type `Integer` are not allowed under `Option Strict On`: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class2.vb" id="Snippet4"::: You can use the `CInt` function to explicitly convert other data types to type `Integer` with `Option Strict Off`. However, `CInt` rounds to the nearest integer instead of truncating the fractional part of numbers. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet5"::: You can use the `CInt` function on the result of a call to `Fix` or `Int` to perform explicit conversion to integer without rounding. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet6"::: For more information on `CInt`, see [Type Conversion Functions](/dotnet/visual-basic/language-reference/functions/type-conversion-functions). @@ -836,15 +836,15 @@ Dim i2 As Integer = CInt(Fix(s)) ' Result: 173 ## Examples This example illustrates how the `Int` and `Fix` functions return integer portions of numbers. In the case of a negative number argument, the `Int` function returns the first negative integer less than or equal to the number; the `Fix` function returns the first negative integer greater than or equal to the number. The following example requires you to specify `Option Strict Off` because implicit conversions from type `Double` to type `Integer` are not allowed under `Option Strict On`: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class2.vb" id="Snippet4"::: You can use the `CInt` function to explicitly convert other data types to type `Integer` with `Option Strict Off`. However, `CInt` rounds to the nearest integer instead of truncating the fractional part of numbers. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet5"::: You can use the `CInt` function on the result of a call to `Fix` or `Int` to perform explicit conversion to integer without rounding. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet6"::: For more information on `CInt`, see [Type Conversion Functions](/dotnet/visual-basic/language-reference/functions/type-conversion-functions). @@ -916,15 +916,15 @@ Dim i2 As Integer = CInt(Fix(s)) ' Result: 173 ## Examples This example illustrates how the `Int` and `Fix` functions return integer portions of numbers. In the case of a negative number argument, the `Int` function returns the first negative integer less than or equal to the number; the `Fix` function returns the first negative integer greater than or equal to the number. The following example requires you to specify `Option Strict Off` because implicit conversions from type `Double` to type `Integer` are not allowed under `Option Strict On`: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class2.vb" id="Snippet4"::: You can use the `CInt` function to explicitly convert other data types to type `Integer` with `Option Strict Off`. However, `CInt` rounds to the nearest integer instead of truncating the fractional part of numbers. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet5"::: You can use the `CInt` function on the result of a call to `Fix` or `Int` to perform explicit conversion to integer without rounding. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet6"::: For more information on `CInt`, see [Type Conversion Functions](/dotnet/visual-basic/language-reference/functions/type-conversion-functions). @@ -1003,7 +1003,7 @@ Dim i2 As Integer = CInt(Fix(s)) ' Result: 173 ## Examples This example uses the `Hex` function to return the hexadecimal value of a number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet16"::: ]]> @@ -1071,7 +1071,7 @@ Dim i2 As Integer = CInt(Fix(s)) ' Result: 173 ## Examples This example uses the `Hex` function to return the hexadecimal value of a number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet16"::: ]]> @@ -1139,7 +1139,7 @@ Dim i2 As Integer = CInt(Fix(s)) ' Result: 173 ## Examples This example uses the `Hex` function to return the hexadecimal value of a number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet16"::: ]]> @@ -1207,7 +1207,7 @@ Dim i2 As Integer = CInt(Fix(s)) ' Result: 173 ## Examples This example uses the `Hex` function to return the hexadecimal value of a number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet16"::: ]]> @@ -1275,7 +1275,7 @@ Dim i2 As Integer = CInt(Fix(s)) ' Result: 173 ## Examples This example uses the `Hex` function to return the hexadecimal value of a number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet16"::: ]]> @@ -1348,7 +1348,7 @@ Dim i2 As Integer = CInt(Fix(s)) ' Result: 173 ## Examples This example uses the `Hex` function to return the hexadecimal value of a number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet16"::: ]]> @@ -1422,7 +1422,7 @@ Dim i2 As Integer = CInt(Fix(s)) ' Result: 173 ## Examples This example uses the `Hex` function to return the hexadecimal value of a number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet16"::: ]]> @@ -1496,7 +1496,7 @@ Dim i2 As Integer = CInt(Fix(s)) ' Result: 173 ## Examples This example uses the `Hex` function to return the hexadecimal value of a number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet16"::: ]]> @@ -1570,7 +1570,7 @@ Dim i2 As Integer = CInt(Fix(s)) ' Result: 173 ## Examples This example uses the `Hex` function to return the hexadecimal value of a number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet16"::: ]]> @@ -1643,15 +1643,15 @@ Dim i2 As Integer = CInt(Fix(s)) ' Result: 173 ## Examples This example illustrates how the `Int` and `Fix` functions return integer portions of numbers. In the case of a negative number argument, the `Int` function returns the first negative integer less than or equal to the number; the `Fix` function returns the first negative integer greater than or equal to the number. The following example requires you to specify `Option Strict Off` because implicit conversions from type `Double` to type `Integer` are not allowed under `Option Strict On`: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class2.vb" id="Snippet4"::: You can use the `CInt` function to explicitly convert other data types to type `Integer` with `Option Strict Off`. However, `CInt` rounds to the nearest integer instead of truncating the fractional part of numbers. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet5"::: You can use the `CInt` function on the result of a call to `Fix` or `Int` to perform explicit conversion to integer without rounding. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet6"::: For more information on `CInt`, see [Type Conversion Functions](/dotnet/visual-basic/language-reference/functions/type-conversion-functions). @@ -1723,15 +1723,15 @@ Dim i3 As Integer = CInt(Int(dbl)) ' Result: 175 ## Examples This example illustrates how the `Int` and `Fix` functions return integer portions of numbers. In the case of a negative number argument, the `Int` function returns the first negative integer less than or equal to the number; the `Fix` function returns the first negative integer greater than or equal to the number. The following example requires you to specify `Option Strict Off` because implicit conversions from type `Double` to type `Integer` are not allowed under `Option Strict On`: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class2.vb" id="Snippet4"::: You can use the `CInt` function to explicitly convert other data types to type `Integer` with `Option Strict Off`. However, `CInt` rounds to the nearest integer instead of truncating the fractional part of numbers. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet5"::: You can use the `CInt` function on the result of a call to `Fix` or `Int` to perform explicit conversion to integer without rounding. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet6"::: For more information on `CInt`, see [Type Conversion Functions](/dotnet/visual-basic/language-reference/functions/type-conversion-functions). @@ -1798,15 +1798,15 @@ Dim i3 As Integer = CInt(Int(dbl)) ' Result: 175 ## Examples This example illustrates how the `Int` and `Fix` functions return integer portions of numbers. In the case of a negative number argument, the `Int` function returns the first negative integer less than or equal to the number; the `Fix` function returns the first negative integer greater than or equal to the number. The following example requires you to specify `Option Strict Off` because implicit conversions from type `Double` to type `Integer` are not allowed under `Option Strict On`: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class2.vb" id="Snippet4"::: You can use the `CInt` function to explicitly convert other data types to type `Integer` with `Option Strict Off`. However, `CInt` rounds to the nearest integer instead of truncating the fractional part of numbers. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet5"::: You can use the `CInt` function on the result of a call to `Fix` or `Int` to perform explicit conversion to integer without rounding. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet6"::: For more information on `CInt`, see [Type Conversion Functions](/dotnet/visual-basic/language-reference/functions/type-conversion-functions). @@ -1873,15 +1873,15 @@ Dim i3 As Integer = CInt(Int(dbl)) ' Result: 175 ## Examples This example illustrates how the `Int` and `Fix` functions return integer portions of numbers. In the case of a negative number argument, the `Int` function returns the first negative integer less than or equal to the number; the `Fix` function returns the first negative integer greater than or equal to the number. The following example requires you to specify `Option Strict Off` because implicit conversions from type `Double` to type `Integer` are not allowed under `Option Strict On`: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class2.vb" id="Snippet4"::: You can use the `CInt` function to explicitly convert other data types to type `Integer` with `Option Strict Off`. However, `CInt` rounds to the nearest integer instead of truncating the fractional part of numbers. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet5"::: You can use the `CInt` function on the result of a call to `Fix` or `Int` to perform explicit conversion to integer without rounding. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet6"::: For more information on `CInt`, see [Type Conversion Functions](/dotnet/visual-basic/language-reference/functions/type-conversion-functions). @@ -1948,15 +1948,15 @@ Dim i3 As Integer = CInt(Int(dbl)) ' Result: 175 ## Examples This example illustrates how the `Int` and `Fix` functions return integer portions of numbers. In the case of a negative number argument, the `Int` function returns the first negative integer less than or equal to the number; the `Fix` function returns the first negative integer greater than or equal to the number. The following example requires you to specify `Option Strict Off` because implicit conversions from type `Double` to type `Integer` are not allowed under `Option Strict On`: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class2.vb" id="Snippet4"::: You can use the `CInt` function to explicitly convert other data types to type `Integer` with `Option Strict Off`. However, `CInt` rounds to the nearest integer instead of truncating the fractional part of numbers. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet5"::: You can use the `CInt` function on the result of a call to `Fix` or `Int` to perform explicit conversion to integer without rounding. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet6"::: For more information on `CInt`, see [Type Conversion Functions](/dotnet/visual-basic/language-reference/functions/type-conversion-functions). @@ -2030,15 +2030,15 @@ Dim i2 As Integer = CInt(Int(s)) ' Result: 173 ## Examples This example illustrates how the `Int` and `Fix` functions return integer portions of numbers. In the case of a negative number argument, the `Int` function returns the first negative integer less than or equal to the number; the `Fix` function returns the first negative integer greater than or equal to the number. The following example requires you to specify `Option Strict Off` because implicit conversions from type `Double` to type `Integer` are not allowed under `Option Strict On`: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class2.vb" id="Snippet4"::: You can use the `CInt` function to explicitly convert other data types to type `Integer` with `Option Strict Off`. However, `CInt` rounds to the nearest integer instead of truncating the fractional part of numbers. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet5"::: You can use the `CInt` function on the result of a call to `Fix` or `Int` to perform explicit conversion to integer without rounding. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet6"::: For more information on `CInt`, see [Type Conversion Functions](/dotnet/visual-basic/language-reference/functions/type-conversion-functions). @@ -2110,15 +2110,15 @@ Dim i3 As Integer = CInt(Fix(sng)) ' Result: 175 ## Examples This example illustrates how the `Int` and `Fix` functions return integer portions of numbers. In the case of a negative number argument, the `Int` function returns the first negative integer less than or equal to the number; the `Fix` function returns the first negative integer greater than or equal to the number. The following example requires you to specify `Option Strict Off` because implicit conversions from type `Double` to type `Integer` are not allowed under `Option Strict On`: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class2.vb" id="Snippet4"::: You can use the `CInt` function to explicitly convert other data types to type `Integer` with `Option Strict Off`. However, `CInt` rounds to the nearest integer instead of truncating the fractional part of numbers. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet5"::: You can use the `CInt` function on the result of a call to `Fix` or `Int` to perform explicit conversion to integer without rounding. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet6"::: For more information on `CInt`, see [Type Conversion Functions](/dotnet/visual-basic/language-reference/functions/type-conversion-functions). @@ -2197,7 +2197,7 @@ Dim i3 As Integer = CInt(Fix(sng)) ' Result: 175 ## Examples This example uses the `Oct` function to return the octal value of a number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet30"::: ]]> @@ -2265,7 +2265,7 @@ Dim i3 As Integer = CInt(Fix(sng)) ' Result: 175 ## Examples This example uses the `Oct` function to return the octal value of a number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet30"::: ]]> @@ -2333,7 +2333,7 @@ Dim i3 As Integer = CInt(Fix(sng)) ' Result: 175 ## Examples This example uses the `Oct` function to return the octal value of a number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet30"::: ]]> @@ -2401,7 +2401,7 @@ Dim i3 As Integer = CInt(Fix(sng)) ' Result: 175 ## Examples This example uses the `Oct` function to return the octal value of a number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet30"::: ]]> @@ -2469,7 +2469,7 @@ Dim i3 As Integer = CInt(Fix(sng)) ' Result: 175 ## Examples This example uses the `Oct` function to return the octal value of a number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet30"::: ]]> @@ -2542,7 +2542,7 @@ Dim i3 As Integer = CInt(Fix(sng)) ' Result: 175 ## Examples This example uses the `Oct` function to return the octal value of a number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet30"::: ]]> @@ -2616,7 +2616,7 @@ Dim i3 As Integer = CInt(Fix(sng)) ' Result: 175 ## Examples This example uses the `Oct` function to return the octal value of a number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet30"::: ]]> @@ -2690,7 +2690,7 @@ Dim i3 As Integer = CInt(Fix(sng)) ' Result: 175 ## Examples This example uses the `Oct` function to return the octal value of a number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet30"::: ]]> @@ -2764,7 +2764,7 @@ Dim i3 As Integer = CInt(Fix(sng)) ' Result: 175 ## Examples This example uses the `Oct` function to return the octal value of a number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet30"::: ]]> @@ -2831,7 +2831,7 @@ Dim i3 As Integer = CInt(Fix(sng)) ' Result: 175 ## Examples This example uses the `Str` function to return a `String` representation of a number. When a positive number is converted to a string, a leading space is always reserved for its sign. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet1"::: ]]> @@ -2934,7 +2934,7 @@ Dim n = 1.34& ## Examples The following example uses the `Val` function to return the numbers contained in each string. `Val` stops converting at the first character that cannot be interpreted as a numeric digit, numeric modifier, numeric punctuation, or white space. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet54"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet54"::: ]]> @@ -3029,7 +3029,7 @@ Val("&HFFFF")  ## Examples The following example uses the `Val` function to return the numbers contained in each string. `Val` stops converting at the first character that cannot be interpreted as a numeric digit, numeric modifier, numeric punctuation, or white space. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet54"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet54"::: ]]> @@ -3124,7 +3124,7 @@ Val("&HFFFF")  ## Examples The following example uses the `Val` function to return the numbers contained in each string. `Val` stops converting at the first character that cannot be interpreted as a numeric digit, numeric modifier, numeric punctuation, or white space. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet54"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet54"::: ]]> diff --git a/xml/Microsoft.VisualBasic/DateAndTime.xml b/xml/Microsoft.VisualBasic/DateAndTime.xml index 651a04d4248..4f4ae1eac4f 100644 --- a/xml/Microsoft.VisualBasic/DateAndTime.xml +++ b/xml/Microsoft.VisualBasic/DateAndTime.xml @@ -156,7 +156,7 @@ NextTime = NextTime.AddDays(3.4) ' Increment by 3 2/5 days. ## Examples This example takes a date and, using the `DateAdd` function, displays a corresponding date a specified number of months in the future. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet25"::: ]]> @@ -269,7 +269,7 @@ NextTime = NextTime.AddDays(3.4) ' Increment by 3 2/5 days. ## Examples This example takes a date and, using the `DateAdd` function, displays a corresponding date a specified number of months in the future. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet25"::: ]]> @@ -358,7 +358,7 @@ NextTime = NextTime.AddDays(3.4) ' Increment by 3 2/5 days. - **Week Intervals.** If `Interval` is set to `DateInterval.WeekOfYear`, the return value represents the number of weeks between the first day of the week containing `Date1` and the first day of the week containing `Date2`. The following example shows how this produces different results from `DateInterval.Weekday`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet60"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet60"::: In the preceding example, `DateDiff` returns 0 to `wD` because the difference between the two dates is less than seven days, but it returns 1 to `wY` because there is a seven-day difference between the first days of the respective calendar weeks. @@ -370,7 +370,7 @@ NextTime = NextTime.AddDays(3.4) ' Increment by 3 2/5 days. - **Other Intervals.** Since every `Date` value is supported by a structure, its methods give you additional options in finding time intervals. For example, you can use the `Subtract` method in either of its overloaded forms: subtracts a from a `Date` variable to return another `Date` value, and subtracts a `Date` value to return a . You can time a process to find out how many milliseconds it takes, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet61"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet61"::: The `Interval` argument can have one of the following settings. @@ -414,7 +414,7 @@ NextTime = NextTime.AddDays(3.4) ' Increment by 3 2/5 days. ## Examples This example uses the `DateDiff` function to display the number of days between a given date and today. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet26"::: ]]> @@ -503,7 +503,7 @@ NextTime = NextTime.AddDays(3.4) ' Increment by 3 2/5 days. - **Week Intervals.** If `Interval` is set to `DateInterval.WeekOfYear`, the return value represents the number of weeks between the first day of the week containing `Date1` and the first day of the week containing `Date2`. The following example shows how this produces different results from `DateInterval.Weekday`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet60"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet60"::: In the preceding example, `DateDiff` returns 0 to `wD` because the difference between the two dates is less than seven days, but it returns 1 to `wY` because there is a seven-day difference between the first days of the respective calendar weeks. @@ -515,7 +515,7 @@ NextTime = NextTime.AddDays(3.4) ' Increment by 3 2/5 days. - **Other Intervals.** Since every `Date` value is supported by a structure, its methods give you additional options in finding time intervals. For example, you can use the `Subtract` method in either of its overloaded forms: subtracts a from a `Date` variable to return another `Date` value, and subtracts a `Date` value to return a . You can time a process to find out how many milliseconds it takes, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet61"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet61"::: The `Interval` argument can have one of the following settings. @@ -559,7 +559,7 @@ NextTime = NextTime.AddDays(3.4) ' Increment by 3 2/5 days. ## Examples This example uses the `DateDiff` function to display the number of days between a given date and today. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet26"::: ]]> @@ -688,7 +688,7 @@ Dim LastMidnight As Date = CurrDatTim.Date ' At midnight. ## Examples This example takes a date and, using the `DatePart` function, displays the quarter of the year in which it occurs. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet27"::: ]]> @@ -815,7 +815,7 @@ Dim LastMidnight As Date = CurrDatTim.Date ' At midnight. ## Examples This example takes a date and, using the `DatePart` function, displays the quarter of the year in which it occurs. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet27"::: ]]> @@ -915,7 +915,7 @@ Dim NewDateTime As Date = New Date(1978, 5, 6, 8, 29, 59, 900) ## Examples This example uses the `DateSerial` function to return the date for the specified year, month, and day. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet28"::: ]]> @@ -994,7 +994,7 @@ MsgBox("The formatted date is " & Format(Now, "dddd, d MMM yyyy")) ## Examples The following example uses the `DateString` property to display the current system date. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/Module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/DateString/Module1.vb" id="Snippet1"::: ]]> @@ -1058,7 +1058,7 @@ MsgBox("The formatted date is " & Format(Now, "dddd, d MMM yyyy")) ## Examples This example uses the `DateValue` function to convert a string to a date. You can also use date literals to directly assign a date to an `Object` or `Date` variable, for example, `oldDate = #2/12/69#`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet29"::: ]]> @@ -1129,7 +1129,7 @@ Dim thisDay As Integer = Microsoft.VisualBasic.DateAndTime.Day(Now) ## Examples The following example uses the `Day` function to obtain the day of the month from a specified date. In the development environment, the date literal is displayed in standard short format (such as "02/12/1969") using the locale settings of your code. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet30"::: `Day` is qualified to distinguish it from the enumeration. @@ -1192,7 +1192,7 @@ Dim thisDay As Integer = Microsoft.VisualBasic.DateAndTime.Day(Now) ## Examples This example uses the `Hour` function to obtain the hour from a specified time. In the development environment, the time literal is displayed in short time format using the locale settings of your code. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet32"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet32"::: ]]> @@ -1255,7 +1255,7 @@ Dim thisDay As Integer = Microsoft.VisualBasic.DateAndTime.Day(Now) ## Examples This example uses the `Minute` function to obtain the minute of the hour from a specified time. In the development environment, the time literal is displayed in short time format using the locale settings of your code. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet42"::: ]]> @@ -1318,7 +1318,7 @@ Dim thisDay As Integer = Microsoft.VisualBasic.DateAndTime.Day(Now) ## Examples This example uses the `Month` function to obtain the month from a specified date. In the development environment, the date literal is displayed in short date format using the locale settings of your code. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet43"::: ]]> @@ -1384,7 +1384,7 @@ Dim thisDay As Integer = Microsoft.VisualBasic.DateAndTime.Day(Now) ## Examples This example uses the `MonthName` function to determine the name of the month, by the integer given. The Boolean value will determine whether the full name (`False`) or the abbreviated name (`True`) will be displayed. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet44"::: ]]> @@ -1440,7 +1440,7 @@ Dim thisDay As Integer = Microsoft.VisualBasic.DateAndTime.Day(Now) ## Examples The following example uses the `Now` property to return the current system date and time. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/Module1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/DateString/Module1.vb" id="Snippet4"::: ]]> @@ -1501,7 +1501,7 @@ Dim thisDay As Integer = Microsoft.VisualBasic.DateAndTime.Day(Now) ## Examples The following example uses the `Second` function to obtain the second of the minute from a specified time. In the development environment, the time literal is displayed in short time format using the locale settings of your code. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet46"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet46"::: ]]> @@ -1572,7 +1572,7 @@ Dim thisDay As Integer = Microsoft.VisualBasic.DateAndTime.Day(Now) ## Examples This example uses the `TimeOfDay` property to return the current system time. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/Module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/DateString/Module1.vb" id="Snippet3"::: ]]> @@ -1622,7 +1622,7 @@ Dim thisDay As Integer = Microsoft.VisualBasic.DateAndTime.Day(Now) ## Examples This example uses the `Timer` property to pause the application. It can perform other processing during the pause. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrTimerProperty/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/Timer/Form1.vb" id="Snippet1"::: Note that you must qualify the `Timer` property with the namespace, because `Timer` is also a defined class in the , , and namespaces. @@ -1712,7 +1712,7 @@ Dim newDateTime As Date = New Date(1978, 5, 6, 8, 29, 59, 900) ## Examples The following example uses the `TimeSerial` function to return a time for the specified hour, minute, and second. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet50"::: ]]> @@ -1788,7 +1788,7 @@ MsgBox("The formatted time is " & Format(Now, "hh.mm.ss.fff tt")) ## Examples This example uses the `TimeString` property to display the current system time. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/Module1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/DateString/Module1.vb" id="Snippet2"::: ]]> @@ -1848,7 +1848,7 @@ MsgBox("The formatted time is " & Format(Now, "hh.mm.ss.fff tt")) ## Examples The following example uses the `TimeValue` function to convert a string to a time. You can also use date literals to directly assign a time to a `Date` variable. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet51"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet51"::: ]]> @@ -1919,7 +1919,7 @@ MsgBox("The formatted time is " & Format(Now, "hh.mm.ss.fff tt")) ## Examples This example uses the `Today` property to return the current system date. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrDateProperties/VB/Module1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/DateAndTime/DateString/Module1.vb" id="Snippet5"::: ]]> @@ -1992,7 +1992,7 @@ MsgBox("The formatted time is " & Format(Now, "hh.mm.ss.fff tt")) ## Examples The following example uses the `Weekday` function to obtain the day of the week from a specified date. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet57"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet57"::: ]]> @@ -2073,7 +2073,7 @@ MsgBox("The formatted time is " & Format(Now, "hh.mm.ss.fff tt")) ## Examples The following example uses the `Weekday` function to obtain the day of the week from a specified date, and then the `WeekDayName` function to obtain the name of the weekday from its number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet58"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet58"::: ]]> @@ -2135,7 +2135,7 @@ MsgBox("The formatted time is " & Format(Now, "hh.mm.ss.fff tt")) ## Examples The following example uses the `Year` function to obtain the year from a specified date. In the development environment, the date literal is displayed in short date format using the locale settings of your code. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet59"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet59"::: ]]> diff --git a/xml/Microsoft.VisualBasic/ErrObject.xml b/xml/Microsoft.VisualBasic/ErrObject.xml index c102220ed8c..1da8da49110 100644 --- a/xml/Microsoft.VisualBasic/ErrObject.xml +++ b/xml/Microsoft.VisualBasic/ErrObject.xml @@ -133,7 +133,7 @@ End If ## Examples This example uses the `Err` object's `Clear` method to reset the numeric properties of the `Err` object to zero and its string properties to zero-length strings. Without the call to `Clear`, the second call to `MsgBox` would display the same error message. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrErrorHandling/VB/Class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/ErrObject/Clear/Class1.vb" id="Snippet4"::: ]]> @@ -184,7 +184,7 @@ End If ## Examples This example assigns a user-defined message to the `Description` property of the `Err` object. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrErrorHandling/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/ErrObject/Clear/Class1.vb" id="Snippet5"::: ]]> @@ -298,7 +298,7 @@ End If ## Examples The following code displays the message assigned to the exception in the `Err` object: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet66"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet66"::: ]]> @@ -349,7 +349,7 @@ End If ## Examples This example uses the `HelpContext` property of the `Err` object to show the Visual Basic Help topic for the `Overflow` error. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrErrorHandling/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/ErrObject/Clear/Class1.vb" id="Snippet7"::: ]]> @@ -400,7 +400,7 @@ End If ## Examples This example uses the `HelpFile` property of the `Err` object to start the Help system. By default, the `HelpFile` property contains the name of the Visual Basic Help file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrErrorHandling/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/ErrObject/Clear/Class1.vb" id="Snippet7"::: ]]> @@ -457,11 +457,11 @@ End If ## Examples The following example shows how you can use the `LastDllError` property after calling a function in the Windows API. The `PrintWindowCoordinates` procedure takes a handle to a window and calls the `GetWindowRect` function. `GetWindowRect` fills the RECT data structure with the lengths of the sides of the rectangle that make up the window. If you pass an invalid handle, an error occurs, and the error number is available through the `LastDllError` property. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrErrorHandling/VB/Class1.vb" id="Snippet8"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrErrorHandling/VB/Class1.vb" id="Snippet9"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrErrorHandling/VB/Class1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/ErrObject/Clear/Class1.vb" id="Snippet8"::: +:::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/ErrObject/Clear/Class1.vb" id="Snippet9"::: +:::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/ErrObject/Clear/Class1.vb" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrErrorHandling/VB/Class1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/ErrObject/Clear/Class1.vb" id="Snippet11"::: ]]> @@ -510,18 +510,18 @@ End If When returning a user-defined error from an object, set `Err.Number` by adding the number you selected as an error code to the `VbObjectError` constant. For example, you use the following code to return the number 1051 as an error code: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrErrorHandling/VB/Class1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/ErrObject/Clear/Class1.vb" id="Snippet13"::: ## Examples This example illustrates a typical use of the `Number` property in an error-handling routine. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrErrorHandling/VB/Class1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/ErrObject/Clear/Class1.vb" id="Snippet12"::: This example uses the `Err` object's `Raise` method to generate an original error within a function written in Visual Basic. The calling function can catch the error and report it to the user. Notice that procedure `CallingProcedure` contrasts the type of information that you can derive from an `Err` object with the information that you can derive from an `Exception` object. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrErrorHandling/VB/Class1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/ErrObject/Clear/Class1.vb" id="Snippet14"::: ]]> @@ -587,7 +587,7 @@ End If ## Examples This example uses the `Err` object's `Raise` method to generate an error within a function written in Visual Basic. The calling function can catch the error and report it to the user with a message box. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrErrorHandling/VB/Class1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/ErrObject/Clear/Class1.vb" id="Snippet14"::: ]]> @@ -640,7 +640,7 @@ End If ## Examples This example demonstrates the use of the `Source` property in a typical error-handling routine. When an error is raised from `Class1`, the string `"Class1"` is assigned to the `Source` property of the `Err` object. This string is then displayed in an informative message indicating the source and number of the error. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrErrorHandling/VB/Class1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/ErrObject/Clear/Class1.vb" id="Snippet15"::: ]]> diff --git a/xml/Microsoft.VisualBasic/FileSystem.xml b/xml/Microsoft.VisualBasic/FileSystem.xml index 70abeecfe78..9d0a58a41be 100644 --- a/xml/Microsoft.VisualBasic/FileSystem.xml +++ b/xml/Microsoft.VisualBasic/FileSystem.xml @@ -54,7 +54,7 @@ ## Examples This example uses the `GetAttr` function to determine the attributes of a file and directory or folder. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet25"::: ]]> @@ -105,11 +105,11 @@ ## Remarks The `ChDir` function changes the default directory, but not the default drive. For example, if the default drive is C, the following statement changes the default directory on drive D, but C remains the default drive: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet39"::: You can make relative directory changes is by typing two periods, as follows: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet40"::: > [!IMPORTANT] > The `ChDir` function requires unmanaged code permission, which may affect its execution in partial-trust situations. For more information, see and . @@ -119,7 +119,7 @@ ## Examples This example uses the `ChDir` function to change the current directory or folder. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet41"::: ]]> @@ -198,7 +198,7 @@ ## Examples This example uses the `ChDrive` function to change the current drive. The function throws an exception if the drive does not exist. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet32"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet32"::: ]]> @@ -265,7 +265,7 @@ ## Examples This example uses the `ChDrive` function to change the current drive. The function throws an exception if the drive does not exist. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet32"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet32"::: ]]> @@ -327,7 +327,7 @@ ## Examples This example uses the `CurDir` function to return the current path. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet65"::: ]]> @@ -387,7 +387,7 @@ ## Examples This example uses the `CurDir` function to return the current path. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet65"::: ]]> @@ -475,7 +475,7 @@ ## Examples This example uses the `Dir` function to check if certain files and directories exist. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet3"::: ]]> @@ -557,7 +557,7 @@ > These enumerations are specified by the Visual Basic language and can be used anywhere in your code in place of the actual values. ## Examples This example uses the `Dir` function to check if certain files and directories exist. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet3"::: ]]> @@ -616,7 +616,7 @@ ## Examples This example uses the `EOF` function to detect the end of a file. This example assumes that `Testfile` is a text file that contains several lines of text. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet62"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet62"::: ]]> @@ -675,7 +675,7 @@ ## Examples This example uses the `FileAttr` function to return the file mode of an open file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet46"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet46"::: ]]> @@ -745,7 +745,7 @@ ## Examples This example uses the `FileClose` function to close a file opened for `Input`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet69"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet69"::: ]]> @@ -808,7 +808,7 @@ ## Examples This example uses the `FileCopy` function to copy one file to another. For purposes of this example, assume that `SrcFile` is a file that contains data. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet2"::: ]]> @@ -868,7 +868,7 @@ ## Examples This example uses the `FileDateTime` function to determine the date and time a file was created or last modified. The format of the date and time displayed is based on the locale settings of the system. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet34"::: ]]> @@ -953,7 +953,7 @@ The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` parameter in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet21"::: The 218 bytes are distributed as follows: @@ -1052,7 +1052,7 @@ The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` parameter in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet21"::: The 218 bytes are distributed as follows: @@ -1151,7 +1151,7 @@ The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` parameter in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet21"::: The 218 bytes are distributed as follows: @@ -1250,7 +1250,7 @@ The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` parameter in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet21"::: The 218 bytes are distributed as follows: @@ -1349,7 +1349,7 @@ The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` parameter in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet21"::: The 218 bytes are distributed as follows: @@ -1448,7 +1448,7 @@ The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` parameter in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet21"::: The 218 bytes are distributed as follows: @@ -1547,7 +1547,7 @@ The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` parameter in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet21"::: The 218 bytes are distributed as follows: @@ -1646,7 +1646,7 @@ The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` parameter in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet21"::: The 218 bytes are distributed as follows: @@ -1745,7 +1745,7 @@ The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` parameter in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet21"::: The 218 bytes are distributed as follows: @@ -1844,7 +1844,7 @@ The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` parameter in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet21"::: The 218 bytes are distributed as follows: @@ -1949,7 +1949,7 @@ The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` parameter in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet21"::: The 218 bytes are distributed as follows: @@ -2050,7 +2050,7 @@ The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` parameter in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet21"::: The 218 bytes are distributed as follows: @@ -2159,7 +2159,7 @@ The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` parameter in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet21"::: The 218 bytes are distributed as follows: @@ -2265,7 +2265,7 @@ For example, the following array declaration requires 218 bytes when the array is written to disk: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet27"::: The 218 bytes are distributed as follows: 18 bytes for the descriptor (2 + 8 * 2), and 100 bytes for the data (5 * 10 * 4). @@ -2288,7 +2288,7 @@ ## Examples The following example reads a record into a test file and then retrieves it. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet26"::: ]]> @@ -2350,7 +2350,7 @@ ## Examples This example uses the `FileLen` function to return the length of a file in bytes. For purposes of this example, assume that `TestFile` is a file that contains some data. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet1"::: ]]> @@ -2429,23 +2429,23 @@ The following code opens the file `TestFile` in `Input` mode. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet5"::: This example opens the file in `Binary` mode for writing operations only. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet6"::: The following example opens the file in `Random` mode. The file contains records of the structure `Person`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet7"::: This code example opens the file in `Output` mode; any process can read or write to file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet8"::: This code example opens the file in `Binary` mode for reading; other processes cannot read file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet9"::: ]]> @@ -2530,7 +2530,7 @@ - If the variable being written is an array, you have a choice as to whether or not to write a descriptor for the size and dimensions of the array. Visual Basic 6.0 and earlier versions write the file descriptor for a dynamic array but not for a fixed-size array. Visual Basic 2005 defaults to not writing the descriptor. To write the descriptor, set the `ArrayIsDynamic` parameter to `True`. When writing the array, you have to match the way the array will be read; if it will be read with the descriptor, you have to write the descriptor. The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet43"::: - If the variable being written is any other type of variable (not a variable-length string or an object), `FilePut` writes only the variable data. The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the length of the data being written. @@ -2548,7 +2548,7 @@ - `FilePut` writes variable-length strings that are not elements of structures without the two-byte length descriptor. The number of bytes written equals the number of characters in the string. For example, the following statements write 11 bytes to file number 1: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet44"::: - Writing to a file by using the `FilePut` function requires `Write` access from the enumeration. @@ -2557,7 +2557,7 @@ ## Examples This example uses the `FilePut` function to write data to a file. Five records of the structure `Person` are written to the file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet42"::: ]]> @@ -2638,7 +2638,7 @@ - If the variable being written is an array, you have a choice as to whether or not to write a descriptor for the size and dimensions of the array. Visual Basic 6.0 and earlier versions write the file descriptor for a dynamic array but not for a fixed-size array. Visual Basic 2005 defaults to not writing the descriptor. To write the descriptor, set the `ArrayIsDynamic` parameter to `True`. When writing the array, you have to match the way the array will be read; if it will be read with the descriptor, you have to write the descriptor. The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet43"::: - If the variable being written is any other type of variable (not a variable-length string or an object), `FilePut` writes only the variable data. The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the length of the data being written. @@ -2656,7 +2656,7 @@ - `FilePut` writes variable-length strings that are not elements of structures without the two-byte length descriptor. The number of bytes written equals the number of characters in the string. For example, the following statements write 11 bytes to file number 1: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet44"::: - Writing to a file by using the `FilePut` function requires `Write` access from the enumeration. @@ -2665,7 +2665,7 @@ ## Examples This example uses the `FilePut` function to write data to a file. Five records of the structure `Person` are written to the file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet42"::: ]]> @@ -2746,7 +2746,7 @@ - If the variable being written is an array, you have a choice as to whether or not to write a descriptor for the size and dimensions of the array. Visual Basic 6.0 and earlier versions write the file descriptor for a dynamic array but not for a fixed-size array. Visual Basic 2005 defaults to not writing the descriptor. To write the descriptor, set the `ArrayIsDynamic` parameter to `True`. When writing the array, you have to match the way the array will be read; if it will be read with the descriptor, you have to write the descriptor. The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet43"::: - If the variable being written is any other type of variable (not a variable-length string or an object), `FilePut` writes only the variable data. The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the length of the data being written. @@ -2764,7 +2764,7 @@ - `FilePut` writes variable-length strings that are not elements of structures without the two-byte length descriptor. The number of bytes written equals the number of characters in the string. For example, the following statements write 11 bytes to file number 1: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet44"::: - Writing to a file by using the `FilePut` function requires `Write` access from the enumeration. @@ -2773,7 +2773,7 @@ ## Examples This example uses the `FilePut` function to write data to a file. Five records of the structure `Person` are written to the file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet42"::: ]]> @@ -2854,7 +2854,7 @@ - If the variable being written is an array, you have a choice as to whether or not to write a descriptor for the size and dimensions of the array. Visual Basic 6.0 and earlier versions write the file descriptor for a dynamic array but not for a fixed-size array. Visual Basic 2005 defaults to not writing the descriptor. To write the descriptor, set the `ArrayIsDynamic` parameter to `True`. When writing the array, you have to match the way the array will be read; if it will be read with the descriptor, you have to write the descriptor. The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet43"::: - If the variable being written is any other type of variable (not a variable-length string or an object), `FilePut` writes only the variable data. The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the length of the data being written. @@ -2872,7 +2872,7 @@ - `FilePut` writes variable-length strings that are not elements of structures without the two-byte length descriptor. The number of bytes written equals the number of characters in the string. For example, the following statements write 11 bytes to file number 1: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet44"::: - Writing to a file by using the `FilePut` function requires `Write` access from the enumeration. @@ -2881,7 +2881,7 @@ ## Examples This example uses the `FilePut` function to write data to a file. Five records of the structure `Person` are written to the file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet42"::: ]]> @@ -2962,7 +2962,7 @@ - If the variable being written is an array, you have a choice as to whether or not to write a descriptor for the size and dimensions of the array. Visual Basic 6.0 and earlier versions write the file descriptor for a dynamic array but not for a fixed-size array. Visual Basic 2005 defaults to not writing the descriptor. To write the descriptor, set the `ArrayIsDynamic` parameter to `True`. When writing the array, you have to match the way the array will be read; if it will be read with the descriptor, you have to write the descriptor. The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet43"::: - If the variable being written is any other type of variable (not a variable-length string or an object), `FilePut` writes only the variable data. The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the length of the data being written. @@ -2980,7 +2980,7 @@ - `FilePut` writes variable-length strings that are not elements of structures without the two-byte length descriptor. The number of bytes written equals the number of characters in the string. For example, the following statements write 11 bytes to file number 1: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet44"::: - Writing to a file by using the `FilePut` function requires `Write` access from the enumeration. @@ -2989,7 +2989,7 @@ ## Examples This example uses the `FilePut` function to write data to a file. Five records of the structure `Person` are written to the file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet42"::: ]]> @@ -3070,7 +3070,7 @@ - If the variable being written is an array, you have a choice as to whether or not to write a descriptor for the size and dimensions of the array. Visual Basic 6.0 and earlier versions write the file descriptor for a dynamic array but not for a fixed-size array. Visual Basic 2005 defaults to not writing the descriptor. To write the descriptor, set the `ArrayIsDynamic` parameter to `True`. When writing the array, you have to match the way the array will be read; if it will be read with the descriptor, you have to write the descriptor. The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet43"::: - If the variable being written is any other type of variable (not a variable-length string or an object), `FilePut` writes only the variable data. The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the length of the data being written. @@ -3088,7 +3088,7 @@ - `FilePut` writes variable-length strings that are not elements of structures without the two-byte length descriptor. The number of bytes written equals the number of characters in the string. For example, the following statements write 11 bytes to file number 1: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet44"::: - Writing to a file by using the `FilePut` function requires `Write` access from the enumeration. @@ -3097,7 +3097,7 @@ ## Examples This example uses the `FilePut` function to write data to a file. Five records of the structure `Person` are written to the file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet42"::: ]]> @@ -3178,7 +3178,7 @@ - If the variable being written is an array, you have a choice as to whether or not to write a descriptor for the size and dimensions of the array. Visual Basic 6.0 and earlier versions write the file descriptor for a dynamic array but not for a fixed-size array. Visual Basic 2005 defaults to not writing the descriptor. To write the descriptor, set the `ArrayIsDynamic` parameter to `True`. When writing the array, you have to match the way the array will be read; if it will be read with the descriptor, you have to write the descriptor. The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet43"::: - If the variable being written is any other type of variable (not a variable-length string or an object), `FilePut` writes only the variable data. The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the length of the data being written. @@ -3196,7 +3196,7 @@ - `FilePut` writes variable-length strings that are not elements of structures without the two-byte length descriptor. The number of bytes written equals the number of characters in the string. For example, the following statements write 11 bytes to file number 1: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet44"::: - Writing to a file by using the `FilePut` function requires `Write` access from the enumeration. @@ -3205,7 +3205,7 @@ ## Examples This example uses the `FilePut` function to write data to a file. Five records of the structure `Person` are written to the file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet42"::: ]]> @@ -3286,7 +3286,7 @@ - If the variable being written is an array, you have a choice as to whether or not to write a descriptor for the size and dimensions of the array. Visual Basic 6.0 and earlier versions write the file descriptor for a dynamic array but not for a fixed-size array. Visual Basic 2005 defaults to not writing the descriptor. To write the descriptor, set the `ArrayIsDynamic` parameter to `True`. When writing the array, you have to match the way the array will be read; if it will be read with the descriptor, you have to write the descriptor. The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet43"::: - If the variable being written is any other type of variable (not a variable-length string or an object), `FilePut` writes only the variable data. The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the length of the data being written. @@ -3304,7 +3304,7 @@ - `FilePut` writes variable-length strings that are not elements of structures without the two-byte length descriptor. The number of bytes written equals the number of characters in the string. For example, the following statements write 11 bytes to file number 1: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet44"::: - Writing to a file by using the `FilePut` function requires `Write` access from the enumeration. @@ -3313,7 +3313,7 @@ ## Examples This example uses the `FilePut` function to write data to a file. Five records of the structure `Person` are written to the file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet42"::: ]]> @@ -3394,7 +3394,7 @@ - If the variable being written is an array, you have a choice as to whether or not to write a descriptor for the size and dimensions of the array. Visual Basic 6.0 and earlier versions write the file descriptor for a dynamic array but not for a fixed-size array. Visual Basic 2005 defaults to not writing the descriptor. To write the descriptor, set the `ArrayIsDynamic` parameter to `True`. When writing the array, you have to match the way the array will be read; if it will be read with the descriptor, you have to write the descriptor. The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet43"::: - If the variable being written is any other type of variable (not a variable-length string or an object), `FilePut` writes only the variable data. The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the length of the data being written. @@ -3412,7 +3412,7 @@ - `FilePut` writes variable-length strings that are not elements of structures without the two-byte length descriptor. The number of bytes written equals the number of characters in the string. For example, the following statements write 11 bytes to file number 1: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet44"::: - Writing to a file by using the `FilePut` function requires `Write` access from the enumeration. @@ -3421,7 +3421,7 @@ ## Examples This example uses the `FilePut` function to write data to a file. Five records of the structure `Person` are written to the file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet42"::: ]]> @@ -3502,7 +3502,7 @@ - If the variable being written is an array, you have a choice as to whether or not to write a descriptor for the size and dimensions of the array. Visual Basic 6.0 and earlier versions write the file descriptor for a dynamic array but not for a fixed-size array. Visual Basic 2005 defaults to not writing the descriptor. To write the descriptor, set the `ArrayIsDynamic` parameter to `True`. When writing the array, you have to match the way the array will be read; if it will be read with the descriptor, you have to write the descriptor. The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet43"::: - If the variable being written is any other type of variable (not a variable-length string or an object), `FilePut` writes only the variable data. The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the length of the data being written. @@ -3520,7 +3520,7 @@ - `FilePut` writes variable-length strings that are not elements of structures without the two-byte length descriptor. The number of bytes written equals the number of characters in the string. For example, the following statements write 11 bytes to file number 1: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet44"::: - Writing to a file by using the `FilePut` function requires `Write` access from the enumeration. @@ -3529,7 +3529,7 @@ ## Examples This example uses the `FilePut` function to write data to a file. Five records of the structure `Person` are written to the file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet42"::: ]]> @@ -3616,7 +3616,7 @@ - If the variable being written is an array, you have a choice as to whether or not to write a descriptor for the size and dimensions of the array. Visual Basic 6.0 and earlier versions write the file descriptor for a dynamic array but not for a fixed-size array. Visual Basic 2005 defaults to not writing the descriptor. To write the descriptor, set the `ArrayIsDynamic` parameter to `True`. When writing the array, you have to match the way the array will be read; if it will be read with the descriptor, you have to write the descriptor. The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet43"::: - If the variable being written is any other type of variable (not a variable-length string or an object), `FilePut` writes only the variable data. The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the length of the data being written. @@ -3634,7 +3634,7 @@ - `FilePut` writes variable-length strings that are not elements of structures without the two-byte length descriptor. The number of bytes written equals the number of characters in the string. For example, the following statements write 11 bytes to file number 1: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet44"::: - Writing to a file by using the `FilePut` function requires `Write` access from the enumeration. @@ -3643,7 +3643,7 @@ ## Examples This example uses the `FilePut` function to write data to a file. Five records of the structure `Person` are written to the file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet42"::: ]]> @@ -3741,7 +3741,7 @@ - If the variable being written is an array, you have a choice as to whether or not to write a descriptor for the size and dimensions of the array. Visual Basic 6.0 and earlier versions write the file descriptor for a dynamic array but not for a fixed-size array. Visual Basic 2005 defaults to not writing the descriptor. To write the descriptor, set the `ArrayIsDynamic` parameter to `True`. When writing the array, you have to match the way the array will be read; if it will be read with the descriptor, you have to write the descriptor. The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet43"::: - If the variable being written is any other type of variable (not a variable-length string or an object), `FilePut` writes only the variable data. The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the length of the data being written. @@ -3759,7 +3759,7 @@ - `FilePut` writes variable-length strings that are not elements of structures without the two-byte length descriptor. The number of bytes written equals the number of characters in the string. For example, the following statements write 11 bytes to file number 1: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet44"::: - Writing to a file by using the `FilePut` function requires `Write` access from the enumeration. @@ -3768,7 +3768,7 @@ ## Examples This example uses the `FilePut` function to write data to a file. Five records of the structure `Person` are written to the file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet42"::: ]]> @@ -3851,7 +3851,7 @@ - If the variable being written is an array, you have a choice as to whether or not to write a descriptor for the size and dimensions of the array. Visual Basic 6.0 and earlier versions write the file descriptor for a dynamic array but not for a fixed-size array. Visual Basic 2005 defaults to not writing the descriptor. To write the descriptor, set the `ArrayIsDynamic` parameter to `True`. When writing the array, you have to match the way the array will be read; if it will be read with the descriptor, you have to write the descriptor. The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet43"::: - If the variable being written is any other type of variable (not a variable-length string or an object), `FilePut` writes only the variable data. The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the length of the data being written. @@ -3869,7 +3869,7 @@ - `FilePut` writes variable-length strings that are not elements of structures without the two-byte length descriptor. The number of bytes written equals the number of characters in the string. For example, the following statements write 11 bytes to file number 1: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet44"::: - Writing to a file by using the `FilePut` function requires `Write` access from the enumeration. @@ -3878,7 +3878,7 @@ ## Examples This example uses the `FilePut` function to write data to a file. Five records of the structure `Person` are written to the file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet42"::: ]]> @@ -3969,7 +3969,7 @@ - If the variable being written is an array, you have a choice as to whether or not to write a descriptor for the size and dimensions of the array. Visual Basic 6.0 and earlier versions write the file descriptor for a dynamic array but not for a fixed-size array. Visual Basic 2005 defaults to not writing the descriptor. To write the descriptor, set the `ArrayIsDynamic` parameter to `True`. When writing the array, you have to match the way the array will be read; if it will be read with the descriptor, you have to write the descriptor. The descriptor specifies the rank of the array, the size, and the lower bounds for each rank. Its length equals 2 plus 8 times the number of dimensions: (2 + 8 * NumberOfDimensions). The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the sum of all the bytes required to write the array data and the array descriptor. For example, the following array declaration requires 218 bytes when the array is written to disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet43"::: - If the variable being written is any other type of variable (not a variable-length string or an object), `FilePut` writes only the variable data. The record length specified by the `RecordLength` clause in the `FileOpen` function must be greater than or equal to the length of the data being written. @@ -3987,7 +3987,7 @@ - `FilePut` writes variable-length strings that are not elements of structures without the two-byte length descriptor. The number of bytes written equals the number of characters in the string. For example, the following statements write 11 bytes to file number 1: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet44"::: - Writing to a file by using the `FilePut` function requires `Write` access from the enumeration. @@ -3996,7 +3996,7 @@ ## Examples This example uses the `FilePut` function to write data to a file. Five records of the structure `Person` are written to the file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet42"::: ]]> @@ -4095,7 +4095,7 @@ ## Examples This example uses the `FilePutObject` function to write a string to a file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet54"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet54"::: ]]> @@ -4150,7 +4150,7 @@ ## Examples This example uses the `FileWidth` function to set the output line width for a file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet10"::: ]]> @@ -4206,7 +4206,7 @@ ## Examples This example uses the `FreeFile` function to return the next available file number. Five files are opened for output within the loop, and some sample data is written to each. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet55"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet55"::: ]]> @@ -4269,7 +4269,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `GetAttr` function to determine the attributes of a file and directory or folder. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet25"::: ]]> @@ -4365,7 +4365,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `Input` function to read data from a file into two variables. This example assumes that `TestFile` is a file that has some lines of data written to it using the `Write` function, each line containing a string in quotations and a number separated by a comma, for example: ("Hello", 234). - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet35"::: ]]> @@ -4452,7 +4452,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `Input` function to read data from a file into two variables. This example assumes that `TestFile` is a file that has some lines of data written to it using the `Write` function, each line containing a string in quotations and a number separated by a comma, for example: ("Hello", 234). - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet35"::: ]]> @@ -4539,7 +4539,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `Input` function to read data from a file into two variables. This example assumes that `TestFile` is a file that has several lines of data written to it using the `Write` function, each line containing a string in quotations and a number separated by a comma, for example: ("Hello", 234). - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet35"::: ]]> @@ -4626,7 +4626,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `Input` function to read data from a file into two variables. This example assumes that `TestFile` is a file that has several lines of data written to it using the `Write` function, each line containing a string in quotations and a number separated by a comma, for example: ("Hello", 234). - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet35"::: ]]> @@ -4713,7 +4713,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `Input` function to read data from a file into two variables. This example assumes that `TestFile` is a file that has several lines of data written to it using the `Write` function, each line containing a string in quotations and a number separated by a comma, for example: ("Hello", 234). - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet35"::: ]]> @@ -4800,7 +4800,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `Input` function to read data from a file into two variables. This example assumes that `TestFile` is a file that has several lines of data written to it using the `Write` function, each line containing a string in quotations and a number separated by a comma, for example: ("Hello", 234). - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet35"::: ]]> @@ -4887,7 +4887,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `Input` function to read data from a file into two variables. This example assumes that `TestFile` is a file that has several lines of data written to it using the `Write` function, each line containing a string in quotations and a number separated by a comma, for example: ("Hello", 234). - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet35"::: ]]> @@ -4974,7 +4974,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `Input` function to read data from a file into two variables. This example assumes that `TestFile` is a file that has several lines of data written to it using the `Write` function, each line containing a string in quotations and a number separated by a comma, for example: ("Hello", 234). - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet35"::: ]]> @@ -5061,7 +5061,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `Input` function to read data from a file into two variables. This example assumes that `TestFile` is a file that has several lines of data written to it using the `Write` function, each line containing a string in quotations and a number separated by a comma, for example: ("Hello", 234). - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet35"::: ]]> @@ -5154,7 +5154,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `Input` function to read data from a file into two variables. This example assumes that `TestFile` is a file that has several lines of data written to it using the `Write` function, each line containing a string in quotations and a number separated by a comma, for example: ("Hello", 234). - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet35"::: ]]> @@ -5241,7 +5241,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `Input` function to read data from a file into two variables. This example assumes that `TestFile` is a file that has several lines of data written to it using the `Write` function, each line containing a string in quotations and a number separated by a comma, for example: ("Hello", 234). - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet35"::: ]]> @@ -5328,7 +5328,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `Input` function to read data from a file into two variables. This example assumes that `TestFile` is a file that has several lines of data written to it using the `Write` function, each line containing a string in quotations and a number separated by a comma, for example: ("Hello", 234). - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet35"::: ]]> @@ -5416,7 +5416,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `InputString` function to read one character at a time from a file and print it to the `Output` window. This example assumes that `MyFile` is a text file that has several lines of sample data. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet33"::: ]]> @@ -5478,7 +5478,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `Kill` function to delete a file from a disk. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet60"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet60"::: ]]> @@ -5547,7 +5547,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `LineInput` function to read a line from a sequential file and assign it to a variable. This example assumes that `TestFile` is a text file that has several lines of sample data. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet19"::: ]]> @@ -5619,7 +5619,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `Loc` function to return the current read/write position in an open file. This example assumes that `MyFile` is a text file that has several lines of sample data. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet17"::: ]]> @@ -5705,7 +5705,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example illustrates the use of the `Lock` and `Unlock` functions. This example assumes that `People.txt` is a file that contains records of the structure `Person`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet13"::: ]]> @@ -5783,7 +5783,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example illustrates the use of the `Lock` and `Unlock` functions. This example assumes that `People.txt` is a file that contains records of the structure `Person`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet13"::: ]]> @@ -5863,7 +5863,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example illustrates the use of the `Lock` and `Unlock` functions. This example assumes that `People.txt` is a file that contains records of the structure `Person`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet13"::: ]]> @@ -5920,7 +5920,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `LOF` function to determine the size of an open file. This example assumes that `TestFile` is a text file that contains sample data. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet23"::: ]]> @@ -5980,7 +5980,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `MkDir` function to create a directory. If the drive is not specified, the new directory is created on the current drive. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet38"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet38"::: ]]> @@ -6075,7 +6075,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `Print` and `PrintLine` functions to write data to a file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet53"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet53"::: ]]> @@ -6169,7 +6169,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `Print` and `PrintLine` functions to write data to a file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet53"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet53"::: ]]> @@ -6243,7 +6243,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `Rename` function to rename a file. For purposes of this example, assume that the directories that are specified already exist. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet30"::: ]]> @@ -6301,7 +6301,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `Reset` function to close all open files and write the contents of all file buffers to disk. Note the use of the `Object` variable `FileNumber` as both a string and a number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet12"::: ]]> @@ -6356,7 +6356,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `RmDir` function to remove an existing directory. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet31"::: ]]> @@ -6436,21 +6436,21 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `Seek` function to return the current file position. The example assumes `TestFile` is a file that contains records of the structure `Record`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet47"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet47"::: For files opened in `Random` mode, `Seek` returns the number of next record. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet48"::: For files opened in modes other than `Random` mode, `Seek` returns the byte position at which the next operation occurs. Assume `TestFile` is a file that contains several lines of text. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet49"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet49"::: This example uses the `Seek` function to set the position for the next read or write in a file. For files opened in modes other than `Random` mode, `Seek` sets the byte position at which the next operation occurs. Assume `TestFile` is a file that contains several lines of text. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet52"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet52"::: ]]> @@ -6519,21 +6519,21 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `Seek` function to return the current file position. The example assumes `TestFile` is a file that contains records of the structure `Record`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet47"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet47"::: For files opened in `Random` mode, `Seek` returns the number of next record. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet48"::: For files opened in modes other than `Random` mode, `Seek` returns the byte position at which the next operation occurs. Assume `TestFile` is a file that contains several lines of text. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet49"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet49"::: This example uses the `Seek` function to set the position for the next read or write in a file. For files opened in modes other than `Random` mode, `Seek` sets the byte position at which the next operation occurs. Assume `TestFile` is a file that contains several lines of text. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet52"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet52"::: ]]> @@ -6611,7 +6611,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `SetAttr` function to set attributes for a file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet14"::: ]]> @@ -6678,7 +6678,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `SPC` function to position output in a file and in the **Output** window. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet16"::: ]]> @@ -6754,7 +6754,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `TAB` function to position output in a file and in the **Output** window. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet37"::: ]]> @@ -6824,7 +6824,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `TAB` function to position output in a file and in the **Output** window. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet37"::: ]]> @@ -6911,7 +6911,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example illustrates the use of the `Lock` and `Unlock` functions. This example assumes that `People.txt` is a file that contains records of the structure `Person`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet13"::: ]]> @@ -6989,7 +6989,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example illustrates the use of the `Lock` and `Unlock` functions. This example assumes that `People.txt` is a file that contains records of the structure `Person`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet13"::: ]]> @@ -7069,7 +7069,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example illustrates the use of the `Lock` and `Unlock` functions. This example assumes that `People.txt` is a file that contains records of the structure `Person`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet13"::: ]]> @@ -7147,7 +7147,7 @@ Result = GetAttr(FName) And vbArchive You can embed quotation marks in a string by using double quotation marks, or "". For example, - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet63"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet63"::: returns a string with the value of `Double quotation marks aren't "difficult" to handle`. @@ -7158,7 +7158,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `Write` function to write raw data to a sequential file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet64"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet64"::: ]]> @@ -7241,7 +7241,7 @@ Result = GetAttr(FName) And vbArchive You can embed quotation marks in a string by using double quotation marks, or "". For example, - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet63"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet63"::: returns a string with the value of `Double quotation marks aren't "difficult" to handle`. @@ -7252,7 +7252,7 @@ Result = GetAttr(FName) And vbArchive ## Examples This example uses the `Write` function to write raw data to a sequential file. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet64"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet64"::: ]]> diff --git a/xml/Microsoft.VisualBasic/Financial.xml b/xml/Microsoft.VisualBasic/Financial.xml index d0be132f6f2..2710172255f 100644 --- a/xml/Microsoft.VisualBasic/Financial.xml +++ b/xml/Microsoft.VisualBasic/Financial.xml @@ -48,7 +48,7 @@ ## Examples This example uses the `Rate` function to calculate the interest rate of a loan, given the total number of payments (`TotPmts`), the amount of the loan payment (`Payment`), the present value or principal of the loan (`PVal`), the future value of the loan (`FVal`), a number that indicates whether the payment is due at the beginning or end of the payment period (`PayType`), and an approximation of the expected interest rate (`Guess`). - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet2"::: ]]> @@ -115,7 +115,7 @@ ## Examples This example uses the `DDB` function to return the depreciation of an asset for a specified period given the initial cost (`InitCost`), the salvage value at the end of the asset's useful life (`SalvageVal`), the total life of the asset in years (`LifeTime`), and the period in years for which the depreciation is calculated (`Depr`). - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet3"::: ]]> @@ -189,7 +189,7 @@ ## Examples This example uses the `FV` function to return the future value of an investment given the percentage rate that accrues per period (`APR / 12`), the total number of payments (`TotPmts`), the payment (`Payment`), the current value of the investment (`PVal`), and a number that indicates whether the payment is made at the beginning or end of the payment period (`PayType`). Note that because `Payment` represents cash paid out, it is a negative number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet22"::: ]]> @@ -254,7 +254,7 @@ ## Examples This example uses the `IPmt` function to calculate how much of a payment is interest when all the payments are of equal value. Given are the interest percentage rate per period (`APR / 12`), the payment period for which the interest portion is desired (`Period`), the total number of payments (`TotPmts`), the present value or principal of the loan (`PVal`), the future value of the loan (`FVal`), and a number that indicates whether the payment is due at the beginning or end of the payment period (`PayType`). - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet26"::: ]]> @@ -314,7 +314,7 @@ ## Examples In this example, the `IRR` function returns the internal rate of return for a series of five cash flows contained in the array `Values()`. The first array element is a negative cash flow representing business start-up costs. The remaining four cash flows represent positive cash flows for the subsequent four years. `Guess` is the estimated internal rate of return. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet20"::: ]]> @@ -378,7 +378,7 @@ ## Examples This example uses the `MIRR` function to return the modified internal rate of return for a series of cash flows contained in the array `Values()`. `LoanAPR` represents the financing interest, and `InvAPR` represents the interest rate received on reinvestment. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet29"::: ]]> @@ -445,7 +445,7 @@ ## Examples This example uses the `NPer` function to return the number of periods during which payments must be made to pay off a loan whose value is contained in `PVal`. Also provided are the interest percentage rate per period (`APR / 12`), the payment (`Payment`), the future value of the loan (`FVal`), and a number that indicates whether the payment is due at the beginning or end of the payment period (`PayType`). - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet19"::: ]]> @@ -510,7 +510,7 @@ ## Examples This example uses the `NPV` function to return the net present value for a series of cash flows contained in the array `values()`. The return value, stored in `FixedRetRate`, represents the fixed internal rate of return. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet1"::: ]]> @@ -584,7 +584,7 @@ ## Examples This example uses the `Pmt` function to return the monthly payment for a loan during a fixed period. Given are the interest percentage rate per period (`APR / 12`), the total number of payments (`TotPmts`), the present value or principal of the loan (`PVal`), the future value of the loan (`FVal`), and a number that indicates whether the payment is due at the beginning or end of the payment period `(PayType).` - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet7"::: ]]> @@ -652,7 +652,7 @@ ## Examples This example uses the `PPmt` function to calculate how much of a payment for a specific period is principal when all the payments are of equal value. Given are the interest percentage rate per period (`APR / 12`), the payment period for which the principal portion is desired (`Period`), the total number of payments (`TotPmts`), the present value or principal of the loan (`PVal`), the future value of the loan (`FVal`), and a number that indicates whether the payment is due at the beginning or end of the payment period (`PayType`). - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet24"::: ]]> @@ -718,7 +718,7 @@ ## Examples In this example, the `PV` function returns the present value of an \\$1,000,000 annuity that will provide \\$50,000 a year for the next 20 years. Provided are the expected annual percentage rate (`APR`), the total number of payments (`TotPmts`), the amount of each payment (`YrIncome`), the total future value of the investment (`FVal`), and a number that indicates whether each payment is made at the beginning or end of the payment period (`PayType`). Note that `YrIncome` is a negative number because it represents cash paid out from the annuity each year. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet25"::: ]]> @@ -783,7 +783,7 @@ ## Examples This example uses the `Rate` function to calculate the interest rate of a loan given the total number of payments (`TotPmts`), the amount of the loan payment (`Payment`), the present value or principal of the loan (`PVal`), the future value of the loan (`FVal`), a number that indicates whether the payment is due at the beginning or end of the payment period (`PayType`), and an approximation of the expected interest rate (`Guess`). - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet2"::: ]]> @@ -842,7 +842,7 @@ ## Examples This example uses the `SLN` function to return the straight-line depreciation of an asset for a single period given the asset's initial cost (`InitCost`), the salvage value at the end of the asset's useful life (`SalvageVal`), and the total life of the asset in years (`LifeTime`). - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet3"::: ]]> @@ -904,7 +904,7 @@ ## Examples This example uses the `SYD` function to return the depreciation of an asset for a specified period given the asset's initial cost (`InitCost`), the salvage value at the end of the asset's useful life (`SalvageVal`), and the total life of the asset in years (`LifeTime`). - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet3"::: ]]> diff --git a/xml/Microsoft.VisualBasic/Globals.xml b/xml/Microsoft.VisualBasic/Globals.xml index aabfc305ea8..d849492c6f8 100644 --- a/xml/Microsoft.VisualBasic/Globals.xml +++ b/xml/Microsoft.VisualBasic/Globals.xml @@ -88,7 +88,7 @@ End Function ## Examples The following example uses the `ScriptEngine` property and related properties to return a string describing the current run-time information: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/Module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Globals/ScriptEngine/Module1.vb" id="Snippet1"::: ]]> @@ -130,7 +130,7 @@ End Function ## Examples The following example uses the `ScriptEngineBuildVersion` property and related properties to return a string describing the current run-time information: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/Module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Globals/ScriptEngine/Module1.vb" id="Snippet1"::: ]]> @@ -172,7 +172,7 @@ End Function ## Examples The following example uses the `ScriptEngineMajorVersion` property and related properties to return a string describing the current run-time information: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/Module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Globals/ScriptEngine/Module1.vb" id="Snippet1"::: ]]> @@ -214,7 +214,7 @@ End Function ## Examples The following example uses the `ScriptEngineMinorVersion` property and related properties to return a string describing the current run-time information: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrScriptEngineProperties/VB/Module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Globals/ScriptEngine/Module1.vb" id="Snippet1"::: ]]> diff --git a/xml/Microsoft.VisualBasic/HideModuleNameAttribute.xml b/xml/Microsoft.VisualBasic/HideModuleNameAttribute.xml index 94fb05855e9..0fbecac4260 100644 --- a/xml/Microsoft.VisualBasic/HideModuleNameAttribute.xml +++ b/xml/Microsoft.VisualBasic/HideModuleNameAttribute.xml @@ -53,7 +53,7 @@ ## Examples This example shows how to use the `HideModuleNameAttribute` attribute to add a Database object to `My`, which can be accessed through `My.Database`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/Class2.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/Class2.vb" id="Snippet26"::: The `Namespace` statement must appear outside of any classes or modules. diff --git a/xml/Microsoft.VisualBasic/Information.xml b/xml/Microsoft.VisualBasic/Information.xml index 94259d1197d..011744c50be 100644 --- a/xml/Microsoft.VisualBasic/Information.xml +++ b/xml/Microsoft.VisualBasic/Information.xml @@ -120,7 +120,7 @@ testVbName = VbTypeName(sysBadName) ## Examples This example uses the `Erl` property to indicate the line number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrErrorHandling/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/ErrObject/Clear/Class1.vb" id="Snippet6"::: ]]> @@ -180,7 +180,7 @@ testVbName = VbTypeName(sysBadName) ## Examples This example uses the properties of the `Err` object in constructing an error-message dialog box. Notice that if you use the `Clear` method first, when you generate a Visual Basic error with the `Raise` method, Visual Basic's default values become the properties of the `Err` object. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrErrorHandling/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/ErrObject/Clear/Class1.vb" id="Snippet3"::: ]]> @@ -240,7 +240,7 @@ testVbName = VbTypeName(sysBadName) ## Examples This example uses the `IsArray` function to check if several variables refer to an array. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet34"::: ]]> @@ -305,7 +305,7 @@ testVbName = VbTypeName(sysBadName) ## Examples The following example uses the `IsDate` function to determine if several variables represent valid values. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet35"::: In the preceding example, `IsDate` returns `True` for the first four calls and `False` for the last call. @@ -372,7 +372,7 @@ testVbName = VbTypeName(sysBadName) ## Examples This example uses the `IsDBNull` function to determine if a variable evaluates to `DBNull`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet36"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet36"::: ]]> @@ -437,7 +437,7 @@ testVbName = VbTypeName(sysBadName) ## Examples The following example uses the `IsError` function to check if an expression represents a system exception. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet37"::: ]]> @@ -501,7 +501,7 @@ testVbName = VbTypeName(sysBadName) ## Examples The following example uses the `IsNothing` function to determine if an object variable is associated with any object instance. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet38"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet38"::: ]]> @@ -566,7 +566,7 @@ testVbName = VbTypeName(sysBadName) ## Examples The following example uses the `IsNumeric` function to determine if the contents of a variable can be evaluated as a number. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet39"::: ]]> @@ -630,7 +630,7 @@ testVbName = VbTypeName(sysBadName) ## Examples This example uses the `IsReference` function to check if several variables refer to reference types. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet40"::: In the preceding example, the first three calls to `IsReference` return `True`. The last call returns `False`, because `Integer` is a value type, not a reference type. @@ -708,7 +708,7 @@ Dim a(100, 5, 4) As Byte ## Examples The following example uses the `LBound` function to determine the lowest available subscript for the indicated dimension of an array. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet41"::: ]]> @@ -783,7 +783,7 @@ Dim a(100, 5, 4) As Byte ## Examples This example uses the `QBColor` function to change to the color indicated by `colorInteger`. `QBColor` accepts integer values between 0 and 15. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet29"::: ]]> @@ -859,7 +859,7 @@ Dim a(100, 5, 4) As Byte ## Examples This example shows how the `RGB` function is used to return a whole number representing an `RGB` color value. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet18"::: ]]> @@ -917,7 +917,7 @@ Dim a(100, 5, 4) As Byte ## Examples The following example uses the `SystemTypeName` function to return data type names for several variables. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet49"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet49"::: ]]> @@ -1007,7 +1007,7 @@ Dim a(100, 5, 4) As Byte ## Examples The following example uses the `TypeName` function to return data type information about several variables. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet52"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet52"::: ]]> @@ -1091,7 +1091,7 @@ total = (UBound(A, 1) + 1) * (UBound(A, 2) + 1) * (UBound(A, 3) + 1) ## Examples The following example uses the `UBound` function to determine the highest available subscript for the indicated dimension of an array. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet53"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet53"::: ]]> @@ -1167,7 +1167,7 @@ total = (UBound(A, 1) + 1) * (UBound(A, 2) + 1) * (UBound(A, 3) + 1) ## Examples The following example uses the `VarType` function to return data type classification information about several variables. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet55"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet55"::: ]]> @@ -1232,7 +1232,7 @@ total = (UBound(A, 1) + 1) * (UBound(A, 2) + 1) * (UBound(A, 3) + 1) ## Examples The following example uses the `VbTypeName` function to return data type names for several variables. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet56"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet56"::: ]]> diff --git a/xml/Microsoft.VisualBasic/Interaction.xml b/xml/Microsoft.VisualBasic/Interaction.xml index 3c3a381d893..f205fc9a6dc 100644 --- a/xml/Microsoft.VisualBasic/Interaction.xml +++ b/xml/Microsoft.VisualBasic/Interaction.xml @@ -131,7 +131,7 @@ procID = Shell("C:\Windows\system32\calc.exe", AppWinStyle.NormalFocus) ## Examples This example illustrates various uses of the `AppActivate` function to activate an application window. If a Notepad process is not running, the example throws an . The `Shell` procedure assumes the applications are in the paths specified. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet11"::: ]]> @@ -202,7 +202,7 @@ procID = Shell("C:\Windows\system32\calc.exe", AppWinStyle.NormalFocus) ## Examples This example illustrates various uses of the `AppActivate` function to activate an application window. If a Notepad process is not running, the example throws an . The `Shell` procedure assumes the applications are in the paths specified. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet11"::: ]]> @@ -267,7 +267,7 @@ procID = Shell("C:\Windows\system32\calc.exe", AppWinStyle.NormalFocus) ## Examples This example uses the `Beep` function to sound a tone through the computer's speaker. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet59"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet59"::: ]]> @@ -353,13 +353,13 @@ procID = Shell("C:\Windows\system32\calc.exe", AppWinStyle.NormalFocus) ## Examples In the following example, the first line uses `CallByName` to set the `Text` property of a text box, the second line retrieves the value of the `Text` property, and the third line invokes the `Move` method to move the text box. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet99"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet99"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet20"::: The next example uses the `CallByName` function to invoke the `Add` and `Item` methods of a collection object. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet21"::: ]]> @@ -436,7 +436,7 @@ procID = Shell("C:\Windows\system32\calc.exe", AppWinStyle.NormalFocus) ## Examples This example uses the `Choose` function to display a name in response to an index passed into the procedure in the `Ind` parameter. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet22"::: ]]> @@ -497,7 +497,7 @@ procID = Shell("C:\Windows\system32\calc.exe", AppWinStyle.NormalFocus) ## Examples This example uses the `Command` function to return the command-line arguments in an object that contains an array. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet58"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet58"::: ]]> @@ -622,7 +622,7 @@ End Sub ## Examples The following example uses the `CreateObject` function to create a Microsoft Excel worksheet and saves the worksheet to a file. To use this example, Excel must be installed on the computer where this program runs. Also, you must add a reference to the type library from the **COM** tab of the **Add Reference** dialog box on the **Project** menu. The name of the type library varies depending on the version of Excel installed on your computer. For example, the type library for Microsoft Excel 2002 is named **Microsoft Excel 10.0 Object Library**. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrExcelObject/VB/Class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Interaction/CreateObject/Class1.vb" id="Snippet1"::: ]]> @@ -705,7 +705,7 @@ End Sub ## Examples The following example first uses the `SaveSetting` procedure to make entries in the Windows registry for the `MyApp` application, and then uses the `DeleteSetting` function to remove them. Because no `Key` argument is specified, the whole `Startup` section is deleted, including the section name and all of its keys. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet45"::: ]]> @@ -781,7 +781,7 @@ End Sub ## Examples This example uses the function to supply the entry number and length of the `PATH` statement from the environment-string table. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet28"::: ]]> @@ -849,7 +849,7 @@ End Sub ## Examples This example uses the function to supply the entry number and length of the `PATH` statement from the environment-string table. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet28"::: ]]> @@ -925,7 +925,7 @@ End Sub ## Examples This example first uses the `SaveSetting` function to make entries in the Windows registry for the application specified as `AppName`, then uses the `GetAllSettings` function to display the settings. Note that application names and `Section` names cannot be retrieved with `GetAllSettings`. Finally, the `DeleteSetting` function removes the application's entries. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet68"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet68"::: ]]> @@ -1060,11 +1060,11 @@ drawObj.SaveAs("C:\Drawings\sample.drw") This example requires `Option Strict Off` because it uses late binding, where objects are assigned to variables of type `Object`. You can specify `Option Strict On` and declare objects of specific object types if you add a reference to the Excel type library from the **COM** tab of the **Add Reference** dialog box of the **Project** menu in Visual Studio. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrExcelObject/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Interaction/CreateObject/Class1.vb" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrExcelObject/VB/Class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Interaction/CreateObject/Class1.vb" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrExcelObject/VB/Class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Interaction/CreateObject/Class1.vb" id="Snippet5"::: When you call the `getExcel` function, a check is made to see if Excel is already running. If it is not, then an instance is created. @@ -1160,7 +1160,7 @@ drawObj.SaveAs("C:\Drawings\sample.drw") ## Examples This example first uses the `SaveSetting` function to make entries in the Windows registry for the application specified as `AppName`, and then uses the `GetSetting` function to display one of the settings. Because the `Default` argument is specified, some value is guaranteed to be returned. Notice that `Section` names cannot be retrieved with `GetSetting`. Finally, the `DeleteSetting` function removes all the application's entries. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet61"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet61"::: ]]> @@ -1225,7 +1225,7 @@ drawObj.SaveAs("C:\Drawings\sample.drw") ## Examples This example uses the `IIf` function to evaluate the `testMe` parameter of the `checkIt` procedure and returns the word "Large" if the amount is greater than 1000; otherwise, it returns the word "Small". - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet33"::: Note that if `Option Strict` is `On`, you must use the `CStr` keyword to explicitly convert the return from `Object` to `String`. @@ -1296,7 +1296,7 @@ drawObj.SaveAs("C:\Drawings\sample.drw") ## Examples This example shows various ways to use the `InputBox` function to prompt the user to enter a value. If the x and y positions are omitted, the dialog box is automatically centered for the respective axes. The variable `MyValue` contains the value entered by the user if the user clicks OK or presses the ENTER key. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet67"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet67"::: ]]> @@ -1394,7 +1394,7 @@ drawObj.SaveAs("C:\Drawings\sample.drw") ## Examples This example uses the `MsgBox` function to display a critical-error message in a dialog box with Yes and No buttons. The No button is specified as the default response. This is done by combining the `MsgBox` constant values into one numeric expression. In this case, adding 4 (the Yes/No button combination) and 16 (the **Critical Message** window) and 256 (the second button as default button) gives a total of 276. The value returned by the `MsgBox` function depends on the button chosen by the user: Yes returns a value of 6; No returns a value of 7. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet20"::: ]]> @@ -1471,7 +1471,7 @@ drawObj.SaveAs("C:\Drawings\sample.drw") ## Examples The following example sets up a series of ranges for decades from 1950 through 2049. It locates the value of `year` within the appropriate range and returns a `String` value showing the range. If `year` has a value of 1984, for example, `Partition` returns "1980:1989". - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet45"::: ]]> @@ -1541,7 +1541,7 @@ drawObj.SaveAs("C:\Drawings\sample.drw") ## Examples The following example first uses the `SaveSetting` function to make entries in the Windows registry for the `MyApp` application, and then uses the `DeleteSetting` function to remove them. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrCatRef/VB/Class1.vb" id="Snippet56"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb" id="Snippet56"::: ]]> @@ -1661,7 +1661,7 @@ ID = Shell("""C:\Program Files\display.exe"" -a -q", , True, 100000) ## Examples The following example uses the `Shell` function to run an application specified by the user. Specifying as the second argument opens the application in normal size and gives it the focus. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet47"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet47"::: ]]> @@ -1735,7 +1735,7 @@ ID = Shell("""C:\Program Files\display.exe"" -a -q", , True, 100000) ## Examples The following example uses the `Switch` function to return the name of a language that matches the name of a city. It requires that `Option Strict` be `Off`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet48"::: Because the namespace also contains a class called , a call to the `Switch` function must be qualified with the namespace. diff --git a/xml/Microsoft.VisualBasic/Strings.xml b/xml/Microsoft.VisualBasic/Strings.xml index ea5a119795b..c92356a00b1 100644 --- a/xml/Microsoft.VisualBasic/Strings.xml +++ b/xml/Microsoft.VisualBasic/Strings.xml @@ -50,7 +50,7 @@ ## Examples The following example demonstrates how to split a string at its spaces. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet13"::: ]]> @@ -120,7 +120,7 @@ ## Examples The following example uses the `Asc` function to return `Integer` character codes corresponding to the first letter in each string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet19"::: ]]> @@ -185,7 +185,7 @@ ## Examples The following example uses the `Asc` function to return `Integer` character codes corresponding to the first letter in each string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet19"::: ]]> @@ -259,7 +259,7 @@ ## Examples The following example uses the `Asc` function to return `Integer` character codes corresponding to the first letter in each string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet19"::: ]]> @@ -324,7 +324,7 @@ ## Examples The following example uses the `Asc` function to return `Integer` character codes corresponding to the first letter in each string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrFunctions/VB/Class1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Val/Class1.vb" id="Snippet19"::: ]]> @@ -395,7 +395,7 @@ ## Examples The following example uses the `Chr` function to return the character associated with the specified character code. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet7"::: ]]> @@ -468,7 +468,7 @@ ## Examples The following example uses the `Chr` function to return the character associated with the specified character code. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet7"::: ]]> @@ -574,7 +574,7 @@ ## Examples This example demonstrates the use of the `Filter` function. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet24"::: ]]> @@ -667,7 +667,7 @@ ## Examples This example demonstrates the use of the `Filter` function. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet24"::: ]]> @@ -743,11 +743,11 @@ The following example has two sections: the first defines the format for positive values and zeros; the second section defines the format for negative values. Since the `Style` argument of the `Format` function takes a string, it is enclosed by quotation marks. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet18"::: If you include semicolons with nothing between them, the missing section is printed using the format of the positive value. For example, the following format displays positive and negative values using the format in the first section and displays `Zero` if the value is zero. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet19"::: ## Predefined Numeric Formats The following table identifies the predefined numeric format names. These may be used by name as the `Style` argument for the `Format` function: @@ -890,7 +890,7 @@ > [!NOTE] > For locales that use a 24-hour clock, the AM/PM indicators (`t` and `tt`) display nothing. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet27"::: ]]> @@ -974,7 +974,7 @@ ## Examples The following example illustrates the use of the `FormatCurrency` function. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet32"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet32"::: ]]> @@ -1051,7 +1051,7 @@ ## Examples This example demonstrates the use of the `FormatDateTime` function. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet3"::: ]]> @@ -1139,7 +1139,7 @@ ## Examples This example demonstrates the `FormatNumber` function. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet15"::: ]]> @@ -1225,7 +1225,7 @@ ## Examples This example illustrates the use of the `FormatPercent` function. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet28"::: ]]> @@ -1289,7 +1289,7 @@ ## Examples This example shows how to use the `GetChar` function to return a character from a specified index in a `String`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet23"::: ]]> @@ -1402,7 +1402,7 @@ ## Examples This example uses the `InStr` function to return the position of the first occurrence of one string within another. In the first example, the search starts from the fourth character and returns the next lower case "p" because `CompareMethod` is `Text` and therefore case insensitive. The position is always relative to the beginning of the string, regardless of the start position. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet8"::: ]]> @@ -1525,7 +1525,7 @@ ## Examples This example uses the `InStr` function to return the position of the first occurrence of one string within another. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet8"::: ]]> @@ -1640,7 +1640,7 @@ ## Examples This example demonstrates the use of the `InStrRev` function. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet26"::: ]]> @@ -1716,7 +1716,7 @@ ## Examples The following example demonstrates how to use the `Join` function to create a list from several strings. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet10"::: ]]> @@ -1783,7 +1783,7 @@ ## Examples The following example demonstrates how to use the `Join` function to create a list from several strings. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet10"::: ]]> @@ -1855,7 +1855,7 @@ ## Examples This example uses the `LCase` function to return a lowercase version of a string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet12"::: ]]> @@ -1923,7 +1923,7 @@ ## Examples This example uses the `LCase` function to return a lowercase version of a string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet12"::: ]]> @@ -1992,7 +1992,7 @@ ## Examples This example demonstrates the use of the `Left` function to return a substring of a given `String`. In a class that has a `Left` property, it may be necessary to fully qualify the `Left` function. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet20"::: ]]> @@ -2072,7 +2072,7 @@ ## Examples This example uses `Len` to return the number of characters in a string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet33"::: ]]> @@ -2141,7 +2141,7 @@ ## Examples This example uses `Len` to return the number of characters in a string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet33"::: ]]> @@ -2210,7 +2210,7 @@ ## Examples This example uses `Len` to return the number of characters in a string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet33"::: ]]> @@ -2279,7 +2279,7 @@ ## Examples This example uses `Len` to return the number of characters in a string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet33"::: ]]> @@ -2348,7 +2348,7 @@ ## Examples This example uses `Len` to return the number of characters in a string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet33"::: ]]> @@ -2417,7 +2417,7 @@ ## Examples This example uses `Len` to return the number of characters in a string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet33"::: ]]> @@ -2486,7 +2486,7 @@ ## Examples This example uses `Len` to return the number of characters in a string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet33"::: ]]> @@ -2555,7 +2555,7 @@ ## Examples This example uses `Len` to return the number of characters in a string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet33"::: ]]> @@ -2624,7 +2624,7 @@ ## Examples This example uses `Len` to return the number of characters in a string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet33"::: ]]> @@ -2704,7 +2704,7 @@ ## Examples This example uses `Len` to return the number of characters in a string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet33"::: ]]> @@ -2778,7 +2778,7 @@ ## Examples This example uses `Len` to return the number of characters in a string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet33"::: ]]> @@ -2848,7 +2848,7 @@ ## Examples This example uses `Len` to return the number of characters in a string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet33"::: ]]> @@ -2918,7 +2918,7 @@ ## Examples This example uses `Len` to return the number of characters in a string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet33"::: ]]> @@ -2992,7 +2992,7 @@ ## Examples This example uses `Len` to return the number of characters in a string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet33"::: ]]> @@ -3067,7 +3067,7 @@ ## Examples This example uses `Len` to return the number of characters in a string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet33"::: ]]> @@ -3142,7 +3142,7 @@ ## Examples This example uses `Len` to return the number of characters in a string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet33"::: ]]> @@ -3211,7 +3211,7 @@ ## Examples This example demonstrates the use of the `LSet` function. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet11"::: ]]> @@ -3276,7 +3276,7 @@ ## Examples This example uses the `LTrim` function to strip leading spaces and the `RTrim` function to strip trailing spaces from a string variable. It uses the `Trim` function to strip both types of spaces. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet25"::: ]]> @@ -3352,7 +3352,7 @@ ## Examples The last line in this example uses this overload of the `Mid` function to return the fifth and subsequent characters from a string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet17"::: ]]> @@ -3435,7 +3435,7 @@ ## Examples The first two `Mid` functions in this example return the specified number of characters from a string, starting from the given positions. (The last function illustrates the overload and only specifies the starting point for the string extraction.) - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet17"::: ]]> @@ -3599,7 +3599,7 @@ Dim aString As String = Replace(TestString, "o", "i") ## Examples This example demonstrates the use of the `Right` function to return a substring of a given `String`. In a class that has a `Right` property, it may be necessary to fully qualify the `Right` function. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet21"::: ]]> @@ -3669,7 +3669,7 @@ Dim aString As String = Replace(TestString, "o", "i") ## Examples This example demonstrates the use of the `RSet` function. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet9"::: ]]> @@ -3734,7 +3734,7 @@ Dim aString As String = Replace(TestString, "o", "i") ## Examples This example uses the `LTrim` function to strip leading spaces and the `RTrim` function to strip trailing spaces from a string variable. It uses the `Trim` function to strip both types of spaces. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet25"::: ]]> @@ -3793,7 +3793,7 @@ Dim aString As String = Replace(TestString, "o", "i") ## Examples This example uses the `Space` function to return a string consisting of a specified number of spaces. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet2"::: ]]> @@ -3893,11 +3893,11 @@ Dim aString As String = Replace(TestString, "o", "i") ## Examples The following example demonstrates how to split a string at its spaces. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet13"::: The following example demonstrates how to split strings with multiple delimiters in a row and filter out the empty strings. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet14"::: ]]> @@ -3970,7 +3970,7 @@ Dim aString As String = Replace(TestString, "o", "i") ## Examples This example uses the `StrComp` function to return the results of a string comparison. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet22"::: ]]> @@ -4070,7 +4070,7 @@ Dim aString As String = Replace(TestString, "o", "i") ## Examples This example converts text into all lowercase letters. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet6"::: ]]> @@ -4141,7 +4141,7 @@ Dim aString As String = Replace(TestString, "o", "i") ## Examples This example uses the `StrDup` function to return a string of duplicated characters. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet34"::: ]]> @@ -4204,7 +4204,7 @@ Dim aString As String = Replace(TestString, "o", "i") ## Examples This example uses the `StrDup` function to return a string of duplicated characters. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet34"::: ]]> @@ -4267,7 +4267,7 @@ Dim aString As String = Replace(TestString, "o", "i") ## Examples This example uses the `StrDup` function to return a string of duplicated characters. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet34"::: ]]> @@ -4339,7 +4339,7 @@ For more information about how .NET divides a string instance into text elements ## Examples - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet29"::: ]]> @@ -4402,7 +4402,7 @@ For more information about how .NET divides a string instance into text elements ## Examples This example uses the `LTrim` function to strip leading spaces and the `RTrim` function to strip trailing spaces from a string variable. It uses the `Trim` function to strip both types of spaces. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet25"::: ]]> @@ -4475,7 +4475,7 @@ For more information about how .NET divides a string instance into text elements ## Examples This example uses the `UCase` function to return an uppercase version of a string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet31"::: ]]> @@ -4545,7 +4545,7 @@ For more information about how .NET divides a string instance into text elements ## Examples This example uses the `UCase` function to return an uppercase version of a string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrStrings/VB/Class1.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Overview/Class1.vb" id="Snippet31"::: ]]> diff --git a/xml/Microsoft.VisualBasic/VBCodeProvider.xml b/xml/Microsoft.VisualBasic/VBCodeProvider.xml index a07c952b05e..2dbf6bc88bb 100644 --- a/xml/Microsoft.VisualBasic/VBCodeProvider.xml +++ b/xml/Microsoft.VisualBasic/VBCodeProvider.xml @@ -47,7 +47,7 @@ The following example uses either the C# or Visual Basic code provider to compile a source file. The example checks the input file extension and uses the corresponding or for compilation. The input file is compiled into an executable file, and any compilation errors are displayed to the console. :::code language="csharp" source="~/snippets/csharp/Microsoft.CSharp/CSharpCodeProvider/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDom_CodeProviders/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.CSharp/CSharpCodeProvider/Overview/source.vb" id="Snippet2"::: ]]> @@ -159,7 +159,7 @@ In .NET Framework apps, you can obtain the value for `providerOptions` from the The following example shows how to specify the compiler version when creating a new instance of the class. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/vbprovider.provideroptions/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/VBCodeProvider/.ctor/program.vb" id="Snippet1"::: ]]> @@ -355,7 +355,7 @@ In .NET Framework apps, you can obtain the value for `providerOptions` from the The following code example shows the use of the method to create a code fragment to be used in a CodeDOM graph. This code example is part of a larger example provided for the method of the class. :::code language="csharp" source="~/snippets/csharp/Microsoft.CSharp/CSharpCodeProvider/GenerateCodeFromMember/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDom_GenerateCodeFromMember/vb/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.CSharp/CSharpCodeProvider/GenerateCodeFromMember/module1.vb" id="Snippet3"::: ]]> diff --git a/xml/Microsoft.VisualBasic/VBFixedArrayAttribute.xml b/xml/Microsoft.VisualBasic/VBFixedArrayAttribute.xml index 3728159b2eb..3a95c5cc227 100644 --- a/xml/Microsoft.VisualBasic/VBFixedArrayAttribute.xml +++ b/xml/Microsoft.VisualBasic/VBFixedArrayAttribute.xml @@ -48,7 +48,7 @@ ## Examples - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/Class2.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/Class2.vb" id="Snippet22"::: > [!NOTE] > The `VBFixedArrayAttribute` is informational and does not allocate any storage. The purpose of this attribute is to modify how arrays in structures and non-local variables are used by methods or API calls that recognize the `VBFixedArrayAttribute`. Keep in mind that this attribute does not convert a variable length array to a fixed array and that you must still allocate array storage using `Dim` or `ReDim` statements. diff --git a/xml/Microsoft.VisualBasic/VBFixedStringAttribute.xml b/xml/Microsoft.VisualBasic/VBFixedStringAttribute.xml index 4cb56c2b23d..0c46f85acdf 100644 --- a/xml/Microsoft.VisualBasic/VBFixedStringAttribute.xml +++ b/xml/Microsoft.VisualBasic/VBFixedStringAttribute.xml @@ -44,7 +44,7 @@ ## Examples - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbCnAttributes/VB/Class2.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/ComClassAttribute/Overview/Class2.vb" id="Snippet23"::: > [!NOTE] > The `VBFixedStringAttribute` is informational and cannot be used to convert a variable length string to a fixed string. The purpose of this attribute is to modify how strings in structures and non-local variables are used by methods or API calls that recognize the `VBFixedStringAttribute`. Keep in mind that this attribute does not change the actual length of the string itself. diff --git a/xml/Microsoft.VisualBasic/VBMath.xml b/xml/Microsoft.VisualBasic/VBMath.xml index 0af2bf14433..255cadfeb10 100644 --- a/xml/Microsoft.VisualBasic/VBMath.xml +++ b/xml/Microsoft.VisualBasic/VBMath.xml @@ -46,7 +46,7 @@ ## Examples This example uses the `Rnd` function to generate a random integer value in the range from 1 to 6. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet21"::: ]]> @@ -116,7 +116,7 @@ ## Examples This example uses the `Randomize` statement to initialize the random-number generator. Because the number argument has been omitted, `Randomize` uses the return value from the `Timer` function as the new seed value. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet21"::: ]]> @@ -178,7 +178,7 @@ ## Examples This example uses the `Randomize` statement to initialize the random-number generator. Because the number argument has been omitted, `Randomize` uses the return value from the `Timer` function as the new seed value. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet21"::: ]]> @@ -244,7 +244,7 @@ To produce random integers in a given range, use the following formula. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet30"::: Here, `upperbound` is the highest number in the range, and `lowerbound` is the lowest number in the range. @@ -259,7 +259,7 @@ ## Examples This example uses the `Rnd` function to generate a random integer value in the range from 1 to 6. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet21"::: ]]> @@ -317,7 +317,7 @@ To produce random integers in a given range, use the following formula. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet30"::: Here, `upperbound` is the highest number in the range, and `lowerbound` is the lowest number in the range. @@ -332,7 +332,7 @@ ## Examples This example uses the `Rnd` function to generate a random integer value in the range from 1 to 6. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrMath/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.VisualBasic/Conversion/Fix/Class1.vb" id="Snippet21"::: ]]> diff --git a/xml/Microsoft.Win32.SafeHandles/SafeFileHandle.xml b/xml/Microsoft.Win32.SafeHandles/SafeFileHandle.xml index 5e47503b09b..38b5e93b012 100644 --- a/xml/Microsoft.Win32.SafeHandles/SafeFileHandle.xml +++ b/xml/Microsoft.Win32.SafeHandles/SafeFileHandle.xml @@ -95,7 +95,7 @@ The following code example demonstrates how to open a file using the class and the unmanaged `CreateFile` function. :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32.SafeHandles/SafeFileHandle/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.SafeHandles.SafeFileHandle/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32.SafeHandles/SafeFileHandle/Overview/sample.vb" id="Snippet1"::: ]]> @@ -191,7 +191,7 @@ The following example demonstrates how to open a file by using the class and the unmanaged `CreateFile` function. :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32.SafeHandles/SafeFileHandle/.ctor/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.SafeHandles.SafeFileHandle.ctor/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32.SafeHandles/SafeFileHandle/.ctor/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/Microsoft.Win32.SafeHandles/SafeWaitHandle.xml b/xml/Microsoft.Win32.SafeHandles/SafeWaitHandle.xml index 4687f4ea04a..ea7a0aca8d8 100644 --- a/xml/Microsoft.Win32.SafeHandles/SafeWaitHandle.xml +++ b/xml/Microsoft.Win32.SafeHandles/SafeWaitHandle.xml @@ -82,7 +82,7 @@ The class is used by the class and the unmanaged `CreateMutex` function. :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32.SafeHandles/SafeWaitHandle/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.SafeHandles.SafeWaitHandle/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32.SafeHandles/SafeWaitHandle/Overview/sample.vb" id="Snippet1"::: ]]> @@ -180,7 +180,7 @@ The following code example demonstrates how to use interop to create a mutex usi The following code example demonstrates how to use interop to create a mutex using the class and the unmanaged `CreateMutex` function. :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32.SafeHandles/SafeWaitHandle/.ctor/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.SafeHandles.SafeWaitHandle-ctor/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32.SafeHandles/SafeWaitHandle/.ctor/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/Microsoft.Win32/Registry.xml b/xml/Microsoft.Win32/Registry.xml index a33896a232d..894084d9346 100644 --- a/xml/Microsoft.Win32/Registry.xml +++ b/xml/Microsoft.Win32/Registry.xml @@ -59,7 +59,7 @@ The following code example stores values of several data types in an example key :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Microsoft.Win32.Registry.GetSet/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/Registry/Overview/source1.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.Registry.GetSet/VB/source.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/Registry/Overview/source1.vb" id="Snippet1"::: ]]> @@ -326,14 +326,12 @@ The following code example stores values of several data types in an example key also provides methods that allow you to add an access control list (ACL) to a registry key, to test the data type of a value before retrieving it, and to delete keys. - - ## Examples The following code example stores values of several data types in an example key, creating the key as it does so, and then retrieves and displays the values. The example demonstrates storing and retrieving the default (nameless) name/value pair, and the use of `defaultValue` when a name/value pair does not exist. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Microsoft.Win32.Registry.GetSet/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/Registry/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.Registry.GetSet/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/Registry/Overview/source1.vb" id="Snippet1"::: ]]> @@ -486,7 +484,7 @@ The following code example stores values of several data types in an example key :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Microsoft.Win32.Registry.GetSet/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/Registry/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.Registry.GetSet/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/Registry/Overview/source1.vb" id="Snippet1"::: ]]> @@ -576,7 +574,7 @@ The following code example stores values of several data types in an example key :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Microsoft.Win32.Registry.GetSet/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/Registry/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.Registry.GetSet/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/Registry/Overview/source1.vb" id="Snippet1"::: ]]> @@ -677,7 +675,7 @@ The following code example stores values of several data types in an example key :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Microsoft.Win32.Registry.GetSet/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/Registry/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.Registry.GetSet/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/Registry/Overview/source1.vb" id="Snippet1"::: ]]> diff --git a/xml/Microsoft.Win32/RegistryHive.xml b/xml/Microsoft.Win32/RegistryHive.xml index a07c626b6a3..bb027d0184e 100644 --- a/xml/Microsoft.Win32/RegistryHive.xml +++ b/xml/Microsoft.Win32/RegistryHive.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Microsoft.Win32.RegistryKey.OpenRemoteBaseKey/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryHive/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryKey.OpenRemoteBaseKey/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryHive/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/Microsoft.Win32/RegistryKey.xml b/xml/Microsoft.Win32/RegistryKey.xml index e2eb19407b4..6dbc92cb83e 100644 --- a/xml/Microsoft.Win32/RegistryKey.xml +++ b/xml/Microsoft.Win32/RegistryKey.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryKey/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryKey/Overview/source.vb" id="Snippet1"::: ]]> @@ -132,7 +132,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/CPP/source.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryKey/Overview/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryKey/Overview/source.vb" id="Snippet4"::: ]]> @@ -201,7 +201,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryKey/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryKey/Overview/source.vb" id="Snippet1"::: ]]> @@ -720,7 +720,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/CPP/source2.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryKey/Overview/source2.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/VB/source2.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryKey/Overview/source2.vb" id="Snippet5"::: ]]> @@ -873,7 +873,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/CPP/source.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryKey/Overview/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryKey/Overview/source.vb" id="Snippet4"::: ]]> @@ -1007,7 +1007,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryKey/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryKey/Overview/source.vb" id="Snippet3"::: ]]> @@ -1521,7 +1521,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryKey/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryKey/Overview/source.vb" id="Snippet2"::: ]]> @@ -1611,7 +1611,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Microsoft.Win32.RegistryValueKind/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryKey/GetValue/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryValueKind/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryKey/GetValue/source2.vb" id="Snippet1"::: ]]> @@ -1796,7 +1796,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/RegistryValueOptions/CPP/RegistryValueOptions.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryKey/GetValue/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RegistryValueOptions/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryKey/GetValue/source1.vb" id="Snippet1"::: ]]> @@ -1878,7 +1878,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Microsoft.Win32.RegistryValueKind/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryKey/GetValue/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryValueKind/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryKey/GetValue/source2.vb" id="Snippet1"::: ]]> @@ -1951,7 +1951,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryKey/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryKey/Overview/source.vb" id="Snippet2"::: ]]> @@ -2063,7 +2063,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/CPP/source.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryKey/Overview/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryKey/Overview/source.vb" id="Snippet4"::: ]]> @@ -2192,7 +2192,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Microsoft.Win32.RegistryKey.OpenRemoteBaseKey/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryHive/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryKey.OpenRemoteBaseKey/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryHive/Overview/source.vb" id="Snippet1"::: ]]> @@ -2347,7 +2347,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/RegistryKey.OpenSubKey/CPP/opensubkey.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryKey/OpenSubKey/opensubkey.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RegistryKey.OpenSubKey/VB/opensubkey.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryKey/OpenSubKey/opensubkey.vb" id="Snippet1"::: ]]> @@ -2433,7 +2433,7 @@ The following code example creates a subkey containing 100 key/value pairs and closes it. The example opens the subkey with , records the time it takes to read all the values, and closes the subkey. The example opens the subkey with and records the time it takes to read all the values. Finally, the example computes and displays the percentage improvement. :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryKey/OpenSubKey/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RegistryKey.OpenSubKey_PermCheck/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryKey/OpenSubKey/source.vb" id="Snippet1"::: ]]> @@ -2521,7 +2521,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/RegistryKey.OpenSubKey/CPP/opensubkey.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryKey/OpenSubKey/opensubkey.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RegistryKey.OpenSubKey/VB/opensubkey.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryKey/OpenSubKey/opensubkey.vb" id="Snippet1"::: ]]> @@ -2752,7 +2752,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/RegistrySecurity101/cpp/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryKey/SetAccessControl/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RegistrySecurity101/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryKey/SetAccessControl/source.vb" id="Snippet1"::: ]]> @@ -2844,7 +2844,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Microsoft.Win32.RegistryKey.SetValue1/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryKey/SetValue/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryKey.SetValue1/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryKey/SetValue/source.vb" id="Snippet1"::: ]]> @@ -2947,7 +2947,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Microsoft.Win32.RegistryValueKind/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryKey/GetValue/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryValueKind/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryKey/GetValue/source2.vb" id="Snippet1"::: ]]> @@ -3016,7 +3016,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryKey/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryKey2/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryKey/Overview/source.vb" id="Snippet2"::: ]]> @@ -3115,7 +3115,7 @@ This method has the same effect as calling @@ -3175,7 +3175,7 @@ This method has the same effect as calling diff --git a/xml/Microsoft.Win32/RegistryKeyPermissionCheck.xml b/xml/Microsoft.Win32/RegistryKeyPermissionCheck.xml index c271f9718f2..b00b50769dd 100644 --- a/xml/Microsoft.Win32/RegistryKeyPermissionCheck.xml +++ b/xml/Microsoft.Win32/RegistryKeyPermissionCheck.xml @@ -50,7 +50,7 @@ The following code example creates a subkey containing 100 key/value pairs and closes it. The example opens the subkey with Default and records the time it takes to read all the values. Then the example opens the subkey with ReadSubTree and records the time it takes to read all the values. Finally, the example computes and displays the percentage improvement. :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryKey/OpenSubKey/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RegistryKey.OpenSubKey_PermCheck/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryKey/OpenSubKey/source.vb" id="Snippet1"::: ]]> diff --git a/xml/Microsoft.Win32/RegistryValueKind.xml b/xml/Microsoft.Win32/RegistryValueKind.xml index beb6e4dceac..9ccb73f4402 100644 --- a/xml/Microsoft.Win32/RegistryValueKind.xml +++ b/xml/Microsoft.Win32/RegistryValueKind.xml @@ -50,7 +50,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Microsoft.Win32.RegistryValueKind/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryKey/GetValue/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.RegistryValueKind/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryKey/GetValue/source.vb" id="Snippet1"::: ]]> diff --git a/xml/Microsoft.Win32/RegistryValueOptions.xml b/xml/Microsoft.Win32/RegistryValueOptions.xml index 7b42b35f583..5e642fa38e7 100644 --- a/xml/Microsoft.Win32/RegistryValueOptions.xml +++ b/xml/Microsoft.Win32/RegistryValueOptions.xml @@ -48,7 +48,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/RegistryValueOptions/CPP/RegistryValueOptions.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryKey/GetValue/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RegistryValueOptions/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryKey/GetValue/source1.vb" id="Snippet1"::: ]]> diff --git a/xml/Microsoft.Win32/SystemEvents.xml b/xml/Microsoft.Win32/SystemEvents.xml index dd1ecb539d7..2c0622e1bd6 100644 --- a/xml/Microsoft.Win32/SystemEvents.xml +++ b/xml/Microsoft.Win32/SystemEvents.xml @@ -63,7 +63,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemEvents/cpp/SystemEvents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/SystemEvents/Overview/SystemEvents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemEvents/VB/SystemEvents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/SystemEvents/Overview/SystemEvents.vb" id="Snippet1"::: **Example 2** @@ -94,7 +94,7 @@ 7. Uninstall the service from the command line by using the `/u` option. For example, `InstallUtil /u example.exe`. :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/SystemEvents/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ManagedWindowsService/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/SystemEvents/Overview/source.vb" id="Snippet1"::: ]]> @@ -194,7 +194,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemEvents/cpp/SystemEvents.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/SystemEvents/Overview/SystemEvents.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemEvents/VB/SystemEvents.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/SystemEvents/Overview/SystemEvents.vb" id="Snippet2"::: ]]> @@ -555,7 +555,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemEvents/cpp/SystemEvents.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/SystemEvents/Overview/SystemEvents.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemEvents/VB/SystemEvents.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/SystemEvents/Overview/SystemEvents.vb" id="Snippet2"::: ]]> @@ -1037,7 +1037,7 @@ private void Form1_Closing( :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemEvents/cpp/SystemEvents.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/SystemEvents/Overview/SystemEvents.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemEvents/VB/SystemEvents.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/SystemEvents/Overview/SystemEvents.vb" id="Snippet2"::: ]]> diff --git a/xml/Microsoft.Win32/UserPreferenceChangingEventArgs.xml b/xml/Microsoft.Win32/UserPreferenceChangingEventArgs.xml index 2d5a4cc9ad1..c73f7facce7 100644 --- a/xml/Microsoft.Win32/UserPreferenceChangingEventArgs.xml +++ b/xml/Microsoft.Win32/UserPreferenceChangingEventArgs.xml @@ -45,7 +45,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemEvents/cpp/SystemEvents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/SystemEvents/Overview/SystemEvents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemEvents/VB/SystemEvents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/SystemEvents/Overview/SystemEvents.vb" id="Snippet1"::: ]]> @@ -144,7 +144,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemEvents/cpp/SystemEvents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/SystemEvents/Overview/SystemEvents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemEvents/VB/SystemEvents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/SystemEvents/Overview/SystemEvents.vb" id="Snippet1"::: ]]> diff --git a/xml/Microsoft.Win32/UserPreferenceChangingEventHandler.xml b/xml/Microsoft.Win32/UserPreferenceChangingEventHandler.xml index 6801626e234..51350203c12 100644 --- a/xml/Microsoft.Win32/UserPreferenceChangingEventHandler.xml +++ b/xml/Microsoft.Win32/UserPreferenceChangingEventHandler.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemEvents/cpp/SystemEvents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/SystemEvents/Overview/SystemEvents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemEvents/VB/SystemEvents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/SystemEvents/Overview/SystemEvents.vb" id="Snippet1"::: ]]> diff --git a/xml/System.AddIn.Hosting/AddInController.xml b/xml/System.AddIn.Hosting/AddInController.xml index 3cfe7e33056..e1721807b0c 100644 --- a/xml/System.AddIn.Hosting/AddInController.xml +++ b/xml/System.AddIn.Hosting/AddInController.xml @@ -38,7 +38,7 @@ The following example activates an add-in within the same environment as a previously activated add-in by using an object. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet8"::: ]]> @@ -75,7 +75,7 @@ The following example activates a second add-in within the same environment as the first add-in. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet8"::: ]]> @@ -112,7 +112,7 @@ The following example activates a second add-in in the same application domain as the first add-in. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet9"::: ]]> @@ -194,7 +194,7 @@ The following example obtains the object for a host view named `manager` and then shuts down the add-in. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Shutdown/Program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHost/vb/Program.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Shutdown/Program.vb" id="Snippet6"::: ]]> diff --git a/xml/System.AddIn.Hosting/AddInProcess.xml b/xml/System.AddIn.Hosting/AddInProcess.xml index 03d9777e427..b5d4e69d366 100644 --- a/xml/System.AddIn.Hosting/AddInProcess.xml +++ b/xml/System.AddIn.Hosting/AddInProcess.xml @@ -30,7 +30,7 @@ The following example activates an add-in in an external process. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet10"::: ]]> @@ -162,7 +162,7 @@ The following example activates an add-in in an external process and uses the property to determine whether the add-in is in the same process as the host application process. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet10"::: ]]> diff --git a/xml/System.AddIn.Hosting/AddInSecurityLevel.xml b/xml/System.AddIn.Hosting/AddInSecurityLevel.xml index 21c211f2e04..b0542cd05e2 100644 --- a/xml/System.AddIn.Hosting/AddInSecurityLevel.xml +++ b/xml/System.AddIn.Hosting/AddInSecurityLevel.xml @@ -35,7 +35,7 @@ The following example activates an add-in with a specified trust level. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet5"::: ]]> diff --git a/xml/System.AddIn.Hosting/AddInSegmentType.xml b/xml/System.AddIn.Hosting/AddInSegmentType.xml index d158124de49..72df054fab1 100644 --- a/xml/System.AddIn.Hosting/AddInSegmentType.xml +++ b/xml/System.AddIn.Hosting/AddInSegmentType.xml @@ -27,7 +27,7 @@ The following example uses the enumeration to evaluate an add-in's qualification data. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet11"::: ]]> diff --git a/xml/System.AddIn.Hosting/AddInStore.xml b/xml/System.AddIn.Hosting/AddInStore.xml index 9ed400cb1e7..16f808a1413 100644 --- a/xml/System.AddIn.Hosting/AddInStore.xml +++ b/xml/System.AddIn.Hosting/AddInStore.xml @@ -40,7 +40,7 @@ The following example shows how to update cache files. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet2"::: ]]> @@ -92,7 +92,7 @@ The following example finds a specific add-in. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet6"::: ]]> @@ -166,7 +166,7 @@ The following example finds add-ins at the location specified by the enumeration. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet4"::: ]]> @@ -556,7 +556,7 @@ The following example shows how to update the cache files. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet3"::: ]]> diff --git a/xml/System.AddIn.Hosting/AddInToken.xml b/xml/System.AddIn.Hosting/AddInToken.xml index e1a3aadfa29..cc768658e06 100644 --- a/xml/System.AddIn.Hosting/AddInToken.xml +++ b/xml/System.AddIn.Hosting/AddInToken.xml @@ -53,14 +53,14 @@ The following example shows how to activate an add-in with a token. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet5"::: **Example 2** The following example shows the custom `ChooseAddIn` method, which enumerates an collection. The user selects a token from this collection to activate the corresponding add-in. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet13"::: ]]> @@ -115,7 +115,7 @@ The following example activates one add-in in an automatically generated application domain with a specified security level. It then activates a second add-in in the same application domain and process as the first by using the first add-in's object. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet8"::: ]]> @@ -163,7 +163,7 @@ The following example shows how to activate an add-in, identified by the chosen token, in an automatically generated application domain with a specified security level. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet5"::: ]]> @@ -209,7 +209,7 @@ The following example activates an add-in in an application domain that is being used by another add-in. The code for the first add-in is provided in the class. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet9"::: ]]> @@ -302,7 +302,7 @@ The following example creates a new process and activates an add-in in that process with a full trust security level. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet10"::: ]]> @@ -425,7 +425,7 @@ The following example displays the value of the , , , , , and properties to the console. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet7"::: ]]> @@ -462,7 +462,7 @@ The following example displays the value of the , , , , , and properties to the console. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet7"::: ]]> @@ -499,7 +499,7 @@ The following example displays the value of the , , , , , and properties to the console. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet7"::: ]]> @@ -622,7 +622,7 @@ The following example lists the qualification data for the pipeline segments associated with each in a collection of tokens. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet12"::: ]]> @@ -682,7 +682,7 @@ The following example displays the value of the , , , , , and properties to the console. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet7"::: ]]> @@ -719,7 +719,7 @@ The following example displays the value of the , , , , , and properties to the console. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet7"::: ]]> @@ -763,7 +763,7 @@ The following example shows how to examine an add-in's qualification data. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet11"::: ]]> @@ -869,7 +869,7 @@ The following example displays the value of the , , , , , and properties to the console. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet7"::: ]]> diff --git a/xml/System.AddIn.Hosting/PipelineStoreLocation.xml b/xml/System.AddIn.Hosting/PipelineStoreLocation.xml index d81696bcc14..b23a265eb86 100644 --- a/xml/System.AddIn.Hosting/PipelineStoreLocation.xml +++ b/xml/System.AddIn.Hosting/PipelineStoreLocation.xml @@ -37,7 +37,7 @@ The following example uses the ApplicationBase value to activate an add-in from the pipeline store files, which are located in the host application's directory. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet4"::: ]]> diff --git a/xml/System.AddIn.Hosting/QualificationDataItem.xml b/xml/System.AddIn.Hosting/QualificationDataItem.xml index 7dbceb4a742..44537f86226 100644 --- a/xml/System.AddIn.Hosting/QualificationDataItem.xml +++ b/xml/System.AddIn.Hosting/QualificationDataItem.xml @@ -36,7 +36,7 @@ The following example lists the qualification data for the pipeline segments associated with each in a collection of tokens. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet12"::: ]]> @@ -129,7 +129,7 @@ The following example lists the qualification data for the pipeline segments associated with each in a collection of tokens. The property is used to display the name of each item. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet12"::: ]]> @@ -233,7 +233,7 @@ The following example lists the qualification data for the pipeline segments associated with each in a collection of tokens. The property is used to display the kind of segment. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet12"::: ]]> @@ -276,7 +276,7 @@ The following example lists the qualification data for the pipeline segments associated with each in a collection of tokens. The property is used to display the value of the item. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Hosting/AddInController/Overview/p3host.vb" id="Snippet12"::: ]]> diff --git a/xml/System.AddIn.Pipeline/AddInAdapterAttribute.xml b/xml/System.AddIn.Pipeline/AddInAdapterAttribute.xml index 074c0072f49..f64ec3e3e07 100644 --- a/xml/System.AddIn.Pipeline/AddInAdapterAttribute.xml +++ b/xml/System.AddIn.Pipeline/AddInAdapterAttribute.xml @@ -36,7 +36,7 @@ The following example identifies an add-in-side adapter. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Pipeline/AddInAdapterAttribute/Overview/Calc1ViewToContractAddInSideAdapter.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/Calc1ViewToContractAddInSideAdapter.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Pipeline/AddInAdapterAttribute/Overview/Calc1ViewToContractAddInSideAdapter.vb" id="Snippet2"::: ]]> diff --git a/xml/System.AddIn.Pipeline/AddInBaseAttribute.xml b/xml/System.AddIn.Pipeline/AddInBaseAttribute.xml index 2a3eb8319fc..e5eafb69e8f 100644 --- a/xml/System.AddIn.Pipeline/AddInBaseAttribute.xml +++ b/xml/System.AddIn.Pipeline/AddInBaseAttribute.xml @@ -38,7 +38,7 @@ The following example identifies the add-in base class for an add-in view pipeline segment. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Pipeline/AddInBaseAttribute/Overview/Calc1AddInView.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/Calc1AddInView.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Pipeline/AddInBaseAttribute/Overview/Calc1AddInView.vb" id="Snippet2"::: ]]> diff --git a/xml/System.AddIn.Pipeline/AddInContractAttribute.xml b/xml/System.AddIn.Pipeline/AddInContractAttribute.xml index ed6478a3147..cdea6f932c6 100644 --- a/xml/System.AddIn.Pipeline/AddInContractAttribute.xml +++ b/xml/System.AddIn.Pipeline/AddInContractAttribute.xml @@ -36,7 +36,7 @@ The following example identifies a contract. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Pipeline/AddInContractAttribute/Overview/ICalc1Contract.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/ICalc1Contract.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Pipeline/AddInContractAttribute/Overview/ICalc1Contract.vb" id="Snippet2"::: ]]> diff --git a/xml/System.AddIn.Pipeline/CollectionAdapters.xml b/xml/System.AddIn.Pipeline/CollectionAdapters.xml index 466148d5f9f..4f7a4a6083d 100644 --- a/xml/System.AddIn.Pipeline/CollectionAdapters.xml +++ b/xml/System.AddIn.Pipeline/CollectionAdapters.xml @@ -70,7 +70,7 @@ The following example implements a host-side adapter pipeline segment as described [Walkthrough: Passing Collections Between Hosts and Add-Ins](/previous-versions/dotnet/netframework-4.0/bb384207(v=vs.100)). The example adapts the custom `ProcessBooks` method by taking the collection passed from the add-in and converting it to an collection, which the host application can then use. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Pipeline/CollectionAdapters/ToIListT/LibraryManagerViewToContractAddInAdapter.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/vb/LibraryManagerViewToContractAddInAdapter.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListT/LibraryManagerViewToContractAddInAdapter.vb" id="Snippet3"::: ]]> @@ -160,7 +160,7 @@ The following example implements the class that defines an add-in side adapter pipeline segment. It adapts the custom `ProcessBooks` method by taking the collection passed from the add-in view segment and converting it to an collection that can be marshaled across the isolation boundary to the host. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Pipeline/CollectionAdapters/ToIListContractT/LibraryManagerContractToViewHostAdapter.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/vb/LibraryManagerContractToViewHostAdapter.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Pipeline/CollectionAdapters/ToIListContractT/LibraryManagerContractToViewHostAdapter.vb" id="Snippet4"::: ]]> diff --git a/xml/System.AddIn.Pipeline/ContractHandle.xml b/xml/System.AddIn.Pipeline/ContractHandle.xml index 079829d71c6..5183a18363e 100644 --- a/xml/System.AddIn.Pipeline/ContractHandle.xml +++ b/xml/System.AddIn.Pipeline/ContractHandle.xml @@ -38,7 +38,7 @@ The following example shows how to set the lifetime token handle in a contract-to-view adapter on the add-in side of a pipeline. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Pipeline/ContractHandle/Overview/Calc2ContractToViewHostSideAdapter.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/Calc2ContractToViewHostSideAdapter.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Pipeline/ContractHandle/Overview/Calc2ContractToViewHostSideAdapter.vb" id="Snippet2"::: ]]> diff --git a/xml/System.AddIn.Pipeline/HostAdapterAttribute.xml b/xml/System.AddIn.Pipeline/HostAdapterAttribute.xml index f43ca69af2b..ba38ed9841a 100644 --- a/xml/System.AddIn.Pipeline/HostAdapterAttribute.xml +++ b/xml/System.AddIn.Pipeline/HostAdapterAttribute.xml @@ -36,7 +36,7 @@ The following example identifies a host-side adapter. :::code language="csharp" source="~/snippets/csharp/System.AddIn.Pipeline/HostAdapterAttribute/Overview/Calc1ContractToViewHostSideAdapter.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/Calc1ContractToViewHostSideAdapter.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn.Pipeline/HostAdapterAttribute/Overview/Calc1ContractToViewHostSideAdapter.vb" id="Snippet2"::: ]]> diff --git a/xml/System.AddIn.Pipeline/QualificationDataAttribute.xml b/xml/System.AddIn.Pipeline/QualificationDataAttribute.xml index 685546564ea..3711a0b9b24 100644 --- a/xml/System.AddIn.Pipeline/QualificationDataAttribute.xml +++ b/xml/System.AddIn.Pipeline/QualificationDataAttribute.xml @@ -40,7 +40,7 @@ The following example applies qualification data to an add-in. :::code language="csharp" source="~/snippets/csharp/System.AddIn/AddInAttribute/Overview/addincalcv2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/AddInCalcV2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn/AddInAttribute/Overview/AddInCalcV2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.AddIn/AddInAttribute.xml b/xml/System.AddIn/AddInAttribute.xml index c61e8a6d95f..594ebdf4c06 100644 --- a/xml/System.AddIn/AddInAttribute.xml +++ b/xml/System.AddIn/AddInAttribute.xml @@ -48,7 +48,7 @@ The following example identifies an add-in. :::code language="csharp" source="~/snippets/csharp/System.AddIn/AddInAttribute/Overview/addincalcv2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/AddInCalcV2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.AddIn/AddInAttribute/Overview/AddInCalcV2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom.Compiler/CodeDomProvider.xml b/xml/System.CodeDom.Compiler/CodeDomProvider.xml index 5058c8bf930..2327e3068c1 100644 --- a/xml/System.CodeDom.Compiler/CodeDomProvider.xml +++ b/xml/System.CodeDom.Compiler/CodeDomProvider.xml @@ -66,7 +66,7 @@ The following example program can generate and compile source code based on a CodeDOM model of a program that prints "Hello World" using the class. A Windows Forms user interface is provided. The user can select the target programming language from several selections: C#, Visual Basic, and JScript. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCompileUnit/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDomExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCompileUnit/Overview/source.vb" id="Snippet1"::: ]]> @@ -713,7 +713,7 @@ The following code example determines the implementation for an input language and displays the configured settings for the language provider. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDom_CompilerInfo/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.vb" id="Snippet6"::: ]]> @@ -782,7 +782,7 @@ The following example shows how to create an instance of a provider by using the `providerOptions` parameter. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/codedomprovider.provideroptions/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/program.vb" id="Snippet1"::: ]]> @@ -888,7 +888,7 @@ The following code example creates an instance of . The example displays the provider name, hash code and default file name extension for the new provider instance. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDom_CompilerInfo/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.vb" id="Snippet3"::: ]]> @@ -945,7 +945,7 @@ The following code example shows the use of the method to generate code for a "Hello World" application from a . This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCompileUnit/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDomExample/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCompileUnit/Overview/source.vb" id="Snippet3"::: ]]> @@ -1063,7 +1063,7 @@ The following code example shows the use of the method as implemented by the and classes. :::code language="csharp" source="~/snippets/csharp/Microsoft.CSharp/CSharpCodeProvider/GenerateCodeFromMember/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDom_GenerateCodeFromMember/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.CSharp/CSharpCodeProvider/GenerateCodeFromMember/module1.vb" id="Snippet1"::: ]]> @@ -1288,7 +1288,7 @@ The following code example enumerates the language providers on the computer and displays the configuration and compiler settings for each language provider. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDom_CompilerInfo/VB/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.vb" id="Snippet8"::: ]]> @@ -1355,7 +1355,7 @@ The following code example determines the implementation for an input language and displays the configured settings for the language provider. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDom_CompilerInfo/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.vb" id="Snippet6"::: ]]> @@ -1471,7 +1471,7 @@ The following code example determines the implementation for an input file name extension and displays the configured settings for the language provider. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDom_CompilerInfo/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.vb" id="Snippet5"::: ]]> @@ -1588,7 +1588,7 @@ The following code example determines the implementation for an input file name extension and displays the configured settings for the language provider. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDom_CompilerInfo/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.vb" id="Snippet5"::: ]]> @@ -1654,7 +1654,7 @@ The following code example determines the implementation for an input language and displays the configured settings for the language provider. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDom_CompilerInfo/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.vb" id="Snippet6"::: ]]> diff --git a/xml/System.CodeDom.Compiler/CodeGeneratorOptions.xml b/xml/System.CodeDom.Compiler/CodeGeneratorOptions.xml index 12a32053cfa..f1a2c5ad9b5 100644 --- a/xml/System.CodeDom.Compiler/CodeGeneratorOptions.xml +++ b/xml/System.CodeDom.Compiler/CodeGeneratorOptions.xml @@ -49,7 +49,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CodeGeneratorOptions/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeGeneratorOptionsExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CodeGeneratorOptions/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.CodeDom.Compiler/CompilerErrorCollection.xml b/xml/System.CodeDom.Compiler/CompilerErrorCollection.xml index ed2df886790..d4dc7019e80 100644 --- a/xml/System.CodeDom.Compiler/CompilerErrorCollection.xml +++ b/xml/System.CodeDom.Compiler/CompilerErrorCollection.xml @@ -54,7 +54,7 @@ The following example demonstrates how to use the class. The example creates a new instance of the class and uses several methods to add statements to the collection, return their index, and add or remove attributes at a specific index point. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerErrorCollection/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerErrorCollectionExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerErrorCollection/Overview/class1.vb" id="Snippet1"::: ]]> @@ -110,7 +110,7 @@ The following example demonstrates how to create an empty instance of the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerErrorCollection/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerErrorCollectionExample/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerErrorCollection/Overview/class1.vb" id="Snippet2"::: ]]> @@ -230,7 +230,7 @@ The following example demonstrates how to use the method to add a object to a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerErrorCollection/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerErrorCollectionExample/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerErrorCollection/Overview/class1.vb" id="Snippet3"::: ]]> @@ -287,7 +287,7 @@ The following example demonstrates how to use the method overload to add an array of objects to a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerErrorCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerErrorCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerErrorCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -337,7 +337,7 @@ The following example demonstrates how to use the method overload to add objects from one to another . :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerErrorCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerErrorCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerErrorCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -389,7 +389,7 @@ The following example uses the method to locate a specific object and determine the index value at which it was found. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerErrorCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerErrorCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerErrorCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -439,7 +439,7 @@ The following example demonstrates how to use the method to copy the contents of a to an array, starting at the specified index value. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerErrorCollection/Overview/class1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerErrorCollectionExample/VB/class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerErrorCollection/Overview/class1.vb" id="Snippet6"::: ]]> @@ -565,7 +565,7 @@ The following example searches for a specific object and uses the method to determine the index value at which it was found. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerErrorCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerErrorCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerErrorCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -615,7 +615,7 @@ The following example demonstrates how to use the method to insert a object into a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerErrorCollection/Overview/class1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerErrorCollectionExample/VB/class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerErrorCollection/Overview/class1.vb" id="Snippet8"::: ]]> @@ -702,7 +702,7 @@ The following example demonstrates how to remove a item from a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerErrorCollection/Overview/class1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerErrorCollectionExample/VB/class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerErrorCollection/Overview/class1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.CodeDom.Compiler/CompilerInfo.xml b/xml/System.CodeDom.Compiler/CompilerInfo.xml index e0c9ecb7e1e..a6b339ce9a1 100644 --- a/xml/System.CodeDom.Compiler/CompilerInfo.xml +++ b/xml/System.CodeDom.Compiler/CompilerInfo.xml @@ -54,7 +54,7 @@ The following code example displays language provider configuration settings. Command-line arguments are used to specify a language, file name extension, or provider type. For the given input, the example determines the corresponding language provider and displays the configured language compiler settings. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDom_CompilerInfo/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.vb" id="Snippet1"::: ]]> @@ -105,7 +105,7 @@ The following code example determines whether the input language has a configured implementation on the computer. If there is a provider configured for the specified language, the example displays the language provider configuration settings. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDom_CompilerInfo/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.vb" id="Snippet7"::: ]]> @@ -172,7 +172,7 @@ The following code example determines whether the input language has a configured implementation on the computer. If there is a provider configured for the specified language, the example displays the language provider configuration settings. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDom_CompilerInfo/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.vb" id="Snippet7"::: ]]> @@ -234,7 +234,7 @@ The following code example enumerates the language providers on the computer and displays the configuration and compiler settings for each language provider. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDom_CompilerInfo/VB/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.vb" id="Snippet8"::: ]]> @@ -393,7 +393,7 @@ The following code example enumerates the language providers on the computer and displays the configuration and compiler settings for each language provider. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDom_CompilerInfo/VB/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.vb" id="Snippet8"::: ]]> @@ -446,7 +446,7 @@ The following code example creates an instance of the class. The example displays the provider name, hash code, and default file name extension for the new provider instance. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDom_CompilerInfo/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.vb" id="Snippet3"::: ]]> @@ -504,7 +504,7 @@ The following code example enumerates the language providers on the computer and displays the configuration and compiler settings for each language provider. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDom_CompilerInfo/VB/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.vb" id="Snippet8"::: ]]> @@ -555,7 +555,7 @@ The following code example determines whether the input language has a configured implementation on the computer. If there is a provider configured for the specified language, the example displays the language provider configuration settings. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDom_CompilerInfo/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CodeDomProvider/CreateProvider/source.vb" id="Snippet7"::: ]]> diff --git a/xml/System.CodeDom.Compiler/CompilerParameters.xml b/xml/System.CodeDom.Compiler/CompilerParameters.xml index 94124788118..8bc30927d07 100644 --- a/xml/System.CodeDom.Compiler/CompilerParameters.xml +++ b/xml/System.CodeDom.Compiler/CompilerParameters.xml @@ -66,7 +66,7 @@ The following example builds a CodeDOM source graph for a simple Hello World program. The source is then saved to a file, compiled into an executable, and run. The `CompileCode` method illustrates how to use the class to specify various compiler settings and options. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerParameters/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerParametersExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerParameters/Overview/source.vb" id="Snippet1"::: ]]> @@ -121,7 +121,7 @@ The following example illustrates using to specify various compiler settings and options. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerParameters/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerParametersExample/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerParameters/Overview/source.vb" id="Snippet2"::: ]]> @@ -300,7 +300,7 @@ An typically includes this string o The following example illustrates using to specify various compiler settings and options. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerParameters/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerParametersExample/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerParameters/Overview/source.vb" id="Snippet2"::: ]]> @@ -407,7 +407,7 @@ An typically includes this string o The following example illustrates using to specify various compiler settings and options. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerParameters/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerParametersExample/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerParameters/Overview/source.vb" id="Snippet2"::: ]]> @@ -503,7 +503,7 @@ An typically includes this string o The following example illustrates using to specify various compiler settings and options. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerParameters/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerParametersExample/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerParameters/Overview/source.vb" id="Snippet2"::: ]]> @@ -558,7 +558,7 @@ An typically includes this string o The following example illustrates using to specify various compiler settings and options. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerParameters/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerParametersExample/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerParameters/Overview/source.vb" id="Snippet2"::: ]]> @@ -665,7 +665,7 @@ An typically includes this string o The following example illustrates using to specify various compiler settings and options. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerParameters/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerParametersExample/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerParameters/Overview/source.vb" id="Snippet2"::: ]]> @@ -727,7 +727,7 @@ An typically includes this string o The following example illustrates using to specify various compiler settings and options. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerParameters/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerParametersExample/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerParameters/Overview/source.vb" id="Snippet2"::: ]]> @@ -781,7 +781,7 @@ An typically includes this string o The following example illustrates using to specify various compiler settings and options. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerParameters/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerParametersExample/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerParameters/Overview/source.vb" id="Snippet2"::: ]]> @@ -836,7 +836,7 @@ An typically includes this string o The following example illustrates using to specify various compiler settings and options. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerParameters/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerParametersExample/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerParameters/Overview/source.vb" id="Snippet2"::: ]]> @@ -895,7 +895,7 @@ An typically includes this string o The following example illustrates using to specify various compiler settings and options. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerParameters/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerParametersExample/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerParameters/Overview/source.vb" id="Snippet2"::: ]]> @@ -950,7 +950,7 @@ An typically includes this string o The following example illustrates using to specify various compiler settings and options. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerParameters/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerParametersExample/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerParameters/Overview/source.vb" id="Snippet2"::: ]]> @@ -1038,7 +1038,7 @@ An typically includes this string o The following example illustrates using to specify various compiler settings and options. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerParameters/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerParametersExample/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerParameters/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom.Compiler/CompilerResults.xml b/xml/System.CodeDom.Compiler/CompilerResults.xml index 92651c70e40..e745c2d5639 100644 --- a/xml/System.CodeDom.Compiler/CompilerResults.xml +++ b/xml/System.CodeDom.Compiler/CompilerResults.xml @@ -66,7 +66,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerResults/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerResultsExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerResults/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.CodeDom.Compiler/GeneratedCodeAttribute.xml b/xml/System.CodeDom.Compiler/GeneratedCodeAttribute.xml index f343cff1dc2..f3d225fcaee 100644 --- a/xml/System.CodeDom.Compiler/GeneratedCodeAttribute.xml +++ b/xml/System.CodeDom.Compiler/GeneratedCodeAttribute.xml @@ -75,7 +75,7 @@ The following code example shows the use of the class to identify computer-generated code. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/GeneratedCodeAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.codedom.compiler.generatedcodeattribute/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/GeneratedCodeAttribute/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.CodeDom.Compiler/GeneratorSupport.xml b/xml/System.CodeDom.Compiler/GeneratorSupport.xml index ebbd87a490e..302fb2e846e 100644 --- a/xml/System.CodeDom.Compiler/GeneratorSupport.xml +++ b/xml/System.CodeDom.Compiler/GeneratorSupport.xml @@ -54,7 +54,7 @@ The following example illustrates using to specify various compiler settings and options. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/CompilerParameters/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompilerParametersExample/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/CompilerParameters/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom.Compiler/IndentedTextWriter.xml b/xml/System.CodeDom.Compiler/IndentedTextWriter.xml index ce0e9982cd9..f9ddffca07e 100644 --- a/xml/System.CodeDom.Compiler/IndentedTextWriter.xml +++ b/xml/System.CodeDom.Compiler/IndentedTextWriter.xml @@ -87,7 +87,7 @@ The following code example demonstrates using an to write text at different levels of indentation. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/IndentedTextWriter/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IndentedTextWriterExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/IndentedTextWriter/Overview/form1.vb" id="Snippet1"::: ]]> @@ -210,7 +210,7 @@ The following code example demonstrates creating an using a specified tab string. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/IndentedTextWriter/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IndentedTextWriterExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/IndentedTextWriter/Overview/form1.vb" id="Snippet3"::: ]]> @@ -582,7 +582,7 @@ The following code example demonstrates setting the indentation level of an . The indentation level is the number of tab strings to prefix each line with. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/IndentedTextWriter/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IndentedTextWriterExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/IndentedTextWriter/Overview/form1.vb" id="Snippet3"::: ]]> @@ -2957,7 +2957,7 @@ The following code example demonstrates writing a line without tab string indentations. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/IndentedTextWriter/Overview/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IndentedTextWriterExample/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/IndentedTextWriter/Overview/form1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.CodeDom.Compiler/TempFileCollection.xml b/xml/System.CodeDom.Compiler/TempFileCollection.xml index ace491e332a..5bb31222398 100644 --- a/xml/System.CodeDom.Compiler/TempFileCollection.xml +++ b/xml/System.CodeDom.Compiler/TempFileCollection.xml @@ -78,7 +78,7 @@ The following example shows the use of the class and the and methods. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/TempFileCollection/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.Compiler.TempFileCollection/VB/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/TempFileCollection/Overview/program.vb" id="Snippet1"::: ]]> @@ -372,7 +372,7 @@ The following example shows the use of the method to add a file that is to be kept to the collection. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/TempFileCollection/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.Compiler.TempFileCollection/VB/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/TempFileCollection/Overview/program.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeArgumentReferenceExpression.xml b/xml/System.CodeDom/CodeArgumentReferenceExpression.xml index 1933741505b..1bd90bb5280 100644 --- a/xml/System.CodeDom/CodeArgumentReferenceExpression.xml +++ b/xml/System.CodeDom/CodeArgumentReferenceExpression.xml @@ -61,7 +61,7 @@ The following example code defines a method that invokes `Console.WriteLine` to output the string parameter passed to the method. A references the argument passed to the method by method parameter name. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeArgumentReferenceExpression/Overview/codeargumentreferenceexpressionexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeArgumentReferenceExpressionExample/VB/codeargumentreferenceexpressionexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeArgumentReferenceExpression/Overview/codeargumentreferenceexpressionexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeArrayCreateExpression.xml b/xml/System.CodeDom/CodeArrayCreateExpression.xml index 87bee63cc67..0544f71bc67 100644 --- a/xml/System.CodeDom/CodeArrayCreateExpression.xml +++ b/xml/System.CodeDom/CodeArrayCreateExpression.xml @@ -63,7 +63,7 @@ The following code uses a to create an array of integers with 10 indexes. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeArrayCreateExpression/Overview/codearraycreateexpressionsnippet.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeArrayCreateExpressionSnippet/VB/codearraycreateexpressionsnippet.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeArrayCreateExpression/Overview/codearraycreateexpressionsnippet.vb" id="Snippet1"::: ]]> diff --git a/xml/System.CodeDom/CodeArrayIndexerExpression.xml b/xml/System.CodeDom/CodeArrayIndexerExpression.xml index 36b4a5279e0..05c61d8acfe 100644 --- a/xml/System.CodeDom/CodeArrayIndexerExpression.xml +++ b/xml/System.CodeDom/CodeArrayIndexerExpression.xml @@ -59,7 +59,7 @@ The following code creates a that references index 5 of an array of integers named `x` : :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeArrayIndexerExpression/Overview/codearrayindexerexpressionsnippet.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeArrayIndexerExpressionSnippet/VB/codearrayindexerexpressionsnippet.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeArrayIndexerExpression/Overview/codearrayindexerexpressionsnippet.vb" id="Snippet1"::: ]]> diff --git a/xml/System.CodeDom/CodeAssignStatement.xml b/xml/System.CodeDom/CodeAssignStatement.xml index e9e3ee373fa..7b895d1b179 100644 --- a/xml/System.CodeDom/CodeAssignStatement.xml +++ b/xml/System.CodeDom/CodeAssignStatement.xml @@ -59,7 +59,7 @@ The following code creates a that assigns the value 10 to an integer variable named `i`: :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeAssignStatement/Overview/codeassignstatementsnippet.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeAssignStatement/VB/codeassignstatementsnippet.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeAssignStatement/Overview/codeassignstatementsnippet.vb" id="Snippet1"::: ]]> diff --git a/xml/System.CodeDom/CodeAttachEventStatement.xml b/xml/System.CodeDom/CodeAttachEventStatement.xml index c09a3ae74a2..733a3d261aa 100644 --- a/xml/System.CodeDom/CodeAttachEventStatement.xml +++ b/xml/System.CodeDom/CodeAttachEventStatement.xml @@ -59,7 +59,7 @@ The following example code demonstrates use of a to attach an event handler with an event. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeAttachEventStatement/Overview/codeattacheventstatementexample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeAttachEventStatementExample/VB/codeattacheventstatementexample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeAttachEventStatement/Overview/codeattacheventstatementexample.vb" id="Snippet3"::: ]]> diff --git a/xml/System.CodeDom/CodeAttributeArgument.xml b/xml/System.CodeDom/CodeAttributeArgument.xml index 8a4694dbe6f..47f210043d4 100644 --- a/xml/System.CodeDom/CodeAttributeArgument.xml +++ b/xml/System.CodeDom/CodeAttributeArgument.xml @@ -65,7 +65,7 @@ The following code creates a class, and adds code attributes to declare that the class is serializable and obsolete. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeAttributeArgument/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.codedom.codeattributeargument/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeAttributeArgument/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.CodeDom/CodeAttributeArgumentCollection.xml b/xml/System.CodeDom/CodeAttributeArgumentCollection.xml index d5ab6c38964..5c1da88355e 100644 --- a/xml/System.CodeDom/CodeAttributeArgumentCollection.xml +++ b/xml/System.CodeDom/CodeAttributeArgumentCollection.xml @@ -59,7 +59,7 @@ The following example demonstrates the use of the class methods. The example creates a new instance of the class and uses the methods to add statements to the collection, return their index, and add or remove attributes at a specific index point. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeAttributeArgumentCollection/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeAttributeArgumentCollectionExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeAttributeArgumentCollection/Overview/class1.vb" id="Snippet1"::: ]]> @@ -224,7 +224,7 @@ The following example demonstrates how to add a object to a instance. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeAttributeArgumentCollection/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeAttributeArgumentCollectionExample/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeAttributeArgumentCollection/Overview/class1.vb" id="Snippet3"::: ]]> @@ -281,7 +281,7 @@ The following example demonstrates how to use the method overload to add the members of a array to a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeAttributeArgumentCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeAttributeArgumentCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeAttributeArgumentCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -331,7 +331,7 @@ The following example demonstrates how to use the method overload to add the members of one object to another . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeAttributeArgumentCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeAttributeArgumentCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeAttributeArgumentCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -383,7 +383,7 @@ The following example uses the method to search for the presence of a specific object in a and gets the index value at which it was found. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeAttributeArgumentCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeAttributeArgumentCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeAttributeArgumentCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -432,7 +432,7 @@ The following example demonstrates how to copy the contents of a object to a array beginning at a specified index value. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeAttributeArgumentCollection/Overview/class1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeAttributeArgumentCollectionExample/VB/class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeAttributeArgumentCollection/Overview/class1.vb" id="Snippet6"::: ]]> @@ -487,7 +487,7 @@ The following example searches for the presence of a specific object and uses the method to get the index value at which it was found. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeAttributeArgumentCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeAttributeArgumentCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeAttributeArgumentCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -537,7 +537,7 @@ The following example demonstrates how to use the method to add a object to a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeAttributeArgumentCollection/Overview/class1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeAttributeArgumentCollectionExample/VB/class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeAttributeArgumentCollection/Overview/class1.vb" id="Snippet8"::: ]]> @@ -630,7 +630,7 @@ The following example demonstrates how to use the method to delete a object from a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeAttributeArgumentCollection/Overview/class1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeAttributeArgumentCollectionExample/VB/class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeAttributeArgumentCollection/Overview/class1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.CodeDom/CodeAttributeDeclaration.xml b/xml/System.CodeDom/CodeAttributeDeclaration.xml index 0f09980cc22..bb47a3d5ef3 100644 --- a/xml/System.CodeDom/CodeAttributeDeclaration.xml +++ b/xml/System.CodeDom/CodeAttributeDeclaration.xml @@ -59,7 +59,7 @@ The following code example creates a that declares a with an argument of `false`: :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeAttributeDeclaration/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.codedom.codeattributedeclaration/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeAttributeDeclaration/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.CodeDom/CodeAttributeDeclarationCollection.xml b/xml/System.CodeDom/CodeAttributeDeclarationCollection.xml index f2338f081b1..07973b47a64 100644 --- a/xml/System.CodeDom/CodeAttributeDeclarationCollection.xml +++ b/xml/System.CodeDom/CodeAttributeDeclarationCollection.xml @@ -59,7 +59,7 @@ The following example demonstrates the use of the class methods. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeAttributeDeclarationCollection/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeAttributeDeclarationCollectionExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeAttributeDeclarationCollection/Overview/class1.vb" id="Snippet1"::: ]]> @@ -224,7 +224,7 @@ The following example demonstrates how to add a object to a instance. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeAttributeDeclarationCollection/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeAttributeDeclarationCollectionExample/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeAttributeDeclarationCollection/Overview/class1.vb" id="Snippet3"::: ]]> @@ -281,7 +281,7 @@ The following example demonstrates how to use method overload to add an array of objects to a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeAttributeDeclarationCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeAttributeDeclarationCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeAttributeDeclarationCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -331,7 +331,7 @@ The following example demonstrates how to use the method overload to add the members of one to another. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeAttributeDeclarationCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeAttributeDeclarationCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeAttributeDeclarationCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -383,7 +383,7 @@ The following example uses the method to search for the presence of a specific instance and gets the index value at which it was found. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeAttributeDeclarationCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeAttributeDeclarationCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeAttributeDeclarationCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -433,7 +433,7 @@ The following example demonstrates how to copy the contents of a to an array beginning at index 0. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeAttributeDeclarationCollection/Overview/class1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeAttributeDeclarationCollectionExample/VB/class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeAttributeDeclarationCollection/Overview/class1.vb" id="Snippet6"::: ]]> @@ -489,7 +489,7 @@ The following example searches for the presence of a specific instance and uses the method to get the index value at which it was found. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeAttributeDeclarationCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeAttributeDeclarationCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeAttributeDeclarationCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -539,7 +539,7 @@ The following example demonstrates how to use the method to add a object to the . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeAttributeDeclarationCollection/Overview/class1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeAttributeDeclarationCollectionExample/VB/class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeAttributeDeclarationCollection/Overview/class1.vb" id="Snippet8"::: ]]> @@ -634,7 +634,7 @@ The following example demonstrates how to use the method to delete a object from the . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeAttributeDeclarationCollection/Overview/class1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeAttributeDeclarationCollectionExample/VB/class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeAttributeDeclarationCollection/Overview/class1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.CodeDom/CodeBaseReferenceExpression.xml b/xml/System.CodeDom/CodeBaseReferenceExpression.xml index a695440dbe0..ebfb796bc17 100644 --- a/xml/System.CodeDom/CodeBaseReferenceExpression.xml +++ b/xml/System.CodeDom/CodeBaseReferenceExpression.xml @@ -59,7 +59,7 @@ This example demonstrates using a to reference a base class method. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeBaseReferenceExpression/Overview/codebasereferenceexpressionexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeBaseReferenceExpressionExample/VB/codebasereferenceexpressionexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeBaseReferenceExpression/Overview/codebasereferenceexpressionexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeBinaryOperatorExpression.xml b/xml/System.CodeDom/CodeBinaryOperatorExpression.xml index 08ca56d66d2..79ef4cb0bea 100644 --- a/xml/System.CodeDom/CodeBinaryOperatorExpression.xml +++ b/xml/System.CodeDom/CodeBinaryOperatorExpression.xml @@ -59,7 +59,7 @@ This example demonstrates use of a to add two numbers together. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeBinaryOperatorExpression/Overview/codebinaryoperatorexpressionexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeBinaryOperatorExpression/VB/codebinaryoperatorexpressionexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeBinaryOperatorExpression/Overview/codebinaryoperatorexpressionexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeCastExpression.xml b/xml/System.CodeDom/CodeCastExpression.xml index 3b3d1c52015..10db23234bf 100644 --- a/xml/System.CodeDom/CodeCastExpression.xml +++ b/xml/System.CodeDom/CodeCastExpression.xml @@ -61,7 +61,7 @@ This example demonstrates using a to cast a `System.Int32` value to a `System.Int64` data type. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCastExpression/Overview/codecastexpressionexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeCastExpressionExample/VB/codecastexpressionexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCastExpression/Overview/codecastexpressionexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeCatchClause.xml b/xml/System.CodeDom/CodeCatchClause.xml index 62c56bb4027..5bd502e7bef 100644 --- a/xml/System.CodeDom/CodeCatchClause.xml +++ b/xml/System.CodeDom/CodeCatchClause.xml @@ -61,7 +61,7 @@ The following example code demonstrates using objects to define exception handling clauses of a try...catch block. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCatchClause/Overview/codetrycatchfinallyexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTryCatchFinallyExample/VB/codetrycatchfinallyexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCatchClause/Overview/codetrycatchfinallyexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeCatchClauseCollection.xml b/xml/System.CodeDom/CodeCatchClauseCollection.xml index e2b21018071..8ea900736c3 100644 --- a/xml/System.CodeDom/CodeCatchClauseCollection.xml +++ b/xml/System.CodeDom/CodeCatchClauseCollection.xml @@ -59,7 +59,7 @@ The following example demonstrates the use of the class methods. The example creates a new instance of the class and uses the methods to add statements to the collection, return their index, and add or remove attributes at a specific index point. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCatchClauseCollection/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeCatchClauseCollectionExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCatchClauseCollection/Overview/class1.vb" id="Snippet1"::: ]]> @@ -224,7 +224,7 @@ The following example demonstrates how to add a object to the instance. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCatchClauseCollection/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeCatchClauseCollectionExample/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCatchClauseCollection/Overview/class1.vb" id="Snippet3"::: ]]> @@ -281,7 +281,7 @@ The following example demonstrates how to use the method overload to add the members of an array of objects to the . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCatchClauseCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeCatchClauseCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCatchClauseCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -331,7 +331,7 @@ The following example demonstrates how to use the method overload to add the members of one object to another . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCatchClauseCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeCatchClauseCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCatchClauseCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -383,7 +383,7 @@ The following example uses the method to search for the presence of a specific instance and gets the index value at which it was found. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCatchClauseCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeCatchClauseCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCatchClauseCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -433,7 +433,7 @@ The following example demonstrates how to copy the contents of a to a array beginning at index value 0. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCatchClauseCollection/Overview/class1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeCatchClauseCollectionExample/VB/class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCatchClauseCollection/Overview/class1.vb" id="Snippet6"::: ]]> @@ -489,7 +489,7 @@ The following example searches for the presence of a specific object and uses the method to get the index value at which it was found. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCatchClauseCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeCatchClauseCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCatchClauseCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -539,7 +539,7 @@ The following example demonstrates how to use the method to add a object to a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCatchClauseCollection/Overview/class1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeCatchClauseCollectionExample/VB/class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCatchClauseCollection/Overview/class1.vb" id="Snippet8"::: ]]> @@ -634,7 +634,7 @@ The following example demonstrates how to use the method to delete a object from a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCatchClauseCollection/Overview/class1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeCatchClauseCollectionExample/VB/class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCatchClauseCollection/Overview/class1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.CodeDom/CodeChecksumPragma.xml b/xml/System.CodeDom/CodeChecksumPragma.xml index bb7495bc70a..69fa3a686eb 100644 --- a/xml/System.CodeDom/CodeChecksumPragma.xml +++ b/xml/System.CodeDom/CodeChecksumPragma.xml @@ -58,7 +58,7 @@ The following code example shows the use of the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet1"::: ]]> @@ -112,7 +112,7 @@ The following code example shows the use of the constructor. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet4"::: ]]> @@ -170,7 +170,7 @@ The following code example shows the use of the constructor. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet8"::: ]]> @@ -231,7 +231,7 @@ Algorithms are provided for the MD5 and SHA-1 hashes. The GUID value to use for The following code example shows the setting of the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet6"::: ]]> @@ -289,7 +289,7 @@ Algorithms are provided for the MD5 and SHA-1 hashes. The GUID value to use for The following code example shows the setting of the property. This code example is part of a larger example provided for the class :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet7"::: ]]> @@ -343,7 +343,7 @@ Algorithms are provided for the MD5 and SHA-1 hashes. The GUID value to use for The following code example shows the setting of the property. This code example is part of a larger example provided for the class :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet5"::: ]]> diff --git a/xml/System.CodeDom/CodeComment.xml b/xml/System.CodeDom/CodeComment.xml index 6775978166d..9239fa31423 100644 --- a/xml/System.CodeDom/CodeComment.xml +++ b/xml/System.CodeDom/CodeComment.xml @@ -63,7 +63,7 @@ This example demonstrates using a to represent a comment in source code. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeComment/Overview/codecommentexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeCommentExample/VB/codecommentexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeComment/Overview/codecommentexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeCommentStatement.xml b/xml/System.CodeDom/CodeCommentStatement.xml index 8979a02378f..9a31649a729 100644 --- a/xml/System.CodeDom/CodeCommentStatement.xml +++ b/xml/System.CodeDom/CodeCommentStatement.xml @@ -59,7 +59,7 @@ This example demonstrates using a to represent a comment in source code. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeComment/Overview/codecommentexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeCommentExample/VB/codecommentexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeComment/Overview/codecommentexample.vb" id="Snippet2"::: ]]> @@ -231,12 +231,12 @@ The following code example demonstrates the use of the constructor to create a comment statement to be used as an XML comment field. This example is part of a larger example that follows. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCommentStatement/.ctor/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDomHelloWorldSample/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCommentStatement/.ctor/program.vb" id="Snippet3"::: The following code example demonstrates the creation of a simple "Hello World" console application and the generation of an XML documentation file for the compiled application. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCommentStatement/.ctor/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDomHelloWorldSample/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCommentStatement/.ctor/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.CodeDom/CodeCommentStatementCollection.xml b/xml/System.CodeDom/CodeCommentStatementCollection.xml index 27d9f5fc321..d290657fb91 100644 --- a/xml/System.CodeDom/CodeCommentStatementCollection.xml +++ b/xml/System.CodeDom/CodeCommentStatementCollection.xml @@ -59,7 +59,7 @@ The following example demonstrates the use of the class methods. The example creates a new instance of the class and uses the methods to add statements to the collection, return their index, and add or remove attributes at a specific index point. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCommentStatementCollection/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeCommentStatementCollectionExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCommentStatementCollection/Overview/class1.vb" id="Snippet1"::: ]]> @@ -224,7 +224,7 @@ The following example demonstrates how to add a object to a instance. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCommentStatementCollection/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeCommentStatementCollectionExample/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCommentStatementCollection/Overview/class1.vb" id="Snippet3"::: ]]> @@ -281,7 +281,7 @@ The following example demonstrates how to use the method overload to add the members of a array to the . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCommentStatementCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeCommentStatementCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCommentStatementCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -331,7 +331,7 @@ The following example demonstrates how to use the method overload to add the members of one to another. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCommentStatementCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeCommentStatementCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCommentStatementCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -383,7 +383,7 @@ The following example uses the method to search for the presence of a specific object and gets the index value at which it was found. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCommentStatementCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeCommentStatementCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCommentStatementCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -433,7 +433,7 @@ The following example demonstrates how to copy the contents of a to an array beginning at the index value 0. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCommentStatementCollection/Overview/class1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeCommentStatementCollectionExample/VB/class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCommentStatementCollection/Overview/class1.vb" id="Snippet6"::: ]]> @@ -489,7 +489,7 @@ The following example searches for the presence of a specific object and uses the method to get the index value at which it was found. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCommentStatementCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeCommentStatementCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCommentStatementCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -539,7 +539,7 @@ The following example demonstrates how to use the method to add a object to the . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCommentStatementCollection/Overview/class1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeCommentStatementCollectionExample/VB/class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCommentStatementCollection/Overview/class1.vb" id="Snippet8"::: ]]> @@ -633,7 +633,7 @@ The following example demonstrates how to use the method to delete a object from the . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCommentStatementCollection/Overview/class1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeCommentStatementCollectionExample/VB/class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCommentStatementCollection/Overview/class1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.CodeDom/CodeCompileUnit.xml b/xml/System.CodeDom/CodeCompileUnit.xml index 4d2b5bfc313..18f8c5e2e28 100644 --- a/xml/System.CodeDom/CodeCompileUnit.xml +++ b/xml/System.CodeDom/CodeCompileUnit.xml @@ -66,7 +66,7 @@ The following code example constructs a that models the program structure of a simple "Hello World" program. This code example is part of a larger example that also produces code from this model, and is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCompileUnit/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDomExample/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCompileUnit/Overview/source.vb" id="Snippet2"::: ]]> @@ -180,7 +180,7 @@ The following code example shows the use of the property. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet3"::: ]]> @@ -238,7 +238,7 @@ The following code example constructs a that models the program structure of a simple "Hello World" program. This example is part of a larger example that also produces code from this model, and is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCompileUnit/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDomExample/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCompileUnit/Overview/source.vb" id="Snippet2"::: ]]> @@ -323,7 +323,7 @@ The following code example shows the use of the property. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeConditionStatement.xml b/xml/System.CodeDom/CodeConditionStatement.xml index c77c92a4d3a..0651a18223c 100644 --- a/xml/System.CodeDom/CodeConditionStatement.xml +++ b/xml/System.CodeDom/CodeConditionStatement.xml @@ -61,7 +61,7 @@ This example demonstrates using a to represent an `if` statement with an `else` block. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeConditionStatement/Overview/codeconditionstatementexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeConditionStatementExample/VB/codeconditionstatementexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeConditionStatement/Overview/codeconditionstatementexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeConstructor.xml b/xml/System.CodeDom/CodeConstructor.xml index 23fb99e1a94..08cc067b2af 100644 --- a/xml/System.CodeDom/CodeConstructor.xml +++ b/xml/System.CodeDom/CodeConstructor.xml @@ -61,7 +61,7 @@ This example demonstrates using a to declare several types of constructors. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeConstructor/Overview/codeconstructorexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeConstructorExample/VB/codeconstructorexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeConstructor/Overview/codeconstructorexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeDefaultValueExpression.xml b/xml/System.CodeDom/CodeDefaultValueExpression.xml index e18397ffea4..98e93085f61 100644 --- a/xml/System.CodeDom/CodeDefaultValueExpression.xml +++ b/xml/System.CodeDom/CodeDefaultValueExpression.xml @@ -101,7 +101,7 @@ dict.Print(); The following code example shows the use of the to create default values for decimal and integer parameters. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDOM.Generics.1/VB/codedomgenerics.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.vb" id="Snippet7"::: ]]> diff --git a/xml/System.CodeDom/CodeDelegateCreateExpression.xml b/xml/System.CodeDom/CodeDelegateCreateExpression.xml index 182b0bcb402..04974c540c8 100644 --- a/xml/System.CodeDom/CodeDelegateCreateExpression.xml +++ b/xml/System.CodeDom/CodeDelegateCreateExpression.xml @@ -63,7 +63,7 @@ The following example code uses a to create a delegate. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeAttachEventStatement/Overview/codeattacheventstatementexample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeAttachEventStatementExample/VB/codeattacheventstatementexample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeAttachEventStatement/Overview/codeattacheventstatementexample.vb" id="Snippet3"::: ]]> diff --git a/xml/System.CodeDom/CodeDelegateInvokeExpression.xml b/xml/System.CodeDom/CodeDelegateInvokeExpression.xml index 5d2a225a156..d8895b5fbdc 100644 --- a/xml/System.CodeDom/CodeDelegateInvokeExpression.xml +++ b/xml/System.CodeDom/CodeDelegateInvokeExpression.xml @@ -61,7 +61,7 @@ The following example demonstrates use of a to invoke an event named `TestEvent`. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDelegateInvokeExpression/Overview/codedelegateinvokeexpressionexample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDelegateInvokeExpressionExample/VB/codedelegateinvokeexpressionexample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDelegateInvokeExpression/Overview/codedelegateinvokeexpressionexample.vb" id="Snippet3"::: ]]> diff --git a/xml/System.CodeDom/CodeDirectionExpression.xml b/xml/System.CodeDom/CodeDirectionExpression.xml index 4bf0f2f1bc2..3838f2ec7c0 100644 --- a/xml/System.CodeDom/CodeDirectionExpression.xml +++ b/xml/System.CodeDom/CodeDirectionExpression.xml @@ -64,7 +64,7 @@ The following example demonstrates use of a to specify a field direction modifier for an expression to pass as a method parameter. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDirectionExpression/Overview/codemultiexample.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeMultiExample/VB/codemultiexample.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDirectionExpression/Overview/codemultiexample.vb" id="Snippet4"::: ]]> diff --git a/xml/System.CodeDom/CodeDirectiveCollection.xml b/xml/System.CodeDom/CodeDirectiveCollection.xml index b7461725a74..81b9388b0f9 100644 --- a/xml/System.CodeDom/CodeDirectiveCollection.xml +++ b/xml/System.CodeDom/CodeDirectiveCollection.xml @@ -58,7 +58,7 @@ The following code example shows the use of the members of the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDirectiveCollection/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDirectiveCollectionExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDirectiveCollection/Overview/class1.vb" id="Snippet1"::: ]]> @@ -113,7 +113,7 @@ The following code example shows the use of the constructor to create a new instance of the class. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDirectiveCollection/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDirectiveCollectionExample/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDirectiveCollection/Overview/class1.vb" id="Snippet2"::: ]]> @@ -230,7 +230,7 @@ The following code example shows the use of the method to add a object to the collection. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDirectiveCollection/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDirectiveCollectionExample/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDirectiveCollection/Overview/class1.vb" id="Snippet3"::: ]]> @@ -286,7 +286,7 @@ The following code example shows the use of the method to add an array of objects to the collection. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDirectiveCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDirectiveCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDirectiveCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -335,7 +335,7 @@ The following code example shows the use of the method to add the contents of a object to the collection. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDirectiveCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDirectiveCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDirectiveCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -385,7 +385,7 @@ The following code example shows the use of the method to determine whether the collection contains a specific object. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDirectiveCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDirectiveCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDirectiveCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -433,7 +433,7 @@ The following code example shows the use of the method to copy the contents of the collection beginning at index 0 to the specified array. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDirectiveCollection/Overview/class1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDirectiveCollectionExample/VB/class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDirectiveCollection/Overview/class1.vb" id="Snippet6"::: ]]> @@ -489,7 +489,7 @@ The following code example shows the use of the method to get the index in the collection of the specified object. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDirectiveCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDirectiveCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDirectiveCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -537,7 +537,7 @@ The following code example shows the use of the method to insert a object at index 0 of the collection. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDirectiveCollection/Overview/class1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDirectiveCollectionExample/VB/class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDirectiveCollection/Overview/class1.vb" id="Snippet8"::: ]]> @@ -635,7 +635,7 @@ The following code example shows the use of the method to remove the specified object from the collection. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDirectiveCollection/Overview/class1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDirectiveCollectionExample/VB/class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDirectiveCollection/Overview/class1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.CodeDom/CodeEntryPointMethod.xml b/xml/System.CodeDom/CodeEntryPointMethod.xml index ddc72a6f5ed..32869babb17 100644 --- a/xml/System.CodeDom/CodeEntryPointMethod.xml +++ b/xml/System.CodeDom/CodeEntryPointMethod.xml @@ -59,7 +59,7 @@ This example demonstrates using a to indicate the method to start program execution at. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeEntryPointMethod/Overview/codeentrypointmethodexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeEntryPointMethod/VB/codeentrypointmethodexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeEntryPointMethod/Overview/codeentrypointmethodexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeEventReferenceExpression.xml b/xml/System.CodeDom/CodeEventReferenceExpression.xml index d5707d7c1a0..50dc4cf646c 100644 --- a/xml/System.CodeDom/CodeEventReferenceExpression.xml +++ b/xml/System.CodeDom/CodeEventReferenceExpression.xml @@ -61,7 +61,7 @@ The following example demonstrates use of to reference an event named TestEvent. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDirectionExpression/Overview/codemultiexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeMultiExample/VB/codemultiexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDirectionExpression/Overview/codemultiexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeExpressionCollection.xml b/xml/System.CodeDom/CodeExpressionCollection.xml index dbf965554b8..01cedcfc54f 100644 --- a/xml/System.CodeDom/CodeExpressionCollection.xml +++ b/xml/System.CodeDom/CodeExpressionCollection.xml @@ -61,7 +61,7 @@ The following example demonstrates the use of the class methods. The example creates a new instance of the class and uses the methods to add statements to the collection, return their index, and add or remove attributes at a specific index point. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeExpressionCollection/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeExpressionCollectionExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeExpressionCollection/Overview/class1.vb" id="Snippet1"::: ]]> @@ -226,7 +226,7 @@ The following example demonstrates how to add a object to a instance. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeExpressionCollection/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeExpressionCollectionExample/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeExpressionCollection/Overview/class1.vb" id="Snippet3"::: ]]> @@ -283,7 +283,7 @@ The following example demonstrates how to use the method overload to add the members of a array to a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeExpressionCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeExpressionCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeExpressionCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -333,7 +333,7 @@ The following example demonstrates how to use the method overload to add the members of one object to another . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeExpressionCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeExpressionCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeExpressionCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -385,7 +385,7 @@ The following example uses the method to search for the presence of a specific object and gets the index value at which it was found. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeExpressionCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeExpressionCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeExpressionCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -435,7 +435,7 @@ The following example demonstrates how to copy the contents of a to a array beginning at the index value 0. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeExpressionCollection/Overview/class1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeExpressionCollectionExample/VB/class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeExpressionCollection/Overview/class1.vb" id="Snippet6"::: ]]> @@ -491,7 +491,7 @@ The following example searches for the presence of a specific object and uses the method to get the index value at which it was found. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeExpressionCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeExpressionCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeExpressionCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -541,7 +541,7 @@ The following example demonstrates how to use the method to add a object to a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeExpressionCollection/Overview/class1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeExpressionCollectionExample/VB/class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeExpressionCollection/Overview/class1.vb" id="Snippet8"::: ]]> @@ -635,7 +635,7 @@ The following example demonstrates how to use the method to delete a object from a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeExpressionCollection/Overview/class1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeExpressionCollectionExample/VB/class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeExpressionCollection/Overview/class1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.CodeDom/CodeExpressionStatement.xml b/xml/System.CodeDom/CodeExpressionStatement.xml index 5be1fbc2c38..8d90e132bec 100644 --- a/xml/System.CodeDom/CodeExpressionStatement.xml +++ b/xml/System.CodeDom/CodeExpressionStatement.xml @@ -59,7 +59,7 @@ The following example demonstrates how to create an instance of the class by using a object. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeExpressionStatement/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDomSampleBatch/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeExpressionStatement/Overview/class1.vb" id="Snippet1"::: ]]> @@ -154,7 +154,7 @@ The following example creates a object and uses it as a parameter to initialize an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeExpressionStatement/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDomSampleBatch/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeExpressionStatement/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.CodeDom/CodeFieldReferenceExpression.xml b/xml/System.CodeDom/CodeFieldReferenceExpression.xml index becd587bee1..cbe36fd07bb 100644 --- a/xml/System.CodeDom/CodeFieldReferenceExpression.xml +++ b/xml/System.CodeDom/CodeFieldReferenceExpression.xml @@ -61,7 +61,7 @@ The following example demonstrates use of a to reference a field. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeFieldReferenceExpression/Overview/codereferenceexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeReferenceExample/VB/codereferenceexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeFieldReferenceExpression/Overview/codereferenceexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeGotoStatement.xml b/xml/System.CodeDom/CodeGotoStatement.xml index b65f0329cf1..025b671f6c8 100644 --- a/xml/System.CodeDom/CodeGotoStatement.xml +++ b/xml/System.CodeDom/CodeGotoStatement.xml @@ -64,7 +64,7 @@ The following example code demonstrates use of a and a to redirect program flow. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeGotoStatement/Overview/codegotostatementexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeGotoStatementExample/VB/codegotostatementexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeGotoStatement/Overview/codegotostatementexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeIndexerExpression.xml b/xml/System.CodeDom/CodeIndexerExpression.xml index cb03e27fe0d..c6e5e4a9f38 100644 --- a/xml/System.CodeDom/CodeIndexerExpression.xml +++ b/xml/System.CodeDom/CodeIndexerExpression.xml @@ -59,7 +59,7 @@ The following example demonstrates use of a to reference a type indexer for the current object. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDirectionExpression/Overview/codemultiexample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeMultiExample/VB/codemultiexample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDirectionExpression/Overview/codemultiexample.vb" id="Snippet3"::: ]]> diff --git a/xml/System.CodeDom/CodeIterationStatement.xml b/xml/System.CodeDom/CodeIterationStatement.xml index 6b1b2786207..b6722772f33 100644 --- a/xml/System.CodeDom/CodeIterationStatement.xml +++ b/xml/System.CodeDom/CodeIterationStatement.xml @@ -61,7 +61,7 @@ This example demonstrates using a to represent a `for` loop. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeIterationStatement/Overview/codeiterationstatementexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeIterationStatementExample/VB/codeiterationstatementexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeIterationStatement/Overview/codeiterationstatementexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeLabeledStatement.xml b/xml/System.CodeDom/CodeLabeledStatement.xml index ea932e5c0d4..30c2673f693 100644 --- a/xml/System.CodeDom/CodeLabeledStatement.xml +++ b/xml/System.CodeDom/CodeLabeledStatement.xml @@ -64,7 +64,7 @@ The following example code demonstrates use of a and a to redirect program flow. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeGotoStatement/Overview/codegotostatementexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeGotoStatementExample/VB/codegotostatementexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeGotoStatement/Overview/codegotostatementexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeLinePragma.xml b/xml/System.CodeDom/CodeLinePragma.xml index 176097e2a1e..57d4600d198 100644 --- a/xml/System.CodeDom/CodeLinePragma.xml +++ b/xml/System.CodeDom/CodeLinePragma.xml @@ -59,7 +59,7 @@ The following code example demonstrates the use of the class to reference a specific line of a source file. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeExpressionStatement/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDomSampleBatch/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeExpressionStatement/Overview/class1.vb" id="Snippet2"::: ]]> @@ -156,7 +156,7 @@ The following code example demonstrates the use of the class to reference a specific line of a source file. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeExpressionStatement/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDomSampleBatch/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeExpressionStatement/Overview/class1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeMemberEvent.xml b/xml/System.CodeDom/CodeMemberEvent.xml index 75bb64e060a..f8276682801 100644 --- a/xml/System.CodeDom/CodeMemberEvent.xml +++ b/xml/System.CodeDom/CodeMemberEvent.xml @@ -59,7 +59,7 @@ This example demonstrates use of a to declare an event that takes a `System.EventHandler` delegate: :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeMemberEvent/Overview/codemembereventexample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeMemberEventSample/VB/codemembereventexample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeMemberEvent/Overview/codemembereventexample.vb" id="Snippet3"::: ]]> diff --git a/xml/System.CodeDom/CodeMemberField.xml b/xml/System.CodeDom/CodeMemberField.xml index 637e6026546..dc2020678ef 100644 --- a/xml/System.CodeDom/CodeMemberField.xml +++ b/xml/System.CodeDom/CodeMemberField.xml @@ -59,10 +59,10 @@ The following example demonstrates use of a to declare a field of type `string` named `testStringField`. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeMemberField/Overview/codememberfieldexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeMemberFieldExample/VB/codememberfieldexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeMemberField/Overview/codememberfieldexample.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeMemberField/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeMemberFieldPublicConstExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeMemberField/Overview/class1.vb" id="Snippet1"::: ]]> @@ -281,7 +281,7 @@ The following example demonstrates the use of the property. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeMemberField/InitExpression/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeMemberFieldInit/VB/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeMemberField/InitExpression/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.CodeDom/CodeMemberMethod.xml b/xml/System.CodeDom/CodeMemberMethod.xml index 2e2c55e6abe..3cb4dd79591 100644 --- a/xml/System.CodeDom/CodeMemberMethod.xml +++ b/xml/System.CodeDom/CodeMemberMethod.xml @@ -61,7 +61,7 @@ The following example demonstrates use of a to declare a method that accepts a parameter and returns a value. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeMemberMethod/Overview/codemembermethodexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeMemberMethodExample/VB/codemembermethodexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeMemberMethod/Overview/codemembermethodexample.vb" id="Snippet2"::: ]]> @@ -106,7 +106,7 @@ The following code example shows the use of the constructor to create a instance. This example is part of a larger example provided for the method. :::code language="csharp" source="~/snippets/csharp/Microsoft.CSharp/CSharpCodeProvider/GenerateCodeFromMember/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDom_GenerateCodeFromMember/vb/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.CSharp/CSharpCodeProvider/GenerateCodeFromMember/module1.vb" id="Snippet3"::: ]]> @@ -504,7 +504,7 @@ The following code example shows the use of the property to add two type parameters to the `printMethod`. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDOM.Generics.1/VB/codedomgenerics.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.vb" id="Snippet6"::: ]]> diff --git a/xml/System.CodeDom/CodeMemberProperty.xml b/xml/System.CodeDom/CodeMemberProperty.xml index 83f30deff16..25b45fcbab0 100644 --- a/xml/System.CodeDom/CodeMemberProperty.xml +++ b/xml/System.CodeDom/CodeMemberProperty.xml @@ -61,7 +61,7 @@ The following example code demonstrates use of a to define a `string` property with `get` and `set` accessors. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeMemberProperty/Overview/codememberpropertyexample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeMemberPropertyExample/VB/codememberpropertyexample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeMemberProperty/Overview/codememberpropertyexample.vb" id="Snippet3"::: ]]> diff --git a/xml/System.CodeDom/CodeMethodInvokeExpression.xml b/xml/System.CodeDom/CodeMethodInvokeExpression.xml index be54d09ddfc..5a5239f9b6b 100644 --- a/xml/System.CodeDom/CodeMethodInvokeExpression.xml +++ b/xml/System.CodeDom/CodeMethodInvokeExpression.xml @@ -61,7 +61,7 @@ This example demonstrates using a to invoke a method. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeMethodInvokeExpression/Overview/codemethodinvokeexpressionexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeMethodInvokeExpression/VB/codemethodinvokeexpressionexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeMethodInvokeExpression/Overview/codemethodinvokeexpressionexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeMethodReferenceExpression.xml b/xml/System.CodeDom/CodeMethodReferenceExpression.xml index 58c1c6367e8..5593763ce6c 100644 --- a/xml/System.CodeDom/CodeMethodReferenceExpression.xml +++ b/xml/System.CodeDom/CodeMethodReferenceExpression.xml @@ -63,7 +63,7 @@ The following code example uses a to refer to a method: :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeMethodReferenceExpression/Overview/codemethodreferenceexample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeMethodReferenceExample/VB/codemethodreferenceexample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeMethodReferenceExpression/Overview/codemethodreferenceexample.vb" id="Snippet3"::: ]]> @@ -204,7 +204,7 @@ The following code example shows the use of this constructor. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeMethodReferenceExpression/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.codedom.codemethodreferenceexpression/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeMethodReferenceExpression/.ctor/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.CodeDom/CodeMethodReturnStatement.xml b/xml/System.CodeDom/CodeMethodReturnStatement.xml index 2d0c3277fb1..1cd5eb64426 100644 --- a/xml/System.CodeDom/CodeMethodReturnStatement.xml +++ b/xml/System.CodeDom/CodeMethodReturnStatement.xml @@ -59,7 +59,7 @@ The following example demonstrates use of a to return a value from a method. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeMemberMethod/Overview/codemembermethodexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeMemberMethodExample/VB/codemembermethodexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeMemberMethod/Overview/codemembermethodexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeNamespace.xml b/xml/System.CodeDom/CodeNamespace.xml index 5c814703289..9c41c165648 100644 --- a/xml/System.CodeDom/CodeNamespace.xml +++ b/xml/System.CodeDom/CodeNamespace.xml @@ -66,7 +66,7 @@ The following example code demonstrates use of a to declare a namespace. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeNamespace/Overview/codenamespaceexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeNamespaceExample/VB/codenamespaceexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeNamespace/Overview/codenamespaceexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeNamespaceCollection.xml b/xml/System.CodeDom/CodeNamespaceCollection.xml index 207d1c2033e..10afc9d4b0d 100644 --- a/xml/System.CodeDom/CodeNamespaceCollection.xml +++ b/xml/System.CodeDom/CodeNamespaceCollection.xml @@ -59,7 +59,7 @@ The following example demonstrates how to use the class. The example creates a new instance of the class and uses several methods to add statements to the collection, return their index, and add or remove attributes at a specific index point. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeNamespaceCollection/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeNamespaceCollectionExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeNamespaceCollection/Overview/class1.vb" id="Snippet1"::: ]]> @@ -115,7 +115,7 @@ The following example demonstrates how to create an empty instance of the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeNamespaceCollection/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeNamespaceCollectionExample/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeNamespaceCollection/Overview/class1.vb" id="Snippet2"::: ]]> @@ -234,7 +234,7 @@ The following example demonstrates how to use the method to add a object to a instance. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeNamespaceCollection/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeNamespaceCollectionExample/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeNamespaceCollection/Overview/class1.vb" id="Snippet3"::: ]]> @@ -291,7 +291,7 @@ The following example demonstrates how to use the method overload to add members of a array to the . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeNamespaceCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeNamespaceCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeNamespaceCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -341,7 +341,7 @@ The following example demonstrates how to use the method overload to add objects from one to another . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeNamespaceCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeNamespaceCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeNamespaceCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -393,7 +393,7 @@ The following example uses the method to find a object in a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeNamespaceCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeNamespaceCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeNamespaceCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -443,7 +443,7 @@ The following example demonstrates how to use the method to copy the contents of a object to an array, starting at the specified index value. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeNamespaceCollection/Overview/class1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeNamespaceCollectionExample/VB/class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeNamespaceCollection/Overview/class1.vb" id="Snippet6"::: ]]> @@ -499,7 +499,7 @@ The following example searches for the presence of a specific and uses the method to retrieve the index value at which it was found. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeNamespaceCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeNamespaceCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeNamespaceCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -549,7 +549,7 @@ The following example demonstrates how to use the method to insert a object into a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeNamespaceCollection/Overview/class1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeNamespaceCollectionExample/VB/class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeNamespaceCollection/Overview/class1.vb" id="Snippet8"::: ]]> @@ -644,7 +644,7 @@ The following example demonstrates how to use the method to delete a object from a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeNamespaceCollection/Overview/class1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeNamespaceCollectionExample/VB/class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeNamespaceCollection/Overview/class1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.CodeDom/CodeNamespaceImport.xml b/xml/System.CodeDom/CodeNamespaceImport.xml index 06fec7f8316..e3f159f329c 100644 --- a/xml/System.CodeDom/CodeNamespaceImport.xml +++ b/xml/System.CodeDom/CodeNamespaceImport.xml @@ -64,7 +64,7 @@ The following example code demonstrates use of a to import the namespace: :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeNamespaceImport/Overview/codenamespaceimportexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeNamespaceImportExample/VB/codenamespaceimportexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeNamespaceImport/Overview/codenamespaceimportexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeNamespaceImportCollection.xml b/xml/System.CodeDom/CodeNamespaceImportCollection.xml index e69ae3532f4..04ca46e36b8 100644 --- a/xml/System.CodeDom/CodeNamespaceImportCollection.xml +++ b/xml/System.CodeDom/CodeNamespaceImportCollection.xml @@ -70,7 +70,7 @@ The following example demonstrates some of the members of the class. The example initializes a new instance of the class, adds objects to it, and gets the total number of objects in the collection. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeExpressionStatement/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDomSampleBatch/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeExpressionStatement/Overview/class1.vb" id="Snippet3"::: ]]> @@ -148,7 +148,7 @@ The following example demonstrates how to add a object to a instance. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeExpressionStatement/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDomSampleBatch/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeExpressionStatement/Overview/class1.vb" id="Snippet5"::: ]]> @@ -196,7 +196,7 @@ The following example demonstrates how to use the method to add the members of a array to a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeExpressionStatement/Overview/class1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDomSampleBatch/VB/class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeExpressionStatement/Overview/class1.vb" id="Snippet6"::: ]]> @@ -280,7 +280,7 @@ The following code gets the count of items in a object. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeExpressionStatement/Overview/class1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDomSampleBatch/VB/class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeExpressionStatement/Overview/class1.vb" id="Snippet7"::: ]]> diff --git a/xml/System.CodeDom/CodeObjectCreateExpression.xml b/xml/System.CodeDom/CodeObjectCreateExpression.xml index 1339f441e7d..f847bfadb12 100644 --- a/xml/System.CodeDom/CodeObjectCreateExpression.xml +++ b/xml/System.CodeDom/CodeObjectCreateExpression.xml @@ -61,7 +61,7 @@ The following example demonstrates use of to create a new instance of the System.DateTime class using the parameterless constructor. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDirectionExpression/Overview/codemultiexample.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeMultiExample/VB/codemultiexample.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDirectionExpression/Overview/codemultiexample.vb" id="Snippet5"::: ]]> diff --git a/xml/System.CodeDom/CodeParameterDeclarationExpression.xml b/xml/System.CodeDom/CodeParameterDeclarationExpression.xml index 42c2cefdaa1..57a8fa87299 100644 --- a/xml/System.CodeDom/CodeParameterDeclarationExpression.xml +++ b/xml/System.CodeDom/CodeParameterDeclarationExpression.xml @@ -61,7 +61,7 @@ The following example demonstrates use of to declare parameters of a method using different field reference type specifiers. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeParameterDeclarationExpression/Overview/codeparameterdeclarationexample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeParameterDeclarationExample/VB/codeparameterdeclarationexample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeParameterDeclarationExpression/Overview/codeparameterdeclarationexample.vb" id="Snippet3"::: ]]> diff --git a/xml/System.CodeDom/CodeParameterDeclarationExpressionCollection.xml b/xml/System.CodeDom/CodeParameterDeclarationExpressionCollection.xml index ccfcbcd10d2..735c09200ad 100644 --- a/xml/System.CodeDom/CodeParameterDeclarationExpressionCollection.xml +++ b/xml/System.CodeDom/CodeParameterDeclarationExpressionCollection.xml @@ -59,7 +59,7 @@ The following example demonstrates how to use the class methods. The example creates a new instance of the class and uses the methods to add statements to the collection, return their index, and add or remove attributes at a specific index point. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeParameterDeclarationExpressionCollection/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeParameterDeclarationExpressionCollectionExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeParameterDeclarationExpressionCollection/Overview/class1.vb" id="Snippet1"::: ]]> @@ -224,7 +224,7 @@ The following example demonstrates how to add a object to a instance. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeParameterDeclarationExpressionCollection/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeParameterDeclarationExpressionCollectionExample/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeParameterDeclarationExpressionCollection/Overview/class1.vb" id="Snippet3"::: ]]> @@ -281,7 +281,7 @@ The following example demonstrates how to use the method overload to add the members of a array to a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeParameterDeclarationExpressionCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeParameterDeclarationExpressionCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeParameterDeclarationExpressionCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -331,7 +331,7 @@ The following example demonstrates how to use the method overload to add the members of one object to another . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeParameterDeclarationExpressionCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeParameterDeclarationExpressionCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeParameterDeclarationExpressionCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -383,7 +383,7 @@ The following example uses the method to search for the presence of a specific object and get the index value at which it was found. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeParameterDeclarationExpressionCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeParameterDeclarationExpressionCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeParameterDeclarationExpressionCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -433,7 +433,7 @@ The following example demonstrates how to copy the contents of a to an beginning at the specified index value. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeParameterDeclarationExpressionCollection/Overview/class1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeParameterDeclarationExpressionCollectionExample/VB/class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeParameterDeclarationExpressionCollection/Overview/class1.vb" id="Snippet6"::: ]]> @@ -489,7 +489,7 @@ The following example searches for the presence of a specific instance and uses the method to get the index value at which it was found. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeParameterDeclarationExpressionCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeParameterDeclarationExpressionCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeParameterDeclarationExpressionCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -539,7 +539,7 @@ The following example demonstrates how to use the method to add a object to a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeParameterDeclarationExpressionCollection/Overview/class1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeParameterDeclarationExpressionCollectionExample/VB/class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeParameterDeclarationExpressionCollection/Overview/class1.vb" id="Snippet8"::: ]]> @@ -633,7 +633,7 @@ The following example demonstrates how to use the method to delete a object from a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeParameterDeclarationExpressionCollection/Overview/class1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeParameterDeclarationExpressionCollectionExample/VB/class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeParameterDeclarationExpressionCollection/Overview/class1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.CodeDom/CodePrimitiveExpression.xml b/xml/System.CodeDom/CodePrimitiveExpression.xml index ca35d28663d..a6184149091 100644 --- a/xml/System.CodeDom/CodePrimitiveExpression.xml +++ b/xml/System.CodeDom/CodePrimitiveExpression.xml @@ -63,7 +63,7 @@ The following example demonstrates use of to represent values of several primitive types. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodePrimitiveExpression/Overview/codeprimitiveexpressionexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodePrimitiveExpressionExample/VB/codeprimitiveexpressionexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodePrimitiveExpression/Overview/codeprimitiveexpressionexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodePropertyReferenceExpression.xml b/xml/System.CodeDom/CodePropertyReferenceExpression.xml index 866fcc5ce36..d7971c7856d 100644 --- a/xml/System.CodeDom/CodePropertyReferenceExpression.xml +++ b/xml/System.CodeDom/CodePropertyReferenceExpression.xml @@ -63,7 +63,7 @@ The following example code demonstrates use of a to refer to a property. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeFieldReferenceExpression/Overview/codereferenceexample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeReferenceExample/VB/codereferenceexample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeFieldReferenceExpression/Overview/codereferenceexample.vb" id="Snippet3"::: ]]> diff --git a/xml/System.CodeDom/CodePropertySetValueReferenceExpression.xml b/xml/System.CodeDom/CodePropertySetValueReferenceExpression.xml index 1b5e4be84a6..ded66d58276 100644 --- a/xml/System.CodeDom/CodePropertySetValueReferenceExpression.xml +++ b/xml/System.CodeDom/CodePropertySetValueReferenceExpression.xml @@ -61,7 +61,7 @@ This example demonstrates use of a to represent the value argument passed to a property set value statement block. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodePropertySetValueReferenceExpression/Overview/codepropertysetvalueexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodePropertySetValueExample/VB/codepropertysetvalueexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodePropertySetValueReferenceExpression/Overview/codepropertysetvalueexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeRegionDirective.xml b/xml/System.CodeDom/CodeRegionDirective.xml index 05ccbacad78..4e9a04bfb3b 100644 --- a/xml/System.CodeDom/CodeRegionDirective.xml +++ b/xml/System.CodeDom/CodeRegionDirective.xml @@ -61,7 +61,7 @@ The following code example shows the use of the in the creation of a graph that is used to produce code that is also compiled. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet1"::: ]]> @@ -157,7 +157,7 @@ The following code example shows the use of the constructor. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet9"::: ]]> @@ -210,7 +210,7 @@ The following code example shows the use of the property. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet11"::: ]]> @@ -259,7 +259,7 @@ The following code example shows the use of the property. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet12"::: ]]> diff --git a/xml/System.CodeDom/CodeRegionMode.xml b/xml/System.CodeDom/CodeRegionMode.xml index 7db351c3660..9dbf9bcc302 100644 --- a/xml/System.CodeDom/CodeRegionMode.xml +++ b/xml/System.CodeDom/CodeRegionMode.xml @@ -48,7 +48,7 @@ The following code example shows the use of the enumeration to specify the start of a region. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeRemoveEventStatement.xml b/xml/System.CodeDom/CodeRemoveEventStatement.xml index 29259cff38b..f81da8e6959 100644 --- a/xml/System.CodeDom/CodeRemoveEventStatement.xml +++ b/xml/System.CodeDom/CodeRemoveEventStatement.xml @@ -61,7 +61,7 @@ The following example demonstrates use of a to remove a delegate from an event. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeRemoveEventStatement/Overview/coderemoveeventexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeRemoveEventExample/VB/coderemoveeventexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeRemoveEventStatement/Overview/coderemoveeventexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeSnippetCompileUnit.xml b/xml/System.CodeDom/CodeSnippetCompileUnit.xml index 51b339f6032..8f08fe6379f 100644 --- a/xml/System.CodeDom/CodeSnippetCompileUnit.xml +++ b/xml/System.CodeDom/CodeSnippetCompileUnit.xml @@ -63,7 +63,7 @@ The following code example demonstrates how to create a new instance of the class by using a string that represents literal code. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeExpressionStatement/Overview/class1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDomSampleBatch/VB/class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeExpressionStatement/Overview/class1.vb" id="Snippet8"::: ]]> @@ -158,7 +158,7 @@ The following code example demonstrates how to create a new instance of the class by using a string that represents literal code. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeExpressionStatement/Overview/class1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDomSampleBatch/VB/class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeExpressionStatement/Overview/class1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.CodeDom/CodeSnippetExpression.xml b/xml/System.CodeDom/CodeSnippetExpression.xml index 66ced65721a..1ff1c682283 100644 --- a/xml/System.CodeDom/CodeSnippetExpression.xml +++ b/xml/System.CodeDom/CodeSnippetExpression.xml @@ -61,7 +61,7 @@ The following code example demonstrates how to create an instance of the class using a literal code fragment. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeExpressionStatement/Overview/class1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDomSampleBatch/VB/class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeExpressionStatement/Overview/class1.vb" id="Snippet9"::: ]]> @@ -150,7 +150,7 @@ The following code example demonstrates in the use of the constructor to create an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeExpressionStatement/Overview/class1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDomSampleBatch/VB/class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeExpressionStatement/Overview/class1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.CodeDom/CodeSnippetStatement.xml b/xml/System.CodeDom/CodeSnippetStatement.xml index b410a2c7755..8b091087681 100644 --- a/xml/System.CodeDom/CodeSnippetStatement.xml +++ b/xml/System.CodeDom/CodeSnippetStatement.xml @@ -63,7 +63,7 @@ The following example creates an instance of the class using a literal code fragment. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet16"::: ]]> @@ -152,7 +152,7 @@ The following example creates an instance of the class using a literal code fragment. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet16"::: ]]> diff --git a/xml/System.CodeDom/CodeSnippetTypeMember.xml b/xml/System.CodeDom/CodeSnippetTypeMember.xml index 6bb4b0b1ae1..581b920e8dd 100644 --- a/xml/System.CodeDom/CodeSnippetTypeMember.xml +++ b/xml/System.CodeDom/CodeSnippetTypeMember.xml @@ -63,7 +63,7 @@ The following example demonstrates the use of the class to store literal code in a string format. This code example is part of a larger example provided for the method. :::code language="csharp" source="~/snippets/csharp/Microsoft.CSharp/CSharpCodeProvider/GenerateCodeFromMember/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDom_GenerateCodeFromMember/vb/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.CSharp/CSharpCodeProvider/GenerateCodeFromMember/module1.vb" id="Snippet3"::: ]]> @@ -152,7 +152,7 @@ The following example demonstrates the use of the constructor to create an instance of the class. This code example is part of a larger example provided for the method. :::code language="csharp" source="~/snippets/csharp/Microsoft.CSharp/CSharpCodeProvider/GenerateCodeFromMember/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDom_GenerateCodeFromMember/vb/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.CSharp/CSharpCodeProvider/GenerateCodeFromMember/module1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.CodeDom/CodeStatementCollection.xml b/xml/System.CodeDom/CodeStatementCollection.xml index 4ea13916d0f..2f301a1a057 100644 --- a/xml/System.CodeDom/CodeStatementCollection.xml +++ b/xml/System.CodeDom/CodeStatementCollection.xml @@ -59,7 +59,7 @@ The following example demonstrates how to use the class. The example creates a new instance of the class and uses several methods to add statements to the collection, return their index, and add or remove statements at a specific index point. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeStatementCollection/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeStatementCollectionExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeStatementCollection/Overview/class1.vb" id="Snippet1"::: ]]> @@ -115,7 +115,7 @@ The following example shows how to create an empty instance of the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeStatementCollection/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeStatementCollectionExample/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeStatementCollection/Overview/class1.vb" id="Snippet2"::: ]]> @@ -283,7 +283,7 @@ The following example demonstrates how to add a object to a instance. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeStatementCollection/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeStatementCollectionExample/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeStatementCollection/Overview/class1.vb" id="Snippet3"::: ]]> @@ -340,7 +340,7 @@ The following example demonstrates how to use the method overload to add the members of an array to a instance. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeStatementCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeStatementCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeStatementCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -390,7 +390,7 @@ The following example demonstrates how to use the method overload to add the members of one to another. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeStatementCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeStatementCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeStatementCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -442,7 +442,7 @@ The following example uses the method to search for the presence of a specific and retrieve the index value at which it was found. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeStatementCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeStatementCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeStatementCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -492,7 +492,7 @@ The following example demonstrates how to copy the contents of a object to an array, starting at the specified index value. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeStatementCollection/Overview/class1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeStatementCollectionExample/VB/class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeStatementCollection/Overview/class1.vb" id="Snippet6"::: ]]> @@ -548,7 +548,7 @@ The following example searches for the presence of a specific and uses the method to retrieve the index value at which it was found. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeStatementCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeStatementCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeStatementCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -598,7 +598,7 @@ The following example demonstrates how to use the method to add a object to a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeStatementCollection/Overview/class1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeStatementCollectionExample/VB/class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeStatementCollection/Overview/class1.vb" id="Snippet8"::: ]]> @@ -692,7 +692,7 @@ The following example demonstrates how to use the method to delete a object from a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeStatementCollection/Overview/class1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeStatementCollectionExample/VB/class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeStatementCollection/Overview/class1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.CodeDom/CodeThisReferenceExpression.xml b/xml/System.CodeDom/CodeThisReferenceExpression.xml index d9b59688082..e1e02fa29e6 100644 --- a/xml/System.CodeDom/CodeThisReferenceExpression.xml +++ b/xml/System.CodeDom/CodeThisReferenceExpression.xml @@ -59,7 +59,7 @@ The following example code demonstrates use of a to refer to the current object. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeMethodReferenceExpression/Overview/codemethodreferenceexample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeMethodReferenceExample/VB/codemethodreferenceexample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeMethodReferenceExpression/Overview/codemethodreferenceexample.vb" id="Snippet3"::: ]]> diff --git a/xml/System.CodeDom/CodeThrowExceptionStatement.xml b/xml/System.CodeDom/CodeThrowExceptionStatement.xml index cd79e0dfdeb..33d19f2b5aa 100644 --- a/xml/System.CodeDom/CodeThrowExceptionStatement.xml +++ b/xml/System.CodeDom/CodeThrowExceptionStatement.xml @@ -61,7 +61,7 @@ This example demonstrates using a to throw a new `System.Exception`. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeThrowExceptionStatement/Overview/codethrowexceptionstatementexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeThrowExceptionStatement/VB/codethrowexceptionstatementexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeThrowExceptionStatement/Overview/codethrowexceptionstatementexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeTryCatchFinallyStatement.xml b/xml/System.CodeDom/CodeTryCatchFinallyStatement.xml index 4fac30f5d39..df8b643c8ce 100644 --- a/xml/System.CodeDom/CodeTryCatchFinallyStatement.xml +++ b/xml/System.CodeDom/CodeTryCatchFinallyStatement.xml @@ -64,7 +64,7 @@ The following example code demonstrates use of a to define a `try...catch...finally` statement for exception handling. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeCatchClause/Overview/codetrycatchfinallyexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTryCatchFinallyExample/VB/codetrycatchfinallyexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeCatchClause/Overview/codetrycatchfinallyexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeTypeConstructor.xml b/xml/System.CodeDom/CodeTypeConstructor.xml index b4e44a80d36..4d6c23e4d5d 100644 --- a/xml/System.CodeDom/CodeTypeConstructor.xml +++ b/xml/System.CodeDom/CodeTypeConstructor.xml @@ -62,7 +62,7 @@ The following example demonstrates use of a to declare a static constructor for a type. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeConstructor/Overview/codetypeconstructorexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeConstructorExample/VB/codetypeconstructorexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeConstructor/Overview/codetypeconstructorexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeTypeDeclaration.xml b/xml/System.CodeDom/CodeTypeDeclaration.xml index d8295ba7741..a10ab6c5a67 100644 --- a/xml/System.CodeDom/CodeTypeDeclaration.xml +++ b/xml/System.CodeDom/CodeTypeDeclaration.xml @@ -66,7 +66,7 @@ This example demonstrates using a to declare a type. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeDeclaration/Overview/codetypedeclarationexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeDeclarationExample/VB/codetypedeclarationexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeDeclaration/Overview/codetypedeclarationexample.vb" id="Snippet2"::: ]]> @@ -398,12 +398,12 @@ Implements Interface1 This example demonstrates using a to supply a class implementation across multiple declarations. The example builds the initial class declaration statement and sets the property to `true`. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeDeclaration/IsPartial/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDomPartialTypeExample/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeDeclaration/IsPartial/source.vb" id="Snippet3"::: A different method in the example extends the class implementation. This method builds a new type declaration statement for the existing class and sets the property to `true`. The compiler combines the two partial type declarations together for the complete class implementation. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeDeclaration/IsPartial/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeDomPartialTypeExample/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeDeclaration/IsPartial/source.vb" id="Snippet7"::: ]]> diff --git a/xml/System.CodeDom/CodeTypeDeclarationCollection.xml b/xml/System.CodeDom/CodeTypeDeclarationCollection.xml index a9161649134..0da5c5a14bd 100644 --- a/xml/System.CodeDom/CodeTypeDeclarationCollection.xml +++ b/xml/System.CodeDom/CodeTypeDeclarationCollection.xml @@ -59,7 +59,7 @@ The following example demonstrates how to use the class. The example creates a new instance of the class and uses several methods to add statements to the collection, return their index, and add or remove attributes at a specific index point. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeDeclarationCollection/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeDeclarationCollectionExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeDeclarationCollection/Overview/class1.vb" id="Snippet1"::: ]]> @@ -115,7 +115,7 @@ The following example shows how to create an empty instance of the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeDeclarationCollection/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeDeclarationCollectionExample/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeDeclarationCollection/Overview/class1.vb" id="Snippet2"::: ]]> @@ -231,7 +231,7 @@ The following example demonstrates how to use the method to add a object to a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeDeclarationCollection/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeDeclarationCollectionExample/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeDeclarationCollection/Overview/class1.vb" id="Snippet3"::: ]]> @@ -288,7 +288,7 @@ The following example demonstrates how to use the method overload to add an array of objects to a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeDeclarationCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeDeclarationCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeDeclarationCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -338,7 +338,7 @@ The following example demonstrates how to use the method overload to add objects from one to another . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeDeclarationCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeDeclarationCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeDeclarationCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -390,7 +390,7 @@ The following example demonstrates how to use the method to find a object in a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeDeclarationCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeDeclarationCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeDeclarationCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -440,7 +440,7 @@ The following example demonstrates how to use the method to copy the contents of a object to an array, starting at the specified index value. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeDeclarationCollection/Overview/class1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeDeclarationCollectionExample/VB/class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeDeclarationCollection/Overview/class1.vb" id="Snippet6"::: ]]> @@ -496,7 +496,7 @@ The following example retrieves entries from a object and displays their names and indexes returned by the method. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeDeclarationCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeDeclarationCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeDeclarationCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -546,7 +546,7 @@ The following example demonstrates how to use the method to insert a object into a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeDeclarationCollection/Overview/class1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeDeclarationCollectionExample/VB/class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeDeclarationCollection/Overview/class1.vb" id="Snippet8"::: ]]> @@ -640,7 +640,7 @@ The following example demonstrates how to use the method to delete a object from a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeDeclarationCollection/Overview/class1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeDeclarationCollectionExample/VB/class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeDeclarationCollection/Overview/class1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.CodeDom/CodeTypeDelegate.xml b/xml/System.CodeDom/CodeTypeDelegate.xml index 1e9fee72fe2..aaa25132d2f 100644 --- a/xml/System.CodeDom/CodeTypeDelegate.xml +++ b/xml/System.CodeDom/CodeTypeDelegate.xml @@ -66,7 +66,7 @@ The following example code demonstrates use of a to declare a new delegate type. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeDelegate/Overview/codetypedelegateexample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeDelegateExample/VB/codetypedelegateexample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeDelegate/Overview/codetypedelegateexample.vb" id="Snippet3"::: ]]> diff --git a/xml/System.CodeDom/CodeTypeMemberCollection.xml b/xml/System.CodeDom/CodeTypeMemberCollection.xml index e901c9aae6f..755fd055997 100644 --- a/xml/System.CodeDom/CodeTypeMemberCollection.xml +++ b/xml/System.CodeDom/CodeTypeMemberCollection.xml @@ -59,7 +59,7 @@ The following code example demonstrates the use of the class. The example creates a new instance of the class and uses several methods to add statements to the collection, return their index, and add or remove attributes at a specific index point. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeMemberCollection/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeMemberCollectionExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeMemberCollection/Overview/class1.vb" id="Snippet1"::: ]]> @@ -115,7 +115,7 @@ The following code example demonstrates how to create an empty instance of the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeMemberCollection/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeMemberCollectionExample/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeMemberCollection/Overview/class1.vb" id="Snippet2"::: ]]> @@ -231,7 +231,7 @@ The following code example demonstrates how to add a object to a instance. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeMemberCollection/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeMemberCollectionExample/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeMemberCollection/Overview/class1.vb" id="Snippet3"::: ]]> @@ -288,7 +288,7 @@ The following example demonstrates how to use the two method overloads to add the members of an array to a object, and to add the members of one to another. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeMemberCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeMemberCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeMemberCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -338,7 +338,7 @@ The following code example demonstrates how to use the two method overloads to add the members of an array to a object, and to add the members of one to another. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeMemberCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeMemberCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeMemberCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -390,7 +390,7 @@ The following code example uses the method to search for the presence of a specific object and retrieve the index value at which it was found. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeMemberCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeMemberCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeMemberCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -440,7 +440,7 @@ The following code example demonstrates how to copy the contents of a to an array, beginning at the specified index value. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeMemberCollection/Overview/class1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeMemberCollectionExample/VB/class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeMemberCollection/Overview/class1.vb" id="Snippet6"::: ]]> @@ -496,7 +496,7 @@ The following code example searches for the presence of a specific object and uses the method to retrieve the index value at which it was found. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeMemberCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeMemberCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeMemberCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -546,7 +546,7 @@ The following code example demonstrates how to use the method to add a object to a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeMemberCollection/Overview/class1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeMemberCollectionExample/VB/class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeMemberCollection/Overview/class1.vb" id="Snippet8"::: ]]> @@ -640,7 +640,7 @@ The following code example demonstrates how to use the method to delete a object from a . :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeMemberCollection/Overview/class1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeMemberCollectionExample/VB/class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeMemberCollection/Overview/class1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.CodeDom/CodeTypeOfExpression.xml b/xml/System.CodeDom/CodeTypeOfExpression.xml index 58901f0383b..6c895ec9478 100644 --- a/xml/System.CodeDom/CodeTypeOfExpression.xml +++ b/xml/System.CodeDom/CodeTypeOfExpression.xml @@ -63,7 +63,7 @@ The following example demonstrates use of a to represent a typeof expression. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeOfExpression/Overview/codetypeofexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeOfExample/VB/codetypeofexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeOfExpression/Overview/codetypeofexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeTypeParameter.xml b/xml/System.CodeDom/CodeTypeParameter.xml index c2652e7d707..de9b36c4cfa 100644 --- a/xml/System.CodeDom/CodeTypeParameter.xml +++ b/xml/System.CodeDom/CodeTypeParameter.xml @@ -62,7 +62,7 @@ The following code example shows the use of the class to create a CodeDOM graph to generate an application containing generics code. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDOM.Generics.1/VB/codedomgenerics.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.vb" id="Snippet1"::: ]]> @@ -162,7 +162,7 @@ The following code example shows the use of constructor to add a type parameter. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDOM.Generics.1/VB/codedomgenerics.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.vb" id="Snippet10"::: ]]> @@ -210,7 +210,7 @@ The following code example shows the use of the property to add a new constraint. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDOM.Generics.1/VB/codedomgenerics.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.vb" id="Snippet4"::: ]]> @@ -261,7 +261,7 @@ The following code example shows the use of the property to add a new custom attribute. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDOM.Generics.1/VB/codedomgenerics.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.vb" id="Snippet5"::: ]]> @@ -321,7 +321,7 @@ The following code example shows the use of the property in determining if the type parameter has a constructor constraint. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDOM.Generics.1/VB/codedomgenerics.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.vb" id="Snippet3"::: ]]> diff --git a/xml/System.CodeDom/CodeTypeReference.xml b/xml/System.CodeDom/CodeTypeReference.xml index dbf15b1136f..d71016fdce8 100644 --- a/xml/System.CodeDom/CodeTypeReference.xml +++ b/xml/System.CodeDom/CodeTypeReference.xml @@ -63,7 +63,7 @@ The following example demonstrates use of a to represent a reference to a type. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeOfExpression/Overview/codetypeofexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeOfExample/VB/codetypeofexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeOfExpression/Overview/codetypeofexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeTypeReferenceCollection.xml b/xml/System.CodeDom/CodeTypeReferenceCollection.xml index 318b4ecb398..3c0866b581c 100644 --- a/xml/System.CodeDom/CodeTypeReferenceCollection.xml +++ b/xml/System.CodeDom/CodeTypeReferenceCollection.xml @@ -57,7 +57,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeReferenceCollection/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeReferenceCollection/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeReferenceCollection/Overview/class1.vb" id="Snippet1"::: ]]> @@ -111,7 +111,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeReferenceCollection/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeReferenceCollection/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeReferenceCollection/Overview/class1.vb" id="Snippet2"::: ]]> @@ -234,7 +234,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeReferenceCollection/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeReferenceCollection/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeReferenceCollection/Overview/class1.vb" id="Snippet3"::: ]]> @@ -363,7 +363,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeReferenceCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeReferenceCollection/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeReferenceCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -411,7 +411,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeReferenceCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeReferenceCollection/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeReferenceCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -461,7 +461,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeReferenceCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeReferenceCollection/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeReferenceCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -509,7 +509,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeReferenceCollection/Overview/class1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeReferenceCollection/VB/class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeReferenceCollection/Overview/class1.vb" id="Snippet6"::: ]]> @@ -563,7 +563,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeReferenceCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeReferenceCollection/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeReferenceCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -611,7 +611,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeReferenceCollection/Overview/class1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeReferenceCollection/VB/class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeReferenceCollection/Overview/class1.vb" id="Snippet8"::: ]]> @@ -703,7 +703,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeReferenceCollection/Overview/class1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeReferenceCollection/VB/class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeReferenceCollection/Overview/class1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.CodeDom/CodeTypeReferenceExpression.xml b/xml/System.CodeDom/CodeTypeReferenceExpression.xml index 57dfbd8044c..f1a108d40f8 100644 --- a/xml/System.CodeDom/CodeTypeReferenceExpression.xml +++ b/xml/System.CodeDom/CodeTypeReferenceExpression.xml @@ -61,7 +61,7 @@ The following example demonstrates use of a to represent a reference to a type. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeTypeOfExpression/Overview/codetypeofexample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeTypeOfExample/VB/codetypeofexample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeTypeOfExpression/Overview/codetypeofexample.vb" id="Snippet3"::: ]]> diff --git a/xml/System.CodeDom/CodeVariableDeclarationStatement.xml b/xml/System.CodeDom/CodeVariableDeclarationStatement.xml index 6d26e0d9ae0..ab6f0b1983b 100644 --- a/xml/System.CodeDom/CodeVariableDeclarationStatement.xml +++ b/xml/System.CodeDom/CodeVariableDeclarationStatement.xml @@ -64,7 +64,7 @@ This example demonstrates using a to declare a variable. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeVariableDeclarationStatement/Overview/codevariabledeclarationstatementexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeVariableDeclarationStatementExample/VB/codevariabledeclarationstatementexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeVariableDeclarationStatement/Overview/codevariabledeclarationstatementexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeVariableReferenceExpression.xml b/xml/System.CodeDom/CodeVariableReferenceExpression.xml index cf512077a51..31a1e7a17ef 100644 --- a/xml/System.CodeDom/CodeVariableReferenceExpression.xml +++ b/xml/System.CodeDom/CodeVariableReferenceExpression.xml @@ -63,7 +63,7 @@ The following example code demonstrates use of a to refer to a local variable. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeFieldReferenceExpression/Overview/codereferenceexample.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeReferenceExample/VB/codereferenceexample.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeFieldReferenceExpression/Overview/codereferenceexample.vb" id="Snippet4"::: ]]> diff --git a/xml/System.CodeDom/FieldDirection.xml b/xml/System.CodeDom/FieldDirection.xml index 5b3ecfea532..8d5186ece22 100644 --- a/xml/System.CodeDom/FieldDirection.xml +++ b/xml/System.CodeDom/FieldDirection.xml @@ -54,7 +54,7 @@ The following example demonstrates use of to indicate the field direction types of the parameters of a method in a method declaration. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeParameterDeclarationExpression/Overview/codeparameterdeclarationexample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeParameterDeclarationExample/VB/codeparameterdeclarationexample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeParameterDeclarationExpression/Overview/codeparameterdeclarationexample.vb" id="Snippet3"::: ]]> diff --git a/xml/System.CodeDom/MemberAttributes.xml b/xml/System.CodeDom/MemberAttributes.xml index b91dcb9ad58..5ac260ad3cb 100644 --- a/xml/System.CodeDom/MemberAttributes.xml +++ b/xml/System.CodeDom/MemberAttributes.xml @@ -64,7 +64,7 @@ The following example code demonstrates use of a to define a `string` property with `get` and `set` accessors. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeMemberProperty/Overview/codememberpropertyexample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CodeMemberPropertyExample/VB/codememberpropertyexample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeMemberProperty/Overview/codememberpropertyexample.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Collections.Concurrent/BlockingCollection`1.xml b/xml/System.Collections.Concurrent/BlockingCollection`1.xml index 11bbef1ddba..aed17442c6a 100644 --- a/xml/System.Collections.Concurrent/BlockingCollection`1.xml +++ b/xml/System.Collections.Concurrent/BlockingCollection`1.xml @@ -134,7 +134,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.blockingcollection/vb/blockingcoll.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.vb" id="Snippet1"::: ]]> @@ -999,7 +999,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.blockingcollection/vb/blockingcoll.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.vb" id="Snippet4"::: ]]> @@ -2304,7 +2304,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.blockingcollection/vb/blockingcoll.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.vb" id="Snippet2"::: ]]> @@ -2670,7 +2670,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.blockingcollection/vb/blockingcoll.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Collections.Concurrent/ConcurrentDictionary`2.xml b/xml/System.Collections.Concurrent/ConcurrentDictionary`2.xml index a0c246cd7bf..4e2476e3426 100644 --- a/xml/System.Collections.Concurrent/ConcurrentDictionary`2.xml +++ b/xml/System.Collections.Concurrent/ConcurrentDictionary`2.xml @@ -142,7 +142,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/vb/concdictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.vb" id="Snippet1"::: ]]> @@ -566,7 +566,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/vb/concdictionary.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.vb" id="Snippet3"::: ]]> @@ -689,7 +689,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/AddOrUpdate/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/AddOrUpdate/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrentcoladdupdate/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/AddOrUpdate/module1.vb" id="Snippet1"::: ## Remarks For modifications and write operations to the dictionary, uses fine-grained locking to ensure thread safety. (Read operations on the dictionary are performed in a lock-free manner.) The `addValueFactory` and `updateValueFactory` delegates may be executed multiple times to verify the value was added or updated as expected. However, they are called outside the locks to avoid the problems that can arise from executing unknown code under a lock. Therefore, is not atomic with regards to all other operations on the class. @@ -1105,7 +1105,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/vb/concdictionary.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.vb" id="Snippet3"::: ]]> @@ -2712,7 +2712,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/vb/concdictionary.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.vb" id="Snippet2"::: ]]> @@ -2953,7 +2953,7 @@ The key is compared using the dictionary's comparer (or the default comparer for :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/vb/concdictionary.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.vb" id="Snippet2"::: ]]> @@ -3017,7 +3017,7 @@ The key is compared using the dictionary's comparer (or the default comparer for :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/vb/concdictionary.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Collections.Concurrent/ConcurrentQueue`1.xml b/xml/System.Collections.Concurrent/ConcurrentQueue`1.xml index dfc4bbb74c3..f48ca2d29af 100644 --- a/xml/System.Collections.Concurrent/ConcurrentQueue`1.xml +++ b/xml/System.Collections.Concurrent/ConcurrentQueue`1.xml @@ -120,7 +120,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/ConcurrentQueueT/Overview/concqueue.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/ConcurrentQueueT/Overview/concqueue.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentqueue/vb/concqueue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/ConcurrentQueueT/Overview/concqueue.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Concurrent/ConcurrentStack`1.xml b/xml/System.Collections.Concurrent/ConcurrentStack`1.xml index 87f6075ac65..4df060ec965 100644 --- a/xml/System.Collections.Concurrent/ConcurrentStack`1.xml +++ b/xml/System.Collections.Concurrent/ConcurrentStack`1.xml @@ -126,13 +126,13 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/ConcurrentStackT/Overview/concstack_single.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/ConcurrentStackT/Overview/concstack_single.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentstack/vb/concstack_single.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/ConcurrentStackT/Overview/concstack_single.vb" id="Snippet1"::: The following example shows how to use a to push and pop ranges of items: :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/ConcurrentStackT/Overview/concstack_range.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/ConcurrentStackT/Overview/concstack_range.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentstack/vb/concstack_range.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/ConcurrentStackT/Overview/concstack_range.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Concurrent/IProducerConsumerCollection`1.xml b/xml/System.Collections.Concurrent/IProducerConsumerCollection`1.xml index 6423618db13..6e1788f0deb 100644 --- a/xml/System.Collections.Concurrent/IProducerConsumerCollection`1.xml +++ b/xml/System.Collections.Concurrent/IProducerConsumerCollection`1.xml @@ -75,7 +75,7 @@ The following example shows a stack data structure that implements . :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/IProducerConsumerCollectionT/Overview/iprodcon.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.iproducerconsumercollection/vb/iprodcon.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/IProducerConsumerCollectionT/Overview/iprodcon.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Concurrent/OrderablePartitioner`1.xml b/xml/System.Collections.Concurrent/OrderablePartitioner`1.xml index 33c373cd71f..b96917b5052 100644 --- a/xml/System.Collections.Concurrent/OrderablePartitioner`1.xml +++ b/xml/System.Collections.Concurrent/OrderablePartitioner`1.xml @@ -75,7 +75,7 @@ The following example shows how to implement an orderable partitioner that returns one element at a time: :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/OrderablePartitionerTSource/Overview/orderablepartitioner.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.orderablepartitioner/vb/orderablepartitioner.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/OrderablePartitionerTSource/Overview/orderablepartitioner.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Concurrent/Partitioner`1.xml b/xml/System.Collections.Concurrent/Partitioner`1.xml index 564869a121f..e5fe486032c 100644 --- a/xml/System.Collections.Concurrent/Partitioner`1.xml +++ b/xml/System.Collections.Concurrent/Partitioner`1.xml @@ -72,7 +72,7 @@ The following example shows how to implement a partitioner that returns a single element at a time: :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/PartitionerTSource/Overview/partitioner.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.partitioner/vb/partitioner.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/PartitionerTSource/Overview/partitioner.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Generic/Comparer`1.xml b/xml/System.Collections.Generic/Comparer`1.xml index a8a11d394f3..394a2d8a7fc 100644 --- a/xml/System.Collections.Generic/Comparer`1.xml +++ b/xml/System.Collections.Generic/Comparer`1.xml @@ -96,7 +96,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ComparerT/Overview/program.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/ComparerT/Overview/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxcompare/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ComparerT/Overview/program.vb" id="Snippet1"::: ]]> @@ -244,7 +244,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ComparerT/Overview/program.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/ComparerT/Overview/program.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxcompare/vb/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ComparerT/Overview/program.vb" id="Snippet5"::: ]]> @@ -362,7 +362,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ComparerT/Overview/program.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/ComparerT/Overview/program.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxcompare/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ComparerT/Overview/program.vb" id="Snippet3"::: ]]> @@ -456,7 +456,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ComparerT/Overview/program.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/ComparerT/Overview/program.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxcompare/vb/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ComparerT/Overview/program.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Collections.Generic/Dictionary`2.xml b/xml/System.Collections.Generic/Dictionary`2.xml index 4cb0c0d8e47..8161356e8bb 100644 --- a/xml/System.Collections.Generic/Dictionary`2.xml +++ b/xml/System.Collections.Generic/Dictionary`2.xml @@ -154,7 +154,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source2.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source2.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source2.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source2.vb" id="Snippet11"::: The `foreach` statement is a wrapper around the enumerator, which allows only reading from the collection, not writing to it. @@ -177,7 +177,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.vb" id="Snippet1"::: ]]> @@ -261,7 +261,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.vb" id="Snippet2"::: ]]> @@ -328,7 +328,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.ctor_IDic/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source.vb" id="Snippet1"::: ]]> @@ -457,7 +457,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.ctor_IEqC/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -526,7 +526,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source3.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source3.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.ctor_Int32/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source3.vb" id="Snippet1"::: ]]> @@ -612,7 +612,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.ctor_IDicIEqC/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source1.vb" id="Snippet1"::: ]]> @@ -755,7 +755,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source4.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source4.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.ctor_Int32IEqC/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/.ctor/source4.vb" id="Snippet1"::: ]]> @@ -895,7 +895,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.vb" id="Snippet2"::: ]]> @@ -1106,13 +1106,13 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.vb" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.fs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.fs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.vb" id="Snippet4"::: ]]> @@ -1541,16 +1541,16 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.fs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.vb" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.fs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.vb" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.fs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.vb" id="Snippet5"::: ]]> @@ -1618,10 +1618,10 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.vb" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.fs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.vb" id="Snippet7"::: ]]> @@ -1752,7 +1752,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.vb" id="Snippet10"::: ]]> @@ -2566,7 +2566,7 @@ Getting the value of this property is an O(1) operation. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet1"::: ]]> @@ -2649,12 +2649,12 @@ Getting the value of this property is an O(1) operation. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet31"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.fs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet31"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.fs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet32"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb" id="Snippet32"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet32"::: ]]> @@ -2740,12 +2740,12 @@ Getting the value of this property is an O(1) operation. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet31"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.fs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet31"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.fs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet32"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb" id="Snippet32"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet32"::: ]]> @@ -2941,15 +2941,15 @@ Getting the value of this property is an O(1) operation. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet31"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.fs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet31"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.fs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.fs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet32"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb" id="Snippet32"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet32"::: ]]> @@ -3022,15 +3022,15 @@ Getting the value of this property is an O(1) operation. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet31"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.fs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet31"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.fs" id="Snippet9"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb" id="Snippet9"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.fs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet32"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb" id="Snippet32"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet32"::: ]]> @@ -3097,12 +3097,12 @@ Getting the value of this property is an O(1) operation. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet31"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.fs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet31"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.fs" id="Snippet10"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb" id="Snippet10"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet32"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb" id="Snippet32"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet32"::: ]]> @@ -3169,15 +3169,15 @@ Getting the value of this property is an O(1) operation. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet31"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.fs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet31"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.fs" id="Snippet8"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb" id="Snippet8"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.fs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet32"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary.IDictionary/VB/source.vb" id="Snippet32"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet32"::: ]]> @@ -3522,10 +3522,10 @@ Unlike the method, this :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.fs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.vb" id="Snippet4"::: ]]> @@ -3593,10 +3593,10 @@ Unlike the method, this :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.vb" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.fs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Collections.Generic/EqualityComparer`1.xml b/xml/System.Collections.Generic/EqualityComparer`1.xml index a6fd6ebfb41..fd81847d3af 100644 --- a/xml/System.Collections.Generic/EqualityComparer`1.xml +++ b/xml/System.Collections.Generic/EqualityComparer`1.xml @@ -92,7 +92,7 @@ In .NET 8 and later versions, we recommend using the @@ -253,7 +253,7 @@ In .NET 8 and later versions, we recommend using the diff --git a/xml/System.Collections.Generic/HashSet`1.xml b/xml/System.Collections.Generic/HashSet`1.xml index df120c11c30..14de8219243 100644 --- a/xml/System.Collections.Generic/HashSet`1.xml +++ b/xml/System.Collections.Generic/HashSet`1.xml @@ -133,7 +133,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/Overview/Program.cs" interactive="try-dotnet-method" id="Snippet01"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/Overview/Program.fs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_UnionWith/vb/Program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/Overview/Program.vb" id="Snippet01"::: ]]> @@ -201,7 +201,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/Overview/Program.cs" id="Snippet03"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/Overview/Program.fs" id="Snippet03"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_UnionWith/vb/Program.vb" id="Snippet03"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/Overview/Program.vb" id="Snippet03"::: ]]> @@ -263,7 +263,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/Overview/Program.cs" interactive="try-dotnet-method" id="Snippet01"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/Overview/Program.fs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_UnionWith/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/Overview/Program.vb" id="Snippet02"::: ]]> @@ -440,7 +440,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/.ctor/source2.cs" interactive="try-dotnet-method" id="Snippet03"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/.ctor/source2.fs" id="Snippet03"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_ExceptWith/vb/source2.vb" id="Snippet03"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/.ctor/source2.vb" id="Snippet03"::: ]]> @@ -726,7 +726,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/Clear/Program.cs" interactive="try-dotnet-method" id="Snippet01"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/Clear/Program.fs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_Clear/vb/Program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/Clear/Program.vb" id="Snippet01"::: ]]> @@ -848,7 +848,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/Contains/Program.cs" interactive="try-dotnet-method" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/Contains/Program.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_RemoveWhere/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/Contains/Program.vb" id="Snippet02"::: ]]> @@ -1118,7 +1118,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/Overview/Program.cs" interactive="try-dotnet-method" id="Snippet01"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/Overview/Program.fs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_UnionWith/vb/Program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/Overview/Program.vb" id="Snippet01"::: ]]> @@ -1278,7 +1278,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/.ctor/Program.cs" interactive="try-dotnet-method" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/.ctor/Program.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_ExceptWith/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/.ctor/Program.vb" id="Snippet02"::: ]]> @@ -1607,7 +1607,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.cs" interactive="try-dotnet-method" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.vb" id="Snippet02"::: ]]> @@ -1689,7 +1689,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.cs" interactive="try-dotnet-method" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.vb" id="Snippet02"::: ]]> @@ -1771,7 +1771,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.cs" interactive="try-dotnet-method" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.vb" id="Snippet02"::: ]]> @@ -1847,7 +1847,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.cs" interactive="try-dotnet-method" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.vb" id="Snippet02"::: ]]> @@ -1974,7 +1974,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.cs" interactive="try-dotnet-method" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.vb" id="Snippet02"::: ]]> @@ -2044,7 +2044,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/Contains/Program.cs" interactive="try-dotnet-method" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/Contains/Program.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_RemoveWhere/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/Contains/Program.vb" id="Snippet02"::: ]]> @@ -2106,7 +2106,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/Contains/Program.cs" interactive="try-dotnet-method" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/Contains/Program.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_RemoveWhere/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/Contains/Program.vb" id="Snippet02"::: ]]> @@ -2186,7 +2186,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.cs" interactive="try-dotnet-method" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.vb" id="Snippet02"::: ]]> @@ -2261,7 +2261,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/SymmetricExceptWith/Program.cs" interactive="try-dotnet-method" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/SymmetricExceptWith/Program.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_SymmetricExceptWith/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/SymmetricExceptWith/Program.vb" id="Snippet02"::: ]]> @@ -2572,7 +2572,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/Clear/Program.cs" interactive="try-dotnet-method" id="Snippet01"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/Clear/Program.fs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_Clear/vb/Program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/Clear/Program.vb" id="Snippet01"::: ]]> @@ -2776,7 +2776,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/Overview/Program.cs" interactive="try-dotnet-method" id="Snippet01"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/Overview/Program.fs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_UnionWith/vb/Program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/Overview/Program.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Collections.Generic/ICollection`1.xml b/xml/System.Collections.Generic/ICollection`1.xml index ee6250b6ec0..8be7e5384ef 100644 --- a/xml/System.Collections.Generic/ICollection`1.xml +++ b/xml/System.Collections.Generic/ICollection`1.xml @@ -84,7 +84,7 @@ This example also implements an interface for the `BoxCollection` class so that the collection can be enumerated. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ICollectionT/Overview/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxexamples/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ICollectionT/Overview/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Generic/IComparer`1.xml b/xml/System.Collections.Generic/IComparer`1.xml index a187f478e7c..1c602165bd5 100644 --- a/xml/System.Collections.Generic/IComparer`1.xml +++ b/xml/System.Collections.Generic/IComparer`1.xml @@ -76,7 +76,7 @@ The following example implements the interface to compare objects of type `Box` according to their dimensions. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ComparerT/Overview/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxcompare/vb/program.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ComparerT/Overview/program.vb" id="Snippet7"::: ]]> @@ -182,7 +182,7 @@ The following example implements the interface to compare objects of type `Box` according to their dimensions. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ComparerT/Overview/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxcompare/vb/program.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ComparerT/Overview/program.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Collections.Generic/IDictionary`2.xml b/xml/System.Collections.Generic/IDictionary`2.xml index b397d926b71..aa0948ef00f 100644 --- a/xml/System.Collections.Generic/IDictionary`2.xml +++ b/xml/System.Collections.Generic/IDictionary`2.xml @@ -92,7 +92,7 @@ The `foreach` statement of the C# language (`For Each` in Visual Basic) returns an object of the type of the elements in the collection. Since each element of the is a key/value pair, the element type is not the type of the key or the type of the value. Instead, the element type is . For example: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source2.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.IDictionary/VB/source2.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source2.vb" id="Snippet11"::: The `foreach` statement is a wrapper around the enumerator, which only allows reading from, not writing to, the collection. @@ -113,7 +113,7 @@ Finally, the example shows how to enumerate the keys and values in the dictionary, and how to enumerate the values alone using the property. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.IDictionary/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.vb" id="Snippet1"::: ]]> @@ -188,7 +188,7 @@ This code is part of a larger example that can be compiled and executed. See . :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.cs" interactive="try-dotnet-method" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.IDictionary/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.vb" id="Snippet2"::: ]]> @@ -260,11 +260,11 @@ This code is part of a larger example that can be compiled and executed. See . :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.IDictionary/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.vb" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.IDictionary/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.IDictionary/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.vb" id="Snippet4"::: ]]> @@ -341,11 +341,11 @@ This code is part of a larger example that can be compiled and executed. See . :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.IDictionary/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.vb" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.IDictionary/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.vb" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.IDictionary/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.vb" id="Snippet5"::: ]]> @@ -413,7 +413,7 @@ This code is part of a larger example that can be compiled and executed. See . :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.IDictionary/VB/source.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.vb" id="Snippet9"::: ]]> @@ -480,7 +480,7 @@ This code is part of a larger example that can be compiled and executed. See . :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.IDictionary/VB/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.vb" id="Snippet10"::: ]]> @@ -561,9 +561,9 @@ This code is part of a larger example that can be compiled and executed. See . :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.IDictionary/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.IDictionary/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.vb" id="Snippet4"::: ]]> @@ -628,7 +628,7 @@ This code is part of a larger example that can be compiled and executed. See . :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.IDictionary/VB/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Collections.Generic/IEnumerable`1.xml b/xml/System.Collections.Generic/IEnumerable`1.xml index f222936ce66..ccb4c4b742d 100644 --- a/xml/System.Collections.Generic/IEnumerable`1.xml +++ b/xml/System.Collections.Generic/IEnumerable`1.xml @@ -84,7 +84,7 @@ The following example demonstrates how to implement the interface and how to use that implementation to create a LINQ query. When you implement , you must also implement or, for C# only, you can use the [yield](/dotnet/csharp/language-reference/keywords/yield) keyword. Implementing also requires to be implemented, which you will see in this example. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/IEnumerableT/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.ienumerableex/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/IEnumerableT/Overview/module1.vb" id="Snippet1"::: ]]> @@ -164,7 +164,7 @@ The following example demonstrates how to implement the interface and uses that implementation to create a LINQ query. When you implement , you must also implement or, for C# only, you can use the [yield](/dotnet/csharp/language-reference/keywords/yield) keyword. Implementing also requires to be implemented, which you will see in this example. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/IEnumerableT/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.ienumerableex/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/IEnumerableT/Overview/module1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Generic/IEnumerator`1.xml b/xml/System.Collections.Generic/IEnumerator`1.xml index c3d8f1c7755..1e2489a442c 100644 --- a/xml/System.Collections.Generic/IEnumerator`1.xml +++ b/xml/System.Collections.Generic/IEnumerator`1.xml @@ -102,7 +102,7 @@ The following example shows an implementation of the interface for a collection class of custom objects. The custom object is an instance of the type `Box`, and the collection class is `BoxCollection`. This code example is part of a larger example provided for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ICollectionT/Overview/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxexamples/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ICollectionT/Overview/program.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Collections.Generic/IEqualityComparer`1.xml b/xml/System.Collections.Generic/IEqualityComparer`1.xml index ff2eb0f45b1..086b8ae5d4d 100644 --- a/xml/System.Collections.Generic/IEqualityComparer`1.xml +++ b/xml/System.Collections.Generic/IEqualityComparer`1.xml @@ -76,7 +76,7 @@ The following example adds custom `Box` objects to a dictionary collection. The `Box` objects are considered equal if their dimensions are the same. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/IEqualityComparerT/Overview/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.iequalitycomparer/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/IEqualityComparerT/Overview/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Generic/IReadOnlyDictionary`2.xml b/xml/System.Collections.Generic/IReadOnlyDictionary`2.xml index b2fc32c9885..b79e1047cad 100644 --- a/xml/System.Collections.Generic/IReadOnlyDictionary`2.xml +++ b/xml/System.Collections.Generic/IReadOnlyDictionary`2.xml @@ -90,7 +90,7 @@ The `foreach` statement of the C# language (`For Each` in Visual Basic) requires the type of each element in the collection. Because each element of the interface is a key/value pair, the element type is not the type of the key or the type of the value. Instead, the element type is , as the following example illustrates. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source2.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.IDictionary/VB/source2.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/IDictionaryTKey,TValue/Overview/source2.vb" id="Snippet11"::: The `foreach` statement is a wrapper around the enumerator; it allows only reading from the collection, not writing to the collection. diff --git a/xml/System.Collections.Generic/KeyValuePair`2.xml b/xml/System.Collections.Generic/KeyValuePair`2.xml index 3ffde278385..98acd82707e 100644 --- a/xml/System.Collections.Generic/KeyValuePair`2.xml +++ b/xml/System.Collections.Generic/KeyValuePair`2.xml @@ -93,7 +93,7 @@ The `foreach` statement of the C# language (`For Each` in Visual Basic) returns an object of the type of the elements in the collection. Since each element of a collection based on is a key/value pair, the element type is not the type of the key or the type of the value. Instead, the element type is . For example: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source2.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source2.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source2.vb" id="Snippet11"::: The `foreach` statement is a wrapper around the enumerator, which allows only reading from, not writing to, the collection. @@ -105,7 +105,7 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.vb" id="Snippet7"::: ]]> @@ -262,7 +262,7 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.vb" id="Snippet7"::: ]]> @@ -378,7 +378,7 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Collections.Generic/LinkedListNode`1.xml b/xml/System.Collections.Generic/LinkedListNode`1.xml index 3279af7d7b6..0f3f0fea9a2 100644 --- a/xml/System.Collections.Generic/LinkedListNode`1.xml +++ b/xml/System.Collections.Generic/LinkedListNode`1.xml @@ -78,7 +78,7 @@ The following code example creates a , adds it to a , and tracks the values of its properties as the changes. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.LinkedListNode/VB/llnctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.vb" id="Snippet1"::: ]]> @@ -141,7 +141,7 @@ The following code example creates a , adds it to a , and tracks the values of its properties as the changes. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.LinkedListNode/VB/llnctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.vb" id="Snippet1"::: ]]> @@ -204,7 +204,7 @@ The following code example creates a , adds it to a , and tracks the values of its properties as the changes. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.LinkedListNode/VB/llnctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.vb" id="Snippet1"::: ]]> @@ -263,7 +263,7 @@ The following code example creates a , adds it to a , and tracks the values of its properties as the changes. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.LinkedListNode/VB/llnctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.vb" id="Snippet1"::: ]]> @@ -322,7 +322,7 @@ The following code example creates a , adds it to a , and tracks the values of its properties as the changes. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.LinkedListNode/VB/llnctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.vb" id="Snippet1"::: ]]> @@ -389,7 +389,7 @@ The following code example creates a , adds it to a , and tracks the values of its properties as the changes. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.LinkedListNode/VB/llnctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Generic/LinkedList`1.xml b/xml/System.Collections.Generic/LinkedList`1.xml index 7e1a3812fad..417d4dd8944 100644 --- a/xml/System.Collections.Generic/LinkedList`1.xml +++ b/xml/System.Collections.Generic/LinkedList`1.xml @@ -141,7 +141,7 @@ The following code example demonstrates many features of the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/LinkedListT/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.LinkedList/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/LinkedListT/Overview/source.vb" id="Snippet1"::: ]]> @@ -219,7 +219,7 @@ The following code example creates and initializes a of type , adds several nodes, and then displays its contents. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/LinkedListT/.ctor/llctor.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.LinkedList.ctor/VB/llctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/LinkedListT/.ctor/llctor.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Generic/List`1.xml b/xml/System.Collections.Generic/List`1.xml index 956b7817b9a..f31fb1119f2 100644 --- a/xml/System.Collections.Generic/List`1.xml +++ b/xml/System.Collections.Generic/List`1.xml @@ -190,7 +190,7 @@ The example adds, inserts, and removes items, showing how the capacity changes as these methods are used. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Overview/source.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_Class/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source1.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/List`1_Class/fs/listclass.fs" id="Snippet1"::: ]]> @@ -248,7 +248,7 @@ The following example demonstrates the constructor and various methods of the class that act on ranges. An array of strings is created and passed to the constructor, populating the list with the elements of the array. The property is then displayed, to show that the initial capacity is exactly what is required to hold the input elements. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/.ctor/source1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_Ranges/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -319,7 +319,7 @@ The following example demonstrates the constructor. A of strings with a capacity of 4 is created, because the ultimate size of the list is known to be exactly 4. The list is populated with four strings, and a read-only copy is created by using the method. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/.ctor/source.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_AsReadOnly/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source.vb" id="Snippet1"::: ]]> @@ -388,7 +388,7 @@ The following example demonstrates how to add, remove, and insert a simple business object in a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Overview/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Add/module1.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/fs/addremoveinsert.fs" id="Snippet1"::: The following example demonstrates several properties and methods of the generic class, including the method. The parameterless constructor is used to create a list of strings with a capacity of 0. The property is displayed, and then the method is used to add several items. The items are listed, and the property is displayed again, along with the property, to show that the capacity has been increased as needed. @@ -396,7 +396,7 @@ Other properties and methods are used to search for, insert, and remove elements from the list, and finally to clear the list. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Overview/source.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_Class/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source1.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/List`1_Class/fs/listclass.fs" id="Snippet1"::: ]]> @@ -463,7 +463,7 @@ The following example demonstrates the method and various other methods of the class that act on ranges. An array of strings is created and passed to the constructor, populating the list with the elements of the array. The method is called, with the list as its argument. The result is that the current elements of the list are added to the end of the list, duplicating all the elements. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/.ctor/source1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_Ranges/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -531,7 +531,7 @@ An element of the original list is set to "Coelophysis" using the property (the indexer in C#), and the contents of the read-only list are displayed again to demonstrate that it is just a wrapper for the original list. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/.ctor/source.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_AsReadOnly/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source.vb" id="Snippet1"::: ]]> @@ -613,7 +613,7 @@ The method overload is then used to search for two strings that are not in the list, and the method is used to insert them. The return value of the method is negative in each case, because the strings are not in the list. Taking the bitwise complement (the ~ operator in C#, `Xor` -1 in Visual Basic) of this negative number produces the index of the first element in the list that is larger than the search string, and inserting at this location preserves the sort order. The second search string is larger than any element in the list, so the insertion position is at the end of the list. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/BinarySearch/source.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearch/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/BinarySearch/source.vb" id="Snippet1"::: ]]> @@ -708,7 +708,7 @@ The method overload is then used to search for several strings that are not in the list, employing the alternate comparer. The method is used to insert the strings. These two methods are located in the function named `SearchAndInsert`, along with code to take the bitwise complement (the ~ operator in C#, `Xor` -1 in Visual Basic) of the negative number returned by and use it as an index for inserting the new string. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/BinarySearch/source1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearchComparer/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/BinarySearch/source1.vb" id="Snippet1"::: ]]> @@ -804,7 +804,7 @@ The method overload is then used to search only the range of herbivores for "Brachiosaurus". The string is not found, and the bitwise complement (the ~ operator in C#, `Xor` -1 in Visual Basic) of the negative number returned by the method is used as an index for inserting the new string. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/BinarySearch/source2.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearchComparerRange/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/BinarySearch/source2.vb" id="Snippet1"::: ]]> @@ -885,14 +885,14 @@ The following example demonstrates how to check the capacity and count of a that contains a simple business object, and illustrates using the method to remove extra capacity. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Capacity/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.capacitycount/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Capacity/module1.vb" id="Snippet1"::: The following example shows the property at several points in the life of a list. The parameterless constructor is used to create a list of strings with a capacity of 0, and the property is displayed to demonstrate this. After the method has been used to add several items, the items are listed, and then the property is displayed again, along with the property, to show that the capacity has been increased as needed. The property is displayed again after the method is used to reduce the capacity to match the count. Finally, the method is used to remove all items from the list, and the and properties are displayed again. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Overview/source.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_Class/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source1.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/List`1_Class/fs/listclass.fs" id="Snippet1"::: ]]> @@ -961,7 +961,7 @@ The following example demonstrates the method and various other properties and methods of the generic class. The method is used at the end of the program, to remove all items from the list, and the and properties are then displayed. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Overview/source.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_Class/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source1.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/List`1_Class/fs/listclass.fs" id="Snippet1"::: ]]> @@ -1030,12 +1030,12 @@ The following example demonstrates the and methods on a that contains a simple business object that implements . :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Contains/program1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.containsexists/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Contains/module1.vb" id="Snippet1"::: The following example contains a list of complex objects of type `Cube`. The `Cube` class implements the method so that two cubes are considered equal if their dimensions are the same. In this example, the method returns `true`, because a cube that has the specified dimensions is already in the collection. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Contains/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.contains/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Contains/program.vb" id="Snippet1"::: ]]> @@ -1110,7 +1110,7 @@ The following example defines a method named `PointFToPoint` that converts a structure to a structure. The example then creates a of structures, creates a `Converter\` delegate (`Converter(Of PointF, Point)` in Visual Basic) to represent the `PointFToPoint` method, and passes the delegate to the method. The method passes each element of the input list to the `PointFToPoint` method and puts the converted elements into a new list of structures. Both lists are displayed. :::code language="csharp" source="~/snippets/csharp/System/ConverterTInput,TOutput/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_ConvertAll/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ConverterTInput,TOutput/Overview/source.vb" id="Snippet1"::: ]]> @@ -1135,7 +1135,7 @@ The following example demonstrates all three overloads of the method. A of strings is created and populated with 5 strings. An empty string array of 15 elements is created, and the method overload is used to copy all the elements of the list to the array beginning at the first element of the array. The method overload is used to copy all the elements of the list to the array beginning at array index 6 (leaving index 5 empty). Finally, the method overload is used to copy 3 elements from the list, beginning with index 2, to the array beginning at array index 12 (leaving index 11 empty). The contents of the array are then displayed. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/CopyTo/source.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_CopyTo/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/CopyTo/source.vb" id="Snippet1"::: ]]> @@ -1411,12 +1411,12 @@ The following example demonstrates how to check the capacity and count of a that contains a simple business object, and illustrates using the method to remove extra capacity. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Capacity/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.capacitycount/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Capacity/module1.vb" id="Snippet1"::: The following example shows the value of the property at various points in the life of a list. After the list has been created and populated and its elements displayed, the and properties are displayed. These properties are displayed again after the method has been called, and again after the contents of the list are cleared. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Overview/source.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_Class/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source1.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/List`1_Class/fs/listclass.fs" id="Snippet1"::: ]]> @@ -1515,7 +1515,7 @@ The following example demonstrates the and methods on a that contains a simple business object that implements . :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Contains/program1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.containsexists/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Contains/module1.vb" id="Snippet1"::: The following example demonstrates the method and several other methods that use the generic delegate. @@ -1529,7 +1529,7 @@ > In C# and Visual Basic, it is not necessary to create the `Predicate` delegate (`Predicate(Of String)` in Visual Basic) explicitly. These languages infer the correct delegate from context and create it automatically. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Exists/source.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_FindEtAl/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Exists/source.vb" id="Snippet1"::: ]]> @@ -1606,7 +1606,7 @@ The following example demonstrates the method on a that contains a simple complex object. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Contains/program1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.containsexists/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Contains/module1.vb" id="Snippet1"::: The following example demonstrates the find methods for the class. The example for the class contains `book` objects, of class `Book`, using the data from the [Sample XML File: Books (LINQ to XML)](/dotnet/standard/linq/sample-xml-file-books). The `FillList` method in the example uses [LINQ to XML](/dotnet/standard/linq/linq-xml-overview) to parse the values from the XML to property values of the `book` objects. @@ -1623,7 +1623,7 @@ ||Finds the index of last computer book in the second half of the collection, using the `FindComputer` predicate delegate.| :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Find/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/list`1_find_methods/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Find/module1.vb" id="Snippet1"::: ]]> @@ -1707,7 +1707,7 @@ ||Finds the index of last computer book in the second half of the collection, using the `FindComputer` predicate delegate.| :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Find/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/list`1_find_methods/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Find/module1.vb" id="Snippet1"::: ]]> @@ -1810,7 +1810,7 @@ Public Function StartsWith(e As Employee) As Boolean corresponds to the signature of the delegate that can be passed to the method. The example instantiates a `List` object, adds a number of `Employee` objects to it, and then calls the method twice to search the entire collection, the first time for the first `Employee` object whose `Name` field begins with "J", and the second time for the first `Employee` object whose `Name` field begins with "Ju". :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/FindIndex/FindIndex2.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Collections.Generic.List.FindIndex/vb/FindIndex2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/FindIndex/FindIndex2.vb" id="Snippet2"::: ]]> @@ -1904,7 +1904,7 @@ Public Function StartsWith(e As Employee) As Boolean corresponds to the signature of the delegate that can be passed to the method. The example instantiates a `List` object, adds a number of `Employee` objects to it, and then calls the method twice to search the collection starting with its fifth member (that is, the member at index 4). The first time, it searches for the first `Employee` object whose `Name` field begins with "J"; the second time, it searches for the first `Employee` object whose `Name` field begins with "Ju". :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/FindIndex/FindIndex3.cs" interactive="try-dotnet" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Collections.Generic.List.FindIndex/vb/FindIndex3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/FindIndex/FindIndex3.vb" id="Snippet3"::: ]]> @@ -2002,7 +2002,7 @@ Public Function StartsWith(e As Employee) As Boolean corresponds to the signature of the delegate that can be passed to the method. The example instantiates a `List` object, adds a number of `Employee` objects to it, and then calls the method twice to search the entire collection (that is, the members from index 0 to index - 1). The first time, it searches for the first `Employee` object whose `Name` field begins with "J"; the second time, it searches for the first `Employee` object whose `Name` field begins with "Ju". :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/FindIndex/FindIndex1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Collections.Generic.List.FindIndex/vb/FindIndex1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/FindIndex/FindIndex1.vb" id="Snippet1"::: ]]> @@ -2100,7 +2100,7 @@ Public Function StartsWith(e As Employee) As Boolean ||Finds the index of last computer book in the second half of the collection, using the `FindComputer` predicate delegate.| :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Find/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/list`1_find_methods/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Find/module1.vb" id="Snippet1"::: ]]> @@ -2197,7 +2197,7 @@ Public Function StartsWith(e As Employee) As Boolean ||Finds the index of last computer book in the second half of the collection, using the `FindComputer` predicate delegate.| :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Find/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/list`1_find_methods/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Find/module1.vb" id="Snippet1"::: ]]> @@ -2359,7 +2359,7 @@ Public Function StartsWith(e As Employee) As Boolean ||Finds the index of last computer book in the second half of the collection, using the `FindComputer` predicate delegate.| :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Find/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/list`1_find_methods/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Find/module1.vb" id="Snippet1"::: ]]> @@ -2444,7 +2444,7 @@ Public Function StartsWith(e As Employee) As Boolean > In addition to displaying the contents using the `Print` method, the C# example demonstrates the use of [anonymous methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods) to display the results to the console. :::code language="csharp" source="~/snippets/csharp/System/ActionT/Overview/action.cs" interactive="try-dotnet-method" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action_PrintExample/vb/action.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT/Overview/action.vb" id="Snippet01"::: ]]> @@ -2589,7 +2589,7 @@ Public Function StartsWith(e As Employee) As Boolean The following example demonstrates the method and other methods of the class that act on ranges. At the end of the example, the method is used to get three items from the list, beginning with index location 2. The method is called on the resulting , creating an array of three elements. The elements of the array are displayed. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/.ctor/source1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_Ranges/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -2622,7 +2622,7 @@ Public Function StartsWith(e As Employee) As Boolean The following example demonstrates all three overloads of the method. A of strings is created, with one entry that appears twice, at index location 0 and index location 5. The method overload searches the list from the beginning, and finds the first occurrence of the string. The method overload is used to search the list beginning with index location 3 and continuing to the end of the list, and finds the second occurrence of the string. Finally, the method overload is used to search a range of two entries, beginning at index location two; it returns -1 because there are no instances of the search string in that range. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/IndexOf/source.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_IndexOf/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/IndexOf/source.vb" id="Snippet1"::: ]]> @@ -2899,13 +2899,13 @@ Public Function StartsWith(e As Employee) As Boolean The following example demonstrates how to add, remove, and insert a simple business object in a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Overview/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Add/module1.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/fs/addremoveinsert.fs" id="Snippet1"::: The following example demonstrates the method, along with various other properties and methods of the generic class. After the list is created, elements are added. The method is used to insert an item into the middle of the list. The item inserted is a duplicate, which is later removed using the method. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Overview/source.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_Class/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source1.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/List`1_Class/fs/listclass.fs" id="Snippet1"::: ]]> @@ -2983,7 +2983,7 @@ Public Function StartsWith(e As Employee) As Boolean The following example demonstrates method and various other methods of the class that act on ranges. After the list has been created and populated with the names of several peaceful plant-eating dinosaurs, the method is used to insert an array of three ferocious meat-eating dinosaurs into the list, beginning at index location 3. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/.ctor/source1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_Ranges/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -3076,9 +3076,9 @@ Public Function StartsWith(e As Employee) As Boolean The C# language uses the [`this`](/dotnet/csharp/language-reference/keywords/this) keyword to define the indexers instead of implementing the property. Visual Basic implements as a default property, which provides the same indexing functionality. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Overview/source.cs" interactive="try-dotnet-method" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_Class/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source1.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_Class/vb/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source1.vb" id="Snippet3"::: ]]> @@ -3107,7 +3107,7 @@ Public Function StartsWith(e As Employee) As Boolean The following example demonstrates all three overloads of the method. A of strings is created, with one entry that appears twice, at index location 0 and index location 5. The method overload searches the entire list from the end, and finds the second occurrence of the string. The method overload is used to search the list backward beginning with index location 3 and continuing to the beginning of the list, so it finds the first occurrence of the string in the list. Finally, the method overload is used to search a range of four entries, beginning at index location 4 and extending backward (that is, it searches the items at locations 4, 3, 2, and 1); this search returns -1 because there are no instances of the search string in that range. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/LastIndexOf/source.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_LastIndexOf/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/LastIndexOf/source.vb" id="Snippet1"::: ]]> @@ -3377,13 +3377,13 @@ Public Function StartsWith(e As Employee) As Boolean The following example demonstrates how to add, remove, and insert a simple business object in a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Overview/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Add/module1.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/fs/addremoveinsert.fs" id="Snippet1"::: The following example demonstrates method. Several properties and methods of the generic class are used to add, insert, and search the list. After these operations, the list contains a duplicate. The method is used to remove the first instance of the duplicate item, and the contents are displayed. The method always removes the first instance it encounters. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Overview/source.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_Class/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source1.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/List`1_Class/fs/listclass.fs" id="Snippet1"::: ]]> @@ -3461,7 +3461,7 @@ Public Function StartsWith(e As Employee) As Boolean Finally, the method verifies that there are no strings in the list that end with "saurus". :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Exists/source.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_FindEtAl/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Exists/source.vb" id="Snippet1"::: ]]> @@ -3532,7 +3532,7 @@ Public Function StartsWith(e As Employee) As Boolean The following example demonstrates how to add, remove, and insert a simple business object in a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Overview/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Add/module1.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/fs/addremoveinsert.fs" id="Snippet1"::: ]]> @@ -3605,7 +3605,7 @@ Public Function StartsWith(e As Employee) As Boolean The following example demonstrates the method and various other methods of the class that act on ranges. After the list has been created and modified, the method is used to remove two elements from the list, beginning at index location 2. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/.ctor/source1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_Ranges/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -3640,7 +3640,7 @@ Public Function StartsWith(e As Employee) As Boolean The following example demonstrates both overloads of the method. The example creates a of strings and adds six strings. The method overload is used to reverse the list, and then the method overload is used to reverse the middle of the list, beginning with element 1 and encompassing four elements. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Reverse/source.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_Reverse/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Reverse/source.vb" id="Snippet1"::: ]]> @@ -3876,19 +3876,19 @@ Public Function StartsWith(e As Employee) As Boolean The following example adds some names to a `List` object, displays the list in unsorted order, calls the method, and then displays the sorted list. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Sort/Sort1.cs" interactive="try-dotnet-method" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.sort/vb/Sort1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Sort/Sort1.vb" id="Snippet2"::: The following code demonstrates the and method overloads on a simple business object. Calling the method results in the use of the default comparer for the Part type, and the method is implemented by using an anonymous method. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Sort/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.sort/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Sort/module1.vb" id="Snippet1"::: The following example demonstrates the method overload and the method overload. A of strings is created and populated with four strings, in no particular order. The list is displayed, sorted, and displayed again. The method overload is then used to search for two strings that are not in the list, and the method is used to insert them. The return value of the method is negative in each case, because the strings are not in the list. Taking the bitwise complement (the ~ operator in C#, `Xor` -1 in Visual Basic) of this negative number produces the index of the first element in the list that is larger than the search string, and inserting at this location preserves the sort order. The second search string is larger than any element in the list, so the insertion position is at the end of the list. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/BinarySearch/source.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearch/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/BinarySearch/source.vb" id="Snippet1"::: ]]> @@ -3976,7 +3976,7 @@ Public Function StartsWith(e As Employee) As Boolean The method overload is then used to search for several strings that are not in the list, employing the alternate comparer. The method is used to insert the strings. These two methods are located in the function named `SearchAndInsert`, along with code to take the bitwise complement (the ~ operator in C#, `Xor` -1 in Visual Basic) of the negative number returned by and use it as an index for inserting the new string. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/BinarySearch/source1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearchComparer/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/BinarySearch/source1.vb" id="Snippet1"::: ]]> @@ -4052,7 +4052,7 @@ Public Function StartsWith(e As Employee) As Boolean The following code demonstrates the and method overloads on a simple business object. Calling the method results in the use of the default comparer for the Part type, and the method is implemented using an anonymous method. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Sort/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.sort/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Sort/module1.vb" id="Snippet1"::: The following example demonstrates the method overload. @@ -4061,7 +4061,7 @@ Public Function StartsWith(e As Employee) As Boolean A of strings is created and populated with four strings, in no particular order. The list also includes an empty string and a null reference. The list is displayed, sorted using a generic delegate representing the `CompareDinosByLength` method, and displayed again. :::code language="csharp" source="~/snippets/csharp/System/ComparisonT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_SortComparison/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ComparisonT/Overview/source.vb" id="Snippet1"::: ]]> @@ -4156,7 +4156,7 @@ Public Function StartsWith(e As Employee) As Boolean The method overload is then used to search only the range of herbivores for "Brachiosaurus". The string is not found, and the bitwise complement (the ~ operator in C#, `Xor` -1 in Visual Basic) of the negative number returned by the method is used as an index for inserting the new string. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/BinarySearch/source2.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearchComparerRange/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/BinarySearch/source2.vb" id="Snippet1"::: ]]> @@ -5172,7 +5172,7 @@ Retrieving the value of this property is an O(1) operation. The following example demonstrates the method and other methods of the class that act on ranges. At the end of the example, the method is used to get three items from the list, beginning with index location 2. The method is called on the resulting , creating an array of three elements. The elements of the array are displayed. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/.ctor/source1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_Ranges/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -5237,12 +5237,12 @@ Retrieving the value of this property is an O(1) operation. The following example demonstrates how to check the capacity and count of a that contains a simple business object, and illustrates using the method to remove extra capacity. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Capacity/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.capacitycount/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Capacity/module1.vb" id="Snippet1"::: The following example demonstrates the method. Several properties and methods of the class are used to add, insert, and remove items from a list of strings. Then the method is used to reduce the capacity to match the count, and the and properties are displayed. If the unused capacity had been less than 10 percent of total capacity, the list would not have been resized. Finally, the contents of the list are cleared. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Overview/source.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_Class/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/.ctor/source1.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/List`1_Class/fs/listclass.fs" id="Snippet1"::: ]]> @@ -5315,7 +5315,7 @@ Retrieving the value of this property is an O(1) operation. > In C# and Visual Basic, it is not necessary to create the `Predicate` delegate (`Predicate(Of String)` in Visual Basic) explicitly. These languages infer the correct delegate from context and create it automatically. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Exists/source.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_FindEtAl/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Exists/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Generic/Queue`1.xml b/xml/System.Collections.Generic/Queue`1.xml index 8cdbaae207d..a10771f6cf2 100644 --- a/xml/System.Collections.Generic/Queue`1.xml +++ b/xml/System.Collections.Generic/Queue`1.xml @@ -130,7 +130,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/QueueT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/QueueT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Queue/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/QueueT/Overview/source.vb" id="Snippet1"::: ]]> @@ -163,7 +163,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/QueueT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/QueueT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Queue/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/QueueT/Overview/source.vb" id="Snippet1"::: ]]> @@ -428,7 +428,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/QueueT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/QueueT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Queue/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/QueueT/Overview/source.vb" id="Snippet1"::: ]]> @@ -502,7 +502,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/QueueT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/QueueT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Queue/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/QueueT/Overview/source.vb" id="Snippet1"::: ]]> @@ -644,7 +644,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/QueueT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/QueueT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Queue/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/QueueT/Overview/source.vb" id="Snippet1"::: ]]> @@ -715,7 +715,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/QueueT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/QueueT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Queue/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/QueueT/Overview/source.vb" id="Snippet1"::: ]]> @@ -789,7 +789,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/QueueT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/QueueT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Queue/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/QueueT/Overview/source.vb" id="Snippet1"::: ]]> @@ -909,7 +909,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/QueueT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/QueueT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Queue/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/QueueT/Overview/source.vb" id="Snippet1"::: ]]> @@ -982,7 +982,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/QueueT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/QueueT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Queue/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/QueueT/Overview/source.vb" id="Snippet1"::: ]]> @@ -1410,7 +1410,7 @@ Retrieving the value of this property is an O(1) operation. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/QueueT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/QueueT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Queue/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/QueueT/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Generic/SortedDictionary`2.xml b/xml/System.Collections.Generic/SortedDictionary`2.xml index 17271b88623..710e19d3eb8 100644 --- a/xml/System.Collections.Generic/SortedDictionary`2.xml +++ b/xml/System.Collections.Generic/SortedDictionary`2.xml @@ -133,7 +133,7 @@ The `foreach` statement of the C# language (`For Each` in Visual Basic) returns an object of the type of the elements in the collection. Since each element of the is a key/value pair, the element type is not the type of the key or the type of the value. Instead, the element type is . The following code shows the syntax. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/DictionaryTKey,TValue/Overview/source2.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Dictionary/VB/source2.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/DictionaryTKey,TValue/Overview/source2.vb" id="Snippet11"::: The `foreach` statement is a wrapper around the enumerator, which allows only reading from the collection, not writing to it. @@ -149,7 +149,7 @@ Finally, the example demonstrates the method. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary/VB/source.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.vb" id="Snippet1"::: ]]> @@ -230,7 +230,7 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.cs" interactive="try-dotnet-method" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.vb" id="Snippet2"::: ]]> @@ -302,7 +302,7 @@ The following code example creates a with a case-insensitive comparer for the current culture. The example adds four elements, some with lower-case keys and some with upper-case keys. The example then attempts to add an element with a key that differs from an existing key only by case, catches the resulting exception, and displays an error message. Finally, the example displays the elements in case-insensitive sort order. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/.ctor/source.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.ctor_IComp/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/.ctor/source.vb" id="Snippet1"::: ]]> @@ -373,7 +373,7 @@ The following code example shows how to use to create a sorted copy of the information in a , by passing the to the constructor. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/.ctor/source1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.ctor_IDic/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/.ctor/source1.vb" id="Snippet1"::: ]]> @@ -452,7 +452,7 @@ The following code example shows how to use to create a case-insensitive sorted copy of the information in a case-insensitive , by passing the to the constructor. In this example, the case-insensitive comparers are for the current culture. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/.ctor/source2.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.ctor_IDicIComp/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -532,7 +532,7 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.cs" interactive="try-dotnet-method" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.vb" id="Snippet2"::: ]]> @@ -713,11 +713,11 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.vb" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.vb" id="Snippet4"::: ]]> @@ -1053,11 +1053,11 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.vb" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.vb" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.vb" id="Snippet5"::: ]]> @@ -1124,9 +1124,9 @@ This code is part of a larger example that can be compiled and executed. See . :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary/VB/source.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.vb" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.vb" id="Snippet7"::: ]]> @@ -1197,7 +1197,7 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary/VB/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.vb" id="Snippet10"::: ]]> @@ -1915,7 +1915,7 @@ Getting the value of this property is an O(1) operation. The code example demonstrates the use of several other members of the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet1"::: ]]> @@ -1997,11 +1997,11 @@ Getting the value of this property is an O(1) operation. The code example is part of a larger example, including output, provided for the method. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet31"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet32"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb" id="Snippet32"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet32"::: ]]> @@ -2084,11 +2084,11 @@ Getting the value of this property is an O(1) operation. The code example is part of a larger example, including output, provided for the method. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet31"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet32"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb" id="Snippet32"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet32"::: ]]> @@ -2285,13 +2285,13 @@ Getting the value of this property is an O(1) operation. The code example is part of a larger example, including output, provided for the method. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet31"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet32"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb" id="Snippet32"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet32"::: ]]> @@ -2369,13 +2369,13 @@ Getting the value of this property is an O(1) operation. The code example is part of a larger example, including output, provided for the method. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet31"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet9"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb" id="Snippet9"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet32"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb" id="Snippet32"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet32"::: ]]> @@ -2441,11 +2441,11 @@ Getting the value of this property is an O(1) operation. The code example is part of a larger example, including output, provided for the method. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet31"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet10"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb" id="Snippet10"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet32"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb" id="Snippet32"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet32"::: ]]> @@ -2517,13 +2517,13 @@ Getting the value of this property is an O(1) operation. The code example is part of a larger example, including output, provided for the method. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet31"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet8"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb" id="Snippet8"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet32"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary.IDictionary/VB/source.vb" id="Snippet32"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet32"::: ]]> @@ -2677,9 +2677,9 @@ Getting the value of this property is an O(1) operation. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.vb" id="Snippet4"::: ]]> @@ -2746,9 +2746,9 @@ Getting the value of this property is an O(1) operation. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary/VB/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.vb" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedDictionary/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedDictionaryTKey,TValue/Overview/source.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Collections.Generic/SortedList`2.xml b/xml/System.Collections.Generic/SortedList`2.xml index 5b0a6664182..dae91304b21 100644 --- a/xml/System.Collections.Generic/SortedList`2.xml +++ b/xml/System.Collections.Generic/SortedList`2.xml @@ -128,7 +128,7 @@ Another difference between the and classes is that supports efficient indexed retrieval of keys and values through the collections returned by the and properties. It is not necessary to regenerate the lists when the properties are accessed, because the lists are just wrappers for the internal arrays of keys and values. The following code shows the use of the property for indexed retrieval of values from a sorted list of strings: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/Overview/remarks.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/remarks.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/remarks.vb" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/SortedListTKey,TValue/Overview/remarks.fs" id="Snippet11"::: is implemented as an array of key/value pairs, sorted by the key. Each element can be retrieved as a object. @@ -144,7 +144,7 @@ The `foreach` statement of the C# language (`For Each` in Visual Basic) returns an object of the type of the elements in the collection. Since the elements of the are key/value pairs, the element type is not the type of the key or the type of the value. Instead, the element type is . For example: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/Overview/remarks.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/remarks.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/remarks.vb" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/SortedListTKey,TValue/Overview/remarks.fs" id="Snippet12"::: The `foreach` statement is a wrapper around the enumerator, which only allows reading from, not writing to, the collection. @@ -163,7 +163,7 @@ Finally, the example demonstrates the method. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/source.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.fs" id="Snippet1"::: ]]> @@ -242,7 +242,7 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.cs" interactive="try-dotnet-method" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/source.vb" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.fs" id="Snippet2"::: ]]> @@ -318,7 +318,7 @@ The following code example creates a sorted list with a case-insensitive comparer for the current culture. The example adds four elements, some with lower-case keys and some with upper-case keys. The example then attempts to add an element with a key that differs from an existing key only by case, catches the resulting exception, and displays an error message. Finally, the example displays the elements in case-insensitive sort order. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/.ctor/source.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.ctor_IComp/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/.ctor/source.vb" id="Snippet1"::: ]]> @@ -390,7 +390,7 @@ The following code example shows how to use to create a sorted copy of the information in a , by passing the to the constructor. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/.ctor/source1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.ctor_IDic/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/.ctor/source1.vb" id="Snippet1"::: ]]> @@ -464,7 +464,7 @@ The following code example creates a sorted list with an initial capacity of 4 and populates it with 4 entries. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/.ctor/source3.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.ctor_Int32/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/.ctor/source3.vb" id="Snippet1"::: ]]> @@ -544,7 +544,7 @@ The following code example shows how to use to create a case-insensitive sorted copy of the information in a case-insensitive , by passing the to the constructor. In this example, the case-insensitive comparers are for the current culture. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/.ctor/source2.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.ctor_IDicIComp/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -631,7 +631,7 @@ The following code example creates a sorted list with an initial capacity of 5 and a case-insensitive comparer for the current culture. The example adds four elements, some with lower-case keys and some with upper-case keys. The example then attempts to add an element with a key that differs from an existing key only by case, catches the resulting exception, and displays an error message. Finally, the example displays the elements in case-insensitive sort order. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/.ctor/source4.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.ctor_Int32IComp/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/.ctor/source4.vb" id="Snippet1"::: ]]> @@ -710,7 +710,7 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.cs" interactive="try-dotnet-method" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/source.vb" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.fs" id="Snippet2"::: ]]> @@ -956,13 +956,13 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/source.vb" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.fs" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/source.vb" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.fs" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/source.vb" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.fs" id="Snippet4"::: ]]> @@ -1412,13 +1412,13 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/source.vb" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.fs" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/source.vb" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.fs" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/source.vb" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.fs" id="Snippet5"::: ]]> @@ -1484,7 +1484,7 @@ The collection returned by the property provides an efficient way to retrieve keys by index. It is not necessary to regenerate the list when the property is accessed, because the list is just a wrapper for the internal array of keys. The following code shows the use of the property for indexed retrieval of keys from a sorted list of elements with string keys: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/Overview/remarks.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/remarks.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/remarks.vb" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/SortedListTKey,TValue/Overview/remarks.fs" id="Snippet11"::: Retrieving the value of this property is an O(1) operation. @@ -1499,10 +1499,10 @@ This code is part of a larger example that can be compiled and executed. See . :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/source.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/source.vb" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.fs" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/source.vb" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.fs" id="Snippet7"::: ]]> @@ -1571,7 +1571,7 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/source.vb" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.fs" id="Snippet10"::: ]]> @@ -2430,7 +2430,7 @@ Retrieving the value of this property is an O(1) operation. The code example demonstrates the use of several other members of the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet1"::: ]]> @@ -2511,11 +2511,11 @@ Retrieving the value of this property is an O(1) operation. The code example is part of a larger example, including output, provided for the method. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet31"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet32"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb" id="Snippet32"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet32"::: ]]> @@ -2597,11 +2597,11 @@ Retrieving the value of this property is an O(1) operation. The code example is part of a larger example, including output, provided for the method. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet31"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet32"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb" id="Snippet32"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet32"::: ]]> @@ -2801,13 +2801,13 @@ Retrieving the value of this property is an O(1) operation. The code example is part of a larger example, including output, provided for the method. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet31"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet32"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb" id="Snippet32"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet32"::: ]]> @@ -2885,13 +2885,13 @@ Retrieving the value of this property is an O(1) operation. The code example is part of a larger example, including output, provided for the method. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet31"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet9"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb" id="Snippet9"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet32"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb" id="Snippet32"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet32"::: ]]> @@ -2958,11 +2958,11 @@ Retrieving the value of this property is an O(1) operation. The code example is part of a larger example, including output, provided for the method. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet31"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet10"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb" id="Snippet10"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet32"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb" id="Snippet32"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet32"::: ]]> @@ -3035,13 +3035,13 @@ Retrieving the value of this property is an O(1) operation. The code example is part of a larger example, including output, provided for the method. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet31"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet8"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb" id="Snippet8"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.cs" id="Snippet32"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList.IDictionary/VB/source.vb" id="Snippet32"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/System.Collections.IDictionary.Add/source.vb" id="Snippet32"::: ]]> @@ -3251,10 +3251,10 @@ Retrieving the value of this property is an O(1) operation. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/source.vb" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.fs" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/source.vb" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.fs" id="Snippet4"::: ]]> @@ -3322,7 +3322,7 @@ Retrieving the value of this property is an O(1) operation. The collection returned by the property provides an efficient way to retrieve values by index. It is not necessary to regenerate the list when the property is accessed, because the list is just a wrapper for the internal array of values. The following code shows the use of the property for indexed retrieval of values from a sorted list of strings: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/Overview/remarks.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/remarks.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/remarks.vb" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/SortedListTKey,TValue/Overview/remarks.fs" id="Snippet11"::: Retrieving the value of this property is an O(1) operation. @@ -3337,10 +3337,10 @@ Retrieving the value of this property is an O(1) operation. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/source.vb" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.fs" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.SortedList/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedListTKey,TValue/Overview/source.vb" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/SortedListTKey,TValue/Overview/source.fs" id="Snippet7"::: ]]> diff --git a/xml/System.Collections.Generic/SortedSet`1.xml b/xml/System.Collections.Generic/SortedSet`1.xml index 1bb24d3b44d..69a8ef0adcf 100644 --- a/xml/System.Collections.Generic/SortedSet`1.xml +++ b/xml/System.Collections.Generic/SortedSet`1.xml @@ -139,7 +139,7 @@ This example demonstrates how to create a sorted set of media file names, remove unwanted elements, view a range of elements, and compare the set with another sorted set. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedSetT/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedSetT/Overview/program.vb" id="Snippet1"::: ]]> @@ -254,9 +254,9 @@ The following example defines a comparer (`ByFileExtension`) that is used to construct a sorted set that sorts file names by their extensions. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedSetT/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedSetT/Overview/program.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedSetT/Overview/program.cs" id="Snippet9"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb" id="Snippet9"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedSetT/Overview/program.vb" id="Snippet9"::: ]]> @@ -495,7 +495,7 @@ The following example adds elements to a sorted set. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedSetT/Overview/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedSetT/Overview/program.vb" id="Snippet3"::: ]]> @@ -1036,7 +1036,7 @@ The following example uses the method to create a set of sets. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedSetT/Overview/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedSetT/Overview/program.vb" id="Snippet7"::: ]]> @@ -1100,7 +1100,7 @@ The following example removes elements from a sorted set that are duplicated in another sorted set. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedSetT/Overview/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedSetT/Overview/program.vb" id="Snippet6"::: ]]> @@ -1269,7 +1269,7 @@ The following example uses the method to list only the AVI files from a sorted set of media file names. The comparer evaluates file names according to their extensions. The `lowerValue` is "AVI" and the `upperValue` is only one value higher, "AVJ", to get the view of all AVI files. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedSetT/Overview/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedSetT/Overview/program.vb" id="Snippet5"::: ]]> @@ -1950,10 +1950,10 @@ The following example removes unwanted elements from a sorted set. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedSetT/Overview/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedSetT/Overview/program.vb" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedSetT/Overview/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedSetT/Overview/program.vb" id="Snippet4"::: diff --git a/xml/System.Collections.Generic/Stack`1.xml b/xml/System.Collections.Generic/Stack`1.xml index 9a57f63105a..4bdb0e8c5dc 100644 --- a/xml/System.Collections.Generic/Stack`1.xml +++ b/xml/System.Collections.Generic/Stack`1.xml @@ -138,7 +138,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/StackT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/StackT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Stack/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/StackT/Overview/source.vb" id="Snippet1"::: ]]> @@ -222,7 +222,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/StackT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/StackT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Stack/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/StackT/Overview/source.vb" id="Snippet1"::: ]]> @@ -296,7 +296,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/StackT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/StackT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Stack/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/StackT/Overview/source.vb" id="Snippet1"::: ]]> @@ -455,7 +455,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/StackT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/StackT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Stack/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/StackT/Overview/source.vb" id="Snippet1"::: ]]> @@ -528,7 +528,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/StackT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/StackT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Stack/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/StackT/Overview/source.vb" id="Snippet1"::: ]]> @@ -602,7 +602,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/StackT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/StackT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Stack/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/StackT/Overview/source.vb" id="Snippet1"::: ]]> @@ -688,7 +688,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/StackT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/StackT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Stack/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/StackT/Overview/source.vb" id="Snippet1"::: ]]> @@ -804,7 +804,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/StackT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/StackT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Stack/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/StackT/Overview/source.vb" id="Snippet1"::: ]]> @@ -877,7 +877,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/StackT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/StackT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Stack/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/StackT/Overview/source.vb" id="Snippet1"::: ]]> @@ -951,7 +951,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/StackT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/StackT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Stack/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/StackT/Overview/source.vb" id="Snippet1"::: ]]> @@ -1029,7 +1029,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/StackT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/StackT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Stack/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/StackT/Overview/source.vb" id="Snippet1"::: ]]> @@ -1455,7 +1455,7 @@ Retrieving the value of this property is an O(1) operation. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/StackT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/StackT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Generic.Stack/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/StackT/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.ObjectModel/Collection`1.xml b/xml/System.Collections.ObjectModel/Collection`1.xml index 54243f4aad6..2f7e1325590 100644 --- a/xml/System.Collections.ObjectModel/Collection`1.xml +++ b/xml/System.Collections.ObjectModel/Collection`1.xml @@ -139,7 +139,7 @@ The following code example demonstrates many of the properties and methods of . The code example creates a collection of strings, uses the method to add several strings, displays the , and lists the strings. The example uses the method to find the index of a string and the method to determine whether a string is in the collection. The example inserts a string using the method and retrieves and sets strings using the default property (the indexer in C#). The example removes strings by string identity using the method and by index using the method. Finally, the method is used to clear all strings from the collection. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/CollectionT/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObjectModel.Collection/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/CollectionT/Overview/source.vb" id="Snippet1"::: Example 2 @@ -150,7 +150,7 @@ The code example calls several properties and methods of to demonstrate the custom event. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/CollectionT/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObjectModel.CollectionInherited/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/CollectionT/Overview/source1.vb" id="Snippet1"::: ]]> @@ -232,7 +232,7 @@ The following code example demonstrates many of the properties and methods of . The code example creates a collection of strings with the constructor, uses the method to add several strings, displays the , and lists the strings. The example uses the method to find the index of a string and the method to determine whether a string is in the collection. The example inserts a string using the method and retrieves and sets strings using the default property (the indexer in C#). The example removes strings by string identity using the method and by index using the method. Finally, the method is used to clear all strings from the collection. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/CollectionT/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObjectModel.Collection/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/CollectionT/Overview/source.vb" id="Snippet1"::: ]]> @@ -354,7 +354,7 @@ The following code example demonstrates many of the properties and methods of . The code example creates a collection of strings, uses the method to add several strings, displays the , and lists the strings. The example uses the method to find the index of a string and the method to determine whether a string is in the collection. The example inserts a string using the method and retrieves and sets strings using the default property (the indexer in C#). The example removes strings by string identity using the method and by index using the method. Finally, the method is used to clear all strings from the collection. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/CollectionT/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObjectModel.Collection/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/CollectionT/Overview/source.vb" id="Snippet1"::: ]]> @@ -431,7 +431,7 @@ The following code example demonstrates many of the properties and methods of . The code example creates a collection of strings, uses the method to add several strings, displays the , and lists the strings. The example uses the method to find the index of a string and the method to determine whether a string is in the collection. The example inserts a string using the method and retrieves and sets strings using the default property (the indexer in C#). The example removes strings by string identity using the method and by index using the method. Finally, the method is used to clear all strings from the collection. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/CollectionT/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObjectModel.Collection/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/CollectionT/Overview/source.vb" id="Snippet1"::: ]]> @@ -506,7 +506,7 @@ The code example calls several properties and methods of to demonstrate the custom event. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/CollectionT/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObjectModel.CollectionInherited/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/CollectionT/Overview/source1.vb" id="Snippet1"::: ]]> @@ -725,7 +725,7 @@ The following code example demonstrates many of the properties and methods of . The code example creates a collection of strings, uses the method to add several strings, displays the , and lists the strings. The example uses the method to find the index of a string and the method to determine whether a string is in the collection. The example inserts a string using the method and retrieves and sets strings using the default property (the indexer in C#). The example removes strings by string identity using the method and by index using the method. Finally, the method is used to clear all strings from the collection. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/CollectionT/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObjectModel.Collection/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/CollectionT/Overview/source.vb" id="Snippet1"::: ]]> @@ -873,7 +873,7 @@ The following code example demonstrates many of the properties and methods of . The code example creates a collection of strings, uses the method to add several strings, displays the , and lists the strings. The example uses the method to find the index of a string and the method to determine whether a string is in the collection. The example inserts a string using the method and retrieves and sets strings using the default property (the indexer in C#). The example removes strings by string identity using the method and by index using the method. Finally, the method is used to clear all strings from the collection. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/CollectionT/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObjectModel.Collection/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/CollectionT/Overview/source.vb" id="Snippet1"::: ]]> @@ -1029,7 +1029,7 @@ The code example calls several properties and methods of to demonstrate the custom event. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/CollectionT/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObjectModel.CollectionInherited/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/CollectionT/Overview/source1.vb" id="Snippet1"::: ]]> @@ -1114,7 +1114,7 @@ The following code example demonstrates many of the properties and methods of . The code example creates a collection of strings, uses the method to add several strings, displays the , and lists the strings. The example uses the method to find the index of a string and the method to determine whether a string is in the collection. The example inserts a string using the method and retrieves and sets strings using the default property (the indexer in C#). The example removes strings by string identity using the method and by index using the method. Finally, the method is used to clear all strings from the collection. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/CollectionT/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObjectModel.Collection/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/CollectionT/Overview/source.vb" id="Snippet1"::: ]]> @@ -1246,7 +1246,7 @@ The following code example demonstrates many of the properties and methods of . The code example creates a collection of strings, uses the method to add several strings, displays the , and lists the strings. The example uses the method to find the index of a string and the method to determine whether a string is in the collection. The example inserts a string using the method and retrieves and sets strings using the default property (the indexer in C#). The example removes strings by string identity using the method and by index using the method. Finally, the method is used to clear all strings from the collection. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/CollectionT/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObjectModel.Collection/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/CollectionT/Overview/source.vb" id="Snippet1"::: ]]> @@ -1319,7 +1319,7 @@ The following code example demonstrates many of the properties and methods of . The code example creates a collection of strings, uses the method to add several strings, displays the , and lists the strings. The example uses the method to find the index of a string and the method to determine whether a string is in the collection. The example inserts a string using the method and retrieves and sets strings using the default property (the indexer in C#). The example removes strings by string identity using the method and by index using the method. Finally, the method is used to clear all strings from the collection. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/CollectionT/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObjectModel.Collection/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/CollectionT/Overview/source.vb" id="Snippet1"::: ]]> @@ -1403,7 +1403,7 @@ The code example calls several properties and methods of to demonstrate the custom event. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/CollectionT/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObjectModel.CollectionInherited/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/CollectionT/Overview/source1.vb" id="Snippet1"::: ]]> @@ -1478,7 +1478,7 @@ The code example calls several properties and methods of to demonstrate the custom event. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/CollectionT/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObjectModel.CollectionInherited/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/CollectionT/Overview/source1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.ObjectModel/KeyedCollection`2.xml b/xml/System.Collections.ObjectModel/KeyedCollection`2.xml index de6541996cc..fa4638dd74e 100644 --- a/xml/System.Collections.ObjectModel/KeyedCollection`2.xml +++ b/xml/System.Collections.ObjectModel/KeyedCollection`2.xml @@ -113,7 +113,7 @@ The `SimpleOrder` class is a very simple requisition list that contains `OrderItem` objects, each of which represents a line item in the order. The key of `OrderItem` is immutable, an important consideration for classes that derive from . For a code example that uses mutable keys, see . :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/KeyedCollection/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source.vb" id="Snippet1"::: **Example 2** @@ -126,7 +126,7 @@ This code example uses objects with immutable keys. For a code example that uses mutable keys, see . :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/KeyedCollection2/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source1.vb" id="Snippet1"::: ]]> @@ -200,7 +200,7 @@ The `SimpleOrder` class is a very simple requisition list that contains `OrderItem` objects, each of which represents a line item in the order. The key of `OrderItem` is immutable, an important consideration for classes that derive from . For a code example that uses mutable keys, see . :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/KeyedCollection/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source.vb" id="Snippet1"::: ]]> @@ -346,7 +346,7 @@ This code example uses objects with immutable keys. For a code example that uses mutable keys, see . :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/KeyedCollection2/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source1.vb" id="Snippet1"::: ]]> @@ -409,7 +409,7 @@ The code example creates the `MutableKeys` collection, which derives from method. The field is set when the item is added to a collection and cleared when the item is removed. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/ChangeItemKey/source.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/KeyedCollectionMutable/VB/source.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/ClearItems/source.vb" id="Snippet1"::: ]]> @@ -499,7 +499,7 @@ In order to maintain the connection between a `MutableKey` object and the `Mutab This code example uses objects with immutable keys. For a code example that uses mutable keys, see . :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/KeyedCollection2/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source1.vb" id="Snippet1"::: Example 2 @@ -510,7 +510,7 @@ In order to maintain the connection between a `MutableKey` object and the `Mutab In order to maintain the connection between a `MutableKey` object and the `MutableKeys` collection and to prevent an object from being inserted into two collections, the `MutableKey` class has an `internal` (`Friend` in Visual Basic) `Collection` field. This field is maintained by the protected methods that provide custom behavior for adding and removing items from the collection, such as the method. The field is set when the item is added to a collection and cleared when the item is removed. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/ChangeItemKey/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/KeyedCollectionMutable/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/ClearItems/source.vb" id="Snippet1"::: ]]> @@ -627,7 +627,7 @@ In order to maintain the connection between a `MutableKey` object and the `Mutab The `SimpleOrder` class is a very simple requisition list that contains `OrderItem` objects, each of which represents a line item in the order. The key of `OrderItem` is immutable, an important consideration for classes that derive from . For a code example that uses mutable keys, see . :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/KeyedCollection/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source.vb" id="Snippet1"::: ]]> @@ -700,7 +700,7 @@ In order to maintain the connection between a `MutableKey` object and the `Mutab In order to maintain the connection between a `MutableKey` object and the `MutableKeys` collection and to prevent an object from being inserted into two collections, the `MutableKey` class has an `internal` (`Friend` in Visual Basic) `Collection` field. This field is maintained by the protected methods that provide custom behavior for adding and removing items from the collection, such as the method. The field is set when the item is added to a collection and cleared when the item is removed. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/ChangeItemKey/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/KeyedCollectionMutable/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/ClearItems/source.vb" id="Snippet1"::: ]]> @@ -772,7 +772,7 @@ In order to maintain the connection between a `MutableKey` object and the `Mutab The `SimpleOrder` class is a very simple requisition list that contains `OrderItem` objects, each of which represents a line item in the order. The key of `OrderItem` is immutable, an important consideration for classes that derive from . For a code example that uses mutable keys, see . :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/KeyedCollection/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source.vb" id="Snippet1"::: ]]> @@ -856,7 +856,7 @@ In order to maintain the connection between a `MutableKey` object and the `Mutab This code example uses objects with immutable keys. For a code example that uses mutable keys, see . :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/KeyedCollection2/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source1.vb" id="Snippet1"::: Example 2 @@ -867,7 +867,7 @@ In order to maintain the connection between a `MutableKey` object and the `Mutab In order to maintain the connection between a `MutableKey` object and the `MutableKeys` collection and to prevent an object from being inserted into two collections, the `MutableKey` class has an `internal` (`Friend` in Visual Basic) `Collection` field. This field is maintained by the protected methods that provide custom behavior for adding and removing items from the collection, such as the method. The field is set when the item is added to a collection and cleared when the item is removed. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/ChangeItemKey/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/KeyedCollectionMutable/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/ClearItems/source.vb" id="Snippet1"::: ]]> @@ -946,7 +946,7 @@ In order to maintain the connection between a `MutableKey` object and the `Mutab The `SimpleOrder` class is a very simple requisition list that contains `OrderItem` objects, each of which represents a line item in the order. The key of `OrderItem` is immutable, an important consideration for classes that derive from . For a code example that uses mutable keys, see . :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/KeyedCollection/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source.vb" id="Snippet1"::: ]]> @@ -1023,7 +1023,7 @@ In order to maintain the connection between a `MutableKey` object and the `Mutab The `SimpleOrder` class is a very simple requisition list that contains `OrderItem` objects, each of which represents a line item in the order. The key of `OrderItem` is immutable, an important consideration for classes that derive from . For a code example that uses mutable keys, see . :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/KeyedCollection/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source.vb" id="Snippet1"::: ]]> @@ -1107,7 +1107,7 @@ In order to maintain the connection between a `MutableKey` object and the `Mutab This code example uses objects with immutable keys. For a code example that uses mutable keys, see . :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/KeyedCollection2/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source1.vb" id="Snippet1"::: Example 2 @@ -1118,7 +1118,7 @@ In order to maintain the connection between a `MutableKey` object and the `Mutab In order to maintain the connection between a `MutableKey` object and the `MutableKeys` collection and to prevent an object from being inserted into two collections, the `MutableKey` class has an `internal` (`Friend` in Visual Basic) `Collection` field. This field is maintained by the protected methods that provide custom behavior for adding and removing items from the collection, such as the method. The field is set when the item is added to a collection and cleared when the item is removed. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/ChangeItemKey/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/KeyedCollectionMutable/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/ClearItems/source.vb" id="Snippet1"::: ]]> @@ -1203,7 +1203,7 @@ In order to maintain the connection between a `MutableKey` object and the `Mutab This code example uses objects with immutable keys. For a code example that uses mutable keys, see . :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/KeyedCollection2/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/Overview/source1.vb" id="Snippet1"::: Example 2 @@ -1214,7 +1214,7 @@ In order to maintain the connection between a `MutableKey` object and the `Mutab In order to maintain the connection between a `MutableKey` object and the `MutableKeys` collection and to prevent an object from being inserted into two collections, the `MutableKey` class has an `internal` (`Friend` in Visual Basic) `Collection` field. This field is maintained by the protected methods that provide custom behavior for adding and removing items from the collection, such as the method. The field is set when the item is added to a collection and cleared when the item is removed. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/ChangeItemKey/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/KeyedCollectionMutable/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/KeyedCollectionTKey,TItem/ClearItems/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.ObjectModel/ReadOnlyCollection`1.xml b/xml/System.Collections.ObjectModel/ReadOnlyCollection`1.xml index d0275309d84..317af67aafe 100644 --- a/xml/System.Collections.ObjectModel/ReadOnlyCollection`1.xml +++ b/xml/System.Collections.ObjectModel/ReadOnlyCollection`1.xml @@ -135,7 +135,7 @@ Finally, the code example creates an array larger than the collection and uses the method to insert the elements of the collection into the middle of the array. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/ReadOnlyCollectionT/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/generic.ReadOnlyCollection/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/ReadOnlyCollectionT/Overview/source.vb" id="Snippet1"::: ]]> @@ -211,7 +211,7 @@ Finally, the code example creates an array larger than the collection and uses the method to insert the elements of the collection into the middle of the array. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/ReadOnlyCollectionT/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/generic.ReadOnlyCollection/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/ReadOnlyCollectionT/Overview/source.vb" id="Snippet1"::: ]]> @@ -293,7 +293,7 @@ Finally, the code example creates an array larger than the collection and uses the method to insert the elements of the collection into the middle of the array. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/ReadOnlyCollectionT/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/generic.ReadOnlyCollection/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/ReadOnlyCollectionT/Overview/source.vb" id="Snippet1"::: ]]> @@ -370,7 +370,7 @@ Finally, the code example creates an array larger than the collection and uses the method to insert the elements of the collection into the middle of the array. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/ReadOnlyCollectionT/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/generic.ReadOnlyCollection/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/ReadOnlyCollectionT/Overview/source.vb" id="Snippet1"::: ]]> @@ -449,7 +449,7 @@ Finally, the code example creates an array larger than the collection and uses the method to insert the elements of the collection into the middle of the array. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/ReadOnlyCollectionT/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/generic.ReadOnlyCollection/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/ReadOnlyCollectionT/Overview/source.vb" id="Snippet1"::: ]]> @@ -561,7 +561,7 @@ The following code example uses the enumerator to display the contents of a that wraps a . The enumerator is concealed by the `foreach` statement (`For Each` in Visual Basic). :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/ReadOnlyCollectionT/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/generic.ReadOnlyCollection/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/ReadOnlyCollectionT/Overview/source.vb" id="Snippet1"::: ]]> @@ -706,7 +706,7 @@ Finally, the code example creates an array larger than the collection and uses the method to insert the elements of the collection into the middle of the array. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/ReadOnlyCollectionT/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/generic.ReadOnlyCollection/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/ReadOnlyCollectionT/Overview/source.vb" id="Snippet1"::: ]]> @@ -776,7 +776,7 @@ Finally, the code example creates an array larger than the collection and uses the method to insert the elements of the collection into the middle of the array. :::code language="csharp" source="~/snippets/csharp/System.Collections.ObjectModel/ReadOnlyCollectionT/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/generic.ReadOnlyCollection/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.ObjectModel/ReadOnlyCollectionT/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Specialized/BitVector32+Section.xml b/xml/System.Collections.Specialized/BitVector32+Section.xml index fee75177bec..e9371234630 100644 --- a/xml/System.Collections.Specialized/BitVector32+Section.xml +++ b/xml/System.Collections.Specialized/BitVector32+Section.xml @@ -72,7 +72,7 @@ The following code example uses a as a collection of sections. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/BitVector32+Section/Overview/bitvector32_sections.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32_Sections/VB/bitvector32_sections.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/BitVector32+Section/Overview/bitvector32_sections.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Specialized/BitVector32.xml b/xml/System.Collections.Specialized/BitVector32.xml index 22dd3aff7c7..4031c4dde38 100644 --- a/xml/System.Collections.Specialized/BitVector32.xml +++ b/xml/System.Collections.Specialized/BitVector32.xml @@ -71,12 +71,12 @@ The following code example uses a as a collection of bit flags. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/BitVector32/Overview/bitvector32_bitflags.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32_BitFlags/VB/bitvector32_bitflags.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/BitVector32/Overview/bitvector32_bitflags.vb" id="Snippet1"::: The following code example uses a as a collection of sections. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/BitVector32+Section/Overview/bitvector32_sections.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32_Sections/VB/bitvector32_sections.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/BitVector32+Section/Overview/bitvector32_sections.vb" id="Snippet1"::: ]]> @@ -214,7 +214,7 @@ The following code example shows how to create and use masks. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/BitVector32/CreateMask/bitvector32_createmasks.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32.CreateMasks/VB/bitvector32_createmasks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/BitVector32/CreateMask/bitvector32_createmasks.vb" id="Snippet1"::: ]]> @@ -364,7 +364,7 @@ The following code example uses a as a collection of sections. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/BitVector32+Section/Overview/bitvector32_sections.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32_Sections/VB/bitvector32_sections.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/BitVector32+Section/Overview/bitvector32_sections.vb" id="Snippet1"::: ]]> @@ -665,7 +665,7 @@ The following code example compares a with another and with an . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/BitVector32/Equals/bitvector32_equals.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32.Equals/VB/bitvector32_equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/BitVector32/Equals/bitvector32_equals.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Specialized/CollectionsUtil.xml b/xml/System.Collections.Specialized/CollectionsUtil.xml index 1985f814ca4..63e56e5dbd2 100644 --- a/xml/System.Collections.Specialized/CollectionsUtil.xml +++ b/xml/System.Collections.Specialized/CollectionsUtil.xml @@ -65,7 +65,7 @@ The following example uses two collections, a hash table and a sorted list, to hold population values for a group of cities. The values are retrieved from the collections by using the city names as keys. The city names are in mixed case to show their use as case-insensitive keys. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/CollectionsUtil/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.specialized.collectionsutil/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/CollectionsUtil/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Specialized/HybridDictionary.xml b/xml/System.Collections.Specialized/HybridDictionary.xml index 846224337e1..7416cc28ded 100644 --- a/xml/System.Collections.Specialized/HybridDictionary.xml +++ b/xml/System.Collections.Specialized/HybridDictionary.xml @@ -82,7 +82,7 @@ The `foreach` statement of the C# language (`For Each` in Visual Basic) returns an object of the type of the elements in the collection. Since each element of the is a key/value pair, the element type is not the type of the key or the type of the value. Instead, the element type is . For example: :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Overview/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary2/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Overview/source2.vb" id="Snippet2"::: The `foreach` statement is a wrapper around the enumerator, which only allows reading from, not writing to, the collection. @@ -92,7 +92,7 @@ The following code example demonstrates several of the properties and methods of . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Overview/hybriddictionary.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary2/VB/hybriddictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Overview/hybriddictionary.vb" id="Snippet1"::: ]]> @@ -178,7 +178,7 @@ The following code example demonstrates several of the properties and methods of . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Overview/hybriddictionary.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary2/VB/hybriddictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Overview/hybriddictionary.vb" id="Snippet1"::: ]]> @@ -442,7 +442,7 @@ The following code example adds to and removes elements from a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Add/hybriddictionary_addremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_AddRemove/VB/hybriddictionary_addremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Add/hybriddictionary_addremove.vb" id="Snippet1"::: ]]> @@ -513,7 +513,7 @@ The following code example adds to and removes elements from a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Add/hybriddictionary_addremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_AddRemove/VB/hybriddictionary_addremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Add/hybriddictionary_addremove.vb" id="Snippet1"::: ]]> @@ -580,7 +580,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Contains/hybriddictionary_contains.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_Contains/VB/hybriddictionary_contains.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Contains/hybriddictionary_contains.vb" id="Snippet1"::: ]]> @@ -654,7 +654,7 @@ This method uses the collection's objects' and to an array. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/CopyTo/hybriddictionary_copyto.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_CopyTo/VB/hybriddictionary_copyto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/CopyTo/hybriddictionary_copyto.vb" id="Snippet1"::: ]]> @@ -726,7 +726,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_Enumerator/VB/hybriddictionary_enumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.vb" id="Snippet1"::: ]]> @@ -802,7 +802,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_Enumerator/VB/hybriddictionary_enumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.vb" id="Snippet1"::: ]]> @@ -987,7 +987,7 @@ This method uses the collection's objects' and during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Overview/source2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary2/VB/source2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Overview/source2.vb" id="Snippet3"::: Retrieving the value of this property is an O(1) operation. @@ -1070,7 +1070,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_Enumerator/VB/hybriddictionary_enumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.vb" id="Snippet1"::: ]]> @@ -1139,7 +1139,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_Enumerator/VB/hybriddictionary_enumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.vb" id="Snippet1"::: ]]> @@ -1209,7 +1209,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Add/hybriddictionary_addremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_AddRemove/VB/hybriddictionary_addremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Add/hybriddictionary_addremove.vb" id="Snippet1"::: ]]> @@ -1277,7 +1277,7 @@ This method uses the collection's objects' and during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Overview/source2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary2/VB/source2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Overview/source2.vb" id="Snippet3"::: Retrieving the value of this property is an O(1) operation. @@ -1356,7 +1356,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_Enumerator/VB/hybriddictionary_enumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.vb" id="Snippet1"::: ]]> @@ -1423,7 +1423,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_Enumerator/VB/hybriddictionary_enumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Specialized/IOrderedDictionary.xml b/xml/System.Collections.Specialized/IOrderedDictionary.xml index 41af70b606b..abc63b987ff 100644 --- a/xml/System.Collections.Specialized/IOrderedDictionary.xml +++ b/xml/System.Collections.Specialized/IOrderedDictionary.xml @@ -66,7 +66,7 @@ The `foreach` statement of the C# language (`For Each` in Visual Basic) returns an object of the type of the elements in the collection. Because each element of the is a key/value pair, the element type is not the type of the key or the type of the value. Instead, the element type is , as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/IOrderedDictionary/Overview/remarks.cs" id="Snippet03"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/remarks.vb" id="Snippet03"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/IOrderedDictionary/Overview/remarks.vb" id="Snippet03"::: The `foreach` statement is a wrapper around the enumerator, which allows only reading from, not writing to, the collection. @@ -76,7 +76,7 @@ The following code example demonstrates the implementation of a simple based on the class. The implemented stores first names as the keys and last names as the values, with the added requirement that each first name is unique. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.cs" interactive="try-dotnet" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/iordereddictionary.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.vb" id="Snippet00"::: ]]> @@ -155,7 +155,7 @@ The following code example demonstrates the implementation of a simple based on the class. The implemented stores first names as the keys and last names as the values, with the added requirement that each first name is unique. This code is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/iordereddictionary.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.vb" id="Snippet01"::: ]]> @@ -231,7 +231,7 @@ The following code example demonstrates the implementation of a simple based on the class. The implemented stores first names as the keys and last names as the values, with the added requirement that each first name is unique. This code is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/iordereddictionary.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.vb" id="Snippet01"::: ]]> @@ -313,7 +313,7 @@ The C# language uses the [this](/dotnet/csharp/language-reference/keywords/this) This property allows you to access a specific element in the collection by using the following syntax: :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/IOrderedDictionary/Overview/remarks.cs" id="Snippet04"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/remarks.vb" id="Snippet04"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/IOrderedDictionary/Overview/remarks.vb" id="Snippet04"::: @@ -321,7 +321,7 @@ This property allows you to access a specific element in the collection by using The following code example demonstrates the implementation of a simple based on the class. The implemented stores first names as the keys and last names as the values, with the added requirement that each first name is unique. This code is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/iordereddictionary.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.vb" id="Snippet01"::: ]]> @@ -388,7 +388,7 @@ This property allows you to access a specific element in the collection by using The following code example demonstrates the implementation of a simple based on the class. The implemented stores first names as the keys and last names as the values, with the added requirement that each first name is unique. This code is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/iordereddictionary.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Collections.Specialized/ListDictionary.xml b/xml/System.Collections.Specialized/ListDictionary.xml index 7032a34b838..ad30b3e2a83 100644 --- a/xml/System.Collections.Specialized/ListDictionary.xml +++ b/xml/System.Collections.Specialized/ListDictionary.xml @@ -82,7 +82,7 @@ The `foreach` statement of the C# language (`for each` in Visual Basic) returns an object of the type of the elements in the collection. Since each element of the is a key/value pair, the element type is not the type of the key or the type of the value. Instead, the element type is . For example: :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Overview/source2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary2/VB/source2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Overview/source2.vb" id="Snippet3"::: The `foreach` statement is a wrapper around the enumerator, which only allows reading from, not writing to, the collection. @@ -92,7 +92,7 @@ The following code example demonstrates several of the properties and methods of . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Overview/listdictionary.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary2/VB/listdictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Overview/listdictionary.vb" id="Snippet1"::: ]]> @@ -172,7 +172,7 @@ The following code example demonstrates several of the properties and methods of . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Overview/listdictionary.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary2/VB/listdictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Overview/listdictionary.vb" id="Snippet1"::: ]]> @@ -319,7 +319,7 @@ The following code example adds to and removes elements from a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Add/listdictionary_addremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_AddRemove/VB/listdictionary_addremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Add/listdictionary_addremove.vb" id="Snippet1"::: ]]> @@ -388,7 +388,7 @@ The following code example adds to and removes elements from a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Add/listdictionary_addremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_AddRemove/VB/listdictionary_addremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Add/listdictionary_addremove.vb" id="Snippet1"::: ]]> @@ -455,7 +455,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Contains/listdictionary_contains.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_Contains/VB/listdictionary_contains.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Contains/listdictionary_contains.vb" id="Snippet1"::: ]]> @@ -531,7 +531,7 @@ This method uses the collection's objects' and to an array. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/CopyTo/listdictionary_copyto.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_CopyTo/VB/listdictionary_copyto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/CopyTo/listdictionary_copyto.vb" id="Snippet1"::: ]]> @@ -612,7 +612,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.cs" interactive="try-dotnet" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_Enumerator/VB/listdictionary_enumerator.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.vb" id="Snippet1"::: ]]> @@ -688,7 +688,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_Enumerator/VB/listdictionary_enumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.vb" id="Snippet1"::: ]]> @@ -873,7 +873,7 @@ This method uses the collection's objects' and during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Overview/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary2/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Overview/source2.vb" id="Snippet2"::: Retrieving the value of this property is an O(1) operation. @@ -956,7 +956,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_Enumerator/VB/listdictionary_enumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.vb" id="Snippet1"::: ]]> @@ -1025,7 +1025,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_Enumerator/VB/listdictionary_enumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.vb" id="Snippet1"::: ]]> @@ -1093,7 +1093,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Add/listdictionary_addremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_AddRemove/VB/listdictionary_addremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Add/listdictionary_addremove.vb" id="Snippet1"::: ]]> @@ -1161,7 +1161,7 @@ This method uses the collection's objects' and during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Overview/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary2/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Overview/source2.vb" id="Snippet2"::: Retrieving the value of this property is an O(1) operation. @@ -1240,7 +1240,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_Enumerator/VB/listdictionary_enumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.vb" id="Snippet1"::: ]]> @@ -1307,7 +1307,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_Enumerator/VB/listdictionary_enumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Specialized/NameObjectCollectionBase+KeysCollection.xml b/xml/System.Collections.Specialized/NameObjectCollectionBase+KeysCollection.xml index 7e4c940d430..23bfd5f79bc 100644 --- a/xml/System.Collections.Specialized/NameObjectCollectionBase+KeysCollection.xml +++ b/xml/System.Collections.Specialized/NameObjectCollectionBase+KeysCollection.xml @@ -448,7 +448,7 @@ The following code example shows how to lock the collection using the during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase+KeysCollection/System.Collections.ICollection.IsSynchronized/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.specialized.nameobjectcollectionbase.keyscollection/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase+KeysCollection/System.Collections.ICollection.IsSynchronized/source.vb" id="Snippet1"::: Retrieving the value of this property is an O(1) operation. @@ -519,7 +519,7 @@ The following code example shows how to lock the collection using the during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase+KeysCollection/System.Collections.ICollection.IsSynchronized/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.specialized.nameobjectcollectionbase.keyscollection/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase+KeysCollection/System.Collections.ICollection.IsSynchronized/source.vb" id="Snippet1"::: Retrieving the value of this property is an O(1) operation. diff --git a/xml/System.Collections.Specialized/NameObjectCollectionBase.xml b/xml/System.Collections.Specialized/NameObjectCollectionBase.xml index 8f3a59932a3..8eee3b66ca1 100644 --- a/xml/System.Collections.Specialized/NameObjectCollectionBase.xml +++ b/xml/System.Collections.Specialized/NameObjectCollectionBase.xml @@ -100,7 +100,7 @@ The following code example shows how to implement and use the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/Overview/nameobjectcollectionbase.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase/VB/nameobjectcollectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/Overview/nameobjectcollectionbase.vb" id="Snippet1"::: ]]> @@ -645,7 +645,7 @@ The following code example uses to create a new with elements from an . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/BaseAdd/nocb_baseadd.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseAdd/VB/nocb_baseadd.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseAdd/nocb_baseadd.vb" id="Snippet1"::: ]]> @@ -706,7 +706,7 @@ The following code example uses to remove all elements from a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/BaseClear/nocb_baseclear.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseClear/VB/nocb_baseclear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseClear/nocb_baseclear.vb" id="Snippet1"::: ]]> @@ -728,7 +728,7 @@ The following code example uses and to get specific keys and values. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/BaseGetKey/nocb_baseget.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseGet/VB/nocb_baseget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseGetKey/nocb_baseget.vb" id="Snippet1"::: ]]> @@ -906,7 +906,7 @@ The following code example uses and to get an array of the keys or an array of the values. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/BaseGetAllKeys/nocb_basegetall.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseGetAll/VB/nocb_basegetall.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseGetAllKeys/nocb_basegetall.vb" id="Snippet1"::: ]]> @@ -976,7 +976,7 @@ The following code example uses and to get an array of the keys or an array of the values. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/BaseGetAllKeys/nocb_basegetall.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseGetAll/VB/nocb_basegetall.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseGetAllKeys/nocb_basegetall.vb" id="Snippet1"::: ]]> @@ -1099,7 +1099,7 @@ The following code example uses and to get specific keys and values. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/BaseGetKey/nocb_baseget.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseGet/VB/nocb_baseget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseGetKey/nocb_baseget.vb" id="Snippet1"::: ]]> @@ -1161,7 +1161,7 @@ The following code example uses to determine if the collection contains keys that are not `null`. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/BaseHasKeys/nocb_basehaskeys.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseHasKeys/VB/nocb_basehaskeys.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseHasKeys/nocb_basehaskeys.vb" id="Snippet1"::: ]]> @@ -1227,7 +1227,7 @@ The following code example uses and to remove elements from a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/BaseRemove/nocb_baseremove.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseRemove/VB/nocb_baseremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseRemove/nocb_baseremove.vb" id="Snippet1"::: ]]> @@ -1292,7 +1292,7 @@ The following code example uses and to remove elements from a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/BaseRemove/nocb_baseremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseRemove/VB/nocb_baseremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseRemove/nocb_baseremove.vb" id="Snippet1"::: ]]> @@ -1316,7 +1316,7 @@ The following code example uses to set the value of a specific element. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/BaseSet/nocb_baseset.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseSet/VB/nocb_baseset.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseSet/nocb_baseset.vb" id="Snippet1"::: ]]> @@ -1710,7 +1710,7 @@ The following code example creates a read-only collection. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/IsReadOnly/nocb_isreadonly.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.IsReadOnly/VB/nocb_isreadonly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/IsReadOnly/nocb_isreadonly.vb" id="Snippet1"::: ]]> @@ -1962,7 +1962,7 @@ The following code example shows how to lock the collection using the property during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/Overview/remarks.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase/VB/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/Overview/remarks.vb" id="Snippet2"::: Retrieving the value of this property is an O(1) operation. @@ -2030,7 +2030,7 @@ The following code example shows how to lock the collection using the during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/Overview/remarks.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase/VB/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/Overview/remarks.vb" id="Snippet2"::: Retrieving the value of this property is an O(1) operation. diff --git a/xml/System.Collections.Specialized/NameValueCollection.xml b/xml/System.Collections.Specialized/NameValueCollection.xml index f7311b787ea..cc95117e73b 100644 --- a/xml/System.Collections.Specialized/NameValueCollection.xml +++ b/xml/System.Collections.Specialized/NameValueCollection.xml @@ -80,7 +80,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameValueCollection/Overview/nvc.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameValueCollection2/VB/nvc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameValueCollection/Overview/nvc.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Specialized/OrderedDictionary.xml b/xml/System.Collections.Specialized/OrderedDictionary.xml index 443255e8922..b10eeb8bab5 100644 --- a/xml/System.Collections.Specialized/OrderedDictionary.xml +++ b/xml/System.Collections.Specialized/OrderedDictionary.xml @@ -95,7 +95,7 @@ The `foreach` statement of the C# language (`For Each` in Visual Basic) returns objects that are of the type of each element in the collection. Since each element of the collection is a key/value pair, the element type is not the type of the key or the type of the value. Instead, the element type is . The following code shows the syntax. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/source2.cs" id="Snippet06"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/source2.vb" id="Snippet06"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/source2.vb" id="Snippet06"::: The `foreach` statement is a wrapper around the enumerator, which only allows reading from, not writing to, the collection. @@ -105,7 +105,7 @@ The following code example demonstrates the creation, population and modification of an collection, as well as two techniques to display the contents of the : one using the and properties and the other creating an enumerator through the method. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" interactive="try-dotnet" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet00"::: ]]> @@ -174,7 +174,7 @@ The following code example demonstrates the creation and population of an collection. This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet01"::: ]]> @@ -493,7 +493,7 @@ The following code example demonstrates the creation and population of an collection. This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet01"::: ]]> @@ -605,7 +605,7 @@ The following code example demonstrates the modification of an collection. In this example, the method is used to empty the , and then the is repopulated. This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet03"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet03"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet03"::: ]]> @@ -671,7 +671,7 @@ This method uses the collection's objects' and collection. In this example, the method is used to determine if an entry exists before attempting to remove it. This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet02"::: ]]> @@ -783,7 +783,7 @@ This method uses the collection's objects' and collection. In this example, the property is used to remove the last item in the . This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet02"::: ]]> @@ -856,10 +856,10 @@ This method uses the collection's objects' and method to display the contents of the collection to the console. In this example, the method is used to obtain an object that is passed to a method that displays the contents. This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet03"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet03"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet03"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet05"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet05"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet05"::: ]]> @@ -996,7 +996,7 @@ This method uses the collection's objects' and collection. In this example, the method is used to add a new entry to the beginning of the , moving the rest of the entries down. This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet02"::: ]]> @@ -1068,7 +1068,7 @@ This method uses the collection's objects' and collection. In this example, the property is used to determine whether the can be modified. This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet02"::: ]]> @@ -1225,7 +1225,7 @@ This method uses the collection's objects' and collection. In this example, the property is used to modify the dictionary entry with the key `"testKey2"`. This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet02"::: ]]> @@ -1286,10 +1286,10 @@ This method uses the collection's objects' and collection, and then prints the contents to the console. In this example, the and properties are passed to a method that displays the contents. This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet01"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet04"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet04"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet04"::: ]]> @@ -1406,7 +1406,7 @@ This method uses the collection's objects' and collection. In this example, the method is used to remove the entry with the key `"keyToDelete"` from the . This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet02"::: ]]> @@ -1472,7 +1472,7 @@ This method uses the collection's objects' and collection. In this example, the method is used with the property to remove the last entry from the . This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet02"::: ]]> @@ -1805,10 +1805,10 @@ This member is an explicit interface member implementation. It can be used only The following code example demonstrates the creation and population of an collection, and then prints the contents to the console. In this example, the and properties are passed to a method that displays the contents. This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet01"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet04"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet04"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet04"::: ]]> diff --git a/xml/System.Collections.Specialized/StringCollection.xml b/xml/System.Collections.Specialized/StringCollection.xml index c40249d100a..0ef314c8399 100644 --- a/xml/System.Collections.Specialized/StringCollection.xml +++ b/xml/System.Collections.Specialized/StringCollection.xml @@ -83,7 +83,7 @@ The following code example demonstrates several of the properties and methods of . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/Overview/stringcollection.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollection2/VB/stringcollection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/Overview/stringcollection.vb" id="Snippet1"::: ]]> @@ -200,7 +200,7 @@ The following code example adds new elements to the . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/Add/stringcollectionadd.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionAdd/VB/stringcollectionadd.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/Add/stringcollectionadd.vb" id="Snippet1"::: ]]> @@ -273,7 +273,7 @@ The following code example adds new elements to the . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/Add/stringcollectionadd.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionAdd/VB/stringcollectionadd.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/Add/stringcollectionadd.vb" id="Snippet1"::: ]]> @@ -340,7 +340,7 @@ The following code example removes elements from the . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/Clear/stringcollectionremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionRemove/VB/stringcollectionremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/Clear/stringcollectionremove.vb" id="Snippet1"::: ]]> @@ -409,7 +409,7 @@ This method uses the collection's objects' and for an element. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/Contains/stringcollectioncontains.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionContains/VB/stringcollectioncontains.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/Contains/stringcollectioncontains.vb" id="Snippet1"::: ]]> @@ -486,7 +486,7 @@ This method uses the collection's objects' and to an array. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/CopyTo/stringcollectioncopyto.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionCopyTo/VB/stringcollectioncopyto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/CopyTo/stringcollectioncopyto.vb" id="Snippet1"::: ]]> @@ -560,7 +560,7 @@ This method uses the collection's objects' and to an array. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/CopyTo/stringcollectioncopyto.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionCopyTo/VB/stringcollectioncopyto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/CopyTo/stringcollectioncopyto.vb" id="Snippet1"::: ]]> @@ -693,7 +693,7 @@ This method uses the collection's objects' and for an element. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/Contains/stringcollectioncontains.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionContains/VB/stringcollectioncontains.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/Contains/stringcollectioncontains.vb" id="Snippet1"::: ]]> @@ -765,7 +765,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/Add/stringcollectionadd.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionAdd/VB/stringcollectionadd.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/Add/stringcollectionadd.vb" id="Snippet1"::: ]]> @@ -894,7 +894,7 @@ This method uses the collection's objects' and during the entire enumeration: :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/Overview/remarks.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollection2/VB/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/Overview/remarks.vb" id="Snippet2"::: Retrieving the value of this property is an O(1) operation. @@ -1035,7 +1035,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/Clear/stringcollectionremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionRemove/VB/stringcollectionremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/Clear/stringcollectionremove.vb" id="Snippet1"::: ]]> @@ -1102,7 +1102,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/Clear/stringcollectionremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionRemove/VB/stringcollectionremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/Clear/stringcollectionremove.vb" id="Snippet1"::: ]]> @@ -1174,7 +1174,7 @@ This method uses the collection's objects' and during the entire enumeration: :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/Overview/remarks.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollection2/VB/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/Overview/remarks.vb" id="Snippet2"::: Retrieving the value of this property is an O(1) operation. diff --git a/xml/System.Collections.Specialized/StringDictionary.xml b/xml/System.Collections.Specialized/StringDictionary.xml index 9fd711f0277..89be374c9c5 100644 --- a/xml/System.Collections.Specialized/StringDictionary.xml +++ b/xml/System.Collections.Specialized/StringDictionary.xml @@ -88,7 +88,7 @@ The following code example demonstrates several of the properties and methods of . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Overview/stringdictionary.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary/VB/stringdictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Overview/stringdictionary.vb" id="Snippet1"::: ]]> @@ -149,7 +149,7 @@ The following code example demonstrates several of the properties and methods of . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Overview/stringdictionary.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary/VB/stringdictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Overview/stringdictionary.vb" id="Snippet1"::: ]]> @@ -222,7 +222,7 @@ The following code example demonstrates how to add and remove elements from a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Add/stringdictionary_addremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_AddRemove/VB/stringdictionary_addremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Add/stringdictionary_addremove.vb" id="Snippet1"::: ]]> @@ -285,7 +285,7 @@ The following code example demonstrates how to add and remove elements from a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Add/stringdictionary_addremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_AddRemove/VB/stringdictionary_addremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Add/stringdictionary_addremove.vb" id="Snippet1"::: ]]> @@ -351,7 +351,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/ContainsKey/stringdictionary_contains.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Contains/VB/stringdictionary_contains.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/ContainsKey/stringdictionary_contains.vb" id="Snippet1"::: ]]> @@ -419,7 +419,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/ContainsKey/stringdictionary_contains.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Contains/VB/stringdictionary_contains.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/ContainsKey/stringdictionary_contains.vb" id="Snippet1"::: ]]> @@ -487,7 +487,7 @@ This method uses the collection's objects' and @@ -552,7 +552,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Count/stringdictionary_enumeration.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Enumeration/VB/stringdictionary_enumeration.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Count/stringdictionary_enumeration.vb" id="Snippet1"::: ]]> @@ -628,7 +628,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Count/stringdictionary_enumeration.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Enumeration/VB/stringdictionary_enumeration.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Count/stringdictionary_enumeration.vb" id="Snippet1"::: ]]> @@ -689,7 +689,7 @@ This method uses the collection's objects' and during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Overview/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Overview/source2.vb" id="Snippet2"::: Retrieving the value of this property is an O(1) operation. @@ -766,7 +766,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Count/stringdictionary_enumeration.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Enumeration/VB/stringdictionary_enumeration.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Count/stringdictionary_enumeration.vb" id="Snippet1"::: ]]> @@ -831,7 +831,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Count/stringdictionary_enumeration.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Enumeration/VB/stringdictionary_enumeration.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Count/stringdictionary_enumeration.vb" id="Snippet1"::: ]]> @@ -896,7 +896,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Add/stringdictionary_addremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_AddRemove/VB/stringdictionary_addremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Add/stringdictionary_addremove.vb" id="Snippet1"::: ]]> @@ -960,7 +960,7 @@ This method uses the collection's objects' and during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Overview/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Overview/source2.vb" id="Snippet2"::: Retrieving the value of this property is an O(1) operation. @@ -1024,7 +1024,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Count/values.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Enumeration/VB/values.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Count/values.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Collections.Specialized/StringEnumerator.xml b/xml/System.Collections.Specialized/StringEnumerator.xml index 49d1f0bb885..87519e09447 100644 --- a/xml/System.Collections.Specialized/StringEnumerator.xml +++ b/xml/System.Collections.Specialized/StringEnumerator.xml @@ -75,7 +75,7 @@ The following code example demonstrates several of the properties and methods of . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringEnumerator/Overview/stringenumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringEnumerator2/VB/stringenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringEnumerator/Overview/stringenumerator.vb" id="Snippet1"::: ]]> @@ -146,7 +146,7 @@ The following code example demonstrates several of the properties and methods of . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringEnumerator/Overview/stringenumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringEnumerator2/VB/stringenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringEnumerator/Overview/stringenumerator.vb" id="Snippet1"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates several of the properties and methods of . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringEnumerator/Overview/stringenumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringEnumerator2/VB/stringenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringEnumerator/Overview/stringenumerator.vb" id="Snippet1"::: ]]> @@ -276,7 +276,7 @@ The following code example demonstrates several of the properties and methods of . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringEnumerator/Overview/stringenumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringEnumerator2/VB/stringenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringEnumerator/Overview/stringenumerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/ArrayList.xml b/xml/System.Collections/ArrayList.xml index bdd2850e2c0..5d6f046b55e 100644 --- a/xml/System.Collections/ArrayList.xml +++ b/xml/System.Collections/ArrayList.xml @@ -1745,7 +1745,7 @@ This method uses the collection's objects' and , and the enumerator for a range of elements in the . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/GetEnumerator/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/collections.arraylist.getenumerator/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/GetEnumerator/program.vb" id="Snippet1"::: ]]> @@ -1834,7 +1834,7 @@ This method uses the collection's objects' and , and the enumerator for a range of elements in the . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/GetEnumerator/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/collections.arraylist.getenumerator/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/GetEnumerator/program.vb" id="Snippet1"::: ]]> @@ -2693,12 +2693,12 @@ This method uses the collection's objects' and and adds several items. The example demonstrates accessing elements with the property (the indexer in C#), and changing an element by assigning a new value to the property for a specified index. The example also shows that the property cannot be used to access or add elements outside the current size of the list. :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/Item/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Item/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/Item/source.vb" id="Snippet1"::: The following example uses the property explicitly to assign values to items in the list. The example defines a class that inherits an and adds a method to scramble the list items. :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/Item/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Item/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/Item/source2.vb" id="Snippet2"::: ]]> @@ -3858,7 +3858,7 @@ This method uses the collection's objects' and using the default comparer and a custom comparer that reverses the sort order. :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/Sort/arraylist_sort2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Sort_2/VB/arraylist_sort2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/Sort/arraylist_sort2.vb" id="Snippet1"::: ]]> @@ -3941,7 +3941,7 @@ This method uses the collection's objects' and using the default comparer and a custom comparer that reverses the sort order. :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/Sort/arraylist_sort3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Sort_3/VB/arraylist_sort3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/Sort/arraylist_sort3.vb" id="Snippet1"::: ]]> @@ -4338,7 +4338,7 @@ This method uses the collection's objects' and to a string array. :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/ToArray/arraylist_toarray.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.ToArray/VB/arraylist_toarray.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/ToArray/arraylist_toarray.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/CaseInsensitiveComparer.xml b/xml/System.Collections/CaseInsensitiveComparer.xml index 41699c1c217..871ab61916d 100644 --- a/xml/System.Collections/CaseInsensitiveComparer.xml +++ b/xml/System.Collections/CaseInsensitiveComparer.xml @@ -86,7 +86,7 @@ The class is the default implementation of th The following code example creates a case-sensitive hash table and a case-insensitive hash table and demonstrates the difference in their behavior, even if both contain the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/CaseInsensitiveComparer/Overview/caseinsensitive.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CaseInsensitive/VB/caseinsensitive.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CaseInsensitiveComparer/Overview/caseinsensitive.vb" id="Snippet1"::: ]]> @@ -158,7 +158,7 @@ The class is the default implementation of th The following code example creates a case-sensitive hash table and a case-insensitive hash table and demonstrates the difference in their behavior, even if both contain the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/CaseInsensitiveComparer/Overview/caseinsensitive.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CaseInsensitive/VB/caseinsensitive.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CaseInsensitiveComparer/Overview/caseinsensitive.vb" id="Snippet1"::: ]]> @@ -220,7 +220,7 @@ The class is the default implementation of th The following code example creates a case-sensitive hash table and a case-insensitive hash table and demonstrates the difference in their behavior, even if both contain the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/CaseInsensitiveComparer/Overview/caseinsensitive.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CaseInsensitive/VB/caseinsensitive.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CaseInsensitiveComparer/Overview/caseinsensitive.vb" id="Snippet1"::: ]]> @@ -428,7 +428,7 @@ The class is the default implementation of th The following code example creates a case-sensitive hash table and a case-insensitive hash table and demonstrates the difference in their behavior, even if both contain the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/CaseInsensitiveComparer/Overview/caseinsensitive.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CaseInsensitive/VB/caseinsensitive.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CaseInsensitiveComparer/Overview/caseinsensitive.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/CollectionBase.xml b/xml/System.Collections/CollectionBase.xml index 3d3a347664b..84eeb62c456 100644 --- a/xml/System.Collections/CollectionBase.xml +++ b/xml/System.Collections/CollectionBase.xml @@ -89,7 +89,7 @@ A instance is always modifiable. See class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -395,7 +395,7 @@ A instance is always modifiable. See class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -474,7 +474,7 @@ A instance is always modifiable. See class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -585,7 +585,7 @@ A instance is always modifiable. See class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -781,7 +781,7 @@ A instance is always modifiable. See class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -936,7 +936,7 @@ A instance is always modifiable. See class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -1092,7 +1092,7 @@ A instance is always modifiable. See class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -1244,7 +1244,7 @@ A instance is always modifiable. See class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -1456,7 +1456,7 @@ A instance is always modifiable. See during the entire enumeration: :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/remarks.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/remarks.vb" id="Snippet2"::: Retrieving the value of this property is an `O(1)` operation. @@ -1519,7 +1519,7 @@ A instance is always modifiable. See during the entire enumeration: :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/remarks.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/remarks.vb" id="Snippet2"::: Retrieving the value of this property is an `O(1)` operation. @@ -1589,7 +1589,7 @@ A instance is always modifiable. See class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -1668,7 +1668,7 @@ This method uses the collection's objects' and class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -1737,7 +1737,7 @@ This method uses the collection's objects' and class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -1811,7 +1811,7 @@ This method uses the collection's objects' and class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -2017,7 +2017,7 @@ This method uses the collection's objects' and class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -2097,7 +2097,7 @@ This method uses the collection's objects' and class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/Comparer.xml b/xml/System.Collections/Comparer.xml index bca396229f4..6e72f5b50aa 100644 --- a/xml/System.Collections/Comparer.xml +++ b/xml/System.Collections/Comparer.xml @@ -107,7 +107,7 @@ The following code example shows how returns different values depending on the culture associated with the . :::code language="csharp" source="~/snippets/csharp/System.Collections/Comparer/Overview/comparercultures.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Comparer/VB/comparercultures.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Comparer/Overview/comparercultures.vb" id="Snippet1"::: ]]> @@ -178,7 +178,7 @@ The following code example shows how returns different values depending on the culture associated with the . :::code language="csharp" source="~/snippets/csharp/System.Collections/Comparer/Overview/comparercultures.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Comparer/VB/comparercultures.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Comparer/Overview/comparercultures.vb" id="Snippet1"::: ]]> @@ -278,7 +278,7 @@ The following code example shows how returns different values depending on the culture associated with the . :::code language="csharp" source="~/snippets/csharp/System.Collections/Comparer/Overview/comparercultures.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Comparer/VB/comparercultures.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Comparer/Overview/comparercultures.vb" id="Snippet1"::: ]]> @@ -407,7 +407,7 @@ The following code example shows how returns different values depending on the culture associated with the . :::code language="csharp" source="~/snippets/csharp/System.Collections/Comparer/Overview/comparercultures.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Comparer/VB/comparercultures.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Comparer/Overview/comparercultures.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/DictionaryBase.xml b/xml/System.Collections/DictionaryBase.xml index 4d84b5f2204..adb65627772 100644 --- a/xml/System.Collections/DictionaryBase.xml +++ b/xml/System.Collections/DictionaryBase.xml @@ -92,7 +92,7 @@ The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) statemen The following code example implements the class and uses that implementation to create a dictionary of keys and values that have a of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -394,7 +394,7 @@ The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) statemen The following code example implements the class and uses that implementation to create a dictionary of keys and values that have a of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -470,7 +470,7 @@ The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) statemen The following code example implements the class and uses that implementation to create a dictionary of keys and values that have a of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -796,7 +796,7 @@ The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) statemen The following code example implements the class and uses that implementation to create a dictionary of keys and values that have a of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -955,7 +955,7 @@ The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) statemen The following code example implements the class and uses that implementation to create a dictionary of keys and values that have a of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -1115,7 +1115,7 @@ The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) statemen The following code example implements the class and uses that implementation to create a dictionary of keys and values that have a of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -1276,7 +1276,7 @@ The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) statemen The following code example implements the class and uses that implementation to create a dictionary of keys and values that have a of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -1347,7 +1347,7 @@ The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) statemen The following code example shows how to lock the collection using the property during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/source2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/source2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/source2.vb" id="Snippet3"::: Retrieving the value of this property is an `O(1)` operation. @@ -1414,7 +1414,7 @@ The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) statemen The following code example shows how to lock the collection using the property during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/source2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/source2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/source2.vb" id="Snippet3"::: Retrieving the value of this property is an `O(1)` operation. @@ -1488,7 +1488,7 @@ The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) statemen The following code example implements the class and uses that implementation to create a dictionary of keys and values that have a of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -1565,7 +1565,7 @@ This method uses the collection's objects' and class and uses that implementation to create a dictionary of keys and values that have a of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -1760,7 +1760,7 @@ This method uses the collection's objects' and class and uses that implementation to create a dictionary of keys and values that have a of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -1833,7 +1833,7 @@ This method uses the collection's objects' and class and uses that implementation to create a dictionary of keys and values that have a property of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -1901,7 +1901,7 @@ This method uses the collection's objects' and class and uses that implementation to create a dictionary of keys and values that have a of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -1976,7 +1976,7 @@ This method uses the collection's objects' and class and uses that implementation to create a dictionary of keys and values that have a property of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/DictionaryEntry.xml b/xml/System.Collections/DictionaryEntry.xml index 3149f4daa75..d4016611530 100644 --- a/xml/System.Collections/DictionaryEntry.xml +++ b/xml/System.Collections/DictionaryEntry.xml @@ -76,7 +76,7 @@ The is a key/value pair, the element type is not the type of the key or the type of the value. Instead, the element type is . For example: :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Overview/DictionaryEntrySample.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryEntry/vb/DictionaryEntrySample.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Overview/DictionaryEntrySample.vb" id="Snippet01"::: The `foreach` statement is a wrapper around the enumerator, which only allows reading from, not writing to, the collection. @@ -86,7 +86,7 @@ The to iterate through a object. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Overview/DictionaryEntrySample.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryEntry/vb/DictionaryEntrySample.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Overview/DictionaryEntrySample.vb" id="Snippet00"::: ]]> @@ -256,7 +256,7 @@ The property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Key/Dictionary.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/Dictionary.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Key/Dictionary.vb" id="Snippet9"::: ]]> @@ -318,7 +318,7 @@ The property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Key/Dictionary.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/Dictionary.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Key/Dictionary.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Collections/Hashtable.xml b/xml/System.Collections/Hashtable.xml index efa890d2b04..15d46c3b78a 100644 --- a/xml/System.Collections/Hashtable.xml +++ b/xml/System.Collections/Hashtable.xml @@ -146,7 +146,7 @@ Each element is a key/value pair stored in a is a key/value pair, the element type is not the type of the key or the type of the value. Instead, the element type is . For example: :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/Overview/remarks.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ClassExample/vb/remarks.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/Overview/remarks.vb" id="Snippet01"::: The `foreach` statement is a wrapper around the enumerator, which only allows reading from, not writing to, the collection. @@ -161,7 +161,7 @@ Each element is a key/value pair stored in a and how to print out its keys and values. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/Overview/hashtable_example.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ClassExample/vb/hashtable_example.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/Overview/hashtable_example.vb" id="Snippet00"::: :::code language="powershell" source="~/snippets/powershell/VS_Snippets_CLR_System/system.collections.hashtable.class/ps/hashtable.ps1" id="Snippet00"::: ]]> @@ -252,7 +252,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctor/VB/hashtable_ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctor.vb" id="Snippet1"::: ]]> @@ -330,7 +330,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctordictionary.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorDictionary/VB/hashtable_ctordictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctordictionary.vb" id="Snippet1"::: ]]> @@ -417,7 +417,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctor/VB/hashtable_ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctor.vb" id="Snippet1"::: ]]> @@ -492,7 +492,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctorint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorInt/VB/hashtable_ctorint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctorint.vb" id="Snippet1"::: ]]> @@ -589,7 +589,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctordictionary.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorDictionary/VB/hashtable_ctordictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctordictionary.vb" id="Snippet1"::: ]]> @@ -671,7 +671,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctordictionaryfloat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorDictionaryFloat/VB/hashtable_ctordictionaryfloat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctordictionaryfloat.vb" id="Snippet1"::: ]]> @@ -781,7 +781,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctor/VB/hashtable_ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctor.vb" id="Snippet1"::: ]]> @@ -869,7 +869,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctorint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorInt/VB/hashtable_ctorint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctorint.vb" id="Snippet1"::: ]]> @@ -948,7 +948,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctorintfloat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorIntFloat/VB/hashtable_ctorintfloat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctorintfloat.vb" id="Snippet1"::: ]]> @@ -1154,7 +1154,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctordictionary.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorDictionary/VB/hashtable_ctordictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctordictionary.vb" id="Snippet1"::: ]]> @@ -1256,7 +1256,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctordictionaryfloat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorDictionaryFloat/VB/hashtable_ctordictionaryfloat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctordictionaryfloat.vb" id="Snippet1"::: ]]> @@ -1362,7 +1362,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctorint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorInt/VB/hashtable_ctorint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctorint.vb" id="Snippet1"::: ]]> @@ -1454,7 +1454,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctorintfloat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorIntFloat/VB/hashtable_ctorintfloat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctorintfloat.vb" id="Snippet1"::: ]]> @@ -1573,7 +1573,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctordictionaryfloat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorDictionaryFloat/VB/hashtable_ctordictionaryfloat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctordictionaryfloat.vb" id="Snippet1"::: ]]> @@ -1680,7 +1680,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctorintfloat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorIntFloat/VB/hashtable_ctorintfloat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctorintfloat.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/ICollection.xml b/xml/System.Collections/ICollection.xml index 65501117edb..56cfebbd09b 100644 --- a/xml/System.Collections/ICollection.xml +++ b/xml/System.Collections/ICollection.xml @@ -244,7 +244,7 @@ The interface is the base interface for cl The following code example shows how to lock the collection using the property during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections/ICollection/IsSynchronized/remarks.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.icollection/vb/remarks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ICollection/IsSynchronized/remarks.vb" id="Snippet1"::: ]]> @@ -304,14 +304,14 @@ The interface is the base interface for cl In the absence of a `Synchronized` method on a collection, the expected usage for looks as follows: :::code language="csharp" source="~/snippets/csharp/System.Collections/ICollection/IsSynchronized/remarks.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.icollection/vb/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ICollection/IsSynchronized/remarks.vb" id="Snippet2"::: Enumerating through a collection is intrinsically not a thread-safe procedure. Even when a collection is synchronized, other threads can still modify the collection, which causes the enumerator to throw an exception. To guarantee thread safety during enumeration, you can either lock the collection during the entire enumeration or catch the exceptions resulting from changes made by other threads. The following code example shows how to lock the collection using the property during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections/ICollection/IsSynchronized/remarks.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.icollection/vb/remarks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ICollection/IsSynchronized/remarks.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/IDictionary.xml b/xml/System.Collections/IDictionary.xml index a4c90992e2c..ad37126af7a 100644 --- a/xml/System.Collections/IDictionary.xml +++ b/xml/System.Collections/IDictionary.xml @@ -75,7 +75,7 @@ The `foreach` statement of the C# language (`For Each` in Visual Basic) returns an object of the type of the elements in the collection. Since each element of the object is a key/value pair, the element type is not the type of the key or the type of the value. Instead, the element type is . For example: :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Key/remarks.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/remarks.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Key/remarks.vb" id="Snippet14"::: The `foreach` statement is a wrapper around the enumerator, which allows only reading from but not writing to the collection. @@ -85,7 +85,7 @@ The following code example demonstrates how to define a simple dictionary class that implements the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Key/Dictionary.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/Dictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Key/Dictionary.vb" id="Snippet1"::: ]]> @@ -165,7 +165,7 @@ The following code example demonstrates how to implement the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Key/Dictionary.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/Dictionary.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Key/Dictionary.vb" id="Snippet9"::: ]]> @@ -229,7 +229,7 @@ The following code example demonstrates how to implement the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Key/Dictionary.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/Dictionary.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Key/Dictionary.vb" id="Snippet8"::: ]]> @@ -295,7 +295,7 @@ This method uses the collection's objects' and method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Key/Dictionary.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/Dictionary.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Key/Dictionary.vb" id="Snippet5"::: ]]> @@ -428,7 +428,7 @@ This method uses the collection's objects' and property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Key/Dictionary.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/Dictionary.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Key/Dictionary.vb" id="Snippet6"::: ]]> @@ -489,7 +489,7 @@ This method uses the collection's objects' and property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Key/Dictionary.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/Dictionary.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Key/Dictionary.vb" id="Snippet4"::: ]]> @@ -566,7 +566,7 @@ This method uses the collection's objects' and property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Key/Dictionary.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/Dictionary.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Key/Dictionary.vb" id="Snippet13"::: ]]> @@ -634,7 +634,7 @@ This method uses the collection's objects' and property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Key/Dictionary.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/Dictionary.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Key/Dictionary.vb" id="Snippet10"::: ]]> @@ -698,7 +698,7 @@ This method uses the collection's objects' and method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Key/Dictionary.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/Dictionary.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Key/Dictionary.vb" id="Snippet7"::: ]]> @@ -765,7 +765,7 @@ This method uses the collection's objects' and property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Key/Dictionary.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/Dictionary.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Key/Dictionary.vb" id="Snippet11"::: ]]> diff --git a/xml/System.Collections/IDictionaryEnumerator.xml b/xml/System.Collections/IDictionaryEnumerator.xml index 27a4c712dd3..f2aa2507534 100644 --- a/xml/System.Collections/IDictionaryEnumerator.xml +++ b/xml/System.Collections/IDictionaryEnumerator.xml @@ -81,7 +81,7 @@ This code example shows how to define a dictionary enumerator that implements the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Key/Dictionary.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/Dictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Key/Dictionary.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/IEnumerable.xml b/xml/System.Collections/IEnumerable.xml index 3d8cdc2f1c6..52e24e2b8ef 100644 --- a/xml/System.Collections/IEnumerable.xml +++ b/xml/System.Collections/IEnumerable.xml @@ -69,7 +69,7 @@ The following code example demonstrates the best practice for iterating a custom collection by implementing the and interfaces. In this example, members of these interfaces are not explicitly called, but they are implemented to support the use of `foreach` (`For Each` in Visual Basic) to iterate through the collection. This example is a complete Console app. To compile the Visual Basic app, change the **Startup object** to **Sub Main** in the project's **Properties** page. :::code language="csharp" source="~/snippets/csharp/System.Collections/IEnumerable/Overview/ienumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/vb/ienumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IEnumerable/Overview/ienumerator.vb" id="Snippet1"::: ]]> @@ -152,7 +152,7 @@ The following code example demonstrates the implementation of the interfaces for a custom collection. In this example, is not explicitly called, but it is implemented to support the use of `foreach` (`For Each` in Visual Basic). This code example is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IEnumerable/Overview/ienumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/vb/ienumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IEnumerable/Overview/ienumerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/IEnumerator.xml b/xml/System.Collections/IEnumerator.xml index a7ce92f666a..3deb900581a 100644 --- a/xml/System.Collections/IEnumerator.xml +++ b/xml/System.Collections/IEnumerator.xml @@ -87,7 +87,7 @@ The following code example demonstrates the implementation of the and interfaces for a custom collection. In this example, members of these interfaces are not explicitly called, but they are implemented to support the use of `foreach` (`for each` in Visual Basic) to iterate through the collection. :::code language="csharp" source="~/snippets/csharp/System.Collections/IEnumerable/Overview/ienumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/vb/ienumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IEnumerable/Overview/ienumerator.vb" id="Snippet1"::: ]]> @@ -159,7 +159,7 @@ The following code example demonstrates the implementation of the interfaces for a custom collection. In this example, is not explicitly called, but it is implemented to support the use of `foreach` (`for each` in Visual Basic). This code example is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IEnumerable/Overview/ienumerator.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/vb/ienumerator.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IEnumerable/Overview/ienumerator.vb" id="Snippet2"::: ]]> @@ -227,7 +227,7 @@ The following code example demonstrates the implementation of the interfaces for a custom collection. In this example, is not explicitly called, but it is implemented to support the use of `foreach` (`for each` in Visual Basic). This code example is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IEnumerable/Overview/ienumerator.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/vb/ienumerator.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IEnumerable/Overview/ienumerator.vb" id="Snippet2"::: ]]> @@ -292,7 +292,7 @@ The following code example demonstrates the implementation of the interfaces for a custom collection. In this example, is not explicitly called, but it is implemented to support the use of `foreach` (`for each` in Visual Basic). This code example is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IEnumerable/Overview/ienumerator.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/vb/ienumerator.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IEnumerable/Overview/ienumerator.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Collections/IEqualityComparer.xml b/xml/System.Collections/IEqualityComparer.xml index 7baf0bddfd3..74872083fd2 100644 --- a/xml/System.Collections/IEqualityComparer.xml +++ b/xml/System.Collections/IEqualityComparer.xml @@ -132,7 +132,7 @@ The `IEqualityComparer` interface supports only equality comparisons. Customizat The following code example demonstrates the implementation of a case-insensitive . In this example, the method is used to determine whether two objects are equal, based on the provided . :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctor.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctor/VB/hashtable_ctor.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctor.vb" id="Snippet2"::: ]]> @@ -200,7 +200,7 @@ The `IEqualityComparer` interface supports only equality comparisons. Customizat The following code example demonstrates the implementation of a case-insensitive . In this example, the method returns the hash code provided by the type. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctor.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctor/VB/hashtable_ctor.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctor.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Collections/IList.xml b/xml/System.Collections/IList.xml index 3a6227a4059..e2620e0cc41 100644 --- a/xml/System.Collections/IList.xml +++ b/xml/System.Collections/IList.xml @@ -74,7 +74,7 @@ The following example demonstrates the implementation of the interface to create a simple, fixed-size list. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet01"::: ]]> @@ -137,7 +137,7 @@ The following example demonstrates the implementation of the interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -202,7 +202,7 @@ The following example demonstrates the implementation of the interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -268,7 +268,7 @@ This method uses the collection's objects' and interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -332,7 +332,7 @@ This method uses the collection's objects' and interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -400,7 +400,7 @@ This method uses the collection's objects' and interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -470,7 +470,7 @@ This method uses the collection's objects' and interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -531,7 +531,7 @@ This method uses the collection's objects' and interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -598,7 +598,7 @@ This method uses the collection's objects' and interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -665,7 +665,7 @@ This method uses the collection's objects' and interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -736,7 +736,7 @@ This method uses the collection's objects' and interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> diff --git a/xml/System.Collections/IStructuralComparable.xml b/xml/System.Collections/IStructuralComparable.xml index 4839f4f68d1..cd68b98dcd0 100644 --- a/xml/System.Collections/IStructuralComparable.xml +++ b/xml/System.Collections/IStructuralComparable.xml @@ -70,7 +70,7 @@ The example then displays the elements in the array in unsorted order, sorts them by the third component (the population in 1970) and displays them, and then sorts them by the sixth component (the population in 2000) and displays them. Note that the example does not directly call the method. The method is called implicitly by the method for each tuple object in the array. :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.compareto/vb/compareto2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto2.vb" id="Snippet2"::: ]]> @@ -173,7 +173,7 @@ The example then displays the elements in the array in unsorted order, sorts them by the third component (the population in 1970) and displays them, and then sorts them by the sixth component (the population in 2000) and displays them. Note that the example does not directly call the implementation. The method is called implicitly by the method for each tuple object in the array. :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.compareto/vb/compareto2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Collections/IStructuralEquatable.xml b/xml/System.Collections/IStructuralEquatable.xml index a001e3cdeac..e67b0fdeb52 100644 --- a/xml/System.Collections/IStructuralEquatable.xml +++ b/xml/System.Collections/IStructuralEquatable.xml @@ -65,12 +65,12 @@ The default equality comparer, `EqualityComparer.Default.Equals`, considers two `NaN` values to be equal. However, in some cases, you may want the comparison of `NaN` values for equality to return `false`, which indicates that the values cannot be compared. The following example defines a `NanComparer` class that implements the interface. It is used by the third example as an argument to the method of the interface that tuples implement. It compares two or two values by using the equality operator. It passes values of any other type to the default equality comparer. :::code language="csharp" source="~/snippets/csharp/System.Collections/IStructuralEquatable/Overview/nanexample1.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.istructuralequatable/vb/nanexample1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections/IStructuralEquatable/Overview/nanexample1.vb" id="Snippet1"::: The following example creates two identical 3-tuple objects whose components consist of three values. The value of the second component is . The example then calls the method, and it calls the method three times. The first time, it passes the default equality comparer that is returned by the property. The second time, it passes the default equality comparer that is returned by the property. The third time, it passes the custom `NanComparer` object. As the output from the example shows, the first three method calls return `true`, whereas the fourth call returns `false`. :::code language="csharp" source="~/snippets/csharp/System.Collections/IStructuralEquatable/Overview/nanexample1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.istructuralequatable/vb/nanexample1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IStructuralEquatable/Overview/nanexample1.vb" id="Snippet2"::: ]]> @@ -146,12 +146,12 @@ The default equality comparer, `EqualityComparer.Default.Equals`, consid The default equality comparer, `EqualityComparer.Default.Equals`, considers two `NaN` values to be equal. However, in some cases, you may want the comparison of `NaN` values for equality to return `false`, which indicates that the values cannot be compared. The following example defines a `NanComparer` class that implements the interface. It compares two or two values by using the equality operator. It passes values of any other type to the default equality comparer. :::code language="csharp" source="~/snippets/csharp/System.Collections/IStructuralEquatable/Overview/nanexample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.istructuralequatable/vb/nanexample1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IStructuralEquatable/Overview/nanexample1.vb" id="Snippet1"::: The following example creates two identical 3-tuple objects whose components consist of three values. The value of the second component is . The example then calls the method, and it calls the method three times. The first time, it passes the default equality comparer that is returned by the property. The second time, it passes the default equality comparer that is returned by the property. The third time, it passes the custom `NanComparer` object. As the output from the example shows, the first three method calls return `true`, whereas the fourth call returns `false`. :::code language="csharp" source="~/snippets/csharp/System.Collections/IStructuralEquatable/Overview/nanexample1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.istructuralequatable/vb/nanexample1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IStructuralEquatable/Overview/nanexample1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Collections/ReadOnlyCollectionBase.xml b/xml/System.Collections/ReadOnlyCollectionBase.xml index f40aa9aab08..b0e13307bc1 100644 --- a/xml/System.Collections/ReadOnlyCollectionBase.xml +++ b/xml/System.Collections/ReadOnlyCollectionBase.xml @@ -82,7 +82,7 @@ A instance is always read-only. The following code example implements the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/ReadOnlyCollectionBase/Overview/readonlycollectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ReadOnlyCollectionBase/VB/readonlycollectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ReadOnlyCollectionBase/Overview/readonlycollectionbase.vb" id="Snippet1"::: ]]> @@ -200,7 +200,7 @@ A instance is always read-only. The following code example implements the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/ReadOnlyCollectionBase/Overview/readonlycollectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ReadOnlyCollectionBase/VB/readonlycollectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ReadOnlyCollectionBase/Overview/readonlycollectionbase.vb" id="Snippet1"::: ]]> @@ -278,7 +278,7 @@ A instance is always read-only. The following code example implements the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/ReadOnlyCollectionBase/Overview/readonlycollectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ReadOnlyCollectionBase/VB/readonlycollectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ReadOnlyCollectionBase/Overview/readonlycollectionbase.vb" id="Snippet1"::: ]]> @@ -337,7 +337,7 @@ A instance is always read-only. The following code example implements the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/ReadOnlyCollectionBase/Overview/readonlycollectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ReadOnlyCollectionBase/VB/readonlycollectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ReadOnlyCollectionBase/Overview/readonlycollectionbase.vb" id="Snippet1"::: ]]> @@ -477,7 +477,7 @@ A instance is always read-only. The following code example shows how to lock the collection using the property during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections/ReadOnlyCollectionBase/Overview/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ReadOnlyCollectionBase/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ReadOnlyCollectionBase/Overview/source2.vb" id="Snippet2"::: Retrieving the value of this property is an `O(1)` operation. @@ -543,7 +543,7 @@ A instance is always read-only. The following code example shows how to lock the collection using the property during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections/ReadOnlyCollectionBase/Overview/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ReadOnlyCollectionBase/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ReadOnlyCollectionBase/Overview/source2.vb" id="Snippet2"::: Retrieving the value of this property is an `O(1)` operation. diff --git a/xml/System.Collections/SortedList.xml b/xml/System.Collections/SortedList.xml index 00659a6e2b3..231e381e5a5 100644 --- a/xml/System.Collections/SortedList.xml +++ b/xml/System.Collections/SortedList.xml @@ -205,7 +205,7 @@ A element can be accessed by its key, like The following code example creates collections using different constructors and demonstrates the differences in the behavior of the collections. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/.ctor/sortedlist_ctor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctor/VB/sortedlist_ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctor.vb" id="Snippet1"::: ]]> @@ -277,7 +277,7 @@ A element can be accessed by its key, like The following code example creates collections using different constructors and demonstrates the differences in the behavior of the collections. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/.ctor/sortedlist_ctor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctor/VB/sortedlist_ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctor.vb" id="Snippet1"::: ]]> @@ -347,7 +347,7 @@ A element can be accessed by its key, like The following code example creates collections using different constructors and demonstrates the differences in the behavior of the collections. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/.ctor/sortedlist_ctordictionary.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctorDictionary/VB/sortedlist_ctordictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctordictionary.vb" id="Snippet1"::: ]]> @@ -419,7 +419,7 @@ A element can be accessed by its key, like The following code example creates collections using different constructors and demonstrates the differences in the behavior of the collections. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/.ctor/sortedlist_ctorint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctorInt/VB/sortedlist_ctorint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctorint.vb" id="Snippet1"::: ]]> @@ -496,7 +496,7 @@ A element can be accessed by its key, like The following code example creates collections using different constructors and demonstrates the differences in the behavior of the collections. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/.ctor/sortedlist_ctorint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctorInt/VB/sortedlist_ctorint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctorint.vb" id="Snippet1"::: ]]> @@ -583,7 +583,7 @@ A element can be accessed by its key, like The following code example creates collections using different constructors and demonstrates the differences in the behavior of the collections. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/.ctor/sortedlist_ctordictionary.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctorDictionary/VB/sortedlist_ctordictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctordictionary.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design.Serialization/CodeDomSerializer.xml b/xml/System.ComponentModel.Design.Serialization/CodeDomSerializer.xml index 3790648f783..2f37d416c70 100644 --- a/xml/System.ComponentModel.Design.Serialization/CodeDomSerializer.xml +++ b/xml/System.ComponentModel.Design.Serialization/CodeDomSerializer.xml @@ -83,7 +83,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IDesignerSerializationManagerSample/CPP/idesignerserializationmanagersample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/CodeDomSerializer/Overview/idesignerserializationmanagersample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IDesignerSerializationManagerSample/VB/idesignerserializationmanagersample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/CodeDomSerializer/Overview/idesignerserializationmanagersample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design.Serialization/CodeDomSerializerException.xml b/xml/System.ComponentModel.Design.Serialization/CodeDomSerializerException.xml index 0b69963e0bf..8d1652cab44 100644 --- a/xml/System.ComponentModel.Design.Serialization/CodeDomSerializerException.xml +++ b/xml/System.ComponentModel.Design.Serialization/CodeDomSerializerException.xml @@ -60,7 +60,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CodeDomSerializerExceptionExample/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/CodeDomSerializerException/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CodeDomSerializerExceptionExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/CodeDomSerializerException/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design.Serialization/ContextStack.xml b/xml/System.ComponentModel.Design.Serialization/ContextStack.xml index 213c8a30df4..71d0b4d790e 100644 --- a/xml/System.ComponentModel.Design.Serialization/ContextStack.xml +++ b/xml/System.ComponentModel.Design.Serialization/ContextStack.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ContextStackExample/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/ContextStack/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ContextStackExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/ContextStack/Overview/class1.vb" id="Snippet1"::: ]]> @@ -123,7 +123,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ContextStackExample/CPP/class1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/ContextStack/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ContextStackExample/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/ContextStack/Overview/class1.vb" id="Snippet2"::: ]]> @@ -390,7 +390,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ContextStackExample/CPP/class1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/ContextStack/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ContextStackExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/ContextStack/Overview/class1.vb" id="Snippet4"::: ]]> @@ -445,7 +445,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ContextStackExample/CPP/class1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/ContextStack/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ContextStackExample/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/ContextStack/Overview/class1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ComponentModel.Design.Serialization/DesignerSerializationManager.xml b/xml/System.ComponentModel.Design.Serialization/DesignerSerializationManager.xml index e2e94501dd4..55d8ddc01d2 100644 --- a/xml/System.ComponentModel.Design.Serialization/DesignerSerializationManager.xml +++ b/xml/System.ComponentModel.Design.Serialization/DesignerSerializationManager.xml @@ -79,17 +79,17 @@ Because of these differences, a different serialization model applies to design-time serialization. This model utilizes a separate serializer object for each data type being serialized. Each serializer provides its small contribution to the problem as a whole. These serializers are all coordinated through a common serialization manager. The serialization manager is responsible for maintaining state between these different serializers. As an example, consider the following class: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/Program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.Serialization.DesignerSerializationManager.SampleObject/VB/Program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/Program.vb" id="Snippet2"::: An instance of this class would utilize three different serializers: one for `SampleObject`, one for strings, and another for integers. The serializer for `SampleObject` is called the root serializer because `SampleObject` is the root of the serialization graph. More complex object graphs can be created as well. For example, consider what would happen if `SampleObject` were changed as follows: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/SampleObject.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.Serialization.DesignerSerializationManager.SampleObject/VB/SampleObject.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/SampleObject.vb" id="Snippet11"::: This allows `SampleObject` to have a child that is another instance of itself. The following code fills in the object graph: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/SampleObject.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.Serialization.DesignerSerializationManager.SampleObject/VB/SampleObject.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializationManager/Overview/SampleObject.vb" id="Snippet12"::: When `root` is serialized, there will be four serializers used: one root serializer, one serializer for the child `SampleObject`, one serializer for `int`, and one serializer for `string`. Serializers are cached based on type, so there is no need to create a serializer for each instance of `SampleObject`. diff --git a/xml/System.ComponentModel.Design.Serialization/DesignerSerializerAttribute.xml b/xml/System.ComponentModel.Design.Serialization/DesignerSerializerAttribute.xml index 7aaa42ebeac..d58ae6572f1 100644 --- a/xml/System.ComponentModel.Design.Serialization/DesignerSerializerAttribute.xml +++ b/xml/System.ComponentModel.Design.Serialization/DesignerSerializerAttribute.xml @@ -76,7 +76,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerSerializerAttribute/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/DesignerSerializerAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerSerializerAttribute/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/DesignerSerializerAttribute/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design.Serialization/IDesignerSerializationManager.xml b/xml/System.ComponentModel.Design.Serialization/IDesignerSerializationManager.xml index 3e1207389cd..90bf5f1495f 100644 --- a/xml/System.ComponentModel.Design.Serialization/IDesignerSerializationManager.xml +++ b/xml/System.ComponentModel.Design.Serialization/IDesignerSerializationManager.xml @@ -58,7 +58,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IDesignerSerializationManagerSample/CPP/idesignerserializationmanagersample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/CodeDomSerializer/Overview/idesignerserializationmanagersample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IDesignerSerializationManagerSample/VB/idesignerserializationmanagersample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/CodeDomSerializer/Overview/idesignerserializationmanagersample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design.Serialization/INameCreationService.xml b/xml/System.ComponentModel.Design.Serialization/INameCreationService.xml index 2c416ee9b20..e2e7d8761fd 100644 --- a/xml/System.ComponentModel.Design.Serialization/INameCreationService.xml +++ b/xml/System.ComponentModel.Design.Serialization/INameCreationService.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/INameCreationServiceExample/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/INameCreationService/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/INameCreationServiceExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/INameCreationService/Overview/class1.vb" id="Snippet1"::: ]]> @@ -125,7 +125,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/INameCreationServiceExample/CPP/class1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/INameCreationService/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/INameCreationServiceExample/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/INameCreationService/Overview/class1.vb" id="Snippet2"::: ]]> @@ -190,7 +190,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/INameCreationServiceExample/CPP/class1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/INameCreationService/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/INameCreationServiceExample/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/INameCreationService/Overview/class1.vb" id="Snippet3"::: ]]> @@ -252,7 +252,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/INameCreationServiceExample/CPP/class1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/INameCreationService/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/INameCreationServiceExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/INameCreationService/Overview/class1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ComponentModel.Design.Serialization/InstanceDescriptor.xml b/xml/System.ComponentModel.Design.Serialization/InstanceDescriptor.xml index 1861bbbbedc..f129f7760ed 100644 --- a/xml/System.ComponentModel.Design.Serialization/InstanceDescriptor.xml +++ b/xml/System.ComponentModel.Design.Serialization/InstanceDescriptor.xml @@ -74,7 +74,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/InstanceDescriptorSample/CPP/instancedescriptor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ITypeDescriptorContext/Overview/instancedescriptor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/InstanceDescriptorSample/VB/instancedescriptor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ITypeDescriptorContext/Overview/instancedescriptor.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design.Serialization/ResolveNameEventArgs.xml b/xml/System.ComponentModel.Design.Serialization/ResolveNameEventArgs.xml index 14dd08d105c..5a9418ba1f4 100644 --- a/xml/System.ComponentModel.Design.Serialization/ResolveNameEventArgs.xml +++ b/xml/System.ComponentModel.Design.Serialization/ResolveNameEventArgs.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MoreEventArgsExamples/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/ResolveNameEventArgs/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MoreEventArgsExamples/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/ResolveNameEventArgs/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design.Serialization/ResolveNameEventHandler.xml b/xml/System.ComponentModel.Design.Serialization/ResolveNameEventHandler.xml index d26ad12c578..cd58811b5a2 100644 --- a/xml/System.ComponentModel.Design.Serialization/ResolveNameEventHandler.xml +++ b/xml/System.ComponentModel.Design.Serialization/ResolveNameEventHandler.xml @@ -74,7 +74,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MoreEventHandlerExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/ResolveNameEventHandler/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MoreEventHandlerExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/ResolveNameEventHandler/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design.Serialization/RootDesignerSerializerAttribute.xml b/xml/System.ComponentModel.Design.Serialization/RootDesignerSerializerAttribute.xml index 7e69a8d6793..25b38b814df 100644 --- a/xml/System.ComponentModel.Design.Serialization/RootDesignerSerializerAttribute.xml +++ b/xml/System.ComponentModel.Design.Serialization/RootDesignerSerializerAttribute.xml @@ -90,7 +90,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IDesignerSerializationManagerSample/CPP/idesignerserializationmanagersample.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/CodeDomSerializer/Overview/idesignerserializationmanagersample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IDesignerSerializationManagerSample/VB/idesignerserializationmanagersample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/CodeDomSerializer/Overview/idesignerserializationmanagersample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel.Design/ActiveDesignerEventArgs.xml b/xml/System.ComponentModel.Design/ActiveDesignerEventArgs.xml index 290a3a7a89d..44761086120 100644 --- a/xml/System.ComponentModel.Design/ActiveDesignerEventArgs.xml +++ b/xml/System.ComponentModel.Design/ActiveDesignerEventArgs.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ActiveDesignerEventArgs/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ActiveDesignerEventArgs/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ActiveDesignerEventArgs/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ActiveDesignerEventArgs/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ActiveDesignerEventHandler.xml b/xml/System.ComponentModel.Design/ActiveDesignerEventHandler.xml index c1703b2d340..ff9f1caaf05 100644 --- a/xml/System.ComponentModel.Design/ActiveDesignerEventHandler.xml +++ b/xml/System.ComponentModel.Design/ActiveDesignerEventHandler.xml @@ -74,7 +74,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ActiveDesignerEventHandlerExample/CPP/activedesignereventhandlerexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ActiveDesignerEventHandler/Overview/activedesignereventhandlerexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ActiveDesignerEventHandlerExample/VB/activedesignereventhandlerexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ActiveDesignerEventHandler/Overview/activedesignereventhandlerexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ArrayEditor.xml b/xml/System.ComponentModel.Design/ArrayEditor.xml index 412e0b2944b..39fe8b92e62 100644 --- a/xml/System.ComponentModel.Design/ArrayEditor.xml +++ b/xml/System.ComponentModel.Design/ArrayEditor.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ArrayEditorExample/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ArrayEditor/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ArrayEditorExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ArrayEditor/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ByteViewer.xml b/xml/System.ComponentModel.Design/ByteViewer.xml index e1337f87dce..a5daec28caf 100644 --- a/xml/System.ComponentModel.Design/ByteViewer.xml +++ b/xml/System.ComponentModel.Design/ByteViewer.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ByteViewerExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ByteViewer/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ByteViewerExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ByteViewer/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/CheckoutException.xml b/xml/System.ComponentModel.Design/CheckoutException.xml index 58952885be4..af9e04b8be1 100644 --- a/xml/System.ComponentModel.Design/CheckoutException.xml +++ b/xml/System.ComponentModel.Design/CheckoutException.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CheckoutExceptionExample/CPP/checkoutexceptionexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/CheckoutException/Overview/checkoutexceptionexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CheckoutExceptionExample/VB/checkoutexceptionexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/CheckoutException/Overview/checkoutexceptionexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/CollectionEditor.xml b/xml/System.ComponentModel.Design/CollectionEditor.xml index 88efa2bad28..9399fbf8150 100644 --- a/xml/System.ComponentModel.Design/CollectionEditor.xml +++ b/xml/System.ComponentModel.Design/CollectionEditor.xml @@ -59,7 +59,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/EditorAttributesExample/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/CollectionEditor/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/EditorAttributesExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/CollectionEditor/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ComponentChangedEventArgs.xml b/xml/System.ComponentModel.Design/ComponentChangedEventArgs.xml index 45745a74ce4..dee3205a5a0 100644 --- a/xml/System.ComponentModel.Design/ComponentChangedEventArgs.xml +++ b/xml/System.ComponentModel.Design/ComponentChangedEventArgs.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComponentChangedEventArgsExample/CPP/componentchangedeventargsexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ComponentChangedEventArgs/Overview/componentchangedeventargsexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComponentChangedEventArgsExample/VB/componentchangedeventargsexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ComponentChangedEventArgs/Overview/componentchangedeventargsexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ComponentChangedEventHandler.xml b/xml/System.ComponentModel.Design/ComponentChangedEventHandler.xml index d789b5a9e2a..3dbe2d24af1 100644 --- a/xml/System.ComponentModel.Design/ComponentChangedEventHandler.xml +++ b/xml/System.ComponentModel.Design/ComponentChangedEventHandler.xml @@ -80,7 +80,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComponentChangedEventHandlerExample/CPP/componentchangedeventhandlerexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ComponentChangedEventHandler/Overview/componentchangedeventhandlerexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComponentChangedEventHandlerExample/VB/componentchangedeventhandlerexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ComponentChangedEventHandler/Overview/componentchangedeventhandlerexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ComponentChangingEventArgs.xml b/xml/System.ComponentModel.Design/ComponentChangingEventArgs.xml index 5756d7b2b7d..440c3ec87ad 100644 --- a/xml/System.ComponentModel.Design/ComponentChangingEventArgs.xml +++ b/xml/System.ComponentModel.Design/ComponentChangingEventArgs.xml @@ -74,7 +74,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComponentChangingEventArgsExample2/CPP/componentchangingeventargsexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ComponentChangingEventArgs/Overview/componentchangingeventargsexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComponentChangingEventArgsExample2/VB/componentchangingeventargsexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ComponentChangingEventArgs/Overview/componentchangingeventargsexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ComponentChangingEventHandler.xml b/xml/System.ComponentModel.Design/ComponentChangingEventHandler.xml index 61f20675f86..50587534ad9 100644 --- a/xml/System.ComponentModel.Design/ComponentChangingEventHandler.xml +++ b/xml/System.ComponentModel.Design/ComponentChangingEventHandler.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComponentChangingEventHandlerExample/CPP/componentchangingeventhandlerexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ComponentChangingEventHandler/Overview/componentchangingeventhandlerexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComponentChangingEventHandlerExample/VB/componentchangingeventhandlerexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ComponentChangingEventHandler/Overview/componentchangingeventhandlerexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ComponentDesigner.xml b/xml/System.ComponentModel.Design/ComponentDesigner.xml index 589fc02ba8d..9fcf1e01cc6 100644 --- a/xml/System.ComponentModel.Design/ComponentDesigner.xml +++ b/xml/System.ComponentModel.Design/ComponentDesigner.xml @@ -88,7 +88,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComponentDesignerExample/CPP/examplecomponent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ComponentDesigner/Overview/examplecomponent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComponentDesignerExample/VB/examplecomponent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ComponentDesigner/Overview/examplecomponent.vb" id="Snippet1"::: ]]> @@ -501,7 +501,7 @@ The following code example demonstrates the use of the method to access designer services. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/TypeDescriptor/GetProperties/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerServices/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/TypeDescriptor/GetProperties/Form1.vb" id="Snippet7"::: ]]> diff --git a/xml/System.ComponentModel.Design/ComponentEventArgs.xml b/xml/System.ComponentModel.Design/ComponentEventArgs.xml index 6603bd9ac6d..ae39ade9678 100644 --- a/xml/System.ComponentModel.Design/ComponentEventArgs.xml +++ b/xml/System.ComponentModel.Design/ComponentEventArgs.xml @@ -66,7 +66,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComponentEventArgsExample/CPP/componenteventargsexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ComponentEventArgs/Overview/componenteventargsexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComponentEventArgsExample/VB/componenteventargsexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ComponentEventArgs/Overview/componenteventargsexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ComponentEventHandler.xml b/xml/System.ComponentModel.Design/ComponentEventHandler.xml index 9ccfb38e8ac..d2298b17c78 100644 --- a/xml/System.ComponentModel.Design/ComponentEventHandler.xml +++ b/xml/System.ComponentModel.Design/ComponentEventHandler.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComponentEventHandlerExample/CPP/componenteventhandlerexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ComponentEventHandler/Overview/componenteventhandlerexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComponentEventHandlerExample/VB/componenteventhandlerexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ComponentEventHandler/Overview/componenteventhandlerexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ComponentRenameEventArgs.xml b/xml/System.ComponentModel.Design/ComponentRenameEventArgs.xml index 1d7014413df..20d43b7d03c 100644 --- a/xml/System.ComponentModel.Design/ComponentRenameEventArgs.xml +++ b/xml/System.ComponentModel.Design/ComponentRenameEventArgs.xml @@ -74,7 +74,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComponentRenameEventArgsExample/CPP/componentrenameeventargsexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ComponentRenameEventArgs/Overview/componentrenameeventargsexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComponentRenameEventArgsExample/VB/componentrenameeventargsexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ComponentRenameEventArgs/Overview/componentrenameeventargsexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ComponentRenameEventHandler.xml b/xml/System.ComponentModel.Design/ComponentRenameEventHandler.xml index 725bfbf947a..f029cff7edf 100644 --- a/xml/System.ComponentModel.Design/ComponentRenameEventHandler.xml +++ b/xml/System.ComponentModel.Design/ComponentRenameEventHandler.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComponentRenameEventHandlerExample/CPP/componentrenameeventhandlerexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ComponentRenameEventHandler/Overview/componentrenameeventhandlerexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComponentRenameEventHandlerExample/VB/componentrenameeventhandlerexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ComponentRenameEventHandler/Overview/componentrenameeventhandlerexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerActionHeaderItem.xml b/xml/System.ComponentModel.Design/DesignerActionHeaderItem.xml index 6f5222684f1..cdebe082e5d 100644 --- a/xml/System.ComponentModel.Design/DesignerActionHeaderItem.xml +++ b/xml/System.ComponentModel.Design/DesignerActionHeaderItem.xml @@ -57,7 +57,7 @@ For a full example of implementing smart tags, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> @@ -123,7 +123,7 @@ For a full example of implementing smart tags, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerActionItem.xml b/xml/System.ComponentModel.Design/DesignerActionItem.xml index 90021d8fc64..f1aa1d5ce2a 100644 --- a/xml/System.ComponentModel.Design/DesignerActionItem.xml +++ b/xml/System.ComponentModel.Design/DesignerActionItem.xml @@ -60,7 +60,7 @@ For a full example of implementing smart tags, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerActionItemCollection.xml b/xml/System.ComponentModel.Design/DesignerActionItemCollection.xml index 0139f0cadcd..72e90158f88 100644 --- a/xml/System.ComponentModel.Design/DesignerActionItemCollection.xml +++ b/xml/System.ComponentModel.Design/DesignerActionItemCollection.xml @@ -48,7 +48,7 @@ The following code example demonstrates how to create a and populate it to form a smart tag list. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> @@ -92,7 +92,7 @@ The following code example demonstrates how to create a and populate it to form a smart tag list. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> @@ -138,7 +138,7 @@ The following code example demonstrates how to create a and populate it to form a smart tag list. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerActionList.xml b/xml/System.ComponentModel.Design/DesignerActionList.xml index d4b3cd89765..7c344fb5b88 100644 --- a/xml/System.ComponentModel.Design/DesignerActionList.xml +++ b/xml/System.ComponentModel.Design/DesignerActionList.xml @@ -66,7 +66,7 @@ For a complete explanation of this code example, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet2"::: ]]> @@ -127,7 +127,7 @@ For a complete explanation of this code example, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet4"::: ]]> @@ -185,7 +185,7 @@ For a complete explanation of this code example, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> @@ -339,7 +339,7 @@ For a complete explanation of this code example, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerActionListCollection.xml b/xml/System.ComponentModel.Design/DesignerActionListCollection.xml index 1ec2bf87abd..1009c249e89 100644 --- a/xml/System.ComponentModel.Design/DesignerActionListCollection.xml +++ b/xml/System.ComponentModel.Design/DesignerActionListCollection.xml @@ -74,10 +74,10 @@ For a full example, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet9"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerActionMethodItem.xml b/xml/System.ComponentModel.Design/DesignerActionMethodItem.xml index d4d797dbe2c..c8b25dbe918 100644 --- a/xml/System.ComponentModel.Design/DesignerActionMethodItem.xml +++ b/xml/System.ComponentModel.Design/DesignerActionMethodItem.xml @@ -57,7 +57,7 @@ For a full example of implementing smart tags, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> @@ -430,7 +430,7 @@ For a full example of implementing smart tags, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerActionPropertyItem.xml b/xml/System.ComponentModel.Design/DesignerActionPropertyItem.xml index a91b88796eb..db129656b93 100644 --- a/xml/System.ComponentModel.Design/DesignerActionPropertyItem.xml +++ b/xml/System.ComponentModel.Design/DesignerActionPropertyItem.xml @@ -66,7 +66,7 @@ The following code example demonstrates how to create a collection of objects. For a full example of implementing smart tags, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> @@ -271,7 +271,7 @@ The following code example demonstrates how to create a collection of objects. For a full example of implementing smart tags, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerActionTextItem.xml b/xml/System.ComponentModel.Design/DesignerActionTextItem.xml index 724a6f7b18c..15283954251 100644 --- a/xml/System.ComponentModel.Design/DesignerActionTextItem.xml +++ b/xml/System.ComponentModel.Design/DesignerActionTextItem.xml @@ -51,7 +51,7 @@ For a full example of implementing smart tags, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> @@ -108,7 +108,7 @@ For a full example of implementing smart tags, see [How to: Attach Smart Tags to a Windows Forms Component](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171830(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet7"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerActionUIService.xml b/xml/System.ComponentModel.Design/DesignerActionUIService.xml index 8d0dad387fb..e98b1e39516 100644 --- a/xml/System.ComponentModel.Design/DesignerActionUIService.xml +++ b/xml/System.ComponentModel.Design/DesignerActionUIService.xml @@ -63,7 +63,7 @@ The following code example demonstrates how to use the method to update a smart tag panel. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet11"::: ]]> @@ -267,7 +267,7 @@ The following code example demonstrates how to use the method to update a smart tag panel. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerAction.AddDesignerActions/VB/designeractions.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerActionHeaderItem/Overview/designeractions.vb" id="Snippet11"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerCollection.xml b/xml/System.ComponentModel.Design/DesignerCollection.xml index db03293da01..e17e0857db3 100644 --- a/xml/System.ComponentModel.Design/DesignerCollection.xml +++ b/xml/System.ComponentModel.Design/DesignerCollection.xml @@ -63,7 +63,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerCollectionExample/CPP/examplecomponent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerCollection/Overview/examplecomponent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerCollectionExample/VB/examplecomponent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerCollection/Overview/examplecomponent.vb" id="Snippet1"::: ]]> @@ -232,7 +232,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerCollectionExample/CPP/examplecomponent.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerCollection/Overview/examplecomponent.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerCollectionExample/VB/examplecomponent.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerCollection/Overview/examplecomponent.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerEventArgs.xml b/xml/System.ComponentModel.Design/DesignerEventArgs.xml index fed310a3a16..e4debb1b273 100644 --- a/xml/System.ComponentModel.Design/DesignerEventArgs.xml +++ b/xml/System.ComponentModel.Design/DesignerEventArgs.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerEventArgsExample/CPP/designereventargsexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerEventArgs/Overview/designereventargsexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerEventArgsExample/VB/designereventargsexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerEventArgs/Overview/designereventargsexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerEventHandler.xml b/xml/System.ComponentModel.Design/DesignerEventHandler.xml index f00458aaba1..4f8a6fb1530 100644 --- a/xml/System.ComponentModel.Design/DesignerEventHandler.xml +++ b/xml/System.ComponentModel.Design/DesignerEventHandler.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerEventHandlerExample/CPP/designereventhandlerexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerEventHandler/Overview/designereventhandlerexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerEventHandlerExample/VB/designereventhandlerexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerEventHandler/Overview/designereventhandlerexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerOptionService.xml b/xml/System.ComponentModel.Design/DesignerOptionService.xml index 9eb19f96c19..552a26691c7 100644 --- a/xml/System.ComponentModel.Design/DesignerOptionService.xml +++ b/xml/System.ComponentModel.Design/DesignerOptionService.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IDesignerOptionServiceExample/CPP/idesigneroptionservicecontrol.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerOptionService/Overview/idesigneroptionservicecontrol.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IDesignerOptionServiceExample/VB/idesigneroptionservicecontrol.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerOptionService/Overview/idesigneroptionservicecontrol.vb" id="Snippet2"::: This works, until you want to move to another page. Also, provides no discovery mechanism. If you do not know what string to pass in, the service cannot find the property value. @@ -82,7 +82,7 @@ The following code example demonstrates accessing the to display the current values of the standard options. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerOptionService/Overview/designeroptionservicecontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerOptionService/VB/designeroptionservicecontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerOptionService/Overview/designeroptionservicecontrol.vb" id="Snippet1"::: ]]> @@ -242,7 +242,7 @@ The following code example shows how you can navigate the collections by named indexers so you can get the value of the `GridSize` option. All three variations return the same value. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerOptionService/Overview/designeroptionservicecontrol.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerOptionService/VB/designeroptionservicecontrol.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerOptionService/Overview/designeroptionservicecontrol.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerTransaction.xml b/xml/System.ComponentModel.Design/DesignerTransaction.xml index a78f2628cf3..dbb7f124263 100644 --- a/xml/System.ComponentModel.Design/DesignerTransaction.xml +++ b/xml/System.ComponentModel.Design/DesignerTransaction.xml @@ -99,7 +99,7 @@ using (host.CreateTransaction() { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerTransaction Sample/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerTransaction/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerTransaction Sample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerTransaction/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerTransactionCloseEventArgs.xml b/xml/System.ComponentModel.Design/DesignerTransactionCloseEventArgs.xml index 992daa3ab8f..e65514b59bd 100644 --- a/xml/System.ComponentModel.Design/DesignerTransactionCloseEventArgs.xml +++ b/xml/System.ComponentModel.Design/DesignerTransactionCloseEventArgs.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerTransactionCloseEventArgsExample/CPP/designertransactioncloseeventargsexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerTransactionCloseEventArgs/Overview/designertransactioncloseeventargsexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerTransactionCloseEventArgsExample/VB/designertransactioncloseeventargsexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerTransactionCloseEventArgs/Overview/designertransactioncloseeventargsexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerTransactionCloseEventHandler.xml b/xml/System.ComponentModel.Design/DesignerTransactionCloseEventHandler.xml index 96aa717a73c..8cce7cae75d 100644 --- a/xml/System.ComponentModel.Design/DesignerTransactionCloseEventHandler.xml +++ b/xml/System.ComponentModel.Design/DesignerTransactionCloseEventHandler.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerTransactionCloseEventHandlerExample/CPP/designertransactioncloseeventhandlerexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerTransactionCloseEventHandler/Overview/designertransactioncloseeventhandlerexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerTransactionCloseEventHandlerExample/VB/designertransactioncloseeventhandlerexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerTransactionCloseEventHandler/Overview/designertransactioncloseeventhandlerexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerVerb.xml b/xml/System.ComponentModel.Design/DesignerVerb.xml index 4cc613ecb8f..93aa9a4fd26 100644 --- a/xml/System.ComponentModel.Design/DesignerVerb.xml +++ b/xml/System.ComponentModel.Design/DesignerVerb.xml @@ -66,7 +66,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerVerb Example/CPP/component1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerVerb/Overview/component1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerb Example/VB/component1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerVerb/Overview/component1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/DesignerVerbCollection.xml b/xml/System.ComponentModel.Design/DesignerVerbCollection.xml index eeeece2391b..a45552c610a 100644 --- a/xml/System.ComponentModel.Design/DesignerVerbCollection.xml +++ b/xml/System.ComponentModel.Design/DesignerVerbCollection.xml @@ -66,7 +66,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerVerbCollectionExample/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb" id="Snippet1"::: ]]> @@ -135,7 +135,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerVerbCollectionExample/CPP/class1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb" id="Snippet2"::: ]]> @@ -235,7 +235,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerVerbCollectionExample/CPP/class1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb" id="Snippet3"::: ]]> @@ -308,7 +308,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerVerbCollectionExample/CPP/class1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -365,7 +365,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerVerbCollectionExample/CPP/class1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb" id="Snippet4"::: ]]> @@ -425,7 +425,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerVerbCollectionExample/CPP/class1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -490,7 +490,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerVerbCollectionExample/CPP/class1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb" id="Snippet6"::: ]]> @@ -547,7 +547,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerVerbCollectionExample/CPP/class1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb" id="Snippet5"::: ]]> @@ -605,7 +605,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerVerbCollectionExample/CPP/class1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb" id="Snippet8"::: ]]> @@ -947,7 +947,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerVerbCollectionExample/CPP/class1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerVerbCollectionExample/VB/class1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerVerbCollection/Overview/class1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.ComponentModel.Design/DisplayMode.xml b/xml/System.ComponentModel.Design/DisplayMode.xml index 8cf3a5f0fb1..9e980007a64 100644 --- a/xml/System.ComponentModel.Design/DisplayMode.xml +++ b/xml/System.ComponentModel.Design/DisplayMode.xml @@ -47,7 +47,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ByteViewerExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ByteViewer/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ByteViewerExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ByteViewer/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/HelpKeywordAttribute.xml b/xml/System.ComponentModel.Design/HelpKeywordAttribute.xml index 2b02c2f22df..9c228556f9b 100644 --- a/xml/System.ComponentModel.Design/HelpKeywordAttribute.xml +++ b/xml/System.ComponentModel.Design/HelpKeywordAttribute.xml @@ -106,7 +106,7 @@ public class DemoComponent : Component The following code example demonstrates using the class to specify a context keyword. For a complete explanation of this code example, see [How to: Apply Attributes in Windows Forms Controls](/dotnet/framework/winforms/controls/how-to-apply-attributes-in-windows-forms-controls). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb" id="Snippet20"::: ]]> diff --git a/xml/System.ComponentModel.Design/IComponentChangeService.xml b/xml/System.ComponentModel.Design/IComponentChangeService.xml index eabbe7e8132..d5d72e4a2ae 100644 --- a/xml/System.ComponentModel.Design/IComponentChangeService.xml +++ b/xml/System.ComponentModel.Design/IComponentChangeService.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IComponentChangeServiceSample2/CPP/icomponentchangeserviceexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IComponentChangeService/Overview/icomponentchangeserviceexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IComponentChangeServiceSample2/VB/icomponentchangeserviceexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IComponentChangeService/Overview/icomponentchangeserviceexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IComponentDiscoveryService.xml b/xml/System.ComponentModel.Design/IComponentDiscoveryService.xml index 1c9aa1d4e82..484bc699eb3 100644 --- a/xml/System.ComponentModel.Design/IComponentDiscoveryService.xml +++ b/xml/System.ComponentModel.Design/IComponentDiscoveryService.xml @@ -54,7 +54,7 @@ The following code example demonstrates how to use to find all the types that derive from the type. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/TypeDescriptor/GetProperties/Form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerServices/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/TypeDescriptor/GetProperties/Form1.vb" id="Snippet13"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to use the method to find all the types that derive from the type. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/TypeDescriptor/GetProperties/Form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerServices/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/TypeDescriptor/GetProperties/Form1.vb" id="Snippet13"::: ]]> diff --git a/xml/System.ComponentModel.Design/IDesigner.xml b/xml/System.ComponentModel.Design/IDesigner.xml index a40421afd7f..9212c9743e9 100644 --- a/xml/System.ComponentModel.Design/IDesigner.xml +++ b/xml/System.ComponentModel.Design/IDesigner.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IDesignerExample/CPP/testcontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IDesigner/Overview/testcontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IDesignerExample/VB/testcontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IDesigner/Overview/testcontrol.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IDesignerEventService.xml b/xml/System.ComponentModel.Design/IDesignerEventService.xml index 2643e26c9ca..109cc35c5c8 100644 --- a/xml/System.ComponentModel.Design/IDesignerEventService.xml +++ b/xml/System.ComponentModel.Design/IDesignerEventService.xml @@ -53,7 +53,7 @@ This example demonstrates a designer that uses the to display event notifications on a control. To use this example, compile the code to a class library. Add a reference to the library to a new Windows Forms project, and add the control within the library to the **Toolbox**. Add an instance of the `DesignerMonitor` control to a form in design mode. Right-click the control and click the `Start monitoring` command to display notifications of events raised by the . :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IDesignerEventServiceExample/CPP/source.cpp" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IDesignerEventServiceExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IDesignerEventService/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IDesignerFilter.xml b/xml/System.ComponentModel.Design/IDesignerFilter.xml index d98e9f1801e..ff49dff2825 100644 --- a/xml/System.ComponentModel.Design/IDesignerFilter.xml +++ b/xml/System.ComponentModel.Design/IDesignerFilter.xml @@ -58,7 +58,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ControlDesignerExample/CPP/controldesignerexample.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IDesignerFilter/Overview/controldesignerexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ControlDesignerExample/VB/controldesignerexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IDesignerFilter/Overview/controldesignerexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel.Design/IDesignerHost.xml b/xml/System.ComponentModel.Design/IDesignerHost.xml index 97f37c3bc87..f4585dc4feb 100644 --- a/xml/System.ComponentModel.Design/IDesignerHost.xml +++ b/xml/System.ComponentModel.Design/IDesignerHost.xml @@ -72,13 +72,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DesignerHostAcquisition/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IDesignerHost/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DesignerHostAcquisition/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IDesignerHost/Overview/source.vb" id="Snippet1"::: The following example code demonstrates using the interface to list project components. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IDesignerHostExample/CPP/idesignerhostexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IDesignerHost/Overview/idesignerhostexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IDesignerHostExample/VB/idesignerhostexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IDesignerHost/Overview/idesignerhostexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IDesignerOptionService.xml b/xml/System.ComponentModel.Design/IDesignerOptionService.xml index ecd7095e6af..a50df982622 100644 --- a/xml/System.ComponentModel.Design/IDesignerOptionService.xml +++ b/xml/System.ComponentModel.Design/IDesignerOptionService.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IDesignerOptionServiceExample/CPP/idesigneroptionservicecontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerOptionService/Overview/idesigneroptionservicecontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IDesignerOptionServiceExample/VB/idesigneroptionservicecontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerOptionService/Overview/idesigneroptionservicecontrol.vb" id="Snippet1"::: ]]> @@ -149,7 +149,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IDesignerOptionServiceExample/CPP/idesigneroptionservicecontrol.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/DesignerOptionService/Overview/idesigneroptionservicecontrol.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IDesignerOptionServiceExample/VB/idesigneroptionservicecontrol.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/DesignerOptionService/Overview/idesigneroptionservicecontrol.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel.Design/IDictionaryService.xml b/xml/System.ComponentModel.Design/IDictionaryService.xml index bbb8496caa1..eb3a4c2ce2e 100644 --- a/xml/System.ComponentModel.Design/IDictionaryService.xml +++ b/xml/System.ComponentModel.Design/IDictionaryService.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IDictionaryServiceExample/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IDictionaryService/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IDictionaryServiceExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IDictionaryService/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IEventBindingService.xml b/xml/System.ComponentModel.Design/IEventBindingService.xml index f6890b38f7f..de14851f122 100644 --- a/xml/System.ComponentModel.Design/IEventBindingService.xml +++ b/xml/System.ComponentModel.Design/IEventBindingService.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IEventBindingServiceExample/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IEventBindingService/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IEventBindingServiceExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IEventBindingService/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IExtenderListService.xml b/xml/System.ComponentModel.Design/IExtenderListService.xml index ca98e2bcf30..f410ce8ed39 100644 --- a/xml/System.ComponentModel.Design/IExtenderListService.xml +++ b/xml/System.ComponentModel.Design/IExtenderListService.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ExtenderListServiceExample/CPP/extenderlistserviceexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IExtenderListService/Overview/extenderlistserviceexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ExtenderListServiceExample/VB/extenderlistserviceexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IExtenderListService/Overview/extenderlistserviceexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IExtenderProviderService.xml b/xml/System.ComponentModel.Design/IExtenderProviderService.xml index 74b43b5d6e4..5fe88426738 100644 --- a/xml/System.ComponentModel.Design/IExtenderProviderService.xml +++ b/xml/System.ComponentModel.Design/IExtenderProviderService.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ExtenderServiceExample/CPP/extenderservicedesigner.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IExtenderProviderService/Overview/extenderservicedesigner.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ExtenderServiceExample/VB/extenderservicedesigner.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IExtenderProviderService/Overview/extenderservicedesigner.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IHelpService.xml b/xml/System.ComponentModel.Design/IHelpService.xml index 7f2629108f4..77b7497532b 100644 --- a/xml/System.ComponentModel.Design/IHelpService.xml +++ b/xml/System.ComponentModel.Design/IHelpService.xml @@ -60,7 +60,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IHelpServiceExample/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IHelpService/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IHelpServiceExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IHelpService/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IMenuCommandService.xml b/xml/System.ComponentModel.Design/IMenuCommandService.xml index a8a7103b689..d86628692b5 100644 --- a/xml/System.ComponentModel.Design/IMenuCommandService.xml +++ b/xml/System.ComponentModel.Design/IMenuCommandService.xml @@ -84,7 +84,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MenuCommand Example/CPP/component1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IMenuCommandService/Overview/component1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MenuCommand Example/VB/component1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IMenuCommandService/Overview/component1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IReferenceService.xml b/xml/System.ComponentModel.Design/IReferenceService.xml index 3731b831a55..0973db71dd1 100644 --- a/xml/System.ComponentModel.Design/IReferenceService.xml +++ b/xml/System.ComponentModel.Design/IReferenceService.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IReferenceServiceExample/CPP/ireferenceserviceexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IReferenceService/Overview/ireferenceserviceexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IReferenceServiceExample/VB/ireferenceserviceexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IReferenceService/Overview/ireferenceserviceexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IResourceService.xml b/xml/System.ComponentModel.Design/IResourceService.xml index 27cf55caef8..56c5adfd4ce 100644 --- a/xml/System.ComponentModel.Design/IResourceService.xml +++ b/xml/System.ComponentModel.Design/IResourceService.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IResourceServiceExample/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IResourceService/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IResourceServiceExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IResourceService/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/IRootDesigner.xml b/xml/System.ComponentModel.Design/IRootDesigner.xml index 387b9ecaa80..a60aa8b0765 100644 --- a/xml/System.ComponentModel.Design/IRootDesigner.xml +++ b/xml/System.ComponentModel.Design/IRootDesigner.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IRootDesigner Sample/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IRootDesigner/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IRootDesigner Sample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IRootDesigner/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ISelectionService.xml b/xml/System.ComponentModel.Design/ISelectionService.xml index 52c463098c5..22255198bc5 100644 --- a/xml/System.ComponentModel.Design/ISelectionService.xml +++ b/xml/System.ComponentModel.Design/ISelectionService.xml @@ -60,7 +60,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ISelectionServiceSample/CPP/selectioncomponent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ISelectionService/Overview/selectioncomponent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ISelectionServiceSample/VB/selectioncomponent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ISelectionService/Overview/selectioncomponent.vb" id="Snippet1"::: ]]> @@ -266,10 +266,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ISelectionService/CPP/csiselectionserviceexample.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ISelectionService/SelectionChanged/csiselectionserviceexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ISelectionService/VB/csiselectionserviceexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ISelectionService/SelectionChanged/csiselectionserviceexample.vb" id="Snippet2"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ISelectionService/CPP/csiselectionserviceexample.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ISelectionService/SelectionChanged/csiselectionserviceexample.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ISelectionService/VB/csiselectionserviceexample.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ISelectionService/SelectionChanged/csiselectionserviceexample.vb" id="Snippet3"::: ]]> @@ -327,10 +327,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ISelectionService/CPP/csiselectionserviceexample.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ISelectionService/SelectionChanged/csiselectionserviceexample.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ISelectionService/VB/csiselectionserviceexample.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ISelectionService/SelectionChanged/csiselectionserviceexample.vb" id="Snippet4"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ISelectionService/CPP/csiselectionserviceexample.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ISelectionService/SelectionChanged/csiselectionserviceexample.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ISelectionService/VB/csiselectionserviceexample.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ISelectionService/SelectionChanged/csiselectionserviceexample.vb" id="Snippet5"::: ]]> diff --git a/xml/System.ComponentModel.Design/IServiceContainer.xml b/xml/System.ComponentModel.Design/IServiceContainer.xml index ee7da955d76..18896312a8e 100644 --- a/xml/System.ComponentModel.Design/IServiceContainer.xml +++ b/xml/System.ComponentModel.Design/IServiceContainer.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IServiceContainerExample/CPP/serviceform.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IServiceContainer/Overview/serviceform.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IServiceContainerExample/VB/serviceform.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/Overview/serviceform.vb" id="Snippet1"::: ]]> @@ -137,7 +137,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ServiceContainerExample/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IServiceContainer/AddService/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ServiceContainerExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/AddService/form1.vb" id="Snippet3"::: ]]> @@ -194,7 +194,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ServiceContainerExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IServiceContainer/AddService/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ServiceContainerExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/AddService/form1.vb" id="Snippet2"::: ]]> @@ -357,7 +357,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ServiceContainerExample/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IServiceContainer/AddService/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ServiceContainerExample/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/AddService/form1.vb" id="Snippet4"::: ]]> @@ -415,7 +415,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ServiceContainerExample/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IServiceContainer/AddService/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ServiceContainerExample/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/AddService/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ComponentModel.Design/ITypeDescriptorFilterService.xml b/xml/System.ComponentModel.Design/ITypeDescriptorFilterService.xml index b6a171fe6eb..8db3241fbb0 100644 --- a/xml/System.ComponentModel.Design/ITypeDescriptorFilterService.xml +++ b/xml/System.ComponentModel.Design/ITypeDescriptorFilterService.xml @@ -71,7 +71,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ITypeDescriptorFilterService/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ITypeDescriptorFilterService/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ITypeDescriptorFilterService/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ITypeDescriptorFilterService/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ITypeResolutionService.xml b/xml/System.ComponentModel.Design/ITypeResolutionService.xml index 81aaa8d9ef2..247167839e2 100644 --- a/xml/System.ComponentModel.Design/ITypeResolutionService.xml +++ b/xml/System.ComponentModel.Design/ITypeResolutionService.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ITypeResolutionServiceExample/CPP/ityperesolutionservicecontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ITypeResolutionService/Overview/ityperesolutionservicecontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ITypeResolutionServiceExample/VB/ityperesolutionservicecontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ITypeResolutionService/Overview/ityperesolutionservicecontrol.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/MenuCommand.xml b/xml/System.ComponentModel.Design/MenuCommand.xml index af204f80e67..3bce2c77a3c 100644 --- a/xml/System.ComponentModel.Design/MenuCommand.xml +++ b/xml/System.ComponentModel.Design/MenuCommand.xml @@ -84,7 +84,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MenuCommand Example/CPP/component1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IMenuCommandService/Overview/component1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MenuCommand Example/VB/component1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IMenuCommandService/Overview/component1.vb" id="Snippet10"::: ]]> @@ -143,7 +143,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MenuCommand Example/CPP/component1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IMenuCommandService/Overview/component1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MenuCommand Example/VB/component1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IMenuCommandService/Overview/component1.vb" id="Snippet1"::: ]]> @@ -349,7 +349,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MenuCommand Example/CPP/component1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IMenuCommandService/Overview/component1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MenuCommand Example/VB/component1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IMenuCommandService/Overview/component1.vb" id="Snippet1"::: ]]> @@ -667,7 +667,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MenuCommand Example/CPP/component1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IMenuCommandService/Overview/component1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MenuCommand Example/VB/component1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IMenuCommandService/Overview/component1.vb" id="Snippet1"::: ]]> @@ -762,7 +762,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MenuCommand Example/CPP/component1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IMenuCommandService/Overview/component1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MenuCommand Example/VB/component1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IMenuCommandService/Overview/component1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/ServiceContainer.xml b/xml/System.ComponentModel.Design/ServiceContainer.xml index 4a07bf8382d..a5b12f944c4 100644 --- a/xml/System.ComponentModel.Design/ServiceContainer.xml +++ b/xml/System.ComponentModel.Design/ServiceContainer.xml @@ -85,7 +85,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ServiceArchitectureExample/CPP/serviceform.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ServiceContainer/Overview/serviceform.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ServiceArchitectureExample/VB/serviceform.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ServiceContainer/Overview/serviceform.vb" id="Snippet1"::: ]]> @@ -272,7 +272,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ServiceContainerExample/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IServiceContainer/AddService/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ServiceContainerExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/AddService/form1.vb" id="Snippet3"::: ]]> @@ -342,7 +342,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ServiceContainerExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IServiceContainer/AddService/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ServiceContainerExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/AddService/form1.vb" id="Snippet2"::: ]]> @@ -779,7 +779,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ServiceContainerExample/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IServiceContainer/AddService/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ServiceContainerExample/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IServiceContainer/AddService/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ComponentModel.Design/ServiceCreatorCallback.xml b/xml/System.ComponentModel.Design/ServiceCreatorCallback.xml index c8ad06bb092..75e9ac5525b 100644 --- a/xml/System.ComponentModel.Design/ServiceCreatorCallback.xml +++ b/xml/System.ComponentModel.Design/ServiceCreatorCallback.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ServiceCreatorCallback Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/ServiceCreatorCallback/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ServiceCreatorCallback Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ServiceCreatorCallback/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/StandardCommands.xml b/xml/System.ComponentModel.Design/StandardCommands.xml index 26312b39893..c0bea93e276 100644 --- a/xml/System.ComponentModel.Design/StandardCommands.xml +++ b/xml/System.ComponentModel.Design/StandardCommands.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MenuCommand Example/CPP/component1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IMenuCommandService/Overview/component1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MenuCommand Example/VB/component1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IMenuCommandService/Overview/component1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Design/StandardToolWindows.xml b/xml/System.ComponentModel.Design/StandardToolWindows.xml index 6d057ea667c..c9b66a014fc 100644 --- a/xml/System.ComponentModel.Design/StandardToolWindows.xml +++ b/xml/System.ComponentModel.Design/StandardToolWindows.xml @@ -56,7 +56,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IUIServiceExample/CPP/class1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/StandardToolWindows/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IUIServiceExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/StandardToolWindows/Overview/class1.vb" id="Snippet5"::: ]]> @@ -398,7 +398,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IUIServiceExample/CPP/class1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/StandardToolWindows/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IUIServiceExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/StandardToolWindows/Overview/class1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.ComponentModel.Design/ViewTechnology.xml b/xml/System.ComponentModel.Design/ViewTechnology.xml index 0c3ca4cf7b2..960c931abcb 100644 --- a/xml/System.ComponentModel.Design/ViewTechnology.xml +++ b/xml/System.ComponentModel.Design/ViewTechnology.xml @@ -68,13 +68,13 @@ The following example demonstrates how to use `ViewTechnology.Default` in a desi :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IRootDesigner Sample/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IRootDesigner/Overview/class1.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IRootDesigner Sample/VB/class1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IRootDesigner/Overview/class1.vb" id="Snippet1"::: The following example demonstrates how to use the `ViewTechnology> enumeration in a designer. This example is part of a larger example provided for the class. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/LocalizationExtenderProviderExample/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/LocalizationExtenderProvider/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/LocalizationExtenderProviderExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/ViewTechnology/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/AddingNewEventArgs.xml b/xml/System.ComponentModel/AddingNewEventArgs.xml index b3d1aed901b..5740311f215 100644 --- a/xml/System.ComponentModel/AddingNewEventArgs.xml +++ b/xml/System.ComponentModel/AddingNewEventArgs.xml @@ -67,7 +67,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AddingNewEventArgs/Overview/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AddingNewEventArgs/Overview/form1.vb" id="Snippet8"::: ]]> @@ -254,7 +254,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AddingNewEventArgs/Overview/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AddingNewEventArgs/Overview/form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.ComponentModel/AddingNewEventHandler.xml b/xml/System.ComponentModel/AddingNewEventHandler.xml index 18e4cfe81cc..b05d6941a33 100644 --- a/xml/System.ComponentModel/AddingNewEventHandler.xml +++ b/xml/System.ComponentModel/AddingNewEventHandler.xml @@ -75,7 +75,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AddingNewEventArgs/Overview/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AddingNewEventArgs/Overview/form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.ComponentModel/AmbientValueAttribute.xml b/xml/System.ComponentModel/AmbientValueAttribute.xml index dac9d65e813..3c98a0bf88f 100644 --- a/xml/System.ComponentModel/AmbientValueAttribute.xml +++ b/xml/System.ComponentModel/AmbientValueAttribute.xml @@ -67,7 +67,7 @@ The following code example demonstrates using to enforce ambient behavior for a property called `AlertForeColor`. For a full code listing, see [How to: Apply Attributes in Windows Forms Controls](/dotnet/framework/winforms/controls/how-to-apply-attributes-in-windows-forms-controls). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb" id="Snippet23"::: ]]> @@ -571,7 +571,7 @@ The following code example demonstrates using to enforce ambient behavior for a property called `AlertForeColor`. For a full code listing, see [How to: Apply Attributes in Windows Forms Controls](/dotnet/framework/winforms/controls/how-to-apply-attributes-in-windows-forms-controls). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb" id="Snippet23"::: ]]> diff --git a/xml/System.ComponentModel/AsyncCompletedEventArgs.xml b/xml/System.ComponentModel/AsyncCompletedEventArgs.xml index a2831e07a0c..e9e79ab148d 100644 --- a/xml/System.ComponentModel/AsyncCompletedEventArgs.xml +++ b/xml/System.ComponentModel/AsyncCompletedEventArgs.xml @@ -68,9 +68,9 @@ The following code example demonstrates using an to track the lifetime of asynchronous operations. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet12"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet12"::: +:::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet12"::: ]]> @@ -239,9 +239,9 @@ The following code example demonstrates the using an to track the lifetime of asynchronous operations. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet12"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet12"::: +:::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet12"::: ]]> @@ -313,9 +313,9 @@ The following code example demonstrates using an to track the lifetime of asynchronous operations. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet12"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet12"::: +:::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet12"::: ]]> @@ -374,7 +374,7 @@ :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet6"::: ]]> @@ -447,9 +447,9 @@ The following code example demonstrates using an to track the lifetime of asynchronous operations. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet12"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet12"::: +:::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet12"::: ]]> diff --git a/xml/System.ComponentModel/AsyncOperation.xml b/xml/System.ComponentModel/AsyncOperation.xml index 751762cba26..1c67cb3c0fe 100644 --- a/xml/System.ComponentModel/AsyncOperation.xml +++ b/xml/System.ComponentModel/AsyncOperation.xml @@ -71,7 +71,7 @@ For a full code listing, see [How to: Implement a Component That Supports the Event-based Asynchronous Pattern](/previous-versions/dotnet/netframework-4.0/9hk12d4y(v=vs.100)). For a full code listing of a client form, see [How to: Implement a Client of the Event-based Asynchronous Pattern](/dotnet/standard/asynchronous-programming-patterns/how-to-implement-a-client-of-the-event-based-asynchronous-pattern). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet3"::: ]]> @@ -242,7 +242,7 @@ :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet5"::: ]]> @@ -329,7 +329,7 @@ Note: Console applications do not synchronize the execution of @@ -459,7 +459,7 @@ Note: Console applications do not synchronize the execution of diff --git a/xml/System.ComponentModel/AsyncOperationManager.xml b/xml/System.ComponentModel/AsyncOperationManager.xml index 0ed6fe37d40..a993d19c104 100644 --- a/xml/System.ComponentModel/AsyncOperationManager.xml +++ b/xml/System.ComponentModel/AsyncOperationManager.xml @@ -67,7 +67,7 @@ For a full code listing, see [How to: Implement a Component That Supports the Event-based Asynchronous Pattern](/previous-versions/dotnet/netframework-4.0/9hk12d4y(v=vs.100)). For a full code listing of a client form, see [How to: Implement a Client of the Event-based Asynchronous Pattern](/dotnet/standard/asynchronous-programming-patterns/how-to-implement-a-client-of-the-event-based-asynchronous-pattern). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet3"::: ]]> @@ -147,7 +147,7 @@ The following code example demonstrates using the method to create an for tracking the duration of asynchronous operations. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ComponentModel/AttributeCollection.xml b/xml/System.ComponentModel/AttributeCollection.xml index 451346f2416..c02af8e0a96 100644 --- a/xml/System.ComponentModel/AttributeCollection.xml +++ b/xml/System.ComponentModel/AttributeCollection.xml @@ -82,11 +82,11 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AttributeCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AttributeCollection/Overview/source.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AttributeCollection/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AttributeCollection/Overview/source.vb" id="Snippet2"::: ]]> @@ -212,7 +212,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection.AttributeCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AttributeCollection/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.AttributeCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AttributeCollection/.ctor/source.vb" id="Snippet1"::: ]]> @@ -348,7 +348,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection.Contains Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AttributeCollection/Contains/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Contains Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AttributeCollection/Contains/source.vb" id="Snippet1"::: ]]> @@ -427,7 +427,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection.Contains1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AttributeCollection/Contains/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Contains1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AttributeCollection/Contains/source1.vb" id="Snippet1"::: ]]> @@ -542,7 +542,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection.Count Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AttributeCollection/Count/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Count Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AttributeCollection/Count/source.vb" id="Snippet1"::: ]]> @@ -776,7 +776,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection.GetEnumerator Example/CPP/Source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AttributeCollection/GetEnumerator/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.GetEnumerator Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AttributeCollection/GetEnumerator/source.vb" id="Snippet1"::: ]]> @@ -851,7 +851,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection.this Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AttributeCollection/Item/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.this Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AttributeCollection/Item/source.vb" id="Snippet1"::: ]]> @@ -931,7 +931,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection.this1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AttributeCollection/Item/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.this1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AttributeCollection/Item/source1.vb" id="Snippet1"::: ]]> @@ -1011,7 +1011,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection.Matches Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AttributeCollection/Matches/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Matches Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AttributeCollection/Matches/source.vb" id="Snippet1"::: ]]> @@ -1085,7 +1085,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic AttributeCollection.Matches1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AttributeCollection/Matches/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic AttributeCollection.Matches1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AttributeCollection/Matches/source1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/AttributeProviderAttribute.xml b/xml/System.ComponentModel/AttributeProviderAttribute.xml index bd41fb3da66..1e9136fce6a 100644 --- a/xml/System.ComponentModel/AttributeProviderAttribute.xml +++ b/xml/System.ComponentModel/AttributeProviderAttribute.xml @@ -77,7 +77,7 @@ The following code example demonstrates using to mark a `DataSource` property with a specific type of . For a full code listing, see [How to: Apply Attributes in Windows Forms Controls](/dotnet/framework/winforms/controls/how-to-apply-attributes-in-windows-forms-controls). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb" id="Snippet25"::: ]]> @@ -201,7 +201,7 @@ The following code example demonstrates using to mark a `DataSource` property with a specific type of . For a full code listing, see [How to: Apply Attributes in Windows Forms Controls](/dotnet/framework/winforms/controls/how-to-apply-attributes-in-windows-forms-controls). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb" id="Snippet25"::: ]]> diff --git a/xml/System.ComponentModel/BackgroundWorker.xml b/xml/System.ComponentModel/BackgroundWorker.xml index 56488f51a5e..4b4466ac1a0 100644 --- a/xml/System.ComponentModel/BackgroundWorker.xml +++ b/xml/System.ComponentModel/BackgroundWorker.xml @@ -92,7 +92,7 @@ To try this code, create a Windows Forms application. Add a control named `resultLabel` and add two controls named `startAsyncButton` and `cancelAsyncButton`. Create event handlers for both buttons. From the **Components** tab of the Toolbox, add a component named `backgroundWorker1`. Create , , and event handlers for the . In the code for the form, replace the existing code with the following code. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/form1.vb" id="Snippet1"::: The following code example demonstrates the use of the class for executing a time-consuming operation asynchronously. The following illustration shows an example of the output. @@ -102,7 +102,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet1"::: ]]> @@ -213,7 +213,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet4"::: ]]> @@ -287,7 +287,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet8"::: ]]> @@ -427,7 +427,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet5"::: ]]> @@ -497,7 +497,7 @@ The following code example demonstrates how to use the property to wait for completion of a operation. This code example is part of a larger example described in [How to: Download a File in the Background](/dotnet/framework/winforms/controls/how-to-download-a-file-in-the-background). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/IsBusy/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker.IsBusy/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/IsBusy/Form1.vb" id="Snippet2"::: ]]> @@ -607,7 +607,7 @@ The following code example demonstrates the use of the method to report the progress of an asynchronous operation. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AsyncOperationManager/VB/primenumbercalculatormain.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AsyncCompletedEventArgs/Overview/primenumbercalculatormain.vb" id="Snippet24"::: ]]> @@ -731,7 +731,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet7"::: ]]> @@ -813,7 +813,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet8"::: ]]> @@ -880,7 +880,7 @@ The following code example demonstrates the use of the method to report the progress of an asynchronous operation to the user. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/ReportProgress/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripProgressBar/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/ReportProgress/form1.vb" id="Snippet10"::: ]]> @@ -957,7 +957,7 @@ The following code example demonstrates the use of the method to start an asynchronous operation. It is part of a larger example described in [How to: Download a File in the Background](/dotnet/framework/winforms/controls/how-to-download-a-file-in-the-background). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/IsBusy/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker.IsBusy/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/IsBusy/Form1.vb" id="Snippet2"::: ]]> @@ -1028,7 +1028,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet3"::: ]]> @@ -1102,7 +1102,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet6"::: ]]> diff --git a/xml/System.ComponentModel/BindableAttribute.xml b/xml/System.ComponentModel/BindableAttribute.xml index cbbb34dee18..f9344fa4be1 100644 --- a/xml/System.ComponentModel/BindableAttribute.xml +++ b/xml/System.ComponentModel/BindableAttribute.xml @@ -76,19 +76,19 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindableAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindableAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindableAttribute/Overview/source.vb" id="Snippet1"::: The next code example shows how to check the value of the for `MyProperty`. First, the code gets a with all the properties for the object. Next, the code indexes into the to get `MyProperty`. Finally, the code returns the attributes for this property and saves them in the attributes variable. The code example presents two different ways to check the value of the . In the second code fragment, the example calls the method. In the last code fragment, the example uses the property to check the value. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindableAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindableAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindableAttribute/Overview/source.vb" id="Snippet2"::: If you marked a class with the , use the following code example to check the value. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindableAttribute Example/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindableAttribute/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute Example/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindableAttribute/Overview/source.vb" id="Snippet3"::: ]]> @@ -166,7 +166,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindableAttribute.BindableAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindableAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute.BindableAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindableAttribute/.ctor/source.vb" id="Snippet1"::: ]]> @@ -230,7 +230,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindableAttribute.BindableAttribute1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindableAttribute/.ctor/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute.BindableAttribute1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindableAttribute/.ctor/source1.vb" id="Snippet1"::: ]]> @@ -394,7 +394,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindableAttribute.Bindable Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindableAttribute/Bindable/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindableAttribute.Bindable Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindableAttribute/Bindable/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/BindingList`1.xml b/xml/System.ComponentModel/BindingList`1.xml index 82cd0be7650..9afaa1d5639 100644 --- a/xml/System.ComponentModel/BindingList`1.xml +++ b/xml/System.ComponentModel/BindingList`1.xml @@ -109,7 +109,7 @@ The following code example demonstrates binding to a component containing a business object. This is a complete example that contains a `Main` method. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BindingListOfTExample/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -189,7 +189,7 @@ The following code example demonstrates how to construct a new . For the complete example, see the class overview topic. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BindingListOfTExample/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -309,7 +309,7 @@ The following code example demonstrates how to handle the event. For the complete example, see the class overview topic. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BindingListOfTExample/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -384,7 +384,7 @@ The following code example demonstrates how to use the method. . For the complete example, see the class overview topic. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/Overview/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BindingListOfTExample/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/Overview/Form1.vb" id="Snippet4"::: ]]> @@ -515,7 +515,7 @@ The following code example demonstrates how to set the property. For the complete example, see the class overview topic. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BindingListOfTExample/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -575,7 +575,7 @@ The following code example demonstrates how to set the property. For the complete example, see the class overview topic. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BindingListOfTExample/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -642,7 +642,7 @@ The following code example demonstrates how to set the property. For the complete example, see the class overview topic. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BindingListOfTExample/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -769,7 +769,7 @@ The following code example demonstrates how use the method. For the complete example, see the class overview topic. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/Overview/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BindingListOfTExample/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/Overview/Form1.vb" id="Snippet4"::: ]]> @@ -949,7 +949,7 @@ The following code example demonstrates how to use the member. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/FindCore/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceAndBindingListOfT/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/FindCore/Form1.vb" id="Snippet3"::: ]]> @@ -1305,7 +1305,7 @@ The following code example demonstrates how use the method. For the complete example, see the class overview topic. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BindingListOfTExample/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -1788,7 +1788,7 @@ The following code example demonstrates how to use the member. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/FindCore/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceAndBindingListOfT/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/FindCore/Form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ComponentModel/BooleanConverter.xml b/xml/System.ComponentModel/BooleanConverter.xml index ca136b16829..e55aebed3a4 100644 --- a/xml/System.ComponentModel/BooleanConverter.xml +++ b/xml/System.ComponentModel/BooleanConverter.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ComponentModel/BrowsableAttribute.xml b/xml/System.ComponentModel/BrowsableAttribute.xml index a2573224f2b..e55295d0dbf 100644 --- a/xml/System.ComponentModel/BrowsableAttribute.xml +++ b/xml/System.ComponentModel/BrowsableAttribute.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BrowsableAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BrowsableAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BrowsableAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BrowsableAttribute/Overview/source.vb" id="Snippet1"::: The next example shows how to check the value of the for `MyProperty`. First, the code gets a with all the properties for the object. Next, the code indexes into the to get `MyProperty`. Then it returns the attributes for this property and saves them in the attributes variable. @@ -80,13 +80,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BrowsableAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BrowsableAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BrowsableAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BrowsableAttribute/Overview/source.vb" id="Snippet2"::: If you marked a class with the , use the following code to check the value. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BrowsableAttribute Example/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BrowsableAttribute/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BrowsableAttribute Example/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BrowsableAttribute/Overview/source.vb" id="Snippet3"::: ]]> @@ -150,7 +150,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BrowsableAttribute.BrowsableAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BrowsableAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BrowsableAttribute.BrowsableAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BrowsableAttribute/.ctor/source.vb" id="Snippet1"::: ]]> @@ -219,7 +219,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BrowsableAttribute.Browsable Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BrowsableAttribute/Browsable/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BrowsableAttribute.Browsable Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BrowsableAttribute/Browsable/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/ByteConverter.xml b/xml/System.ComponentModel/ByteConverter.xml index 7cdd1e6f8f1..7b4d853db88 100644 --- a/xml/System.ComponentModel/ByteConverter.xml +++ b/xml/System.ComponentModel/ByteConverter.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ComponentModel/CancelEventArgs.xml b/xml/System.ComponentModel/CancelEventArgs.xml index 25cad16d139..3784462ab49 100644 --- a/xml/System.ComponentModel/CancelEventArgs.xml +++ b/xml/System.ComponentModel/CancelEventArgs.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CancelEventArgs Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CancelEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CancelEventArgs Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CancelEventArgs/Overview/source.vb" id="Snippet1"::: ]]> @@ -229,7 +229,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CancelEventArgs Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CancelEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CancelEventArgs Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CancelEventArgs/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/CategoryAttribute.xml b/xml/System.ComponentModel/CategoryAttribute.xml index a066eabf51a..d13a25d7421 100644 --- a/xml/System.ComponentModel/CategoryAttribute.xml +++ b/xml/System.ComponentModel/CategoryAttribute.xml @@ -69,7 +69,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CategoryAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CategoryAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CategoryAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CategoryAttribute/Overview/source.vb" id="Snippet1"::: The next example gets the category for `MyImage`. First, the code gets a with all the properties for the object. Next, the code indexes into the to get `MyImage`. Then it returns the attributes for this property and saves them in the variable `attributes`. @@ -77,7 +77,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CategoryAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CategoryAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CategoryAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CategoryAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/CharConverter.xml b/xml/System.ComponentModel/CharConverter.xml index f4cc08e8e8f..d3ec74c56a9 100644 --- a/xml/System.ComponentModel/CharConverter.xml +++ b/xml/System.ComponentModel/CharConverter.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet5"::: ]]> diff --git a/xml/System.ComponentModel/CollectionChangeEventArgs.xml b/xml/System.ComponentModel/CollectionChangeEventArgs.xml index 82a3a7fc8f0..ea10c3564a4 100644 --- a/xml/System.ComponentModel/CollectionChangeEventArgs.xml +++ b/xml/System.ComponentModel/CollectionChangeEventArgs.xml @@ -66,7 +66,7 @@ To run the example code, paste it into a project that contains an instance of type named `AutoCompleteStringCollection1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet76"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet76"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet76"::: ]]> @@ -195,7 +195,7 @@ To run the example code, paste it into a project that contains an instance of type named `AutoCompleteStringCollection1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet76"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet76"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet76"::: ]]> @@ -259,7 +259,7 @@ To run the example code, paste it into a project that contains an instance of type named `AutoCompleteStringCollection1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet76"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet76"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet76"::: ]]> diff --git a/xml/System.ComponentModel/ComplexBindingPropertiesAttribute.xml b/xml/System.ComponentModel/ComplexBindingPropertiesAttribute.xml index 1bf6c2219a5..5eeb503723c 100644 --- a/xml/System.ComponentModel/ComplexBindingPropertiesAttribute.xml +++ b/xml/System.ComponentModel/ComplexBindingPropertiesAttribute.xml @@ -70,7 +70,7 @@ The following code example demonstrates using to identify a control's `DataSource` and `DataMember` properties for data binding. For a full code listing, see [How to: Apply Attributes in Windows Forms Controls](/dotnet/framework/winforms/controls/how-to-apply-attributes-in-windows-forms-controls). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb" id="Snippet20"::: ]]> diff --git a/xml/System.ComponentModel/ComponentCollection.xml b/xml/System.ComponentModel/ComponentCollection.xml index e2b8f3c53c9..7f6675d1a32 100644 --- a/xml/System.ComponentModel/ComponentCollection.xml +++ b/xml/System.ComponentModel/ComponentCollection.xml @@ -74,7 +74,7 @@ The following code example demonstrates how to use a to enumerate a collection of custom `BookComponent` objects. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ComponentCollection/Overview/librarycontainer.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ContainerExmpl/VB/librarycontainer.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ComponentCollection/Overview/librarycontainer.vb" id="Snippet2"::: ]]> @@ -131,7 +131,7 @@ The following code example demonstrates how to create a from an array of `BookComponent` objects. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ComponentCollection/Overview/librarycontainer.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ContainerExmpl/VB/librarycontainer.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ComponentCollection/Overview/librarycontainer.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/ComponentResourceManager.xml b/xml/System.ComponentModel/ComponentResourceManager.xml index cca239b08bd..59e23c3584c 100644 --- a/xml/System.ComponentModel/ComponentResourceManager.xml +++ b/xml/System.ComponentModel/ComponentResourceManager.xml @@ -56,7 +56,7 @@ The following code example demonstrates how to use to assign image resources to the property of controls. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ComponentResourceManager/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStrip/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ComponentResourceManager/Overview/form1.vb" id="Snippet1"::: ]]> @@ -166,7 +166,7 @@ The following code example demonstrates how to use to assign image resources to the property of controls. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ComponentResourceManager/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStrip/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ComponentResourceManager/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/CultureInfoConverter.xml b/xml/System.ComponentModel/CultureInfoConverter.xml index 8a102128ccd..0a7147754e3 100644 --- a/xml/System.ComponentModel/CultureInfoConverter.xml +++ b/xml/System.ComponentModel/CultureInfoConverter.xml @@ -67,7 +67,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet8"::: ]]> diff --git a/xml/System.ComponentModel/DateTimeConverter.xml b/xml/System.ComponentModel/DateTimeConverter.xml index e06968185a8..966c7ad09cd 100644 --- a/xml/System.ComponentModel/DateTimeConverter.xml +++ b/xml/System.ComponentModel/DateTimeConverter.xml @@ -74,7 +74,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet9"::: ]]> diff --git a/xml/System.ComponentModel/DecimalConverter.xml b/xml/System.ComponentModel/DecimalConverter.xml index 1152691a6ff..169767f7614 100644 --- a/xml/System.ComponentModel/DecimalConverter.xml +++ b/xml/System.ComponentModel/DecimalConverter.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet10"::: ]]> diff --git a/xml/System.ComponentModel/DefaultBindingPropertyAttribute.xml b/xml/System.ComponentModel/DefaultBindingPropertyAttribute.xml index 182fccd0a4b..dff78e45761 100644 --- a/xml/System.ComponentModel/DefaultBindingPropertyAttribute.xml +++ b/xml/System.ComponentModel/DefaultBindingPropertyAttribute.xml @@ -66,7 +66,7 @@ The following code example demonstrates using the class to specify the default property for data binding. For a full code listing, see [How to: Apply Attributes in Windows Forms Controls](/dotnet/framework/winforms/controls/how-to-apply-attributes-in-windows-forms-controls). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb" id="Snippet20"::: ]]> diff --git a/xml/System.ComponentModel/DefaultEventAttribute.xml b/xml/System.ComponentModel/DefaultEventAttribute.xml index 84e849fbd87..98b310f045e 100644 --- a/xml/System.ComponentModel/DefaultEventAttribute.xml +++ b/xml/System.ComponentModel/DefaultEventAttribute.xml @@ -71,13 +71,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DefaultEventAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DefaultEventAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultEventAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DefaultEventAttribute/Overview/source.vb" id="Snippet1"::: The next example creates an instance of `MyCollection`. Then it gets the attributes for the class, extracts the , and prints the name of the default event. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DefaultEventAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DefaultEventAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultEventAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DefaultEventAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/DefaultPropertyAttribute.xml b/xml/System.ComponentModel/DefaultPropertyAttribute.xml index 5104f62ae50..f999990eca7 100644 --- a/xml/System.ComponentModel/DefaultPropertyAttribute.xml +++ b/xml/System.ComponentModel/DefaultPropertyAttribute.xml @@ -71,13 +71,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DefaultPropertyAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DefaultPropertyAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultPropertyAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DefaultPropertyAttribute/Overview/source.vb" id="Snippet1"::: The next example creates an instance of `MyControl`. Then it gets the attributes for the class, extracts the , and prints the name of the default property. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DefaultPropertyAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DefaultPropertyAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultPropertyAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DefaultPropertyAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/DefaultValueAttribute.xml b/xml/System.ComponentModel/DefaultValueAttribute.xml index e992da341ea..ffecf547494 100644 --- a/xml/System.ComponentModel/DefaultValueAttribute.xml +++ b/xml/System.ComponentModel/DefaultValueAttribute.xml @@ -80,7 +80,7 @@ For more information, see [Attributes](/dotnet/standard/attributes/). :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DefaultValueAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DefaultValueAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultValueAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DefaultValueAttribute/Overview/source.vb" id="Snippet1"::: The next example checks the default value of `MyProperty`. First the code gets a with all the properties for the object. Next it indexes into the to get `MyProperty`. Then it returns the attributes for this property and saves them in the attributes variable. @@ -88,7 +88,7 @@ For more information, see [Attributes](/dotnet/standard/attributes/). :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DefaultValueAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DefaultValueAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DefaultValueAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DefaultValueAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/DescriptionAttribute.xml b/xml/System.ComponentModel/DescriptionAttribute.xml index 445c399ad16..3e9fcce42a0 100644 --- a/xml/System.ComponentModel/DescriptionAttribute.xml +++ b/xml/System.ComponentModel/DescriptionAttribute.xml @@ -69,7 +69,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DescriptionAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DescriptionAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DescriptionAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DescriptionAttribute/Overview/source.vb" id="Snippet1"::: The next example gets the description of `MyImage`. First the code gets a with all the properties for the object. Next it indexes into the to get `MyImage`. Then it returns the attributes for this property and saves them in the attributes variable. @@ -77,7 +77,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DescriptionAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DescriptionAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DescriptionAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DescriptionAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/DesignOnlyAttribute.xml b/xml/System.ComponentModel/DesignOnlyAttribute.xml index 6b6ed99e907..ec0482d6781 100644 --- a/xml/System.ComponentModel/DesignOnlyAttribute.xml +++ b/xml/System.ComponentModel/DesignOnlyAttribute.xml @@ -73,7 +73,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DesignOnlyAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DesignOnlyAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignOnlyAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DesignOnlyAttribute/Overview/source.vb" id="Snippet1"::: The next example gets the value of the . First the code gets a with all the properties for the object. Next it indexes into the to find the `GetLanguage` property. Then it returns the attributes for this property and saves them in the attributes variable. @@ -81,7 +81,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DesignOnlyAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DesignOnlyAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignOnlyAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DesignOnlyAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/DesignerAttribute.xml b/xml/System.ComponentModel/DesignerAttribute.xml index cb8337d2b23..2d7b4161724 100644 --- a/xml/System.ComponentModel/DesignerAttribute.xml +++ b/xml/System.ComponentModel/DesignerAttribute.xml @@ -80,13 +80,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DesignerAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DesignerAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DesignerAttribute/Overview/source.vb" id="Snippet1"::: The next example creates an instance of `MyForm`. Then it gets the attributes for the class, extracts the , and prints the name of the designer. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DesignerAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DesignerAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DesignerAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/DesignerCategoryAttribute.xml b/xml/System.ComponentModel/DesignerCategoryAttribute.xml index c830f19b2ce..b8bc0cefe95 100644 --- a/xml/System.ComponentModel/DesignerCategoryAttribute.xml +++ b/xml/System.ComponentModel/DesignerCategoryAttribute.xml @@ -80,13 +80,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DesignerCategoryAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DesignerCategoryAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerCategoryAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DesignerCategoryAttribute/Overview/source.vb" id="Snippet1"::: The next example creates an instance of `MyForm`. Then it gets the attributes for the class, extracts the , and prints the name of the designer. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DesignerCategoryAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DesignerCategoryAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerCategoryAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DesignerCategoryAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/DesignerSerializationVisibilityAttribute.xml b/xml/System.ComponentModel/DesignerSerializationVisibilityAttribute.xml index ab716012b9a..9bcf3917969 100644 --- a/xml/System.ComponentModel/DesignerSerializationVisibilityAttribute.xml +++ b/xml/System.ComponentModel/DesignerSerializationVisibilityAttribute.xml @@ -79,7 +79,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DesignerSerializationVisibilityAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DesignerSerializationVisibilityAttribute/Overview/source.vb" id="Snippet1"::: ]]> @@ -143,7 +143,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute.DesignerSerializationVisibilityAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DesignerSerializationVisibilityAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute.DesignerSerializationVisibilityAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DesignerSerializationVisibilityAttribute/.ctor/source.vb" id="Snippet1"::: ]]> @@ -500,7 +500,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute.Visibility Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DesignerSerializationVisibilityAttribute/Visibility/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DesignerSerializationVisibilityAttribute.Visibility Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DesignerSerializationVisibilityAttribute/Visibility/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/DisplayNameAttribute.xml b/xml/System.ComponentModel/DisplayNameAttribute.xml index 43bb274ce19..d8374414826 100644 --- a/xml/System.ComponentModel/DisplayNameAttribute.xml +++ b/xml/System.ComponentModel/DisplayNameAttribute.xml @@ -65,7 +65,7 @@ The following code example demonstrates using the class to change the name of a property called `MisnamedProperty` to `RenamedProperty` in a control. For a full code listing, see [How to: Apply Attributes in Windows Forms Controls](/dotnet/framework/winforms/controls/how-to-apply-attributes-in-windows-forms-controls). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb" id="Snippet30"::: ]]> diff --git a/xml/System.ComponentModel/DoWorkEventArgs.xml b/xml/System.ComponentModel/DoWorkEventArgs.xml index 662ebee63d7..ab2781e8d34 100644 --- a/xml/System.ComponentModel/DoWorkEventArgs.xml +++ b/xml/System.ComponentModel/DoWorkEventArgs.xml @@ -62,7 +62,7 @@ The following code example demonstrates how to use the class to handle the event. For a full code listing, see [How to: Run an Operation in the Background](/dotnet/framework/winforms/controls/how-to-run-an-operation-in-the-background). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DoWorkEventArgs/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker.Example/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DoWorkEventArgs/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -172,7 +172,7 @@ The following code example demonstrates how to use the class to handle the event. For a full code listing, see [How to: Run an Operation in the Background](/dotnet/framework/winforms/controls/how-to-run-an-operation-in-the-background). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DoWorkEventArgs/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker.Example/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DoWorkEventArgs/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -260,7 +260,7 @@ The following code example demonstrates how to use the class to handle the event. For a full code listing, see [How to: Run an Operation in the Background](/dotnet/framework/winforms/controls/how-to-run-an-operation-in-the-background). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DoWorkEventArgs/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker.Example/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DoWorkEventArgs/Overview/Form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/DoWorkEventHandler.xml b/xml/System.ComponentModel/DoWorkEventHandler.xml index fb4cf5576ee..31621ecbbe4 100644 --- a/xml/System.ComponentModel/DoWorkEventHandler.xml +++ b/xml/System.ComponentModel/DoWorkEventHandler.xml @@ -71,7 +71,7 @@ The following code example demonstrates how to use the delegate to handle the event. For a full code listing, see [How to: Run an Operation in the Background](/dotnet/framework/winforms/controls/how-to-run-an-operation-in-the-background). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/DoWorkEventArgs/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker.Example/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/DoWorkEventArgs/Overview/Form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/DoubleConverter.xml b/xml/System.ComponentModel/DoubleConverter.xml index 4f8cc97e473..b65d4dc4b27 100644 --- a/xml/System.ComponentModel/DoubleConverter.xml +++ b/xml/System.ComponentModel/DoubleConverter.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet11"::: ]]> diff --git a/xml/System.ComponentModel/EditorAttribute.xml b/xml/System.ComponentModel/EditorAttribute.xml index ac2355a3305..7cfaabdac89 100644 --- a/xml/System.ComponentModel/EditorAttribute.xml +++ b/xml/System.ComponentModel/EditorAttribute.xml @@ -82,13 +82,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EditorAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EditorAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EditorAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EditorAttribute/Overview/source.vb" id="Snippet1"::: The following code example creates an instance of the `MyImage` class, gets the attributes for the class, and then prints the name of the editor used by `myNewImage`. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EditorAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EditorAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EditorAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EditorAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/EditorBrowsableAttribute.xml b/xml/System.ComponentModel/EditorBrowsableAttribute.xml index bc38ab530ed..ffabbedaad9 100644 --- a/xml/System.ComponentModel/EditorBrowsableAttribute.xml +++ b/xml/System.ComponentModel/EditorBrowsableAttribute.xml @@ -75,7 +75,7 @@ Build `Class1` in its own assembly. Then, in Visual Studio, create a new project :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/EditorBrowsableAttribute/CPP/ctleditorbrowsable.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EditorBrowsableAttribute/Overview/ctleditorbrowsable.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/EditorBrowsableAttribute/VB/ctleditorbrowsable.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EditorBrowsableAttribute/Overview/ctleditorbrowsable.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/EnumConverter.xml b/xml/System.ComponentModel/EnumConverter.xml index 8d0dcdf684c..f7f002474dd 100644 --- a/xml/System.ComponentModel/EnumConverter.xml +++ b/xml/System.ComponentModel/EnumConverter.xml @@ -72,7 +72,7 @@ Windows=1, Exchange=2, BizTalk=3 :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet12"::: ]]> diff --git a/xml/System.ComponentModel/EventDescriptor.xml b/xml/System.ComponentModel/EventDescriptor.xml index 9b290bf1ee8..eb58d641225 100644 --- a/xml/System.ComponentModel/EventDescriptor.xml +++ b/xml/System.ComponentModel/EventDescriptor.xml @@ -83,7 +83,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/EventDescriptor/CPP/eventdescriptor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptor/Overview/eventdescriptor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/EventDescriptor/VB/eventdescriptor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptor/Overview/eventdescriptor.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/EventDescriptorCollection.xml b/xml/System.ComponentModel/EventDescriptorCollection.xml index 82ba3d78eab..04c71adddfb 100644 --- a/xml/System.ComponentModel/EventDescriptorCollection.xml +++ b/xml/System.ComponentModel/EventDescriptorCollection.xml @@ -84,7 +84,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Overview/source.vb" id="Snippet1"::: ]]> @@ -165,7 +165,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.EventDescriptorCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.EventDescriptorCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/.ctor/source.vb" id="Snippet1"::: ]]> @@ -245,7 +245,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.EventDescriptorCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.EventDescriptorCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/.ctor/source.vb" id="Snippet1"::: ]]> @@ -493,7 +493,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.Count Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Count/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Count Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Count/source.vb" id="Snippet1"::: ]]> @@ -618,7 +618,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.Find Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Find/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Find Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Find/source.vb" id="Snippet1"::: ]]> @@ -688,7 +688,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.GetEnumerator Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/GetEnumerator/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.GetEnumerator Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/GetEnumerator/source.vb" id="Snippet1"::: ]]> @@ -947,7 +947,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.InternalSort Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/InternalSort/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.InternalSort Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/InternalSort/source.vb" id="Snippet1"::: ]]> @@ -1022,7 +1022,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.this Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Item/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.this Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Item/source.vb" id="Snippet1"::: ]]> @@ -1098,7 +1098,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.this1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Item/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.this1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Item/source1.vb" id="Snippet1"::: ]]> @@ -1291,7 +1291,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Sort/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Sort/source.vb" id="Snippet1"::: ]]> @@ -1357,7 +1357,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Sort/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Sort/source.vb" id="Snippet1"::: ]]> @@ -1424,7 +1424,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Sort/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Sort/source.vb" id="Snippet1"::: ]]> @@ -1493,7 +1493,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Sort/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Sort/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/ExpandableObjectConverter.xml b/xml/System.ComponentModel/ExpandableObjectConverter.xml index b9deb64fd81..45fe7388dde 100644 --- a/xml/System.ComponentModel/ExpandableObjectConverter.xml +++ b/xml/System.ComponentModel/ExpandableObjectConverter.xml @@ -61,12 +61,12 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet26"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet26"::: The following code example demonstrates how to use the and the class to create an expandable property on a custom control. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ExpandableObjectConverter/Overview/DemoControl.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ExpandableObjectConverter/VB/DemoControl.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ExpandableObjectConverter/Overview/DemoControl.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ComponentModel/GuidConverter.xml b/xml/System.ComponentModel/GuidConverter.xml index db9b569265d..f131748d242 100644 --- a/xml/System.ComponentModel/GuidConverter.xml +++ b/xml/System.ComponentModel/GuidConverter.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet13"::: ]]> diff --git a/xml/System.ComponentModel/IBindingList.xml b/xml/System.ComponentModel/IBindingList.xml index 96961d33a49..0a666ce8e31 100644 --- a/xml/System.ComponentModel/IBindingList.xml +++ b/xml/System.ComponentModel/IBindingList.xml @@ -71,7 +71,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Binding_Editable/CPP/binding_editable.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/IBindingList/Overview/binding_editable.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Binding_Editable/VB/binding_editable.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/IBindingList/Overview/binding_editable.vb" id="Snippet2"::: ]]> @@ -448,7 +448,7 @@ The following code example demonstrates how to implement the method. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/FindCore/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceAndBindingListOfT/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/FindCore/Form1.vb" id="Snippet3"::: ]]> @@ -861,7 +861,7 @@ The following code example demonstrates how to implement the property. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/FindCore/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceAndBindingListOfT/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/FindCore/Form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ComponentModel/IComponent.xml b/xml/System.ComponentModel/IComponent.xml index 931b4b71f11..8eb5e1a04cf 100644 --- a/xml/System.ComponentModel/IComponent.xml +++ b/xml/System.ComponentModel/IComponent.xml @@ -126,7 +126,7 @@ The following code example demonstrates how to implement the , , and interfaces. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ComponentCollection/Overview/librarycontainer.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ContainerExmpl/VB/librarycontainer.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ComponentCollection/Overview/librarycontainer.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/IContainer.xml b/xml/System.ComponentModel/IContainer.xml index dc71ce87b4f..da1afe9cf25 100644 --- a/xml/System.ComponentModel/IContainer.xml +++ b/xml/System.ComponentModel/IContainer.xml @@ -64,7 +64,7 @@ The following code example demonstrates how to implement the interface. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ComponentCollection/Overview/librarycontainer.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ContainerExmpl/VB/librarycontainer.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ComponentCollection/Overview/librarycontainer.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/IEditableObject.xml b/xml/System.ComponentModel/IEditableObject.xml index dd4545b56ae..c82f4b54530 100644 --- a/xml/System.ComponentModel/IEditableObject.xml +++ b/xml/System.ComponentModel/IEditableObject.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Binding_Editable/CPP/binding_editable.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/IBindingList/Overview/binding_editable.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Binding_Editable/VB/binding_editable.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/IBindingList/Overview/binding_editable.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/IExtenderProvider.xml b/xml/System.ComponentModel/IExtenderProvider.xml index d461b07bf37..f0a49febe56 100644 --- a/xml/System.ComponentModel/IExtenderProvider.xml +++ b/xml/System.ComponentModel/IExtenderProvider.xml @@ -60,7 +60,7 @@ The following code example demonstrates how to implement the interface. This example is part of a larger example discussed in [How to: Implement a HelpLabel Extender Provider](/previous-versions/visualstudio/visual-studio-2013/ms229066(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/IExtenderProvider/Overview/HelpLabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpLabel/VB/HelpLabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/IExtenderProvider/Overview/HelpLabel.vb" id="Snippet1"::: ]]> @@ -123,7 +123,7 @@ The following code example demonstrates how to implement the property. This example is part of a larger example discussed in [How to: Implement a HelpLabel Extender Provider](/previous-versions/visualstudio/visual-studio-2013/ms229066(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/IExtenderProvider/Overview/HelpLabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpLabel/VB/HelpLabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/IExtenderProvider/Overview/HelpLabel.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/IListSource.xml b/xml/System.ComponentModel/IListSource.xml index 43d7d31ba6f..4f8f5c23f5c 100644 --- a/xml/System.ComponentModel/IListSource.xml +++ b/xml/System.ComponentModel/IListSource.xml @@ -91,7 +91,7 @@ The following code example demonstrates how to implement the interface. A component named `EmployeeListSource` exposes an for data binding by implementing the method. For a full code listing, see [How to: Implement the IListSource Interface](/dotnet/framework/winforms/how-to-implement-the-ilistsource-interface). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/IListSource/Overview/EmployeeListSource.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.IListSource/VB/EmployeeListSource.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/IListSource/Overview/EmployeeListSource.vb" id="Snippet1"::: ]]> @@ -156,7 +156,7 @@ The following code example demonstrates how to implement the interface. A component named `EmployeeListSource` indicates that it does not contain an for data binding by returning `false` from the method. For a full code listing, see [How to: Implement the IListSource Interface](/dotnet/framework/winforms/how-to-implement-the-ilistsource-interface). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/IListSource/Overview/EmployeeListSource.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.IListSource/VB/EmployeeListSource.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/IListSource/Overview/EmployeeListSource.vb" id="Snippet3"::: ]]> @@ -215,7 +215,7 @@ The following code example demonstrates how to implement the interface. A component named `EmployeeListSource` exposes an for data binding by implementing the method. For a full code listing, see [How to: Implement the IListSource Interface](/dotnet/framework/winforms/how-to-implement-the-ilistsource-interface). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/IListSource/Overview/EmployeeListSource.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.IListSource/VB/EmployeeListSource.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/IListSource/Overview/EmployeeListSource.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ComponentModel/INotifyPropertyChanged.xml b/xml/System.ComponentModel/INotifyPropertyChanged.xml index a9abd652d8e..6864f63695a 100644 --- a/xml/System.ComponentModel/INotifyPropertyChanged.xml +++ b/xml/System.ComponentModel/INotifyPropertyChanged.xml @@ -421,7 +421,7 @@ End Class The following code example demonstrates how to implement the event of the interface. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/INotifyPropertyChanged/PropertyChanged/Form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.IPropertyChangeExample/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/INotifyPropertyChanged/PropertyChanged/Form1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.ComponentModel/ISite.xml b/xml/System.ComponentModel/ISite.xml index c8083df9376..1ae00bb322f 100644 --- a/xml/System.ComponentModel/ISite.xml +++ b/xml/System.ComponentModel/ISite.xml @@ -66,7 +66,7 @@ The following example demonstrates the implementation of , , and for use in a library container. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ComponentCollection/Overview/librarycontainer.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ContainerExmpl/VB/librarycontainer.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ComponentCollection/Overview/librarycontainer.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/ISupportInitialize.xml b/xml/System.ComponentModel/ISupportInitialize.xml index 4faa5a14d65..370738fff6b 100644 --- a/xml/System.ComponentModel/ISupportInitialize.xml +++ b/xml/System.ComponentModel/ISupportInitialize.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Trackbar/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ISupportInitialize/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Trackbar/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ISupportInitialize/Overview/form1.vb" id="Snippet4"::: ]]> @@ -124,7 +124,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Trackbar/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ISupportInitialize/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Trackbar/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ISupportInitialize/Overview/form1.vb" id="Snippet4"::: ]]> @@ -180,7 +180,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Trackbar/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ISupportInitialize/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Trackbar/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ISupportInitialize/Overview/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ComponentModel/ITypeDescriptorContext.xml b/xml/System.ComponentModel/ITypeDescriptorContext.xml index dc85a720763..3f5f833d92d 100644 --- a/xml/System.ComponentModel/ITypeDescriptorContext.xml +++ b/xml/System.ComponentModel/ITypeDescriptorContext.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/InstanceDescriptorSample/CPP/instancedescriptor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ITypeDescriptorContext/Overview/instancedescriptor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/InstanceDescriptorSample/VB/instancedescriptor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ITypeDescriptorContext/Overview/instancedescriptor.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/ITypedList.xml b/xml/System.ComponentModel/ITypedList.xml index 22205d12cb7..fba2b738035 100644 --- a/xml/System.ComponentModel/ITypedList.xml +++ b/xml/System.ComponentModel/ITypedList.xml @@ -70,7 +70,7 @@ The following code example demonstrates how to implement the interface. A generic type named `SortableBindingList` derives from the class and implements the interface. For a full code listing, see [How to: Implement the ITypedList Interface](/dotnet/framework/winforms/how-to-implement-the-itypedlist-interface). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ITypedList/Overview/SortableBindingList.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ITypedList/VB/SortableBindingList.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ITypedList/Overview/SortableBindingList.vb" id="Snippet1"::: ]]> @@ -143,7 +143,7 @@ The following code example demonstrates how to implement the method. For a full code listing, see [How to: Implement the ITypedList Interface](/dotnet/framework/winforms/how-to-implement-the-itypedlist-interface). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ITypedList/Overview/SortableBindingList.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ITypedList/VB/SortableBindingList.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ITypedList/Overview/SortableBindingList.vb" id="Snippet3"::: ]]> @@ -216,7 +216,7 @@ The following code example demonstrates how to implement the method. For a full code listing, see [How to: Implement the ITypedList Interface](/dotnet/framework/winforms/how-to-implement-the-itypedlist-interface). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ITypedList/Overview/SortableBindingList.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ITypedList/VB/SortableBindingList.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ITypedList/Overview/SortableBindingList.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ComponentModel/Int16Converter.xml b/xml/System.ComponentModel/Int16Converter.xml index d277d735811..dbec2dd52dc 100644 --- a/xml/System.ComponentModel/Int16Converter.xml +++ b/xml/System.ComponentModel/Int16Converter.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet14"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet14"::: ]]> diff --git a/xml/System.ComponentModel/Int32Converter.xml b/xml/System.ComponentModel/Int32Converter.xml index 1c2154216c3..c4a49cdf8d5 100644 --- a/xml/System.ComponentModel/Int32Converter.xml +++ b/xml/System.ComponentModel/Int32Converter.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet15"::: ]]> diff --git a/xml/System.ComponentModel/Int64Converter.xml b/xml/System.ComponentModel/Int64Converter.xml index 08ca1238176..21a59b0ff16 100644 --- a/xml/System.ComponentModel/Int64Converter.xml +++ b/xml/System.ComponentModel/Int64Converter.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet16"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet16"::: ]]> diff --git a/xml/System.ComponentModel/InvalidEnumArgumentException.xml b/xml/System.ComponentModel/InvalidEnumArgumentException.xml index 174b4f8f683..f887be1bf51 100644 --- a/xml/System.ComponentModel/InvalidEnumArgumentException.xml +++ b/xml/System.ComponentModel/InvalidEnumArgumentException.xml @@ -77,7 +77,7 @@ This exception is thrown if you pass an invalid enumeration value to a method or :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/enumException/CPP/enumexception.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/InvalidEnumArgumentException/Overview/enumexception.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/enumException/VB/enumexception.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/InvalidEnumArgumentException/Overview/enumexception.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/LicFileLicenseProvider.xml b/xml/System.ComponentModel/LicFileLicenseProvider.xml index fe3ca604d5b..b67e2f5890a 100644 --- a/xml/System.ComponentModel/LicFileLicenseProvider.xml +++ b/xml/System.ComponentModel/LicFileLicenseProvider.xml @@ -66,7 +66,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic LicenseManager Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LicenseManager/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic LicenseManager Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LicenseManager/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/LicenseException.xml b/xml/System.ComponentModel/LicenseException.xml index 8bbeff00f07..23e86c64060 100644 --- a/xml/System.ComponentModel/LicenseException.xml +++ b/xml/System.ComponentModel/LicenseException.xml @@ -71,7 +71,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/LicenseException/CPP/licenseex.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LicenseException/Overview/licenseex.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/LicenseException/VB/licenseex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LicenseException/Overview/licenseex.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/LicenseManager.xml b/xml/System.ComponentModel/LicenseManager.xml index 72306b82f2b..2f38316bab8 100644 --- a/xml/System.ComponentModel/LicenseManager.xml +++ b/xml/System.ComponentModel/LicenseManager.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic LicenseManager Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LicenseManager/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic LicenseManager Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LicenseManager/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/LicenseProvider.xml b/xml/System.ComponentModel/LicenseProvider.xml index 91100a60e47..57a9d9c57a5 100644 --- a/xml/System.ComponentModel/LicenseProvider.xml +++ b/xml/System.ComponentModel/LicenseProvider.xml @@ -51,7 +51,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic LicenseManager Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LicenseManager/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic LicenseManager Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LicenseManager/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/LicenseProviderAttribute.xml b/xml/System.ComponentModel/LicenseProviderAttribute.xml index ca5d8695027..78322e1ff8d 100644 --- a/xml/System.ComponentModel/LicenseProviderAttribute.xml +++ b/xml/System.ComponentModel/LicenseProviderAttribute.xml @@ -73,13 +73,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic LicenseProviderAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LicenseProviderAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic LicenseProviderAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LicenseProviderAttribute/Overview/source.vb" id="Snippet1"::: The next code example creates an instance of the `MyControl` class. Then, it gets the attributes for the class, and prints the name of the license provider used by `myNewControl`. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic LicenseProviderAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LicenseProviderAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic LicenseProviderAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LicenseProviderAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/ListChangedEventArgs.xml b/xml/System.ComponentModel/ListChangedEventArgs.xml index 47eecd62267..1474dda5b5e 100644 --- a/xml/System.ComponentModel/ListChangedEventArgs.xml +++ b/xml/System.ComponentModel/ListChangedEventArgs.xml @@ -67,7 +67,7 @@ To run the example code, paste it into a project that contains an instance of type named `BindingSource1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet134"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet134"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet134"::: ]]> @@ -361,7 +361,7 @@ To run the example code, paste it into a project that contains an instance of type named `BindingSource1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet134"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet134"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet134"::: ]]> @@ -427,7 +427,7 @@ To run the example code, paste it into a project that contains an instance of type named `BindingSource1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet134"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet134"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet134"::: ]]> @@ -488,7 +488,7 @@ To run the example code, paste it into a project that contains an instance of type named `BindingSource1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet134"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet134"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet134"::: ]]> @@ -549,7 +549,7 @@ To run the example code, paste it into a project that contains an instance of type named `BindingSource1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet134"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet134"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet134"::: ]]> diff --git a/xml/System.ComponentModel/LocalizableAttribute.xml b/xml/System.ComponentModel/LocalizableAttribute.xml index b0b8720afc5..32b19267648 100644 --- a/xml/System.ComponentModel/LocalizableAttribute.xml +++ b/xml/System.ComponentModel/LocalizableAttribute.xml @@ -79,7 +79,7 @@ The following example marks a property as needing to be localized. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic LocalizableAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LocalizableAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic LocalizableAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LocalizableAttribute/Overview/source.vb" id="Snippet1"::: The next example shows how to check the value of the for `MyProperty`. First, the code gets a with all the properties for the object. Then, the code gets `MyProperty` from the . Next, it returns the attributes for this property and saves them in the attributes variable. @@ -87,7 +87,7 @@ The following example marks a property as needing to be localized. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic LocalizableAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LocalizableAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic LocalizableAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LocalizableAttribute/Overview/source.vb" id="Snippet2"::: ]]> @@ -151,7 +151,7 @@ The following example marks a property as needing to be localized. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic LocalizableAttribute.LocalizableAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LocalizableAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic LocalizableAttribute.LocalizableAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LocalizableAttribute/.ctor/source.vb" id="Snippet1"::: ]]> @@ -406,7 +406,7 @@ The following example marks a property as needing to be localized. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic LocalizableAttribute.IsLocalizable Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LocalizableAttribute/IsLocalizable/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic LocalizableAttribute.IsLocalizable Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LocalizableAttribute/IsLocalizable/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/LookupBindingPropertiesAttribute.xml b/xml/System.ComponentModel/LookupBindingPropertiesAttribute.xml index 0ed650eb3d3..f719a1b0651 100644 --- a/xml/System.ComponentModel/LookupBindingPropertiesAttribute.xml +++ b/xml/System.ComponentModel/LookupBindingPropertiesAttribute.xml @@ -66,22 +66,22 @@ The following code example shows properties used with lookup-based binding. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LookupBindingPropertiesAttribute/Overview/DemoControl.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.LookupBindingPropertiesAttribute/VB/DemoControl.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LookupBindingPropertiesAttribute/Overview/DemoControl.vb" id="Snippet2"::: The attribute must include all four members, except when unsetting values. The following code example shows the control. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LookupBindingPropertiesAttribute/Overview/DemoControl.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.LookupBindingPropertiesAttribute/VB/DemoControl.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LookupBindingPropertiesAttribute/Overview/DemoControl.vb" id="Snippet3"::: The following code example shows that a control can support both simple binding as well as list binding. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LookupBindingPropertiesAttribute/Overview/DemoControl.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.LookupBindingPropertiesAttribute/VB/DemoControl.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LookupBindingPropertiesAttribute/Overview/DemoControl.vb" id="Snippet4"::: The following code example shows that the attribute can be unset by specifying no arguments. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/LookupBindingPropertiesAttribute/Overview/DemoControl.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.LookupBindingPropertiesAttribute/VB/DemoControl.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/LookupBindingPropertiesAttribute/Overview/DemoControl.vb" id="Snippet5"::: ]]> diff --git a/xml/System.ComponentModel/MergablePropertyAttribute.xml b/xml/System.ComponentModel/MergablePropertyAttribute.xml index 2c1d452efba..35b50ae4ba2 100644 --- a/xml/System.ComponentModel/MergablePropertyAttribute.xml +++ b/xml/System.ComponentModel/MergablePropertyAttribute.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic MergablePropertyAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/MergablePropertyAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic MergablePropertyAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/MergablePropertyAttribute/Overview/source.vb" id="Snippet1"::: The next example shows how to check the value of the for `MyProperty`. First the code gets a with all the properties for the object. Next it indexes into the to get `MyProperty`. Then it returns the attributes for this property and saves them in the attributes variable. @@ -80,13 +80,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic MergablePropertyAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/MergablePropertyAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic MergablePropertyAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/MergablePropertyAttribute/Overview/source.vb" id="Snippet2"::: If you marked a class with the , use the following code to check the value. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic MergablePropertyAttribute Example/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/MergablePropertyAttribute/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic MergablePropertyAttribute Example/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/MergablePropertyAttribute/Overview/source.vb" id="Snippet3"::: ]]> @@ -150,7 +150,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic MergablePropertyAttribute.MergablePropertyAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/MergablePropertyAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic MergablePropertyAttribute.MergablePropertyAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/MergablePropertyAttribute/.ctor/source.vb" id="Snippet1"::: ]]> @@ -219,7 +219,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic MergablePropertyAttribute.AllowMerge Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/MergablePropertyAttribute/AllowMerge/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic MergablePropertyAttribute.AllowMerge Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/MergablePropertyAttribute/AllowMerge/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/NotifyParentPropertyAttribute.xml b/xml/System.ComponentModel/NotifyParentPropertyAttribute.xml index 8099f4c2eba..01f37fba4af 100644 --- a/xml/System.ComponentModel/NotifyParentPropertyAttribute.xml +++ b/xml/System.ComponentModel/NotifyParentPropertyAttribute.xml @@ -68,7 +68,7 @@ The following code example demonstrates how to use the and the class to create an expandable property on a custom control. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ExpandableObjectConverter/Overview/DemoControl.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ExpandableObjectConverter/VB/DemoControl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ExpandableObjectConverter/Overview/DemoControl.vb" id="Snippet1"::: ]]> @@ -129,7 +129,7 @@ The following code example demonstrates how to use the and the class to create an expandable property on a custom control. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ExpandableObjectConverter/Overview/DemoControl.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.ExpandableObjectConverter/VB/DemoControl.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ExpandableObjectConverter/Overview/DemoControl.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ComponentModel/PasswordPropertyTextAttribute.xml b/xml/System.ComponentModel/PasswordPropertyTextAttribute.xml index cca97779158..4bcd1a9c6c0 100644 --- a/xml/System.ComponentModel/PasswordPropertyTextAttribute.xml +++ b/xml/System.ComponentModel/PasswordPropertyTextAttribute.xml @@ -67,7 +67,7 @@ The following code example demonstrates using the to obscure the value of a string property in a control. For a full code listing, see [How to: Apply Attributes in Windows Forms Controls](/dotnet/framework/winforms/controls/how-to-apply-attributes-in-windows-forms-controls). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.cs" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb" id="Snippet29"::: ]]> diff --git a/xml/System.ComponentModel/ProgressChangedEventArgs.xml b/xml/System.ComponentModel/ProgressChangedEventArgs.xml index 755a5b42327..3fceb4f3394 100644 --- a/xml/System.ComponentModel/ProgressChangedEventArgs.xml +++ b/xml/System.ComponentModel/ProgressChangedEventArgs.xml @@ -58,7 +58,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet7"::: ]]> @@ -182,7 +182,7 @@ To run the example code, paste it into a project that contains an instance of type named `PictureBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet517"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet517"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet517"::: ]]> @@ -247,7 +247,7 @@ To run the example code, paste it into a project that contains an instance of type named `PictureBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet517"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet517"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet517"::: ]]> diff --git a/xml/System.ComponentModel/ProgressChangedEventHandler.xml b/xml/System.ComponentModel/ProgressChangedEventHandler.xml index 50cca905338..baf2895be89 100644 --- a/xml/System.ComponentModel/ProgressChangedEventHandler.xml +++ b/xml/System.ComponentModel/ProgressChangedEventHandler.xml @@ -73,7 +73,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet7"::: ]]> diff --git a/xml/System.ComponentModel/PropertyDescriptor.xml b/xml/System.ComponentModel/PropertyDescriptor.xml index dc3efb4c2ce..bb3f4a4d922 100644 --- a/xml/System.ComponentModel/PropertyDescriptor.xml +++ b/xml/System.ComponentModel/PropertyDescriptor.xml @@ -97,19 +97,19 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PropertyDescriptor/CPP/propertydescriptor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptor/Overview/propertydescriptor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PropertyDescriptor/VB/propertydescriptor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/propertydescriptor.vb" id="Snippet1"::: The following code example shows how to implement a custom property descriptor that provides a read-only wrapper around a property. The `SerializeReadOnlyPropertyDescriptor` is used in a custom designer to provide a read-only property descriptor for the control's property. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptor/Overview/SerializeReadOnlyPropertyDescriptor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/SerializeReadOnlyPropertyDescriptor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/SerializeReadOnlyPropertyDescriptor.vb" id="Snippet1"::: The following code examples show how to use the `SerializeReadOnlyPropertyDescriptor` in a custom designer. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptor/Overview/DemoControlDesigner.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/DemoControlDesigner.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/DemoControlDesigner.vb" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptor/Overview/DemoControl.cs" id="Snippet100"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.PropertyDescriptor/VB/DemoControl.vb" id="Snippet100"::: +:::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptor/Overview/DemoControl.vb" id="Snippet100"::: ]]> diff --git a/xml/System.ComponentModel/PropertyDescriptorCollection.xml b/xml/System.ComponentModel/PropertyDescriptorCollection.xml index b2d65d39757..1c2a61a244b 100644 --- a/xml/System.ComponentModel/PropertyDescriptorCollection.xml +++ b/xml/System.ComponentModel/PropertyDescriptorCollection.xml @@ -84,13 +84,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PropertyDescriptorCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptorCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Overview/source.vb" id="Snippet1"::: The next example prints all the properties on a button in a text box. It requires that `button1` and `textBox1` have been instantiated on a form. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PropertyDescriptorCollection Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptorCollection/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Overview/source.vb" id="Snippet2"::: ]]> @@ -483,7 +483,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.Count Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptorCollection/Count/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.Count Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Count/source.vb" id="Snippet1"::: ]]> @@ -595,7 +595,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.Find Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptorCollection/Find/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.Find Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Find/source.vb" id="Snippet1"::: ]]> @@ -655,7 +655,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.GetEnumerator Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptorCollection/GetEnumerator/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.GetEnumerator Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/GetEnumerator/source.vb" id="Snippet1"::: ]]> @@ -878,7 +878,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.InternalSort Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/InternalSort/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.InternalSort Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/InternalSort/source.vb" id="Snippet1"::: ]]> @@ -952,7 +952,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.this Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptorCollection/Item/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.this Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Item/source.vb" id="Snippet1"::: ]]> @@ -1029,7 +1029,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.this1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptorCollection/Item/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.this1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/Item/source1.vb" id="Snippet1"::: ]]> @@ -1308,7 +1308,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Sort/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Sort/source.vb" id="Snippet1"::: ]]> @@ -1384,7 +1384,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/EventDescriptorCollection/Sort/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic EventDescriptorCollection.Sort Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/EventDescriptorCollection/Sort/source.vb" id="Snippet1"::: ]]> @@ -1762,7 +1762,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.GetEnumerator Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/PropertyDescriptorCollection/GetEnumerator/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyDescriptorCollection.GetEnumerator Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/PropertyDescriptorCollection/GetEnumerator/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/ProvidePropertyAttribute.xml b/xml/System.ComponentModel/ProvidePropertyAttribute.xml index 5348e58084a..95001d85b8e 100644 --- a/xml/System.ComponentModel/ProvidePropertyAttribute.xml +++ b/xml/System.ComponentModel/ProvidePropertyAttribute.xml @@ -73,7 +73,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ProvidePropertyAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ProvidePropertyAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ProvidePropertyAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ProvidePropertyAttribute/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/ReadOnlyAttribute.xml b/xml/System.ComponentModel/ReadOnlyAttribute.xml index 36892c37e64..89637489713 100644 --- a/xml/System.ComponentModel/ReadOnlyAttribute.xml +++ b/xml/System.ComponentModel/ReadOnlyAttribute.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ReadOnlyAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ReadOnlyAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ReadOnlyAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ReadOnlyAttribute/Overview/source.vb" id="Snippet1"::: The next code example shows how to check the value of the for `MyProperty`. First, the code gets a with all the properties for the object. Next, it indexes into the to get `MyProperty`. Then it returns the attributes for this property and saves them in the attributes variable. @@ -80,13 +80,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ReadOnlyAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ReadOnlyAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ReadOnlyAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ReadOnlyAttribute/Overview/source.vb" id="Snippet2"::: If you marked a class with the , use the following code example to check the value. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ReadOnlyAttribute Example/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ReadOnlyAttribute/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ReadOnlyAttribute Example/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ReadOnlyAttribute/Overview/source.vb" id="Snippet3"::: ]]> @@ -158,7 +158,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ReadOnlyAttribute.ReadOnlyAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ReadOnlyAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ReadOnlyAttribute.ReadOnlyAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ReadOnlyAttribute/.ctor/source.vb" id="Snippet1"::: ]]> @@ -419,7 +419,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ReadOnlyAttribute.IsReadOnly Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ReadOnlyAttribute/IsReadOnly/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ReadOnlyAttribute.IsReadOnly Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ReadOnlyAttribute/IsReadOnly/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/RefreshEventHandler.xml b/xml/System.ComponentModel/RefreshEventHandler.xml index 1fc03ef6981..b69a57f9157 100644 --- a/xml/System.ComponentModel/RefreshEventHandler.xml +++ b/xml/System.ComponentModel/RefreshEventHandler.xml @@ -67,7 +67,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RefreshEventHandler/CPP/refreshevent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/RefreshEventHandler/Overview/refreshevent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RefreshEventHandler/VB/refreshevent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/RefreshEventHandler/Overview/refreshevent.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/RefreshProperties.xml b/xml/System.ComponentModel/RefreshProperties.xml index ceb74f88122..a60d66ef56b 100644 --- a/xml/System.ComponentModel/RefreshProperties.xml +++ b/xml/System.ComponentModel/RefreshProperties.xml @@ -55,7 +55,7 @@ The following example uses the class to specify the refresh mode for a `DataSource` property. For a full code listing, see [How to: Apply Attributes in Windows Forms Controls](/dotnet/framework/winforms/controls/how-to-apply-attributes-in-windows-forms-controls). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb" id="Snippet25"::: ]]> diff --git a/xml/System.ComponentModel/RefreshPropertiesAttribute.xml b/xml/System.ComponentModel/RefreshPropertiesAttribute.xml index 9bba91bf9bf..207f4da6722 100644 --- a/xml/System.ComponentModel/RefreshPropertiesAttribute.xml +++ b/xml/System.ComponentModel/RefreshPropertiesAttribute.xml @@ -66,7 +66,7 @@ The following code example demonstrates using the class to specify the refresh mode for a `DataSource` property. For a full code listing, see [How to: Apply Attributes in Windows Forms Controls](/dotnet/framework/winforms/controls/how-to-apply-attributes-in-windows-forms-controls). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.AttributesDemoControl/VB/attributesdemocontrol.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AmbientValueAttribute/Overview/attributesdemocontrol.vb" id="Snippet25"::: ]]> diff --git a/xml/System.ComponentModel/RunInstallerAttribute.xml b/xml/System.ComponentModel/RunInstallerAttribute.xml index 922b24b137a..301a43797d0 100644 --- a/xml/System.ComponentModel/RunInstallerAttribute.xml +++ b/xml/System.ComponentModel/RunInstallerAttribute.xml @@ -71,13 +71,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RunInstallerAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/RunInstallerAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RunInstallerAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/RunInstallerAttribute/Overview/source.vb" id="Snippet1"::: The next example creates an instance of `MyProjectInstaller`. Then it gets the attributes for the class, extracts the , and prints whether to run the installer. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RunInstallerAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/RunInstallerAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RunInstallerAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/RunInstallerAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/RunWorkerCompletedEventArgs.xml b/xml/System.ComponentModel/RunWorkerCompletedEventArgs.xml index d5b9da9769f..12e9ea1daae 100644 --- a/xml/System.ComponentModel/RunWorkerCompletedEventArgs.xml +++ b/xml/System.ComponentModel/RunWorkerCompletedEventArgs.xml @@ -64,7 +64,7 @@ When using the [event-based asynchronous pattern](/dotnet/standard/asynchronous- :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet6"::: ]]> @@ -174,7 +174,7 @@ When using the [event-based asynchronous pattern](/dotnet/standard/asynchronous- :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet6"::: ]]> diff --git a/xml/System.ComponentModel/RunWorkerCompletedEventHandler.xml b/xml/System.ComponentModel/RunWorkerCompletedEventHandler.xml index f03ba2e3183..f603d3730f9 100644 --- a/xml/System.ComponentModel/RunWorkerCompletedEventHandler.xml +++ b/xml/System.ComponentModel/RunWorkerCompletedEventHandler.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/CPP/fibonacciform.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.BackgroundWorker/VB/fibonacciform.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/Overview/fibonacciform.vb" id="Snippet6"::: ]]> diff --git a/xml/System.ComponentModel/SByteConverter.xml b/xml/System.ComponentModel/SByteConverter.xml index add58a85128..717c70df79c 100644 --- a/xml/System.ComponentModel/SByteConverter.xml +++ b/xml/System.ComponentModel/SByteConverter.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet18"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet18"::: ]]> diff --git a/xml/System.ComponentModel/SingleConverter.xml b/xml/System.ComponentModel/SingleConverter.xml index bf000713028..50c305cd958 100644 --- a/xml/System.ComponentModel/SingleConverter.xml +++ b/xml/System.ComponentModel/SingleConverter.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet19"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet19"::: ]]> diff --git a/xml/System.ComponentModel/TimeSpanConverter.xml b/xml/System.ComponentModel/TimeSpanConverter.xml index a5d2d82b876..f8f919ca7ab 100644 --- a/xml/System.ComponentModel/TimeSpanConverter.xml +++ b/xml/System.ComponentModel/TimeSpanConverter.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet21"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet21"::: ]]> diff --git a/xml/System.ComponentModel/ToolboxItemAttribute.xml b/xml/System.ComponentModel/ToolboxItemAttribute.xml index 0adbb54e0c8..25af09f761c 100644 --- a/xml/System.ComponentModel/ToolboxItemAttribute.xml +++ b/xml/System.ComponentModel/ToolboxItemAttribute.xml @@ -65,7 +65,7 @@ The following code example demonstrates the use of with the class as a base class for a custom toolbox item implementation. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Design.ToolboxItem/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/ToolboxItemFilterAttribute.xml b/xml/System.ComponentModel/ToolboxItemFilterAttribute.xml index 673ccad173b..44b0d808f7c 100644 --- a/xml/System.ComponentModel/ToolboxItemFilterAttribute.xml +++ b/xml/System.ComponentModel/ToolboxItemFilterAttribute.xml @@ -73,7 +73,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IToolboxUserExample/CPP/samplecontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IToolboxUserExample/VB/samplecontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.vb" id="Snippet1"::: ]]> @@ -185,7 +185,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IToolboxUserExample/CPP/samplecontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IToolboxUserExample/VB/samplecontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/ToolboxItemFilterType.xml b/xml/System.ComponentModel/ToolboxItemFilterType.xml index 36b22f01298..4d360f15630 100644 --- a/xml/System.ComponentModel/ToolboxItemFilterType.xml +++ b/xml/System.ComponentModel/ToolboxItemFilterType.xml @@ -50,7 +50,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IToolboxUserExample/CPP/samplecontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IToolboxUserExample/VB/samplecontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/TypeConverter.xml b/xml/System.ComponentModel/TypeConverter.xml index a9def877ea9..e877ff4ffd0 100644 --- a/xml/System.ComponentModel/TypeConverter.xml +++ b/xml/System.ComponentModel/TypeConverter.xml @@ -76,31 +76,31 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TypeConverter Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/TypeConverter/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TypeConverter Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/TypeConverter/Overview/source.vb" id="Snippet1"::: When you have a property that has an enumeration, check to see whether an enumeration value is valid before setting the property. The next code example requires that an enumeration called `MyPropertyEnum` has been declared. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TypeConverter Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/TypeConverter/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TypeConverter Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/TypeConverter/Overview/source.vb" id="Snippet2"::: Another common type converter usage is to convert an object to a string. The following code example prints out the name of the stored in the variable `c`. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TypeConverter Example/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/TypeConverter/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TypeConverter Example/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/TypeConverter/Overview/source.vb" id="Snippet3"::: You can also use a type converter to convert a value from its name, as shown in the next code example. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TypeConverter Example/CPP/source.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/TypeConverter/Overview/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TypeConverter Example/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/TypeConverter/Overview/source.vb" id="Snippet4"::: In the following code example, you can use a type converter to print out the set of standard values that the object supports. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TypeConverter Example/CPP/source.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/TypeConverter/Overview/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TypeConverter Example/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/TypeConverter/Overview/source.vb" id="Snippet5"::: ]]> diff --git a/xml/System.ComponentModel/TypeConverterAttribute.xml b/xml/System.ComponentModel/TypeConverterAttribute.xml index f1c2d1c4236..e9e265f2e82 100644 --- a/xml/System.ComponentModel/TypeConverterAttribute.xml +++ b/xml/System.ComponentModel/TypeConverterAttribute.xml @@ -91,13 +91,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TypeConverterAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/TypeConverterAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TypeConverterAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/TypeConverterAttribute/Overview/source.vb" id="Snippet1"::: The next example creates an instance of `MyClass`. Then it gets the attributes for the class, and prints the name of the type converter used by `MyClass`. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TypeConverterAttribute Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/TypeConverterAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TypeConverterAttribute Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/TypeConverterAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel/TypeDescriptor.xml b/xml/System.ComponentModel/TypeDescriptor.xml index 4f261e2487c..8aaf07027b7 100644 --- a/xml/System.ComponentModel/TypeDescriptor.xml +++ b/xml/System.ComponentModel/TypeDescriptor.xml @@ -3878,7 +3878,7 @@ The following code example demonstrates the use of the method to access the properties of a control. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/TypeDescriptor/GetProperties/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.ComponentModel.Design.DesignerServices/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/TypeDescriptor/GetProperties/Form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.ComponentModel/UInt16Converter.xml b/xml/System.ComponentModel/UInt16Converter.xml index ab5046cd393..1ab113df28b 100644 --- a/xml/System.ComponentModel/UInt16Converter.xml +++ b/xml/System.ComponentModel/UInt16Converter.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet23"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet23"::: ]]> diff --git a/xml/System.ComponentModel/UInt32Converter.xml b/xml/System.ComponentModel/UInt32Converter.xml index 08cd7c12968..59aede84332 100644 --- a/xml/System.ComponentModel/UInt32Converter.xml +++ b/xml/System.ComponentModel/UInt32Converter.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet24"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet24"::: ]]> diff --git a/xml/System.ComponentModel/UInt64Converter.xml b/xml/System.ComponentModel/UInt64Converter.xml index c3445d235c2..7475a99720b 100644 --- a/xml/System.ComponentModel/UInt64Converter.xml +++ b/xml/System.ComponentModel/UInt64Converter.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Converters/CPP/converters.cpp" id="Snippet25"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BooleanConverter/Overview/converters.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Converters/VB/converters.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BooleanConverter/Overview/converters.vb" id="Snippet25"::: ]]> diff --git a/xml/System.ComponentModel/WarningException.xml b/xml/System.ComponentModel/WarningException.xml index 1983a404613..09860e152f7 100644 --- a/xml/System.ComponentModel/WarningException.xml +++ b/xml/System.ComponentModel/WarningException.xml @@ -67,7 +67,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/WarningException/CPP/warningex_doc.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/WarningException/Overview/warningex_doc.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WarningException/VB/warningex_doc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/WarningException/Overview/warningex_doc.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/Win32Exception.xml b/xml/System.ComponentModel/Win32Exception.xml index 43b1d4231e5..f53e7774971 100644 --- a/xml/System.ComponentModel/Win32Exception.xml +++ b/xml/System.ComponentModel/Win32Exception.xml @@ -85,7 +85,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Win32Exception/CPP/win32exception.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/Win32Exception/Overview/win32exception.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Win32Exception/VB/win32exception.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/Win32Exception/Overview/win32exception.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Configuration.Install/AssemblyInstaller.xml b/xml/System.Configuration.Install/AssemblyInstaller.xml index 217161b94b4..d2d38f77f26 100644 --- a/xml/System.Configuration.Install/AssemblyInstaller.xml +++ b/xml/System.Configuration.Install/AssemblyInstaller.xml @@ -25,7 +25,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AssemblyInstaller/CPP/assemblyinstaller.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/AssemblyInstaller/Overview/assemblyinstaller.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller/VB/assemblyinstaller.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/Overview/assemblyinstaller.vb" id="Snippet1"::: ]]> @@ -66,7 +66,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AssemblyInstaller_Install/CPP/assemblyinstaller_install.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/AssemblyInstaller/.ctor/assemblyinstaller_install.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller_Install/VB/assemblyinstaller_install.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/.ctor/assemblyinstaller_install.vb" id="Snippet2"::: ]]> @@ -136,7 +136,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AssemblyInstaller_Uninstall/CPP/assemblyinstaller_uninstall.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/AssemblyInstaller/.ctor/assemblyinstaller_uninstall.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller_Uninstall/VB/assemblyinstaller_uninstall.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/.ctor/assemblyinstaller_uninstall.vb" id="Snippet1"::: ]]> @@ -217,7 +217,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AssemblyInstaller_CheckIfInstallable/CPP/assemblyinstaller_checkifinstallable.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/AssemblyInstaller/CheckIfInstallable/assemblyinstaller_checkifinstallable.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller_CheckIfInstallable/VB/assemblyinstaller_checkifinstallable.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/CheckIfInstallable/assemblyinstaller_checkifinstallable.vb" id="Snippet1"::: ]]> @@ -252,7 +252,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AssemblyInstaller_Rollback/CPP/assemblyinstaller_rollback.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/AssemblyInstaller/CommandLine/assemblyinstaller_rollback.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller_Rollback/VB/assemblyinstaller_rollback.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/CommandLine/assemblyinstaller_rollback.vb" id="Snippet3"::: ]]> @@ -299,7 +299,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AssemblyInstaller_Install/CPP/assemblyinstaller_install.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/AssemblyInstaller/.ctor/assemblyinstaller_install.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller_Install/VB/assemblyinstaller_install.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/.ctor/assemblyinstaller_install.vb" id="Snippet2"::: ]]> @@ -365,7 +365,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AssemblyInstaller_HelpText/CPP/assemblyinstaller_helptext.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/AssemblyInstaller/HelpText/assemblyinstaller_helptext.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller_HelpText/VB/assemblyinstaller_helptext.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/HelpText/assemblyinstaller_helptext.vb" id="Snippet2"::: ]]> @@ -410,7 +410,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AssemblyInstaller_Install/CPP/assemblyinstaller_install.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/AssemblyInstaller/.ctor/assemblyinstaller_install.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller_Install/VB/assemblyinstaller_install.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/.ctor/assemblyinstaller_install.vb" id="Snippet2"::: ]]> @@ -465,7 +465,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AssemblyInstaller_Rollback/CPP/assemblyinstaller_rollback.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/AssemblyInstaller/CommandLine/assemblyinstaller_rollback.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller_Rollback/VB/assemblyinstaller_rollback.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/CommandLine/assemblyinstaller_rollback.vb" id="Snippet2"::: ]]> @@ -507,7 +507,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AssemblyInstaller_Rollback/CPP/assemblyinstaller_rollback.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/AssemblyInstaller/CommandLine/assemblyinstaller_rollback.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller_Rollback/VB/assemblyinstaller_rollback.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/CommandLine/assemblyinstaller_rollback.vb" id="Snippet1"::: ]]> @@ -579,7 +579,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AssemblyInstaller_Uninstall/CPP/assemblyinstaller_uninstall.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/AssemblyInstaller/.ctor/assemblyinstaller_uninstall.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller_Uninstall/VB/assemblyinstaller_uninstall.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/.ctor/assemblyinstaller_uninstall.vb" id="Snippet2"::: ]]> @@ -646,7 +646,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AssemblyInstaller_HelpText/CPP/assemblyinstaller_helptext.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/AssemblyInstaller/HelpText/assemblyinstaller_helptext.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyInstaller_HelpText/VB/assemblyinstaller_helptext.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/AssemblyInstaller/HelpText/assemblyinstaller_helptext.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Configuration.Install/ComponentInstaller.xml b/xml/System.Configuration.Install/ComponentInstaller.xml index 68eb2e10540..a2504021311 100644 --- a/xml/System.Configuration.Install/ComponentInstaller.xml +++ b/xml/System.Configuration.Install/ComponentInstaller.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ComponentInstaller_CopyFromComponent/CPP/componentinstaller_copyfromcomponent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/ComponentInstaller/CopyFromComponent/componentinstaller_copyfromcomponent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ComponentInstaller_CopyFromComponent/VB/componentinstaller_copyfromcomponent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/ComponentInstaller/CopyFromComponent/componentinstaller_copyfromcomponent.vb" id="Snippet1"::: ]]> @@ -122,7 +122,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ComponentInstaller_CopyFromComponent/CPP/componentinstaller_copyfromcomponent.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/ComponentInstaller/CopyFromComponent/componentinstaller_copyfromcomponent.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ComponentInstaller_CopyFromComponent/VB/componentinstaller_copyfromcomponent.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/ComponentInstaller/CopyFromComponent/componentinstaller_copyfromcomponent.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Configuration.Install/InstallContext.xml b/xml/System.Configuration.Install/InstallContext.xml index 8bb0cad9aec..0691dea2762 100644 --- a/xml/System.Configuration.Install/InstallContext.xml +++ b/xml/System.Configuration.Install/InstallContext.xml @@ -40,7 +40,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/InstallContext_InstallContext/CPP/installcontext_installcontext.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/InstallContext/Overview/installcontext_installcontext.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InstallContext_InstallContext/VB/installcontext_installcontext.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/InstallContext/Overview/installcontext_installcontext.vb" id="Snippet1"::: ]]> @@ -91,7 +91,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/InstallContext_InstallContext/CPP/installcontext_installcontext.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/InstallContext/Overview/installcontext_installcontext.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InstallContext_InstallContext/VB/installcontext_installcontext.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/InstallContext/Overview/installcontext_installcontext.vb" id="Snippet2"::: ]]> @@ -134,7 +134,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/InstallContext_InstallContext/CPP/installcontext_installcontext.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/InstallContext/Overview/installcontext_installcontext.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InstallContext_InstallContext/VB/installcontext_installcontext.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/InstallContext/Overview/installcontext_installcontext.vb" id="Snippet3"::: ]]> @@ -185,7 +185,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/InstallContext_InstallContext/CPP/installcontext_installcontext.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/InstallContext/Overview/installcontext_installcontext.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InstallContext_InstallContext/VB/installcontext_installcontext.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/InstallContext/Overview/installcontext_installcontext.vb" id="Snippet4"::: ]]> @@ -230,7 +230,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/InstallContext_InstallContext/CPP/installcontext_installcontext.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/InstallContext/Overview/installcontext_installcontext.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InstallContext_InstallContext/VB/installcontext_installcontext.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/InstallContext/Overview/installcontext_installcontext.vb" id="Snippet4"::: ]]> @@ -272,7 +272,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/InstallContext_InstallContext/CPP/installcontext_installcontext.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/InstallContext/Overview/installcontext_installcontext.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InstallContext_InstallContext/VB/installcontext_installcontext.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/InstallContext/Overview/installcontext_installcontext.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Configuration.Install/InstallEventArgs.xml b/xml/System.Configuration.Install/InstallEventArgs.xml index c49945f8399..fceff91cb1d 100644 --- a/xml/System.Configuration.Install/InstallEventArgs.xml +++ b/xml/System.Configuration.Install/InstallEventArgs.xml @@ -32,7 +32,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/InstallEventArgs/CPP/installeventargs.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/InstallEventArgs/Overview/installeventargs.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InstallEventArgs/VB/installeventargs.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/InstallEventArgs/Overview/installeventargs.vb" id="Snippet1"::: ]]> @@ -87,7 +87,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/InstallEventArgs/CPP/installeventargs.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/InstallEventArgs/Overview/installeventargs.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InstallEventArgs/VB/installeventargs.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/InstallEventArgs/Overview/installeventargs.vb" id="Snippet1"::: ]]> @@ -124,7 +124,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/InstallEventArgs/CPP/installeventargs.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/InstallEventArgs/Overview/installeventargs.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InstallEventArgs/VB/installeventargs.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/InstallEventArgs/Overview/installeventargs.vb" id="Snippet1"::: ]]> @@ -162,7 +162,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/InstallEventArgs/CPP/installeventargs.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/InstallEventArgs/Overview/installeventargs.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InstallEventArgs/VB/installeventargs.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/InstallEventArgs/Overview/installeventargs.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Configuration.Install/InstallException.xml b/xml/System.Configuration.Install/InstallException.xml index 26337349253..13b74a9e1aa 100644 --- a/xml/System.Configuration.Install/InstallException.xml +++ b/xml/System.Configuration.Install/InstallException.xml @@ -40,7 +40,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/InstallException/CPP/installexception.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/InstallException/Overview/installexception.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InstallException/VB/installexception.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/InstallException/Overview/installexception.vb" id="Snippet1"::: ]]> @@ -88,7 +88,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/InstallException/CPP/installexception.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/InstallException/Overview/installexception.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InstallException/VB/installexception.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/InstallException/Overview/installexception.vb" id="Snippet2"::: ]]> @@ -127,7 +127,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/InstallException/CPP/installexception.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/InstallException/Overview/installexception.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InstallException/VB/installexception.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/InstallException/Overview/installexception.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Configuration.Install/Installer.xml b/xml/System.Configuration.Install/Installer.xml index 5725f5553f3..89b86c6716a 100644 --- a/xml/System.Configuration.Install/Installer.xml +++ b/xml/System.Configuration.Install/Installer.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Installer/CPP/installer.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/Installer/Overview/installer.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Installer/VB/installer.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/Installer/Overview/installer.vb" id="Snippet1"::: ]]> @@ -119,7 +119,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Installer_AfterInstall/CPP/installer_afterinstall.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/Installer/AfterInstall/installer_afterinstall.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Installer_AfterInstall/VB/installer_afterinstall.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/Installer/AfterInstall/installer_afterinstall.vb" id="Snippet1"::: ]]> @@ -155,7 +155,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Installer_AfterRollback/CPP/installer_afterrollback.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/Installer/AfterRollback/installer_afterrollback.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Installer_AfterRollback/VB/installer_afterrollback.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/Installer/AfterRollback/installer_afterrollback.vb" id="Snippet1"::: ]]> @@ -191,7 +191,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Installer_AfterUninstall/CPP/installer_afteruninstall.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/Installer/AfterUninstall/installer_afteruninstall.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Installer_AfterUninstall/VB/installer_afteruninstall.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/Installer/AfterUninstall/installer_afteruninstall.vb" id="Snippet1"::: ]]> @@ -227,7 +227,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Installer_BeforeInstall/CPP/installer_beforeinstall.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/Installer/BeforeInstall/installer_beforeinstall.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Installer_BeforeInstall/VB/installer_beforeinstall.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/Installer/BeforeInstall/installer_beforeinstall.vb" id="Snippet1"::: ]]> @@ -263,7 +263,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Installer_BeforeRollback/CPP/installer_beforerollback.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/Installer/BeforeRollback/installer_beforerollback.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Installer_BeforeRollback/VB/installer_beforerollback.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/Installer/BeforeRollback/installer_beforerollback.vb" id="Snippet1"::: ]]> @@ -299,7 +299,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Installer_BeforeUninstall/CPP/installer_beforeuninstall.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/Installer/BeforeUninstall/installer_beforeuninstall.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Installer_BeforeUninstall/VB/installer_beforeuninstall.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/Installer/BeforeUninstall/installer_beforeuninstall.vb" id="Snippet1"::: ]]> @@ -339,7 +339,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Installer_Install/CPP/installer_install.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/Installer/Commit/installer_install.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Installer_Install/VB/installer_install.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/Installer/Commit/installer_install.vb" id="Snippet2"::: ]]> @@ -386,7 +386,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Installer_Committed1/CPP/installer_committed.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/Installer/Committed/installer_committed.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Installer_Committed1/VB/installer_committed.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/Installer/Committed/installer_committed.vb" id="Snippet1"::: ]]> @@ -422,7 +422,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Installer_Committing/CPP/installer_committing.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/Installer/Committing/installer_committing.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Installer_Committing/VB/installer_committing.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/Installer/Committing/installer_committing.vb" id="Snippet1"::: ]]> @@ -478,7 +478,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Installer_Context/CPP/installer_context.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/Installer/Context/installer_context.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Installer_Context/VB/installer_context.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/Installer/Context/installer_context.vb" id="Snippet1"::: ]]> @@ -518,7 +518,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Installer_HelpText/CPP/installer_helptext.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/Installer/HelpText/installer_helptext.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Installer_HelpText/VB/installer_helptext.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/Installer/HelpText/installer_helptext.vb" id="Snippet1"::: ]]> @@ -557,7 +557,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Installer_Install/CPP/installer_install.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/Installer/Commit/installer_install.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Installer_Install/VB/installer_install.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/Installer/Commit/installer_install.vb" id="Snippet1"::: ]]> @@ -625,7 +625,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Installer_Installers/CPP/installer_installers.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/Installer/Installers/installer_installers.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Installer_Installers/VB/installer_installers.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/Installer/Installers/installer_installers.vb" id="Snippet1"::: ]]> @@ -680,7 +680,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Installer_OnInstall/CPP/installer_oninstall.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/Installer/OnAfterInstall/installer_oninstall.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Installer_OnInstall/VB/installer_oninstall.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/Installer/OnAfterInstall/installer_oninstall.vb" id="Snippet2"::: ]]> @@ -829,7 +829,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Installer_OnInstall/CPP/installer_oninstall.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/Installer/OnAfterInstall/installer_oninstall.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Installer_OnInstall/VB/installer_oninstall.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/Installer/OnAfterInstall/installer_oninstall.vb" id="Snippet1"::: ]]> @@ -979,7 +979,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Installer_Committed/CPP/installer_committed.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/Installer/OnCommitted/installer_committed.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Installer_Committed/VB/installer_committed.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/Installer/OnCommitted/installer_committed.vb" id="Snippet2"::: ]]> @@ -1035,7 +1035,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Installer_Committed/CPP/installer_committed.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/Installer/OnCommitted/installer_committed.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Installer_Committed/VB/installer_committed.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/Installer/OnCommitted/installer_committed.vb" id="Snippet1"::: ]]> @@ -1104,7 +1104,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Installer_Installers/CPP/installer_installers.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/Installer/Installers/installer_installers.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Installer_Installers/VB/installer_installers.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/Installer/Installers/installer_installers.vb" id="Snippet2"::: ]]> @@ -1147,7 +1147,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Installer_Rollback/CPP/installer_rollback.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/Installer/Rollback/installer_rollback.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Installer_Rollback/VB/installer_rollback.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/Installer/Rollback/installer_rollback.vb" id="Snippet1"::: ]]> @@ -1198,7 +1198,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Installer_Uninstall/CPP/installer_uninstall.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/Installer/Uninstall/installer_uninstall.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Installer_Uninstall/VB/installer_uninstall.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/Installer/Uninstall/installer_uninstall.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Configuration.Install/InstallerCollection.xml b/xml/System.Configuration.Install/InstallerCollection.xml index 912e69a5b56..63e7ed8c48c 100644 --- a/xml/System.Configuration.Install/InstallerCollection.xml +++ b/xml/System.Configuration.Install/InstallerCollection.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/InstallerCollection_Add/CPP/installercollection_add.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/InstallerCollection/Overview/installercollection_add.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InstallerCollection_Add/VB/installercollection_add.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/InstallerCollection/Overview/installercollection_add.vb" id="Snippet1"::: ]]> @@ -94,7 +94,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/InstallerCollection_Add/CPP/installercollection_add.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/InstallerCollection/Overview/installercollection_add.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InstallerCollection_Add/VB/installercollection_add.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/InstallerCollection/Overview/installercollection_add.vb" id="Snippet1"::: ]]> @@ -148,7 +148,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/InstallerCollection_AddRange1/CPP/installercollection_addrange1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/InstallerCollection/AddRange/installercollection_addrange1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InstallerCollection_AddRange1/VB/installercollection_addrange1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/InstallerCollection/AddRange/installercollection_addrange1.vb" id="Snippet1"::: ]]> @@ -193,7 +193,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/InstallerCollection_Insert/CPP/installercollection_insert.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/InstallerCollection/AddRange/installercollection_insert.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InstallerCollection_Insert/VB/installercollection_insert.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/InstallerCollection/AddRange/installercollection_insert.vb" id="Snippet1"::: ]]> @@ -235,7 +235,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/InstallerCollection_Remove/CPP/installercollection_remove.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/InstallerCollection/Contains/installercollection_remove.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InstallerCollection_Remove/VB/installercollection_remove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/InstallerCollection/Contains/installercollection_remove.vb" id="Snippet1"::: ]]> @@ -278,7 +278,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/InstallerCollection_CopyTo/CPP/installercollection_copyto.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/InstallerCollection/CopyTo/installercollection_copyto.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InstallerCollection_CopyTo/VB/installercollection_copyto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/InstallerCollection/CopyTo/installercollection_copyto.vb" id="Snippet1"::: ]]> @@ -316,7 +316,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/InstallerCollection_Remove/CPP/installercollection_remove.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/InstallerCollection/Contains/installercollection_remove.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InstallerCollection_Remove/VB/installercollection_remove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/InstallerCollection/Contains/installercollection_remove.vb" id="Snippet1"::: ]]> @@ -355,7 +355,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/InstallerCollection_Insert/CPP/installercollection_insert.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/InstallerCollection/AddRange/installercollection_insert.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InstallerCollection_Insert/VB/installercollection_insert.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/InstallerCollection/AddRange/installercollection_insert.vb" id="Snippet1"::: ]]> @@ -398,7 +398,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/InstallerCollection_Item/CPP/installercollection_item.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/InstallerCollection/Item/installercollection_item.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InstallerCollection_Item/VB/installercollection_item.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/InstallerCollection/Item/installercollection_item.vb" id="Snippet1"::: ]]> @@ -527,7 +527,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/InstallerCollection_Remove/CPP/installercollection_remove.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/InstallerCollection/Contains/installercollection_remove.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InstallerCollection_Remove/VB/installercollection_remove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/InstallerCollection/Contains/installercollection_remove.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Configuration.Install/TransactedInstaller.xml b/xml/System.Configuration.Install/TransactedInstaller.xml index c0ea0f45917..96e550c2e0b 100644 --- a/xml/System.Configuration.Install/TransactedInstaller.xml +++ b/xml/System.Configuration.Install/TransactedInstaller.xml @@ -32,7 +32,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/TransactedInstaller/CPP/transactedinstaller.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/TransactedInstaller/Overview/transactedinstaller.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TransactedInstaller/VB/transactedinstaller.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/TransactedInstaller/Overview/transactedinstaller.vb" id="Snippet1"::: ]]> @@ -95,7 +95,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/TransactedInstaller/CPP/transactedinstaller.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/TransactedInstaller/Overview/transactedinstaller.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TransactedInstaller/VB/transactedinstaller.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/TransactedInstaller/Overview/transactedinstaller.vb" id="Snippet1"::: ]]> @@ -153,7 +153,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/TransactedInstaller/CPP/transactedinstaller.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/TransactedInstaller/Overview/transactedinstaller.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TransactedInstaller/VB/transactedinstaller.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/TransactedInstaller/Overview/transactedinstaller.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Configuration.Install/UninstallAction.xml b/xml/System.Configuration.Install/UninstallAction.xml index f179ef6e126..99f22482beb 100644 --- a/xml/System.Configuration.Install/UninstallAction.xml +++ b/xml/System.Configuration.Install/UninstallAction.xml @@ -24,7 +24,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/UninstallAction_NoAction_Remove_3/CPP/uninstallaction_noaction_remove_3.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration.Install/UninstallAction/Overview/uninstallaction_noaction_remove_3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/UninstallAction_NoAction_Remove_3/VB/uninstallaction_noaction_remove_3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration.Install/UninstallAction/Overview/uninstallaction_noaction_remove_3.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Configuration/ApplicationSettingsBase.xml b/xml/System.Configuration/ApplicationSettingsBase.xml index 9c9171abf66..76d036e9d35 100644 --- a/xml/System.Configuration/ApplicationSettingsBase.xml +++ b/xml/System.Configuration/ApplicationSettingsBase.xml @@ -86,7 +86,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/AppSettingsSample/cpp/AppSettingsSample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration/ApplicationSettingsBase/Overview/AppSettingsSample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -913,7 +913,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/AppSettingsSample/cpp/AppSettingsSample.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration/ApplicationSettingsBase/Overview/AppSettingsSample.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.vb" id="Snippet6"::: ]]> @@ -975,7 +975,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/AppSettingsSample/cpp/AppSettingsSample.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration/ApplicationSettingsBase/Overview/AppSettingsSample.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.vb" id="Snippet5"::: ]]> @@ -1037,7 +1037,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/AppSettingsSample/cpp/AppSettingsSample.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration/ApplicationSettingsBase/Overview/AppSettingsSample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -1094,7 +1094,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/AppSettingsSample/cpp/AppSettingsSample.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration/ApplicationSettingsBase/Overview/AppSettingsSample.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.vb" id="Snippet7"::: ]]> @@ -1253,7 +1253,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/AppSettingsSample/cpp/AppSettingsSample.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration/ApplicationSettingsBase/Overview/AppSettingsSample.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Configuration/DefaultSettingValueAttribute.xml b/xml/System.Configuration/DefaultSettingValueAttribute.xml index dffa6b2f230..21c3775dfee 100644 --- a/xml/System.Configuration/DefaultSettingValueAttribute.xml +++ b/xml/System.Configuration/DefaultSettingValueAttribute.xml @@ -61,7 +61,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/AppSettingsSample/cpp/AppSettingsSample.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration/ApplicationSettingsBase/Overview/AppSettingsSample.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Configuration/UserScopedSettingAttribute.xml b/xml/System.Configuration/UserScopedSettingAttribute.xml index edc5699fa61..3ea7094cec3 100644 --- a/xml/System.Configuration/UserScopedSettingAttribute.xml +++ b/xml/System.Configuration/UserScopedSettingAttribute.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/AppSettingsSample/cpp/AppSettingsSample.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Configuration/ApplicationSettingsBase/Overview/AppSettingsSample.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/AppSettingsSample/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Configuration/ApplicationSettingsBase/Overview/Form1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Data.Linq.Mapping/AssociationAttribute.xml b/xml/System.Data.Linq.Mapping/AssociationAttribute.xml index 8791ed5ab65..9233a55c2d5 100644 --- a/xml/System.Data.Linq.Mapping/AssociationAttribute.xml +++ b/xml/System.Data.Linq.Mapping/AssociationAttribute.xml @@ -23,19 +23,17 @@ Designates a property to represent a database association, such as a foreign key relationship. - attribute to associate Orders with Customers. - - - -## Examples + attribute to associate Orders with Customers. + +## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/AssociationAttribute/Overview/northwind.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.AssociationAttribute/vb/northwind.vb" id="Snippet1"::: - + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/AssociationAttribute/Overview/northwind.vb" id="Snippet1"::: + ]]> @@ -126,19 +124,19 @@ Gets or sets delete behavior for an association. A string representing the rule. - @@ -173,12 +171,12 @@ Gets or sets the member as the foreign key in an association representing a database relationship. Default = . - @@ -213,11 +211,11 @@ Gets or sets the indication of a uniqueness constraint on the foreign key. Default = . - @@ -252,19 +250,19 @@ Gets or sets one or more members of the target entity class as key values on the other side of the association. Default = Id of the related class. - or 0-n for ) is assumed to be true. - - - -## Examples + or 0-n for ) is assumed to be true. + + + +## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/AssociationAttribute/Overview/northwind.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.AssociationAttribute/vb/northwind.vb" id="Snippet2"::: - + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/AssociationAttribute/Overview/northwind.vb" id="Snippet2"::: + ]]> @@ -299,19 +297,19 @@ Gets or sets members of this entity class to represent the key values on this side of the association. Default = Id of the containing class. - or 0-n for ) is assumed to be true. - - - -## Examples + or 0-n for ) is assumed to be true. + + + +## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/AssociationAttribute/Overview/northwind.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.AssociationAttribute/vb/northwind.vb" id="Snippet3"::: - + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/AssociationAttribute/Overview/northwind.vb" id="Snippet3"::: + ]]> diff --git a/xml/System.Data.Linq.Mapping/ColumnAttribute.xml b/xml/System.Data.Linq.Mapping/ColumnAttribute.xml index 7c24450ffe7..3961b243134 100644 --- a/xml/System.Data.Linq.Mapping/ColumnAttribute.xml +++ b/xml/System.Data.Linq.Mapping/ColumnAttribute.xml @@ -142,7 +142,7 @@ public class Employees ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/northwind.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.vb" id="Snippet1"::: ]]> @@ -186,7 +186,7 @@ public class Employees ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/northwind.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.vb" id="Snippet2"::: ]]> @@ -233,7 +233,7 @@ public class Employees ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/northwind.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.vb" id="Snippet4"::: ]]> @@ -283,7 +283,7 @@ public class Employees ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/northwind.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.vb" id="Snippet5"::: ]]> @@ -331,7 +331,7 @@ public class Employees ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/northwind.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.vb" id="Snippet6"::: ]]> @@ -378,7 +378,7 @@ public class Employees ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/northwind.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.vb" id="Snippet7"::: ]]> @@ -428,7 +428,7 @@ public class Employees ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/northwind.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.vb" id="Snippet8"::: ]]> @@ -479,7 +479,7 @@ public class Employees ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/northwind.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.vb" id="Snippet9"::: ]]> @@ -536,7 +536,7 @@ public class Employees ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/northwind.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Data.Linq.Mapping/InheritanceMappingAttribute.xml b/xml/System.Data.Linq.Mapping/InheritanceMappingAttribute.xml index 026aa26988a..b5cd92f5a7b 100644 --- a/xml/System.Data.Linq.Mapping/InheritanceMappingAttribute.xml +++ b/xml/System.Data.Linq.Mapping/InheritanceMappingAttribute.xml @@ -46,12 +46,12 @@ This example shows inheritance mapping for a hierarchy where the top, mapped class (`Shape`) is abstract. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/InheritanceMappingAttribute/Overview/Program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.InheritanceMappingAttribute/vb/Module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/InheritanceMappingAttribute/Overview/Module1.vb" id="Snippet1"::: The following example shows the inclusion of unmapped classes. You can put unmapped classes anywhere in the hierarchy. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/InheritanceMappingAttribute/Overview/Program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.InheritanceMappingAttribute/vb/Module1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/InheritanceMappingAttribute/Overview/Module1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Data.Linq/ChangeAction.xml b/xml/System.Data.Linq/ChangeAction.xml index 47ca3366693..54cbc711489 100644 --- a/xml/System.Data.Linq/ChangeAction.xml +++ b/xml/System.Data.Linq/ChangeAction.xml @@ -25,7 +25,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/ChangeAction/Overview/Program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.ChangeAction/vb/Module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq/ChangeAction/Overview/Module1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Data.Linq/DataContext.xml b/xml/System.Data.Linq/DataContext.xml index 993d4488130..7a5faec385a 100644 --- a/xml/System.Data.Linq/DataContext.xml +++ b/xml/System.Data.Linq/DataContext.xml @@ -284,7 +284,7 @@ The following code shows how to set up a temporary database and then remove it. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/DataContext/CreateDatabase/Program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.DataContext/vb/Module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq/DataContext/CreateDatabase/Module1.vb" id="Snippet1"::: ]]> @@ -373,7 +373,7 @@ The following example uses this method to determine whether a database already exists. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/DataContext/CreateDatabase/Program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.DataContext/vb/Module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq/DataContext/CreateDatabase/Module1.vb" id="Snippet1"::: ]]> @@ -456,7 +456,7 @@ The following example shows how to delete a database that has been temporarily created. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/DataContext/CreateDatabase/Program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.DataContext/vb/Module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq/DataContext/CreateDatabase/Module1.vb" id="Snippet1"::: ]]> @@ -1143,7 +1143,7 @@ Next The following example displays generated SQL in the console window before it displays the results of the query. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/DataContext/CreateDatabase/Program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.DataContext/vb/Module1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq/DataContext/CreateDatabase/Module1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Data.Services.Client/DataServiceCollection`1.xml b/xml/System.Data.Services.Client/DataServiceCollection`1.xml index d46f1b6a4c5..bce290a67e3 100644 --- a/xml/System.Data.Services.Client/DataServiceCollection`1.xml +++ b/xml/System.Data.Services.Client/DataServiceCollection`1.xml @@ -38,11 +38,11 @@ The following example is from the code-behind page for an Extensible Application Markup Language (XAML) page that defines the `SalesOrders` window in WPF. When the window is loaded, an is created based on the result of a query that returns customers with related objects, filtered by country/region. This result is bound to the property of the that is the root layout control for the WPF window. :::code language="csharp" source="~/snippets/csharp/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderswpf.xaml.cs" id="Snippetwpfdatabinding"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf.xaml.vb" id="Snippetwpfdatabinding"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderswpf.xaml.vb" id="Snippetwpfdatabinding"::: The following is the XAML that defines the `SalesOrders` window in WPF for the previous example. - :::code language="xaml" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf.xaml" id="Snippetwpfdatabindingxaml"::: + :::code language="xaml" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderswpf.xaml" id="Snippetwpfdatabindingxaml"::: ]]> @@ -411,7 +411,7 @@ The following example is from the code-behind page for an Extensible Application Markup Language (XAML) page that defines the `SalesOrders` window in WPF. When the window is loaded, a is created based on the result of a query that returns customers, filtered by country/region. All of the pages of this paged result are loaded, along with the related orders, and are bound to the property of the that is the root layout control for the WPF window. For more information, see [How to: Bind Data to Windows Presentation Foundation Elements](/dotnet/framework/data/wcf/bind-data-to-wpf-elements-wcf-data-services). :::code language="csharp" source="~/snippets/csharp/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderswpf3.xaml.cs" id="Snippetbindpageddata"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf3.xaml.vb" id="Snippetbindpageddata"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderswpf3.xaml.vb" id="Snippetbindpageddata"::: ]]> diff --git a/xml/System.Data.Services.Client/DataServiceContext.xml b/xml/System.Data.Services.Client/DataServiceContext.xml index 338d7ad5bd8..ae295cf06a2 100644 --- a/xml/System.Data.Services.Client/DataServiceContext.xml +++ b/xml/System.Data.Services.Client/DataServiceContext.xml @@ -27,7 +27,7 @@ The following example shows how to use the generated by the Add Service Reference tool to implicitly execute a query against the Northwind data service that returns all customers. The URI of the requested `Customers` entity set is determined automatically by the context. The query is executed implicitly when the enumeration occurs. The Northwind data service is created when you complete the WCF Data Services . :::code language="csharp" source="~/snippets/csharp/System.Data.Services.Client/DataServiceCollectionT/Overview/source.cs" id="Snippetgetallcustomers"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb" id="Snippetgetallcustomers"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/source.vb" id="Snippetgetallcustomers"::: ]]> @@ -115,7 +115,7 @@ The following example shows how to use the and methods to create links that define relationships. In this example, the navigation properties on the `Order_Details` object are also explicitly set. This example uses the generated by the Add Service Reference tool based on the Northwind data service, which is created when you complete the WCF Data Services . :::code language="csharp" source="~/snippets/csharp/System.Data.Services.Client/DataServiceCollectionT/Overview/source.cs" id="Snippetaddorderdetailtoorder"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb" id="Snippetaddorderdetailtoorder"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/source.vb" id="Snippetaddorderdetailtoorder"::: ]]> @@ -528,7 +528,7 @@ The following example shows how to execute an asynchronous query by calling the method to start the query. The inline delegate calls the method to display the query results. This example uses the generated by the Add Service Reference tool based on the Northwind data service, which is created when you complete the WCF Data Services . :::code language="csharp" source="~/snippets/csharp/System.Data.Services.Client/DataServiceCollectionT/Overview/source.cs" id="Snippetexecutequeryasync"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb" id="Snippetexecutequeryasync"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/source.vb" id="Snippetexecutequeryasync"::: ]]> @@ -1211,7 +1211,7 @@ The following example shows how to execute an asynchronous query by calling the method to start the query. The inline delegate calls the method to display the query results. This example uses the generated by the Add Service Reference tool based on the Northwind data service, which is created when you complete the WCF Data Services . :::code language="csharp" source="~/snippets/csharp/System.Data.Services.Client/DataServiceCollectionT/Overview/source.cs" id="Snippetexecutequeryasync"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb" id="Snippetexecutequeryasync"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/source.vb" id="Snippetexecutequeryasync"::: ]]> @@ -1479,7 +1479,7 @@ This example uses a `do…while` loop to load `Customers` entities from a paged results from the data service. The method is called by using the next link URI to receive the next page of data. :::code language="csharp" source="~/snippets/csharp/System.Data.Services.Client/DataServiceCollectionT/Overview/source.cs" id="Snippetgetcustomerspaged"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb" id="Snippetgetcustomerspaged"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/source.vb" id="Snippetgetcustomerspaged"::: ]]> @@ -1536,7 +1536,7 @@ The following example shows how to call the method to execute an array of objects that contains queries that return both `Customers` and `Products` objects from the Northwind data service. The collection of objects in the returned is enumerated, and the collection of objects that is contained in each is also enumerated. This example uses the generated by the Add Service Reference tool based on the Northwind data service, which is created when you complete the WCF Data Services . :::code language="csharp" source="~/snippets/csharp/System.Data.Services.Client/DataServiceCollectionT/Overview/source.cs" id="Snippetbatchquery"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb" id="Snippetbatchquery"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/source.vb" id="Snippetbatchquery"::: ]]> @@ -1990,7 +1990,7 @@ The following example shows how to explicitly load the `Customers` object that is related to each returned `Orders` instance. This example uses the generated by the Add Service Reference tool based on the Northwind data service, which is created when you complete the WCF Data Services . :::code language="csharp" source="~/snippets/csharp/System.Data.Services.Client/DataServiceCollectionT/Overview/source.cs" id="Snippetloadrelatedordercustomer"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb" id="Snippetloadrelatedordercustomer"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/source.vb" id="Snippetloadrelatedordercustomer"::: ]]> @@ -2077,7 +2077,7 @@ This example returns related `Orders` entities with each `Customers` entity and uses a `do…while` loop to load `Customers` entities pages and a nested `while` loop to load pages of related `Orders` entities from the data service. The method is used to load pages of related `Orders` entities. :::code language="csharp" source="~/snippets/csharp/System.Data.Services.Client/DataServiceCollectionT/Overview/source.cs" id="Snippetgetcustomerspagednested"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb" id="Snippetgetcustomerspagednested"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/source.vb" id="Snippetgetcustomerspagednested"::: ]]> @@ -2469,7 +2469,7 @@ The following example shows how to use the and methods to create links that define relationships. In this example, the navigation properties on the `Order_Details` object are also explicitly set. :::code language="csharp" source="~/snippets/csharp/System.Data.Services.Client/DataServiceCollectionT/Overview/source.cs" id="Snippetaddorderdetailtoorder"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb" id="Snippetaddorderdetailtoorder"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/source.vb" id="Snippetaddorderdetailtoorder"::: ]]> @@ -2784,7 +2784,7 @@ The following example retrieves and modifies an existing object and then calls the method on the to mark the item in the context as updated. An HTTP MERGE message is sent to the data service when is called. This example uses the generated by the Add Service Reference tool based on the Northwind data service, which is created when you complete the WCF Data Services . :::code language="csharp" source="~/snippets/csharp/System.Data.Services.Client/DataServiceCollectionT/Overview/source.cs" id="Snippetmodifycustomer"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb" id="Snippetmodifycustomer"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/source.vb" id="Snippetmodifycustomer"::: ]]> diff --git a/xml/System.Data.Services.Client/DataServiceQueryContinuation`1.xml b/xml/System.Data.Services.Client/DataServiceQueryContinuation`1.xml index 5c3a90b6994..d6128da33fa 100644 --- a/xml/System.Data.Services.Client/DataServiceQueryContinuation`1.xml +++ b/xml/System.Data.Services.Client/DataServiceQueryContinuation`1.xml @@ -28,7 +28,7 @@ This example uses a `do…while` loop to load `Customers` entities from a paged results from the data service. :::code language="csharp" source="~/snippets/csharp/System.Data.Services.Client/DataServiceCollectionT/Overview/source.cs" id="Snippetgetcustomerspaged"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb" id="Snippetgetcustomerspaged"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/source.vb" id="Snippetgetcustomerspaged"::: ]]> diff --git a/xml/System.Data.Services.Client/DataServiceQuery`1.xml b/xml/System.Data.Services.Client/DataServiceQuery`1.xml index 79ff0102f3b..7deec7a9e19 100644 --- a/xml/System.Data.Services.Client/DataServiceQuery`1.xml +++ b/xml/System.Data.Services.Client/DataServiceQuery`1.xml @@ -87,12 +87,12 @@ The following example shows a that is used with sequential method calls to only return orders with a freight cost of more than $30 and to order the results by the ship date in descending order. :::code language="csharp" source="~/snippets/csharp/System.Data.Services.Client/DataServiceCollectionT/Overview/source.cs" id="Snippetaddqueryoptions"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb" id="Snippetaddqueryoptions"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/source.vb" id="Snippetaddqueryoptions"::: The following example shows how to compose a LINQ query that is equivalent to the previous query that used . :::code language="csharp" source="~/snippets/csharp/System.Data.Services.Client/DataServiceCollectionT/Overview/source.cs" id="Snippetaddqueryoptionslinq"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb" id="Snippetaddqueryoptionslinq"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/source.vb" id="Snippetaddqueryoptionslinq"::: ]]> @@ -338,7 +338,7 @@ This example executes a query after it calls the method. The property is used to determine number of entities returned by the query. :::code language="csharp" source="~/snippets/csharp/System.Data.Services.Client/DataServiceCollectionT/Overview/source.cs" id="Snippetcountallcustomers"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb" id="Snippetcountallcustomers"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/source.vb" id="Snippetcountallcustomers"::: ]]> diff --git a/xml/System.Data.Services.Client/EntityChangedParams.xml b/xml/System.Data.Services.Client/EntityChangedParams.xml index 8c004e00fbb..0f627382de6 100644 --- a/xml/System.Data.Services.Client/EntityChangedParams.xml +++ b/xml/System.Data.Services.Client/EntityChangedParams.xml @@ -24,12 +24,12 @@ The following code-behind page for the XAML file creates an with custom methods that are called when changes occur to data that is bound to the binding collection. When the event occurs, the supplied method prevents an item that has been removed from the binding collection from being deleted from the data service. When the event occurs, the `ShipDate` value is validated to ensure that changes are not made to orders that have already shipped. :::code language="csharp" source="~/snippets/csharp/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderscustom.xaml.cs" id="Snippetwpfdatabindingcustom"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderscustom.xaml.vb" id="Snippetwpfdatabindingcustom"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderscustom2.xaml.vb" id="Snippetwpfdatabindingcustom"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderscustom.xaml.vb" id="Snippetwpfdatabindingcustom"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderscustom2.xaml.vb" id="Snippetwpfdatabindingcustom"::: The following XAML code defines the window for the previous example. - :::code language="xaml" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderscustom.xaml" id="Snippetwpfdatabindingcustomxaml"::: + :::code language="xaml" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderscustom.xaml" id="Snippetwpfdatabindingcustomxaml"::: ]]> diff --git a/xml/System.Data.Services.Client/EntityCollectionChangedParams.xml b/xml/System.Data.Services.Client/EntityCollectionChangedParams.xml index 862a87d61d2..f36d7446278 100644 --- a/xml/System.Data.Services.Client/EntityCollectionChangedParams.xml +++ b/xml/System.Data.Services.Client/EntityCollectionChangedParams.xml @@ -24,12 +24,12 @@ The following code-behind page for the XAML file creates a with custom methods that are called when changes occur to data that is bound to the binding collection. When the event occurs, the supplied method prevents an item that has been removed from the binding collection from being deleted from the data service. When the event occurs, the `ShipDate` value is validated to ensure that changes are not made to orders that have already shipped. :::code language="csharp" source="~/snippets/csharp/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderscustom.xaml.cs" id="Snippetwpfdatabindingcustom"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderscustom.xaml.vb" id="Snippetwpfdatabindingcustom"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderscustom2.xaml.vb" id="Snippetwpfdatabindingcustom"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderscustom.xaml.vb" id="Snippetwpfdatabindingcustom"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderscustom2.xaml.vb" id="Snippetwpfdatabindingcustom"::: The following XAML code defines the window for the previous example. - :::code language="xaml" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderscustom.xaml" id="Snippetwpfdatabindingcustomxaml"::: + :::code language="xaml" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/customerorderscustom.xaml" id="Snippetwpfdatabindingcustomxaml"::: ]]> diff --git a/xml/System.Data.Services.Client/QueryOperationResponse`1.xml b/xml/System.Data.Services.Client/QueryOperationResponse`1.xml index 8124aa13bac..c5492e65292 100644 --- a/xml/System.Data.Services.Client/QueryOperationResponse`1.xml +++ b/xml/System.Data.Services.Client/QueryOperationResponse`1.xml @@ -58,7 +58,7 @@ This example uses the method in a `do…while` loop to load `Customers` entities from a paged results from the data service. :::code language="csharp" source="~/snippets/csharp/System.Data.Services.Client/DataServiceCollectionT/Overview/source.cs" id="Snippetgetcustomerspaged"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb" id="Snippetgetcustomerspaged"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Services.Client/DataServiceCollectionT/Overview/source.vb" id="Snippetgetcustomerspaged"::: ]]> diff --git a/xml/System.Data.SqlClient/SqlParameterCollection.xml b/xml/System.Data.SqlClient/SqlParameterCollection.xml index 1d95f33e360..84083890d70 100644 --- a/xml/System.Data.SqlClient/SqlParameterCollection.xml +++ b/xml/System.Data.SqlClient/SqlParameterCollection.xml @@ -223,7 +223,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -657,7 +657,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -778,7 +778,7 @@ This method uses the collection's objects' and interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -1054,7 +1054,7 @@ This member is an explicit interface member implementation. It can be used only The following code example demonstrates the implementation of the interfaces for a custom collection. In this example, is not explicitly called, but it is implemented to support the use of `foreach` (`For Each` in Visual Basic). This code example is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IEnumerable/Overview/ienumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/vb/ienumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IEnumerable/Overview/ienumerator.vb" id="Snippet1"::: ]]> @@ -1242,7 +1242,7 @@ This member is an explicit interface member implementation. It can be used only The following example demonstrates the implementation of the interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -1413,7 +1413,7 @@ This member is an explicit interface member implementation. It can be used only The following example demonstrates the implementation of the interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -1464,7 +1464,7 @@ This member is an explicit interface member implementation. It can be used only The following example demonstrates the implementation of the interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -1513,7 +1513,7 @@ This member is an explicit interface member implementation. It can be used only The following example demonstrates the implementation of the interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -1562,7 +1562,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.collections.icollection/cpp/remarks.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Collections/ICollection/IsSynchronized/remarks.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.icollection/vb/remarks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ICollection/IsSynchronized/remarks.vb" id="Snippet1"::: ]]> @@ -1818,7 +1818,7 @@ This member is an explicit interface member implementation. It can be used only The following example demonstrates the implementation of the interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -1893,7 +1893,7 @@ This member is an explicit interface member implementation. It can be used only The following example demonstrates the implementation of the interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -2068,7 +2068,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.collections.icollection/cpp/remarks.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Collections/ICollection/IsSynchronized/remarks.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.icollection/vb/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ICollection/IsSynchronized/remarks.vb" id="Snippet2"::: Enumerating through a collection is intrinsically not a thread-safe procedure. Even when a collection is synchronized, other threads can still modify the collection, which causes the enumerator to throw an exception. To guarantee thread safety during enumeration, you can either lock the collection during the entire enumeration or catch the exceptions resulting from changes made by other threads. @@ -2078,7 +2078,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.collections.icollection/cpp/remarks.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Collections/ICollection/IsSynchronized/remarks.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.icollection/vb/remarks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ICollection/IsSynchronized/remarks.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Data/DataTableExtensions.xml b/xml/System.Data/DataTableExtensions.xml index 6723af08f0e..0b5f2ebf20c 100644 --- a/xml/System.Data/DataTableExtensions.xml +++ b/xml/System.Data/DataTableExtensions.xml @@ -256,7 +256,7 @@ In the following sample, the `DisplayProducts` method receives a DataTable that contains a DataColumn named `ProductName`, extracts the `ProductName` values and then prints the values. :::code language="csharp" source="~/snippets/csharp/System.Data/DataTableExtensions/AsEnumerable/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.data.datatableextensions.asenumerable/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data/DataTableExtensions/AsEnumerable/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute.xml b/xml/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute.xml index 167ac9c5dfb..dac985bde60 100644 --- a/xml/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute.xml +++ b/xml/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute.xml @@ -82,7 +82,7 @@ The following code example shows the use of the attribute to suppress performance warning messages. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.CodeAnalysis.SuppressMessageAttribute/VB/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.vb" id="Snippet1"::: ]]> @@ -146,7 +146,7 @@ The `category` parameter value is specific to the analysis tool and categorizes The following code example shows the use of the attribute to suppress warnings for the `Microsoft.Performance` category and the `CA1801` and `CA1804` check identifiers. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.CodeAnalysis.SuppressMessageAttribute/VB/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.vb" id="Snippet2"::: ]]> @@ -210,7 +210,7 @@ The The following code example shows the use of the attribute to suppress warnings for the `Microsoft.Performance` category and the `CA1801` and `CA1804` check identifiers. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.CodeAnalysis.SuppressMessageAttribute/VB/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.vb" id="Snippet2"::: ]]> @@ -274,7 +274,7 @@ Concatenated together, the attribute to suppress warnings for the `Microsoft.Performance` category and the `CA1801` and `CA1804` check identifiers. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.CodeAnalysis.SuppressMessageAttribute/VB/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.vb" id="Snippet2"::: ]]> @@ -381,7 +381,7 @@ The The following code example shows the use of the attribute to suppress warnings for a specific parameter in a method declaration and a specific field in the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.CodeAnalysis.SuppressMessageAttribute/VB/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Diagnostics.Contracts/Contract.xml b/xml/System.Diagnostics.Contracts/Contract.xml index b098bd1ff8b..fc1f7272cef 100644 --- a/xml/System.Diagnostics.Contracts/Contract.xml +++ b/xml/System.Diagnostics.Contracts/Contract.xml @@ -566,7 +566,7 @@ The following example shows how to use the method to ensure that an expected value is returned. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Contracts/Contract/Ensures/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/contractexample/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Contracts/Contract/Ensures/program.vb" id="Snippet3"::: ]]> @@ -1006,7 +1006,7 @@ The following example demonstrates how to use the method to determine whether an array has a null element. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Contracts/Contract/ForAll/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/contract.forallexample/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Contracts/Contract/ForAll/program.vb" id="Snippet1"::: ]]> @@ -1085,7 +1085,7 @@ The following example demonstrates how to use the method to determine whether a collection has a null element. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Contracts/Contract/ForAll/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/contract.forallexample/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Contracts/Contract/ForAll/program.vb" id="Snippet1"::: ]]> @@ -1311,7 +1311,7 @@ The following example shows the use of the method to ensure that a count has been updated. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Contracts/Contract/Ensures/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/contractexample/vb/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Contracts/Contract/Ensures/program.vb" id="Snippet5"::: ]]> @@ -1676,7 +1676,7 @@ The following example shows how to use the method to specify an expected return value. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Contracts/Contract/Ensures/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/contractexample/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Contracts/Contract/Ensures/program.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Diagnostics.Contracts/ContractArgumentValidatorAttribute.xml b/xml/System.Diagnostics.Contracts/ContractArgumentValidatorAttribute.xml index e49911823a6..21c85273b7a 100644 --- a/xml/System.Diagnostics.Contracts/ContractArgumentValidatorAttribute.xml +++ b/xml/System.Diagnostics.Contracts/ContractArgumentValidatorAttribute.xml @@ -59,19 +59,19 @@ If your code uses explicit `if-then-throw` code to validate parameters, you may be employing helper methods that perform checks and throw particular exceptions on failure, as shown in the following example. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Contracts/ContractArgumentValidatorAttribute/Overview/ifthenthrow1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.contracts.contractargumentvalidatorattribute/vb/ifthenthrow1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Contracts/ContractArgumentValidatorAttribute/Overview/ifthenthrow1.vb" id="Snippet1"::: In this example, `Execute` has an elective precondition specifying that the parameter value should not be `null`. To enable the contract tools to recognize that the call to `ValidationHelper.NotNull` represents a contract, you can mark the called method with the attribute. The method call should be used to enable the tools to extract the proper specifications for document generation and static checking, as follows. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Contracts/ContractArgumentValidatorAttribute/Overview/ifthenthrow2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.contracts.contractargumentvalidatorattribute/vb/ifthenthrow2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Contracts/ContractArgumentValidatorAttribute/Overview/ifthenthrow2.vb" id="Snippet2"::: In addition to `if-then-throw` statements, the contract section of contract validator methods may contain calls to other contract validator methods. However, no other contracts (such as , or ) are allowed. Code that follows the call is ignored by all contract tools. The following example shows a range argument validator written in terms of an existing `NotNull` validator method. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Contracts/ContractArgumentValidatorAttribute/Overview/ifthenthrow3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.contracts.contractargumentvalidatorattribute/vb/ifthenthrow3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Contracts/ContractArgumentValidatorAttribute/Overview/ifthenthrow3.vb" id="Snippet3"::: From a specification point of view, the `Execute` method has the following three contracts: diff --git a/xml/System.Diagnostics.Contracts/ContractClassAttribute.xml b/xml/System.Diagnostics.Contracts/ContractClassAttribute.xml index 58058bdd140..aebd8f33a71 100644 --- a/xml/System.Diagnostics.Contracts/ContractClassAttribute.xml +++ b/xml/System.Diagnostics.Contracts/ContractClassAttribute.xml @@ -72,7 +72,7 @@ The following example shows how to use the attribute to specify that the contracts for the `IArray` interface are contained in the `IArrayContracts` class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Contracts/Contract/Ensures/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/contractexample/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Contracts/Contract/Ensures/program.vb" id="Snippet1"::: ]]> @@ -122,7 +122,7 @@ The following example shows how to use the constructor to specify that the contracts for the `IArray` interface are contained in the `IArrayContracts` class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Contracts/Contract/Ensures/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/contractexample/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Contracts/Contract/Ensures/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics.Eventing.Reader/EventLogInformation.xml b/xml/System.Diagnostics.Eventing.Reader/EventLogInformation.xml index e4ae365cc4e..067f7b45d67 100644 --- a/xml/System.Diagnostics.Eventing.Reader/EventLogInformation.xml +++ b/xml/System.Diagnostics.Eventing.Reader/EventLogInformation.xml @@ -86,7 +86,7 @@ The values of this property are the same as those of the type. To make working with this property easier, you can convert the value to that type using the following code: :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Eventing.Reader/EventLogInformation/Attributes/attributes.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Diagnostics.Eventing.Reader.EventLogInformation/vb/attributes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Eventing.Reader/EventLogInformation/Attributes/attributes.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics.SymbolStore/ISymbolDocumentWriter.xml b/xml/System.Diagnostics.SymbolStore/ISymbolDocumentWriter.xml index aca47bb5bcb..0bcae6b7d97 100644 --- a/xml/System.Diagnostics.SymbolStore/ISymbolDocumentWriter.xml +++ b/xml/System.Diagnostics.SymbolStore/ISymbolDocumentWriter.xml @@ -62,7 +62,7 @@ The following code example demonstrates how an can be obtained when calling . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.SymbolStore/ISymbolDocumentWriter/Overview/modulebuilder_definedocument.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefineDocument/VB/modulebuilder_definedocument.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.SymbolStore/ISymbolDocumentWriter/Overview/modulebuilder_definedocument.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics.SymbolStore/SymDocumentType.xml b/xml/System.Diagnostics.SymbolStore/SymDocumentType.xml index 023c478d51a..18366546f88 100644 --- a/xml/System.Diagnostics.SymbolStore/SymDocumentType.xml +++ b/xml/System.Diagnostics.SymbolStore/SymDocumentType.xml @@ -56,7 +56,7 @@ The following example demonstrates how is used when calling the method. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.SymbolStore/ISymbolDocumentWriter/Overview/modulebuilder_definedocument.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefineDocument/VB/modulebuilder_definedocument.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.SymbolStore/ISymbolDocumentWriter/Overview/modulebuilder_definedocument.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics.SymbolStore/SymLanguageType.xml b/xml/System.Diagnostics.SymbolStore/SymLanguageType.xml index bb6ee29ef0c..48ae2c7d44e 100644 --- a/xml/System.Diagnostics.SymbolStore/SymLanguageType.xml +++ b/xml/System.Diagnostics.SymbolStore/SymLanguageType.xml @@ -56,7 +56,7 @@ The following code example demonstrates how is used when calling . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.SymbolStore/ISymbolDocumentWriter/Overview/modulebuilder_definedocument.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefineDocument/VB/modulebuilder_definedocument.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.SymbolStore/ISymbolDocumentWriter/Overview/modulebuilder_definedocument.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics.SymbolStore/SymLanguageVendor.xml b/xml/System.Diagnostics.SymbolStore/SymLanguageVendor.xml index 5bcd5a5148a..8bf434d136b 100644 --- a/xml/System.Diagnostics.SymbolStore/SymLanguageVendor.xml +++ b/xml/System.Diagnostics.SymbolStore/SymLanguageVendor.xml @@ -56,7 +56,7 @@ The following code example demonstrates how is used when calling . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.SymbolStore/ISymbolDocumentWriter/Overview/modulebuilder_definedocument.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefineDocument/VB/modulebuilder_definedocument.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.SymbolStore/ISymbolDocumentWriter/Overview/modulebuilder_definedocument.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics.Tracing/EventAttribute.xml b/xml/System.Diagnostics.Tracing/EventAttribute.xml index 86a6580a9d8..b5e7e84b9b3 100644 --- a/xml/System.Diagnostics.Tracing/EventAttribute.xml +++ b/xml/System.Diagnostics.Tracing/EventAttribute.xml @@ -71,16 +71,16 @@ The following example shows how to use the class to define a variety of events. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet8"::: ]]> @@ -133,10 +133,10 @@ The following example shows how to use the constructor to specify events. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet2"::: ]]> @@ -321,16 +321,16 @@ The following example shows how to use the property to define event keywords. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet7"::: ]]> @@ -383,13 +383,13 @@ The following example shows how to use the property to specify event levels. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet11"::: ]]> @@ -454,13 +454,13 @@ The following example shows how to use the property to specify event messages. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet7"::: ]]> @@ -513,13 +513,13 @@ The following example shows how to use the property to specify operation codes. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet10"::: ]]> @@ -613,13 +613,13 @@ The following example shows how to use the property to define event tasks. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Diagnostics.Tracing/EventKeywords.xml b/xml/System.Diagnostics.Tracing/EventKeywords.xml index 5b345524cdb..2b0438478c3 100644 --- a/xml/System.Diagnostics.Tracing/EventKeywords.xml +++ b/xml/System.Diagnostics.Tracing/EventKeywords.xml @@ -66,7 +66,7 @@ The following example shows how to use the class to redefine event keywords. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Diagnostics.Tracing/EventLevel.xml b/xml/System.Diagnostics.Tracing/EventLevel.xml index 110267de7e5..bc0189fc516 100644 --- a/xml/System.Diagnostics.Tracing/EventLevel.xml +++ b/xml/System.Diagnostics.Tracing/EventLevel.xml @@ -61,17 +61,17 @@ The following example shows how to use the `Error` enumeration member to identify an error message. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet5"::: The following example shows how to use the `Informational` enumeration member to identify an informational message. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet6"::: The following example shows how to use the `Verbose` enumeration member to identify a verbose message. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet11"::: ]]> diff --git a/xml/System.Diagnostics.Tracing/EventOpcode.xml b/xml/System.Diagnostics.Tracing/EventOpcode.xml index fc2f498aa46..41ca4b65f0c 100644 --- a/xml/System.Diagnostics.Tracing/EventOpcode.xml +++ b/xml/System.Diagnostics.Tracing/EventOpcode.xml @@ -56,12 +56,12 @@ The following example shows how to use the `Start` enumeration member to specify a start operation. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet7"::: The following example shows how to use the `Stop` enumeration member to specify a stop operation. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet8"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet8"::: +:::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Diagnostics.Tracing/EventSource.xml b/xml/System.Diagnostics.Tracing/EventSource.xml index f928917db34..bf8a565acaa 100644 --- a/xml/System.Diagnostics.Tracing/EventSource.xml +++ b/xml/System.Diagnostics.Tracing/EventSource.xml @@ -2311,7 +2311,7 @@ public void Info1(string arg1) The following example shows how to use this method overload to write an event. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet5"::: ]]> @@ -2501,7 +2501,7 @@ public void Info1(int arg1) The following example shows how to use this method overload to write an event. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet8"::: ]]> @@ -2751,7 +2751,7 @@ public void Info1(string arg1) The following example shows how to use this method overload to write an event. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet5"::: ]]> @@ -3932,7 +3932,7 @@ fixed(byte* ptr = arg) The following code example shows how you might can specify an event source that calls . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventSource/WriteEventWithRelatedActivityId/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.eventsource.writeeventwithid/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventSource/WriteEventWithRelatedActivityId/module1.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventSource/WriteEventWithRelatedActivityId/program.cs" id="Snippet2"::: ]]> @@ -4026,9 +4026,9 @@ fixed(byte* ptr = arg) The following C# code example shows how to define a method overload that calls . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventSource/WriteEventWithRelatedActivityId/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.eventsource.writeeventwithid/vb/module1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventSource/WriteEventWithRelatedActivityId/module1.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventSource/WriteEventWithRelatedActivityId/program.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.eventsource.writeeventwithid/vb/module1.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventSource/WriteEventWithRelatedActivityId/module1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Diagnostics.Tracing/EventTask.xml b/xml/System.Diagnostics.Tracing/EventTask.xml index 01364ae979e..18fceca9feb 100644 --- a/xml/System.Diagnostics.Tracing/EventTask.xml +++ b/xml/System.Diagnostics.Tracing/EventTask.xml @@ -60,7 +60,7 @@ The following example shows how to use the class to define event tasks. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventAttribute/Overview/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventAttribute/Overview/program.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Diagnostics/ConditionalAttribute.xml b/xml/System.Diagnostics/ConditionalAttribute.xml index 715f3111aae..87683d431dc 100644 --- a/xml/System.Diagnostics/ConditionalAttribute.xml +++ b/xml/System.Diagnostics/ConditionalAttribute.xml @@ -119,7 +119,7 @@ The following example demonstrates the use of . The example assumes that the condition is defined with the **/define** compiler option. You can obtain different results by changing the compiler option. You can optionally define the conditions by using pragmas in the sample code instead of identifying them as compiler options. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/ConditionalAttribute/Overview/cas.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ConditionalAttributeSample1/VB/cas.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/ConditionalAttribute/Overview/cas.vb" id="Snippet7"::: ]]> @@ -174,7 +174,7 @@ The following example demonstrates how to use the constructor. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/ConditionalAttribute/Overview/cas.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ConditionalAttributeSample1/VB/cas.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/ConditionalAttribute/Overview/cas.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Diagnostics/ConsoleTraceListener.xml b/xml/System.Diagnostics/ConsoleTraceListener.xml index cf4c4598c05..b93b3cd5925 100644 --- a/xml/System.Diagnostics/ConsoleTraceListener.xml +++ b/xml/System.Diagnostics/ConsoleTraceListener.xml @@ -80,7 +80,7 @@ For .NET Framework apps, to direct all trace and debug messages to the console w When the example application runs, the environment and trace configuration details are written to the specified console output stream through the object. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/ConsoleTraceListener/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diagnostics_ConsoleTraceListener/VB/consoletrace.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/ConsoleTraceListener/Overview/consoletrace.vb" id="Snippet1"::: ]]> @@ -138,7 +138,7 @@ For .NET Framework apps, to direct all trace and debug messages to the console w The following code example initializes a object for the specified output stream and adds it to the trace listener collection. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/ConsoleTraceListener/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diagnostics_ConsoleTraceListener/VB/consoletrace.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/ConsoleTraceListener/Overview/consoletrace.vb" id="Snippet2"::: ]]> @@ -194,7 +194,7 @@ For .NET Framework apps, to direct all trace and debug messages to the console w The following code example initializes a object for the specified output stream and adds it to the trace listener collection. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/ConsoleTraceListener/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diagnostics_ConsoleTraceListener/VB/consoletrace.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/ConsoleTraceListener/Overview/consoletrace.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Diagnostics/CorrelationManager.xml b/xml/System.Diagnostics/CorrelationManager.xml index cee2e150bd5..4ac53994cc6 100644 --- a/xml/System.Diagnostics/CorrelationManager.xml +++ b/xml/System.Diagnostics/CorrelationManager.xml @@ -65,7 +65,7 @@ The following code example demonstrates the use of the class by identifying the logical operation associated with a traced event. Two logical operations are started, one in the main thread and the other in a worker thread. An error event is logged in both logical operations. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CorrelationManager/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.CorrelationManager/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CorrelationManager/Overview/module1.vb" id="Snippet1"::: ]]> @@ -280,7 +280,7 @@ The following code example demonstrates the use of the method by initializing a logical operation to be associated with the main thread. For the complete code example, see the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CorrelationManager/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.CorrelationManager/vb/module1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CorrelationManager/Overview/module1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Diagnostics/CounterCreationData.xml b/xml/System.Diagnostics/CounterCreationData.xml index 17407587a68..41b788b3953 100644 --- a/xml/System.Diagnostics/CounterCreationData.xml +++ b/xml/System.Diagnostics/CounterCreationData.xml @@ -58,7 +58,7 @@ The following code example demonstrates how to use the class to define custom counters. This example creates counters that display how many items are processed in an operation. The example initializes the counters, collects information from them, and then calculates and displays the results to the console. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationData/Overview/averagecount32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterType.AverageCounter64/VB/averagecount32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationData/Overview/averagecount32.vb" id="Snippet1"::: ]]> @@ -110,7 +110,7 @@ The following code example shows how to create an empty instance of the class. Because the example does not pass in any parameters, the , , and properties are not specified and must be defined later. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationData/.ctor/diagnostics_countercreationdata.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diagnostics_CounterCreationData/VB/diagnostics_countercreationdata.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationData/.ctor/diagnostics_countercreationdata.vb" id="Snippet3"::: ]]> @@ -161,7 +161,7 @@ The following code example shows how to create an instance of the class, and pass in parameters to set the , and properties of the object when it is initialized. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationData/.ctor/diagnostics_countercreationdata.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diagnostics_CounterCreationData/VB/diagnostics_countercreationdata.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationData/.ctor/diagnostics_countercreationdata.vb" id="Snippet2"::: ]]> @@ -225,7 +225,7 @@ The following code example demonstrates how to get and set the property. This example creates two counters and sets their property by using different techniques. When the first counter is initialized, the data is passed to the constructor, whereas the second counter sets the property explicitly. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationData/.ctor/diagnostics_countercreationdata.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diagnostics_CounterCreationData/VB/diagnostics_countercreationdata.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationData/.ctor/diagnostics_countercreationdata.vb" id="Snippet5"::: ]]> @@ -299,7 +299,7 @@ The following code example demonstrates how to get and set the property. This example creates two counters and sets their property by using different techniques. When the first counter is initialized, the data is passed to the constructor, whereas the second counter sets the property explicitly. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationData/.ctor/diagnostics_countercreationdata.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diagnostics_CounterCreationData/VB/diagnostics_countercreationdata.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationData/.ctor/diagnostics_countercreationdata.vb" id="Snippet4"::: ]]> @@ -362,7 +362,7 @@ The following code example demonstrates how to get and set the property. This example creates two counters and sets their property by using different techniques. When the first counter is initialized, the data is passed to the constructor, whereas the second counter sets the property explicitly. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationData/.ctor/diagnostics_countercreationdata.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diagnostics_CounterCreationData/VB/diagnostics_countercreationdata.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationData/.ctor/diagnostics_countercreationdata.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Diagnostics/CounterCreationDataCollection.xml b/xml/System.Diagnostics/CounterCreationDataCollection.xml index 23e6148013e..8810002199d 100644 --- a/xml/System.Diagnostics/CounterCreationDataCollection.xml +++ b/xml/System.Diagnostics/CounterCreationDataCollection.xml @@ -46,7 +46,7 @@ The following example demonstrates how to use the class. The example creates a new instance of the class and uses several methods to add statements to the collection, return their index, and add or remove attributes at a specific index point. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationData/Overview/averagecount32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterType.AverageCounter64/VB/averagecount32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationData/Overview/averagecount32.vb" id="Snippet1"::: ]]> @@ -135,7 +135,7 @@ The following example demonstrates how to create a object by using a array. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationDataCollection/.ctor/countercreationdatacollection_ctor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CounterCreationDataCollection_CounterCreationData/VB/countercreationdatacollection_ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationDataCollection/.ctor/countercreationdatacollection_ctor.vb" id="Snippet1"::: ]]> @@ -181,7 +181,7 @@ The following example demonstrates how to create a object by using objects from another . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationDataCollection/.ctor/countercreationdatacollection_ctor_countercreationdatacollection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CounterCreationDataCollection_CounterCreationDataCollection/VB/countercreationdatacollection_ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationDataCollection/.ctor/countercreationdatacollection_ctor1.vb" id="Snippet1"::: ]]> @@ -231,7 +231,7 @@ The following example demonstrates how to use the method to add a object to a . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationData/Overview/averagecount32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterType.AverageCounter64/VB/averagecount32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationData/Overview/averagecount32.vb" id="Snippet1"::: ]]> @@ -330,7 +330,7 @@ The following example demonstrates how to use the method overload to add objects from one to another . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationDataCollection/AddRange/countercreationdatacollection_addrange.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CounterCreationDataCollection_AddRange/VB/countercreationdatacollection_addrange.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationDataCollection/AddRange/countercreationdatacollection_addrange.vb" id="Snippet2"::: ]]> @@ -381,7 +381,7 @@ The following example demonstrates how to use the method to find a object in a . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationDataCollection/Contains/countercreationdatacollection_contains.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CounterCreationDataCollection_Contains/VB/countercreationdatacollection_contains.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationDataCollection/Contains/countercreationdatacollection_contains.vb" id="Snippet1"::: ]]> @@ -473,7 +473,7 @@ The following example retrieves entries from a and uses the method to display their names and indexes. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationDataCollection/IndexOf/countercreationdatacollection_insert_indexof.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CounterCreationDataCollection_Insert_IndexOf/VB/countercreationdatacollection_insert_indexof.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationDataCollection/IndexOf/countercreationdatacollection_insert_indexof.vb" id="Snippet1"::: ]]> @@ -522,7 +522,7 @@ The following example demonstrates how to use the method to insert a object into a . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationDataCollection/IndexOf/countercreationdatacollection_insert_indexof.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CounterCreationDataCollection_Insert_IndexOf/VB/countercreationdatacollection_insert_indexof.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationDataCollection/IndexOf/countercreationdatacollection_insert_indexof.vb" id="Snippet1"::: ]]> @@ -709,7 +709,7 @@ The following example demonstrates how to use the method to delete a object from the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationDataCollection/Contains/countercreationdatacollection_contains.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CounterCreationDataCollection_Contains/VB/countercreationdatacollection_contains.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationDataCollection/Contains/countercreationdatacollection_contains.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Diagnostics/CounterSample.xml b/xml/System.Diagnostics/CounterSample.xml index e9c9f265093..fb5ec07f1c4 100644 --- a/xml/System.Diagnostics/CounterSample.xml +++ b/xml/System.Diagnostics/CounterSample.xml @@ -54,7 +54,7 @@ The following example demonstrates the use of the class to display data for a performance counter. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationData/Overview/averagecount32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterType.AverageCounter64/VB/averagecount32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationData/Overview/averagecount32.vb" id="Snippet1"::: ]]> @@ -185,9 +185,9 @@ The following example demonstrates how to initialize a new structure, passing in values for the `rawValue`, `baseValue`, `counterFrequency`, `systemFrequency`, `timeStamp`, `timeStamp100nSec`, `counterType`, and `counterTimeStamp` parameters. After creating the structure, the example displays the property values for the in the console window. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterSample/.ctor/countersample_ctor_2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CounterSample_Ctor_2/VB/countersample_ctor_2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterSample/.ctor/countersample_ctor_2.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterSample/.ctor/countersample_ctor_2.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CounterSample_Ctor_2/VB/countersample_ctor_2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterSample/.ctor/countersample_ctor_2.vb" id="Snippet2"::: ]]> @@ -237,7 +237,7 @@ The following example displays the value of the property for a counter. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationData/Overview/averagecount32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterType.AverageCounter64/VB/averagecount32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationData/Overview/averagecount32.vb" id="Snippet1"::: ]]> @@ -374,7 +374,7 @@ The following example displays the value of the property for a counter. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationData/Overview/averagecount32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterType.AverageCounter64/VB/averagecount32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationData/Overview/averagecount32.vb" id="Snippet1"::: ]]> @@ -424,7 +424,7 @@ The following example displays the value of the property for a counter. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationData/Overview/averagecount32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterType.AverageCounter64/VB/averagecount32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationData/Overview/averagecount32.vb" id="Snippet1"::: ]]> @@ -779,7 +779,7 @@ The following example displays the value of the property for a counter. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationData/Overview/averagecount32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterType.AverageCounter64/VB/averagecount32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationData/Overview/averagecount32.vb" id="Snippet1"::: ]]> @@ -829,7 +829,7 @@ The following example displays the value of the property for a counter. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationData/Overview/averagecount32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterType.AverageCounter64/VB/averagecount32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationData/Overview/averagecount32.vb" id="Snippet1"::: ]]> @@ -879,7 +879,7 @@ The following example displays the value of the property for a counter. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationData/Overview/averagecount32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterType.AverageCounter64/VB/averagecount32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationData/Overview/averagecount32.vb" id="Snippet1"::: ]]> @@ -929,7 +929,7 @@ The following example displays the value of the property for a counter. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationData/Overview/averagecount32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterType.AverageCounter64/VB/averagecount32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationData/Overview/averagecount32.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics/CounterSampleCalculator.xml b/xml/System.Diagnostics/CounterSampleCalculator.xml index 3cb8eb89a52..4589bbfbf02 100644 --- a/xml/System.Diagnostics/CounterSampleCalculator.xml +++ b/xml/System.Diagnostics/CounterSampleCalculator.xml @@ -149,7 +149,7 @@ The following example demonstrates the use of the method overload to calculate the value of two raw counter samples. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationData/Overview/averagecount32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterType.AverageCounter64/VB/averagecount32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationData/Overview/averagecount32.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics/DataReceivedEventArgs.xml b/xml/System.Diagnostics/DataReceivedEventArgs.xml index 7330f709035..2c767295c9a 100644 --- a/xml/System.Diagnostics/DataReceivedEventArgs.xml +++ b/xml/System.Diagnostics/DataReceivedEventArgs.xml @@ -63,7 +63,7 @@ The example creates an event delegate for the `SortOutputHandler` event handler and associates it with the event. The event handler receives text lines from the redirected stream, formats the text, and writes the text to the screen. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DataReceivedEventArgs/Overview/sort_async.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/process_asyncstreams/VB/sort_async.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DataReceivedEventArgs/Overview/sort_async.vb" id="Snippet1"::: ]]> @@ -134,7 +134,7 @@ The following code example illustrates a simple event handler associated with the event. The event handler receives text lines from the redirected stream, formats the text, and writes the text to the screen. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DataReceivedEventArgs/Overview/datareceivedevent.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/process_asyncstreams/VB/datareceivedevent.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DataReceivedEventArgs/Overview/datareceivedevent.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Diagnostics/DataReceivedEventHandler.xml b/xml/System.Diagnostics/DataReceivedEventHandler.xml index 68d6b14b4f7..8a7bbb7bfdd 100644 --- a/xml/System.Diagnostics/DataReceivedEventHandler.xml +++ b/xml/System.Diagnostics/DataReceivedEventHandler.xml @@ -67,7 +67,7 @@ The example creates a delegate for the `SortOutputHandler` event handler and associates the delegate with the event. The event handler receives text lines from the redirected stream, formats the text, and writes the text to the screen. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DataReceivedEventArgs/Overview/sort_async.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/process_asyncstreams/VB/sort_async.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DataReceivedEventArgs/Overview/sort_async.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics/DebuggerBrowsableAttribute.xml b/xml/System.Diagnostics/DebuggerBrowsableAttribute.xml index 585fc2356c7..06445341e78 100644 --- a/xml/System.Diagnostics/DebuggerBrowsableAttribute.xml +++ b/xml/System.Diagnostics/DebuggerBrowsableAttribute.xml @@ -144,7 +144,7 @@ The following code example shows the use of a attribute to instruct the debugger to not display the root (property name) of the `Keys` property, but to display the elements of the array that `Keys` gets. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DebuggerBrowsableAttribute/VB/module1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/module1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Diagnostics/DebuggerBrowsableState.xml b/xml/System.Diagnostics/DebuggerBrowsableState.xml index 43300c598b6..5b62e60b3dc 100644 --- a/xml/System.Diagnostics/DebuggerBrowsableState.xml +++ b/xml/System.Diagnostics/DebuggerBrowsableState.xml @@ -71,7 +71,7 @@ The following code example shows the use of the enumeration to instruct the debugger to not display the root (property name) of the `Keys` property, but to display the elements of the array that `Keys` gets. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DebuggerBrowsableAttribute/VB/module1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/module1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Diagnostics/DebuggerDisplayAttribute.xml b/xml/System.Diagnostics/DebuggerDisplayAttribute.xml index abffb2f1703..7c04eebebfc 100644 --- a/xml/System.Diagnostics/DebuggerDisplayAttribute.xml +++ b/xml/System.Diagnostics/DebuggerDisplayAttribute.xml @@ -90,7 +90,7 @@ class MyHashtable View the following example in Visual Studio to see the results of applying the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DebuggerBrowsableAttribute/VB/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/module1.vb" id="Snippet1"::: ]]> @@ -159,7 +159,7 @@ class MyTable The following code example causes the value of the property from the inherited class to be displayed when the plus sign (+) is selected to expand the debugger display for an instance of `MyHashtable`. You must run the complete example, which is provided in the class, to see the results. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DebuggerBrowsableAttribute/VB/module1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/module1.vb" id="Snippet4"::: ]]> @@ -220,7 +220,7 @@ The value can contain curly braces ({ and }). Text within a pair of braces is ev The following code example causes the name and value of each key to be displayed in the debugger variable windows. When the attribute is not applied, the index and value type are displayed (for example: "[0] {KeyValuePairs}"). When the attribute is applied, the name of the key and its value are displayed (for example, if the first key is "one" and its value is 1, the display is: "one 1"). This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DebuggerBrowsableAttribute/VB/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/module1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Diagnostics/DebuggerTypeProxyAttribute.xml b/xml/System.Diagnostics/DebuggerTypeProxyAttribute.xml index 27a06033dd9..acd116b93b1 100644 --- a/xml/System.Diagnostics/DebuggerTypeProxyAttribute.xml +++ b/xml/System.Diagnostics/DebuggerTypeProxyAttribute.xml @@ -86,7 +86,7 @@ The following code example shows the use of the to specify a private nested type to be used as a debugger display proxy. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DebuggerBrowsableAttribute/VB/module1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/module1.vb" id="Snippet5"::: ]]> @@ -224,7 +224,7 @@ The following code example shows the use of the constructor to specify a debugger display proxy. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DebuggerBrowsableAttribute/VB/module1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/module1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Diagnostics/DefaultTraceListener.xml b/xml/System.Diagnostics/DefaultTraceListener.xml index 339dc0a1cfc..c172d3b71d8 100644 --- a/xml/System.Diagnostics/DefaultTraceListener.xml +++ b/xml/System.Diagnostics/DefaultTraceListener.xml @@ -96,7 +96,7 @@ For .NET Framework apps, you can add a trace listener by editing the configurati The , , and methods cause trace information to be written only to the . To write trace information to all listeners in the collection, use the , , and methods of the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DefaultTraceListener/Overview/binomial.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener/VB/binomial.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Overview/binomial.vb" id="Snippet11"::: ]]> @@ -150,7 +150,7 @@ For .NET Framework apps, you can add a trace listener by editing the configurati The following code example removes the provided by the application from the collection and then creates a new and adds it to the collection. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DefaultTraceListener/Overview/binomial.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener/VB/binomial.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Overview/binomial.vb" id="Snippet3"::: ]]> @@ -208,7 +208,7 @@ For .NET Framework apps, you can add a trace listener by editing the configurati The following code example calls a function that calls the method to log an error message if the function throws an exception. If the property is `false`, the method also writes the error message to the console. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DefaultTraceListener/Overview/binomial.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener/VB/binomial.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Overview/binomial.vb" id="Snippet8"::: ]]> @@ -279,7 +279,7 @@ For .NET Framework apps, you can add a trace listener by editing the configurati The following code example writes an error message to a using the method. The method also writes the message to the console if a user interface is not available. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DefaultTraceListener/Overview/binomial.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener/VB/binomial.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Overview/binomial.vb" id="Snippet6"::: ]]> @@ -348,7 +348,7 @@ For .NET Framework apps, you can add a trace listener by editing the configurati The following code example calls a function that calls the method to log a detailed error message if the function throws an exception. The method writes the message to the console if a user interface is not available. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DefaultTraceListener/Overview/binomial.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener/VB/binomial.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Overview/binomial.vb" id="Snippet8"::: ]]> @@ -406,7 +406,7 @@ For .NET Framework apps, you can add a trace listener by editing the configurati The following code example creates a new , adds it to the collection, and sets the property to the log file specified in the command-line arguments. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DefaultTraceListener/Overview/binomial.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener/VB/binomial.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Overview/binomial.vb" id="Snippet4"::: ]]> @@ -473,7 +473,7 @@ For .NET Framework apps, you can add a trace listener by editing the configurati The following code example formats the results of a function and uses the method to write the first part of the message to a . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DefaultTraceListener/Write/defaulttracelistener.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener.WriteLine/VB/defaulttracelistener.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Write/defaulttracelistener.vb" id="Snippet4"::: ]]> @@ -550,7 +550,7 @@ For .NET Framework apps, you can add a trace listener by editing the configurati The following code example formats the results of a function and uses the method to write the last part of the message to a . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DefaultTraceListener/Write/defaulttracelistener.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener.WriteLine/VB/defaulttracelistener.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Write/defaulttracelistener.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Diagnostics/EntryWrittenEventArgs.xml b/xml/System.Diagnostics/EntryWrittenEventArgs.xml index aae16534ac3..3bdfe98466a 100644 --- a/xml/System.Diagnostics/EntryWrittenEventArgs.xml +++ b/xml/System.Diagnostics/EntryWrittenEventArgs.xml @@ -39,7 +39,7 @@ The following example demonstrates the constructor. It creates a custom object and writes an entry into it. Then it creates an object using the first entry in the custom . This object is used to notify a message. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EntryWrittenEventArgs/Overview/entrywritteneventargs_ctor1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EntryWrittenEventArgs_ctor1/VB/entrywritteneventargs_ctor1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EntryWrittenEventArgs/Overview/entrywritteneventargs_ctor1.vb" id="Snippet1"::: ]]> @@ -97,7 +97,7 @@ The following example demonstrates the constructor. It creates a custom object and writes an entry into it. Then it creates an object using the first entry in the custom . This object is used to notify a message. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EntryWrittenEventArgs/Overview/entrywritteneventargs_ctor1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EntryWrittenEventArgs_ctor1/VB/entrywritteneventargs_ctor1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EntryWrittenEventArgs/Overview/entrywritteneventargs_ctor1.vb" id="Snippet1"::: ]]> @@ -147,7 +147,7 @@ The following example demonstrates the constructor. It creates a custom object and writes an entry into it. Then it creates an object using the first entry in the custom . This object is used to notify a message. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EntryWrittenEventArgs/.ctor/entrywritteneventargs_ctor2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EntryWrittenEventArgs_ctor2/VB/entrywritteneventargs_ctor2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EntryWrittenEventArgs/.ctor/entrywritteneventargs_ctor2.vb" id="Snippet1"::: ]]> @@ -199,7 +199,7 @@ It creates a custom object and writes an entry into it. Then it creates an object using the first entry in the custom EventLog. This object is used to notify a message. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EntryWrittenEventArgs/.ctor/entrywritteneventargs_ctor2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EntryWrittenEventArgs_ctor2/VB/entrywritteneventargs_ctor2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EntryWrittenEventArgs/.ctor/entrywritteneventargs_ctor2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Diagnostics/EventInstance.xml b/xml/System.Diagnostics/EventInstance.xml index af39fee26ce..69bdceb2be7 100644 --- a/xml/System.Diagnostics/EventInstance.xml +++ b/xml/System.Diagnostics/EventInstance.xml @@ -55,7 +55,7 @@ The following code example writes an informational event entry, and then reuses the to write an entry for a warning event to an existing event log. The event message text is specified using a resource identifier in a message resource file. The code example assumes that the corresponding message resource file has been registered for the source. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventInstance/Overview/source.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventlog_WriteEvent/VB/source.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventInstance/Overview/source.vb" id="Snippet9"::: The code example uses the following message text file, built into the resource library EventLogMsgs.dll. A message text file is the source from which the message resource file is created. The message text file defines the resource identifiers and text for the category, event message, and parameter insertion strings. @@ -231,7 +231,7 @@ SVC_UPDATE.EXE The following code example writes an informational event entry, and then reuses the to write an entry for a warning event to an existing event log. The event message text is specified using a resource identifier in a message resource file. The code example assumes that the corresponding message resource file has been registered for the source. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventInstance/Overview/source.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventlog_WriteEvent/VB/source.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventInstance/Overview/source.vb" id="Snippet9"::: The code example uses the following message text file, built into the resource library EventLogMsgs.dll. A message text file is the source from which the message resource file is created. The message text file defines the resource identifiers and text for the category, event message, and parameter insertion strings. @@ -409,7 +409,7 @@ SVC_UPDATE.EXE The following code example writes two audit event entries to the event log `myNewLog`. The code example creates a new event source and a new event log if they do not exist on the local computer. The event message text is specified using a resource identifier in a resource file. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventInstance/Overview/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventlog_WriteEvent/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventInstance/Overview/source.vb" id="Snippet7"::: The code example uses the following message text file, built into the resource library EventLogMsgs.dll. A message text file is the source from which the message resource file is created. The message text file defines the resource identifiers and text for the category, event message, and parameter insertion strings. @@ -599,7 +599,7 @@ SVC_UPDATE.EXE The following code example writes an informational event entry, and then reuses the to write an entry for a warning event to an existing event log. The event message text is specified using a resource identifier in a message resource file. The code example assumes that the corresponding message resource file has been registered for the source. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventInstance/Overview/source.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventlog_WriteEvent/VB/source.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventInstance/Overview/source.vb" id="Snippet9"::: The code example uses the following message text file, built into the resource library EventLogMsgs.dll. A message text file is the source from which the message resource file is created. The message text file defines the resource identifiers and text for the category, event message, and parameter insertion strings. @@ -771,7 +771,7 @@ SVC_UPDATE.EXE The following code example writes an informational event entry, and then reuses the to write an entry for a warning event to an existing event log. The event message text is specified using a resource identifier in a message resource file. The code example assumes that the corresponding message resource file has been registered for the source. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventInstance/Overview/source.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventlog_WriteEvent/VB/source.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventInstance/Overview/source.vb" id="Snippet9"::: The code example uses the following message text file, built into the resource library EventLogMsgs.dll. A message text file is the source from which the message resource file is created. The message text file defines the resource identifiers and text for the category, event message, and parameter insertion strings. @@ -944,7 +944,7 @@ SVC_UPDATE.EXE The following code example writes an informational event entry, and then reuses the to write an entry for a warning event to an existing event log. The event message text is specified using a resource identifier in a message resource file. The code example assumes that the corresponding message resource file has been registered for the source. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventInstance/Overview/source.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventlog_WriteEvent/VB/source.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventInstance/Overview/source.vb" id="Snippet9"::: The code example uses the following message text file, built into the resource library EventLogMsgs.dll. A message text file is the source from which the message resource file is created. The message text file defines the resource identifiers and text for the category, event message, and parameter insertion strings. diff --git a/xml/System.Diagnostics/EventLog.xml b/xml/System.Diagnostics/EventLog.xml index f399212d0ab..1a92adcda2c 100644 --- a/xml/System.Diagnostics/EventLog.xml +++ b/xml/System.Diagnostics/EventLog.xml @@ -685,7 +685,7 @@ The following example determines whether the event source named `SampleApplicationSource` is registered on the local computer. If the event source does not exist, the example sets the message resource file for the source and creates the new event source. Finally, the example sets the localized display name for the event log, using the resource identifier value in `DisplayNameMsgId` and the resource file path in `messageFile`. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventInstance/Overview/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventlog_WriteEvent/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventInstance/Overview/source.vb" id="Snippet6"::: The example uses the following message text file, built into the resource library EventLogMsgs.dll. A message text file is the source from which the message resource file is created. The message text file defines the resource identifiers and text for the category, event message, and parameter insertion strings. Specifically, resource identifier 5001 is defined for the localized name of the event log. @@ -1829,7 +1829,7 @@ SVC_UPDATE.EXE ## Examples :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/Exists/eventlog_exists_1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLog_Exists_1/VB/eventlog_exists_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/Exists/eventlog_exists_1.vb" id="Snippet1"::: ]]> @@ -1959,13 +1959,11 @@ SVC_UPDATE.EXE To retrieve the list of event logs, you must have the appropriate registry permissions. These permissions are identical to those required to call and . - - ## Examples The following example enumerates the event logs defined on the local computer, and displays configuration details for each event log. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/GetEventLogs/source1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLogProperties/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/GetEventLogs/source1.vb" id="Snippet2"::: ]]> @@ -2208,7 +2206,7 @@ SVC_UPDATE.EXE The following example enumerates the event logs defined on the local computer and displays the for each event log. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/GetEventLogs/source1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLogProperties/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/GetEventLogs/source1.vb" id="Snippet2"::: ]]> @@ -2426,7 +2424,7 @@ SVC_UPDATE.EXE The following example enumerates the event logs defined on the local computer, and displays configuration details for each event log. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/GetEventLogs/source1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLogProperties/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/GetEventLogs/source1.vb" id="Snippet2"::: ]]> @@ -2492,7 +2490,7 @@ SVC_UPDATE.EXE The following example enumerates the event logs defined on the local computer, and displays configuration details for each event log. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/GetEventLogs/source1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLogProperties/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/GetEventLogs/source1.vb" id="Snippet2"::: ]]> @@ -2570,7 +2568,7 @@ SVC_UPDATE.EXE The following example displays the configured overflow policy for a specified event log, and allows the user to select a new overflow policy setting for the event log. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/GetEventLogs/source1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLogProperties/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/GetEventLogs/source1.vb" id="Snippet3"::: ]]> @@ -2646,7 +2644,7 @@ SVC_UPDATE.EXE The following example enumerates the event logs defined on the local computer, and displays configuration details for each event log. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/GetEventLogs/source1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLogProperties/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/GetEventLogs/source1.vb" id="Snippet2"::: ]]> @@ -2716,7 +2714,7 @@ SVC_UPDATE.EXE The following example determines whether the event source named `SampleApplicationSource` is registered on the local computer. If the event source does not exist, the example sets the message resource file for the source and creates the new event source. Finally, the example sets the localized display name for the event log, using the resource identifier value in `DisplayNameMsgId` and the resource file path in `messageFile`. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventInstance/Overview/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventlog_WriteEvent/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventInstance/Overview/source.vb" id="Snippet6"::: The example uses the following message text file, built into the resource library EventLogMsgs.dll. A message text file is the source from which the message resource file is created. The message text file defines the resource identifiers and text for the category, event message, and parameter insertion strings. Specifically, resource identifier 5001 is defined for the localized name of the event log. @@ -3594,7 +3592,7 @@ SVC_UPDATE.EXE ## Examples :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/WriteEntry/eventlog_writeentry_1_3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLog_WriteEntry_1_3/VB/eventlog_writeentry_1_3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/WriteEntry/eventlog_writeentry_1_3.vb" id="Snippet3"::: ]]> @@ -3820,7 +3818,7 @@ SVC_UPDATE.EXE ## Examples :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/WriteEntry/eventlog_writeentry_1_3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLog_WriteEntry_1_3/VB/eventlog_writeentry_1_3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/WriteEntry/eventlog_writeentry_1_3.vb" id="Snippet3"::: ]]> @@ -3927,7 +3925,7 @@ SVC_UPDATE.EXE ## Examples :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/WriteEntry/eventlog_writeentry_4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLog_WriteEntry_4/VB/eventlog_writeentry_4.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/WriteEntry/eventlog_writeentry_4.vb" id="Snippet1"::: ]]> @@ -4050,7 +4048,7 @@ SVC_UPDATE.EXE ## Examples :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/WriteEntry/eventlog_writeentry_5.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLog_WriteEntry_5/VB/eventlog_writeentry_5.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/WriteEntry/eventlog_writeentry_5.vb" id="Snippet1"::: ]]> @@ -4165,7 +4163,7 @@ SVC_UPDATE.EXE ## Examples :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/WriteEntry/eventlog_writeentry_1_3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLog_WriteEntry_1_3/VB/eventlog_writeentry_1_3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/WriteEntry/eventlog_writeentry_1_3.vb" id="Snippet1"::: ]]> @@ -4274,7 +4272,7 @@ SVC_UPDATE.EXE ## Examples :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/WriteEntry/eventlog_writeentry_1_3.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLog_WriteEntry_1_3/VB/eventlog_writeentry_1_3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/WriteEntry/eventlog_writeentry_1_3.vb" id="Snippet2"::: ]]> @@ -4392,7 +4390,7 @@ SVC_UPDATE.EXE The following example writes two audit entries to the event log `myNewLog`. The example creates a new event source and a new event log if they do not exist on the local computer. The event message text is specified using a resource identifier in a resource file. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventInstance/Overview/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventlog_WriteEvent/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventInstance/Overview/source.vb" id="Snippet7"::: The example uses the following message text file, built into the resource library EventLogMsgs.dll. A message text file is the source from which the message resource file is created. The message text file defines the resource identifiers and text for the category, event message, and parameter insertion strings. @@ -4624,7 +4622,7 @@ SVC_UPDATE.EXE The following example writes two audit entries to the event log `myNewLog`. The example creates a new event source and a new event log if they do not exist on the local computer. The event message text is specified using a resource identifier in a resource file. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventInstance/Overview/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventlog_WriteEvent/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventInstance/Overview/source.vb" id="Snippet7"::: The example uses the following message text file, built into the resource library EventLogMsgs.dll. A message text file is the source from which the message resource file is created. The message text file defines the resource identifiers and text for the category, event message, and parameter insertion strings. @@ -4842,7 +4840,7 @@ SVC_UPDATE.EXE The following example writes an informational event entry and a warning event entry to an existing event log. The event message text is specified using a resource identifier in a resource file. The example assumes the corresponding resource file has been registered for the source. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventInstance/Overview/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventlog_WriteEvent/VB/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventInstance/Overview/source.vb" id="Snippet8"::: The example uses the following message text file, built into the resource library EventLogMsgs.dll. A message text file is the source from which the message resource file is created. The message text file defines the resource identifiers and text for the category, event message, and parameter insertion strings. @@ -5060,7 +5058,7 @@ SVC_UPDATE.EXE The following example writes an informational event entry and a warning event entry to an existing event log. The event message text is specified using a resource identifier in a resource file. The example assumes the corresponding resource file has been registered for the source. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventInstance/Overview/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventlog_WriteEvent/VB/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventInstance/Overview/source.vb" id="Snippet8"::: The example uses the following message text file, built into the resource library EventLogMsgs.dll. A message text file is the source from which the message resource file is created. The message text file defines the resource identifiers and text for the category, event message, and parameter insertion strings. diff --git a/xml/System.Diagnostics/EventLogEntry.xml b/xml/System.Diagnostics/EventLogEntry.xml index 847d82e2cc8..4c4a6cf4217 100644 --- a/xml/System.Diagnostics/EventLogEntry.xml +++ b/xml/System.Diagnostics/EventLogEntry.xml @@ -66,7 +66,7 @@ The following code example demonstrates the use of the class. In this example, a `switch` statement uses console input to search for event log entries for the specified event type. If a match is found, log entry source information is displayed at the console. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLogEntry/Overview/eventlogentry_source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLogEntry_Source/VB/eventlogentry_source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLogEntry/Overview/eventlogentry_source.vb" id="Snippet1"::: ]]> @@ -271,7 +271,7 @@ The following code example demonstrates the use of the property. In this example, a `switch` statement uses console input to search for event log entries for the specified . If a match is found, log entry source information is displayed at the console. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLogEntry/Overview/eventlogentry_source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLogEntry_Source/VB/eventlogentry_source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLogEntry/Overview/eventlogentry_source.vb" id="Snippet1"::: ]]> @@ -490,7 +490,7 @@ The following code example searches an event log for entries with a particular resource identifier. The code example displays the event message for each matching entry, and counts the total number of matching entries in the log. The message text for each entry may or may not be the same; each event message depends on the event source message file, insertion strings, and parameters used when it was written. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventInstance/Overview/source.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventlog_WriteEvent/VB/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventInstance/Overview/source.vb" id="Snippet10"::: ]]> @@ -709,7 +709,7 @@ e1.WriteEntry(LocRM.GetString("strMessage"), The following code example demonstrates the use of the property. In this example, a `switch` statement uses console input to search for event log entries for the specified . If a match is found, the property information is displayed at the console. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLogEntry/Overview/eventlogentry_source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLogEntry_Source/VB/eventlogentry_source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLogEntry/Overview/eventlogentry_source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics/EventLogEntryCollection.xml b/xml/System.Diagnostics/EventLogEntryCollection.xml index a1d20a82424..bd8900f556d 100644 --- a/xml/System.Diagnostics/EventLogEntryCollection.xml +++ b/xml/System.Diagnostics/EventLogEntryCollection.xml @@ -53,7 +53,7 @@ The following example demonstrates how to obtain event log information from an object. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLogEntryCollection/Overview/eventlogentry_copyto.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLogEntry_CopyTo/VB/eventlogentry_copyto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLogEntryCollection/Overview/eventlogentry_copyto.vb" id="Snippet1"::: ]]> @@ -109,7 +109,7 @@ The following example creates an array and uses the method to copy the contents of an into it. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLogEntryCollection/Overview/eventlogentry_copyto.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLogEntry_CopyTo/VB/eventlogentry_copyto.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLogEntryCollection/Overview/eventlogentry_copyto.vb" id="Snippet2"::: ]]> @@ -162,7 +162,7 @@ The following example demonstrates how to use the property to iterate through an object. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLogEntryCollection/Count/eventlogentry_item.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLogEntry_Item/VB/eventlogentry_item.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLogEntryCollection/Count/eventlogentry_item.vb" id="Snippet1"::: ]]> @@ -268,7 +268,7 @@ The following example demonstrates how to display information for the items in an object. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLogEntryCollection/Count/eventlogentry_item.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLogEntry_Item/VB/eventlogentry_item.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLogEntryCollection/Count/eventlogentry_item.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Diagnostics/EventLogEntryType.xml b/xml/System.Diagnostics/EventLogEntryType.xml index bcd3c2e7131..569f9f65677 100644 --- a/xml/System.Diagnostics/EventLogEntryType.xml +++ b/xml/System.Diagnostics/EventLogEntryType.xml @@ -49,7 +49,7 @@ The following code example demonstrates how to use the class to add information about triggered events to a log file. In this example, a `switch` statement is used to determine the event type. Each `case` statement uses the to specify the event type, gets the message and ID, and then writes the information to the log. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLogEntryType/Overview/eventlogentrytype_6.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLogEntryType_6/VB/eventlogentrytype_6.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLogEntryType/Overview/eventlogentrytype_6.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Diagnostics/EventLogInstaller.xml b/xml/System.Diagnostics/EventLogInstaller.xml index b72b47e46b1..69c25a6b01a 100644 --- a/xml/System.Diagnostics/EventLogInstaller.xml +++ b/xml/System.Diagnostics/EventLogInstaller.xml @@ -56,7 +56,7 @@ The following code example sets the installation properties for a new event source. The code example sets the source name and the event log name, and adds the to the collection. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLogInstaller/Overview/eventloginstaller.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLogInstaller/VB/eventloginstaller.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLogInstaller/Overview/eventloginstaller.vb" id="Snippet1"::: ]]> @@ -125,7 +125,7 @@ The following code example sets the installation properties for a new event source. The code example sets the event source name, event log name, and resource file for localized event text. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLogInstaller/CategoryCount/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventlogInstaller_Resources/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLogInstaller/CategoryCount/source.vb" id="Snippet1"::: The code example uses the following message text file, built into the resource library EventLogMsgs.dll. A message text file is the source from which the message resource file is created. The message text file defines the resource identifiers and text for the category, event message, and parameter insertion strings. @@ -304,7 +304,7 @@ SVC_UPDATE.EXE The following code example sets the installation properties for a new event source. The code example sets the event source name, event log name, and resource file for localized event text. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLogInstaller/CategoryCount/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventlogInstaller_Resources/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLogInstaller/CategoryCount/source.vb" id="Snippet1"::: The code example uses the following message text file, built into the resource library EventLogMsgs.dll. A message text file is the source from which the message resource file is created. The message text file defines the resource identifiers and text for the category, event message, and parameter insertion strings. @@ -662,7 +662,7 @@ SVC_UPDATE.EXE The following code example sets the installation properties for a new event source. The code example sets the event source name, event log name, and resource file for localized event text. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLogInstaller/CategoryCount/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventlogInstaller_Resources/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLogInstaller/CategoryCount/source.vb" id="Snippet1"::: The code example uses the following message text file, built into the resource library EventLogMsgs.dll. A message text file is the source from which the message resource file is created. The message text file defines the resource identifiers and text for the category, event message, and parameter insertion strings. @@ -865,7 +865,7 @@ TRIGGER.EXE The following code example sets the installation properties for a new event source. The code example sets the event source name, event log name, and resource file for localized event text. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLogInstaller/CategoryCount/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventlogInstaller_Resources/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLogInstaller/CategoryCount/source.vb" id="Snippet1"::: The code example uses the following message text file, built into the resource library EventLogMsgs.dll. A message text file is the source from which the message resource file is created. The message text file defines the resource identifiers and text for the category, event message, and parameter insertion strings. Specifically, the message defined for resource identifier 1004 uses a placeholder for a parameter string defined for resource identifier 5002. diff --git a/xml/System.Diagnostics/EventSchemaTraceListener.xml b/xml/System.Diagnostics/EventSchemaTraceListener.xml index 3eb87370d79..1f8b64c3471 100644 --- a/xml/System.Diagnostics/EventSchemaTraceListener.xml +++ b/xml/System.Diagnostics/EventSchemaTraceListener.xml @@ -102,7 +102,7 @@ You can create an object in y The following code example demonstrates how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/Overview/program.vb" id="Snippet1"::: ]]> @@ -148,7 +148,7 @@ You can create an object in y The following code example demonstrates how to use the constructor. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/.ctor/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener.Ctors/VB/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/.ctor/program.vb" id="Snippet1"::: ]]> @@ -188,7 +188,7 @@ You can create an object in y The following code example demonstrates how to use the constructor. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/.ctor/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener.Ctors/VB/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/.ctor/program.vb" id="Snippet2"::: ]]> @@ -235,7 +235,7 @@ You can create an object in y The following code example demonstrates how to use the constructor. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/.ctor/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener.Ctors/VB/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/.ctor/program.vb" id="Snippet3"::: ]]> @@ -278,7 +278,7 @@ You can create an object in y The following code example demonstrates how to use the constructor. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/.ctor/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener.Ctors/VB/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/.ctor/program.vb" id="Snippet4"::: ]]> @@ -327,7 +327,7 @@ You can create an object in y The following code example demonstrates how to use the constructor. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/.ctor/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener.Ctors/VB/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/.ctor/program.vb" id="Snippet5"::: ]]> @@ -381,7 +381,7 @@ You can create an object in y The following code example demonstrates how to use the constructor. This code example is part of a larger example that is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/Overview/program.vb" id="Snippet2"::: ]]> @@ -433,7 +433,7 @@ You can create an object in y The following code example demonstrates how to display the value of the property. This code example is part of a larger example that is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/Overview/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener/vb/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/Overview/program.vb" id="Snippet5"::: ]]> @@ -572,7 +572,7 @@ You can create an object in y The following code example demonstrates how to display the value of the property. This code example is part of a larger example that is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/Overview/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener/vb/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/Overview/program.vb" id="Snippet4"::: ]]> @@ -619,7 +619,7 @@ You can create an object in y The following code example demonstrates how to display the value of the property. This code example is part of a larger example that is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/Overview/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener/vb/program.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/Overview/program.vb" id="Snippet6"::: ]]> @@ -666,7 +666,7 @@ You can create an object in y The following code example demonstrates how to display the value of the property. This code example is part of a larger example that is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/Overview/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener/vb/program.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/Overview/program.vb" id="Snippet7"::: ]]> @@ -928,7 +928,7 @@ You can create an object in y The following code example demonstrates how to display the value of the property. This code example is part of a larger example that is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/Overview/program.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener/vb/program.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/Overview/program.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Diagnostics/EventSourceCreationData.xml b/xml/System.Diagnostics/EventSourceCreationData.xml index d579190ab28..c228371785e 100644 --- a/xml/System.Diagnostics/EventSourceCreationData.xml +++ b/xml/System.Diagnostics/EventSourceCreationData.xml @@ -61,7 +61,7 @@ The following code example sets the configuration properties for an event source from command-line arguments. The input arguments specify the event source name, event log name, computer name, and event message resource file. The code example verifies that the source does not conflict with an existing event source, and then creates the new event source for the specified event log. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSourceCreationData/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLog_EventSourceCreation_Properties/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSourceCreationData/Overview/source.vb" id="Snippet1"::: ]]> @@ -129,7 +129,7 @@ The following code example determines whether the event source named `SampleApplicationSource` is registered on the local computer. If the event source does not exist, the example sets the message resource file for the source and creates the new event source. Finally, the code example sets the localized display name for the event log, using the resource identifier value in `DisplayNameMsgId` and the resource file path in `messageFile`. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventInstance/Overview/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventlog_WriteEvent/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventInstance/Overview/source.vb" id="Snippet6"::: The code example uses the following message text file, built into the resource library EventLogMsgs.dll. A message text file is the source from which the message resource file is created. The message text file defines the resource identifiers and text for the category, event message, and parameter insertion strings. @@ -302,7 +302,7 @@ SVC_UPDATE.EXE The following code example determines whether the event source named `SampleApplicationSource` is registered on the local computer. If the event source does not exist, the example sets the message resource file for the source and creates the new event source. Finally, the code example sets the localized display name for the event log, using the resource identifier value in `DisplayNameMsgId` and the resource file path in `messageFile`. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventInstance/Overview/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventlog_WriteEvent/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventInstance/Overview/source.vb" id="Snippet6"::: The code example uses the following message text file, built into the resource library EventLogMsgs.dll. A message text file is the source from which the message resource file is created. The message text file defines the resource identifiers and text for the category, event message, and parameter insertion strings. @@ -481,7 +481,7 @@ SVC_UPDATE.EXE The following code example determines whether the event source named `SampleApplicationSource` is registered on the local computer. If the event source does not exist, the example sets the message resource file for the source and creates the new event source. Finally, the code example sets the localized display name for the event log, using the resource identifier value in `DisplayNameMsgId` and the resource file path in `messageFile`. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventInstance/Overview/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventlog_WriteEvent/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventInstance/Overview/source.vb" id="Snippet6"::: The code example uses the following message text file, built into the resource library EventLogMsgs.dll. A message text file is the source from which the message resource file is created. The message text file defines the resource identifiers and text for the category, event message, and parameter insertion strings. @@ -661,7 +661,7 @@ SVC_UPDATE.EXE The following code example sets the configuration properties for an event source from command-line arguments. The input arguments specify the event source name, event log name, computer name, and event message resource file. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSourceCreationData/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLog_EventSourceCreation_Properties/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSourceCreationData/Overview/source.vb" id="Snippet2"::: ]]> @@ -723,7 +723,7 @@ SVC_UPDATE.EXE The following code example sets the configuration properties for an event source from command-line arguments. The input arguments specify the event source name, event log name, computer name, and event message resource file. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSourceCreationData/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLog_EventSourceCreation_Properties/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSourceCreationData/Overview/source.vb" id="Snippet2"::: ]]> @@ -793,7 +793,7 @@ SVC_UPDATE.EXE The following code example determines whether the event source named `SampleApplicationSource` is registered on the local computer. If the event source does not exist, the example sets the message resource file for the source and creates the new event source. Finally, the code example sets the localized display name for the event log, using the resource identifier value in `DisplayNameMsgId` and the resource file path in `messageFile`. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventInstance/Overview/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventlog_WriteEvent/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventInstance/Overview/source.vb" id="Snippet6"::: The code example uses the following message text file, built into the resource library EventLogMsgs.dll. A message text file is the source from which the message resource file is created. The message text file defines the resource identifiers and text for the category, event message, and parameter insertion strings. @@ -996,7 +996,7 @@ TRIGGER.EXE The following code example determines whether the event source named `SampleApplicationSource` is registered on the local computer. If the event source does not exist, the example sets the message resource file for the source and creates the new event source. Finally, the code example sets the localized display name for the event log, using the resource identifier value in `DisplayNameMsgId` and the resource file path in `messageFile`. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventInstance/Overview/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventlog_WriteEvent/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventInstance/Overview/source.vb" id="Snippet6"::: The code example uses the following message text file, built into the resource library EventLogMsgs.dll. A message text file is the source from which the message resource file is created. The message text file defines the resource identifiers and text for the category, event message, and parameter insertion strings. Specifically, the message defined for resource identifier 1004 uses a placeholder for a parameter string defined for resource identifier 5002. @@ -1172,7 +1172,7 @@ SVC_UPDATE.EXE The following code example sets the configuration properties for an event source from command-line arguments. The input arguments specify the event source name, event log name, computer name, and event message resource file. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSourceCreationData/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLog_EventSourceCreation_Properties/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSourceCreationData/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Diagnostics/InstanceData.xml b/xml/System.Diagnostics/InstanceData.xml index cd8f5f2356d..c5d8bcdac68 100644 --- a/xml/System.Diagnostics/InstanceData.xml +++ b/xml/System.Diagnostics/InstanceData.xml @@ -39,7 +39,7 @@ The following code example displays the contents of the objects that exist in a particular on the local computer. It first displays a numbered list of categories. After the user enters the number of one of the categories, the sample displays, for each in the , the instance data associated with each instance of the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceData/Overview/instdatacopyto.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.CopyTo/VB/instdatacopyto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceData/Overview/instdatacopyto.vb" id="Snippet1"::: ]]> @@ -91,7 +91,7 @@ The following code example creates an and displays the values of some of its fields. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceData/Overview/instdatacopyto.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.CopyTo/VB/instdatacopyto.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceData/Overview/instdatacopyto.vb" id="Snippet3"::: ]]> @@ -141,7 +141,7 @@ The following code example creates an and displays the value of its property and other properties. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceData/Overview/instdatacopyto.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.CopyTo/VB/instdatacopyto.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceData/Overview/instdatacopyto.vb" id="Snippet3"::: ]]> @@ -185,7 +185,7 @@ The following code example creates an and displays the value of its property and other properties. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceData/Overview/instdatacopyto.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.CopyTo/VB/instdatacopyto.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceData/Overview/instdatacopyto.vb" id="Snippet3"::: ]]> @@ -235,7 +235,7 @@ The following code example creates an and gets the value of its property, which is a reference to a . The example then displays the fields of the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceData/Overview/instdatacopyto.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.CopyTo/VB/instdatacopyto.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceData/Overview/instdatacopyto.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Diagnostics/InstanceDataCollection.xml b/xml/System.Diagnostics/InstanceDataCollection.xml index cf7b60b2d7e..0cc28e4153e 100644 --- a/xml/System.Diagnostics/InstanceDataCollection.xml +++ b/xml/System.Diagnostics/InstanceDataCollection.xml @@ -44,7 +44,7 @@ The following code example displays the instance data for a particular on the local computer. It first displays a numbered list of names. After the user enters the number of one of the categories, the example gets the for that . It then converts the collection returned by to an array of objects. The example also displays the instance data associated with each of each . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceDataCollection/Overview/instdatakeysvalues.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.KeysValues/VB/instdatakeysvalues.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceDataCollection/Overview/instdatakeysvalues.vb" id="Snippet1"::: ]]> @@ -151,7 +151,7 @@ The following code example accepts a category name, counter name, and instance name from the command line. It gets the for the category, which is a collection of objects. From that it gets the particular for the specified counter. It then uses the method to determine if the specified instance exists, using the default single-instance name if none is entered. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceDataCollection/Contains/instdatacolitemcontains.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceDataCollection.ItemContains/VB/instdatacolitemcontains.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceDataCollection/Contains/instdatacolitemcontains.vb" id="Snippet2"::: ]]> @@ -201,7 +201,7 @@ The following code example uses the method to convert an into an array of objects. The values of the and properties of each element of the array are passed to a function for further processing. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceData/Overview/instdatacopyto.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.CopyTo/VB/instdatacopyto.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceData/Overview/instdatacopyto.vb" id="Snippet4"::: ]]> @@ -251,7 +251,7 @@ The following code example displays the property of an . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceData/Overview/instdatacopyto.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.CopyTo/VB/instdatacopyto.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceData/Overview/instdatacopyto.vb" id="Snippet4"::: ]]> @@ -304,7 +304,7 @@ The following code example accepts a category name, counter name, and instance name from the command line. It gets the for the category, which is a collection of objects. From that it gets the particular for the specified counter. Then, if the instance exists, the example uses the property (referenced as an indexer) to obtain the associated object. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceDataCollection/Contains/instdatacolitemcontains.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceDataCollection.ItemContains/VB/instdatacolitemcontains.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceDataCollection/Contains/instdatacolitemcontains.vb" id="Snippet2"::: ]]> @@ -354,7 +354,7 @@ The following code example uses the property of an to return a collection of instance names, which it converts to an array of . It generates an array of objects using the property. For each element in the array of instance names, it displays the name and calls a function to process the associated object. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceDataCollection/Overview/instdatakeysvalues.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.KeysValues/VB/instdatakeysvalues.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceDataCollection/Overview/instdatakeysvalues.vb" id="Snippet3"::: ]]> @@ -398,7 +398,7 @@ The following code example uses the property of an to return a collection of objects, which it converts to an array. It generates an array of instance names using the property. For each element in the array of objects, it displays the associated instance name and calls a function to process the object. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceDataCollection/Overview/instdatakeysvalues.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.KeysValues/VB/instdatakeysvalues.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceDataCollection/Overview/instdatakeysvalues.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Diagnostics/InstanceDataCollectionCollection.xml b/xml/System.Diagnostics/InstanceDataCollectionCollection.xml index f7f16756602..9916d8a174e 100644 --- a/xml/System.Diagnostics/InstanceDataCollectionCollection.xml +++ b/xml/System.Diagnostics/InstanceDataCollectionCollection.xml @@ -44,7 +44,7 @@ The following code example displays the instance data for a particular on the local computer. It first displays a numbered list of names. After the user enters the number of one of the categories, the example gets the for that . It then converts the collection returned by the property to an array of objects. The example displays the instance data associated with each of each . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceDataCollection/Overview/instdatakeysvalues.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.KeysValues/VB/instdatakeysvalues.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceDataCollection/Overview/instdatakeysvalues.vb" id="Snippet1"::: ]]> @@ -151,7 +151,7 @@ The following code example accepts a category name and counter name from the command line. It gets the for the and then uses the method to determine if the specified counter exists. If the counter exists, the example gets the associated and displays the instance names from the collection. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceDataCollectionCollection/Contains/instdatacolcolitermcontains.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceDataCollectionCollection.ItemContains/VB/instdatacolcolitemcontains.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceDataCollectionCollection/Contains/instdatacolcolitemcontains.vb" id="Snippet2"::: ]]> @@ -201,7 +201,7 @@ The following code example uses the method to convert an into an array of objects. Each element of the array is passed to a function for further processing. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceData/Overview/instdatacopyto.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.CopyTo/VB/instdatacopyto.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceData/Overview/instdatacopyto.vb" id="Snippet5"::: ]]> @@ -256,7 +256,7 @@ The following code example accepts a category name and counter name from the command line. It gets the for the . Then, if the exists, the example uses the property (referenced as an indexer) to obtain the associated and displays the instance names from the collection. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceDataCollectionCollection/Contains/instdatacolcolitermcontains.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceDataCollectionCollection.ItemContains/VB/instdatacolcolitemcontains.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceDataCollectionCollection/Contains/instdatacolcolitemcontains.vb" id="Snippet2"::: ]]> @@ -306,7 +306,7 @@ The following code example uses the property of an to return a collection of counter names, which it converts to an array of . It generates an array of objects using the property. For each element in the array of counter names, it displays the name and calls a function to process the associated . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceDataCollection/Overview/instdatakeysvalues.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.KeysValues/VB/instdatakeysvalues.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceDataCollection/Overview/instdatakeysvalues.vb" id="Snippet4"::: ]]> @@ -350,7 +350,7 @@ The following code example uses the property of an to return a collection of objects, which it converts to an array. It generates an array of counter names using the property. For each element in the array of objects, it displays the associated counter name and calls a function to process the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceDataCollection/Overview/instdatakeysvalues.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.KeysValues/VB/instdatakeysvalues.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceDataCollection/Overview/instdatakeysvalues.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Diagnostics/OverflowAction.xml b/xml/System.Diagnostics/OverflowAction.xml index f576c10e6bb..2223c434003 100644 --- a/xml/System.Diagnostics/OverflowAction.xml +++ b/xml/System.Diagnostics/OverflowAction.xml @@ -50,7 +50,7 @@ The following example enumerates the event logs defined on the local computer and displays configuration details for each event log. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/GetEventLogs/source1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventLogProperties/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/GetEventLogs/source1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Diagnostics/PerformanceCounter.xml b/xml/System.Diagnostics/PerformanceCounter.xml index 5bc68052c0c..e662f3e9f2d 100644 --- a/xml/System.Diagnostics/PerformanceCounter.xml +++ b/xml/System.Diagnostics/PerformanceCounter.xml @@ -93,7 +93,7 @@ The following code example demonstrates the use of the class to create and use an counter type. The example creates categories, sets up counters, collects data from the counters, and calls the class to interpret the performance counter data. The intermediate and final results are displayed in the console window. For additional examples of other performance counter types, see the enumeration. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationData/Overview/averagecount32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterType.AverageCounter64/VB/averagecount32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationData/Overview/averagecount32.vb" id="Snippet1"::: ]]> @@ -155,7 +155,7 @@ The following code example creates a default instance of the class. After the instance is created, the , , and property values are set, and the results of a call to the method are displayed. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounter/.ctor/perfcounter.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerfCounter/VB/perfcounter.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounter/.ctor/perfcounter.vb" id="Snippet1"::: ]]> @@ -313,7 +313,7 @@ The following code example creates an instance of the class. The example passes in category names, counter names, and a flag value indicating that the counter is not read-only. This code example is part of a larger example for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationData/Overview/averagecount32.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterType.AverageCounter64/VB/averagecount32.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationData/Overview/averagecount32.vb" id="Snippet2"::: ]]> @@ -764,7 +764,7 @@ The following code example creates a default instance of the class. After the instance is created, the , , and property values are set, and the results of a call to the method are displayed. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounter/.ctor/perfcounter.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerfCounter/VB/perfcounter.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounter/.ctor/perfcounter.vb" id="Snippet1"::: ]]> @@ -997,7 +997,7 @@ The following code example shows how to set the property to a typical counter name. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounter/.ctor/perfcounter.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerfCounter/VB/perfcounter.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounter/.ctor/perfcounter.vb" id="Snippet1"::: ]]> @@ -1393,7 +1393,7 @@ The following code example demonstrates how to use the method to add increments to a counter. This code example is part of a larger example for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationData/Overview/averagecount32.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterType.AverageCounter64/VB/averagecount32.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationData/Overview/averagecount32.vb" id="Snippet3"::: ]]> @@ -1568,7 +1568,7 @@ The following code example creates a default instance of the class. After the instance is created, the , , and property values are set, and the results of a call to the method are displayed. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounter/.ctor/perfcounter.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerfCounter/VB/perfcounter.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounter/.ctor/perfcounter.vb" id="Snippet1"::: ]]> @@ -1694,7 +1694,7 @@ The following code example demonstrates how to use the method to obtain the next uncalculated value of a counter. This code example is part of a larger example for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationData/Overview/averagecount32.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterType.AverageCounter64/VB/averagecount32.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationData/Overview/averagecount32.vb" id="Snippet3"::: ]]> @@ -1756,7 +1756,7 @@ The following code example creates an counter and uses the method to display the counter's values over a time period. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounter/NextValue/elapsedtime.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterType.ElapsedTime/VB/elapsedtime.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounter/NextValue/elapsedtime.vb" id="Snippet2"::: ]]> @@ -1839,7 +1839,7 @@ The following example uses the class to display the value of the property for a counter. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/CounterCreationData/Overview/averagecount32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterType.AverageCounter64/VB/averagecount32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/CounterCreationData/Overview/averagecount32.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics/PerformanceCounterCategory.xml b/xml/System.Diagnostics/PerformanceCounterCategory.xml index 5079331b3a6..181a6ecf29f 100644 --- a/xml/System.Diagnostics/PerformanceCounterCategory.xml +++ b/xml/System.Diagnostics/PerformanceCounterCategory.xml @@ -69,7 +69,7 @@ If requested, the example now creates the new and using the method. If an instance name is specified, the example uses the method and displays the result. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/Overview/perfcountercatcreateexist.cs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.Class/VB/perfcountercatcreateexist.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/Overview/perfcountercatcreateexist.vb" id="Snippet27"::: ]]> @@ -126,7 +126,7 @@ The following code example accepts a name and a computer name from the command line. It creates a using the constructor overload appropriate for the number of parameters provided, then displays its properties. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatctor.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatctor.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatctor.vb" id="Snippet4"::: ]]> @@ -179,7 +179,7 @@ The following code example accepts a name and a computer name from the command line. It creates a using the constructor overload that is appropriate for the number of parameters provided, then displays its properties. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatctor.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatctor.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatctor.vb" id="Snippet4"::: ]]> @@ -230,7 +230,7 @@ The following code example accepts a name and a computer name from the command line. It creates a using the constructor overload that is appropriate for the number of parameters provided, then displays its properties. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatctor.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatctor.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatctor.vb" id="Snippet4"::: ]]> @@ -283,7 +283,7 @@ The following code example creates a with the . It prompts the user for the and computer names, then sets the and properties from the entered values. It then displays the values of the , , and properties, or it displays an error message if the cannot be accessed. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/.ctor/perfCounterCatProps.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatprops.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatprops.vb" id="Snippet8"::: ]]> @@ -339,7 +339,7 @@ The following code example creates a with the . It prompts the user for the and computer names, then sets the and properties from the entered values. It then displays the values of the , , and properties, or it displays an error message if the cannot be accessed. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/.ctor/perfCounterCatProps.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatprops.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatprops.vb" id="Snippet8"::: ]]> @@ -455,7 +455,7 @@ The following code example determines whether a exists. It gets a category name, counter name, and computer name from the command line, if they are given. It creates a object using the appropriate . It then uses the method to determine whether the specified exists, and informs the user. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatobjexists.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatobjcountexists.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatobjcountexists.vb" id="Snippet4"::: ]]> @@ -529,7 +529,7 @@ The following code example determines whether a exists. It gets a category name, counter name, and computer name from the command line, if they are given. It uses the static overloads of the method to determine whether the specified name exists in the . The overload is selected based on whether a computer name is provided. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatcounterexists.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatstatcountexists.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatcountexists.vb" id="Snippet8"::: ]]> @@ -603,7 +603,7 @@ The following code example determines whether a exists. It gets a category name, counter name, and computer name from the command line, if they are given. It uses the static overloads of the method to determine whether the specified name exists in the . The overload is selected based on whether a computer name is provided. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatcounterexists.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatstatcountexists.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatcountexists.vb" id="Snippet8"::: ]]> @@ -707,7 +707,7 @@ The following code example determines whether a object named "orders" exists. If not, it creates the object by using a object that contains two performance counters. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/Create/ccd.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerfCounter_ccd/VB/ccd.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/Create/ccd.vb" id="Snippet1"::: ]]> @@ -792,7 +792,7 @@ The following code example shows the use of the method. The example shows how to create a custom, multi-instance performance counter category for the number of orders per second. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/Create/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategoryType/VB/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/Create/program.vb" id="Snippet2"::: ]]> @@ -895,7 +895,7 @@ The following code example creates a and single with help text for each, using the method. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatcreate.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatcreate.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatcreate.vb" id="Snippet2"::: ]]> @@ -990,7 +990,7 @@ The following code example shows the use of the method. The example shows how to create a custom, single instance performance counter category. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/Create/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategoryType/VB/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/Create/program.vb" id="Snippet3"::: ]]> @@ -1072,7 +1072,7 @@ The following code example uses the method to delete a and the objects that it contains. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/.ctor/perfCounterCatDelete.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatdelete.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatdelete.vb" id="Snippet6"::: ]]> @@ -1154,7 +1154,7 @@ The following code example determines whether a object named "orders" exists. If not, it creates the object by using a object that contains two performance counters. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/Create/ccd.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerfCounter_ccd/VB/ccd.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/Create/ccd.vb" id="Snippet1"::: ]]> @@ -1223,7 +1223,7 @@ The following example determines whether a object named `Orders` exists. If it does not exist, the example creates the object by using a object that contains two performance counters. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/Create/ccd.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerfCounter_ccd/VB/ccd.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/Create/ccd.vb" id="Snippet1"::: ]]> @@ -1309,7 +1309,7 @@ The following code example uses the method to return an array of objects from the local computer or a specified computer. It converts the array into an array of category names, which it sorts and displays for the user. The overload is selected based on whether a computer name was specified. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountergetcat.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetcat.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetcat.vb" id="Snippet2"::: ]]> @@ -1372,7 +1372,7 @@ The following code example uses the method to return an array of objects from the local computer or a specified computer. It converts the array into an array of category names, which it sorts and displays for the user. The overload is selected based on whether a computer name was specified. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountergetcat.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetcat.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetcat.vb" id="Snippet2"::: ]]> @@ -1444,7 +1444,7 @@ This overload fails unless it is used with a single-instance category. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetcount.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetcount.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetcount.vb" id="Snippet4"::: ]]> @@ -1513,7 +1513,7 @@ This overload fails unless it is used with a category that contains instances. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetcount.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetcount.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetcount.vb" id="Snippet4"::: ]]> @@ -1578,7 +1578,7 @@ The following code example gets a list of the objects in a . It first creates a object, using the appropriate constructor based on whether a computer name was specified. It then uses to return the instance names as an array of , which it sorts and displays. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetinst.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetinst.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetinst.vb" id="Snippet6"::: ]]> @@ -1658,7 +1658,7 @@ The following code example determines whether a instance exists within a . It first creates a object, using the appropriate constructor based on whether a computer name was specified. It then uses to determine whether the specified instance exists, then informs the user. If no instance name is specified, the example uses the default single-instance name. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcounterobjinstexists.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatobjinstexists.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatobjinstexists.vb" id="Snippet2"::: ]]> @@ -1736,7 +1736,7 @@ The following code example uses the static overloads of to determine whether the given instance exists in the . The overload is selected based on whether a computer name is specified. If no instance name is specified, the example uses the default single-instance name. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatinstexists.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatstatinstexists.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatinstexists.vb" id="Snippet10"::: ]]> @@ -1815,7 +1815,7 @@ The following code example uses the static overloads of to determine whether the given instance exists in the . The overload is selected based on whether a computer name is specified. If no instance name is specified, the example uses the default single-instance name. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatinstexists.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatstatinstexists.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatinstexists.vb" id="Snippet10"::: ]]> @@ -1881,7 +1881,7 @@ The following code example creates a with the constructor. It prompts the user for the and the computer names, then sets the and properties from the entered values. It then displays the values of the , , and properties, or it displays an error message if the cannot be accessed. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/.ctor/perfCounterCatProps.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatprops.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatprops.vb" id="Snippet8"::: ]]> @@ -1943,7 +1943,7 @@ The following code example creates a for a specified name. It then uses to return an that contains instance data for all the instances of the objects within the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceData/Overview/instdatacopyto.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.CopyTo/VB/instdatacopyto.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceData/Overview/instdatacopyto.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Diagnostics/PerformanceCounterInstaller.xml b/xml/System.Diagnostics/PerformanceCounterInstaller.xml index 5a9bbea170b..ff2a1a2b0f3 100644 --- a/xml/System.Diagnostics/PerformanceCounterInstaller.xml +++ b/xml/System.Diagnostics/PerformanceCounterInstaller.xml @@ -29,7 +29,7 @@ The following code example demonstrates how to create a object and add it to an . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterInstaller/Overview/performancecounterinstaller.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterInstaller/VB/performancecounterinstaller.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterInstaller/Overview/performancecounterinstaller.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics/Process.xml b/xml/System.Diagnostics/Process.xml index 248185ee78e..cb09edee062 100644 --- a/xml/System.Diagnostics/Process.xml +++ b/xml/System.Diagnostics/Process.xml @@ -132,13 +132,13 @@ :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/Overview/processstart.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/Overview/processstart.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Process.Start_instance/VB/processstart.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/Overview/processstart.vb" id="Snippet1"::: The following example uses the class itself and a static method to start a process. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/Overview/processstartstatic.cs"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/Overview/processstartstatic.fs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Process.Start_static/VB/processstartstatic.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/Overview/processstartstatic.vb"::: The following F# example defines a `runProc` function that starts a process, captures all output and error information, and records the number of milliseconds that the process has run. The `runProc` function has three parameters: the name of application to launch, the arguments to supply to the application, and the starting directory. @@ -285,7 +285,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/BasePriority/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/BasePriority/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diag_Process_MemoryProperties64/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/BasePriority/source.vb" id="Snippet1"::: ]]> @@ -377,7 +377,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DataReceivedEventArgs/Overview/net_async.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/DataReceivedEventArgs/Overview/net_async.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/process_asyncstreams/VB/net_async.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DataReceivedEventArgs/Overview/net_async.vb" id="Snippet2"::: ]]> @@ -477,7 +477,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DataReceivedEventArgs/Overview/sort_async.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/DataReceivedEventArgs/Overview/sort_async.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/process_asyncstreams/VB/sort_async.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DataReceivedEventArgs/Overview/sort_async.vb" id="Snippet1"::: ]]> @@ -577,7 +577,7 @@ process.BeginErrorReadLine(); :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DataReceivedEventArgs/Overview/nmake_async.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/DataReceivedEventArgs/Overview/nmake_async.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/process_asyncstreams/VB/nmake_async.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DataReceivedEventArgs/Overview/nmake_async.vb" id="Snippet3"::: ]]> @@ -669,7 +669,7 @@ process.BeginOutputReadLine(); :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DataReceivedEventArgs/Overview/nmake_async.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/DataReceivedEventArgs/Overview/nmake_async.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/process_asyncstreams/VB/nmake_async.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DataReceivedEventArgs/Overview/nmake_async.vb" id="Snippet3"::: ]]> @@ -735,7 +735,7 @@ process.BeginOutputReadLine(); :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/Close/process_refresh.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/Close/process_refresh.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/process_refresh/VB/process_refresh.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/Close/process_refresh.vb" id="Snippet1"::: ]]> @@ -798,7 +798,7 @@ process.BeginOutputReadLine(); :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/Close/process_refresh.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/Close/process_refresh.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/process_refresh/VB/process_refresh.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/Close/process_refresh.vb" id="Snippet1"::: ]]> @@ -970,7 +970,7 @@ The following code example creates a process that prints a file. It sets the @@ -1104,7 +1104,7 @@ The following code example creates a process that prints a file. It sets the @@ -1194,7 +1194,7 @@ The following code example creates a process that prints a file. It sets the @@ -1281,7 +1281,7 @@ The following code example creates a process that prints a file. It sets the @@ -1353,7 +1353,7 @@ The following code example creates a process that prints a file. It sets the @@ -1417,7 +1417,7 @@ The following code example creates a process that prints a file. It sets the @@ -1500,7 +1500,7 @@ The following code example creates a process that prints a file. It sets the @@ -1573,7 +1573,7 @@ The following code example creates a process that prints a file. It sets the @@ -1676,7 +1676,7 @@ The following code example creates a process that prints a file. It sets the @@ -1763,7 +1763,7 @@ The following code example creates a process that prints a file. It sets the @@ -1874,7 +1874,7 @@ The following code example creates a process that prints a file. It sets the @@ -1973,7 +1973,7 @@ The following code example creates a process that prints a file. It sets the @@ -2207,7 +2207,7 @@ There are problems accessing the performance counter APIs used to get process in :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/Close/process_refresh.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/Close/process_refresh.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/process_refresh/VB/process_refresh.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/Close/process_refresh.vb" id="Snippet1"::: ]]> @@ -2289,7 +2289,7 @@ There are problems accessing the performance counter APIs used to get process in :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/Id/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/Id/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Process.Id/VB/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/Id/program.vb" id="Snippet1"::: ]]> @@ -2591,7 +2591,7 @@ The calling process is a member of the associated process's descendant tree. @@ -2814,7 +2814,7 @@ If no main module is found, it could be because the process hasn't finished load :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/MainWindowTitle/process_mainwindowtitle.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/MainWindowTitle/process_mainwindowtitle.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Process_MainWindowTitle/VB/process_mainwindowtitle.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/MainWindowTitle/process_mainwindowtitle.vb" id="Snippet1"::: ]]> @@ -3250,7 +3250,7 @@ If no main module is found, it could be because the process hasn't finished load :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/BasePriority/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/BasePriority/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diag_Process_MemoryProperties64/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/BasePriority/source.vb" id="Snippet1"::: ]]> @@ -3316,7 +3316,7 @@ If no main module is found, it could be because the process hasn't finished load :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/OnExited/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/OnExited/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/onexitsample/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/OnExited/program.vb" id="Snippet1"::: ]]> @@ -3396,7 +3396,7 @@ If no main module is found, it could be because the process hasn't finished load :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DataReceivedEventArgs/Overview/datareceivedevent.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/DataReceivedEventArgs/Overview/datareceivedevent.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/process_asyncstreams/VB/datareceivedevent.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DataReceivedEventArgs/Overview/datareceivedevent.vb" id="Snippet4"::: ]]> @@ -3540,7 +3540,7 @@ If no main module is found, it could be because the process hasn't finished load :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/BasePriority/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/BasePriority/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diag_Process_MemoryProperties64/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/BasePriority/source.vb" id="Snippet1"::: ]]> @@ -3679,7 +3679,7 @@ If no main module is found, it could be because the process hasn't finished load :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/BasePriority/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/BasePriority/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diag_Process_MemoryProperties64/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/BasePriority/source.vb" id="Snippet1"::: ]]> @@ -3818,7 +3818,7 @@ If no main module is found, it could be because the process hasn't finished load :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/BasePriority/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/BasePriority/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diag_Process_MemoryProperties64/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/BasePriority/source.vb" id="Snippet1"::: ]]> @@ -3956,7 +3956,7 @@ If no main module is found, it could be because the process hasn't finished load :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/BasePriority/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/BasePriority/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diag_Process_MemoryProperties64/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/BasePriority/source.vb" id="Snippet1"::: ]]> @@ -4108,7 +4108,7 @@ If no main module is found, it could be because the process hasn't finished load :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/BasePriority/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/BasePriority/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diag_Process_MemoryProperties64/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/BasePriority/source.vb" id="Snippet1"::: ]]> @@ -4263,7 +4263,7 @@ If no main module is found, it could be because the process hasn't finished load :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/BasePriority/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/BasePriority/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diag_Process_MemoryProperties64/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/BasePriority/source.vb" id="Snippet1"::: ]]> @@ -4410,7 +4410,7 @@ If no main module is found, it could be because the process hasn't finished load :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/BasePriority/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/BasePriority/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diag_Process_MemoryProperties64/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/BasePriority/source.vb" id="Snippet1"::: ]]> @@ -4485,7 +4485,7 @@ If no main module is found, it could be because the process hasn't finished load :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/BasePriority/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/BasePriority/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diag_Process_MemoryProperties64/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/BasePriority/source.vb" id="Snippet1"::: ]]> @@ -4712,7 +4712,7 @@ If no main module is found, it could be because the process hasn't finished load :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/Close/process_refresh.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/Close/process_refresh.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/process_refresh/VB/process_refresh.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/Close/process_refresh.vb" id="Snippet1"::: ]]> @@ -4784,7 +4784,7 @@ If no main module is found, it could be because the process hasn't finished load :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/BasePriority/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/BasePriority/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diag_Process_MemoryProperties64/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/BasePriority/source.vb" id="Snippet1"::: ]]> @@ -5011,7 +5011,7 @@ You can use asynchronous read operations to avoid these dependencies and their d :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/StandardError/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/StandardError/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Process_StandardError/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/StandardError/source.vb" id="Snippet1"::: ]]> @@ -5094,7 +5094,7 @@ You can use asynchronous read operations to avoid these dependencies and their d :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/StandardInput/process_standardinput.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/StandardInput/process_standardinput.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Process_StandardInput/VB/process_standardinput.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/StandardInput/process_standardinput.vb" id="Snippet1"::: ]]> @@ -5201,7 +5201,7 @@ There is a similar issue when you read all text from both the standard output an :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/StandardOutput/process_standardoutput.cs"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/StandardOutput/process_standardoutput.fs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Process_StandardOutput/VB/process_standardoutput.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/StandardOutput/process_standardoutput.vb"::: ]]> @@ -5317,7 +5317,7 @@ There is a similar issue when you read all text from both the standard output an :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/Overview/processstart.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/Overview/processstart.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Process.Start_instance/VB/processstart.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/Overview/processstart.vb" id="Snippet1"::: ]]> @@ -5439,7 +5439,7 @@ The member :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/Overview/processstartstatic.cs"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/Overview/processstartstatic.fs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Process.Start_static/VB/processstartstatic.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/Overview/processstartstatic.vb"::: ]]> @@ -5565,7 +5565,7 @@ The member :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/Overview/processstartstatic.cs"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/Overview/processstartstatic.fs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Process.Start_static/VB/processstartstatic.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/Overview/processstartstatic.vb"::: ]]> @@ -5732,7 +5732,7 @@ The file specified in the could not be found. @@ -5849,7 +5849,7 @@ The file specified in the could not be found. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/Start/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/Start/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Process.Start/VB/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/Start/program.vb" id="Snippet1"::: ]]> @@ -6042,7 +6042,7 @@ The file specified in the could not be found. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/Overview/processstart.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/Overview/processstart.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Process.Start_instance/VB/processstart.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/Overview/processstart.vb" id="Snippet1"::: ]]> @@ -6196,7 +6196,7 @@ The file specified in the could not be found. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/SynchronizingObject/remarks.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/SynchronizingObject/remarks.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Process_SynchronizingObject/VB/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/SynchronizingObject/remarks.vb" id="Snippet2"::: Typically, this property is set when the component is placed inside a control or form, because those components are bound to a specific thread. @@ -6204,7 +6204,7 @@ The file specified in the could not be found. ## Examples :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/SynchronizingObject/process_synchronizingobject.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Process_SynchronizingObject/VB/process_synchronizingobject.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/SynchronizingObject/process_synchronizingobject.vb" id="Snippet1"::: ]]> @@ -6332,7 +6332,7 @@ The file specified in the could not be found. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/BasePriority/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/BasePriority/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diag_Process_MemoryProperties64/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/BasePriority/source.vb" id="Snippet1"::: ]]> @@ -6407,7 +6407,7 @@ The file specified in the could not be found. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/BasePriority/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/BasePriority/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diag_Process_MemoryProperties64/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/BasePriority/source.vb" id="Snippet1"::: ]]> @@ -6485,7 +6485,7 @@ The file specified in the could not be found. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/BasePriority/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/BasePriority/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diag_Process_MemoryProperties64/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/BasePriority/source.vb" id="Snippet1"::: ]]> @@ -6628,7 +6628,7 @@ The file specified in the could not be found. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/BasePriority/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/BasePriority/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diag_Process_MemoryProperties64/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/BasePriority/source.vb" id="Snippet1"::: ]]> @@ -7190,7 +7190,7 @@ No process is associated with this o :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/WorkingSet/process_sample.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/WorkingSet/process_sample.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/process_sample/VB/process_sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/WorkingSet/process_sample.vb" id="Snippet1"::: ]]> @@ -7272,7 +7272,7 @@ No process is associated with this o :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/BasePriority/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Diagnostics/Process/BasePriority/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Diag_Process_MemoryProperties64/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/BasePriority/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics/ProcessModule.xml b/xml/System.Diagnostics/ProcessModule.xml index 7bef8b5192b..3563ae5ebb5 100644 --- a/xml/System.Diagnostics/ProcessModule.xml +++ b/xml/System.Diagnostics/ProcessModule.xml @@ -83,7 +83,7 @@ The following code sample demonstrates how to use the class to get and display information about all the modules that are used by the Notepad.exe application. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/ProcessModule/Overview/processmodule.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ProcessModule/VB/processmodule.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/ProcessModule/Overview/processmodule.vb" id="Snippet1"::: ]]> @@ -141,7 +141,7 @@ The following code example creates a new process for the Notepad.exe application. The code iterates through the class to obtain a object for each module in the collection. The and properties are used to display the module name and the memory address where each module was loaded. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/ProcessModule/BaseAddress/processmodule_baseaddress.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ProcessModule_BaseAddress/VB/processmodule_baseaddress.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/ProcessModule/BaseAddress/processmodule_baseaddress.vb" id="Snippet1"::: ]]> @@ -207,7 +207,7 @@ The following code example creates a new process for the Notepad.exe application. The code iterates through the class to obtain a object for each module in the collection. The and properties are used to display the name and the entry point address for each module. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/ProcessModule/EntryPointAddress/processmodule_entrypoint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ProcessModule_EntryPoint/VB/processmodule_entrypoint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/ProcessModule/EntryPointAddress/processmodule_entrypoint.vb" id="Snippet1"::: ]]> @@ -271,7 +271,7 @@ The following code example creates a new process for the Notepad.exe application. The code iterates through the class to obtain a object for each module in the collection. The and properties are used to display the module name and the full path information for each module. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/ProcessModule/FileName/processmodule_filename.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ProcessModule_FileName/VB/processmodule_filename.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/ProcessModule/FileName/processmodule_filename.vb" id="Snippet1"::: ]]> @@ -328,7 +328,7 @@ The following code example creates a new process for the Notepad.exe application. The code iterates through the class to obtain a object for each module in the collection. The and properties are used to display the module name and the file version information for each module. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/ProcessModule/FileVersionInfo/processmodule_fileversioninfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ProcessModule_FileVersionInfo/VB/processmodule_fileversioninfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/ProcessModule/FileVersionInfo/processmodule_fileversioninfo.vb" id="Snippet1"::: ]]> @@ -391,7 +391,7 @@ The following code example creates a new process for the Notepad.exe application. The code iterates through the class to obtain a object for each module in the collection. The and properties are used to display the module name and the amount of memory needed for each module. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/ProcessModule/ModuleMemorySize/processmodule_modulememorysize.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ProcessModule_ModuleMemorySize/VB/processmodule_modulememorysize.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/ProcessModule/ModuleMemorySize/processmodule_modulememorysize.vb" id="Snippet1"::: ]]> @@ -455,7 +455,7 @@ The following code example creates a new process for the Notepad.exe application. The code iterates through the class to obtain a object for each module in the collection. The property is used to display the name of each module. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/ProcessModule/ModuleName/processmodule_modulename.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ProcessModule_ModuleName/VB/processmodule_modulename.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/ProcessModule/ModuleName/processmodule_modulename.vb" id="Snippet1"::: ]]> @@ -508,7 +508,7 @@ The following code example creates a new process for the Notepad.exe application. The code iterates through the class to obtain a object for each module in the collection. The method is used to display the name for each module. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/ProcessModule/ToString/processmodule_tostring.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ProcessModule_ToString/VB/processmodule_tostring.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/ProcessModule/ToString/processmodule_tostring.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics/ProcessStartInfo.xml b/xml/System.Diagnostics/ProcessStartInfo.xml index 1e0c78c8ea2..16da13f25cf 100644 --- a/xml/System.Diagnostics/ProcessStartInfo.xml +++ b/xml/System.Diagnostics/ProcessStartInfo.xml @@ -79,7 +79,7 @@ The following code example demonstrates how to use the class to start Internet Explorer. The destination URLs are provided as arguments. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/Overview/processstartstatic.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Process.Start_static/VB/processstartstatic.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/Overview/processstartstatic.vb"::: ]]> @@ -446,10 +446,10 @@ If you use this property to set command-line arguments, @@ -529,7 +529,7 @@ If you use this property to set command-line arguments, @@ -981,7 +981,7 @@ If you use this property to set command-line arguments, @@ -1303,7 +1303,7 @@ You can use asynchronous read operations to avoid these dependencies and their d The following example uses the `net use` command together with a user-supplied argument to map a network resource. It then reads the standard error stream of the net command and writes it to console. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/StandardError/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Process_StandardError/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/StandardError/source.vb" id="Snippet1"::: ]]> @@ -1390,7 +1390,7 @@ You can use asynchronous read operations to avoid these dependencies and their d The example starts the `sort` command with redirected input. It then prompts the user for text, and passes the text to the `sort` process through the redirected stream. The `sort` results are displayed to the user on the console. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/StandardInput/process_standardinput.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Process_StandardInput/VB/process_standardinput.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/StandardInput/process_standardinput.vb" id="Snippet1"::: ]]> @@ -1496,7 +1496,7 @@ You can use asynchronous read operations to avoid these dependencies and their d ## Examples :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/ProcessStartInfo/RedirectStandardOutput/stdstr.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ProcessOneStream/VB/stdstr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/ProcessStartInfo/RedirectStandardOutput/stdstr.vb" id="Snippet1"::: ]]> @@ -1836,7 +1836,7 @@ You can use asynchronous read operations to avoid these dependencies and their d An attempt to set the value to on Universal Windows Platform (UWP) apps occurs. @@ -1931,7 +1931,7 @@ When you use the property, yo The following code example starts a new process by using the specified verb and file name. This code example is part of a larger example provided for the property. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/ProcessStartInfo/Verb/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ProcessVerbs_Diagnostics/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/ProcessStartInfo/Verb/source.vb" id="Snippet4"::: ]]> @@ -2000,7 +2000,7 @@ The following code example starts a new process by using the specified verb and The following code example displays the defined verbs for the chosen file name. If the user selects one of the defined verbs, the example starts a new process using the selected verb and the input file name. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/ProcessStartInfo/Verb/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ProcessVerbs_Diagnostics/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/ProcessStartInfo/Verb/source.vb" id="Snippet3"::: ]]> @@ -2072,7 +2072,7 @@ The following code example starts a new process by using the specified verb and ## Examples :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Process/Overview/processstartstatic.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Process.Start_static/VB/processstartstatic.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Process/Overview/processstartstatic.vb"::: ]]> diff --git a/xml/System.Diagnostics/ProcessThread.xml b/xml/System.Diagnostics/ProcessThread.xml index fa03a1ea3d4..45665afe700 100644 --- a/xml/System.Diagnostics/ProcessThread.xml +++ b/xml/System.Diagnostics/ProcessThread.xml @@ -332,7 +332,7 @@ The following example demonstrates how to set the property for an instance of Notepad to the first processor. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/ProcessThread/IdealProcessor/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ProcessThreadIdealProcessor/VB/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/ProcessThread/IdealProcessor/program.vb" id="Snippet1"::: ]]> @@ -637,7 +637,7 @@ The following example shows how to set the property for an instance of Notepad to the first processor. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/ProcessThread/IdealProcessor/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ProcessThreadIdealProcessor/VB/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/ProcessThread/IdealProcessor/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics/SourceFilter.xml b/xml/System.Diagnostics/SourceFilter.xml index 5ac579e32b5..92ea1a5bcbf 100644 --- a/xml/System.Diagnostics/SourceFilter.xml +++ b/xml/System.Diagnostics/SourceFilter.xml @@ -116,7 +116,7 @@ The following code example calls the method using two different source filters, one with a fictitious name, the other with the name of the current trace source. In the first case, the trace is not written to the console; in the second case, the trace is written. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SourceFilter/.ctor/program.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource/VB/program.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SourceFilter/.ctor/program.vb" id="Snippet28"::: ]]> diff --git a/xml/System.Diagnostics/SourceSwitch.xml b/xml/System.Diagnostics/SourceSwitch.xml index 75c2f3bf1bb..ff06a4b49e7 100644 --- a/xml/System.Diagnostics/SourceSwitch.xml +++ b/xml/System.Diagnostics/SourceSwitch.xml @@ -206,7 +206,7 @@ To set the level of your in a .NET Framew The following code example creates a with the name "SourceSwitch" and a default value of . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SourceFilter/.ctor/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource/VB/program.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SourceFilter/.ctor/program.vb" id="Snippet7"::: ]]> @@ -265,7 +265,7 @@ To set the level of your in a .NET Framew The following code example displays the value of the property for a source switch. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SourceFilter/.ctor/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource/VB/program.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SourceFilter/.ctor/program.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Diagnostics/StackFrame.xml b/xml/System.Diagnostics/StackFrame.xml index 7a0fef805fe..b413b45f182 100644 --- a/xml/System.Diagnostics/StackFrame.xml +++ b/xml/System.Diagnostics/StackFrame.xml @@ -78,12 +78,12 @@ The following example demonstrates the use of the class to provide the stack frame information for a stack trace. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/StackFrame/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stackframesample2/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/StackFrame/Overview/program.vb" id="Snippet1"::: The following example demonstrates the use of the members of the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/StackFrame/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StackFrameSample1/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/StackFrame/Overview/source.vb" id="Snippet1"::: ]]> @@ -188,7 +188,7 @@ The following example demonstrates the use of the constructor. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/StackFrame/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StackFrameSample1/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/StackFrame/Overview/source.vb" id="Snippet3"::: ]]> @@ -247,7 +247,7 @@ The following example demonstrates the use of the constructor. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/StackFrame/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StackFrameSample1/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/StackFrame/Overview/source.vb" id="Snippet2"::: ]]> @@ -312,7 +312,7 @@ The following example demonstrates the use of the constructor. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/StackFrame/Overview/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StackFrameSample1/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/StackFrame/Overview/source.vb" id="Snippet5"::: ]]> @@ -373,7 +373,7 @@ The following example demonstrates the use of the constructor. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/StackFrame/Overview/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StackFrameSample1/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/StackFrame/Overview/source.vb" id="Snippet4"::: ]]> @@ -440,7 +440,7 @@ The following example demonstrates the use of the constructor. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/StackFrame/Overview/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StackFrameSample1/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/StackFrame/Overview/source.vb" id="Snippet6"::: ]]> @@ -499,7 +499,7 @@ The following example demonstrates the use of the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/StackFrame/Overview/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StackFrameSample1/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/StackFrame/Overview/source.vb" id="Snippet7"::: ]]> @@ -558,7 +558,7 @@ The following example demonstrates the use of the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/StackFrame/Overview/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StackFrameSample1/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/StackFrame/Overview/source.vb" id="Snippet7"::: ]]> @@ -624,7 +624,7 @@ The following example demonstrates the use of the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/StackFrame/Overview/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StackFrameSample1/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/StackFrame/Overview/source.vb" id="Snippet7"::: ]]> @@ -683,7 +683,7 @@ The following example demonstrates the use of the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/StackFrame/Overview/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StackFrameSample1/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/StackFrame/Overview/source.vb" id="Snippet7"::: ]]> @@ -759,7 +759,7 @@ The following example demonstrates the use of the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/StackFrame/GetMethod/stacktracesample3.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StackTraceSample3/VB/stacktracesample3.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/StackFrame/GetMethod/stacktracesample3.vb" id="Snippet6"::: ]]> @@ -811,7 +811,7 @@ The following example demonstrates the use of the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/StackFrame/Overview/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StackFrameSample1/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/StackFrame/Overview/source.vb" id="Snippet7"::: ]]> @@ -922,7 +922,7 @@ The following example demonstrates the use of the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/StackFrame/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StackFrameSample1/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/StackFrame/Overview/source.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Diagnostics/StackTrace.xml b/xml/System.Diagnostics/StackTrace.xml index bd8a5bb6f5a..21fa73bd9a4 100644 --- a/xml/System.Diagnostics/StackTrace.xml +++ b/xml/System.Diagnostics/StackTrace.xml @@ -78,7 +78,7 @@ The following console application demonstrates how to create a simple and iterate through its frames to obtain debugging and diagnostic information. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/StackTrace/Overview/stacktracesample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StackTraceSample1/VB/stacktracesample1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/StackTrace/Overview/stacktracesample1.vb" id="Snippet1"::: ]]> @@ -145,7 +145,7 @@ The following code example displays the first and last function calls in a stack trace. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/StackFrame/Overview/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StackFrameSample1/VB/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/StackFrame/Overview/source.vb" id="Snippet8"::: ]]> @@ -202,7 +202,7 @@ The following code example demonstrates various constructor methods. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/StackFrame/Overview/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StackFrameSample1/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/StackFrame/Overview/source.vb" id="Snippet4"::: ]]> @@ -287,7 +287,7 @@ The following code example writes stack trace information to an event log entry. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/StackFrame/GetMethod/stacktracesample3.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StackTraceSample3/VB/stacktracesample3.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/StackFrame/GetMethod/stacktracesample3.vb" id="Snippet6"::: ]]> @@ -507,7 +507,7 @@ The following code example demonstrates various constructor methods. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/StackFrame/Overview/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StackFrameSample1/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/StackFrame/Overview/source.vb" id="Snippet4"::: ]]> @@ -733,7 +733,7 @@ The following code example displays the first and last function calls in a stack trace. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/StackFrame/Overview/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StackFrameSample1/VB/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/StackFrame/Overview/source.vb" id="Snippet8"::: ]]> @@ -794,7 +794,7 @@ The following code example displays the first and last function calls in a stack trace. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/StackFrame/Overview/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StackFrameSample1/VB/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/StackFrame/Overview/source.vb" id="Snippet8"::: ]]> @@ -870,7 +870,7 @@ The following code example demonstrates enumerating the frames in a . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/StackTrace/GetFrames/stacktracesample2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StackTraceSample2/VB/stacktracesample2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/StackTrace/GetFrames/stacktracesample2.vb" id="Snippet3"::: ]]> @@ -980,7 +980,7 @@ The following code example writes stack trace information to an event log entry. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/StackFrame/GetMethod/stacktracesample3.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StackTraceSample3/VB/stacktracesample3.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/StackFrame/GetMethod/stacktracesample3.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Diagnostics/Stopwatch.xml b/xml/System.Diagnostics/Stopwatch.xml index b9fcc4f239f..3ed4c38eb6a 100644 --- a/xml/System.Diagnostics/Stopwatch.xml +++ b/xml/System.Diagnostics/Stopwatch.xml @@ -86,12 +86,12 @@ The following example demonstrates how to use the class to determine the execution time for an application. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Stopwatch/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Stopwatch/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Stopwatch/Overview/source1.vb" id="Snippet1"::: The following example demonstrates the use of the class to calculate performance data. - + :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Stopwatch/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StopWatchPerfSample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Stopwatch/Overview/source.vb" id="Snippet1"::: ]]> @@ -151,7 +151,7 @@ The following example initializes a instance by using a simple class constructor. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Stopwatch/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Stopwatch/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Stopwatch/Overview/source1.vb" id="Snippet1"::: ]]> @@ -219,7 +219,7 @@ The following example demonstrates how to use the property to determine the execution time for an application. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Stopwatch/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Stopwatch/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Stopwatch/Overview/source1.vb" id="Snippet1"::: ]]> @@ -287,7 +287,7 @@ The following example uses the class to measure the performance of four different implementations for parsing an integer from a string. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Stopwatch/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StopWatchPerfSample/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Stopwatch/Overview/source.vb" id="Snippet3"::: ]]> @@ -363,7 +363,7 @@ The following example uses the class to measure the performance of four different implementations for parsing an integer from a string. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Stopwatch/Overview/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StopWatchPerfSample/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Stopwatch/Overview/source.vb" id="Snippet4"::: ]]> @@ -430,7 +430,7 @@ The following example displays the frequency and resolution of a timer. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Stopwatch/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StopWatchPerfSample/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Stopwatch/Overview/source.vb" id="Snippet2"::: ]]> @@ -569,7 +569,7 @@ The following example illustrates the use of the method to update a performance counter. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounter/NextValue/elapsedtime.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PerformanceCounterType.ElapsedTime/VB/elapsedtime.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounter/NextValue/elapsedtime.vb" id="Snippet2"::: ]]> @@ -630,7 +630,7 @@ The following example displays the frequency and resolution of a timer. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Stopwatch/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StopWatchPerfSample/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Stopwatch/Overview/source.vb" id="Snippet2"::: ]]> @@ -869,7 +869,7 @@ The following example demonstrates how to use the method to start a timer that measures the execution time of an application. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Stopwatch/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Stopwatch/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Stopwatch/Overview/source1.vb" id="Snippet1"::: ]]> @@ -935,7 +935,7 @@ The following example uses the class to measure the performance of four different implementations for parsing an integer from a string. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Stopwatch/Overview/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StopWatchPerfSample/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Stopwatch/Overview/source.vb" id="Snippet4"::: ]]> @@ -1004,7 +1004,7 @@ The following example demonstrates how to use the method to stop a timer that measures the execution time of an application. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Stopwatch/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Stopwatch/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Stopwatch/Overview/source1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics/Switch.xml b/xml/System.Diagnostics/Switch.xml index ddd646b1bd8..13d4e80425e 100644 --- a/xml/System.Diagnostics/Switch.xml +++ b/xml/System.Diagnostics/Switch.xml @@ -325,7 +325,7 @@ The following code sample shows how to display the unrecognized attributes for a custom switch. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SourceFilter/.ctor/program.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource/VB/program.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SourceFilter/.ctor/program.vb" id="Snippet15"::: ]]> @@ -469,7 +469,7 @@ The following code example displays the display name for the switch in use by a trace source. This code example is part of a larger example that can be found in the class summary. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SourceFilter/.ctor/program.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource/VB/program.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SourceFilter/.ctor/program.vb" id="Snippet10"::: ]]> @@ -541,7 +541,7 @@ The following code sample shows an override of the method for a custom switch. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SourceFilter/.ctor/program.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource/VB/program.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SourceFilter/.ctor/program.vb" id="Snippet34"::: ]]> diff --git a/xml/System.Diagnostics/SwitchAttribute.xml b/xml/System.Diagnostics/SwitchAttribute.xml index 0b27f8a42e9..29425c7b7bf 100644 --- a/xml/System.Diagnostics/SwitchAttribute.xml +++ b/xml/System.Diagnostics/SwitchAttribute.xml @@ -66,7 +66,7 @@ The following example shows how to use the attribute to identify the switch used in an assembly. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet2"::: ]]> @@ -123,7 +123,7 @@ The following code example shows the use of the constructor to create a switch attribute. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet2"::: ]]> @@ -183,7 +183,7 @@ The following code example shows the use of the method to identify the switches used in an assembly. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet12"::: ]]> @@ -308,7 +308,7 @@ The following code example displays the value the property for all switches used in an assembly. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet12"::: ]]> @@ -368,7 +368,7 @@ The following code example displays the value of the property for all switches used in an assembly. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet12"::: ]]> diff --git a/xml/System.Diagnostics/SwitchLevelAttribute.xml b/xml/System.Diagnostics/SwitchLevelAttribute.xml index 383df5ab85b..d56a105c2f3 100644 --- a/xml/System.Diagnostics/SwitchLevelAttribute.xml +++ b/xml/System.Diagnostics/SwitchLevelAttribute.xml @@ -164,7 +164,7 @@ The following code example displays the value of the property for the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SourceFilter/.ctor/program.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource/VB/program.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SourceFilter/.ctor/program.vb" id="Snippet13"::: ]]> diff --git a/xml/System.Diagnostics/TextWriterTraceListener.xml b/xml/System.Diagnostics/TextWriterTraceListener.xml index f93acc61775..11098875fed 100644 --- a/xml/System.Diagnostics/TextWriterTraceListener.xml +++ b/xml/System.Diagnostics/TextWriterTraceListener.xml @@ -236,7 +236,7 @@ The following code example creates a using the constructor and adds it to the . The example then writes two messages to this , and writes a message to all objects in the . Finally, it flushes and closes the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstream.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstream.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstream.vb" id="Snippet1"::: ]]> @@ -376,7 +376,7 @@ The following code example creates a using the constructor, then adds it to the . The example writes two messages to this , then writes a message to all objects in the . Finally, it flushes and closes the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstring.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstring.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstring.vb" id="Snippet3"::: ]]> @@ -453,7 +453,7 @@ The following code example creates a using the constructor and adds it to the . The example then writes two messages to this and writes a message to all objects in the . Finally, it flushes and closes the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstreamname.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstreamname.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstreamname.vb" id="Snippet2"::: ]]> @@ -525,7 +525,7 @@ The following code example creates a using the constructor. The example creates a , then references the when it creates the , which it then adds to the . The example writes two messages to this , then writes a message to all objects in the . Finally, it flushes and closes the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconwritername.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconwritername.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconwritername.vb" id="Snippet5"::: ]]> @@ -600,7 +600,7 @@ The following code example creates a using the constructor, then adds it to the . The example writes two messages to this , then writes a message to all objects in the . Finally, it flushes and closes the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstringname.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstringname.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstringname.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Diagnostics/TraceFilter.xml b/xml/System.Diagnostics/TraceFilter.xml index b3679294cc9..f5cbb8d4ca7 100644 --- a/xml/System.Diagnostics/TraceFilter.xml +++ b/xml/System.Diagnostics/TraceFilter.xml @@ -177,7 +177,7 @@ The following code example shows how to override the method to indicate tracing should occur when the trace event type of the event is equal to . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/TraceFilter/ShouldTrace/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.tracefilter/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/TraceFilter/ShouldTrace/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Diagnostics/TraceListener.xml b/xml/System.Diagnostics/TraceListener.xml index a99c4ed2bb6..cdd2d03188c 100644 --- a/xml/System.Diagnostics/TraceListener.xml +++ b/xml/System.Diagnostics/TraceListener.xml @@ -672,7 +672,7 @@ The following code example shows how to use the property to add a source filter to a console trace listener. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet28"::: ]]> @@ -795,7 +795,7 @@ The following code sample shows an override of the method for a custom trace listener. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/TraceListener/GetSupportedAttributes/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceListener.CustomAttributes/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/TraceListener/GetSupportedAttributes/program.vb" id="Snippet1"::: ]]> @@ -1641,7 +1641,7 @@ The following example shows the setting of the property for a console trace listener. The console trace listener is one of the listeners enumerated in the property of a trace source. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet16"::: ]]> diff --git a/xml/System.Diagnostics/TraceOptions.xml b/xml/System.Diagnostics/TraceOptions.xml index bce6a6108c1..82c40a5a417 100644 --- a/xml/System.Diagnostics/TraceOptions.xml +++ b/xml/System.Diagnostics/TraceOptions.xml @@ -84,7 +84,7 @@ The following code example shows the use of the enumeration to programmatically set the property for a console trace listener. The console trace listener is one of the listeners enumerated in the property of a trace source. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet16"::: ]]> diff --git a/xml/System.Diagnostics/TraceSource.xml b/xml/System.Diagnostics/TraceSource.xml index 8345d671c10..984b77ed78b 100644 --- a/xml/System.Diagnostics/TraceSource.xml +++ b/xml/System.Diagnostics/TraceSource.xml @@ -126,7 +126,7 @@ The preceding .NET Framework app configuration file example demonstrates removin The following code example shows the use of the class to forward traces to listeners. The example also demonstrates switch and filter usage. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet1"::: ]]> @@ -203,7 +203,7 @@ The preceding .NET Framework app configuration file example demonstrates removin The following code example shows the use of the constructor to create a new object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet9"::: ]]> @@ -330,7 +330,7 @@ The preceding .NET Framework app configuration file example demonstrates removin The following code sample shows how to display the custom attributes for a . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet14"::: ]]> @@ -386,7 +386,7 @@ The preceding .NET Framework app configuration file example demonstrates removin The following code example shows how you can use the method to close all the listeners in the collection. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet33"::: ]]> @@ -469,7 +469,7 @@ The preceding .NET Framework app configuration file example demonstrates removin The following code example shows how you can use the method to flush all the listeners in the collection. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet33"::: ]]> @@ -537,7 +537,7 @@ The preceding .NET Framework app configuration file example demonstrates removin The following code example shows an override of the method to identify the custom attributes for the `MyTraceSource` class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SourceFilter/.ctor/program.cs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource/VB/program.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SourceFilter/.ctor/program.vb" id="Snippet33"::: ]]> @@ -693,7 +693,7 @@ You can refer to the trace source by using the `name` attribute in the configura The following code sample shows how to name a trace source in the constructor call. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet9"::: ]]> @@ -830,7 +830,7 @@ You can refer to the trace source by using the `name` attribute in the configura The following code example shows the use of the method to filter and forward a trace message to the listeners. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet28"::: ]]> @@ -990,7 +990,7 @@ You can refer to the trace source by using the `name` attribute in the configura The following code example shows the use of the method to pass a trace event to the listeners. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet17"::: ]]> @@ -1068,7 +1068,7 @@ You can refer to the trace source by using the `name` attribute in the configura The following code example shows the use of the method to pass a trace event to the listeners. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet18"::: ]]> @@ -1165,7 +1165,7 @@ You can refer to the trace source by using the `name` attribute in the configura The following code example shows the use of the method to pass a trace event to the listeners. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet24"::: ]]> diff --git a/xml/System.Diagnostics/UnescapedXmlDiagnosticData.xml b/xml/System.Diagnostics/UnescapedXmlDiagnosticData.xml index bbe39d649e1..8e7ba0157d1 100644 --- a/xml/System.Diagnostics/UnescapedXmlDiagnosticData.xml +++ b/xml/System.Diagnostics/UnescapedXmlDiagnosticData.xml @@ -31,7 +31,7 @@ The following code example demonstrates how to use class. This code example is part of a larger example that is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/Overview/program.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener/vb/program.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/Overview/program.vb" id="Snippet11"::: ]]> @@ -71,7 +71,7 @@ The following code example demonstrates how to use the constructor. This code example is part of a larger example that is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/Overview/program.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener/vb/program.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/Overview/program.vb" id="Snippet11"::: ]]> diff --git a/xml/System.Diagnostics/XmlWriterTraceListener.xml b/xml/System.Diagnostics/XmlWriterTraceListener.xml index 091a171c261..a1828847a5c 100644 --- a/xml/System.Diagnostics/XmlWriterTraceListener.xml +++ b/xml/System.Diagnostics/XmlWriterTraceListener.xml @@ -107,7 +107,7 @@ You can create an in your code. The following code example shows the use of the class to write both escaped and non-escaped data to file logs. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/XmlWriterTraceListener/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.XmlWriterTraceListener/VB/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/XmlWriterTraceListener/Overview/module1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.DirectoryServices/PropertyCollection.xml b/xml/System.DirectoryServices/PropertyCollection.xml index 1c74d919f32..7b8978978ca 100644 --- a/xml/System.DirectoryServices/PropertyCollection.xml +++ b/xml/System.DirectoryServices/PropertyCollection.xml @@ -472,7 +472,7 @@ Dim myCollection As New ICollection() The following example shows how to implement the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Key/Dictionary.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/Dictionary.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Key/Dictionary.vb" id="Snippet9"::: ]]> @@ -520,7 +520,7 @@ Dim myCollection As New ICollection() The following example demonstrates how to implement the method. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Key/Dictionary.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/Dictionary.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Key/Dictionary.vb" id="Snippet8"::: ]]> @@ -565,7 +565,7 @@ Dim myCollection As New ICollection() The following example demonstrates how to implement the method. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Key/Dictionary.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/Dictionary.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Key/Dictionary.vb" id="Snippet5"::: ]]> @@ -613,7 +613,7 @@ Dim myCollection As New ICollection() The following example demonstrates how to implement the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Key/Dictionary.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/Dictionary.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Key/Dictionary.vb" id="Snippet6"::: ]]> @@ -657,7 +657,7 @@ Dim myCollection As New ICollection() The following example shows how to implement the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Key/Dictionary.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/Dictionary.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Key/Dictionary.vb" id="Snippet4"::: ]]> @@ -713,7 +713,7 @@ Dim myCollection As New ICollection() The following example shows how to implement the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Key/Dictionary.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/Dictionary.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Key/Dictionary.vb" id="Snippet13"::: ]]> @@ -764,7 +764,7 @@ Dim myCollection As New ICollection() The following example shows how to implement the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Key/Dictionary.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/Dictionary.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Key/Dictionary.vb" id="Snippet10"::: ]]> @@ -807,7 +807,7 @@ Dim myCollection As New ICollection() The following example shows how to implement the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryEntry/Key/Dictionary.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dictionary/VB/Dictionary.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryEntry/Key/Dictionary.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Drawing.Design/BitmapEditor.xml b/xml/System.Drawing.Design/BitmapEditor.xml index 87730cb8f22..51ec2d0382d 100644 --- a/xml/System.Drawing.Design/BitmapEditor.xml +++ b/xml/System.Drawing.Design/BitmapEditor.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BitmapEditorExample/CPP/usercontrol1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/BitmapEditor/Overview/usercontrol1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BitmapEditorExample/VB/usercontrol1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/BitmapEditor/Overview/usercontrol1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing.Design/CategoryNameCollection.xml b/xml/System.Drawing.Design/CategoryNameCollection.xml index 4324735b658..66f18a62f62 100644 --- a/xml/System.Drawing.Design/CategoryNameCollection.xml +++ b/xml/System.Drawing.Design/CategoryNameCollection.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CategoryNameCollectionExample/CPP/toolboxcategorynamescontrol.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/CategoryNameCollection/Overview/toolboxcategorynamescontrol.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CategoryNameCollectionExample/VB/toolboxcategorynamescontrol.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/CategoryNameCollection/Overview/toolboxcategorynamescontrol.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing.Design/FontEditor.xml b/xml/System.Drawing.Design/FontEditor.xml index 90ced605616..f62de5b64c6 100644 --- a/xml/System.Drawing.Design/FontEditor.xml +++ b/xml/System.Drawing.Design/FontEditor.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/EditorAttributesExample/CPP/class1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/CollectionEditor/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/EditorAttributesExample/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/CollectionEditor/Overview/class1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing.Design/IToolboxService.xml b/xml/System.Drawing.Design/IToolboxService.xml index 8f9433883b6..a9ffd76f580 100644 --- a/xml/System.Drawing.Design/IToolboxService.xml +++ b/xml/System.Drawing.Design/IToolboxService.xml @@ -90,13 +90,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IToolboxServiceExample1/CPP/itoolboxservicecontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/IToolboxService/Overview/itoolboxservicecontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IToolboxServiceExample1/VB/itoolboxservicecontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/IToolboxService/Overview/itoolboxservicecontrol.vb" id="Snippet1"::: The following code example provides a component that uses the to add a "Text" data format handler, or , to the toolbox. The data creator callback delegate passes any text data pasted to the toolbox and dragged onto a form to a custom that creates a containing the text. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolboxCreatorCallbackSample/CPP/textdatatextboxcomponent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/IToolboxService/Overview/textdatatextboxcomponent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolboxCreatorCallbackSample/VB/textdatatextboxcomponent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/IToolboxService/Overview/textdatatextboxcomponent.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing.Design/IToolboxUser.xml b/xml/System.Drawing.Design/IToolboxUser.xml index d49269fcd8e..cd672a97e40 100644 --- a/xml/System.Drawing.Design/IToolboxUser.xml +++ b/xml/System.Drawing.Design/IToolboxUser.xml @@ -38,7 +38,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IToolboxUserExample/CPP/samplecontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IToolboxUserExample/VB/samplecontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.vb" id="Snippet1"::: ]]> @@ -93,7 +93,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IToolboxUserExample/CPP/samplecontrol.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IToolboxUserExample/VB/samplecontrol.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing.Design/ImageEditor.xml b/xml/System.Drawing.Design/ImageEditor.xml index d2a3bf278c7..6876aa63408 100644 --- a/xml/System.Drawing.Design/ImageEditor.xml +++ b/xml/System.Drawing.Design/ImageEditor.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/EditorAttributesExample/CPP/class1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/CollectionEditor/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/EditorAttributesExample/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/CollectionEditor/Overview/class1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing.Design/PaintValueEventArgs.xml b/xml/System.Drawing.Design/PaintValueEventArgs.xml index cbdada5c13d..406735e4e5b 100644 --- a/xml/System.Drawing.Design/PaintValueEventArgs.xml +++ b/xml/System.Drawing.Design/PaintValueEventArgs.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MoreEventArgsExamples/CPP/class1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/ResolveNameEventArgs/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MoreEventArgsExamples/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/ResolveNameEventArgs/Overview/class1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing.Design/ToolboxComponentsCreatedEventArgs.xml b/xml/System.Drawing.Design/ToolboxComponentsCreatedEventArgs.xml index 236a0f5f56b..bf29ccf5b85 100644 --- a/xml/System.Drawing.Design/ToolboxComponentsCreatedEventArgs.xml +++ b/xml/System.Drawing.Design/ToolboxComponentsCreatedEventArgs.xml @@ -40,7 +40,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MoreEventArgsExamples/CPP/class1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/ResolveNameEventArgs/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MoreEventArgsExamples/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/ResolveNameEventArgs/Overview/class1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing.Design/ToolboxComponentsCreatedEventHandler.xml b/xml/System.Drawing.Design/ToolboxComponentsCreatedEventHandler.xml index df574928ae8..c12c8a15555 100644 --- a/xml/System.Drawing.Design/ToolboxComponentsCreatedEventHandler.xml +++ b/xml/System.Drawing.Design/ToolboxComponentsCreatedEventHandler.xml @@ -48,7 +48,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MoreEventHandlerExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/ResolveNameEventHandler/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MoreEventHandlerExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/ResolveNameEventHandler/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing.Design/ToolboxComponentsCreatingEventArgs.xml b/xml/System.Drawing.Design/ToolboxComponentsCreatingEventArgs.xml index bbc131d902d..67f58cf5a01 100644 --- a/xml/System.Drawing.Design/ToolboxComponentsCreatingEventArgs.xml +++ b/xml/System.Drawing.Design/ToolboxComponentsCreatingEventArgs.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MoreEventArgsExamples/CPP/class1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/ResolveNameEventArgs/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MoreEventArgsExamples/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/ResolveNameEventArgs/Overview/class1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Drawing.Design/ToolboxComponentsCreatingEventHandler.xml b/xml/System.Drawing.Design/ToolboxComponentsCreatingEventHandler.xml index 1ee0f98d140..21b3686dc7a 100644 --- a/xml/System.Drawing.Design/ToolboxComponentsCreatingEventHandler.xml +++ b/xml/System.Drawing.Design/ToolboxComponentsCreatingEventHandler.xml @@ -48,7 +48,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MoreEventHandlerExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design.Serialization/ResolveNameEventHandler/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MoreEventHandlerExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design.Serialization/ResolveNameEventHandler/Overview/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing.Design/ToolboxItem.xml b/xml/System.Drawing.Design/ToolboxItem.xml index 35eab18831c..f228ae1587b 100644 --- a/xml/System.Drawing.Design/ToolboxItem.xml +++ b/xml/System.Drawing.Design/ToolboxItem.xml @@ -83,12 +83,12 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolboxCreatorCallbackSample/CPP/textdatatextboxcomponent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/IToolboxService/Overview/textdatatextboxcomponent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolboxCreatorCallbackSample/VB/textdatatextboxcomponent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/IToolboxService/Overview/textdatatextboxcomponent.vb" id="Snippet1"::: The following code example demonstrates the use of the class as a base class for a custom toolbox item implementation. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Design.ToolboxItem/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -114,7 +114,7 @@ The following code example demonstrates the use of the constructor in a class derived from for a custom toolbox item implementation. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Design.ToolboxItem/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -159,7 +159,7 @@ The following code example demonstrates the use of the constructor in a class derived from for a custom toolbox item implementation. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Design.ToolboxItem/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -203,7 +203,7 @@ The following code example demonstrates the use of the constructor in a class derived from for a custom toolbox item implementation. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Design.ToolboxItem/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -744,7 +744,7 @@ The following code example demonstrates the use of the method in a class derived from for a custom toolbox item implementation. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Design.ToolboxItem/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.vb" id="Snippet5"::: ]]> @@ -871,7 +871,7 @@ The following code example demonstrates loading the state of the toolbox item from the specified serialization information object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Design.ToolboxItem/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemAttribute/Overview/Form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Drawing.Design/ToolboxItemCollection.xml b/xml/System.Drawing.Design/ToolboxItemCollection.xml index 8ff6b8f414b..cedf741e53f 100644 --- a/xml/System.Drawing.Design/ToolboxItemCollection.xml +++ b/xml/System.Drawing.Design/ToolboxItemCollection.xml @@ -83,7 +83,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolboxItemCollectionExample/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolboxItemCollectionExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.vb" id="Snippet1"::: ]]> @@ -127,7 +127,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolboxItemCollectionExample/CPP/class1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolboxItemCollectionExample/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.vb" id="Snippet2"::: ]]> @@ -176,7 +176,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolboxItemCollectionExample/CPP/class1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolboxItemCollectionExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.vb" id="Snippet5"::: ]]> @@ -225,7 +225,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolboxItemCollectionExample/CPP/class1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolboxItemCollectionExample/VB/class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.vb" id="Snippet6"::: ]]> @@ -310,7 +310,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolboxItemCollectionExample/CPP/class1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolboxItemCollectionExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/ToolboxItemCollection/.ctor/class1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Drawing.Design/ToolboxItemCreatorCallback.xml b/xml/System.Drawing.Design/ToolboxItemCreatorCallback.xml index 68f33945929..4655dabf6e5 100644 --- a/xml/System.Drawing.Design/ToolboxItemCreatorCallback.xml +++ b/xml/System.Drawing.Design/ToolboxItemCreatorCallback.xml @@ -51,7 +51,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolboxCreatorCallbackSample/CPP/textdatatextboxcomponent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/IToolboxService/Overview/textdatatextboxcomponent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolboxCreatorCallbackSample/VB/textdatatextboxcomponent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/IToolboxService/Overview/textdatatextboxcomponent.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing.Design/UITypeEditor.xml b/xml/System.Drawing.Design/UITypeEditor.xml index 15bc1214498..67291354673 100644 --- a/xml/System.Drawing.Design/UITypeEditor.xml +++ b/xml/System.Drawing.Design/UITypeEditor.xml @@ -69,7 +69,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/AngleEditor/CPP/angleeditor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/UITypeEditor/Overview/angleeditor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/AngleEditor/VB/angleeditor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/UITypeEditor/Overview/angleeditor.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing.Design/UITypeEditorEditStyle.xml b/xml/System.Drawing.Design/UITypeEditorEditStyle.xml index c9d5d0f68d1..48cdc5ca2a3 100644 --- a/xml/System.Drawing.Design/UITypeEditorEditStyle.xml +++ b/xml/System.Drawing.Design/UITypeEditorEditStyle.xml @@ -33,7 +33,7 @@ The following code example demonstrates how to use to specify the style of a custom . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Design/UITypeEditorEditStyle/Overview/marqueeborder.cs" id="Snippet93"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.DocumentDesigner/VB/marqueeborder.vb" id="Snippet93"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Design/UITypeEditorEditStyle/Overview/marqueeborder.vb" id="Snippet93"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/AdjustableArrowCap.xml b/xml/System.Drawing.Drawing2D/AdjustableArrowCap.xml index d10e0375f47..e65a65d8265 100644 --- a/xml/System.Drawing.Drawing2D/AdjustableArrowCap.xml +++ b/xml/System.Drawing.Drawing2D/AdjustableArrowCap.xml @@ -106,7 +106,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.vb" id="Snippet1"::: ]]> @@ -162,7 +162,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/Blend.xml b/xml/System.Drawing.Drawing2D/Blend.xml index c2af32d5f48..03b15e01ec5 100644 --- a/xml/System.Drawing.Drawing2D/Blend.xml +++ b/xml/System.Drawing.Drawing2D/Blend.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.vb" id="Snippet3"::: ]]> @@ -104,7 +104,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.vb" id="Snippet3"::: ]]> @@ -205,7 +205,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet5"::: ]]> @@ -265,7 +265,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/ColorBlend.xml b/xml/System.Drawing.Drawing2D/ColorBlend.xml index 5d2476fd736..6847a472211 100644 --- a/xml/System.Drawing.Drawing2D/ColorBlend.xml +++ b/xml/System.Drawing.Drawing2D/ColorBlend.xml @@ -86,7 +86,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMisc/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/AdjustableArrowCap/.ctor/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/CustomLineCap.xml b/xml/System.Drawing.Drawing2D/CustomLineCap.xml index ab1ca9d14f2..c09a1b54e49 100644 --- a/xml/System.Drawing.Drawing2D/CustomLineCap.xml +++ b/xml/System.Drawing.Drawing2D/CustomLineCap.xml @@ -58,7 +58,7 @@ The following example demonstrates how to use the class. To run this example paste, the code into a Windows Form. Handle the form's event and call `DrawCaps` from the form's event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet1"::: ]]> @@ -127,7 +127,7 @@ The following example demonstrates how to use the constructor. To run this example, paste the code into a Windows Form. Handle the form's event and call `DrawCaps` from the form's event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet1"::: ]]> @@ -593,7 +593,7 @@ private void CloneExample(PaintEventArgs e) The following example demonstrates how to use the method. To run this example, paste the code into a Windows Form. Handle the form's event and call `DrawCaps` from the form's event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet1"::: ]]> @@ -642,7 +642,7 @@ private void CloneExample(PaintEventArgs e) The following example demonstrates how to use the method. To run this example, paste the code into a Windows Form. Handle the form's event and call `DrawCaps` from the form's event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/DashStyle.xml b/xml/System.Drawing.Drawing2D/DashStyle.xml index 42525caa557..8afe4b3fcb5 100644 --- a/xml/System.Drawing.Drawing2D/DashStyle.xml +++ b/xml/System.Drawing.Drawing2D/DashStyle.xml @@ -47,7 +47,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/FillMode.xml b/xml/System.Drawing.Drawing2D/FillMode.xml index 94bef5ef11b..d16e57afc3e 100644 --- a/xml/System.Drawing.Drawing2D/FillMode.xml +++ b/xml/System.Drawing.Drawing2D/FillMode.xml @@ -54,7 +54,7 @@ The following example is designed for use with Windows Forms, and it requires `e`, which is a parameter of the event handler. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/FillMode/Overview/Class1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ConstructingDrawingPaths/VB/Class1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/FillMode/Overview/Class1.vb" id="Snippet11"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/GraphicsPath.xml b/xml/System.Drawing.Drawing2D/GraphicsPath.xml index 623a50843b9..69341d5eff4 100644 --- a/xml/System.Drawing.Drawing2D/GraphicsPath.xml +++ b/xml/System.Drawing.Drawing2D/GraphicsPath.xml @@ -444,7 +444,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet1"::: ]]> @@ -821,7 +821,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet2"::: ]]> @@ -966,7 +966,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet3"::: ]]> @@ -1382,7 +1382,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet4"::: ]]> @@ -1930,7 +1930,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet5"::: ]]> @@ -2051,7 +2051,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet6"::: ]]> @@ -2365,7 +2365,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet7"::: ]]> @@ -2500,7 +2500,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet8"::: ]]> @@ -2697,7 +2697,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet9"::: ]]> @@ -2822,7 +2822,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet10"::: ]]> @@ -2959,7 +2959,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet11"::: ]]> @@ -3162,7 +3162,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet12"::: ]]> @@ -3279,7 +3279,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet13"::: ]]> @@ -3560,7 +3560,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet14"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet14"::: ]]> @@ -3808,7 +3808,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet15"::: ]]> @@ -3869,7 +3869,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet16"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet16"::: ]]> @@ -3922,7 +3922,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet17"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet17"::: ]]> @@ -3967,7 +3967,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet18"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet18"::: ]]> @@ -4249,7 +4249,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet19"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet19"::: ]]> @@ -4335,7 +4335,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet20"::: ]]> @@ -4491,7 +4491,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet21"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet21"::: ]]> @@ -4984,7 +4984,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet22"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet22"::: ]]> @@ -5424,7 +5424,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet23"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet23"::: ]]> @@ -5696,7 +5696,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet24"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet24"::: ]]> @@ -5749,7 +5749,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet25"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet25"::: ]]> @@ -5801,7 +5801,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet26"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet26"::: ]]> @@ -5861,7 +5861,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet27"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet27"::: ]]> @@ -5924,7 +5924,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet28"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet28"::: ]]> @@ -6186,7 +6186,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet29"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet29"::: ]]> @@ -6434,7 +6434,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/CPP/form1.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathExamples/VB/form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPath/AddArc/form1.vb" id="Snippet30"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/GraphicsPathIterator.xml b/xml/System.Drawing.Drawing2D/GraphicsPathIterator.xml index fbe6ca4fc45..d9e130a3d38 100644 --- a/xml/System.Drawing.Drawing2D/GraphicsPathIterator.xml +++ b/xml/System.Drawing.Drawing2D/GraphicsPathIterator.xml @@ -157,7 +157,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.vb" id="Snippet1"::: ]]> @@ -336,7 +336,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.vb" id="Snippet2"::: ]]> @@ -468,7 +468,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.vb" id="Snippet3"::: ]]> @@ -547,7 +547,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.vb" id="Snippet4"::: ]]> @@ -617,7 +617,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.vb" id="Snippet5"::: ]]> @@ -686,7 +686,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.vb" id="Snippet6"::: ]]> @@ -760,7 +760,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.vb" id="Snippet7"::: ]]> @@ -827,7 +827,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicGraphicsPathIterator/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/GraphicsPathIterator/CopyData/form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/HatchBrush.xml b/xml/System.Drawing.Drawing2D/HatchBrush.xml index 520cca4b209..8dd92a903a7 100644 --- a/xml/System.Drawing.Drawing2D/HatchBrush.xml +++ b/xml/System.Drawing.Drawing2D/HatchBrush.xml @@ -49,7 +49,7 @@ The following example shows how to create the shown in the previous illustration. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/HatchBrush/Overview/Class1.cs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingABrush/VB/Class1.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/HatchBrush/Overview/Class1.vb" id="Snippet41"::: ]]> @@ -156,7 +156,7 @@ The following example shows how to use the to create the shown in the previous illustration. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/HatchBrush/Overview/Class1.cs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingABrush/VB/Class1.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/HatchBrush/Overview/Class1.vb" id="Snippet41"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/LineCap.xml b/xml/System.Drawing.Drawing2D/LineCap.xml index 34f70659b4c..9d98128fb76 100644 --- a/xml/System.Drawing.Drawing2D/LineCap.xml +++ b/xml/System.Drawing.Drawing2D/LineCap.xml @@ -46,7 +46,7 @@ The following example draws a line with an arrowhead at one end and a round cap at the other end. To run this example, Create a Windows Form and handle the form's event. Paste the example code into the event handler passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Rectangle/Overview/Class1.cs" id="Snippet71"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingAPen/VB/Class1.vb" id="Snippet71"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Rectangle/Overview/Class1.vb" id="Snippet71"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/LinearGradientBrush.xml b/xml/System.Drawing.Drawing2D/LinearGradientBrush.xml index 59375e2be0b..83ed1ca215c 100644 --- a/xml/System.Drawing.Drawing2D/LinearGradientBrush.xml +++ b/xml/System.Drawing.Drawing2D/LinearGradientBrush.xml @@ -59,7 +59,7 @@ The following example creates a horizontal ; the color components change linearly as you move from a horizontal coordinate of 0 to a horizontal coordinate of 200. For example, a point whose first coordinate is halfway between 0 and 200 will have a blue component that is halfway between 0 and 255. This example is designed for use with Windows Forms. The following code example is designed for use with Windows Forms, and it requires the `e`, which is a parameter of . :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/LinearGradientBrush/Overview/Class1.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingaGradientBrush/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Overview/Class1.vb" id="Snippet21"::: ]]> @@ -559,7 +559,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.vb" id="Snippet1"::: ]]> @@ -805,7 +805,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.vb" id="Snippet2"::: ]]> @@ -911,7 +911,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.vb" id="Snippet3"::: ]]> @@ -1030,7 +1030,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.vb" id="Snippet4"::: ]]> @@ -1153,7 +1153,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.vb" id="Snippet5"::: ]]> @@ -1282,7 +1282,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.vb" id="Snippet6"::: ]]> @@ -1411,7 +1411,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.vb" id="Snippet7"::: ]]> @@ -1589,7 +1589,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicLinearGradientBrush/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Clone/form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/Matrix.xml b/xml/System.Drawing.Drawing2D/Matrix.xml index 96810648d96..6f1d629b6b8 100644 --- a/xml/System.Drawing.Drawing2D/Matrix.xml +++ b/xml/System.Drawing.Drawing2D/Matrix.xml @@ -775,7 +775,7 @@ Matrix myMatrix = new Matrix(3, 5, 1, 2, 2, 4); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/Matrix/Multiply/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/Matrix/Multiply/form1.vb" id="Snippet1"::: ]]> @@ -913,7 +913,7 @@ Matrix myMatrix = new Matrix(3, 5, 1, 2, 2, 4); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/Matrix/Multiply/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/Matrix/Multiply/form1.vb" id="Snippet2"::: ]]> @@ -1032,7 +1032,7 @@ Matrix myMatrix = new Matrix(3, 5, 1, 2, 2, 4); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/Matrix/Multiply/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/Matrix/Multiply/form1.vb" id="Snippet3"::: ]]> @@ -1097,7 +1097,7 @@ Matrix myMatrix = new Matrix(3, 5, 1, 2, 2, 4); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet5"::: ]]> @@ -1159,7 +1159,7 @@ Matrix myMatrix = new Matrix(3, 5, 1, 2, 2, 4); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/Matrix/Multiply/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/Matrix/Multiply/form1.vb" id="Snippet4"::: ]]> @@ -1282,7 +1282,7 @@ Matrix myMatrix = new Matrix(3, 5, 1, 2, 2, 4); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/Matrix/Multiply/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/Matrix/Multiply/form1.vb" id="Snippet5"::: ]]> @@ -1356,7 +1356,7 @@ Matrix myMatrix = new Matrix(3, 5, 1, 2, 2, 4); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/Matrix/Multiply/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/Matrix/Multiply/form1.vb" id="Snippet6"::: ]]> @@ -1488,7 +1488,7 @@ Matrix myMatrix = new Matrix(3, 5, 1, 2, 2, 4); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/Matrix/Multiply/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/Matrix/Multiply/form1.vb" id="Snippet7"::: ]]> @@ -1704,7 +1704,7 @@ Matrix myMatrix = new Matrix(3, 5, 1, 2, 2, 4); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/Matrix/Multiply/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/Matrix/Multiply/form1.vb" id="Snippet8"::: ]]> @@ -1962,7 +1962,7 @@ Matrix myMatrix = new Matrix(3, 5, 1, 2, 2, 4); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/Matrix/Multiply/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicMatrixExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/Matrix/Multiply/form1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/PathGradientBrush.xml b/xml/System.Drawing.Drawing2D/PathGradientBrush.xml index 6006af1f315..f2b5adc82de 100644 --- a/xml/System.Drawing.Drawing2D/PathGradientBrush.xml +++ b/xml/System.Drawing.Drawing2D/PathGradientBrush.xml @@ -53,7 +53,7 @@ The following code example shows how to create a . This example is designed for use with Windows Forms, and it requires the e, which is a parameter of . :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/LinearGradientBrush/Overview/Class1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingaGradientBrush/VB/Class1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/LinearGradientBrush/Overview/Class1.vb" id="Snippet11"::: ]]> @@ -785,7 +785,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.vb" id="Snippet1"::: ]]> @@ -994,7 +994,7 @@ PathGradientBrush pgBrush = new PathGradientBrush(myPath); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.vb" id="Snippet2"::: ]]> @@ -1123,7 +1123,7 @@ PathGradientBrush pgBrush = new PathGradientBrush(myPath); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.vb" id="Snippet3"::: ]]> @@ -1260,7 +1260,7 @@ PathGradientBrush pgBrush = new PathGradientBrush(myPath); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.vb" id="Snippet4"::: ]]> @@ -1399,7 +1399,7 @@ PathGradientBrush pgBrush = new PathGradientBrush(myPath); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Drawing2D.ClassicPathGradientBrush/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Drawing2D/PathGradientBrush/MultiplyTransform/form1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/RegionData.xml b/xml/System.Drawing.Drawing2D/RegionData.xml index 4560cc879da..2a7fc3d4aae 100644 --- a/xml/System.Drawing.Drawing2D/RegionData.xml +++ b/xml/System.Drawing.Drawing2D/RegionData.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet6"::: ]]> @@ -111,7 +111,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet13"::: ]]> diff --git a/xml/System.Drawing.Drawing2D/WrapMode.xml b/xml/System.Drawing.Drawing2D/WrapMode.xml index 9b9030eb4b0..a7653c3823a 100644 --- a/xml/System.Drawing.Drawing2D/WrapMode.xml +++ b/xml/System.Drawing.Drawing2D/WrapMode.xml @@ -45,7 +45,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing.Imaging/BitmapData.xml b/xml/System.Drawing.Imaging/BitmapData.xml index 5614d625b69..b851744b34e 100644 --- a/xml/System.Drawing.Imaging/BitmapData.xml +++ b/xml/System.Drawing.Imaging/BitmapData.xml @@ -42,7 +42,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet5"::: ]]> @@ -271,7 +271,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Drawing.Imaging/ColorMatrix.xml b/xml/System.Drawing.Imaging/ColorMatrix.xml index f711e01b947..b348f674d54 100644 --- a/xml/System.Drawing.Imaging/ColorMatrix.xml +++ b/xml/System.Drawing.Imaging/ColorMatrix.xml @@ -84,7 +84,7 @@ The preceding example is designed for use with Windows Forms, and it requires `e`, which is a parameter of the event handler :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ColorMatrix/Overview/Class1.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RecoloringImages/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ColorMatrix/Overview/Class1.vb" id="Snippet21"::: ]]> @@ -212,7 +212,7 @@ The following code example demonstrates how to construct and use a . To run this example, paste the code into a Windows Form and call `RotateColors` from the form's event-handling method passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ColorMatrix/.ctor/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RotateColors/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ColorMatrix/.ctor/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing.Imaging/Encoder.xml b/xml/System.Drawing.Imaging/Encoder.xml index 3864742ea0a..7d2cba8eb09 100644 --- a/xml/System.Drawing.Imaging/Encoder.xml +++ b/xml/System.Drawing.Imaging/Encoder.xml @@ -293,7 +293,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Imaging.ClassicEncoderExample1/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/Encoder/ColorDepth/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Imaging.ClassicEncoderExample1/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/Encoder/ColorDepth/form1.vb" id="Snippet1"::: ]]> @@ -403,7 +403,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImagingEncoder2/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/Encoder/Compression/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImagingEncoder2/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/Encoder/Compression/form1.vb" id="Snippet2"::: ]]> @@ -668,7 +668,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImagingEndcoder3/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Image/Save/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImagingEndcoder3/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Image/Save/form1.vb" id="Snippet3"::: ]]> @@ -851,7 +851,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassingImagingEncoder4/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/Encoder/SaveFlag/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassingImagingEncoder4/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/Encoder/SaveFlag/form1.vb" id="Snippet4"::: ]]> @@ -1006,7 +1006,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImagingEncoderExample5/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/Encoder/Transformation/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImagingEncoderExample5/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/Encoder/Transformation/form1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Drawing.Imaging/EncoderParameter.xml b/xml/System.Drawing.Imaging/EncoderParameter.xml index 826b749062f..54eb8261de8 100644 --- a/xml/System.Drawing.Imaging/EncoderParameter.xml +++ b/xml/System.Drawing.Imaging/EncoderParameter.xml @@ -56,9 +56,9 @@ The following code example demonstrates how to create a using the constructor. To run this example, paste the code into a Windows Form and call the `VaryQualityLevel` method from the form's constructor. This example requires an image file named `TestPhoto.jpg` located at **c:\\**. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/EncoderParameter/Overview/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/UsingImageEncodersDecoders/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/EncoderParameter/Overview/Form1.vb" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/EncoderParameter/Overview/Form1.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/UsingImageEncodersDecoders/VB/Form1.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/EncoderParameter/Overview/Form1.vb" id="Snippet6"::: ]]> @@ -258,9 +258,9 @@ The following code example demonstrates how to create a using the constructor. To run this example, paste the code into a Windows Form and call the `VaryQualityLevel` method from the form's constructor. This example requires an image file named `TestPhoto.jpg` located at **c:\\**. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/EncoderParameter/Overview/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/UsingImageEncodersDecoders/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/EncoderParameter/Overview/Form1.vb" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/EncoderParameter/Overview/Form1.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/UsingImageEncodersDecoders/VB/Form1.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/EncoderParameter/Overview/Form1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Drawing.Imaging/EncoderParameters.xml b/xml/System.Drawing.Imaging/EncoderParameters.xml index aa38e7d412c..2027877e582 100644 --- a/xml/System.Drawing.Imaging/EncoderParameters.xml +++ b/xml/System.Drawing.Imaging/EncoderParameters.xml @@ -103,9 +103,9 @@ The following code example demonstrates how to create and use a object. To run this example, paste the code into a Windows Form and call the `VaryQualityLevel` method from the form's constructor. This example requires an image file named `TestPhoto.jpg` located at **c:\\**. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/EncoderParameter/Overview/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/UsingImageEncodersDecoders/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/EncoderParameter/Overview/Form1.vb" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/EncoderParameter/Overview/Form1.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/UsingImageEncodersDecoders/VB/Form1.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/EncoderParameter/Overview/Form1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Drawing.Imaging/ImageAttributes.xml b/xml/System.Drawing.Imaging/ImageAttributes.xml index 50649d2e15b..1f6501e570d 100644 --- a/xml/System.Drawing.Imaging/ImageAttributes.xml +++ b/xml/System.Drawing.Imaging/ImageAttributes.xml @@ -71,7 +71,7 @@ 3. Pass the object to the method of a object. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ColorMatrix/Overview/Class1.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RecoloringImages/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ColorMatrix/Overview/Class1.vb" id="Snippet21"::: ]]> @@ -1248,7 +1248,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.vb" id="Snippet1"::: ]]> @@ -1475,7 +1475,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.vb" id="Snippet2"::: ]]> @@ -1756,7 +1756,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.vb" id="Snippet3"::: ]]> @@ -1877,7 +1877,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `RotateColors` from the form's event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ColorMatrix/.ctor/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RotateColors/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ColorMatrix/.ctor/Form1.vb" id="Snippet1"::: ]]> @@ -1957,7 +1957,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.vb" id="Snippet4"::: ]]> @@ -2095,7 +2095,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.vb" id="Snippet5"::: ]]> @@ -2215,7 +2215,7 @@ The following code example demonstrates how to use the method. To run this example, paste the following code into a Windows Form. Handle the form's event and call `ShowOutputChannels`, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet4"::: ]]> @@ -2275,7 +2275,7 @@ The following code example demonstrates how to use the method. To run this example, paste the following code into a Windows Form. Handle the form's event and call `ShowOutputChannels`, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet4"::: ]]> @@ -2502,7 +2502,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.vb" id="Snippet6"::: ]]> @@ -2824,7 +2824,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.vb" id="Snippet7"::: ]]> @@ -2951,7 +2951,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImaging.ImageAttributes/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ImageAttributes/SetBrushRemapTable/form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Drawing.Imaging/ImageCodecInfo.xml b/xml/System.Drawing.Imaging/ImageCodecInfo.xml index ecc8c02c67b..4ea94cb2991 100644 --- a/xml/System.Drawing.Imaging/ImageCodecInfo.xml +++ b/xml/System.Drawing.Imaging/ImageCodecInfo.xml @@ -441,7 +441,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Imaging.ClassicImageCodecExample/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Imaging/ImageCodecInfo/GetImageEncoders/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Imaging.ClassicImageCodecExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Imaging/ImageCodecInfo/GetImageEncoders/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing.Imaging/ImageLockMode.xml b/xml/System.Drawing.Imaging/ImageLockMode.xml index 6f9aa9ff293..c4ea8966507 100644 --- a/xml/System.Drawing.Imaging/ImageLockMode.xml +++ b/xml/System.Drawing.Imaging/ImageLockMode.xml @@ -40,7 +40,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Drawing.Imaging/Metafile.xml b/xml/System.Drawing.Imaging/Metafile.xml index ca2bf720a81..19068155513 100644 --- a/xml/System.Drawing.Imaging/Metafile.xml +++ b/xml/System.Drawing.Imaging/Metafile.xml @@ -80,7 +80,7 @@ The following code example demonstrates how to create a and use the method. :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/EnumerateMetafile/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Graphics.EnumerateMetafile/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/EnumerateMetafile/Form1.vb" id="Snippet1"::: ]]> @@ -169,7 +169,7 @@ The following code example demonstrates how to create and use a . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/EnumerateMetafile/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Graphics.EnumerateMetafile/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/EnumerateMetafile/Form1.vb" id="Snippet1"::: ]]> @@ -2144,7 +2144,7 @@ The following code example demonstrates how to use the method. :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/EnumerateMetafile/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Graphics.EnumerateMetafile/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/EnumerateMetafile/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing.Imaging/PropertyItem.xml b/xml/System.Drawing.Imaging/PropertyItem.xml index 4ff5a447e91..30e844e4589 100644 --- a/xml/System.Drawing.Imaging/PropertyItem.xml +++ b/xml/System.Drawing.Imaging/PropertyItem.xml @@ -58,7 +58,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Drawing.Printing/Margins.xml b/xml/System.Drawing.Printing/Margins.xml index 64914842a28..8b956e4012d 100644 --- a/xml/System.Drawing.Printing/Margins.xml +++ b/xml/System.Drawing.Printing/Margins.xml @@ -75,7 +75,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Margins Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/Margins/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Margins Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/Margins/Overview/source.vb" id="Snippet1"::: ]]> @@ -177,7 +177,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Margins Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/Margins/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Margins Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/Margins/Overview/source.vb" id="Snippet1"::: ]]> @@ -248,7 +248,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Margins.Left Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/Margins/Bottom/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Margins.Left Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/Margins/Bottom/source.vb" id="Snippet1"::: ]]> @@ -432,7 +432,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Margins.Left Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/Margins/Bottom/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Margins.Left Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/Margins/Bottom/source.vb" id="Snippet1"::: ]]> @@ -580,7 +580,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Margins.Left Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/Margins/Bottom/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Margins.Left Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/Margins/Bottom/source.vb" id="Snippet1"::: ]]> @@ -642,7 +642,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Margins.Left Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/Margins/Bottom/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Margins.Left Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/Margins/Bottom/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing.Printing/PageSettings.xml b/xml/System.Drawing.Printing/PageSettings.xml index 4cdcdffc09c..daf8f2805f7 100644 --- a/xml/System.Drawing.Printing/PageSettings.xml +++ b/xml/System.Drawing.Printing/PageSettings.xml @@ -66,7 +66,7 @@ The following example demonstrates handling the event and checking the argument of . To use this code, add a component named `PrintDocument1` to a Windows Form and associate its event with the `printDocument1_PrintPage` method in the example. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MiscBugDriven/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Overview/form1.vb" id="Snippet3"::: ]]> @@ -292,7 +292,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet6"::: ]]> @@ -481,7 +481,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PageSettings Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Landscape/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PageSettings Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Landscape/source.vb" id="Snippet1"::: ]]> @@ -553,7 +553,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PageSettings.Margins Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Margins/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PageSettings.Margins Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Margins/source.vb" id="Snippet1"::: ]]> @@ -615,16 +615,16 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet2"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet3"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet4"::: ]]> @@ -687,16 +687,16 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet2"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet3"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet4"::: ]]> @@ -801,7 +801,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Drawing.Printing/PaperSize.xml b/xml/System.Drawing.Printing/PaperSize.xml index 4176ef7cfcb..af39c572132 100644 --- a/xml/System.Drawing.Printing/PaperSize.xml +++ b/xml/System.Drawing.Printing/PaperSize.xml @@ -61,7 +61,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet1"::: ]]> @@ -171,7 +171,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet1"::: ]]> @@ -319,7 +319,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing.Printing/PaperSource.xml b/xml/System.Drawing.Printing/PaperSource.xml index 2d2d506d997..23d5d071d25 100644 --- a/xml/System.Drawing.Printing/PaperSource.xml +++ b/xml/System.Drawing.Printing/PaperSource.xml @@ -59,7 +59,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet2"::: ]]> @@ -271,7 +271,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing.Printing/PrintDocument.xml b/xml/System.Drawing.Printing/PrintDocument.xml index b40eaafbff9..bbf3d06a093 100644 --- a/xml/System.Drawing.Printing/PrintDocument.xml +++ b/xml/System.Drawing.Printing/PrintDocument.xml @@ -69,7 +69,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrintDocument Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrintDocument/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrintDocument/Overview/source.vb" id="Snippet1"::: ]]> @@ -120,7 +120,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrintDocument Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrintDocument/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrintDocument/Overview/source.vb" id="Snippet1"::: ]]> @@ -238,7 +238,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrintDocument.PrintDocument Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrintDocument/DefaultPageSettings/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrintDocument Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrintDocument/DefaultPageSettings/source.vb" id="Snippet1"::: ]]> @@ -303,7 +303,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet6"::: ]]> @@ -697,7 +697,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrintDocument.PrintPage Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrintDocument/Print/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrintPage Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrintDocument/Print/source.vb" id="Snippet1"::: ]]> @@ -760,7 +760,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrintDocument.PrintController Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrintDocument/PrintController/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrintController Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrintDocument/PrintController/source.vb" id="Snippet1"::: ]]> @@ -833,7 +833,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrintDocument.PrinterSettings Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrintDocument/PrinterSettings/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument.PrinterSettings Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrintDocument/PrinterSettings/source.vb" id="Snippet1"::: ]]> @@ -892,7 +892,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrintDocument Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrintDocument/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintDocument Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrintDocument/Overview/source.vb" id="Snippet1"::: ]]> @@ -953,7 +953,7 @@ If you use the ev :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Drawing.Printing/PrintPageEventArgs.xml b/xml/System.Drawing.Printing/PrintPageEventArgs.xml index a5b8240e945..cc8bc799412 100644 --- a/xml/System.Drawing.Printing/PrintPageEventArgs.xml +++ b/xml/System.Drawing.Printing/PrintPageEventArgs.xml @@ -57,7 +57,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrintPageEventArgs Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrintPageEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintPageEventArgs Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrintPageEventArgs/Overview/source.vb" id="Snippet1"::: ]]> @@ -219,7 +219,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrintPageEventArgs Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrintPageEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintPageEventArgs Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrintPageEventArgs/Overview/source.vb" id="Snippet1"::: ]]> @@ -278,7 +278,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrintPageEventArgs Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrintPageEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintPageEventArgs Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrintPageEventArgs/Overview/source.vb" id="Snippet1"::: For another example that shows how to use , see [How to: Print a Multi-Page Text File in Windows Forms](/dotnet/framework/winforms/advanced/how-to-print-a-multi-page-text-file-in-windows-forms). diff --git a/xml/System.Drawing.Printing/PrinterResolution.xml b/xml/System.Drawing.Printing/PrinterResolution.xml index b46dbc5452c..d41bf80d54a 100644 --- a/xml/System.Drawing.Printing/PrinterResolution.xml +++ b/xml/System.Drawing.Printing/PrinterResolution.xml @@ -57,7 +57,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing.Printing/PrinterSettings+PaperSizeCollection.xml b/xml/System.Drawing.Printing/PrinterSettings+PaperSizeCollection.xml index bdd356033e6..00a812066c6 100644 --- a/xml/System.Drawing.Printing/PrinterSettings+PaperSizeCollection.xml +++ b/xml/System.Drawing.Printing/PrinterSettings+PaperSizeCollection.xml @@ -63,7 +63,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet1"::: ]]> @@ -239,7 +239,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet1"::: ]]> @@ -335,7 +335,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing.Printing/PrinterSettings+PaperSourceCollection.xml b/xml/System.Drawing.Printing/PrinterSettings+PaperSourceCollection.xml index 9742a097414..dd8075d6343 100644 --- a/xml/System.Drawing.Printing/PrinterSettings+PaperSourceCollection.xml +++ b/xml/System.Drawing.Printing/PrinterSettings+PaperSourceCollection.xml @@ -61,7 +61,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet2"::: ]]> @@ -237,7 +237,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet2"::: ]]> @@ -333,7 +333,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing.Printing/PrinterSettings+PrinterResolutionCollection.xml b/xml/System.Drawing.Printing/PrinterSettings+PrinterResolutionCollection.xml index da16348fb10..c39811514db 100644 --- a/xml/System.Drawing.Printing/PrinterSettings+PrinterResolutionCollection.xml +++ b/xml/System.Drawing.Printing/PrinterSettings+PrinterResolutionCollection.xml @@ -63,7 +63,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet3"::: ]]> @@ -238,7 +238,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet3"::: ]]> @@ -334,7 +334,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing.Printing/PrinterSettings.xml b/xml/System.Drawing.Printing/PrinterSettings.xml index 411adafc695..ced3478d0e6 100644 --- a/xml/System.Drawing.Printing/PrinterSettings.xml +++ b/xml/System.Drawing.Printing/PrinterSettings.xml @@ -75,7 +75,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrinterSettings Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrinterSettings/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrinterSettings Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrinterSettings/Overview/source.vb" id="Snippet1"::: ]]> @@ -845,7 +845,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet5"::: ]]> @@ -897,7 +897,7 @@ The following example demonstrates how to use the property. To run this example, paste the following code into a form and call `PopulateInstalledPrintersCombo` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrinterSettings/IsDefaultPrinter/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Printing.PrinterSettingsEx/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrinterSettings/IsDefaultPrinter/Form1.vb" id="Snippet1"::: ]]> @@ -1085,7 +1085,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrinterSettings Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrinterSettings/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrinterSettings Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrinterSettings/Overview/source.vb" id="Snippet1"::: ]]> @@ -1329,7 +1329,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet1"::: ]]> @@ -1387,7 +1387,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet2"::: ]]> @@ -1453,7 +1453,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrinterSettings Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PrinterSettings/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrinterSettings Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PrinterSettings/Overview/source.vb" id="Snippet1"::: ]]> @@ -1511,7 +1511,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet3"::: ]]> @@ -1798,7 +1798,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Drawing.Printing/QueryPageSettingsEventArgs.xml b/xml/System.Drawing.Printing/QueryPageSettingsEventArgs.xml index 453bd941c09..cee9b1c0500 100644 --- a/xml/System.Drawing.Printing/QueryPageSettingsEventArgs.xml +++ b/xml/System.Drawing.Printing/QueryPageSettingsEventArgs.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet6"::: ]]> @@ -156,7 +156,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/CPP/source.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Color/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PaperSource and PaperSize Example with Resolution/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Color/source.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Drawing.Text/InstalledFontCollection.xml b/xml/System.Drawing.Text/InstalledFontCollection.xml index a5c5b5db6f0..72988adf5a0 100644 --- a/xml/System.Drawing.Text/InstalledFontCollection.xml +++ b/xml/System.Drawing.Text/InstalledFontCollection.xml @@ -55,7 +55,7 @@ The following code example is designed for use with Windows Forms, and it requires `e`, which is a parameter of the event handler. :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippetinstalledfonts"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippetinstalledfonts"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippetinstalledfonts"::: ]]> diff --git a/xml/System.Drawing.Text/TextRenderingHint.xml b/xml/System.Drawing.Text/TextRenderingHint.xml index e3b929f1ff7..7fe28ff5a82 100644 --- a/xml/System.Drawing.Text/TextRenderingHint.xml +++ b/xml/System.Drawing.Text/TextRenderingHint.xml @@ -47,7 +47,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Clip/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Clip/form1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Drawing/Bitmap.xml b/xml/System.Drawing/Bitmap.xml index d9e209d53ab..f1d148c244e 100644 --- a/xml/System.Drawing/Bitmap.xml +++ b/xml/System.Drawing/Bitmap.xml @@ -90,7 +90,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet1"::: ]]> @@ -190,7 +190,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet2"::: ]]> @@ -435,7 +435,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet1"::: ]]> @@ -488,7 +488,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BmpCtorAndSave/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form11.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BmpCtorAndSave/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form11.vb" id="Snippet1"::: ]]> @@ -671,7 +671,7 @@ The following code example shows how to use the constructor. This example is designed to be used with Windows Forms and requires a parameter, which is a parameter of the event. :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippetconstructor"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippetconstructor"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippetconstructor"::: ]]> @@ -767,7 +767,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Clone/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb" id="Snippet1"::: ]]> @@ -831,7 +831,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Clone/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb" id="Snippet2"::: ]]> @@ -981,7 +981,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Clone/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb" id="Snippet3"::: ]]> @@ -1094,7 +1094,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Clone/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb" id="Snippet4"::: ]]> @@ -1156,7 +1156,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Clone/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb" id="Snippet5"::: ]]> @@ -1223,7 +1223,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Clone/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb" id="Snippet6"::: ]]> @@ -1275,7 +1275,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Clone/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb" id="Snippet7"::: ]]> @@ -1353,7 +1353,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet5"::: ]]> @@ -1481,7 +1481,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Clone/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb" id="Snippet8"::: ]]> @@ -1542,7 +1542,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Clone/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb" id="Snippet9"::: ]]> @@ -1607,7 +1607,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/CPP/form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Clone/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb" id="Snippet10"::: ]]> @@ -1662,7 +1662,7 @@ The following example code shows how to use the method. :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippetsetresolution"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippetsetresolution"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippetsetresolution"::: ]]> @@ -1716,7 +1716,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Drawing/Brushes.xml b/xml/System.Drawing/Brushes.xml index 8b8ef78dcef..afbbcef08a6 100644 --- a/xml/System.Drawing/Brushes.xml +++ b/xml/System.Drawing/Brushes.xml @@ -58,7 +58,7 @@ The following code example demonstrates the how to use a member of the diff --git a/xml/System.Drawing/BufferedGraphics.xml b/xml/System.Drawing/BufferedGraphics.xml index 05d9145678d..d9acfbad644 100644 --- a/xml/System.Drawing/BufferedGraphics.xml +++ b/xml/System.Drawing/BufferedGraphics.xml @@ -76,7 +76,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BufferedGraphicsExample/CPP/bufferingtest.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/BufferedGraphics/Overview/bufferingtest.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BufferedGraphicsExample/VB/bufferingtest.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/BufferedGraphics/Overview/bufferingtest.vb" id="Snippet1"::: ]]> @@ -312,7 +312,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BufferingExamples/CPP/bufferingexamples.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/BufferedGraphics/Render/bufferingexamples.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BufferingExamples/VB/bufferingexamples.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/BufferedGraphics/Render/bufferingexamples.vb" id="Snippet5"::: ]]> @@ -366,7 +366,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BufferingExamples/CPP/bufferingexamples.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/BufferedGraphics/Render/bufferingexamples.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BufferingExamples/VB/bufferingexamples.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/BufferedGraphics/Render/bufferingexamples.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Drawing/BufferedGraphicsContext.xml b/xml/System.Drawing/BufferedGraphicsContext.xml index d59e0fcbeac..462ffd26e49 100644 --- a/xml/System.Drawing/BufferedGraphicsContext.xml +++ b/xml/System.Drawing/BufferedGraphicsContext.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BufferingExamples/CPP/bufferingexamples.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/BufferedGraphics/Render/bufferingexamples.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BufferingExamples/VB/bufferingexamples.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/BufferedGraphics/Render/bufferingexamples.vb" id="Snippet1"::: ]]> @@ -175,7 +175,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BufferingExamples/CPP/bufferingexamples.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/BufferedGraphics/Render/bufferingexamples.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BufferingExamples/VB/bufferingexamples.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/BufferedGraphics/Render/bufferingexamples.vb" id="Snippet3"::: ]]> @@ -234,7 +234,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BufferingExamples/CPP/bufferingexamples.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/BufferedGraphics/Render/bufferingexamples.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BufferingExamples/VB/bufferingexamples.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/BufferedGraphics/Render/bufferingexamples.vb" id="Snippet4"::: ]]> @@ -414,7 +414,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BufferingExamples/CPP/bufferingexamples.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/BufferedGraphics/Render/bufferingexamples.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BufferingExamples/VB/bufferingexamples.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/BufferedGraphics/Render/bufferingexamples.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing/BufferedGraphicsManager.xml b/xml/System.Drawing/BufferedGraphicsManager.xml index 3982ece4d9f..0fbb4ee43d6 100644 --- a/xml/System.Drawing/BufferedGraphicsManager.xml +++ b/xml/System.Drawing/BufferedGraphicsManager.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BufferingExamples/CPP/bufferingexamples.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/BufferedGraphics/Render/bufferingexamples.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BufferingExamples/VB/bufferingexamples.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/BufferedGraphics/Render/bufferingexamples.vb" id="Snippet1"::: ]]> @@ -120,7 +120,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BufferingExamples/CPP/bufferingexamples.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/BufferedGraphics/Render/bufferingexamples.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BufferingExamples/VB/bufferingexamples.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/BufferedGraphics/Render/bufferingexamples.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing/CharacterRange.xml b/xml/System.Drawing/CharacterRange.xml index 272748d5a0c..b25beefc229 100644 --- a/xml/System.Drawing/CharacterRange.xml +++ b/xml/System.Drawing/CharacterRange.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Overview/form1.vb" id="Snippet1"::: ]]> @@ -102,7 +102,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Overview/form1.vb" id="Snippet1"::: ]]> @@ -212,7 +212,7 @@ The following example demonstrates how to use the method. To run this example, paste it into a Windows Form. Handle the form's event and call the `CharacterRangeEquality2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet2"::: ]]> @@ -405,7 +405,7 @@ The following example demonstrates how to use the operator. To run this example, paste it into a Windows Form. Handle the form's event and call the `CharacterRangeEquality1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet1"::: ]]> @@ -460,7 +460,7 @@ The following example demonstrates how to use the method. To run this example, paste it into a Windows Form. Handle the form's event and call the `CharacterRangeInequality` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing/Color.xml b/xml/System.Drawing/Color.xml index a66c10a2207..5d7b7344eee 100644 --- a/xml/System.Drawing/Color.xml +++ b/xml/System.Drawing/Color.xml @@ -126,7 +126,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet3"::: ]]> @@ -194,7 +194,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet3"::: ]]> @@ -476,7 +476,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet3"::: ]]> @@ -2429,7 +2429,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/FromArgb/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb" id="Snippet1"::: ]]> @@ -2504,7 +2504,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/FromArgb/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb" id="Snippet2"::: ]]> @@ -2584,7 +2584,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/FromArgb/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb" id="Snippet3"::: ]]> @@ -2661,7 +2661,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/FromArgb/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb" id="Snippet4"::: ]]> @@ -2735,7 +2735,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/FromArgb/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb" id="Snippet5"::: ]]> @@ -2800,7 +2800,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet3"::: ]]> @@ -2910,7 +2910,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet3"::: ]]> @@ -3018,7 +3018,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/FromArgb/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb" id="Snippet6"::: ]]> @@ -3127,7 +3127,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/FromArgb/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb" id="Snippet7"::: ]]> @@ -3192,7 +3192,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/FromArgb/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb" id="Snippet8"::: ]]> @@ -5472,7 +5472,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet4"::: ]]> @@ -5753,7 +5753,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Overview/form1.vb" id="Snippet2"::: ]]> @@ -5825,7 +5825,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Overview/form1.vb" id="Snippet3"::: ]]> @@ -6496,7 +6496,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet3"::: ]]> @@ -7420,7 +7420,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/FromArgb/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb" id="Snippet9"::: ]]> @@ -7581,7 +7581,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/CPP/form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/FromArgb/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorExamples/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/FromArgb/form1.vb" id="Snippet10"::: ]]> @@ -7635,7 +7635,7 @@ This example is designed to be used with a Windows Form. Paste the code into the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing/ColorConverter.xml b/xml/System.Drawing/ColorConverter.xml index 125876ac55a..c6b706f09ef 100644 --- a/xml/System.Drawing/ColorConverter.xml +++ b/xml/System.Drawing/ColorConverter.xml @@ -60,7 +60,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Converters/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ColorConverter/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Converters/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ColorConverter/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing/ColorTranslator.xml b/xml/System.Drawing/ColorTranslator.xml index 639ebba9b8d..805dceb08a0 100644 --- a/xml/System.Drawing/ColorTranslator.xml +++ b/xml/System.Drawing/ColorTranslator.xml @@ -117,7 +117,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ColorTranslator/FromHtml/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ColorTranslator/FromHtml/form1.vb" id="Snippet1"::: ]]> @@ -175,7 +175,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ColorTranslator/FromHtml/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ColorTranslator/FromHtml/form1.vb" id="Snippet2"::: ]]> @@ -237,7 +237,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ColorTranslator/FromHtml/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ColorTranslator/FromHtml/form1.vb" id="Snippet3"::: ]]> @@ -298,7 +298,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ColorTranslator/FromHtml/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ColorTranslator/FromHtml/form1.vb" id="Snippet4"::: ]]> @@ -354,7 +354,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ColorTranslator/FromHtml/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ColorTranslator/FromHtml/form1.vb" id="Snippet5"::: ]]> @@ -416,7 +416,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ColorTranslator/FromHtml/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicColorTranslatorExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ColorTranslator/FromHtml/form1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Drawing/ContentAlignment.xml b/xml/System.Drawing/ContentAlignment.xml index cdf7e0d5b79..9a53939e13f 100644 --- a/xml/System.Drawing/ContentAlignment.xml +++ b/xml/System.Drawing/ContentAlignment.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Drawing/Font.xml b/xml/System.Drawing/Font.xml index 25726897c7f..d8b775a2e87 100644 --- a/xml/System.Drawing/Font.xml +++ b/xml/System.Drawing/Font.xml @@ -100,7 +100,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.FontsExample/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.FontsExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Overview/form1.vb" id="Snippet1"::: ]]> @@ -157,7 +157,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Overview/form1.vb" id="Snippet3"::: ]]> @@ -253,7 +253,7 @@ The following code example demonstrates how to use the constructor. This example is designed to be used with a Windows Form and requires a `e`, which is a parameter of the event. :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippetconstructfontwithstring"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippetconstructfontwithstring"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippetconstructfontwithstring"::: ]]> @@ -309,7 +309,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet11"::: ]]> @@ -556,7 +556,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.FontsExample/cpp/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.FontsExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Overview/form1.vb" id="Snippet3"::: ]]> @@ -828,7 +828,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Overview/form1.vb" id="Snippet3"::: ]]> @@ -877,7 +877,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Clone/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Clone/form1.vb" id="Snippet1"::: ]]> @@ -984,7 +984,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Clone/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Clone/form1.vb" id="Snippet2"::: ]]> @@ -1170,7 +1170,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Clone/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Clone/form1.vb" id="Snippet3"::: ]]> @@ -1538,7 +1538,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Clone/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Clone/form1.vb" id="Snippet4"::: ]]> @@ -1663,7 +1663,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Clone/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Clone/form1.vb" id="Snippet5"::: ]]> @@ -1932,7 +1932,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.FontsExample/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.FontsExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2038,7 +2038,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.FontsExample/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.FontsExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2089,7 +2089,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.FontsExample/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.FontsExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2185,7 +2185,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet11"::: ]]> @@ -2328,7 +2328,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Clone/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Clone/form1.vb" id="Snippet6"::: ]]> @@ -2555,7 +2555,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Clone/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontsExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Clone/form1.vb" id="Snippet7"::: ]]> @@ -2651,7 +2651,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.FontsExample/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Font/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.FontsExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Font/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing/FontConverter.xml b/xml/System.Drawing/FontConverter.xml index b116c751a8a..807ae3aec80 100644 --- a/xml/System.Drawing/FontConverter.xml +++ b/xml/System.Drawing/FontConverter.xml @@ -60,7 +60,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Converters/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ColorConverter/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Converters/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ColorConverter/Overview/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing/FontFamily.xml b/xml/System.Drawing/FontFamily.xml index a785ea81288..795dc02eede 100644 --- a/xml/System.Drawing/FontFamily.xml +++ b/xml/System.Drawing/FontFamily.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet1"::: ]]> @@ -317,7 +317,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/FontFamily/Equals/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/FontFamily/Equals/form1.vb" id="Snippet1"::: ]]> @@ -362,7 +362,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet1"::: ]]> @@ -553,7 +553,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/FontFamily/Equals/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/FontFamily/Equals/form1.vb" id="Snippet2"::: ]]> @@ -609,7 +609,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/FontFamily/Equals/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/FontFamily/Equals/form1.vb" id="Snippet3"::: ]]> @@ -670,7 +670,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/FontFamily/Equals/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/FontFamily/Equals/form1.vb" id="Snippet4"::: ]]> @@ -773,7 +773,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/FontFamily/Equals/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/FontFamily/Equals/form1.vb" id="Snippet6"::: ]]> @@ -828,7 +828,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/FontFamily/Equals/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/FontFamily/Equals/form1.vb" id="Snippet7"::: ]]> @@ -889,7 +889,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/FontFamily/Equals/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/FontFamily/Equals/form1.vb" id="Snippet8"::: ]]> @@ -945,7 +945,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/FontFamily/Equals/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/FontFamily/Equals/form1.vb" id="Snippet9"::: ]]> @@ -990,7 +990,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet1"::: ]]> @@ -1036,7 +1036,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/CPP/form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/FontFamily/Equals/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicFontFamilyExamples/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/FontFamily/Equals/form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Drawing/FontStyle.xml b/xml/System.Drawing/FontStyle.xml index fdeb3e0e14a..84378477d9f 100644 --- a/xml/System.Drawing/FontStyle.xml +++ b/xml/System.Drawing/FontStyle.xml @@ -50,7 +50,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet11"::: ]]> diff --git a/xml/System.Drawing/Graphics.xml b/xml/System.Drawing/Graphics.xml index 78a780e74e2..521e43927ce 100644 --- a/xml/System.Drawing/Graphics.xml +++ b/xml/System.Drawing/Graphics.xml @@ -83,7 +83,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet40"::: ]]> @@ -163,7 +163,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet1"::: ]]> @@ -245,7 +245,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet2"::: ]]> @@ -329,7 +329,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet3"::: ]]> @@ -413,7 +413,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet4"::: ]]> @@ -468,7 +468,7 @@ The following code example is designed for use with Windows Forms, and it requir :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet5"::: ]]> @@ -524,7 +524,7 @@ The following code example is designed for use with Windows Forms, and it requir :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Clip/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Clip/form1.vb" id="Snippet4"::: ]]> @@ -716,7 +716,7 @@ The following code example is designed for use with Windows Forms, and it requir The following example demonstrates how to use the method. To run this example, paste it into a Windows Form. Handle the form's event and call the `CopyPixels1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet4"::: ]]> @@ -776,7 +776,7 @@ The following code example is designed for use with Windows Forms, and it requir The following example demonstrates how to use the method. To run this example, paste it into a Windows Form. Handle the form's event and call the `CopyPixels2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet5"::: ]]> @@ -846,7 +846,7 @@ The following code example is designed for use with Windows Forms, and it requir The following code example demonstrates how to use the for printing a copy of the current form. :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/CopyFromScreen/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Graphics.CopyFromScreen/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/CopyFromScreen/Form1.vb" id="Snippet1"::: ]]> @@ -910,7 +910,7 @@ The following code example is designed for use with Windows Forms, and it requir The following example demonstrates how to use the method. To run this example, paste it into a Windows Form. Handle the form's event and call the `CopyPixels4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet7"::: ]]> @@ -978,7 +978,7 @@ The following code example is designed for use with Windows Forms, and it requir :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet6"::: ]]> @@ -1030,7 +1030,7 @@ The following code example is designed for use with Windows Forms, and it requir :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet4"::: ]]> @@ -1083,7 +1083,7 @@ The following code example is designed for use with Windows Forms, and it requir :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet4"::: ]]> @@ -1164,7 +1164,7 @@ The following code example is designed for use with Windows Forms, and it requir :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet7"::: ]]> @@ -1237,7 +1237,7 @@ The following code example is designed for use with Windows Forms, and it requir :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet8"::: ]]> @@ -1315,7 +1315,7 @@ The following code example is designed for use with Windows Forms, and it requir :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet9"::: ]]> @@ -1393,7 +1393,7 @@ The following code example is designed for use with Windows Forms, and it requir :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet10"::: ]]> @@ -1475,7 +1475,7 @@ The Bézier curve is drawn from the first point to the fourth point. The second :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet11"::: ]]> @@ -1548,7 +1548,7 @@ The Bézier spline is drawn from the first point to the fourth point. The second :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet12"::: ]]> @@ -1625,7 +1625,7 @@ The Bézier spline is drawn from the first point to the fourth point. The second :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet13"::: ]]> @@ -1707,7 +1707,7 @@ The number of points in the array should be a multiple of 3 plus 1 because the f :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet14"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet14"::: ]]> @@ -1784,7 +1784,7 @@ The number of points in the array should be a multiple of 3 plus 1 because the f :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet15"::: ]]> @@ -2021,7 +2021,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet16"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet16"::: ]]> @@ -2108,7 +2108,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet18"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet18"::: ]]> @@ -2289,7 +2289,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet17"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet17"::: ]]> @@ -2372,7 +2372,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet19"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet19"::: ]]> @@ -2551,7 +2551,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet20"::: ]]> @@ -2638,7 +2638,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet23"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet23"::: ]]> @@ -2817,7 +2817,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet22"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet22"::: ]]> @@ -2898,7 +2898,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet26"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet26"::: ]]> @@ -3071,7 +3071,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet24"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet24"::: ]]> @@ -3204,7 +3204,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet21"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet21"::: ]]> @@ -3294,7 +3294,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet25"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet25"::: ]]> @@ -3461,7 +3461,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet27"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet27"::: ]]> @@ -3526,7 +3526,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet28"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet28"::: ]]> @@ -3596,7 +3596,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet29"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet29"::: ]]> @@ -3666,7 +3666,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet30"::: ]]> @@ -3737,7 +3737,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet31"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet31"::: ]]> @@ -3800,7 +3800,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet32"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet32"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet32"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet32"::: ]]> @@ -3862,7 +3862,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet33"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet33"::: ]]> @@ -3969,7 +3969,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet34"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet34"::: ]]> @@ -4038,7 +4038,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet35"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet35"::: ]]> @@ -4106,7 +4106,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet40"::: ]]> @@ -4175,7 +4175,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet41"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet41"::: ]]> @@ -4243,7 +4243,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet46"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet46"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet46"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet46"::: ]]> @@ -4311,7 +4311,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet56"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet56"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet56"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet56"::: ]]> @@ -4380,7 +4380,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet58"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet58"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet58"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet58"::: ]]> @@ -4449,7 +4449,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet61"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet61"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet61"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet61"::: ]]> @@ -4533,7 +4533,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet36"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet36"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet36"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet36"::: ]]> @@ -4611,7 +4611,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet42"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet42"::: ]]> @@ -4688,7 +4688,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet47"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet47"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet47"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet47"::: ]]> @@ -4765,7 +4765,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet57"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet57"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet57"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet57"::: ]]> @@ -4866,7 +4866,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet37"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet37"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet37"::: ]]> @@ -4967,7 +4967,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet43"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet43"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet43"::: ]]> @@ -5047,7 +5047,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet59"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet59"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet59"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet59"::: ]]> @@ -5120,7 +5120,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet60"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet60"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet60"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet60"::: ]]> @@ -5200,7 +5200,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet62"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet62"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet62"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet62"::: ]]> @@ -5273,7 +5273,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet63"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet63"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet63"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet63"::: ]]> @@ -5442,7 +5442,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet38"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet38"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet38"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet38"::: ]]> @@ -5559,7 +5559,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet44"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet44"::: ]]> @@ -5672,7 +5672,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet39"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet39"::: ]]> @@ -5783,7 +5783,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet45"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet45"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet45"::: ]]> @@ -5871,7 +5871,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet48"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet48"::: ]]> @@ -5959,7 +5959,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet52"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet52"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet52"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet52"::: ]]> @@ -6064,7 +6064,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet49"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet49"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet49"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet49"::: ]]> @@ -6169,7 +6169,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet53"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet53"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet53"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet53"::: ]]> @@ -6277,7 +6277,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet50"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet50"::: ]]> @@ -6385,7 +6385,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet54"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet54"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet54"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet54"::: ]]> @@ -6495,7 +6495,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet51"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet51"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet51"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet51"::: ]]> @@ -6605,7 +6605,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet55"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet55"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet55"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet55"::: ]]> @@ -6682,7 +6682,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet64"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet64"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet64"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet64"::: ]]> @@ -6808,7 +6808,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet65"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet65"::: ]]> @@ -6921,7 +6921,7 @@ The object has a transform applied othe The following example demonstrates how to use the method. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawImageUnscaled` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet8"::: ]]> @@ -6993,7 +6993,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet66"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet66"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet66"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet66"::: ]]> @@ -7062,7 +7062,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet67"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet67"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet67"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet67"::: ]]> @@ -7133,7 +7133,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet68"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet68"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet68"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet68"::: ]]> @@ -7204,7 +7204,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet69"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet69"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet69"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet69"::: ]]> @@ -7288,7 +7288,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet70"::: ]]> @@ -7366,7 +7366,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet71"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet71"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet71"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet71"::: ]]> @@ -7534,7 +7534,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet72"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet72"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet72"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet72"::: ]]> @@ -7620,7 +7620,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet73"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet73"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet73"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet73"::: ]]> @@ -7693,7 +7693,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet74"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet74"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet74"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet74"::: ]]> @@ -7771,7 +7771,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet75"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet75"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet75"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet75"::: ]]> @@ -7849,7 +7849,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet76"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet76"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet76"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet76"::: ]]> @@ -7932,7 +7932,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet78"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet78"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet78"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet78"::: ]]> @@ -8006,7 +8006,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet77"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet77"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet77"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet77"::: ]]> @@ -8181,7 +8181,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet79"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet79"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet79"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet79"::: ]]> @@ -8283,7 +8283,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet80"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet80"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet80"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet80"::: ]]> @@ -8352,7 +8352,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet81"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet81"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet81"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet81"::: ]]> @@ -8430,7 +8430,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet82"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet82"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet82"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet82"::: ]]> @@ -8505,7 +8505,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet83"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet83"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet83"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet83"::: ]]> @@ -8851,7 +8851,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet84"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet84"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet84"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet84"::: ]]> @@ -8947,7 +8947,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet86"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet86"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet86"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet86"::: ]]> @@ -9191,7 +9191,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet85"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet85"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet85"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet85"::: ]]> @@ -9293,7 +9293,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet87"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet87"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet87"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet87"::: ]]> @@ -9377,7 +9377,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet88"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet88"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet88"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet88"::: ]]> @@ -9527,7 +9527,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet89"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet89"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet89"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet89"::: ]]> @@ -9609,7 +9609,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet90"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet90"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet90"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet90"::: ]]> @@ -9679,7 +9679,7 @@ The object has a transform applied othe The following code example creates a form that has a as one of its private members. The method calls , which calls the form's `MetafileCallback` method for each record in the metafile. The `MetafileCallback` method calls the method. Notice that the `MetafileCallback` method receives the record data as an , but the method expects the record data to be a byte array. The call to copies the record data to a byte array so that it can be passed to . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/EnumerateMetafile/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Graphics.EnumerateMetafile/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/EnumerateMetafile/Form1.vb" id="Snippet1"::: ]]> @@ -12206,7 +12206,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet92"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet92"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet92"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet92"::: ]]> @@ -12268,7 +12268,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet91"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet91"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet91"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet91"::: ]]> @@ -12355,7 +12355,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet93"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet93"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet93"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet93"::: ]]> @@ -12440,7 +12440,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet96"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet96"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet96"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet96"::: ]]> @@ -12623,7 +12623,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet94"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet94"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet94"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet94"::: ]]> @@ -12708,7 +12708,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet97"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet97"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet97"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet97"::: ]]> @@ -12869,7 +12869,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet95"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet95"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet95"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet95"::: ]]> @@ -12949,7 +12949,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet98"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet98"::: ]]> @@ -13111,7 +13111,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet99"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet99"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet99"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet99"::: ]]> @@ -13176,7 +13176,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet100"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet100"::: ]]> @@ -13246,7 +13246,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet101"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet101"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet101"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet101"::: ]]> @@ -13316,7 +13316,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet102"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet102"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet102"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet102"::: ]]> @@ -13383,7 +13383,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet103"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet103"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet103"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet103"::: ]]> @@ -13469,7 +13469,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet104"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet104"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet104"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet104"::: ]]> @@ -13583,7 +13583,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet105"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet105"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet105"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet105"::: ]]> @@ -13661,7 +13661,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet106"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet106"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet106"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet106"::: ]]> @@ -13740,7 +13740,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet107"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet107"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet107"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet107"::: ]]> @@ -13825,7 +13825,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet109"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet109"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet109"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet109"::: ]]> @@ -13996,7 +13996,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet108"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet108"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet108"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet108"::: ]]> @@ -14068,7 +14068,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/CPP/form1.cpp" id="Snippet110"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/DrawImage/form1.cs" id="Snippet110"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples2/VB/form1.vb" id="Snippet110"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/DrawImage/form1.vb" id="Snippet110"::: ]]> @@ -14227,7 +14227,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet111"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet111"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet111"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet111"::: ]]> @@ -14292,7 +14292,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet112"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet112"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet112"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet112"::: ]]> @@ -14362,7 +14362,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet113"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet113"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet113"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet113"::: ]]> @@ -14432,7 +14432,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet114"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet114"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet114"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet114"::: ]]> @@ -14510,7 +14510,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet115"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet115"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet115"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet115"::: ]]> @@ -14584,7 +14584,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet116"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet116"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet116"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet116"::: ]]> @@ -14755,7 +14755,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet117"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet117"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet117"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet117"::: ]]> @@ -15041,7 +15041,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet118"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet118"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet118"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet118"::: ]]> @@ -15219,7 +15219,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet119"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet119"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet119"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet119"::: ]]> @@ -15355,7 +15355,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet120"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet120"::: ]]> @@ -15570,7 +15570,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet121"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet121"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet121"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet121"::: ]]> @@ -15649,7 +15649,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet122"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet122"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet122"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet122"::: ]]> @@ -15711,7 +15711,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet123"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet123"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet123"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet123"::: ]]> @@ -15827,7 +15827,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet124"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet124"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet124"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet124"::: ]]> @@ -15893,7 +15893,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet125"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet125"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet125"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet125"::: ]]> @@ -15963,7 +15963,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet126"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet126"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet126"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet126"::: ]]> @@ -16066,7 +16066,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet127"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet127"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet127"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet127"::: ]]> @@ -16125,7 +16125,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet128"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet128"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet128"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet128"::: ]]> @@ -16184,7 +16184,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet129"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet129"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet129"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet129"::: ]]> @@ -16243,7 +16243,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet130"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet130"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet130"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet130"::: ]]> @@ -16303,7 +16303,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet131"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet131"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet131"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet131"::: ]]> @@ -16363,7 +16363,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet133"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet133"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet133"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet133"::: ]]> @@ -16427,7 +16427,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet132"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet132"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet132"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet132"::: ]]> @@ -16491,7 +16491,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet134"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet134"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet134"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet134"::: ]]> @@ -16678,7 +16678,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet135"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet135"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet135"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet135"::: ]]> @@ -16806,7 +16806,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet136"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet136"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet136"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet136"::: ]]> @@ -16981,7 +16981,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet138"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet138"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet138"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet138"::: ]]> @@ -17066,7 +17066,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet141"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet141"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet141"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet141"::: ]]> @@ -17312,7 +17312,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet137"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet137"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet137"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet137"::: ]]> @@ -17403,7 +17403,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet139"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet139"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet139"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet139"::: ]]> @@ -17495,7 +17495,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet142"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet142"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet142"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet142"::: ]]> @@ -17649,7 +17649,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet140"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet140"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet140"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet140"::: ]]> @@ -17786,7 +17786,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet143"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet143"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet143"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet143"::: ]]> @@ -17852,7 +17852,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet144"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet144"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet144"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet144"::: ]]> @@ -17900,7 +17900,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Clip/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Clip/form1.vb" id="Snippet2"::: ]]> @@ -17953,7 +17953,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Clip/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Clip/form1.vb" id="Snippet3"::: ]]> @@ -18123,7 +18123,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet145"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet145"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet145"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet145"::: ]]> @@ -18266,7 +18266,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet146"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet146"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet146"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet146"::: ]]> @@ -18326,7 +18326,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet147"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet147"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet147"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet147"::: ]]> @@ -18396,7 +18396,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet148"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet148"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet148"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet148"::: ]]> @@ -18470,7 +18470,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet149"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet149"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet149"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet149"::: ]]> @@ -18531,7 +18531,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet150"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet150"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet150"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet150"::: ]]> @@ -18598,7 +18598,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet151"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet151"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet151"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet151"::: ]]> @@ -18676,7 +18676,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet152"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet152"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet152"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet152"::: ]]> @@ -18741,7 +18741,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet153"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet153"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet153"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet153"::: ]]> @@ -18818,7 +18818,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet154"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet154"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet154"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet154"::: ]]> @@ -18883,7 +18883,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet156"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet156"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet156"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet156"::: ]]> @@ -18946,7 +18946,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet158"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet158"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet158"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet158"::: ]]> @@ -19009,7 +19009,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet160"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet160"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet160"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet160"::: ]]> @@ -19073,7 +19073,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet155"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet155"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet155"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet155"::: ]]> @@ -19134,7 +19134,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet157"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet157"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet157"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet157"::: ]]> @@ -19193,7 +19193,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet159"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet159"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet159"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet159"::: ]]> @@ -19252,7 +19252,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet161"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet161"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet161"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet161"::: ]]> @@ -19311,7 +19311,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/CPP/form1.cpp" id="Snippet162"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/FillRectangle/form1.cs" id="Snippet162"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples3/VB/form1.vb" id="Snippet162"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/FillRectangle/form1.vb" id="Snippet162"::: ]]> @@ -19365,7 +19365,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet3"::: ]]> @@ -19417,7 +19417,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Clip/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Clip/form1.vb" id="Snippet5"::: ]]> @@ -19472,7 +19472,7 @@ The object has a transform applied othe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Clip/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Clip/form1.vb" id="Snippet5"::: ]]> @@ -19635,7 +19635,7 @@ This is a more performant alternative to @@ -19708,7 +19708,7 @@ This is a more performant alternative to @@ -19865,7 +19865,7 @@ This is a more performant alternative to @@ -19925,7 +19925,7 @@ This is a more performant alternative to @@ -20001,7 +20001,7 @@ This is a more performant alternative to diff --git a/xml/System.Drawing/GraphicsUnit.xml b/xml/System.Drawing/GraphicsUnit.xml index cde47953702..e039f6cbfdd 100644 --- a/xml/System.Drawing/GraphicsUnit.xml +++ b/xml/System.Drawing/GraphicsUnit.xml @@ -48,7 +48,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing/Icon.xml b/xml/System.Drawing/Icon.xml index dcb1c7ef53b..30960f943aa 100644 --- a/xml/System.Drawing/Icon.xml +++ b/xml/System.Drawing/Icon.xml @@ -108,7 +108,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet9"::: ]]> @@ -407,7 +407,7 @@ The following code example demonstrates how to use the constructor. To run this example, paste the code into a Windows Form and handle the form's event. Call the `ConstructAnIconFromAType` method from the event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet3"::: ]]> @@ -462,7 +462,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet9"::: ]]> @@ -698,7 +698,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `ExtractAssociatedIconEx` from the form's constructor or event handler. :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet2"::: ]]> @@ -893,7 +893,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Clone/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicBitmapExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Clone/form1.vb" id="Snippet6"::: ]]> @@ -946,7 +946,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet1"::: ]]> @@ -1157,7 +1157,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Drawing/Image.xml b/xml/System.Drawing/Image.xml index c1e924c7dbb..f1da3fcec65 100644 --- a/xml/System.Drawing/Image.xml +++ b/xml/System.Drawing/Image.xml @@ -111,7 +111,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/CPP/form1.cpp" id="Snippet55"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Overview/form1.cs" id="Snippet55"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicGraphicsExamples/VB/form1.vb" id="Snippet55"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Overview/form1.vb" id="Snippet55"::: ]]> @@ -503,7 +503,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet7"::: ]]> @@ -589,7 +589,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet2"::: ]]> @@ -944,7 +944,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet1"::: ]]> @@ -1127,7 +1127,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet7"::: ]]> @@ -1199,7 +1199,7 @@ The following code example creates and displays a thumbnail image. This delegate is never called. :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippetgetthumbnail"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippetgetthumbnail"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippetgetthumbnail"::: ]]> @@ -1264,7 +1264,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1577,7 +1577,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1683,7 +1683,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet6"::: ]]> @@ -1824,7 +1824,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet3"::: ]]> @@ -1888,7 +1888,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet5"::: ]]> @@ -1996,7 +1996,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BmpCtorAndSave/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form11.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BmpCtorAndSave/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form11.vb" id="Snippet1"::: ]]> @@ -2129,7 +2129,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImagingEndcoder3/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Image/Save/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImagingEndcoder3/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Image/Save/form1.vb" id="Snippet3"::: ]]> @@ -2337,7 +2337,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet7"::: ]]> @@ -2590,7 +2590,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing/ImageAnimator.xml b/xml/System.Drawing/ImageAnimator.xml index 17cb5241722..10d37e112c5 100644 --- a/xml/System.Drawing/ImageAnimator.xml +++ b/xml/System.Drawing/ImageAnimator.xml @@ -90,7 +90,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicImageAnimator/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ImageAnimator/Animate/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicImageAnimator/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ImageAnimator/Animate/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing/KnownColor.xml b/xml/System.Drawing/KnownColor.xml index 9f2998b7568..98def827575 100644 --- a/xml/System.Drawing/KnownColor.xml +++ b/xml/System.Drawing/KnownColor.xml @@ -56,7 +56,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Drawing/Pen.xml b/xml/System.Drawing/Pen.xml index 3c87db44a71..3f8b93cdaa7 100644 --- a/xml/System.Drawing/Pen.xml +++ b/xml/System.Drawing/Pen.xml @@ -61,7 +61,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet1"::: ]]> @@ -130,7 +130,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet1"::: ]]> @@ -237,7 +237,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet3"::: ]]> @@ -293,7 +293,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet3"::: ]]> @@ -435,7 +435,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Pen/Clone/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Pen/Clone/form1.vb" id="Snippet1"::: ]]> @@ -638,7 +638,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet3"::: ]]> @@ -731,7 +731,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet3"::: ]]> @@ -834,7 +834,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet1"::: ]]> @@ -881,7 +881,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet2"::: ]]> @@ -971,7 +971,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet1"::: ]]> @@ -1092,7 +1092,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Pen/Clone/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Pen/Clone/form1.vb" id="Snippet2"::: ]]> @@ -1155,7 +1155,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Pen/Clone/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Pen/Clone/form1.vb" id="Snippet3"::: ]]> @@ -1251,7 +1251,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Pen/Clone/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Pen/Clone/form1.vb" id="Snippet4"::: ]]> @@ -1329,7 +1329,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Pen/Clone/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Pen/Clone/form1.vb" id="Snippet5"::: ]]> @@ -1394,7 +1394,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Pen/Clone/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Pen/Clone/form1.vb" id="Snippet6"::: ]]> @@ -1467,7 +1467,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Pen/Clone/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Pen/Clone/form1.vb" id="Snippet7"::: ]]> @@ -1527,7 +1527,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Pen/Clone/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Pen/Clone/form1.vb" id="Snippet8"::: ]]> @@ -1579,7 +1579,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Pen/Clone/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicPenExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Pen/Clone/form1.vb" id="Snippet9"::: ]]> @@ -1626,7 +1626,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet2"::: ]]> @@ -1817,7 +1817,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing/Pens.xml b/xml/System.Drawing/Pens.xml index 231f9392813..2e2abb398d2 100644 --- a/xml/System.Drawing/Pens.xml +++ b/xml/System.Drawing/Pens.xml @@ -58,7 +58,7 @@ The following method demonstrates how to use the clas :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PensExample/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/SmoothingMode/form1.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PensExample/VB/form1.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/SmoothingMode/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Drawing/Point.xml b/xml/System.Drawing/Point.xml index 1d31ebbb233..5df0294669c 100644 --- a/xml/System.Drawing/Point.xml +++ b/xml/System.Drawing/Point.xml @@ -93,7 +93,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet1"::: ]]> @@ -158,7 +158,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet3"::: ]]> @@ -218,7 +218,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet7"::: ]]> @@ -281,7 +281,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet3"::: ]]> @@ -345,7 +345,7 @@ The following example shows how to use the method. To run this example, paste it into a Windows Form. Handle the form's event and call the `AddPoint` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet9"::: ]]> @@ -735,7 +735,7 @@ The following example shows how to use the method. To run this example, paste it into a Windows Form. Handle the form's event and call the `OffsetPoint` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet10"::: ]]> @@ -859,7 +859,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet1"::: ]]> @@ -921,7 +921,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet3"::: ]]> @@ -982,7 +982,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1043,7 +1043,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet3"::: ]]> @@ -1167,7 +1167,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Converters/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ColorConverter/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Converters/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ColorConverter/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1441,7 +1441,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet3"::: ]]> @@ -1510,7 +1510,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing/PointConverter.xml b/xml/System.Drawing/PointConverter.xml index 14af5e80ce3..8b8fd330be9 100644 --- a/xml/System.Drawing/PointConverter.xml +++ b/xml/System.Drawing/PointConverter.xml @@ -60,7 +60,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Converters/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ColorConverter/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Converters/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ColorConverter/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing/PointF.xml b/xml/System.Drawing/PointF.xml index 17b19d2090c..e45203be1c7 100644 --- a/xml/System.Drawing/PointF.xml +++ b/xml/System.Drawing/PointF.xml @@ -288,7 +288,7 @@ The following code example demonstrates how to use the method. To run this example, paste the following code into a Windows Form. Handle the form's event and call `AddExample`, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet6"::: ]]> @@ -630,7 +630,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet3"::: ]]> @@ -700,7 +700,7 @@ The following code example demonstrates how to use the operator. To run this example, paste the following code into a Windows Form. Handle the form's event and call `opAdditionExample`, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet5"::: ]]> @@ -761,7 +761,7 @@ The following code example demonstrates how to use the operator. To run this example, paste the following code into a Windows Form. Handle the form's event and call `opAdditionExample`, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet5"::: ]]> @@ -892,7 +892,7 @@ The following code example demonstrates how to use the operator. To run this example, paste the following code into a Windows Form. Handle the form's event and call `AddExample`, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet6"::: ]]> @@ -1028,7 +1028,7 @@ The following code example demonstrates how to use the operator. To run this example, paste the following code into a Windows Form. Handle the form's event and call `opSubtractionExample`, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet8"::: ]]> @@ -1159,7 +1159,7 @@ The following code example demonstrates how to use the operator. To run this example, paste the following code into a Windows Form. Handle the form's event and call `SubtractExample`, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/SetResolution/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/SetResolution/Form1.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Drawing/Rectangle.xml b/xml/System.Drawing/Rectangle.xml index 70d77c0f973..ee5882e0839 100644 --- a/xml/System.Drawing/Rectangle.xml +++ b/xml/System.Drawing/Rectangle.xml @@ -104,7 +104,7 @@ The example is designed for use with Windows Forms, and it requires `e`, which is a parameter of the event handler. :::code language="csharp" source="~/snippets/csharp/System.Drawing/Rectangle/Overview/Class1.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.UsingAPen/VB/Class1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Rectangle/Overview/Class1.vb" id="Snippet21"::: ]]> @@ -227,7 +227,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet2"::: ]]> @@ -483,7 +483,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet3"::: ]]> @@ -786,7 +786,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet7"::: ]]> @@ -976,7 +976,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRectangleExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Rectangle/Inflate/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRectangleExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Rectangle/Inflate/form1.vb" id="Snippet2"::: ]]> @@ -1049,7 +1049,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRectangleExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Rectangle/Inflate/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRectangleExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Rectangle/Inflate/form1.vb" id="Snippet3"::: ]]> @@ -1117,7 +1117,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRectangleExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Rectangle/Inflate/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRectangleExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Rectangle/Inflate/form1.vb" id="Snippet1"::: ]]> @@ -1185,7 +1185,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet2"::: ]]> @@ -1246,7 +1246,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1312,7 +1312,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet2"::: ]]> @@ -1377,7 +1377,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet2"::: ]]> @@ -1570,7 +1570,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet3"::: ]]> @@ -1855,7 +1855,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet5"::: ]]> @@ -2086,7 +2086,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet5"::: ]]> @@ -2152,7 +2152,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Drawing/RectangleF.xml b/xml/System.Drawing/RectangleF.xml index 1f34668790b..32c08e691ac 100644 --- a/xml/System.Drawing/RectangleF.xml +++ b/xml/System.Drawing/RectangleF.xml @@ -168,7 +168,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet6"::: ]]> @@ -235,7 +235,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet5"::: ]]> @@ -894,7 +894,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRectangleFExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/RectangleF/Inflate/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRectangleFExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/RectangleF/Inflate/form1.vb" id="Snippet1"::: ]]> @@ -1130,7 +1130,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRectangleFExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/RectangleF/Inflate/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRectangleFExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/RectangleF/Inflate/form1.vb" id="Snippet2"::: ]]> @@ -1525,7 +1525,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Brushes/Overview/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.RectanglesAndPoints/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Brushes/Overview/form1.vb" id="Snippet6"::: ]]> @@ -2034,7 +2034,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRectangleFExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/RectangleF/Inflate/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRectangleFExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/RectangleF/Inflate/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing/Region.xml b/xml/System.Drawing/Region.xml index c813286787c..0c6b5d81744 100644 --- a/xml/System.Drawing/Region.xml +++ b/xml/System.Drawing/Region.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet13"::: ]]> @@ -249,7 +249,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet7"::: ]]> @@ -396,7 +396,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet1"::: ]]> @@ -502,7 +502,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet2"::: ]]> @@ -562,7 +562,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet3"::: ]]> @@ -624,7 +624,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Clip/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Clip/form1.vb" id="Snippet1"::: ]]> @@ -733,7 +733,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Graphics/Clip/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.GraphicsProperties/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Graphics/Clip/form1.vb" id="Snippet1"::: ]]> @@ -839,7 +839,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet4"::: ]]> @@ -1028,7 +1028,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet5"::: ]]> @@ -1129,7 +1129,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet13"::: ]]> @@ -1326,7 +1326,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet7"::: ]]> @@ -1698,7 +1698,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet8"::: ]]> @@ -2343,7 +2343,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet7"::: ]]> @@ -2388,7 +2388,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet8"::: ]]> @@ -2486,7 +2486,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet9"::: ]]> @@ -2557,7 +2557,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet10"::: ]]> @@ -2762,7 +2762,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet11"::: ]]> @@ -2967,7 +2967,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/CPP/form1.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Region/Complement/form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicRegionExamples/VB/form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Region/Complement/form1.vb" id="Snippet12"::: ]]> diff --git a/xml/System.Drawing/RotateFlipType.xml b/xml/System.Drawing/RotateFlipType.xml index 56494ddd5fb..b3e7e2e76ba 100644 --- a/xml/System.Drawing/RotateFlipType.xml +++ b/xml/System.Drawing/RotateFlipType.xml @@ -47,7 +47,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing/Size.xml b/xml/System.Drawing/Size.xml index 1f35a234897..48b789c4fd5 100644 --- a/xml/System.Drawing/Size.xml +++ b/xml/System.Drawing/Size.xml @@ -200,7 +200,7 @@ The structure is used to specify a height and width t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet7"::: ]]> @@ -259,7 +259,7 @@ The structure is used to specify a height and width t The following code example demonstrates how to use the method. To run this example, paste it into a Windows Form. Handle the form's event and call the `AddSizes` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet11"::: ]]> @@ -714,7 +714,7 @@ The structure is used to specify a height and width t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet4"::: ]]> @@ -860,7 +860,7 @@ The structure is used to specify a height and width t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet1"::: ]]> @@ -969,7 +969,7 @@ The structure is used to specify a height and width t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet3"::: ]]> @@ -1257,7 +1257,7 @@ The structure is used to specify a height and width t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet2"::: ]]> @@ -1316,7 +1316,7 @@ The structure is used to specify a height and width t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet5"::: ]]> @@ -1375,7 +1375,7 @@ The structure is used to specify a height and width t The following code example demonstrates how to use the method. To run this example, paste it into a Windows Form. Handle the form's event and call the `SubtractSizes` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet12"::: ]]> @@ -1487,7 +1487,7 @@ The structure is used to specify a height and width t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Drawing/SizeF.xml b/xml/System.Drawing/SizeF.xml index 0ea532adfb5..28308bd6729 100644 --- a/xml/System.Drawing/SizeF.xml +++ b/xml/System.Drawing/SizeF.xml @@ -99,7 +99,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet3"::: ]]> @@ -299,7 +299,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet3"::: ]]> @@ -757,7 +757,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Drawing/SolidBrush.xml b/xml/System.Drawing/SolidBrush.xml index c6798ad575c..26744943770 100644 --- a/xml/System.Drawing/SolidBrush.xml +++ b/xml/System.Drawing/SolidBrush.xml @@ -49,7 +49,7 @@ The following code example adds a shadow to a @@ -97,7 +97,7 @@ The following code example adds a shadow to a diff --git a/xml/System.Drawing/StringAlignment.xml b/xml/System.Drawing/StringAlignment.xml index 23585735074..79174d55897 100644 --- a/xml/System.Drawing/StringAlignment.xml +++ b/xml/System.Drawing/StringAlignment.xml @@ -45,7 +45,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing/StringFormat.xml b/xml/System.Drawing/StringFormat.xml index 0694bdb3e8c..297496f2272 100644 --- a/xml/System.Drawing/StringFormat.xml +++ b/xml/System.Drawing/StringFormat.xml @@ -171,7 +171,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet1"::: ]]> @@ -240,7 +240,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet1"::: ]]> @@ -326,7 +326,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet1"::: ]]> @@ -703,7 +703,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/StringFormat/GetTabStops/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/StringFormat/GetTabStops/form1.vb" id="Snippet1"::: ]]> @@ -753,7 +753,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet2"::: ]]> @@ -803,7 +803,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet1"::: ]]> @@ -861,7 +861,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/StringFormat/GetTabStops/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/StringFormat/GetTabStops/form1.vb" id="Snippet2"::: ]]> @@ -928,7 +928,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/StringFormat/GetTabStops/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/StringFormat/GetTabStops/form1.vb" id="Snippet3"::: ]]> @@ -990,7 +990,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/StringFormat/GetTabStops/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/StringFormat/GetTabStops/form1.vb" id="Snippet4"::: ]]> @@ -1049,7 +1049,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/StringFormat/GetTabStops/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/StringFormat/GetTabStops/form1.vb" id="Snippet5"::: ]]> @@ -1094,7 +1094,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Drawing/StringFormatFlags.xml b/xml/System.Drawing/StringFormatFlags.xml index e4feb36e940..7255a99ddf5 100644 --- a/xml/System.Drawing/StringFormatFlags.xml +++ b/xml/System.Drawing/StringFormatFlags.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing/StringTrimming.xml b/xml/System.Drawing/StringTrimming.xml index b7ebe91c506..7a267a71039 100644 --- a/xml/System.Drawing/StringTrimming.xml +++ b/xml/System.Drawing/StringTrimming.xml @@ -40,7 +40,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.Misc2/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Name/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc2/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Name/form1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Drawing/SystemBrushes.xml b/xml/System.Drawing/SystemBrushes.xml index 6fb8e736dbc..dadf563d5ce 100644 --- a/xml/System.Drawing/SystemBrushes.xml +++ b/xml/System.Drawing/SystemBrushes.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form12.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form12.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing/SystemColors.xml b/xml/System.Drawing/SystemColors.xml index 9d20954fcf4..b06ec20aa17 100644 --- a/xml/System.Drawing/SystemColors.xml +++ b/xml/System.Drawing/SystemColors.xml @@ -66,7 +66,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CharacterRangeExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing/SystemIcons.xml b/xml/System.Drawing/SystemIcons.xml index cd6b4e271a8..6f3d6b45bdb 100644 --- a/xml/System.Drawing/SystemIcons.xml +++ b/xml/System.Drawing/SystemIcons.xml @@ -57,7 +57,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.BitmapMembers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/.ctor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.BitmapMembers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/.ctor/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Drawing/SystemPens.xml b/xml/System.Drawing/SystemPens.xml index ebf0fe68e71..002b24579f7 100644 --- a/xml/System.Drawing/SystemPens.xml +++ b/xml/System.Drawing/SystemPens.xml @@ -57,7 +57,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet1"::: ]]> @@ -100,7 +100,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithActiveBorderPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet13"::: ]]> @@ -143,7 +143,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithActiveCaptionPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet14"::: ]]> @@ -225,7 +225,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithActiveAppWorkspacePen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet14"::: ]]> @@ -268,7 +268,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithButtonSpacePen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet16"::: ]]> @@ -316,7 +316,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithButtonHighlightPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet17"::: ]]> @@ -364,7 +364,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithButtonShadowPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet18"::: ]]> @@ -408,7 +408,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithControlPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet19"::: ]]> @@ -457,7 +457,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithControlDarkPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet20"::: ]]> @@ -506,7 +506,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithControlDarkDarkPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet21"::: ]]> @@ -555,7 +555,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithControlLightPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet22"::: ]]> @@ -604,7 +604,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithControlLightLightPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet23"::: ]]> @@ -648,7 +648,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithControlTextPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet24"::: ]]> @@ -691,7 +691,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithControlDesktopPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet25"::: ]]> @@ -772,7 +772,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithGradientActiveCaptionPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet26"::: ]]> @@ -815,7 +815,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithGradientInactiveCaptionPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet27"::: ]]> @@ -864,7 +864,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithGrayTextPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet28"::: ]]> @@ -916,7 +916,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet1"::: ]]> @@ -965,7 +965,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithHighlightTextPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet30"::: ]]> @@ -1008,7 +1008,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithHotTrackPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet31"::: ]]> @@ -1051,7 +1051,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithInactiveBorderPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet32"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet32"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet32"::: ]]> @@ -1094,7 +1094,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithInactiveCaptionPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet33"::: ]]> @@ -1138,7 +1138,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithInactiveCaptionTextPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet34"::: ]]> @@ -1181,7 +1181,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithInfoPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet35"::: ]]> @@ -1225,7 +1225,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithInfoTextPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet36"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet36"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet36"::: ]]> @@ -1268,7 +1268,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithMenuPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet37"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet37"::: ]]> @@ -1311,7 +1311,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithMenuBarPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet38"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet38"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet38"::: ]]> @@ -1354,7 +1354,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithMenuHighlightPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet39"::: ]]> @@ -1398,7 +1398,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithMenuTextPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet40"::: ]]> @@ -1441,7 +1441,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithScrollBarPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet41"::: ]]> @@ -1484,7 +1484,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithWindowPen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet42"::: ]]> @@ -1528,7 +1528,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithWindowFramePen` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet44"::: ]]> @@ -1572,7 +1572,7 @@ The following code example demonstrates how to use the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawWithWindowText` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Drawing/CharacterRange/Equals/Form1.cs" id="Snippet45"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscWhidbeySnippets/VB/Form1.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/CharacterRange/Equals/Form1.vb" id="Snippet45"::: ]]> diff --git a/xml/System.Drawing/TextureBrush.xml b/xml/System.Drawing/TextureBrush.xml index 3a6c71e0157..865514a837f 100644 --- a/xml/System.Drawing/TextureBrush.xml +++ b/xml/System.Drawing/TextureBrush.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet2"::: ]]> @@ -115,7 +115,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet2"::: ]]> @@ -449,7 +449,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/TextureBrush/Clone/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb" id="Snippet1"::: ]]> @@ -559,7 +559,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/TextureBrush/Clone/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb" id="Snippet2"::: ]]> @@ -622,7 +622,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/TextureBrush/Clone/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb" id="Snippet3"::: ]]> @@ -677,7 +677,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/TextureBrush/Clone/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb" id="Snippet4"::: ]]> @@ -746,7 +746,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/TextureBrush/Clone/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb" id="Snippet5"::: ]]> @@ -802,7 +802,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/TextureBrush/Clone/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb" id="Snippet6"::: ]]> @@ -873,7 +873,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/TextureBrush/Clone/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb" id="Snippet7"::: ]]> @@ -931,7 +931,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/TextureBrush/Clone/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb" id="Snippet8"::: ]]> @@ -1049,7 +1049,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/TextureBrush/Clone/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb" id="Snippet9"::: ]]> @@ -1107,7 +1107,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/CPP/form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/TextureBrush/Clone/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ClassicTextureBrushExamples/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/TextureBrush/Clone/form1.vb" id="Snippet10"::: ]]> @@ -1160,7 +1160,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ImageExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Bitmap/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ImageExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Bitmap/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Drawing/ToolboxBitmapAttribute.xml b/xml/System.Drawing/ToolboxBitmapAttribute.xml index c87cffc0d2b..13410c902c9 100644 --- a/xml/System.Drawing/ToolboxBitmapAttribute.xml +++ b/xml/System.Drawing/ToolboxBitmapAttribute.xml @@ -59,7 +59,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/cpp/usercontrol1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/VB/usercontrol1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.vb" id="Snippet1"::: ]]> @@ -113,7 +113,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/cpp/usercontrol1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/VB/usercontrol1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.vb" id="Snippet1"::: ]]> @@ -163,7 +163,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/cpp/usercontrol1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/VB/usercontrol1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.vb" id="Snippet3"::: ]]> @@ -215,7 +215,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/cpp/usercontrol1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/VB/usercontrol1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.vb" id="Snippet2"::: ]]> @@ -405,7 +405,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/cpp/usercontrol1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.ToolBoxBitmapExamples/VB/usercontrol1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/ToolboxBitmapAttribute/Overview/usercontrol1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Dynamic/DynamicObject.xml b/xml/System.Dynamic/DynamicObject.xml index 3294a013d59..a7ed1cfc3a3 100644 --- a/xml/System.Dynamic/DynamicObject.xml +++ b/xml/System.Dynamic/DynamicObject.xml @@ -120,7 +120,7 @@ Dim sampleObject As Object = New SampleDynamicObject() The following code example demonstrates the `DynamicDictionary` class, which is derived from the `DynamicObject` class. The `DynamicDictionary` class contains an object of the `Dictionary` type (`Dictionary(Of String, Object)` in Visual Basic) to store the key-value pairs, and overrides the and methods to support the new syntax. It also provides a `Count` property, which shows how many dynamic properties the dictionary contains. :::code language="csharp" source="~/snippets/csharp/System.Dynamic/DynamicObject/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.dynamic.dynamicobject/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Dynamic/DynamicObject/Overview/module1.vb" id="Snippet1"::: For more examples, see [Creating Wrappers with DynamicObject](https://devblogs.microsoft.com/csharpfaq/dynamic-in-c-4-0-creating-wrappers-with-dynamicobject/) on the C# Frequently Asked Questions blog. @@ -419,7 +419,7 @@ Dim sampleObject As Object = New SampleDynamicObject() In this example, only addition and subtraction operations are supported. If you try to write a statement like `resultNumber = firstNumber*secondNumber`, a run-time exception is thrown. :::code language="csharp" source="~/snippets/csharp/System.Dynamic/DynamicObject/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.dynamic.dynamicobject/vb/module1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Dynamic/DynamicObject/Overview/module1.vb" id="Snippet2"::: ]]> @@ -514,7 +514,7 @@ Dim testExplicit2 = CTypeDynamic(sampleObject, GetType(String)) In this example, only conversion to strings and integers is supported. If you try to convert an object to any other type, a run-time exception is thrown. :::code language="csharp" source="~/snippets/csharp/System.Dynamic/DynamicObject/Overview/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.dynamic.dynamicobject/vb/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Dynamic/DynamicObject/Overview/module1.vb" id="Snippet3"::: ]]> @@ -785,7 +785,7 @@ Dim testExplicit2 = CTypeDynamic(sampleObject, GetType(String)) The following code example demonstrates the `SampleDynamicObject` class, which is derived from the class. The `SampleDynamicObject` class contains an object of the `Dictionary` type (`Dictionary(Of String, Object)` in Visual Basic) to store the key-value pairs. `SampleDynamicObject` overrides the and methods to enable access by index. It overrides the and methods to enable access by property name. :::code language="csharp" source="~/snippets/csharp/System.Dynamic/DynamicObject/Overview/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.dynamic.dynamicobject/vb/module1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Dynamic/DynamicObject/Overview/module1.vb" id="Snippet4"::: ]]> @@ -864,7 +864,7 @@ Dim testExplicit2 = CTypeDynamic(sampleObject, GetType(String)) The following code example demonstrates the `DynamicDictionary` class, which is derived from the class. The `DynamicDictionary` class contains an object of the `Dictionary` type (`Dictionary(Of String, Object)` in Visual Basic) to store the key-value pairs, and overrides the and methods to support the new syntax. It also provides a `Count` property, which shows how many dynamic properties the dictionary contains. :::code language="csharp" source="~/snippets/csharp/System.Dynamic/DynamicObject/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.dynamic.dynamicobject/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Dynamic/DynamicObject/Overview/module1.vb" id="Snippet1"::: ]]> @@ -1027,7 +1027,7 @@ Dim testExplicit2 = CTypeDynamic(sampleObject, GetType(String)) The following code example demonstrates the `DynamicDictionary` class, which is derived from the class. The `DynamicDictionary` class contains an object of the `Dictionary` type (`Dictionary(Of String, Object)` in Visual Basic) to store the key-value pairs. It overrides the method to support methods of the class and overrides the and methods to support the new syntax. It also provides a `Print` method, which prints out all dictionary keys and values. :::code language="csharp" source="~/snippets/csharp/System.Dynamic/DynamicObject/Overview/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.dynamic.dynamicobject/vb/module1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Dynamic/DynamicObject/Overview/module1.vb" id="Snippet6"::: ]]> @@ -1106,7 +1106,7 @@ Dim testExplicit2 = CTypeDynamic(sampleObject, GetType(String)) The following code example demonstrates the `SampleDynamicObject` class, which is derived from the class. The `SampleDynamicObject` class contains an object of the `Dictionary` type (`Dictionary(Of String, Object)` in Visual Basic) to store the key-value pairs. `SampleDynamicObject` overrides the and methods to enable access by index. It overrides the and methods to enable access by property name. :::code language="csharp" source="~/snippets/csharp/System.Dynamic/DynamicObject/Overview/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.dynamic.dynamicobject/vb/module1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Dynamic/DynamicObject/Overview/module1.vb" id="Snippet4"::: ]]> @@ -1185,7 +1185,7 @@ Dim testExplicit2 = CTypeDynamic(sampleObject, GetType(String)) The following code example demonstrates the `DynamicDictionary` class, which is derived from the class. The `DynamicDictionary` class contains an object of the `Dictionary` type (`Dictionary(Of String, Object)` in Visual Basic) to store the key-value pairs, and overrides the and methods to support the new syntax. It also provides a `Count` property, which shows how many dynamic properties the dictionary contains. :::code language="csharp" source="~/snippets/csharp/System.Dynamic/DynamicObject/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.dynamic.dynamicobject/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Dynamic/DynamicObject/Overview/module1.vb" id="Snippet1"::: ]]> @@ -1286,7 +1286,7 @@ Dim testExplicit2 = CTypeDynamic(sampleObject, GetType(String)) In this example, only the mathematical negation operation is supported. If you try to write a statement like `negativeNumber = +number`, a run-time exception occurs. :::code language="csharp" source="~/snippets/csharp/System.Dynamic/DynamicObject/Overview/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.dynamic.dynamicobject/vb/module1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Dynamic/DynamicObject/Overview/module1.vb" id="Snippet7"::: ]]> diff --git a/xml/System.EnterpriseServices.CompensatingResourceManager/ApplicationCrmEnabledAttribute.xml b/xml/System.EnterpriseServices.CompensatingResourceManager/ApplicationCrmEnabledAttribute.xml index 89b89c9cfc3..9aa2cd9adc9 100644 --- a/xml/System.EnterpriseServices.CompensatingResourceManager/ApplicationCrmEnabledAttribute.xml +++ b/xml/System.EnterpriseServices.CompensatingResourceManager/ApplicationCrmEnabledAttribute.xml @@ -39,7 +39,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmserver.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb" id="Snippet3"::: ]]> diff --git a/xml/System.EnterpriseServices.CompensatingResourceManager/Clerk.xml b/xml/System.EnterpriseServices.CompensatingResourceManager/Clerk.xml index b6fdf2b66af..a51f0b4fc6b 100644 --- a/xml/System.EnterpriseServices.CompensatingResourceManager/Clerk.xml +++ b/xml/System.EnterpriseServices.CompensatingResourceManager/Clerk.xml @@ -30,13 +30,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmserver.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb" id="Snippet10"::: The following code example demonstrates the corresponding class. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmclient.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmclient.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmclient.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmclient.vb" id="Snippet30"::: ]]> @@ -110,7 +110,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmserver.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb" id="Snippet11"::: ]]> @@ -172,7 +172,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmserver.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb" id="Snippet12"::: ]]> @@ -308,7 +308,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmserver.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb" id="Snippet11"::: ]]> diff --git a/xml/System.EnterpriseServices.CompensatingResourceManager/Compensator.xml b/xml/System.EnterpriseServices.CompensatingResourceManager/Compensator.xml index 27db0df9b6c..b17dce5e40f 100644 --- a/xml/System.EnterpriseServices.CompensatingResourceManager/Compensator.xml +++ b/xml/System.EnterpriseServices.CompensatingResourceManager/Compensator.xml @@ -34,19 +34,19 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmserver.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb" id="Snippet20"::: This compensator is used by the following worker class. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmserver.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb" id="Snippet10"::: The following code example demonstrates a client that exercises this compensator and worker. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmclient.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmclient.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmclient.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmclient.vb" id="Snippet30"::: ]]> @@ -104,7 +104,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmserver.cpp" id="Snippet28"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb" id="Snippet28"::: ]]> @@ -142,7 +142,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmserver.cpp" id="Snippet27"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.cs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb" id="Snippet27"::: ]]> @@ -180,7 +180,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmserver.cpp" id="Snippet24"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb" id="Snippet24"::: ]]> @@ -214,7 +214,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmserver.cpp" id="Snippet21"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb" id="Snippet21"::: ]]> @@ -276,7 +276,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmserver.cpp" id="Snippet25"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb" id="Snippet25"::: ]]> @@ -310,7 +310,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmserver.cpp" id="Snippet29"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.cs" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb" id="Snippet29"::: ]]> @@ -344,7 +344,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmserver.cpp" id="Snippet26"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb" id="Snippet26"::: ]]> @@ -380,7 +380,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmserver.cpp" id="Snippet23"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb" id="Snippet23"::: ]]> @@ -419,7 +419,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmserver.cpp" id="Snippet22"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb" id="Snippet22"::: ]]> diff --git a/xml/System.EnterpriseServices.CompensatingResourceManager/CompensatorOptions.xml b/xml/System.EnterpriseServices.CompensatingResourceManager/CompensatorOptions.xml index 18804252da6..ff1bb56013b 100644 --- a/xml/System.EnterpriseServices.CompensatingResourceManager/CompensatorOptions.xml +++ b/xml/System.EnterpriseServices.CompensatingResourceManager/CompensatorOptions.xml @@ -34,7 +34,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmserver.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb" id="Snippet11"::: ]]> diff --git a/xml/System.EnterpriseServices.CompensatingResourceManager/LogRecord.xml b/xml/System.EnterpriseServices.CompensatingResourceManager/LogRecord.xml index 3a99753cd30..84cb490846e 100644 --- a/xml/System.EnterpriseServices.CompensatingResourceManager/LogRecord.xml +++ b/xml/System.EnterpriseServices.CompensatingResourceManager/LogRecord.xml @@ -30,7 +30,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmserver.cpp" id="Snippet28"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb" id="Snippet28"::: ]]> @@ -87,7 +87,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmserver.cpp" id="Snippet28"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb" id="Snippet28"::: ]]> diff --git a/xml/System.EnterpriseServices/AccessChecksLevelOption.xml b/xml/System.EnterpriseServices/AccessChecksLevelOption.xml index 280fabf24eb..ea3a2055316 100644 --- a/xml/System.EnterpriseServices/AccessChecksLevelOption.xml +++ b/xml/System.EnterpriseServices/AccessChecksLevelOption.xml @@ -30,7 +30,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Security/CPP/employeeinformation.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Security/VB/employeeinformation.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.vb" id="Snippet2"::: ]]> diff --git a/xml/System.EnterpriseServices/ApplicationAccessControlAttribute.xml b/xml/System.EnterpriseServices/ApplicationAccessControlAttribute.xml index 1b47265fd65..5c0e0b67d44 100644 --- a/xml/System.EnterpriseServices/ApplicationAccessControlAttribute.xml +++ b/xml/System.EnterpriseServices/ApplicationAccessControlAttribute.xml @@ -40,7 +40,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Security/CPP/employeeinformation.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Security/VB/employeeinformation.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.vb" id="Snippet2"::: ]]> @@ -79,7 +79,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Security/CPP/employeeinformation.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Security/VB/employeeinformation.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.vb" id="Snippet2"::: ]]> @@ -142,7 +142,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Security/CPP/employeeinformation.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Security/VB/employeeinformation.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.vb" id="Snippet2"::: ]]> @@ -176,7 +176,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Security/CPP/employeeinformation.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Security/VB/employeeinformation.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.vb" id="Snippet2"::: ]]> @@ -215,7 +215,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Security/CPP/employeeinformation.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Security/VB/employeeinformation.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.vb" id="Snippet2"::: ]]> diff --git a/xml/System.EnterpriseServices/ApplicationIDAttribute.xml b/xml/System.EnterpriseServices/ApplicationIDAttribute.xml index 07d766a588c..8b27f577687 100644 --- a/xml/System.EnterpriseServices/ApplicationIDAttribute.xml +++ b/xml/System.EnterpriseServices/ApplicationIDAttribute.xml @@ -39,7 +39,7 @@ The following code example demonstrates the use of the type. :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ApplicationIDAttribute/Overview/class1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices.ApplicationIDAttribute/VB/class1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ApplicationIDAttribute/Overview/class1.vb" id="Snippet0"::: ]]> @@ -72,7 +72,7 @@ The following code example demonstrates how to create a new . :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ApplicationIDAttribute/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices.ApplicationIDAttribute/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ApplicationIDAttribute/Overview/class1.vb" id="Snippet1"::: ]]> @@ -110,7 +110,7 @@ The following code example demonstrates how to get the value of an `ApplicationID` attribute's property. :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ApplicationIDAttribute/Overview/class1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices.ApplicationIDAttribute/VB/class1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ApplicationIDAttribute/Overview/class1.vb" id="Snippet0"::: ]]> diff --git a/xml/System.EnterpriseServices/ApplicationQueuingAttribute.xml b/xml/System.EnterpriseServices/ApplicationQueuingAttribute.xml index 9d5be1edf03..3d131f66ae6 100644 --- a/xml/System.EnterpriseServices/ApplicationQueuingAttribute.xml +++ b/xml/System.EnterpriseServices/ApplicationQueuingAttribute.xml @@ -41,7 +41,7 @@ The following code example demonstrates the use of the type. :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ApplicationQueuingAttribute/Overview/class1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesApplicationQueuingAttribute/VB/class1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ApplicationQueuingAttribute/Overview/class1.vb" id="Snippet0"::: ]]> @@ -81,7 +81,7 @@ The following code example creates a new . :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ApplicationQueuingAttribute/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesApplicationQueuingAttribute/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ApplicationQueuingAttribute/Overview/class1.vb" id="Snippet1"::: ]]> @@ -120,7 +120,7 @@ The following code example gets and sets the value of an `ApplicationQueuing` attribute's property. :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ApplicationQueuingAttribute/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesApplicationQueuingAttribute/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ApplicationQueuingAttribute/Overview/class1.vb" id="Snippet2"::: ]]> @@ -160,7 +160,7 @@ The following code example gets and sets the value of an `ApplicationQueuing` attribute's property. :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ApplicationQueuingAttribute/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesApplicationQueuingAttribute/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ApplicationQueuingAttribute/Overview/class1.vb" id="Snippet4"::: ]]> @@ -194,7 +194,7 @@ The following code example gets and sets the value of an `ApplicationQueuing` attribute's property. :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ApplicationQueuingAttribute/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesApplicationQueuingAttribute/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ApplicationQueuingAttribute/Overview/class1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.EnterpriseServices/AuthenticationOption.xml b/xml/System.EnterpriseServices/AuthenticationOption.xml index cb9ae3e9fc4..09f242343f6 100644 --- a/xml/System.EnterpriseServices/AuthenticationOption.xml +++ b/xml/System.EnterpriseServices/AuthenticationOption.xml @@ -30,7 +30,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Security/CPP/employeeinformation.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Security/VB/employeeinformation.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.vb" id="Snippet2"::: ]]> diff --git a/xml/System.EnterpriseServices/AutoCompleteAttribute.xml b/xml/System.EnterpriseServices/AutoCompleteAttribute.xml index 009837a2c18..f9b2a6efcc6 100644 --- a/xml/System.EnterpriseServices/AutoCompleteAttribute.xml +++ b/xml/System.EnterpriseServices/AutoCompleteAttribute.xml @@ -41,7 +41,7 @@ The following code example demonstrates the use of the type. :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/AutoCompleteAttribute/Overview/class1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesAutoCompleteAttribute/VB/class1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/AutoCompleteAttribute/Overview/class1.vb" id="Snippet0"::: ]]> @@ -79,7 +79,7 @@ The following code example creates a new . :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/AutoCompleteAttribute/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesAutoCompleteAttribute/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/AutoCompleteAttribute/Overview/class1.vb" id="Snippet1"::: ]]> @@ -118,7 +118,7 @@ The following code example creates a new . :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/AutoCompleteAttribute/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesAutoCompleteAttribute/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/AutoCompleteAttribute/Overview/class1.vb" id="Snippet2"::: ]]> @@ -152,7 +152,7 @@ The following code example gets the value of an `AutoComplete` attribute's property. :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/AutoCompleteAttribute/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesAutoCompleteAttribute/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/AutoCompleteAttribute/Overview/class1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.EnterpriseServices/ConstructionEnabledAttribute.xml b/xml/System.EnterpriseServices/ConstructionEnabledAttribute.xml index 5509c7f0025..1e9fca7d91d 100644 --- a/xml/System.EnterpriseServices/ConstructionEnabledAttribute.xml +++ b/xml/System.EnterpriseServices/ConstructionEnabledAttribute.xml @@ -42,7 +42,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Security/CPP/employeeinformation.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Security/VB/employeeinformation.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.vb" id="Snippet4"::: ]]> diff --git a/xml/System.EnterpriseServices/ContextUtil.xml b/xml/System.EnterpriseServices/ContextUtil.xml index 6cd06524cb2..33babdf4c90 100644 --- a/xml/System.EnterpriseServices/ContextUtil.xml +++ b/xml/System.EnterpriseServices/ContextUtil.xml @@ -30,7 +30,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Transaction/CPP/transaction.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/Overview/transaction.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Transaction/VB/transaction.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/Overview/transaction.vb" id="Snippet1"::: ]]> @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServicesContextUtil/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/ActivityId/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesContextUtil/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/ActivityId/class1.vb" id="Snippet1"::: ]]> @@ -99,7 +99,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Pooling/CPP/inspector.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Pooling/VB/inspector.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.vb" id="Snippet3"::: ]]> @@ -135,7 +135,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServicesContextUtil/CPP/class1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/ActivityId/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesContextUtil/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/ActivityId/class1.vb" id="Snippet2"::: ]]> @@ -171,7 +171,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Pooling/CPP/inspector.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Pooling/VB/inspector.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.vb" id="Snippet3"::: ]]> @@ -212,7 +212,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Transaction/CPP/transaction.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/Overview/transaction.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Transaction/VB/transaction.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/Overview/transaction.vb" id="Snippet1"::: ]]> @@ -252,7 +252,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServicesContextUtil/CPP/class1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/ActivityId/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesContextUtil/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/ActivityId/class1.vb" id="Snippet3"::: ]]> @@ -292,7 +292,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServicesContextUtil/CPP/class1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/ActivityId/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesContextUtil/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/ActivityId/class1.vb" id="Snippet4"::: ]]> @@ -417,7 +417,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServicesContextUtil/CPP/class1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/ActivityId/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesContextUtil/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/ActivityId/class1.vb" id="Snippet5"::: ]]> @@ -453,7 +453,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServicesContextUtil/CPP/class1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/ActivityId/class1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesContextUtil/VB/class1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/ActivityId/class1.vb" id="Snippet6"::: ]]> @@ -495,7 +495,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Transaction/CPP/transaction.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/Overview/transaction.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Transaction/VB/transaction.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/Overview/transaction.vb" id="Snippet1"::: ]]> @@ -560,7 +560,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmserver.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb" id="Snippet13"::: ]]> @@ -600,7 +600,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmserver.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb" id="Snippet13"::: ]]> @@ -732,7 +732,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServicesContextUtil/CPP/class1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/ActivityId/class1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesContextUtil/VB/class1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/ActivityId/class1.vb" id="Snippet7"::: ]]> diff --git a/xml/System.EnterpriseServices/DescriptionAttribute.xml b/xml/System.EnterpriseServices/DescriptionAttribute.xml index ff35524c5a3..5dda2cc236c 100644 --- a/xml/System.EnterpriseServices/DescriptionAttribute.xml +++ b/xml/System.EnterpriseServices/DescriptionAttribute.xml @@ -40,7 +40,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmserver.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb" id="Snippet4"::: ]]> @@ -74,7 +74,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Crm/cpp/crmserver.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Crm/VB/crmserver.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/SetAbort/crmserver.vb" id="Snippet4"::: ]]> diff --git a/xml/System.EnterpriseServices/EventTrackingEnabledAttribute.xml b/xml/System.EnterpriseServices/EventTrackingEnabledAttribute.xml index fd44b98db91..175a1409aa6 100644 --- a/xml/System.EnterpriseServices/EventTrackingEnabledAttribute.xml +++ b/xml/System.EnterpriseServices/EventTrackingEnabledAttribute.xml @@ -39,7 +39,7 @@ The following code example demonstrates the use of the type. :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/EventTrackingEnabledAttribute/Overview/class1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesEventTrackingEnabledAttribute/VB/class1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/EventTrackingEnabledAttribute/Overview/class1.vb" id="Snippet0"::: ]]> @@ -82,7 +82,7 @@ The following code example creates a new . :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/EventTrackingEnabledAttribute/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesEventTrackingEnabledAttribute/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/EventTrackingEnabledAttribute/Overview/class1.vb" id="Snippet1"::: ]]> @@ -116,7 +116,7 @@ The following code example creates a new . :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/EventTrackingEnabledAttribute/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesEventTrackingEnabledAttribute/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/EventTrackingEnabledAttribute/Overview/class1.vb" id="Snippet2"::: ]]> @@ -150,7 +150,7 @@ The following code example gets the value of an `EventTrackingEnabled` attribute's property. :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/EventTrackingEnabledAttribute/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesEventTrackingEnabledAttribute/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/EventTrackingEnabledAttribute/Overview/class1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.EnterpriseServices/ImpersonationLevelOption.xml b/xml/System.EnterpriseServices/ImpersonationLevelOption.xml index 009e0c21627..8cfe0558eed 100644 --- a/xml/System.EnterpriseServices/ImpersonationLevelOption.xml +++ b/xml/System.EnterpriseServices/ImpersonationLevelOption.xml @@ -37,7 +37,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Security/CPP/employeeinformation.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Security/VB/employeeinformation.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.vb" id="Snippet2"::: ]]> diff --git a/xml/System.EnterpriseServices/InterfaceQueuingAttribute.xml b/xml/System.EnterpriseServices/InterfaceQueuingAttribute.xml index 4687e976007..d2faf5523b0 100644 --- a/xml/System.EnterpriseServices/InterfaceQueuingAttribute.xml +++ b/xml/System.EnterpriseServices/InterfaceQueuingAttribute.xml @@ -104,7 +104,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServicesInterfaceQueuingAttribute/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/InterfaceQueuingAttribute/.ctor/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesInterfaceQueuingAttribute/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/InterfaceQueuingAttribute/.ctor/class1.vb" id="Snippet1"::: ]]> @@ -139,7 +139,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServicesInterfaceQueuingAttribute/CPP/class1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/InterfaceQueuingAttribute/.ctor/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesInterfaceQueuingAttribute/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/InterfaceQueuingAttribute/.ctor/class1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.EnterpriseServices/JustInTimeActivationAttribute.xml b/xml/System.EnterpriseServices/JustInTimeActivationAttribute.xml index d042175c958..651a8f73834 100644 --- a/xml/System.EnterpriseServices/JustInTimeActivationAttribute.xml +++ b/xml/System.EnterpriseServices/JustInTimeActivationAttribute.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Pooling/CPP/inspector.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Pooling/VB/inspector.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.vb" id="Snippet0"::: ]]> @@ -82,7 +82,7 @@ The following code example creates a new . :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/JustInTimeActivationAttribute/.ctor/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesJustInTimeActivationAttribute/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/JustInTimeActivationAttribute/.ctor/class1.vb" id="Snippet1"::: ]]> @@ -121,7 +121,7 @@ The following code example creates a new . :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/JustInTimeActivationAttribute/.ctor/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesJustInTimeActivationAttribute/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/JustInTimeActivationAttribute/.ctor/class1.vb" id="Snippet2"::: ]]> @@ -155,7 +155,7 @@ The following code example gets the value of a `JustInTimeActivation` attribute's property. :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/JustInTimeActivationAttribute/.ctor/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesJustInTimeActivationAttribute/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/JustInTimeActivationAttribute/.ctor/class1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.EnterpriseServices/LoadBalancingSupportedAttribute.xml b/xml/System.EnterpriseServices/LoadBalancingSupportedAttribute.xml index 91918e64a26..8b0e3664595 100644 --- a/xml/System.EnterpriseServices/LoadBalancingSupportedAttribute.xml +++ b/xml/System.EnterpriseServices/LoadBalancingSupportedAttribute.xml @@ -34,7 +34,7 @@ The following code example demonstrates the use of the type. :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/LoadBalancingSupportedAttribute/Overview/class1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesLoadBalancingSupportedAttribute/VB/class1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/LoadBalancingSupportedAttribute/Overview/class1.vb" id="Snippet0"::: ]]> @@ -72,7 +72,7 @@ The following code example creates a new . :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/LoadBalancingSupportedAttribute/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesLoadBalancingSupportedAttribute/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/LoadBalancingSupportedAttribute/Overview/class1.vb" id="Snippet1"::: ]]> @@ -106,7 +106,7 @@ The following code example creates a new . :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/LoadBalancingSupportedAttribute/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesLoadBalancingSupportedAttribute/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/LoadBalancingSupportedAttribute/Overview/class1.vb" id="Snippet2"::: ]]> @@ -140,7 +140,7 @@ The following code example gets the value of a `LoadBalancingSupported` attribute's property. :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/LoadBalancingSupportedAttribute/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesLoadBalancingSupportedAttribute/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/LoadBalancingSupportedAttribute/Overview/class1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.EnterpriseServices/MustRunInClientContextAttribute.xml b/xml/System.EnterpriseServices/MustRunInClientContextAttribute.xml index 1608cc5bd1b..bf7876cecaa 100644 --- a/xml/System.EnterpriseServices/MustRunInClientContextAttribute.xml +++ b/xml/System.EnterpriseServices/MustRunInClientContextAttribute.xml @@ -41,7 +41,7 @@ The following code example demonstrates the use of the type. :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/MustRunInClientContextAttribute/Overview/class1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesMustRunInClientContextAttribute/VB/class1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/MustRunInClientContextAttribute/Overview/class1.vb" id="Snippet0"::: ]]> @@ -79,7 +79,7 @@ The following code example creates a new . :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/MustRunInClientContextAttribute/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesMustRunInClientContextAttribute/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/MustRunInClientContextAttribute/Overview/class1.vb" id="Snippet1"::: ]]> @@ -113,7 +113,7 @@ The following code example creates a new . :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/MustRunInClientContextAttribute/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesMustRunInClientContextAttribute/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/MustRunInClientContextAttribute/Overview/class1.vb" id="Snippet2"::: ]]> @@ -147,7 +147,7 @@ The following code example gets the value of a `MustRunInClientContext` attribute's property. :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/MustRunInClientContextAttribute/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesMustRunInClientContextAttribute/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/MustRunInClientContextAttribute/Overview/class1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.EnterpriseServices/ObjectPoolingAttribute.xml b/xml/System.EnterpriseServices/ObjectPoolingAttribute.xml index c6b2fa4d7e7..d29b1d5cd13 100644 --- a/xml/System.EnterpriseServices/ObjectPoolingAttribute.xml +++ b/xml/System.EnterpriseServices/ObjectPoolingAttribute.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Pooling/CPP/inspector.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Pooling/VB/inspector.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.vb" id="Snippet0"::: ]]> @@ -95,7 +95,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Pooling/CPP/inspector.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Pooling/VB/inspector.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.vb" id="Snippet0"::: ]]> @@ -130,7 +130,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServicesObjectPoolingAttribute/cpp/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ObjectPoolingAttribute/.ctor/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesObjectPoolingAttribute/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ObjectPoolingAttribute/.ctor/class1.vb" id="Snippet1"::: ]]> @@ -166,7 +166,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServicesObjectPoolingAttribute/cpp/class1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ObjectPoolingAttribute/.ctor/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesObjectPoolingAttribute/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ObjectPoolingAttribute/.ctor/class1.vb" id="Snippet3"::: ]]> @@ -205,7 +205,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServicesObjectPoolingAttribute/cpp/class1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ObjectPoolingAttribute/.ctor/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesObjectPoolingAttribute/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ObjectPoolingAttribute/.ctor/class1.vb" id="Snippet2"::: ]]> @@ -314,7 +314,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Pooling/CPP/inspector.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Pooling/VB/inspector.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.vb" id="Snippet1"::: ]]> @@ -349,7 +349,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServicesObjectPoolingAttribute/cpp/class1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ObjectPoolingAttribute/.ctor/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesObjectPoolingAttribute/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ObjectPoolingAttribute/.ctor/class1.vb" id="Snippet4"::: ]]> @@ -423,7 +423,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Pooling/CPP/inspector.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Pooling/VB/inspector.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.vb" id="Snippet1"::: ]]> @@ -462,7 +462,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Pooling/CPP/inspector.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Pooling/VB/inspector.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.vb" id="Snippet1"::: ]]> diff --git a/xml/System.EnterpriseServices/PrivateComponentAttribute.xml b/xml/System.EnterpriseServices/PrivateComponentAttribute.xml index 15011b26454..ce98a764e74 100644 --- a/xml/System.EnterpriseServices/PrivateComponentAttribute.xml +++ b/xml/System.EnterpriseServices/PrivateComponentAttribute.xml @@ -40,7 +40,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServicesPrivateComponentAttribute/cpp/class1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/PrivateComponentAttribute/Overview/class1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesPrivateComponentAttribute/VB/class1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/PrivateComponentAttribute/Overview/class1.vb" id="Snippet0"::: ]]> @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServicesPrivateComponentAttribute/cpp/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/PrivateComponentAttribute/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesPrivateComponentAttribute/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/PrivateComponentAttribute/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.EnterpriseServices/RegistrationErrorInfo.xml b/xml/System.EnterpriseServices/RegistrationErrorInfo.xml index a1a1ee568d6..52326dee5b0 100644 --- a/xml/System.EnterpriseServices/RegistrationErrorInfo.xml +++ b/xml/System.EnterpriseServices/RegistrationErrorInfo.xml @@ -31,7 +31,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices Registration/CPP/deployservicedcomponent.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/RegistrationErrorInfo/Overview/deployservicedcomponent.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices Registration/VB/deployservicedcomponent.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/RegistrationErrorInfo/Overview/deployservicedcomponent.vb" id="Snippet0"::: ]]> @@ -88,7 +88,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices Registration/CPP/deployservicedcomponent.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/RegistrationErrorInfo/Overview/deployservicedcomponent.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices Registration/VB/deployservicedcomponent.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/RegistrationErrorInfo/Overview/deployservicedcomponent.vb" id="Snippet4"::: ]]> diff --git a/xml/System.EnterpriseServices/RegistrationException.xml b/xml/System.EnterpriseServices/RegistrationException.xml index 701323b86b1..2b3ef53d1ef 100644 --- a/xml/System.EnterpriseServices/RegistrationException.xml +++ b/xml/System.EnterpriseServices/RegistrationException.xml @@ -31,7 +31,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices Registration/CPP/deployservicedcomponent.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/RegistrationErrorInfo/Overview/deployservicedcomponent.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices Registration/VB/deployservicedcomponent.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/RegistrationErrorInfo/Overview/deployservicedcomponent.vb" id="Snippet0"::: ]]> diff --git a/xml/System.EnterpriseServices/RegistrationHelper.xml b/xml/System.EnterpriseServices/RegistrationHelper.xml index 45d0c343ea1..71ffb633124 100644 --- a/xml/System.EnterpriseServices/RegistrationHelper.xml +++ b/xml/System.EnterpriseServices/RegistrationHelper.xml @@ -112,7 +112,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices Registration/CPP/deployservicedcomponent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/RegistrationErrorInfo/Overview/deployservicedcomponent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices Registration/VB/deployservicedcomponent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/RegistrationErrorInfo/Overview/deployservicedcomponent.vb" id="Snippet1"::: ]]> @@ -199,7 +199,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices Registration/CPP/deployservicedcomponent.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/RegistrationErrorInfo/Overview/deployservicedcomponent.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices Registration/VB/deployservicedcomponent.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/RegistrationErrorInfo/Overview/deployservicedcomponent.vb" id="Snippet2"::: ]]> diff --git a/xml/System.EnterpriseServices/SecurityCallContext.xml b/xml/System.EnterpriseServices/SecurityCallContext.xml index f52dab42495..9714178bce2 100644 --- a/xml/System.EnterpriseServices/SecurityCallContext.xml +++ b/xml/System.EnterpriseServices/SecurityCallContext.xml @@ -25,7 +25,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Security/CPP/employeeinformation.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Security/VB/employeeinformation.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.vb" id="Snippet4"::: ]]> @@ -95,7 +95,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Security/CPP/employeeinformation.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Security/VB/employeeinformation.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.vb" id="Snippet6"::: ]]> @@ -129,7 +129,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Security/CPP/employeeinformation.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Security/VB/employeeinformation.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.vb" id="Snippet7"::: ]]> @@ -168,7 +168,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Security/CPP/employeeinformation.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Security/VB/employeeinformation.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.vb" id="Snippet6"::: ]]> diff --git a/xml/System.EnterpriseServices/SecurityRoleAttribute.xml b/xml/System.EnterpriseServices/SecurityRoleAttribute.xml index e191c8cafa4..b3cf6f6d16b 100644 --- a/xml/System.EnterpriseServices/SecurityRoleAttribute.xml +++ b/xml/System.EnterpriseServices/SecurityRoleAttribute.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Security/CPP/employeeinformation.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Security/VB/employeeinformation.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.vb" id="Snippet3"::: ]]> @@ -89,7 +89,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Security/CPP/employeeinformation.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Security/VB/employeeinformation.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/AccessChecksLevelOption/Overview/employeeinformation.vb" id="Snippet3"::: ]]> diff --git a/xml/System.EnterpriseServices/ServicedComponent.xml b/xml/System.EnterpriseServices/ServicedComponent.xml index bf1aa4ffd84..72dea59b19e 100644 --- a/xml/System.EnterpriseServices/ServicedComponent.xml +++ b/xml/System.EnterpriseServices/ServicedComponent.xml @@ -116,7 +116,7 @@ regsvcs Calculator.dll :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Pooling/CPP/inspector.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Pooling/VB/inspector.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.vb" id="Snippet3"::: ]]> @@ -152,7 +152,7 @@ regsvcs Calculator.dll :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Pooling/CPP/inspector.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Pooling/VB/inspector.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.vb" id="Snippet5"::: ]]> @@ -212,7 +212,7 @@ regsvcs Calculator.dll :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Pooling/CPP/inspector.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Pooling/VB/inspector.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/ApplicationId/inspector.vb" id="Snippet4"::: ]]> diff --git a/xml/System.EnterpriseServices/SharedProperty.xml b/xml/System.EnterpriseServices/SharedProperty.xml index 0d9ad92b7f7..37e03f763ff 100644 --- a/xml/System.EnterpriseServices/SharedProperty.xml +++ b/xml/System.EnterpriseServices/SharedProperty.xml @@ -31,7 +31,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_SharedProperties/CPP/receiptcounterclass.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/SharedProperty/Overview/receiptcounterclass.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_SharedProperties/VB/receiptcounterclass.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/SharedProperty/Overview/receiptcounterclass.vb" id="Snippet0"::: ]]> @@ -65,7 +65,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_SharedProperties/CPP/receiptcounterclass.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/SharedProperty/Overview/receiptcounterclass.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_SharedProperties/VB/receiptcounterclass.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/SharedProperty/Overview/receiptcounterclass.vb" id="Snippet3"::: ]]> diff --git a/xml/System.EnterpriseServices/SharedPropertyGroup.xml b/xml/System.EnterpriseServices/SharedPropertyGroup.xml index 298d8082bf3..5a4dc2c35d2 100644 --- a/xml/System.EnterpriseServices/SharedPropertyGroup.xml +++ b/xml/System.EnterpriseServices/SharedPropertyGroup.xml @@ -36,7 +36,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_SharedProperties/CPP/receiptcounterclass.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/SharedProperty/Overview/receiptcounterclass.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_SharedProperties/VB/receiptcounterclass.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/SharedProperty/Overview/receiptcounterclass.vb" id="Snippet0"::: ]]> @@ -76,7 +76,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_SharedProperties/CPP/receiptcounterclass.cpp" id="Snippet21"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/SharedProperty/Overview/receiptcounterclass.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_SharedProperties/VB/receiptcounterclass.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/SharedProperty/Overview/receiptcounterclass.vb" id="Snippet21"::: ]]> diff --git a/xml/System.EnterpriseServices/SharedPropertyGroupManager.xml b/xml/System.EnterpriseServices/SharedPropertyGroupManager.xml index b78a156bc51..b9c645bbf07 100644 --- a/xml/System.EnterpriseServices/SharedPropertyGroupManager.xml +++ b/xml/System.EnterpriseServices/SharedPropertyGroupManager.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_SharedProperties/CPP/receiptcounterclass.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/SharedProperty/Overview/receiptcounterclass.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_SharedProperties/VB/receiptcounterclass.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/SharedProperty/Overview/receiptcounterclass.vb" id="Snippet0"::: ]]> @@ -65,7 +65,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_SharedProperties/CPP/receiptcounterclass.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/SharedProperty/Overview/receiptcounterclass.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_SharedProperties/VB/receiptcounterclass.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/SharedProperty/Overview/receiptcounterclass.vb" id="Snippet1"::: ]]> @@ -119,7 +119,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_SharedProperties/CPP/receiptcounterclass.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/SharedProperty/Overview/receiptcounterclass.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_SharedProperties/VB/receiptcounterclass.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/SharedProperty/Overview/receiptcounterclass.vb" id="Snippet2"::: ]]> diff --git a/xml/System.EnterpriseServices/SynchronizationAttribute.xml b/xml/System.EnterpriseServices/SynchronizationAttribute.xml index 74641d8e3fe..85586808b03 100644 --- a/xml/System.EnterpriseServices/SynchronizationAttribute.xml +++ b/xml/System.EnterpriseServices/SynchronizationAttribute.xml @@ -43,7 +43,7 @@ The following code example demonstrates the use of the type. :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/SynchronizationAttribute/Overview/class1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesSynchronizationAttribute/VB/class1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/SynchronizationAttribute/Overview/class1.vb" id="Snippet0"::: ]]> @@ -86,7 +86,7 @@ The following code example creates a new . :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/SynchronizationAttribute/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesSynchronizationAttribute/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/SynchronizationAttribute/Overview/class1.vb" id="Snippet1"::: ]]> @@ -119,7 +119,7 @@ The following code example creates a new . :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/SynchronizationAttribute/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesSynchronizationAttribute/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/SynchronizationAttribute/Overview/class1.vb" id="Snippet2"::: ]]> @@ -152,7 +152,7 @@ The following code example gets the value of a `Synchronization` attribute's property. :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/SynchronizationAttribute/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesSynchronizationAttribute/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/SynchronizationAttribute/Overview/class1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.EnterpriseServices/SynchronizationOption.xml b/xml/System.EnterpriseServices/SynchronizationOption.xml index 2f4438265a0..120d508c658 100644 --- a/xml/System.EnterpriseServices/SynchronizationOption.xml +++ b/xml/System.EnterpriseServices/SynchronizationOption.xml @@ -30,7 +30,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServicesSynchronizationOption/cpp/class1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/SynchronizationOption/Overview/class1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesSynchronizationOption/VB/class1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/SynchronizationOption/Overview/class1.vb" id="Snippet0"::: ]]> diff --git a/xml/System.EnterpriseServices/TransactionAttribute.xml b/xml/System.EnterpriseServices/TransactionAttribute.xml index b88d3d02489..700b75cf754 100644 --- a/xml/System.EnterpriseServices/TransactionAttribute.xml +++ b/xml/System.EnterpriseServices/TransactionAttribute.xml @@ -42,7 +42,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Transaction/CPP/transaction.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/Overview/transaction.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Transaction/VB/transaction.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/Overview/transaction.vb" id="Snippet1"::: ]]> @@ -80,7 +80,7 @@ The following code example creates a new . :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/TransactionAttribute/.ctor/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesTransactionAttribute/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/TransactionAttribute/.ctor/class1.vb" id="Snippet1"::: ]]> @@ -113,7 +113,7 @@ The following code example creates a new . :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/TransactionAttribute/.ctor/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesTransactionAttribute/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/TransactionAttribute/.ctor/class1.vb" id="Snippet2"::: ]]> @@ -146,7 +146,7 @@ The following code example gets and sets the value of a `Transaction` attribute's property. :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/TransactionAttribute/.ctor/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesTransactionAttribute/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/TransactionAttribute/.ctor/class1.vb" id="Snippet3"::: ]]> @@ -179,7 +179,7 @@ The following code example gets and sets the value of a `Transaction` attribute's property. :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/TransactionAttribute/.ctor/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesTransactionAttribute/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/TransactionAttribute/.ctor/class1.vb" id="Snippet4"::: ]]> @@ -212,7 +212,7 @@ The following code example gets the value of a `Transaction` attribute's property. :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/TransactionAttribute/.ctor/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesTransactionAttribute/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/TransactionAttribute/.ctor/class1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.EnterpriseServices/TransactionIsolationLevel.xml b/xml/System.EnterpriseServices/TransactionIsolationLevel.xml index 4794f7b88e9..e47308987ce 100644 --- a/xml/System.EnterpriseServices/TransactionIsolationLevel.xml +++ b/xml/System.EnterpriseServices/TransactionIsolationLevel.xml @@ -30,7 +30,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServicesTransactionIsolationLevel/cpp/class1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/TransactionIsolationLevel/Overview/class1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesTransactionIsolationLevel/VB/class1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/TransactionIsolationLevel/Overview/class1.vb" id="Snippet0"::: ]]> diff --git a/xml/System.EnterpriseServices/TransactionOption.xml b/xml/System.EnterpriseServices/TransactionOption.xml index 564eee3fd57..2fa55170569 100644 --- a/xml/System.EnterpriseServices/TransactionOption.xml +++ b/xml/System.EnterpriseServices/TransactionOption.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServicesTransactionOption/cpp/class1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/TransactionOption/Overview/class1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServicesTransactionOption/VB/class1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/TransactionOption/Overview/class1.vb" id="Snippet0"::: ]]> diff --git a/xml/System.EnterpriseServices/TransactionVote.xml b/xml/System.EnterpriseServices/TransactionVote.xml index 9b10b76ba1b..6b617cd9b83 100644 --- a/xml/System.EnterpriseServices/TransactionVote.xml +++ b/xml/System.EnterpriseServices/TransactionVote.xml @@ -39,7 +39,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/EnterpriseServices_Transaction/CPP/transaction.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.EnterpriseServices/ContextUtil/Overview/transaction.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/EnterpriseServices_Transaction/VB/transaction.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.EnterpriseServices/ContextUtil/Overview/transaction.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/Calendar.xml b/xml/System.Globalization/Calendar.xml index 4445d3c53f6..deab0820050 100644 --- a/xml/System.Globalization/Calendar.xml +++ b/xml/System.Globalization/Calendar.xml @@ -140,7 +140,7 @@ The following code example demonstrates the members of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -210,7 +210,7 @@ The following example demonstrates the members of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -279,7 +279,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet1"::: @@ -287,7 +287,7 @@ The following code example demonstrates the members of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -364,7 +364,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet2"::: @@ -372,7 +372,7 @@ The following code example demonstrates the members of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -449,7 +449,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet3"::: @@ -457,7 +457,7 @@ The following code example demonstrates the members of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -534,7 +534,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet4"::: @@ -542,7 +542,7 @@ The following code example demonstrates the members of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -623,7 +623,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: @@ -631,7 +631,7 @@ The following code example demonstrates the members of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -708,7 +708,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet6"::: @@ -716,7 +716,7 @@ The following code example demonstrates the members of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -795,7 +795,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet7"::: @@ -803,7 +803,7 @@ The following code example demonstrates the members of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -884,7 +884,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: @@ -892,7 +892,7 @@ The following code example demonstrates the members of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -962,7 +962,7 @@ The following example uses reflection to instantiate each type found in .NET and displays the value of its property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AlgorithmType/algorithmtype1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb" id="Snippet1"::: ]]> @@ -1193,7 +1193,7 @@ The and when the Heisei era (1989-2019) was the current era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Eras/yslin_japanesecalendar_eras.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.Eras/VB/yslin_japanesecalendar_eras.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Eras/yslin_japanesecalendar_eras.vb" id="Snippet1"::: ]]> @@ -1254,7 +1254,7 @@ The and class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -1330,7 +1330,7 @@ The and class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -1407,7 +1407,7 @@ The and class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -1495,7 +1495,7 @@ The and class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar_Compare/VB/calendar_compare.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.vb" id="Snippet1"::: ]]> @@ -1658,7 +1658,7 @@ The and class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar_Compare/VB/calendar_compare.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.vb" id="Snippet1"::: ]]> @@ -1799,7 +1799,7 @@ Only the and the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -1872,7 +1872,7 @@ Only the and the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -2085,7 +2085,7 @@ Only the and the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -2156,7 +2156,7 @@ Only the and the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -2232,7 +2232,7 @@ Only the and the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -2318,7 +2318,7 @@ Only the and the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar_Compare/VB/calendar_compare.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.vb" id="Snippet1"::: ]]> @@ -2454,7 +2454,7 @@ Only the and the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -2540,7 +2540,7 @@ Only the and the object to determine that January 1, 2011 is in the first week of the year in the Gregorian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetWeekOfYear/getweekofyearex1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar.GetWeekOfYear/VB/getweekofyearex1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetWeekOfYear/getweekofyearex1.vb" id="Snippet2"::: For some calendars, a call to the method throws an for particular combinations of `rule` and `firstDayOfWeek` values even if `time` is greater than the date returned by that calendar's property. The following table lists the affected calendars, the specific `rule` values, and the range of the earliest supported `time` values. The specific minimum value depends on the value of the `firstDayOfWeek` parameter. @@ -2572,7 +2572,7 @@ Only the and the varies depending on the and the used. If the specified date is the last day of the year, returns the total number of weeks in that year. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar.GetWeekOfYear/VB/yslin_calendar_getweekofyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.vb" id="Snippet1"::: ]]> @@ -2655,7 +2655,7 @@ Only the and the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -2748,7 +2748,7 @@ Only the and the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar_Compare/VB/calendar_compare.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.vb" id="Snippet1"::: ]]> @@ -2931,7 +2931,7 @@ Only the and the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar_Compare/VB/calendar_compare.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.vb" id="Snippet1"::: ]]> @@ -3098,7 +3098,7 @@ Only the and the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar_Compare/VB/calendar_compare.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/CalendarAlgorithmType.xml b/xml/System.Globalization/CalendarAlgorithmType.xml index 5a84f00194a..800636b7c20 100644 --- a/xml/System.Globalization/CalendarAlgorithmType.xml +++ b/xml/System.Globalization/CalendarAlgorithmType.xml @@ -61,7 +61,7 @@ The following code example demonstrates the property and the enumeration. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CalendarAlgorithmType/Overview/caltype.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.calendartype/VB/caltype.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CalendarAlgorithmType/Overview/caltype.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/CalendarWeekRule.xml b/xml/System.Globalization/CalendarWeekRule.xml index 9c45be4ff7c..989158c0125 100644 --- a/xml/System.Globalization/CalendarWeekRule.xml +++ b/xml/System.Globalization/CalendarWeekRule.xml @@ -114,7 +114,7 @@ The following example illustrates how the and values are used together to determine how weeks are assigned. In the Gregorian calendar, the first day of the year (January 1) in 2013 falls on a Tuesday. If the designated first day of the week is Sunday, the first Sunday (January 6) is the first day of the first week of the year, and Saturday (January 5) belongs to the fifty-third week of the previous year. Changing the calendar week rule to `FirstFourDayWeek` defines Tuesday (January 1) as the beginning of the first week of the year, because there are more than four days between Tuesday, January 1, and Sunday, January 6. Using this rule, January 5 belongs to the first week of the year. For 2010, a year in which January 1 falls on a Friday, applying the `FirstFourDayWeek` rule with as the first day of the week makes Sunday, January 3 the beginning of the first week of the year, because the first week in 2010 that has more than four days is January 3 through 9. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CalendarWeekRule/Overview/calendarweekruleex.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendarweekrule/vb/calendarweekruleex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CalendarWeekRule/Overview/calendarweekruleex.vb" id="Snippet1"::: > [!NOTE] > This does not map exactly to ISO 8601. The differences are discussed in the blog entry [ISO 8601 Week of Year format in Microsoft .NET](https://go.microsoft.com/fwlink/?LinkId=160851). Starting with .NET Core 3.0, and solve this problem. diff --git a/xml/System.Globalization/CharUnicodeInfo.xml b/xml/System.Globalization/CharUnicodeInfo.xml index d44e12d95d4..4192a29c8ce 100644 --- a/xml/System.Globalization/CharUnicodeInfo.xml +++ b/xml/System.Globalization/CharUnicodeInfo.xml @@ -103,7 +103,7 @@ When using this class in your applications, keep in mind the following programmi The following code example shows the values returned by each method for different types of characters. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_Char/VB/charunicodeinfo_char.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.vb" id="Snippet1"::: ]]> @@ -198,7 +198,7 @@ Each version of the Unicode standard includes information on changes to the Unic The following code example shows the values returned by each method for different types of characters. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_Char/VB/charunicodeinfo_char.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.vb" id="Snippet1"::: ]]> @@ -268,7 +268,7 @@ Each version of the Unicode standard includes information on changes to the Unic The following code example shows the values returned by each method for different types of characters. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/GetDecimalDigitValue/charunicodeinfo_string.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_String/VB/charunicodeinfo_string.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetDecimalDigitValue/charunicodeinfo_string.vb" id="Snippet1"::: ]]> @@ -350,7 +350,7 @@ Each version of the Unicode standard includes information on changes to the Unic The following code example shows the values returned by each method for different types of characters. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_Char/VB/charunicodeinfo_char.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.vb" id="Snippet1"::: ]]> @@ -420,7 +420,7 @@ Each version of the Unicode standard includes information on changes to the Unic The following code example shows the values returned by each method for different types of characters. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/GetDecimalDigitValue/charunicodeinfo_string.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_String/VB/charunicodeinfo_string.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetDecimalDigitValue/charunicodeinfo_string.vb" id="Snippet1"::: ]]> @@ -505,7 +505,7 @@ Each version of the Unicode standard includes information on changes to the Unic The method assumes that `ch` corresponds to a single linguistic character and checks whether that character can be converted to a decimal digit. However, some numbers in the Unicode standard are represented by two objects that form a surrogate pair. For example, the Aegean numbering system consists of code points U+10107 through U+10133. The following example uses the method to instantiate a string that represents AEGEAN NUMBER ONE. As the output from the example shows, the method returns -1 if it is passed either a high surrogate or a low surrogate of this character. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/GetNumericValue/getnumericvalue1.cs" interactive="try-dotnet-method" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.charunicodeinfo.getnumericvalue/vb/getnumericvalue1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetNumericValue/getnumericvalue1.vb" id="Snippet2"::: @@ -513,7 +513,7 @@ Each version of the Unicode standard includes information on changes to the Unic The following code example shows the values returned by each method for different types of characters. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_Char/VB/charunicodeinfo_char.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.vb" id="Snippet1"::: ]]> @@ -586,7 +586,7 @@ Each version of the Unicode standard includes information on changes to the Unic If the object at position `index` is the first character of a valid surrogate pair, the method determines whether the surrogate pair forms a numeric digit, and, if it does, returns its numeric value. For example, the Aegean numbering system consists of code points U+10107 through U+10133. The following example uses the method to instantiate a string that represents each Aegean number. As the output from the example shows, the method returns the correct numeric value if it is passed the high surrogate of an Aegean number. However, if it is passed the low surrogate, it considers only the low surrogate in isolation and returns -1. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/GetNumericValue/getnumericvalue1.cs" interactive="try-dotnet-method" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.charunicodeinfo.getnumericvalue/vb/getnumericvalue1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetNumericValue/getnumericvalue1.vb" id="Snippet3"::: @@ -594,7 +594,7 @@ Each version of the Unicode standard includes information on changes to the Unic The following code example shows the values returned by each method for different types of characters. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/GetDecimalDigitValue/charunicodeinfo_string.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_String/VB/charunicodeinfo_string.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetDecimalDigitValue/charunicodeinfo_string.vb" id="Snippet1"::: ]]> @@ -675,7 +675,7 @@ Each version of the Unicode standard includes information on changes to the Unic The method assumes that `ch` corresponds to a single linguistic character and returns its category. This means that, for surrogate pairs, it returns instead of the category to which the surrogate belongs. For example, the Ugaritic alphabet occupies code points U+10380 to U+1039F. The following example uses the method to instantiate a string that represents UGARITIC LETTER ALPA (U+10380), which is the first letter of the Ugaritic alphabet. As the output from the example shows, the method returns `false` if it is passed either the high surrogate or the low surrogate of this character. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/GetUnicodeCategory/getunicodecategory1.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.charunicodeinfo.getunicodecategory/vb/getunicodecategory1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetUnicodeCategory/getunicodecategory1.vb" id="Snippet1"::: Note that does not always return the same value as the method when passed a particular character as a parameter. The method is designed to reflect the current version of the Unicode standard. In contrast, although the method usually reflects the current version of the Unicode standard, it might return a character's category based on a previous version of the standard, or it might return a category that differs from the current standard to preserve backward compatibility. @@ -685,7 +685,7 @@ Each version of the Unicode standard includes information on changes to the Unic The following code example shows the values returned by each method for different types of characters. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_Char/VB/charunicodeinfo_char.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.vb" id="Snippet1"::: ]]> @@ -797,7 +797,7 @@ Each version of the Unicode standard includes information on changes to the Unic If the object at position `index` is the first character of a valid surrogate pair, the method returns the Unicode category of the surrogate pair instead of returning . For example, the Ugaritic alphabet occupies code points U+10380 to U+1039F. The following example uses the method to instantiate a string that represents UGARITIC LETTER ALPA (U+10380), which is the first letter of the Ugaritic alphabet. As the output from the example shows, the method returns if it is passed the high surrogate of this character, which indicates that it considers the surrogate pair. However, if it is passed the low surrogate, it considers only the low surrogate in isolation and returns . :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/GetUnicodeCategory/getunicodecategory1.cs" interactive="try-dotnet-method" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.charunicodeinfo.getunicodecategory/vb/getunicodecategory1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetUnicodeCategory/getunicodecategory1.vb" id="Snippet2"::: Note that method does not always return the same value as the method when passed a particular character as a parameter. The method is designed to reflect the current version of the Unicode standard. In contrast, although the method usually reflects the current version of the Unicode standard, it might return a character's category based on a previous version of the standard, or it might return a category that differs from the current standard to preserve backward compatibility. @@ -807,7 +807,7 @@ Each version of the Unicode standard includes information on changes to the Unic The following code example shows the values returned by each method for different types of characters. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/GetDecimalDigitValue/charunicodeinfo_string.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_String/VB/charunicodeinfo_string.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetDecimalDigitValue/charunicodeinfo_string.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/CompareInfo.xml b/xml/System.Globalization/CompareInfo.xml index c4bafbcadb2..459b6408da9 100644 --- a/xml/System.Globalization/CompareInfo.xml +++ b/xml/System.Globalization/CompareInfo.xml @@ -98,7 +98,7 @@ The following example shows how the object associated with a object affects string comparison. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/Overview/CompareInfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompareInfo/VB/CompareInfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/Overview/CompareInfo.vb" id="Snippet1"::: ]]> @@ -206,19 +206,19 @@ - object associated with the :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/Compare/comparestrstr.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrStr/VB/comparestrstr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrstr.vb" id="Snippet1"::: The following example demonstrates calling the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/Overview/CompareInfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompareInfo/VB/CompareInfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/Overview/CompareInfo.vb" id="Snippet1"::: ]]> Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive comparison. The method does not consider such characters when it performs a culture-sensitive comparison. For instance, a culture-sensitive comparison of "animal" with "ani-mal" (using a soft hyphen, or U+00AD) indicates that the two strings are equivalent, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.compare/vb/compare1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/Compare/compare1.vb" id="Snippet1"::: To recognize ignorable characters in a string comparison, call the method and supply a value of either or for the parameter. @@ -364,12 +364,12 @@ The following example compares two strings using different settings. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/Compare/comparestrstropt.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrStrOpt/VB/comparestrstropt.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrstropt.vb" id="Snippet1"::: The following example demonstrates calling the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/Overview/CompareInfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompareInfo/VB/CompareInfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/Overview/CompareInfo.vb" id="Snippet1"::: ]]> @@ -479,7 +479,7 @@ - object associated with the :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/Compare/comparestrintstrint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntStrInt/VB/comparestrintstrint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrintstrint.vb" id="Snippet1"::: ]]> @@ -592,7 +592,7 @@ The following example compares portions of two strings using different settings. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/Compare/comparestrintstrintopt.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntStrIntOpt/VB/comparestrintstrintopt.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrintstrintopt.vb" id="Snippet1"::: ]]> @@ -716,7 +716,7 @@ - object associated with the :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/Compare/comparestrintintstrintint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntIntStrIntInt/VB/comparestrintintstrintint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrintintstrintint.vb" id="Snippet1"::: ]]> @@ -847,7 +847,7 @@ The following example compares portions of two strings using different settings. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/Compare/comparestrintintstrintintopt.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntIntStrIntIntOpt/VB/comparestrintintstrintintopt.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrintintstrintintopt.vb" id="Snippet1"::: ]]> @@ -1016,7 +1016,7 @@ - object associated with the :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/Compare/comparestrstr.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrStr/VB/comparestrstr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrstr.vb" id="Snippet1"::: ]]> @@ -1088,7 +1088,7 @@ - object associated with the :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/Compare/comparestrstr.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrStr/VB/comparestrstr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrstr.vb" id="Snippet1"::: ]]> @@ -1751,7 +1751,7 @@ Use @@ -1761,7 +1761,7 @@ Use Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns 0 (zero) to indicate that the match is found at the beginning of . In the following example, the method is used to find the soft hyphen (U+00AD) in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, the method returns 0 (zero) to indicate that it has found a match at the beginning of the string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable2.vb" id="Snippet3"::: @@ -1838,7 +1838,7 @@ Use @@ -1852,7 +1852,7 @@ Use Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if contains an ignorable character, the result is equivalent to searching with that character removed. If consists only of one or more ignorable characters, the method always returns 0 (zero) to indicate that the match is found at the beginning of . In the following example, the method is used to find three substrings (a soft hyphen (U+00AD), a soft hyphen followed by "n", and a soft hyphen followed by "m") in two strings. Only one of the strings contains a soft hyphen. In each case, because the soft hyphen is an ignorable character, the result is the same as if the soft hyphen had not been included in . When searching for a soft hyphen only, the method returns 0 (zero) to indicate that it has found a match at the beginning of the string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable1.vb" id="Snippet2"::: @@ -2020,7 +2020,7 @@ Use @@ -2032,7 +2032,7 @@ Use Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns 0 (zero) to indicate that the match is found at the beginning of . In the following example, the method is used to search for a soft hyphen (U+00AD) in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, a culture-sensitive search returns 0 (zero) to indicate that it has found a match at the beginning of the string. An ordinal search, however, successfully finds the soft hyphen in one string and reports that it is absent from the second string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable3.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable3.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable3.vb" id="Snippet4"::: @@ -2109,7 +2109,7 @@ Use and are searching in different portions of the string, even with the same `startIndex` parameter. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/indexofint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfInt/VB/indexofint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofint.vb" id="Snippet1"::: ]]> @@ -2121,7 +2121,7 @@ Use Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns , which is the character position at which the search begins. In the following example, the method is used to find a soft hyphen (U+00AD) after an "n" in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, the method returns 1 to indicate that it has found a match at the position of the "n". :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable4.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable4.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable4.vb" id="Snippet5"::: @@ -2201,7 +2201,7 @@ Use @@ -2217,7 +2217,7 @@ Use Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search (that is, if is not or ), if contains an ignorable character, the result is equivalent to searching with that character removed. If consists only of one or more ignorable characters, the method always returns 0 (zero) to indicate that the match is found at the beginning of . In the following example, the method is used to find three substrings (a soft hyphen (U+00AD), a soft hyphen followed by "n", and a soft hyphen followed by "m") in two strings. Only one of the strings contains a soft hyphen. Because the soft hyphen is an ignorable character, a culture-sensitive search returns the same value that it would return if the soft hyphen were not included in the search string. An ordinal search, however, successfully finds the soft hyphen in one string and reports that it is absent from the second string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable5.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable5.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable5.vb" id="Snippet6"::: @@ -2294,7 +2294,7 @@ Use and are searching in different portions of the string, even with the same `startIndex` parameter. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/indexofint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfInt/VB/indexofint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofint.vb" id="Snippet1"::: ]]> @@ -2312,7 +2312,7 @@ Use method is used to find the position of a soft hyphen (U+00AD) followed by an "m" in two strings. Only one of the strings contains the required substring. In both cases, because the soft hyphen is an ignorable character, the method returns the index of "m" in the string. Note that in the case of the first string, which includes the soft hyphen followed by an "m", the method fails to return the index of the soft hyphen but instead returns the index of the "m". :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable13.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable13.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable13.vb" id="Snippet14"::: @@ -2449,7 +2449,7 @@ This method has greater overhead than other and are searching in different portions of the string, even with the same `startIndex` parameter. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/indexofint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfInt/VB/indexofint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofint.vb" id="Snippet1"::: ]]> @@ -2463,7 +2463,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns , the character position at which the search first began. In the following example, the method is used to find the soft hyphen (U+00AD) after an "n" in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, a culture-sensitive search returns 1 to indicate that it has found a match at the position of the "n". An ordinal search, however, successfully finds the soft hyphen in one string and reports that it is absent from the second string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable7.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable7.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable7.vb" id="Snippet8"::: @@ -2544,7 +2544,7 @@ This method has greater overhead than other @@ -2564,7 +2564,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns , which is the character position at which the search first began. In the following example, the method is used to find a soft hyphen (U+00AD) after an "n" in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, the method returns 1 to indicate that it has found a match at the position of the "n". :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable8.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable8.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable8.vb" id="Snippet9"::: @@ -2646,7 +2646,7 @@ This method has greater overhead than other and are searching in different portions of the string, even with the same `startIndex` parameter. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/indexofint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfInt/VB/indexofint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofint.vb" id="Snippet1"::: ]]> @@ -2666,7 +2666,7 @@ This method has greater overhead than other method is used to find the position of a soft hyphen (U+00AD) followed by an "m" starting with the third character position in two strings. Only one of the strings contains the required substring. In both cases, because the soft hyphen is an ignorable character, the method returns the index of "m" in the string when it performs a culture-sensitive comparison. Note that in the case of the first string, which includes the soft hyphen followed by an "m", the method fails to return the index of the soft hyphen but instead returns the index of the "m". The method returns the index of the soft hyphen in the first string only when it performs an ordinal comparison. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable14.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable14.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable14.vb" id="Snippet15"::: @@ -2747,7 +2747,7 @@ This method has greater overhead than other @@ -2773,7 +2773,7 @@ This method has greater overhead than other method is used to find the position of a soft hyphen (U+00AD) followed by an "m" starting in the third through sixth character positions in two strings. Only one of the strings contains the required substring. In both cases, because the soft hyphen is an ignorable character, the method returns the index of "m" in the string when it performs a culture-sensitive comparison. Note that in the case of the first string, which includes the soft hyphen followed by an "m", the method fails to return the index of the soft hyphen but instead returns the index of the "m". :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable16.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable16.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable16.vb" id="Snippet17"::: @@ -2863,7 +2863,7 @@ This method has greater overhead than other @@ -2885,7 +2885,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns , which is the character position at which the search first began. In the following example, the method is used to find the soft hyphen (U+00AD) after an "n" in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, a culture-sensitive search returns 1 to indicate that it has found a match at the position of the "n". An ordinal search, however, successfully finds the soft hyphen in one string and reports that it is absent from the second string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable11.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable11.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable11.vb" id="Snippet12"::: @@ -2976,7 +2976,7 @@ This method has greater overhead than other @@ -3004,7 +3004,7 @@ This method has greater overhead than other method is used to find the position of a soft hyphen (U+00AD) followed by an "m" starting in the third through sixth character positions in two strings. Only one of the strings contains the required substring. In both cases, because the soft hyphen is an ignorable character, the method returns the index of "m" in the string when it performs a culture-sensitive comparison. When it performs an ordinal comparison, however, it finds the substring only in the first string. Note that in the case of the first string, which includes the soft hyphen followed by an "m", the method fails to return the index of the soft hyphen but instead returns the index of the "m" when it performs a culture-sensitive comparison. The method returns the index of the soft hyphen in the first string only when it performs an ordinal comparison. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable15.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable15.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable15.vb" id="Snippet16"::: @@ -3090,7 +3090,7 @@ This method has greater overhead than other @@ -3228,7 +3228,7 @@ This method has greater overhead than other . :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IsPrefix/isprefixsuffixopt.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IsPrefixSuffixOpt/VB/isprefixsuffixopt.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IsPrefix/isprefixsuffixopt.vb" id="Snippet1"::: ]]> @@ -3598,7 +3598,7 @@ This method has greater overhead than other @@ -3736,7 +3736,7 @@ This method has greater overhead than other . :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IsPrefix/isprefixsuffixopt.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IsPrefixSuffixOpt/VB/isprefixsuffixopt.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IsPrefix/isprefixsuffixopt.vb" id="Snippet1"::: ]]> @@ -3889,7 +3889,7 @@ This method has greater overhead than other @@ -3899,7 +3899,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns the last index position in to indicate that the match is found at the end of . In the following example, the method is used to find the soft hyphen (U+00AD) in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, the method returns the last index position in the string to indicate that it has found a match at the end of the string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/LastIndexOf/lastignorable2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable2.vb" id="Snippet3"::: @@ -3981,7 +3981,7 @@ This method has greater overhead than other @@ -3995,7 +3995,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if contains an ignorable character, the result is equivalent to searching with that character removed. If consists only of one or more ignorable characters, the method always returns . - 1, which represents the last index position in . In the following example, the method is used to find three substrings (a soft hyphen (U+00AD), a soft hyphen followed by "n", and a soft hyphen followed by "m") in two strings. Only one of the strings contains a soft hyphen. In each case, because the soft hyphen is an ignorable character, the result is the same as if the soft hyphen had not been included in . When searching for a soft hyphen only, the method returns 6 and 5. These values correspond to the index of the last character in the two strings. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/LastIndexOf/lastignorable1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable1.vb" id="Snippet2"::: @@ -4163,7 +4163,7 @@ This method has greater overhead than other @@ -4175,7 +4175,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns the last character position in to indicate that the match is found at the end of . In the following example, the method is used to search for a soft hyphen (U+00AD) in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, a culture-sensitive search returns the last index position in the source string. In contrast, an ordinal search successfully finds the soft hyphen in one string and reports that it is absent from the second string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/LastIndexOf/lastignorable3.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable3.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable3.vb" id="Snippet4"::: @@ -4252,7 +4252,7 @@ This method has greater overhead than other and are searching in different portions of the string, even with the same `startIndex` parameter. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/indexofint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfInt/VB/indexofint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofint.vb" id="Snippet1"::: ]]> @@ -4264,7 +4264,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns , which is the character position at which the search begins. In the following example, the method is used to find a soft hyphen (U+00AD) that precedes the final "m" in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, the method returns the index position of the "m", which is the value of . :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/LastIndexOf/lastignorable4.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable4.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable4.vb" id="Snippet5"::: @@ -4350,7 +4350,7 @@ This method has greater overhead than other @@ -4366,7 +4366,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search (that is, if is not or ), if contains an ignorable character, the result is equivalent to searching with that character removed. If consists only of one or more ignorable characters, the method always returns . - 1, which represents the last index position in . In the following example, the method is used to find three substrings (a soft hyphen (U+00AD), a soft hyphen followed by "n", and a soft hyphen followed by "m") in two strings. Only one of the strings contains a soft hyphen. Because the soft hyphen is an ignorable character, a culture-sensitive search returns the same value that it would return if the soft hyphen were not included in the search string. An ordinal search, however, successfully finds the soft hyphen in one string and reports that it is absent from the second string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/LastIndexOf/lastignorable5.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable5.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable5.vb" id="Snippet6"::: @@ -4443,7 +4443,7 @@ This method has greater overhead than other and are searching in different portions of the string, even with the same `startIndex` parameter. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/indexofint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfInt/VB/indexofint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofint.vb" id="Snippet1"::: ]]> @@ -4459,7 +4459,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if contains an ignorable character, the result is equivalent to searching with that character removed. If consists only of one or more ignorable characters, the method always returns , which is the character position at which the search begins. In the following example, the method is used to find a substring that includes a soft hyphen (U+00AD) and that precedes or includes the final "m" in a string. Because the soft hyphen in the search string is ignored, calling the method to find a substring that consists of the soft hyphen and "m" returns the position of the "m" in the string, whereas calling it to find a substring that consists of the soft hyphen and "n" returns the position of the "n". When the search string contains only the soft hyphen, the method returns the index of the "m", which represents the value of . :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/LastIndexOf/lastignorable6.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable6.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable6.vb" id="Snippet7"::: @@ -4596,7 +4596,7 @@ This method has greater overhead than other and are searching in different portions of the string, even with the same `startIndex` parameter. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/indexofint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfInt/VB/indexofint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofint.vb" id="Snippet1"::: ]]> @@ -4610,7 +4610,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns , which is the character position at which the search begins. In the following example, the method is used to find a soft hyphen (U+00AD) that precedes the final "m" in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, a culture-sensitive search returns the index position of the "m". An ordinal search, however, successfully finds the soft hyphen in one string and reports that it is absent from the second string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/LastIndexOf/lastignorable7.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable7.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable7.vb" id="Snippet8"::: @@ -4691,7 +4691,7 @@ This method has greater overhead than other @@ -4711,7 +4711,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns , which is the character position at which the search begins. In the following example, the method is used to find a soft hyphen (U+00AD) that precedes the final "m" in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, the method returns the index position of the "m", which is the value of . :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/LastIndexOf/lastignorable8.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable8.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable8.vb" id="Snippet9"::: @@ -4793,7 +4793,7 @@ This method has greater overhead than other and are searching in different portions of the string, even with the same `startIndex` parameter. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/indexofint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfInt/VB/indexofint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofint.vb" id="Snippet1"::: ]]> @@ -4813,7 +4813,7 @@ This method has greater overhead than other method is used to find the position of a soft hyphen (U+00AD) followed by an "m", starting with the final "m" in two strings. Only one of the strings contains the required substring. In both cases, because the soft hyphen is an ignorable character, the method returns the index of "m" in the string when it performs a culture-sensitive comparison. Note that in the case of the first string, which includes the soft hyphen followed by an "m", the method fails to return the index of the soft hyphen but instead returns the index of the "m". The method returns the index of the soft hyphen in the first string only when it performs an ordinal comparison. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/LastIndexOf/lastignorable14.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable14.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable14.vb" id="Snippet15"::: @@ -4894,7 +4894,7 @@ This method has greater overhead than other @@ -4920,7 +4920,7 @@ This method has greater overhead than other method is used to find the position of a soft hyphen (U+00AD) followed by an "m" in the three characters that precede the final "m" of two strings. Only one of the strings contains the required substring. In both cases, because the soft hyphen is an ignorable character, the method returns the index of "m" in the string when it performs a culture-sensitive comparison. Note that in the case of the first string, which includes the soft hyphen followed by an "m", the method fails to return the index of the soft hyphen but instead returns the index of the "m". :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/LastIndexOf/lastignorable16.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable16.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable16.vb" id="Snippet17"::: @@ -5010,7 +5010,7 @@ This method has greater overhead than other @@ -5032,7 +5032,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns , which is the character position at which the search begins. In the following example, the method is used to find a soft hyphen (U+00AD) that precedes the final "m" in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, a culture-sensitive search returns the index position of the "m", which is the value of . An ordinal search, however, successfully finds the soft hyphen in one string and reports that it is absent from the second string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/LastIndexOf/lastignorable11.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable11.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable11.vb" id="Snippet12"::: @@ -5123,7 +5123,7 @@ This method has greater overhead than other @@ -5150,7 +5150,7 @@ This method has greater overhead than other method is used to find the position of a soft hyphen (U+00AD) followed by an "m" in all but the first character position before the final "m" in two strings. Only one of the strings contains the required substring. In both cases, because the soft hyphen is an ignorable character, the method returns the index of "m" in the string when it performs a culture-sensitive comparison. When it performs an ordinal comparison, however, it finds the substring only in the first string. Note that in the case of the first string, which includes the soft hyphen followed by an "m", the method fails to return the index of the soft hyphen but instead returns the index of the "m" when it performs a culture-sensitive comparison. The method returns the index of the soft hyphen in the first string only when it performs an ordinal comparison. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable15.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable15.vb" id="Snippet16"::: @@ -5204,7 +5204,7 @@ This method has greater overhead than other property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/Overview/CompareInfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompareInfo/VB/CompareInfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/Overview/CompareInfo.vb" id="Snippet1"::: ]]> @@ -5273,7 +5273,7 @@ This method has greater overhead than other property is used to display the name of each culture. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/Overview/CompareInfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CompareInfo/VB/CompareInfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/Overview/CompareInfo.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/CompareOptions.xml b/xml/System.Globalization/CompareOptions.xml index 795f416e9be..3e1d9dd3ae5 100644 --- a/xml/System.Globalization/CompareOptions.xml +++ b/xml/System.Globalization/CompareOptions.xml @@ -92,13 +92,13 @@ The following code example shows how each of the CompareOptions values affect st :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareOptions/Overview/compareoptions_values.cs" interactive="try-dotnet"::: :::code language="fsharp" source="~/snippets/fsharp/System.Globalization/compareoptions_values.fs"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareOptions.Values/VB/compareoptions_values.vb"::: +:::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareOptions/Overview/compareoptions_values.vb"::: The following code example shows how sorting with StringSort differs from sorting without StringSort. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareOptions/Overview/compareoptions_stringsort.cs" interactive="try-dotnet"::: :::code language="fsharp" source="~/snippets/fsharp/System.Globalization/compareoptions_stringsort.fs"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareOptions.StringSort/VB/compareoptions_stringsort.vb"::: +:::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareOptions/Overview/compareoptions_stringsort.vb"::: ]]> diff --git a/xml/System.Globalization/CultureAndRegionInfoBuilder.xml b/xml/System.Globalization/CultureAndRegionInfoBuilder.xml index f011368654d..e6024c96746 100644 --- a/xml/System.Globalization/CultureAndRegionInfoBuilder.xml +++ b/xml/System.Globalization/CultureAndRegionInfoBuilder.xml @@ -34,7 +34,7 @@ The following example defines a custom ru-US culture that represents the Russian language in the United States. The example defines the custom culture by loading settings from the Russian (Russia) object and the U.S. object, and then sets a number of properties. The example registers the custom culture, and then instantiates it and makes it the current culture. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureAndRegionInfoBuilder/Overview/car.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureandregioninfobuilder.class/vb/car.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/Overview/car.vb" id="Snippet1"::: ]]> @@ -67,7 +67,7 @@ The following code example creates a custom culture with a private use prefix, then lists a set of its properties. The first property lists the name of the culture. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureAndRegionInfoBuilder/.ctor/carib.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib1/VB/carib.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/CultureEnglishName/carib.vb" id="Snippet1"::: ]]> @@ -281,7 +281,7 @@ The following code example creates a custom culture with a private use prefix, t The following example demonstrates the and methods. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureAndRegionInfoBuilder/CreateFromLdml/sl.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib.saveLdml/vb/sl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/CreateFromLdml/sl.vb" id="Snippet1"::: ]]> @@ -333,7 +333,7 @@ The following code example creates a custom culture with a private use prefix, t The following code example creates a custom culture with a private use prefix, then lists a set of its properties. The first property lists the name of the culture. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureAndRegionInfoBuilder/.ctor/carib.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib1/VB/carib.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/CultureEnglishName/carib.vb" id="Snippet1"::: ]]> @@ -374,7 +374,7 @@ The following code example creates a custom culture with a private use prefix, t The following code example creates a custom culture with a private use prefix, then lists a set of its properties. The first property lists the name of the culture. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureAndRegionInfoBuilder/.ctor/carib.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib1/VB/carib.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/CultureEnglishName/carib.vb" id="Snippet1"::: ]]> @@ -415,7 +415,7 @@ The following code example creates a custom culture with a private use prefix, t The following code example creates a custom culture with a private use prefix, then lists a set of its properties. The first property lists the name of the culture. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureAndRegionInfoBuilder/.ctor/carib.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib1/VB/carib.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/CultureEnglishName/carib.vb" id="Snippet1"::: ]]> @@ -1032,7 +1032,7 @@ The following code example creates a custom culture with a private use prefix, t The following example demonstrates the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureAndRegionInfoBuilder/Register/persist.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib.register/VB/persist.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/Register/persist.vb" id="Snippet1"::: ]]> @@ -1086,7 +1086,7 @@ The following code example creates a custom culture with a private use prefix, t The following example demonstrates the and methods. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureAndRegionInfoBuilder/CreateFromLdml/sl.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib.saveLdml/vb/sl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/CreateFromLdml/sl.vb" id="Snippet1"::: ]]> @@ -1378,7 +1378,7 @@ The following code example creates a custom culture with a private use prefix, t The following example demonstrates the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureAndRegionInfoBuilder/Unregister/unregister.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib.unregister/VB/unregister.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/Unregister/unregister.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/CultureAndRegionModifiers.xml b/xml/System.Globalization/CultureAndRegionModifiers.xml index 931ce724307..9b85a4f3be7 100644 --- a/xml/System.Globalization/CultureAndRegionModifiers.xml +++ b/xml/System.Globalization/CultureAndRegionModifiers.xml @@ -48,7 +48,7 @@ The following code example creates a custom culture with a private use prefix, then lists a set of its properties. The first property is the name of the culture. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureAndRegionInfoBuilder/.ctor/carib.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib1/VB/carib.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/CultureEnglishName/carib.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/CultureInfo.xml b/xml/System.Globalization/CultureInfo.xml index 8dc23575fda..f57962e3298 100644 --- a/xml/System.Globalization/CultureInfo.xml +++ b/xml/System.Globalization/CultureInfo.xml @@ -98,7 +98,7 @@ The following example shows how to create a object for Spanish (Spain) with the international sort and another object with the traditional sort. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/Overview/spanishspain.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo_esES/VB/spanishspain.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/Overview/spanishspain.vb" id="Snippet1"::: ]]> @@ -281,7 +281,7 @@ The property of the new constructor to instantiate a object that represents the French (France) culture and makes it the current culture. Otherwise, it instantiates a object that represents the French (Luxembourg) culture and makes it the current culture. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/Overview/Change1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.CultureInfo/vb/Change1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/.ctor/Change1.vb" id="Snippet3"::: ]]> @@ -677,7 +677,7 @@ If `name` is , the constr The following code example shows that CultureInfo.Clone also clones the and instances associated with the . :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/Clone/yslin_cultureinfo_clone.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.Clone/VB/yslin_cultureinfo_clone.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/Clone/yslin_cultureinfo_clone.vb" id="Snippet1"::: ]]> @@ -741,7 +741,7 @@ If `name` is , the constr The following code example shows how to create a for Spanish (Spain) with the international sort and another with the traditional sort. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/Overview/spanishspain.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo_esES/VB/spanishspain.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/Overview/spanishspain.vb" id="Snippet1"::: ]]> @@ -827,7 +827,7 @@ If `name` is , the constr > Note also that the results of the example may differ on an installation of Taiwanese Windows, where the input of a Chinese (Traditional) neutral culture (zh, zh-CHT, or zh-Hant) will return zh-TW. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/CreateSpecificCulture/createspecificculture2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.CreateSpecificCulture2/VB/createspecificculture2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/CreateSpecificCulture/createspecificculture2.vb" id="Snippet2"::: ]]> @@ -900,7 +900,7 @@ If `name` is , the constr The following example demonstrates the enumeration and the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/CultureTypes/ct.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureTypes/vb/ct.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/CultureTypes/ct.vb" id="Snippet1"::: ]]> @@ -1116,7 +1116,7 @@ You might choose to override some of the values associated with the current cult The following code example shows that CultureInfo.Clone also clones the and instances associated with the . :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/Clone/yslin_cultureinfo_clone.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.Clone/VB/yslin_cultureinfo_clone.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/Clone/yslin_cultureinfo_clone.vb" id="Snippet1"::: ]]> The property is set to null. @@ -1200,14 +1200,14 @@ You might choose to override some of the values associated with the current cult The following example illustrates the default behavior of the .NET Framework in defining the current culture of a new thread. At startup, the example sets the current culture and the current UI culture to French (France) on all systems except those on which the default system culture is already French (France). If the default system culture is already French (France), the code sets the current culture and the current UI culture to English (United States). It then calls the `DisplayRandomNumbers` routine, which generates three random numbers and displays them as currency values. Next, it creates a new thread, which also executes the `DisplayRandomNumbers` routine. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DefaultThreadCurrentCulture/defaultculture1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentculture/vb/defaultculture1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentCulture/defaultculture1.vb" id="Snippet1"::: As the output from the example shows, when the example is run on a computer whose system culture is English (United States), the main thread displays its currency values using the formatting conventions of the French (France) culture. However, because the worker thread's culture is derived from the current Windows system culture rather than the application's current culture, the work thread displays its currency values using the formatting conventions of the English (United States) culture. The following example uses the and properties to define the current culture and current UI culture of a new application thread. At startup, the example sets the current culture and the current UI culture to French (France) on all systems except those on which the default system culture is already French (France). If the default system culture is already French (France), it sets the current culture and the current UI culture to English (United States). It then calls the `DisplayRandomNumbers` routine, which generates three random numbers and displays them as currency values. Next, it creates a new thread, which also executes the `DisplayRandomNumbers` routine. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DefaultThreadCurrentCulture/defaultculture2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentculture/vb/defaultculture2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentCulture/defaultculture2.vb" id="Snippet2"::: As the output from the example shows, when the example is run on a computer whose system culture is English (United States), both the main thread and the worker thread display their currency values using the formatting conventions of the French (France) culture. @@ -1330,7 +1330,7 @@ csc /resource:GreetingStrings.resources Example1.cs At startup, the example sets the current culture and the current UI culture to Russian (Russia) on all systems except those on which the default system culture is already Russian (Russia). If the default system culture is already Russian (Russia), the code sets the current culture and the current UI culture to English (United States). It then calls the `ShowGreeting` routine, which displays a simple string the first time it is called and a slightly different string on subsequent method calls. Next, it creates a new thread, which also executes the `ShowGreeting` routine. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DefaultThreadCurrentUICulture/example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentuiculture/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentUICulture/example1.vb" id="Snippet1"::: As the output from the example shows, when the example is run on a computer whose system culture is English (United States), the main thread displays its initial string in Russian. However, because the worker thread's culture is derived from the current Windows system culture rather than the application's current culture, the worker thread displays its string in English. @@ -1341,7 +1341,7 @@ csc /resource:GreetingStrings.resources Example1.cs At startup, the example sets the current culture and the current UI culture to Russian (Russia) on all systems except those on which the default system culture is already Russian (Russia). If the default system culture is already Russian (Russia), it sets the current culture and the current UI culture to English (United States). It then calls the `ShowGreeting` routine, which displays a simple string the first time it is called and a slightly different string on subsequent method calls. Next, it creates a new thread, which also executes the `ShowGreeting` routine. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DefaultThreadCurrentUICulture/example2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentuiculture/vb/example2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentUICulture/example2.vb" id="Snippet2"::: As the output from the example shows, when the example is run on a computer whose system culture is English (United States), both the main thread and the worker thread display their strings in the Russian language. @@ -1420,7 +1420,7 @@ csc /resource:GreetingStrings.resources Example1.cs > The example displays the `zh-CHS` and `zh-CHT` cultures with the 0x0004 and 0x7C04 culture identifiers, respectively. However, your Windows Vista applications should use the `zh-Hans` name instead of `zh-CHS` and the `zh-Hant` name instead of zh-CHT. The `zh-Hans` and `zh-Hant` names represent the current standard, and should be used unless you have a reason for using the older names. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DisplayName/getcultures.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures.vb" id="Snippet1"::: ]]> @@ -1498,7 +1498,7 @@ csc /resource:GreetingStrings.resources Example1.cs > The example displays the older `zh-CHS` and `zh-CHT` culture names with the 0x0004 and 0x7C04 culture identifiers, respectively. However, your Windows Vista applications should use the `zh-Hans` name instead of `zh-CHS` and the `zh-Hant` name instead of zh-CHT. The `zh-Hans` and `zh-Hant` names represent the current standard, and should be used unless you have a reason for using the older names. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DisplayName/getcultures.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures.vb" id="Snippet1"::: ]]> @@ -1734,7 +1734,7 @@ csc /resource:GreetingStrings.resources Example1.cs The following code example displays the fallback user interface culture associated with a culture object. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/GetConsoleFallbackUICulture/cfuic.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.ci.getCFUIC/VB/cfuic.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/GetConsoleFallbackUICulture/cfuic.vb" id="Snippet1"::: ]]> @@ -2145,7 +2145,7 @@ Setting `predefinedOnly` to `true` will ensure a culture is created only if the - , which returns all custom cultures, such as those registered by the class. In versions of Windows before Windows 10, the value applies to all user-defined custom cultures. Starting with Windows 10, it applies to system cultures that lack complete cultural data and that do not have a unique local identifier, as indicated by the property value. As a result, code such as the following will return different results when run on Windows 10 and on an earlier version of Windows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DisplayName/getcultures3.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures3.vb" id="Snippet2"::: ## Examples The following code example displays several properties of the neutral cultures. @@ -2154,7 +2154,7 @@ Setting `predefinedOnly` to `true` will ensure a culture is created only if the > The example displays the `zh-CHS` and `zh-CHT` cultures with the 0x0004 and 0x7C04 culture identifiers, respectively. However, your Windows Vista applications should use the `zh-Hans` name instead of `zh-CHS` and the `zh-Hant` name instead of zh-CHT. The `zh-Hans` and `zh-Hant` names represent the current standard, and should be used unless you have a reason for using the older names. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DisplayName/getcultures.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures.vb" id="Snippet1"::: ]]> @@ -2550,7 +2550,7 @@ Setting `predefinedOnly` to `true` will ensure a culture is created only if the > The example displays the older `zh-CHS` and `zh-CHT` culture names with the 0x0004 and 0x7C04 culture identifiers, respectively. However, your Windows Vista applications should use the `zh-Hans` name instead of `zh-CHS` and the `zh-Hant` name instead of zh-CHT. The `zh-Hans` and `zh-Hant` names represent the current standard, and should be used unless you have a reason for using the older names. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/IsNeutralCulture/neutralculture.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.IsNeutralCulture2/VB/neutralculture.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/IsNeutralCulture/neutralculture.vb" id="Snippet1"::: ]]> @@ -2613,7 +2613,7 @@ Setting `predefinedOnly` to `true` will ensure a culture is created only if the The following code example shows that also helps protect the and instances associated with the . :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/IsReadOnly/yslin_cultureinfo_readonly.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.ReadOnly/VB/yslin_cultureinfo_readonly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/IsReadOnly/yslin_cultureinfo_readonly.vb" id="Snippet1"::: ]]> @@ -2738,7 +2738,7 @@ Setting `predefinedOnly` to `true` will ensure a culture is created only if the The following code example shows how to create a for Spanish (Spain) with the international sort order and another with the traditional sort order. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/Overview/spanishspain.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo_esES/VB/spanishspain.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/Overview/spanishspain.vb" id="Snippet1"::: ]]> @@ -2807,7 +2807,7 @@ For a list of predefined culture names and identifiers that the The example displays the older `zh-CHS` and `zh-CHT` culture names with the 0x0004 and 0x7C04 culture identifiers, respectively. However, your Windows Vista applications should use the `zh-Hans` name instead of `zh-CHS` and the `zh-Hant` name instead of zh-CHT. The `zh-Hans` and `zh-Hant` names represent the current standard, and should be used unless you have a reason for using the older names. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DisplayName/getcultures.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures.vb" id="Snippet1"::: ]]> @@ -2949,7 +2949,7 @@ You might choose to override some of the values associated with the current cult The following code example shows that CultureInfo.Clone also clones the and instances associated with the . :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/Clone/yslin_cultureinfo_clone.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.Clone/VB/yslin_cultureinfo_clone.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/Clone/yslin_cultureinfo_clone.vb" id="Snippet1"::: ]]> The property is set to null. @@ -3018,7 +3018,7 @@ The following code example shows that CultureInfo.Clone also clones the versions supported by the culture. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/OptionalCalendars/gregoriancalendartypes.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendarTypes/VB/gregoriancalendartypes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/OptionalCalendars/gregoriancalendartypes.vb" id="Snippet1"::: ]]> @@ -3091,7 +3091,7 @@ The following code example shows that CultureInfo.Clone also clones the The example displays the older `zh-CHS` and `zh-CHT` culture names with the 0x0004 and 0x7C04 culture identifiers, respectively. However, your Windows Vista applications should use the `zh-Hans` name instead of `zh-CHS` and the `zh-Hant` name instead of zh-CHT. The `zh-Hans` and `zh-Hant` names represent the current standard, and should be used unless you have a reason for using the older names. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/Parent/parentculture.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.Parent/VB/parentculture.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/Parent/parentculture.vb" id="Snippet1"::: ]]> @@ -3168,7 +3168,7 @@ The following code example shows that CultureInfo.Clone also clones the method helps protect the and instances associated with the . :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/IsReadOnly/yslin_cultureinfo_readonly.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.ReadOnly/VB/yslin_cultureinfo_readonly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/IsReadOnly/yslin_cultureinfo_readonly.vb" id="Snippet1"::: ]]> @@ -3232,7 +3232,7 @@ The following code example shows that CultureInfo.Clone also clones the for Spanish (Spain) with the international sort order and another with the traditional sort order. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/Overview/spanishspain.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo_esES/VB/spanishspain.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/Overview/spanishspain.vb" id="Snippet1"::: ]]> @@ -3304,7 +3304,7 @@ The following code example shows that CultureInfo.Clone also clones the The example displays the older `zh-CHS` and `zh-CHT` culture names with the 0x0004 and 0x7C04 culture identifiers, respectively. However, your Windows Vista applications should use the `zh-Hans` name instead of `zh-CHS` and the `zh-Hant` name instead of zh-CHT. The `zh-Hans` and `zh-Hant` names represent the current standard, and should be used unless you have a reason for using the older names. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DisplayName/getcultures.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures.vb" id="Snippet1"::: ]]> @@ -3381,7 +3381,7 @@ The following code example shows that CultureInfo.Clone also clones the The `zh-Hans` and `zh-Hant` names represent the current standard for Chinese cultures. Older applications might reference the legacy `zh-CHS` and `zh-CHT` culture names, but these should be replaced with `zh-Hans` and `zh-Hant` respectively in modern applications. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DisplayName/getcultures.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures.vb" id="Snippet1"::: ]]> @@ -3517,7 +3517,7 @@ The following code example shows that CultureInfo.Clone also clones the property does not consist of a two-letter language code. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/TwoLetterISOLanguageName/twoletterisolanguagename1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.twoletterisolanguagename/vb/twoletterisolanguagename1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/TwoLetterISOLanguageName/twoletterisolanguagename1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/CultureTypes.xml b/xml/System.Globalization/CultureTypes.xml index 2ee0e1a9ce4..e121847386f 100644 --- a/xml/System.Globalization/CultureTypes.xml +++ b/xml/System.Globalization/CultureTypes.xml @@ -85,12 +85,12 @@ Note that all `CultureTypes` members have been deprecated except for `CultureTyp The following example demonstrates the `CultureTypes.AllCultures` enumeration member and the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/CultureTypes/ct.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureTypes/vb/ct.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/CultureTypes/ct.vb" id="Snippet1"::: The following example displays several properties of the neutral cultures. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DisplayName/getcultures.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/DateTimeFormatInfo.xml b/xml/System.Globalization/DateTimeFormatInfo.xml index d72c1e818cd..8e28b846859 100644 --- a/xml/System.Globalization/DateTimeFormatInfo.xml +++ b/xml/System.Globalization/DateTimeFormatInfo.xml @@ -100,7 +100,7 @@ The following example uses reflection to get the properties of the object for the English (United States) culture. It displays the value of those properties that contain custom format strings and uses those strings to display formatted dates. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/Overview/format1.cs" interactive="try-dotnet" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.class/vb/format1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/Overview/format1.vb" id="Snippet5"::: ]]> @@ -217,7 +217,7 @@ The following example creates a read/write object that represents the English (United States) culture and assigns abbreviated day names to its property. It then uses the "ddd" format specifier in a [custom date and time format string](/dotnet/standard/base-types/custom-date-and-time-format-strings) to display the string representation of dates for one week beginning May 28, 2014. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/AbbreviatedDayNames/abbreviateddaynames1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.abbreviateddaynames/vb/abbreviateddaynames1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/AbbreviatedDayNames/abbreviateddaynames1.vb" id="Snippet1"::: ]]> @@ -295,7 +295,7 @@ The following example creates a read/write object that represents the English (United States) culture and assigns abbreviated genitive month names to its and properties. It then displays the string representation of dates that include the abbreviated month name of each month in the culture's supported calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/AbbreviatedMonthGenitiveNames/abbreviatedmonthnames1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.abbreviatedmonthgenitivenames/vb/abbreviatedmonthnames1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/AbbreviatedMonthGenitiveNames/abbreviatedmonthnames1.vb" id="Snippet1"::: ]]> @@ -366,7 +366,7 @@ The following example creates a read/write object that represents the English (United States) culture and assigns abbreviated genitive month names to its and properties. It then displays the string representation of dates that include the abbreviated name of each month in the culture's supported calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/AbbreviatedMonthGenitiveNames/abbreviatedmonthnames1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.abbreviatedmonthgenitivenames/vb/abbreviatedmonthnames1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/AbbreviatedMonthGenitiveNames/abbreviatedmonthnames1.vb" id="Snippet1"::: ]]> @@ -510,7 +510,7 @@ Changing the value of this property affects the following properties as well: object that represents the Arabic (Egypt) culture and first attempts to change its calendar to the Japanese calendar. Because the Japanese calendar is not supported, the method makes not change the culture's calendar. However, because the Umm al-Qura calendar is a member of the collection, the method does succeed in making it the current calendar for the ar-EG culture. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/Calendar/CalendarTest1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.DateTimeFormatInfo.Calendar/vb/CalendarTest1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/Calendar/CalendarTest1.vb" id="Snippet1"::: ]]> @@ -709,7 +709,7 @@ Changing the value of this property affects the following properties as well: property to retrieve a object that represents the formatting conventions of the current culture, which in this case is the en-US culture. It then displays the format string and the result string for six formatting properties. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/CurrentInfo/CurrentInfo1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.DateTimeFormatInfo.CurrentInfo/vb/CurrentInfo1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/CurrentInfo/CurrentInfo1.vb" id="Snippet1"::: ]]> @@ -769,7 +769,7 @@ Changing the value of this property affects the following properties as well: object for the en-US culture, changes its date separator to "-", and displays a date by using the "d", "G", and "g" standard format strings. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/DateSeparator/dateseparatorex.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.dateseparator/vb/dateseparatorex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/DateSeparator/dateseparatorex.vb" id="Snippet1"::: ]]> @@ -966,7 +966,7 @@ This property is affected if the value of the for a few cultures. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/FullDateTimePattern/dtfi_fulldatetimepattern.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.FullDateTimePattern/VB/dtfi_fulldatetimepattern.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/FullDateTimePattern/dtfi_fulldatetimepattern.vb" id="Snippet1"::: ]]> @@ -1269,7 +1269,7 @@ This property is affected if the value of the method in formatting operations. However, if you do, the string representation of a date and time value returned in that formatting operation cannot always be parsed successfully by the `Parse` and `TryParse` methods. Therefore, you cannot assume that the custom format strings returned by the method can be used to round-trip date and time values. The following example illustrates this problem. It retrieves a object that contains formatting information for the Italy (Italian) culture. It passes each custom format string in the array returned by the method to the method to create the string representation of a date and time. This example then attempts to parse this value by calling the method. As the output from the example shows, some of the custom format strings do not produce a date and time value that successfully round-trips. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/GetAllDateTimePatterns/getalldatetimepatternsex1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.getalldatetimepatterns/vb/getalldatetimepatternsex1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetAllDateTimePatterns/getalldatetimepatternsex1.vb" id="Snippet1"::: To parse the string representation of a date and time that can be expressed in a number of predefined custom formats, call one of the following methods: @@ -1287,7 +1287,7 @@ This property is affected if the value of the object that represents the invariant culture by calling the constructor. It could also retrieve a that represents the invariant culture from the property. @@ -1350,7 +1350,7 @@ This property is affected if the value of the method in formatting operations. However, if you do, the string representation of a date and time value returned in that formatting operation cannot always be parsed successfully by the `Parse` and `TryParse` methods. Therefore, you cannot assume that the custom format strings returned by the method can be used to round-trip date and time values. The following example illustrates this problem. It retrieves a object that contains formatting information for the Russia (Russian) culture. It calls the method for each standard format string, and then passes each custom format string in the returned array to the method to create the string representation of a date and time. This example then attempts to parse this value by calling the method. As the output from the example shows, some of the custom format strings do not produce a date and time value that successfully round-trips. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/GetAllDateTimePatterns/getalldatetimepatternsex2.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.getalldatetimepatterns/vb/getalldatetimepatternsex2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetAllDateTimePatterns/getalldatetimepatternsex2.vb" id="Snippet2"::: To parse the string representation of a date and time that can be expressed in a number of predefined custom formats, call one of the following methods: @@ -1521,7 +1521,7 @@ This property is affected if the value of the ignores the punctuation in the era name, only if the calendar is Gregorian and the culture uses the era name "A.D.". :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/GetEra/gregorian_getera.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetEra/VB/gregorian_getera.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetEra/gregorian_getera.vb" id="Snippet1"::: ]]> @@ -2055,7 +2055,7 @@ This property is affected if the value of the property defines the culture-specific format of date strings that are returned by calls to the and methods and by composite format strings that are supplied the "D" standard format string. The following example illustrates the relationships among the following: the "D" standard format string, the custom format string returned by the property, and the culture-specific representation of a date. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/LongDatePattern/longdatepattern1.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongDatePattern/VB/longdatepattern1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongDatePattern/longdatepattern1.vb" id="Snippet2"::: See [Custom Date and Time Format Strings](/dotnet/standard/base-types/custom-date-and-time-format-strings) for individual custom format specifiers that can be combined to construct custom format strings such as "dddd, dd MMMM yyyy". @@ -2064,13 +2064,13 @@ This property is affected if the value of the property of a object that represents the Arabic (Syria) culture changes when the object used by the culture changes. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/LongDatePattern/longdatepattern2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongDatePattern/VB/longdatepattern2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongDatePattern/longdatepattern2.vb" id="Snippet3"::: ## Examples The following example displays the value of the property for a few cultures. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/LongDatePattern/dtfi_longdatepattern.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongDatePattern/VB/dtfi_longdatepattern.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongDatePattern/dtfi_longdatepattern.vb" id="Snippet1"::: ]]> @@ -2145,7 +2145,7 @@ This property is affected if the value of the for a few cultures. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/LongTimePattern/dtfi_longtimepattern.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongTimePattern/VB/dtfi_longtimepattern.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongTimePattern/dtfi_longtimepattern.vb" id="Snippet1"::: ]]> @@ -2218,7 +2218,7 @@ This property is affected if the value of the for a few cultures. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/MonthDayPattern/dtfi_monthdaypattern.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.MonthDayPattern/VB/dtfi_monthdaypattern.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/MonthDayPattern/dtfi_monthdaypattern.vb" id="Snippet1"::: ]]> @@ -2618,7 +2618,7 @@ This property is affected if the value of the @@ -2694,7 +2694,7 @@ This property is affected if the value of the object that represents the "en-US" (English - United States) culture and uses it to parse an array of date and time strings using the "Y" standard format string. It then uses the method to associate a new custom format string with the "Y" standard format string, and then attempts to parse the array of date and time strings. Output from the example demonstrates that the new custom format string is used in both the parsing and formatting operations. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/SetAllDateTimePatterns/setalldatetimepatterns.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.setalldatetimepatterns/vb/setalldatetimepatterns.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/SetAllDateTimePatterns/setalldatetimepatterns.vb" id="Snippet1"::: ]]> @@ -2767,12 +2767,12 @@ This property is affected if the value of the property and the value of a date formatted using the property for a few cultures. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/ShortDatePattern/dtfi_shortdatepattern.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.ShortDatePattern/VB/dtfi_shortdatepattern.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/ShortDatePattern/dtfi_shortdatepattern.vb" id="Snippet1"::: The following example modifies the property of a object that represents the formatting conventions of the English (United States) culture. It also displays a date value twice, first to reflect the original property and then to reflect the new property value. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/ShortDatePattern/shortdatepattern1.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.ShortDatePattern/VB/shortdatepattern1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/ShortDatePattern/shortdatepattern1.vb" id="Snippet2"::: ]]> @@ -2915,7 +2915,7 @@ The default array starts on Sunday. The following example displays the value of for a few cultures. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/ShortTimePattern/dtfi_shorttimepattern.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.ShortTimePattern/VB/dtfi_shorttimepattern.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/ShortTimePattern/dtfi_shorttimepattern.vb" id="Snippet1"::: ]]> @@ -2980,7 +2980,7 @@ The default array starts on Sunday. The following example displays the value of for a few cultures. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/SortableDateTimePattern/dtfi_sortabledatetimepattern.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.SortableDateTimePattern/VB/dtfi_sortabledatetimepattern.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/SortableDateTimePattern/dtfi_sortabledatetimepattern.vb" id="Snippet1"::: ]]> @@ -3084,7 +3084,7 @@ If the custom pattern includes the format pattern ":", object for the en-US culture, changes its date separator to ".", and displays a date by using the "t", "T", "F", "f", "G", and "g" standard format strings. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/TimeSeparator/timeseparatorex.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.timeseparator/vb/timeseparatorex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/TimeSeparator/timeseparatorex.vb" id="Snippet1"::: ]]> @@ -3150,7 +3150,7 @@ If the custom pattern includes the format pattern ":", for a few cultures. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/UniversalSortableDateTimePattern/dtfi_universalsortabledatetimepattern.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.UniversalSortableDateTimePattern/VB/dtfi_universalsortabledatetimepattern.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/UniversalSortableDateTimePattern/dtfi_universalsortabledatetimepattern.vb" id="Snippet1"::: ]]> @@ -3226,7 +3226,7 @@ If the custom pattern includes the format pattern ":", for a few cultures. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/YearMonthPattern/dtfi_yearmonthpattern.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.YearMonthPattern/VB/dtfi_yearmonthpattern.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/YearMonthPattern/dtfi_yearmonthpattern.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/EastAsianLunisolarCalendar.xml b/xml/System.Globalization/EastAsianLunisolarCalendar.xml index 536fa199ff8..7368ca0c6e1 100644 --- a/xml/System.Globalization/EastAsianLunisolarCalendar.xml +++ b/xml/System.Globalization/EastAsianLunisolarCalendar.xml @@ -146,7 +146,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: ]]> @@ -220,7 +220,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Globalization/GregorianCalendar.xml b/xml/System.Globalization/GregorianCalendar.xml index 0f1b4f17728..08ef33c5224 100644 --- a/xml/System.Globalization/GregorianCalendar.xml +++ b/xml/System.Globalization/GregorianCalendar.xml @@ -93,7 +93,7 @@ The following example illustrates that February 18, 1700 in the Julian calendar, which is the last day the Julian calendar was officially used in Denmark, is one day earlier than March 1, 1700 in the Gregorian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/Overview/minimum1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.gregoriancalendar.class/vb/minimum1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/Overview/minimum1.vb" id="Snippet1"::: Each supports a set of calendars. The property returns the default calendar for the culture, and the property returns an array containing all the calendars supported by the culture. To change the calendar used by a , the application can set the property to a new . @@ -105,7 +105,7 @@ The following code example shows that ignores the punctuation in the era name, only if the calendar is Gregorian and the culture uses the era name "A.D.". :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/GetEra/gregorian_getera.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetEra/VB/gregorian_getera.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetEra/gregorian_getera.vb" id="Snippet1"::: ]]> @@ -175,7 +175,7 @@ The following code example prints a using a that is localized. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/.ctor/gregorianlocalized.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendarLocalized/VB/gregorianlocalized.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/.ctor/gregorianlocalized.vb" id="Snippet1"::: ]]> @@ -293,7 +293,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: @@ -301,7 +301,7 @@ The following code example displays the values of several components of a in terms of the Gregorian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_AddGet/VB/gregoriancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.vb" id="Snippet1"::: ]]> @@ -419,7 +419,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: @@ -427,7 +427,7 @@ The following code example displays the values of several components of a in terms of the Gregorian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_AddGet/VB/gregoriancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.vb" id="Snippet1"::: ]]> @@ -547,7 +547,7 @@ The following example uses reflection to instantiate each type found in the .NET Framework and displays the value of its property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AlgorithmType/algorithmtype1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb" id="Snippet1"::: ]]> @@ -603,7 +603,7 @@ The following code example demonstrates how to determine the GregorianCalendar language version supported by the culture. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/OptionalCalendars/gregoriancalendartypes.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendarTypes/VB/gregoriancalendartypes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/OptionalCalendars/gregoriancalendartypes.vb" id="Snippet1"::: ]]> @@ -721,7 +721,7 @@ The following code example displays the values of several components of a in terms of the Gregorian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_AddGet/VB/gregoriancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.vb" id="Snippet1"::: ]]> @@ -793,7 +793,7 @@ The following code example displays the values of several components of a in terms of the Gregorian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_AddGet/VB/gregoriancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.vb" id="Snippet1"::: ]]> @@ -866,7 +866,7 @@ The following code example displays the values of several components of a in terms of the Gregorian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_AddGet/VB/gregoriancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.vb" id="Snippet1"::: ]]> @@ -942,7 +942,7 @@ The following code example calls GetDaysInMonth for the second month in each of five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/GetDaysInMonth/gregoriancalendar_getdaysinmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetDaysInMonth/VB/gregoriancalendar_getdaysinmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/GetDaysInMonth/gregoriancalendar_getdaysinmonth.vb" id="Snippet1"::: ]]> @@ -1024,7 +1024,7 @@ The following code example calls GetDaysInYear for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/GetDaysInYear/gregoriancalendar_getdaysinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetDaysInYear/VB/gregoriancalendar_getdaysinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/GetDaysInYear/gregoriancalendar_getdaysinyear.vb" id="Snippet1"::: ]]> @@ -1100,7 +1100,7 @@ The following code example displays the values of several components of a in terms of the Gregorian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_AddGet/VB/gregoriancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1237,7 +1237,7 @@ The following code example displays the values of several components of a in terms of the Gregorian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_AddGet/VB/gregoriancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1310,7 +1310,7 @@ The following code example calls GetMonthsInYear for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/GetMonthsInYear/gregoriancalendar_getmonthsinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetMonthsInYear/VB/gregoriancalendar_getmonthsinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/GetMonthsInYear/gregoriancalendar_getmonthsinyear.vb" id="Snippet1"::: ]]> @@ -1432,7 +1432,7 @@ The following code example displays the values of several components of a in terms of the Gregorian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_AddGet/VB/gregoriancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1517,7 +1517,7 @@ The following code example calls IsLeapDay for the last day of the second month (February) for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/IsLeapDay/gregoriancalendar_isleapday.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.IsLeapDay/VB/gregoriancalendar_isleapday.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/IsLeapDay/gregoriancalendar_isleapday.vb" id="Snippet1"::: ]]> @@ -1609,7 +1609,7 @@ The following code example calls IsLeapMonth for all the months in five years in the current era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/IsLeapMonth/gregoriancalendar_isleapmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.IsLeapMonth/VB/gregoriancalendar_isleapmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/IsLeapMonth/gregoriancalendar_isleapmonth.vb" id="Snippet1"::: ]]> @@ -1693,7 +1693,7 @@ The following code example calls IsLeapYear for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/IsLeapYear/gregoriancalendar_isleapyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.IsLeapYear/VB/gregoriancalendar_isleapyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/IsLeapYear/gregoriancalendar_isleapyear.vb" id="Snippet1"::: ]]> @@ -1765,7 +1765,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/MaxSupportedDateTime/gregoriancalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_MinMax/VB/gregoriancalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/MaxSupportedDateTime/gregoriancalendar_minmax.vb" id="Snippet1"::: ]]> @@ -1831,7 +1831,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/MaxSupportedDateTime/gregoriancalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_MinMax/VB/gregoriancalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/MaxSupportedDateTime/gregoriancalendar_minmax.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/GregorianCalendarTypes.xml b/xml/System.Globalization/GregorianCalendarTypes.xml index f2f51bdd6c7..e7ca5554155 100644 --- a/xml/System.Globalization/GregorianCalendarTypes.xml +++ b/xml/System.Globalization/GregorianCalendarTypes.xml @@ -83,12 +83,12 @@ The following code example demonstrates how to determine the GregorianCalendar language version supported by the culture. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/OptionalCalendars/gregoriancalendartypes.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendarTypes/VB/gregoriancalendartypes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/OptionalCalendars/gregoriancalendartypes.vb" id="Snippet1"::: The following code example prints a using a that is localized. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/.ctor/gregorianlocalized.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendarLocalized/VB/gregorianlocalized.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/.ctor/gregorianlocalized.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/HebrewCalendar.xml b/xml/System.Globalization/HebrewCalendar.xml index 0b1f7398ff9..703f1bac2d0 100644 --- a/xml/System.Globalization/HebrewCalendar.xml +++ b/xml/System.Globalization/HebrewCalendar.xml @@ -114,7 +114,7 @@ The following example creates a file that contains the date ranges supported by the class, and displays the number of days in each month of the year 5772. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/Overview/example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.hebrewcalendar.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/Overview/example1.vb" id="Snippet1"::: The example instantiates a object and makes it the current calendar of a Hebrew (Israel) object. It then makes Hebrew (Israel) the current culture. This causes the common language runtime to interpret all dates and times in relation to the Hebrew calendar. @@ -232,7 +232,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: @@ -240,7 +240,7 @@ The following code example displays the values of several components of a in terms of the Hebrew calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_AddGet/VB/hebrewcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.vb" id="Snippet1"::: ]]> @@ -325,7 +325,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: @@ -333,7 +333,7 @@ The following code example displays the values of several components of a in terms of the Hebrew calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_AddGet/VB/hebrewcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.vb" id="Snippet1"::: ]]> @@ -395,7 +395,7 @@ The following example uses reflection to instantiate each type found in the .NET Framework and displays the value of its property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AlgorithmType/algorithmtype1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb" id="Snippet1"::: ]]> @@ -510,7 +510,7 @@ The following code example displays the values of several components of a in terms of the Hebrew calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_AddGet/VB/hebrewcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.vb" id="Snippet1"::: ]]> @@ -592,7 +592,7 @@ The following code example displays the values of several components of a in terms of the Hebrew calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_AddGet/VB/hebrewcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.vb" id="Snippet1"::: ]]> @@ -667,7 +667,7 @@ The following code example displays the values of several components of a in terms of the Hebrew calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_AddGet/VB/hebrewcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.vb" id="Snippet1"::: ]]> @@ -747,7 +747,7 @@ The following code example calls `GetDaysInMonth` for the second month in each of five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/GetDaysInMonth/hebrewcalendar_getdaysinmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.GetDaysInMonth/VB/hebrewcalendar_getdaysinmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/GetDaysInMonth/hebrewcalendar_getdaysinmonth.vb" id="Snippet1"::: ]]> @@ -823,7 +823,7 @@ The following code example calls `GetDaysInYear` for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/GetDaysInYear/hebrewcalendar_getdaysinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_GetDaysInYear/VB/hebrewcalendar_getdaysinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/GetDaysInYear/hebrewcalendar_getdaysinyear.vb" id="Snippet1"::: ]]> @@ -895,7 +895,7 @@ The following code example displays the values of several components of a in terms of the Hebrew calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_AddGet/VB/hebrewcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.vb" id="Snippet1"::: ]]> @@ -1033,7 +1033,7 @@ The following code example displays the values of several components of a in terms of the Hebrew calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_AddGet/VB/hebrewcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.vb" id="Snippet1"::: ]]> @@ -1113,7 +1113,7 @@ The following code example calls `GetMonthsInYear` for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/GetMonthsInYear/hebrewcalendar_getmonthsinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.GetMonthsInYear/VB/hebrewcalendar_getmonthsinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/GetMonthsInYear/hebrewcalendar_getmonthsinyear.vb" id="Snippet1"::: ]]> @@ -1185,7 +1185,7 @@ The following code example displays the values of several components of a in terms of the Hebrew calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_AddGet/VB/hebrewcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.vb" id="Snippet1"::: ]]> @@ -1328,7 +1328,7 @@ The following code example calls `IsLeapDay` for the last day of the second month (February) for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/IsLeapDay/hebrewcalendar_isleapday.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.IsLeapDay/VB/hebrewcalendar_isleapday.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/IsLeapDay/hebrewcalendar_isleapday.vb" id="Snippet1"::: ]]> @@ -1411,7 +1411,7 @@ The following code example calls `IsLeapMonth` for all the months in five years in the current era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/IsLeapMonth/hebrewcalendar_isleapmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.IsLeapMonth/VB/hebrewcalendar_isleapmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/IsLeapMonth/hebrewcalendar_isleapmonth.vb" id="Snippet1"::: ]]> @@ -1489,7 +1489,7 @@ The following code example calls `IsLeapYear` for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/IsLeapYear/hebrewcalendar_isleapyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.IsLeapYear/VB/hebrewcalendar_isleapyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/IsLeapYear/hebrewcalendar_isleapyear.vb" id="Snippet1"::: ]]> @@ -1551,7 +1551,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/MaxSupportedDateTime/hebrewcalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_MinMax/VB/hebrewcalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/MaxSupportedDateTime/hebrewcalendar_minmax.vb" id="Snippet1"::: ]]> @@ -1611,7 +1611,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/MaxSupportedDateTime/hebrewcalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_MinMax/VB/hebrewcalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/MaxSupportedDateTime/hebrewcalendar_minmax.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/HijriCalendar.xml b/xml/System.Globalization/HijriCalendar.xml index 08181997f29..ccd481752bb 100644 --- a/xml/System.Globalization/HijriCalendar.xml +++ b/xml/System.Globalization/HijriCalendar.xml @@ -221,7 +221,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: @@ -229,7 +229,7 @@ The following code example displays the values of several components of a in terms of the Hijri calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_AddGet/VB/hijricalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.vb" id="Snippet1"::: ]]> @@ -312,7 +312,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: @@ -320,7 +320,7 @@ The following code example displays the values of several components of a in terms of the Hijri calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_AddGet/VB/hijricalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.vb" id="Snippet1"::: ]]> @@ -388,7 +388,7 @@ The following example uses reflection to instantiate each type found in the .NET Framework and displays the value of its property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AlgorithmType/algorithmtype1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb" id="Snippet1"::: ]]> @@ -552,7 +552,7 @@ The following code example displays the values of several components of a in terms of the Hijri calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_AddGet/VB/hijricalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.vb" id="Snippet1"::: ]]> @@ -634,7 +634,7 @@ The following code example displays the values of several components of a in terms of the Hijri calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_AddGet/VB/hijricalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.vb" id="Snippet1"::: ]]> @@ -707,7 +707,7 @@ The following code example displays the values of several components of a in terms of the Hijri calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_AddGet/VB/hijricalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.vb" id="Snippet1"::: ]]> @@ -783,7 +783,7 @@ The following code example calls `GetDaysInMonth` for the twelfth month in each of five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/GetDaysInMonth/hijricalendar_getdaysinmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.GetDaysInMonth/VB/hijricalendar_getdaysinmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/GetDaysInMonth/hijricalendar_getdaysinmonth.vb" id="Snippet1"::: ]]> @@ -860,7 +860,7 @@ The following code example calls `GetDaysInYear` for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/GetDaysInYear/hijricalendar_getdaysinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.GetDaysInYear/VB/hijricalendar_getdaysinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/GetDaysInYear/hijricalendar_getdaysinyear.vb" id="Snippet1"::: ]]> @@ -932,7 +932,7 @@ The following code example displays the values of several components of a in terms of the Hijri calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_AddGet/VB/hijricalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.vb" id="Snippet1"::: ]]> @@ -1076,7 +1076,7 @@ The following code example displays the values of several components of a in terms of the Hijri calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_AddGet/VB/hijricalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.vb" id="Snippet1"::: ]]> @@ -1149,7 +1149,7 @@ The following code example calls the GetMonthsInYear method for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/GetMonthsInYear/hijricalendar_getmonthsinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.GetMonthsInYear/VB/hijricalendar_getmonthsinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/GetMonthsInYear/hijricalendar_getmonthsinyear.vb" id="Snippet1"::: ]]> @@ -1220,7 +1220,7 @@ The following code example displays the values of several components of a in terms of the Hijri calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_AddGet/VB/hijricalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.vb" id="Snippet1"::: ]]> @@ -1298,7 +1298,7 @@ The following code example shows how affects the date. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/HijriAdjustment/hijriadjustment.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.HijriAdjustment/VB/hijriadjustment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/HijriAdjustment/hijriadjustment.vb" id="Snippet1"::: ]]> @@ -1427,7 +1427,7 @@ The following code example calls the `IsLeapDay` method for the last day of the second month (February) for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/IsLeapDay/hijricalendar_isleapday.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.IsLeapDay/VB/hijricalendar_isleapday.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/IsLeapDay/hijricalendar_isleapday.vb" id="Snippet1"::: ]]> @@ -1519,7 +1519,7 @@ The following code example calls `IsLeapMonth` for all the months in five years in the current era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/IsLeapMonth/hijricalendar_isleapmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.IsLeapMonth/VB/hijricalendar_isleapmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/IsLeapMonth/hijricalendar_isleapmonth.vb" id="Snippet1"::: ]]> @@ -1603,7 +1603,7 @@ The following code example calls the `IsLeapYear` method for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/IsLeapYear/hijricalendar_isleapyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.IsLeapYear/VB/hijricalendar_isleapyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/IsLeapYear/hijricalendar_isleapyear.vb" id="Snippet1"::: ]]> @@ -1680,7 +1680,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/MaxSupportedDateTime/hijricalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_MinMax/VB/hijricalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/MaxSupportedDateTime/hijricalendar_minmax.vb" id="Snippet1"::: ]]> @@ -1746,7 +1746,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/MaxSupportedDateTime/hijricalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_MinMax/VB/hijricalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/MaxSupportedDateTime/hijricalendar_minmax.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/IdnMapping.xml b/xml/System.Globalization/IdnMapping.xml index 3c7961f84e5..bea1eb42b5a 100644 --- a/xml/System.Globalization/IdnMapping.xml +++ b/xml/System.Globalization/IdnMapping.xml @@ -88,7 +88,7 @@ The following example uses the method to convert an array of internationalized domain names to Punycode. The method then converts the Punycode domain name back to the original domain name, but replaces the original label separators with the standard label separator. :::code language="csharp" source="~/snippets/csharp/System.Globalization/IdnMapping/Overview/conversion1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.idnmapping.class/vb/conversion1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/IdnMapping/Overview/conversion1.vb" id="Snippet1"::: ]]> @@ -339,7 +339,7 @@ The following example uses the method to convert an array of internationalized domain names to Punycode, which is an encoded equivalent that consists of characters in the US-ASCII character range. The method then converts the Punycode domain name back into the original domain name, but replaces the original label separators with the standard label separator. :::code language="csharp" source="~/snippets/csharp/System.Globalization/IdnMapping/Overview/conversion1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.idnmapping.class/vb/conversion1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/IdnMapping/Overview/conversion1.vb" id="Snippet1"::: ]]> @@ -525,7 +525,7 @@ The following example uses the method to convert an internationalized domain name to a domain name that complies with the IDNA standard. The method then converts the standardized domain name back into the original domain name, but replaces the original label separators with the standard label separator. :::code language="csharp" source="~/snippets/csharp/System.Globalization/IdnMapping/GetAscii/getx.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IdnMapping.GetX/VB/getx.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/IdnMapping/GetAscii/getx.vb" id="Snippet1"::: ]]> @@ -609,7 +609,7 @@ The following example assumes that a single string can contain multiple email addresses separated by spaces. It removes the local part and the @ character from each email address, and passes the resulting domain name to the or method to create a Punycode domain name. The method then converts the Punycode domain name back into the original domain name. :::code language="csharp" source="~/snippets/csharp/System.Globalization/IdnMapping/GetHashCode/conversion1b.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.idnmapping.getascii/vb/conversion1b.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/IdnMapping/GetHashCode/conversion1b.vb" id="Snippet3"::: ]]> @@ -682,7 +682,7 @@ The following example uses the method to convert an array of internationalized domain names to Punycode. The method then converts the Punycode domain name back into the original domain name, but replaces the original label separators with the standard label separator. :::code language="csharp" source="~/snippets/csharp/System.Globalization/IdnMapping/Overview/conversion1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.idnmapping.class/vb/conversion1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/IdnMapping/Overview/conversion1.vb" id="Snippet1"::: ]]> @@ -894,7 +894,7 @@ The following example generates URLs that contain characters in the ASCII range from U+0000 to U+007F and passes them to the method of two objects. One object has its property set to `true`, and the other object has it set to `false`. The output displays the characters that are invalid when the property is `true` but valid when it is `false`. :::code language="csharp" source="~/snippets/csharp/System.Globalization/IdnMapping/UseStd3AsciiRules/usestd3asciirules1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.idnmapping.usestd3asciirules/vb/usestd3asciirules1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/IdnMapping/UseStd3AsciiRules/usestd3asciirules1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/JapaneseCalendar.xml b/xml/System.Globalization/JapaneseCalendar.xml index e02774b0b24..3d3c450dc9a 100644 --- a/xml/System.Globalization/JapaneseCalendar.xml +++ b/xml/System.Globalization/JapaneseCalendar.xml @@ -239,7 +239,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: @@ -247,7 +247,7 @@ The following code example displays the values of several components of a in terms of the Japanese calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_AddGet/VB/japanesecalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.vb" id="Snippet1"::: ]]> @@ -330,7 +330,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: @@ -338,7 +338,7 @@ The following code example displays the values of several components of a in terms of the Japanese calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_AddGet/VB/japanesecalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.vb" id="Snippet1"::: ]]> @@ -412,7 +412,7 @@ The following example uses reflection to instantiate each type found in the .NET Class Library and displays the value of its property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AlgorithmType/algorithmtype1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb" id="Snippet1"::: ]]> @@ -490,7 +490,7 @@ The following example displays the values contained in the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Eras/yslin_japanesecalendar_eras.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.Eras/VB/yslin_japanesecalendar_eras.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Eras/yslin_japanesecalendar_eras.vb" id="Snippet1"::: ]]> @@ -551,7 +551,7 @@ The following code example displays the values of several components of a in terms of the Japanese calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_AddGet/VB/japanesecalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.vb" id="Snippet1"::: ]]> @@ -633,7 +633,7 @@ The following code example displays the values of several components of a in terms of the Japanese calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_AddGet/VB/japanesecalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.vb" id="Snippet1"::: ]]> @@ -706,7 +706,7 @@ The following code example displays the values of several components of a in terms of the Japanese calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_AddGet/VB/japanesecalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.vb" id="Snippet1"::: ]]> @@ -782,7 +782,7 @@ The following code example calls for the second month in each of five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/GetDaysInMonth/japanesecalendar_getdaysinmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.GetDaysInMonth/VB/japanesecalendar_getdaysinmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/GetDaysInMonth/japanesecalendar_getdaysinmonth.vb" id="Snippet1"::: ]]> @@ -863,7 +863,7 @@ The following example calls for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/GetDaysInYear/japanesecalendar_getdaysinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.GetDaysInYear/VB/japanesecalendar_getdaysinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/GetDaysInYear/japanesecalendar_getdaysinyear.vb" id="Snippet1"::: ]]> @@ -950,7 +950,7 @@ The following example displays the values of several components of a in terms of the Japanese calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_AddGet/VB/japanesecalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.vb" id="Snippet1"::: ]]> @@ -1090,7 +1090,7 @@ The following example displays the values of several components of a in terms of the Japanese calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_AddGet/VB/japanesecalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.vb" id="Snippet1"::: ]]> @@ -1163,7 +1163,7 @@ The following example calls for the first five years in each era. Because the class supports only 12-month years, it indicates that there are 12 months in each of the eras supported by the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/GetMonthsInYear/japanesecalendar_getmonthsinyear.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.GetMonthsInYear/VB/japanesecalendar_getmonthsinyear.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/GetMonthsInYear/japanesecalendar_getmonthsinyear.vb"::: ]]> @@ -1255,7 +1255,7 @@ The following code example shows how the result of varies depending on the and values used. If the specified date is the last day of the year, returns the total number of weeks in that year. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar.GetWeekOfYear/VB/yslin_calendar_getweekofyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.vb" id="Snippet1"::: ]]> @@ -1321,7 +1321,7 @@ The following code example displays the values of several components of a in terms of the Japanese calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_AddGet/VB/japanesecalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.vb" id="Snippet1"::: ]]> @@ -1405,7 +1405,7 @@ The following example calls for the last day of the second month (February) for five years in each of the eras. The current era in the example output is the Reiwa era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/IsLeapDay/japanesecalendar_isleapday.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.IsLeapDay/VB/japanesecalendar_isleapday.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/IsLeapDay/japanesecalendar_isleapday.vb"::: ]]> @@ -1494,7 +1494,7 @@ The following example calls for all the months in the first five years in the current era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/IsLeapMonth/japanesecalendar_isleapmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.IsLeapMonth/VB/japanesecalendar_isleapmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/IsLeapMonth/japanesecalendar_isleapmonth.vb" id="Snippet1"::: ]]> @@ -1577,7 +1577,7 @@ The following example calls for five years in each of the eras. The current era in the example output is the Reiwa era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/IsLeapYear/japanesecalendar_isleapyear.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.IsLeapYear/VB/japanesecalendar_isleapyear.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/IsLeapYear/japanesecalendar_isleapyear.vb"::: ]]> @@ -1648,7 +1648,7 @@ The following example calls @@ -1714,7 +1714,7 @@ The following example calls diff --git a/xml/System.Globalization/JulianCalendar.xml b/xml/System.Globalization/JulianCalendar.xml index cfa3ad77ad4..466b89e7315 100644 --- a/xml/System.Globalization/JulianCalendar.xml +++ b/xml/System.Globalization/JulianCalendar.xml @@ -206,7 +206,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: @@ -214,7 +214,7 @@ The following code example displays the values of several components of a in terms of the Julian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_AddGet/VB/juliancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.vb" id="Snippet1"::: ]]> @@ -297,7 +297,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: @@ -305,7 +305,7 @@ The following code example displays the values of several components of a in terms of the Julian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_AddGet/VB/juliancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.vb" id="Snippet1"::: ]]> @@ -373,7 +373,7 @@ The following example uses reflection to instantiate each type found in the .NET Framework and displays the value of its property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AlgorithmType/algorithmtype1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb" id="Snippet1"::: ]]> @@ -488,7 +488,7 @@ The following code example displays the values of several components of a in terms of the Julian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_AddGet/VB/juliancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.vb" id="Snippet1"::: ]]> @@ -560,7 +560,7 @@ The following code example displays the values of several components of a in terms of the Julian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_AddGet/VB/juliancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.vb" id="Snippet1"::: ]]> @@ -633,7 +633,7 @@ The following code example displays the values of several components of a in terms of the Julian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_AddGet/VB/juliancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.vb" id="Snippet1"::: ]]> @@ -709,7 +709,7 @@ The following example calls for the second month in each of five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/GetDaysInMonth/juliancalendar_getdaysinmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.GetDaysInMonth/VB/juliancalendar_getdaysinmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/GetDaysInMonth/juliancalendar_getdaysinmonth.vb" id="Snippet1"::: ]]> @@ -791,7 +791,7 @@ The following example calls for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/GetDaysInYear/juliancalendar_getdaysinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.GetDaysInYear/VB/juliancalendar_getdaysinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/GetDaysInYear/juliancalendar_getdaysinyear.vb" id="Snippet1"::: ]]> @@ -867,7 +867,7 @@ The following code example displays the values of several components of a in terms of the Julian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_AddGet/VB/juliancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1005,7 +1005,7 @@ The following code example displays the values of several components of a in terms of the Julian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_AddGet/VB/juliancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1078,7 +1078,7 @@ The following example calls for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/GetMonthsInYear/juliancalendar_getmonthsinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.GetMonthsInYear/VB/juliancalendar_getmonthsinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/GetMonthsInYear/juliancalendar_getmonthsinyear.vb" id="Snippet1"::: ]]> @@ -1149,7 +1149,7 @@ The following code example displays the values of several components of a in terms of the Julian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_AddGet/VB/juliancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1234,7 +1234,7 @@ The following example calls for the last day of the second month (February) for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/IsLeapDay/juliancalendar_isleapday.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.IsLeapDay/VB/juliancalendar_isleapday.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/IsLeapDay/juliancalendar_isleapday.vb" id="Snippet1"::: ]]> @@ -1326,7 +1326,7 @@ The following example calls for all the months in five years in the current era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/IsLeapMonth/juliancalendar_isleapmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.IsLeapMonth/VB/juliancalendar_isleapmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/IsLeapMonth/juliancalendar_isleapmonth.vb" id="Snippet1"::: ]]> @@ -1410,7 +1410,7 @@ The following example calls for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/IsLeapYear/juliancalendar_isleapyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.IsLeapYear/VB/juliancalendar_isleapyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/IsLeapYear/juliancalendar_isleapyear.vb" id="Snippet1"::: ]]> @@ -1534,7 +1534,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/MaxSupportedDateTime/juliancalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_MinMax/VB/juliancalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/MaxSupportedDateTime/juliancalendar_minmax.vb" id="Snippet1"::: ]]> @@ -1595,7 +1595,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/MaxSupportedDateTime/juliancalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_MinMax/VB/juliancalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/MaxSupportedDateTime/juliancalendar_minmax.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/KoreanCalendar.xml b/xml/System.Globalization/KoreanCalendar.xml index baf5dfab08e..aa6d7727ab8 100644 --- a/xml/System.Globalization/KoreanCalendar.xml +++ b/xml/System.Globalization/KoreanCalendar.xml @@ -223,7 +223,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: @@ -231,7 +231,7 @@ The following code example displays the values of several components of a in terms of the Korean calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_AddGet/VB/koreancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.vb" id="Snippet1"::: ]]> @@ -313,7 +313,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: @@ -321,7 +321,7 @@ The following code example displays the values of several components of a in terms of the Korean calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_AddGet/VB/koreancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.vb" id="Snippet1"::: ]]> @@ -390,7 +390,7 @@ The following example uses reflection to instantiate each type found in the .NET Framework and displays the value of its property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AlgorithmType/algorithmtype1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb" id="Snippet1"::: ]]> @@ -505,7 +505,7 @@ The following code example displays the values of several components of a in terms of the Korean calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_AddGet/VB/koreancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.vb" id="Snippet1"::: ]]> @@ -587,7 +587,7 @@ The following code example displays the values of several components of a in terms of the Korean calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_AddGet/VB/koreancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.vb" id="Snippet1"::: ]]> @@ -660,7 +660,7 @@ The following code example displays the values of several components of a in terms of the Korean calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_AddGet/VB/koreancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.vb" id="Snippet1"::: ]]> @@ -736,7 +736,7 @@ The following code example calls GetDaysInMonth for the second month in each of five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/GetDaysInMonth/koreancalendar_getdaysinmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.GetDaysInMonth/VB/koreancalendar_getdaysinmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/GetDaysInMonth/koreancalendar_getdaysinmonth.vb" id="Snippet1"::: ]]> @@ -818,7 +818,7 @@ The following example calls for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/GetDaysInYear/koreancalendar_getdaysinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.GetDaysInYear/VB/koreancalendar_getdaysinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/GetDaysInYear/koreancalendar_getdaysinyear.vb" id="Snippet1"::: ]]> @@ -894,7 +894,7 @@ The following code example displays the values of several components of a in terms of the Korean calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_AddGet/VB/koreancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1032,7 +1032,7 @@ The following code example displays the values of several components of a in terms of the Korean calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_AddGet/VB/koreancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1105,7 +1105,7 @@ The following example calls for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/GetMonthsInYear/koreancalendar_getmonthsinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.GetMonthsInYear/VB/koreancalendar_getmonthsinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/GetMonthsInYear/koreancalendar_getmonthsinyear.vb" id="Snippet1"::: ]]> @@ -1198,7 +1198,7 @@ The following code example shows how the result of varies depending on the and values used. If the specified date is the last day of the year, returns the total number of weeks in that year. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar.GetWeekOfYear/VB/yslin_calendar_getweekofyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.vb" id="Snippet1"::: ]]> @@ -1264,7 +1264,7 @@ The following code example displays the values of several components of a in terms of the Korean calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_AddGet/VB/koreancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1349,7 +1349,7 @@ The following example calls for the last day of the second month (February) for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/IsLeapDay/koreancalendar_isleapday.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.IsLeapDay/VB/koreancalendar_isleapday.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/IsLeapDay/koreancalendar_isleapday.vb" id="Snippet1"::: ]]> @@ -1441,7 +1441,7 @@ The following example calls for all the months in five years in the current era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/IsLeapMonth/koreancalendar_isleapmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.IsLeapMonth/VB/koreancalendar_isleapmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/IsLeapMonth/koreancalendar_isleapmonth.vb" id="Snippet1"::: ]]> @@ -1525,7 +1525,7 @@ The following example calls for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/IsLeapYear/koreancalendar_isleapyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.IsLeapYear/VB/koreancalendar_isleapyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/IsLeapYear/koreancalendar_isleapyear.vb" id="Snippet1"::: ]]> @@ -1650,7 +1650,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/MaxSupportedDateTime/koreancalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_MinMax/VB/koreancalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/MaxSupportedDateTime/koreancalendar_minmax.vb" id="Snippet1"::: ]]> @@ -1711,7 +1711,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/MaxSupportedDateTime/koreancalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_MinMax/VB/koreancalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/MaxSupportedDateTime/koreancalendar_minmax.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/NumberFormatInfo.xml b/xml/System.Globalization/NumberFormatInfo.xml index 23ab38a4ace..a86d48b5567 100644 --- a/xml/System.Globalization/NumberFormatInfo.xml +++ b/xml/System.Globalization/NumberFormatInfo.xml @@ -95,7 +95,7 @@ The following example shows how to retrieve a object for a corresponding object, and use the retrieved object to query number formatting information for the particular culture. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/Overview/NumberFormatInfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/NumberFormatInfo/vb/numberformatinfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/Overview/numberformatinfo.vb" id="Snippet1"::: ]]> @@ -227,7 +227,7 @@ The following example uses the method to create a read/write copy of a object that represents the numeric formatting conventions of the current culture. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/Clone/isreadonly1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.isreadonly/vb/isreadonly1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/Clone/isreadonly1.vb" id="Snippet1"::: ]]> @@ -288,7 +288,7 @@ The following example demonstrates the effect of changing the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/CurrencyDecimalDigits/currencydecimaldigits.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CurrencyDecimalDigits/VB/currencydecimaldigits.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencyDecimalDigits/currencydecimaldigits.vb" id="Snippet1"::: ]]> @@ -359,7 +359,7 @@ On Windows, the initial value of this property is derived from the settings in t The following example demonstrates the effect of changing the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/CurrencyDecimalSeparator/currencydecimalseparator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CurrencyDecimalSeparator/VB/currencydecimalseparator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencyDecimalSeparator/currencydecimalseparator.vb" id="Snippet1"::: ]]> @@ -431,7 +431,7 @@ On Windows, the initial value of this property is derived from the settings in t The following example demonstrates the effect of changing the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/CurrencyGroupSeparator/currencygroupseparator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CurrencyGroupSeparator/VB/currencygroupseparator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencyGroupSeparator/currencygroupseparator.vb" id="Snippet1"::: ]]> @@ -504,7 +504,7 @@ On Windows, the initial value of this property is derived from the settings in t The following example demonstrates the effect of changing the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/CurrencyGroupSizes/currencygroupsizes.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CurrencyGroupSizes/VB/currencygroupsizes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencyGroupSizes/currencygroupsizes.vb" id="Snippet1"::: ]]> @@ -598,7 +598,7 @@ On Windows, the initial value of this property is derived from the settings in t The following example shows how the property defines the format of negative currency values. It retrieves all the specific cultures that are defined on the host computer and displays each culture's property value, its associated pattern, and a number formatted as a currency value. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/CurrencyNegativePattern/currencynegativepattern1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.currencynegativepattern/vb/currencynegativepattern1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencyNegativePattern/currencynegativepattern1.vb" id="Snippet1"::: ]]> @@ -738,7 +738,7 @@ The pattern does not support a positive sign. The following example displays the currency symbol for the current culture and uses the "C" standard numeric format string to format a currency value. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/CurrencySymbol/currencysymbolex1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.currencysymbol/vb/currencysymbolex1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencySymbol/currencysymbolex1.vb" id="Snippet1"::: ]]> @@ -814,7 +814,7 @@ The pattern does not support a positive sign. The following example shows that the objects returned by the and `CultureInfo.CurrentCulture.NumberFormat` properties are identical. It then uses reflection to display the property values of the object returned by the property on a system whose current culture is en-US. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/CurrentInfo/currentinfo1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.currentinfo/vb/currentinfo1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrentInfo/currentinfo1.vb" id="Snippet1"::: ]]> @@ -1079,7 +1079,7 @@ The pattern does not support a positive sign. The following example displays the default property values of the . :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/InvariantInfo/invariantinfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.NumberFormatInfo.InvariantInfo/VB/invariantinfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/InvariantInfo/invariantinfo.vb" id="Snippet1"::: ]]> @@ -1138,7 +1138,7 @@ The pattern does not support a positive sign. You can call the method to create a read/write object from a read-only object, as the following example illustrates. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/Clone/isreadonly1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.isreadonly/vb/isreadonly1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/Clone/isreadonly1.vb" id="Snippet1"::: ]]> @@ -1260,7 +1260,7 @@ The pattern does not support a positive sign. The following example demonstrates the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/NativeDigits/nd.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.NFI.nativeDigits/vb/nd.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/NativeDigits/nd.vb" id="Snippet1"::: ]]> @@ -1395,7 +1395,7 @@ The pattern does not support a positive sign. The following example instantiates a read-write object that represents the invariant culture and assigns the OVERLINE character (U+203E) to its property. It then uses this object to format an array of negative floating-point numbers. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/NegativeSign/negativesign1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.negativesign/vb/negativesign1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/NegativeSign/negativesign1.vb" id="Snippet1"::: ]]> @@ -1457,7 +1457,7 @@ The pattern does not support a positive sign. The following example demonstrates the effect of changing the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/NumberDecimalDigits/numberdecimaldigits.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/NumberDecimalDigits/VB/numberdecimaldigits.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/NumberDecimalDigits/numberdecimaldigits.vb" id="Snippet1"::: ]]> @@ -1527,7 +1527,7 @@ On Windows, the initial value of this property is derived from the settings in t The following example demonstrates the effect of changing the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/NumberDecimalSeparator/numberdecimalseparator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/NumberDecimalSeparator/VB/numberdecimalseparator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/NumberDecimalSeparator/numberdecimalseparator.vb" id="Snippet1"::: ]]> @@ -1598,7 +1598,7 @@ On Windows, the initial value of this property is derived from the settings in t The following example demonstrates the effect of changing the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/NumberGroupSeparator/numbergroupseparator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/NumberGroupSeparator/VB/numbergroupseparator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/NumberGroupSeparator/numbergroupseparator.vb" id="Snippet1"::: ]]> @@ -1672,7 +1672,7 @@ On Windows, the initial value of this property is derived from the settings in t The following example demonstrates the effect of changing the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/NumberGroupSizes/numbergroupsizes.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/NumberGroupSizes/VB/numbergroupsizes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/NumberGroupSizes/numbergroupsizes.vb" id="Snippet1"::: The following example prints a value using different arrays. @@ -1828,7 +1828,7 @@ On Windows, the initial value of this property is derived from the settings in t The following example demonstrates the effect of changing the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/PercentDecimalDigits/percentdecimaldigits.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PercentDecimalDigits/VB/percentdecimaldigits.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/PercentDecimalDigits/percentdecimaldigits.vb" id="Snippet1"::: ]]> @@ -1897,7 +1897,7 @@ On Windows, the initial value of this property is derived from the settings in t The following example demonstrates the effect of changing the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/PercentDecimalSeparator/percentdecimalseparator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PercentDecimalSeparator/VB/percentdecimalseparator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/PercentDecimalSeparator/percentdecimalseparator.vb" id="Snippet1"::: ]]> @@ -1967,7 +1967,7 @@ On Windows, the initial value of this property is derived from the settings in t The following example demonstrates the effect of changing the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/PercentGroupSeparator/percentgroupseparator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PercentGroupSeparator/VB/percentgroupseparator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/PercentGroupSeparator/percentgroupseparator.vb" id="Snippet1"::: ]]> @@ -2040,7 +2040,7 @@ On Windows, the initial value of this property is derived from the settings in t The following example demonstrates the effect of changing the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/PercentGroupSizes/percentgroupsizes.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PercentGroupSizes/VB/percentgroupsizes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/PercentGroupSizes/percentgroupsizes.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/NumberStyles.xml b/xml/System.Globalization/NumberStyles.xml index 38970357c23..f0b542ca6ab 100644 --- a/xml/System.Globalization/NumberStyles.xml +++ b/xml/System.Globalization/NumberStyles.xml @@ -99,7 +99,7 @@ The following table lists the composite number styles and indicates which indivi This example shows how to parse a string into a 32-bit integer by using various `NumberStyles` flags. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberStyles/Overview/NumberStyles.cs" interactive="try-dotnet" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/NumberStyles/vb/numberstyles.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberStyles/Overview/numberstyles.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/PersianCalendar.xml b/xml/System.Globalization/PersianCalendar.xml index a1cde3217b5..352c919b31f 100644 --- a/xml/System.Globalization/PersianCalendar.xml +++ b/xml/System.Globalization/PersianCalendar.xml @@ -73,12 +73,12 @@ The following example instantiates objects by using the property, a constructor, and the Persian calendar's method. It then displays these dates in both the Gregorian and Persian calendars. It also displays the date range of the Persian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/calendar2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/calendar2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/calendar2.vb" id="Snippet3"::: The following example demonstrates the field, property, and method members of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> @@ -132,7 +132,7 @@ The following code example demonstrates the use of the constructor for the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> @@ -193,7 +193,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: @@ -201,7 +201,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> @@ -267,7 +267,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: @@ -275,7 +275,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> @@ -338,7 +338,7 @@ The following example uses reflection to instantiate each type found in the .NET Framework and displays the value of its property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AlgorithmType/algorithmtype1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb" id="Snippet1"::: ]]> @@ -393,7 +393,7 @@ The following code example demonstrates the use of the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> @@ -454,7 +454,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> @@ -518,7 +518,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> @@ -582,7 +582,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> @@ -651,7 +651,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> @@ -716,7 +716,7 @@ The following code example demonstrates use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> @@ -779,7 +779,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> @@ -844,7 +844,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> @@ -905,7 +905,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> @@ -970,7 +970,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> @@ -1032,7 +1032,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> @@ -1106,7 +1106,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> @@ -1174,7 +1174,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> @@ -1245,7 +1245,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> @@ -1313,7 +1313,7 @@ The following code example demonstrates the use of the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> @@ -1376,7 +1376,7 @@ The following code example demonstrates the use of the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> @@ -1434,7 +1434,7 @@ The following code example demonstrates the use of the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> @@ -1512,7 +1512,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> @@ -1586,7 +1586,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> @@ -1653,7 +1653,7 @@ The following code example demonstrates the use of the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/PersianCalendar/Overview/pcal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/PersianCalendar/Overview/pcal.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/RegionInfo.xml b/xml/System.Globalization/RegionInfo.xml index a9bf3543a86..63ef56cf11d 100644 --- a/xml/System.Globalization/RegionInfo.xml +++ b/xml/System.Globalization/RegionInfo.xml @@ -85,7 +85,7 @@ The following example demonstrates several members of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/Overview/regioninfo.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo/VB/regioninfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/Overview/regioninfo.vb" id="Snippet1"::: ]]> @@ -163,7 +163,7 @@ The following code example compares two instances of that were created differently. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/.ctor/regioninfo_equals.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Equals/VB/regioninfo_equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/.ctor/regioninfo_equals.vb" id="Snippet1"::: ]]> @@ -245,12 +245,12 @@ This constructor throws an if `name` is a neutra The following code example compares two instances of that were created differently. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/.ctor/regioninfo_equals.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Equals/VB/regioninfo_equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/.ctor/regioninfo_equals.vb" id="Snippet1"::: The following code example creates instances of using culture names. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/.ctor/regioninfo_ctorculturename.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo.ctorCultureName/VB/regioninfo_ctorculturename.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/.ctor/regioninfo_ctorculturename.vb" id="Snippet1"::: ]]> @@ -324,7 +324,7 @@ This constructor throws an if `name` is a neutra The following code example demonstrates the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/CurrencyEnglishName/rgn5props.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.regioninfo.rgn5props/VB/rgn5props.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/CurrencyEnglishName/rgn5props.vb" id="Snippet1"::: ]]> @@ -392,7 +392,7 @@ This constructor throws an if `name` is a neutra The following code example demonstrates the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/CurrencyEnglishName/rgn5props.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.regioninfo.rgn5props/VB/rgn5props.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/CurrencyEnglishName/rgn5props.vb" id="Snippet1"::: ]]> @@ -459,7 +459,7 @@ This constructor throws an if `name` is a neutra The following code example displays the properties of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Properties/VB/regioninfo_properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.vb" id="Snippet1"::: ]]> @@ -586,7 +586,7 @@ This constructor throws an if `name` is a neutra The following code example displays the properties of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Properties/VB/regioninfo_properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.vb" id="Snippet1"::: ]]> @@ -656,7 +656,7 @@ This constructor throws an if `name` is a neutra The following code example displays the properties of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Properties/VB/regioninfo_properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.vb" id="Snippet1"::: ]]> @@ -733,7 +733,7 @@ This constructor throws an if `name` is a neutra The following code example compares two instances of that were created differently. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/.ctor/regioninfo_equals.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Equals/VB/regioninfo_equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/.ctor/regioninfo_equals.vb" id="Snippet1"::: ]]> @@ -798,7 +798,7 @@ This constructor throws an if `name` is a neutra The following code example demonstrates the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/CurrencyEnglishName/rgn5props.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.regioninfo.rgn5props/VB/rgn5props.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/CurrencyEnglishName/rgn5props.vb" id="Snippet1"::: ]]> @@ -920,7 +920,7 @@ This constructor throws an if `name` is a neutra The following code example displays the properties of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Properties/VB/regioninfo_properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.vb" id="Snippet1"::: ]]> @@ -1099,7 +1099,7 @@ This constructor throws an if `name` is a neutra The following code example displays the properties of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Properties/VB/regioninfo_properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.vb" id="Snippet1"::: ]]> @@ -1165,7 +1165,7 @@ This constructor throws an if `name` is a neutra The following code example displays the properties of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Properties/VB/regioninfo_properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.vb" id="Snippet1"::: ]]> @@ -1242,7 +1242,7 @@ This constructor throws an if `name` is a neutra The following code example demonstrates the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/CurrencyEnglishName/rgn5props.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.regioninfo.rgn5props/VB/rgn5props.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/CurrencyEnglishName/rgn5props.vb" id="Snippet1"::: ]]> @@ -1307,7 +1307,7 @@ This constructor throws an if `name` is a neutra The following code example displays the properties of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Properties/VB/regioninfo_properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.vb" id="Snippet1"::: ]]> @@ -1375,7 +1375,7 @@ This constructor throws an if `name` is a neutra The following code example displays the properties of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Properties/VB/regioninfo_properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.vb" id="Snippet1"::: ]]> @@ -1517,7 +1517,7 @@ This constructor throws an if `name` is a neutra The following code example displays the properties of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Properties/VB/regioninfo_properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/SortKey.xml b/xml/System.Globalization/SortKey.xml index 7ce0db169ac..dd1ecdbce58 100644 --- a/xml/System.Globalization/SortKey.xml +++ b/xml/System.Globalization/SortKey.xml @@ -68,12 +68,12 @@ The following example compares the string "llama" using the "en-US" and "es-ES" cultures, and the "en-US" and "es-ES" traditional cultures. :::code language="csharp" source="~/snippets/csharp/System.Globalization/SortKey/Overview/sortkey_compare.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.SortKey.Compare/VB/sortkey_compare.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/SortKey/Overview/sortkey_compare.vb" id="Snippet1"::: The following example shows how you can use the class to improve performance in an application that relies extensively on sorting and searching a large array. The example creates an unordered array of names, which in this case has 13 elements. It then stores the sort key of each name in a parallel array, which it passes to the method. The result is a sorted array. The example then searches the array for three strings. For each search string, it calls the method to retrieve the string's sort key, and then calls the method to retrieve the index of that sort key in the array of sort keys. Because the name and sort key arrays are parallel, the returned index is also the index of the name in the `names` array. :::code language="csharp" source="~/snippets/csharp/System.Globalization/SortKey/Overview/sortkey1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.sortkey.class/vb/sortkey1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/SortKey/Overview/sortkey1.vb" id="Snippet1"::: ]]> @@ -156,7 +156,7 @@ The following code example compares two strings using the method and the equivalent method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/SortKey/Compare/skcmp.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.sortkey.compare/vb/skcmp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/SortKey/Compare/skcmp.vb" id="Snippet1"::: ]]> @@ -229,7 +229,7 @@ The following code example shows the results of when compared with different objects. :::code language="csharp" source="~/snippets/csharp/System.Globalization/SortKey/Equals/sortkey_equals.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.SortKey.Equals/VB/sortkey_equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/SortKey/Equals/sortkey_equals.vb" id="Snippet1"::: ]]> @@ -346,7 +346,7 @@ The following code example displays an original string and the equivalent string and key data for a case-sensitive sort key and a case-insensitive sort key. :::code language="csharp" source="~/snippets/csharp/System.Globalization/SortKey/KeyData/ts.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.sortkey.tostring/vb/ts.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/SortKey/KeyData/ts.vb" id="Snippet1"::: ]]> @@ -400,7 +400,7 @@ The following code example displays an original string and the equivalent string and key data for a case-sensitive sort key and a case-insensitive sort key. :::code language="csharp" source="~/snippets/csharp/System.Globalization/SortKey/KeyData/ts.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.sortkey.tostring/vb/ts.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/SortKey/KeyData/ts.vb" id="Snippet1"::: ]]> @@ -459,7 +459,7 @@ The following code example displays an original string, the strings yielded by the method for case-sensitive and case-insensitive sort keys, and the key data for case-sensitive and case-insensitive sort keys. :::code language="csharp" source="~/snippets/csharp/System.Globalization/SortKey/KeyData/ts.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.sortkey.tostring/vb/ts.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/SortKey/KeyData/ts.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/SortVersion.xml b/xml/System.Globalization/SortVersion.xml index 578012e2e1e..c7464713fe0 100644 --- a/xml/System.Globalization/SortVersion.xml +++ b/xml/System.Globalization/SortVersion.xml @@ -68,7 +68,7 @@ The following example contains a portion of the source code from an application that uses the class to ensure that the native names of objects are ordered appropriately for the current system and current culture. It uses the and objects to store and retrieve ordered data from a data file named `Regions.dat` rather than retrieving and ordering data each time the application is run. The example first checks to determine whether the data file exists. If it does not, it creates the data and sets the `reindex` flag, which indicates that the data must be resorted and saved again. Otherwise, it retrieves the data and compares the saved object with the object for the current culture on the current system. If they aren't equal, or if the `reindex` flag had been set previously, it resorts to the data. :::code language="csharp" source="~/snippets/csharp/System.Globalization/SortVersion/Overview/example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.sortversion/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/SortVersion/Overview/example1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/StringInfo.xml b/xml/System.Globalization/StringInfo.xml index d8cdb68558b..2737bd6dd5a 100644 --- a/xml/System.Globalization/StringInfo.xml +++ b/xml/System.Globalization/StringInfo.xml @@ -103,14 +103,14 @@ The following example illustrates both ways of working with the text elements in Each string is parsed once by the method and then by the method. Both methods correctly parse the text elements in the two strings and display the results of the parsing operation. :::code language="csharp" source="~/snippets/csharp/System.Globalization/StringInfo/Overview/indexing1.cs" interactive="try-dotnet" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.stringinfo.class/vb/indexing1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Globalization/StringInfo/Overview/indexing1.vb" id="Snippet1"::: ## Examples This example uses the and methods of the class to manipulate a string that contains surrogate and combining characters. :::code language="csharp" source="~/snippets/csharp/System.Globalization/StringInfo/Overview/StringInfo.cs" interactive="try-dotnet" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StringInfo/vb/stringinfo.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Globalization/StringInfo/Overview/stringinfo.vb" id="Snippet1"::: ]]> @@ -733,7 +733,7 @@ A grapheme cluster is a sequence of one or more Unicode code points that should The following example demonstrates calling the method. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/StringInfo/Overview/StringInfo.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StringInfo/vb/stringinfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/StringInfo/Overview/stringinfo.vb" id="Snippet1"::: ]]> @@ -945,7 +945,7 @@ A grapheme cluster is a sequence of one or more Unicode code points that should The following example demonstrates calling the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/StringInfo/Overview/StringInfo.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StringInfo/vb/stringinfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/StringInfo/Overview/stringinfo.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/TaiwanCalendar.xml b/xml/System.Globalization/TaiwanCalendar.xml index f109bb661e2..0fcbe149d8f 100644 --- a/xml/System.Globalization/TaiwanCalendar.xml +++ b/xml/System.Globalization/TaiwanCalendar.xml @@ -224,7 +224,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: @@ -232,7 +232,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_AddGet/VB/taiwancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.vb" id="Snippet1"::: ]]> @@ -310,7 +310,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: @@ -318,7 +318,7 @@ The following code example displays the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_AddGet/VB/taiwancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.vb" id="Snippet1"::: ]]> @@ -380,7 +380,7 @@ The following example uses reflection to instantiate each type found in the .NET Framework and displays the value of its property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AlgorithmType/algorithmtype1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb" id="Snippet1"::: ]]> @@ -494,7 +494,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_AddGet/VB/taiwancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.vb" id="Snippet1"::: ]]> @@ -573,7 +573,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_AddGet/VB/taiwancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.vb" id="Snippet1"::: ]]> @@ -643,7 +643,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_AddGet/VB/taiwancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.vb" id="Snippet1"::: ]]> @@ -716,7 +716,7 @@ The following example calls for the second month in each of five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/GetDaysInMonth/taiwancalendar_getdaysinmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.GetDaysInMonth/VB/taiwancalendar_getdaysinmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/GetDaysInMonth/taiwancalendar_getdaysinmonth.vb" id="Snippet1"::: ]]> @@ -797,7 +797,7 @@ The following example calls for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/GetDaysInYear/taiwancalendar_getdaysinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.GetDaysInYear/VB/taiwancalendar_getdaysinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/GetDaysInYear/taiwancalendar_getdaysinyear.vb" id="Snippet1"::: ]]> @@ -872,7 +872,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_AddGet/VB/taiwancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1000,7 +1000,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_AddGet/VB/taiwancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1064,7 +1064,7 @@ The following example calls for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/GetMonthsInYear/taiwancalendar_getmonthsinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.GetMonthsInYear/VB/taiwancalendar_getmonthsinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/GetMonthsInYear/taiwancalendar_getmonthsinyear.vb" id="Snippet1"::: ]]> @@ -1156,7 +1156,7 @@ The following code example shows how the result of varies depending on the and values used. If the specified date is the last day of the year, returns the total number of weeks in that year. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar.GetWeekOfYear/VB/yslin_calendar_getweekofyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.vb" id="Snippet1"::: ]]> @@ -1222,7 +1222,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_AddGet/VB/taiwancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1300,7 +1300,7 @@ The following example calls for the last day of the second month (February) for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/IsLeapDay/taiwancalendar_isleapday.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.IsLeapDay/VB/taiwancalendar_isleapday.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/IsLeapDay/taiwancalendar_isleapday.vb" id="Snippet1"::: ]]> @@ -1390,7 +1390,7 @@ The following example calls for all the months in five years in the current era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/IsLeapMonth/taiwancalendar_isleapmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.IsLeapMonth/VB/taiwancalendar_isleapmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/IsLeapMonth/taiwancalendar_isleapmonth.vb" id="Snippet1"::: ]]> @@ -1472,7 +1472,7 @@ The following example calls for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/IsLeapYear/taiwancalendar_isleapyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.IsLeapYear/VB/taiwancalendar_isleapyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/IsLeapYear/taiwancalendar_isleapyear.vb" id="Snippet1"::: ]]> @@ -1542,7 +1542,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/MaxSupportedDateTime/taiwancalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_MinMax/VB/taiwancalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/MaxSupportedDateTime/taiwancalendar_minmax.vb" id="Snippet1"::: ]]> @@ -1608,7 +1608,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/MaxSupportedDateTime/taiwancalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_MinMax/VB/taiwancalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/MaxSupportedDateTime/taiwancalendar_minmax.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/TextElementEnumerator.xml b/xml/System.Globalization/TextElementEnumerator.xml index 0e43f92149d..8bb13b721d3 100644 --- a/xml/System.Globalization/TextElementEnumerator.xml +++ b/xml/System.Globalization/TextElementEnumerator.xml @@ -111,7 +111,7 @@ The following example uses the class to enumerate the text elements of a string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TextElementEnumerator/Overview/tee_summary.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TextElementEnumerator.Summary/VB/tee_summary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TextElementEnumerator/Overview/tee_summary.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/TextInfo.xml b/xml/System.Globalization/TextInfo.xml index 1fe4364ccc5..32c68de27ab 100644 --- a/xml/System.Globalization/TextInfo.xml +++ b/xml/System.Globalization/TextInfo.xml @@ -229,7 +229,7 @@ The user might use the regional and language options portion of Control Panel to The following code example demonstrates the and methods. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TextInfo/Clone/ro.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.textinfo.clone/vb/ro.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TextInfo/Clone/ro.vb" id="Snippet1"::: ]]> @@ -886,7 +886,7 @@ The property always reflects a spec The following code example demonstrates the and methods. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TextInfo/Clone/ro.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.glob.textinfo.clone/vb/ro.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TextInfo/Clone/ro.vb" id="Snippet1"::: ]]> @@ -961,7 +961,7 @@ The property always reflects a spec The following code example changes the casing of a string based on the English (United States) culture, with the culture name en-US. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TextInfo/ToTitleCase/textinfo_casing.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TextInfo_casing/VB/textinfo_casing.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TextInfo/ToTitleCase/textinfo_casing.vb" id="Snippet1"::: ]]> @@ -1246,12 +1246,12 @@ The property always reflects a spec The following example changes the casing of a string based on the English (United States) culture, with the culture name en-US. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TextInfo/ToTitleCase/textinfo_casing.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TextInfo_casing/VB/textinfo_casing.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TextInfo/ToTitleCase/textinfo_casing.vb" id="Snippet1"::: The following example passes each string in an array to the method. The strings include proper title strings as well as acronyms. The strings are converted to title case by using the conventions of the en-US culture. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TextInfo/ToTitleCase/totitlecase2.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.textinfo.totitlecase/vb/totitlecase2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TextInfo/ToTitleCase/totitlecase2.vb" id="Snippet1"::: ]]> @@ -1276,7 +1276,7 @@ The property always reflects a spec The following code example changes the casing of a string based on the English (United States) culture, with the culture name en-US. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TextInfo/ToTitleCase/textinfo_casing.cs" interactive="try-dotnet" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TextInfo_casing/VB/textinfo_casing.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Globalization/TextInfo/ToTitleCase/textinfo_casing.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/ThaiBuddhistCalendar.xml b/xml/System.Globalization/ThaiBuddhistCalendar.xml index eaa85ccdf8c..a418aa56136 100644 --- a/xml/System.Globalization/ThaiBuddhistCalendar.xml +++ b/xml/System.Globalization/ThaiBuddhistCalendar.xml @@ -222,7 +222,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: @@ -230,7 +230,7 @@ The following example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_AddGet/VB/thaibuddhistcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.vb" id="Snippet1"::: ]]> @@ -307,7 +307,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: @@ -315,7 +315,7 @@ The following example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_AddGet/VB/thaibuddhistcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.vb" id="Snippet1"::: ]]> @@ -377,7 +377,7 @@ The following example uses reflection to instantiate each type found in the .NET Framework and displays the value of its property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AlgorithmType/algorithmtype1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb" id="Snippet1"::: ]]> @@ -492,7 +492,7 @@ The following example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_AddGet/VB/thaibuddhistcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.vb" id="Snippet1"::: ]]> @@ -571,7 +571,7 @@ The following example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_AddGet/VB/thaibuddhistcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.vb" id="Snippet1"::: ]]> @@ -641,7 +641,7 @@ The following example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_AddGet/VB/thaibuddhistcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.vb" id="Snippet1"::: ]]> @@ -714,7 +714,7 @@ The following example calls for the second month in each of five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/GetDaysInMonth/thaibuddhistcalendar_getdaysinmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.GetDaysInMonth/VB/thaibuddhistcalendar_getdaysinmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/GetDaysInMonth/thaibuddhistcalendar_getdaysinmonth.vb" id="Snippet1"::: ]]> @@ -795,7 +795,7 @@ The following example calls for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/GetDaysInYear/thaibuddhistcalendar_getdaysinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.GetDaysInYear/VB/thaibuddhistcalendar_getdaysinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/GetDaysInYear/thaibuddhistcalendar_getdaysinyear.vb" id="Snippet1"::: ]]> @@ -870,7 +870,7 @@ The following example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_AddGet/VB/thaibuddhistcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.vb" id="Snippet1"::: ]]> @@ -998,7 +998,7 @@ The following example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_AddGet/VB/thaibuddhistcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.vb" id="Snippet1"::: ]]> @@ -1063,7 +1063,7 @@ The following example calls for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/GetMonthsInYear/thaibuddhistcalendar_getmonthsinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.GetMonthsInYear/VB/thaibuddhistcalendar_getmonthsinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/GetMonthsInYear/thaibuddhistcalendar_getmonthsinyear.vb" id="Snippet1"::: ]]> @@ -1155,7 +1155,7 @@ The following example shows how the result of the method varies depending on the and values used. If the specified date is the last day of the year, returns the total number of weeks in that year. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar.GetWeekOfYear/VB/yslin_calendar_getweekofyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.vb" id="Snippet1"::: ]]> @@ -1225,7 +1225,7 @@ The following example demonstrates the use of the Method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_AddGet/VB/thaibuddhistcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.vb" id="Snippet1"::: ]]> @@ -1302,7 +1302,7 @@ The following example calls for the last day of the second month (February) for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/IsLeapDay/thaibuddhistcalendar_isleapday.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.IsLeapDay/VB/thaibuddhistcalendar_isleapday.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/IsLeapDay/thaibuddhistcalendar_isleapday.vb" id="Snippet1"::: ]]> @@ -1393,7 +1393,7 @@ The following example calls for all the months in five years in the current era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/IsLeapMonth/thaibuddhistcalendar_isleapmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.IsLeapMonth/VB/thaibuddhistcalendar_isleapmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/IsLeapMonth/thaibuddhistcalendar_isleapmonth.vb" id="Snippet1"::: ]]> @@ -1476,7 +1476,7 @@ The following example calls for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/IsLeapYear/thaibuddhistcalendar_isleapyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.IsLeapYear/VB/thaibuddhistcalendar_isleapyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/IsLeapYear/thaibuddhistcalendar_isleapyear.vb" id="Snippet1"::: ]]> @@ -1547,7 +1547,7 @@ The following example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/MaxSupportedDateTime/thaibuddhistcalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_MinMax/VB/thaibuddhistcalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/MaxSupportedDateTime/thaibuddhistcalendar_minmax.vb" id="Snippet1"::: ]]> @@ -1608,7 +1608,7 @@ The following example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/MaxSupportedDateTime/thaibuddhistcalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_MinMax/VB/thaibuddhistcalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/MaxSupportedDateTime/thaibuddhistcalendar_minmax.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/UmAlQuraCalendar.xml b/xml/System.Globalization/UmAlQuraCalendar.xml index 501f0806730..c620caf8cdf 100644 --- a/xml/System.Globalization/UmAlQuraCalendar.xml +++ b/xml/System.Globalization/UmAlQuraCalendar.xml @@ -193,7 +193,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: @@ -201,7 +201,7 @@ The following example instantiates a value and displays the values of several of its components in the Um Al Qura calendar. Next, it calls the and methods to add 2 years and 10 months in the Um Al Qura calendar to the date value. Finally, it again displays the values of these date components in the Um Al Qura calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.addmonths/vb/addmonths1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.vb" id="Snippet1"::: ]]> @@ -275,7 +275,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: @@ -283,7 +283,7 @@ The following example instantiates a value and displays the values of several of its components in the Um AL Qura calendar. Next, it calls the and methods to add 2 years and 10 months in the Um Al Qura calendar to the date value. Finally, it again displays the values of these date components in the Um Al Qura calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.addmonths/vb/addmonths1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.vb" id="Snippet1"::: ]]> @@ -343,7 +343,7 @@ The following example uses reflection to instantiate each type found in the .NET Framework and displays the value of its property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AlgorithmType/algorithmtype1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb" id="Snippet1"::: ]]> @@ -503,7 +503,7 @@ The following example displays the values of several components of a in terms of the Um Al Qura calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.addmonths/vb/addmonths1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.vb" id="Snippet1"::: ]]> @@ -580,7 +580,7 @@ The following example displays the values of several components of a in terms of the Um Al Qura calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.addmonths/vb/addmonths1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.vb" id="Snippet1"::: ]]> @@ -648,7 +648,7 @@ The following example displays the values of several components of a in terms of the Um Al Qura calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.addmonths/vb/addmonths1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.vb" id="Snippet1"::: ]]> @@ -719,7 +719,7 @@ The following example calls the method to get the number of days in each month of five consecutive years. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/GetDaysInMonth/getdaysinmonth1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getdaysinmonth/vb/getdaysinmonth1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetDaysInMonth/getdaysinmonth1.vb" id="Snippet1"::: ]]> @@ -782,7 +782,7 @@ The following example calls the method to get the number of days in ten consecutive years in each era supported by the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/GetDaysInYear/getdaysinyear1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getdaysinyear/vb/getdaysinyear1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetDaysInYear/getdaysinyear1.vb" id="Snippet1"::: ]]> @@ -849,7 +849,7 @@ The following example displays the values of several components of a date in the Um Al Qura calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.addmonths/vb/addmonths1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.vb" id="Snippet1"::: ]]> @@ -974,7 +974,7 @@ The following example displays the date ranges supported by the class in both the Gregorian and Um Al Qura calendars. The method is used to retrieve the month of the minimum and maximum supported dates in the Um Al Qura calendar if it is not the current culture's current calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/GetMonth/getmonth1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getmonth/vb/getmonth1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetMonth/getmonth1.vb" id="Snippet1"::: ]]> @@ -1038,7 +1038,7 @@ The following example calls the method to determine the number of months in four consecutive years, and then calls the method to determine how many days there are in each month. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/GetDaysInMonth/getdaysinmonth1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getdaysinmonth/vb/getdaysinmonth1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetDaysInMonth/getdaysinmonth1.vb" id="Snippet1"::: ]]> @@ -1101,7 +1101,7 @@ The following example displays the date ranges supported by the class in both the Gregorian and Um Al Qura calendars. The method is used to retrieve the year of the minimum and maximum supported dates in the Um Al Qura calendar if it is not the current culture's current calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/GetMonth/getmonth1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getmonth/vb/getmonth1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetMonth/getmonth1.vb" id="Snippet1"::: ]]> @@ -1174,7 +1174,7 @@ The following example calls the method for the last day of the second month (February) for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/IsLeapDay/hijricalendar_isleapday.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.IsLeapDay/VB/hijricalendar_isleapday.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/IsLeapDay/hijricalendar_isleapday.vb" id="Snippet1"::: ]]> @@ -1305,7 +1305,7 @@ The following example lists the number of days in ten consecutive years and calls the method to determine which years are leap years. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/IsLeapYear/isleapyear1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.isleapyear/vb/isleapyear1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/IsLeapYear/isleapyear1.vb" id="Snippet1"::: ]]> @@ -1369,7 +1369,7 @@ The following example displays the date ranges supported by the class in both the Gregorian and Um Al Qura calendars. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/GetMonth/getmonth1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getmonth/vb/getmonth1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetMonth/getmonth1.vb" id="Snippet1"::: ]]> @@ -1424,7 +1424,7 @@ The following example displays the date ranges supported by the class in both the Gregorian and Um Al Qura calendars. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/GetMonth/getmonth1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getmonth/vb/getmonth1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetMonth/getmonth1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/UnicodeCategory.xml b/xml/System.Globalization/UnicodeCategory.xml index 34ac6a3a2ff..234e9b964aa 100644 --- a/xml/System.Globalization/UnicodeCategory.xml +++ b/xml/System.Globalization/UnicodeCategory.xml @@ -98,7 +98,7 @@ The following example displays the characters and their corresponding code points for characters in the UppercaseLetter category. You can modify the example to display the letters in any other category by replacing UppercaseLetter with the category of interest to you in the assignment to the `category` variable. Note that the output for some categories can be extensive. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UnicodeCategory/Overview/Characters1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.UnicodeCategory/vb/Characters1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UnicodeCategory/Overview/Characters1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO.Compression/ZipArchive.xml b/xml/System.IO.Compression/ZipArchive.xml index ab60d9225ec..c164c4d9ead 100644 --- a/xml/System.IO.Compression/ZipArchive.xml +++ b/xml/System.IO.Compression/ZipArchive.xml @@ -456,7 +456,7 @@ If the comment byte length is larger than , it will :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/CreateEntry/program1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO.Compression/ZipArchive/CreateEntry/program1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/vb/program1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/CreateEntry/program1.vb" id="Snippet1"::: ]]> @@ -520,7 +520,7 @@ If the comment byte length is larger than , it will :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/CreateEntry/program2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO.Compression/ZipArchive/CreateEntry/program2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/vb/program2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/CreateEntry/program2.vb" id="Snippet2"::: ]]> @@ -748,7 +748,7 @@ If the comment byte length is larger than , it will :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/Entries/program1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO.Compression/ZipArchive/Entries/program1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program1.vb" id="Snippet1"::: ]]> @@ -806,7 +806,7 @@ If the comment byte length is larger than , it will :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/GetEntry/program2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO.Compression/ZipArchive/GetEntry/program2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/vb/program2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/GetEntry/program2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IO.Compression/ZipArchiveEntry.xml b/xml/System.IO.Compression/ZipArchiveEntry.xml index 50b0883e42a..ceac7bd0260 100644 --- a/xml/System.IO.Compression/ZipArchiveEntry.xml +++ b/xml/System.IO.Compression/ZipArchiveEntry.xml @@ -170,7 +170,7 @@ If the comment byte length is larger than , it will The following example shows how to retrieve entries in a zip archive, and evaluate the properties of the entries. It uses the property to display the name of the entry, and the and properties to calculate how much the file was compressed. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/GetEntry/program1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/vb/program1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/GetEntry/program1.vb" id="Snippet1"::: ]]> @@ -455,7 +455,7 @@ If the comment byte length is larger than , it will The following example shows how to retrieve entries from a zip archive, and evaluate the properties of the entries. It uses the property to display the name of the entry, and the and properties to calculate how much the file was compressed. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/GetEntry/program1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/vb/program1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/GetEntry/program1.vb" id="Snippet1"::: ]]> @@ -548,7 +548,7 @@ If the comment byte length is larger than , it will The following example shows how to create a new entry, open it with the method, and write to the stream. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/CreateEntry/program1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/vb/program1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/CreateEntry/program1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO.Compression/ZipFile.xml b/xml/System.IO.Compression/ZipFile.xml index 1e97b9d511a..6edfe345316 100644 --- a/xml/System.IO.Compression/ZipFile.xml +++ b/xml/System.IO.Compression/ZipFile.xml @@ -1821,7 +1821,7 @@ An archive entry has been compressed using a compression method that is not supp :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/Entries/program3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO.Compression/ZipArchive/Entries/program3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program3.vb" id="Snippet3"::: ]]> @@ -2098,7 +2098,7 @@ An unspecified I/O error occurred while opening the file. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/Entries/program1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO.Compression/ZipArchive/Entries/program1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO.Compression/ZipFileExtensions.xml b/xml/System.IO.Compression/ZipFileExtensions.xml index e6fd970ef40..8a86d0a7765 100644 --- a/xml/System.IO.Compression/ZipFileExtensions.xml +++ b/xml/System.IO.Compression/ZipFileExtensions.xml @@ -131,7 +131,7 @@ The following example shows how to create a new entry in a zip archive from an existing file. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/Entries/program3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program3.vb" id="Snippet3"::: ]]> @@ -222,7 +222,7 @@ The following example shows how to create a new entry in a zip archive from an existing file, and specify the compression level. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/Entries/program4.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program4.vb" id="Snippet4"::: ]]> @@ -375,7 +375,7 @@ This method creates the directory specified by `destinationDirectoryName`. The m The following example shows how to create a new entry in a zip archive from an existing file, and extract the archive to a new directory. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/Entries/program3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program3.vb" id="Snippet3"::: ]]> @@ -615,7 +615,7 @@ A has been compressed usi The following example shows how to iterate through the contents of a zip archive file and extract files that have a .txt extension. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/Entries/program1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program1.vb" id="Snippet1"::: ]]> @@ -716,7 +716,7 @@ A has been compressed usi The following example shows how to iterate through the contents of a zip archive file, and extract files that have a .txt extension. It overwrites an existing file that has the same name in the destination folder. In order to compiler this code example, you must reference the `System.IO.Compression` and `System.IO.Compression.FileSystem` assemblies in your project. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/Entries/program2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IO.IsolatedStorage/IsolatedStorageFile.xml b/xml/System.IO.IsolatedStorage/IsolatedStorageFile.xml index 84221849b4a..8000585f844 100644 --- a/xml/System.IO.IsolatedStorage/IsolatedStorageFile.xml +++ b/xml/System.IO.IsolatedStorage/IsolatedStorageFile.xml @@ -83,7 +83,7 @@ The following code example illustrates how to create files and directories in an isolated store. First, a store that is isolated by user, domain, and assembly is retrieved and placed in the `isoStore` variable. The method is then called to create directories, and two instances of the class create files in these directories. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/conceptual.isolatedstorage/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Overview/source.vb" id="Snippet1"::: ]]> @@ -198,7 +198,7 @@ The following code example demonstrates how to use the method. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet10"::: ]]> @@ -442,7 +442,7 @@ The following code example demonstrates the method. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet7"::: ]]> @@ -592,7 +592,7 @@ The following code example demonstrates the property. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet5"::: ]]> @@ -661,7 +661,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet8"::: ]]> @@ -732,7 +732,7 @@ The following code example uses the method to delete a number of files in isolated storage. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet6"::: ]]> @@ -863,7 +863,7 @@ The following code example opens an isolated storage file, uses it to write information to a stream, closes the file, and then uses the method to release all resources. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet10"::: ]]> @@ -1178,7 +1178,7 @@ The following code example demonstrates the method. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet16"::: ]]> @@ -1384,7 +1384,7 @@ The following code example demonstrates the method. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet16"::: ]]> @@ -1595,7 +1595,7 @@ is functionally equivalent to the following code: :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/remarks.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.vb" id="Snippet18"::: ]]> @@ -1665,7 +1665,7 @@ is functionally equivalent to the following code: :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.cs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/remarks.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.vb" id="Snippet19"::: > [!NOTE] > Different assemblies running within the same application domain always have distinct isolated stores. @@ -1730,7 +1730,7 @@ is functionally equivalent to the following code: :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/remarks.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.vb" id="Snippet20"::: Different assemblies running within the same application domain always have distinct isolated stores. @@ -1743,7 +1743,7 @@ The following code example demonstrates the method. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet10"::: ]]> @@ -2157,7 +2157,7 @@ The following code example demonstrates the method. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet15"::: ]]> @@ -2244,7 +2244,7 @@ The following code example obtains storage based on publisher evidence. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/GetStore/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.GetStore/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/GetStore/source.vb" id="Snippet1"::: ]]> @@ -2324,7 +2324,7 @@ is functionally equivalent to the following code: :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/remarks.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.vb" id="Snippet21"::: In this code, the `applicationIdentity` parameter for `GetStore(IsolatedStorageScope scope, Object applicationIdentity)` is `null`. @@ -2397,7 +2397,7 @@ is functionally equivalent to the following code: :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/remarks.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.vb" id="Snippet22"::: > [!NOTE] > Different assemblies running within the same application domain always have distinct isolated stores. @@ -2467,7 +2467,7 @@ is functionally equivalent to the following code: :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/remarks.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.vb" id="Snippet23"::: Different assemblies running within the same application domain always have distinct isolated stores. @@ -2480,7 +2480,7 @@ The following code example demonstrates the method. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet10"::: ]]> @@ -2765,7 +2765,7 @@ The following code example demonstrates the property. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet5"::: ]]> @@ -3296,7 +3296,7 @@ The following code example uses the method to delete the isolated storage file after its contents have been emptied. The [How to: Delete Stores in Isolated Storage](/dotnet/standard/io/how-to-delete-stores-in-isolated-storage) example also demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet16"::: ]]> diff --git a/xml/System.IO.IsolatedStorage/IsolatedStorageFileStream.xml b/xml/System.IO.IsolatedStorage/IsolatedStorageFileStream.xml index fd7e3074051..30f8b96ae0f 100644 --- a/xml/System.IO.IsolatedStorage/IsolatedStorageFileStream.xml +++ b/xml/System.IO.IsolatedStorage/IsolatedStorageFileStream.xml @@ -79,7 +79,7 @@ The following console application demonstrates how you can use and to write data to an Isolated Storage file. The user is requested to log in. If the user is a new user, a News URL and a Sports URL are recorded as personal preferences in Isolated Storage. If the user is a returning user, the user's current preferences are displayed. The code examples used throughout this namespace are presented in the context of this sample application. You can use the [Storeadm.exe (Isolated Storage Tool)](/dotnet/framework/tools/storeadm-exe-isolated-storage-tool) utility to list and remove the Isolated Storage files that are created with this console application. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet1"::: ]]> @@ -280,7 +280,7 @@ The following code example demonstrates the use of this constructor. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet11"::: ]]> @@ -350,7 +350,7 @@ The following code example demonstrates the use of this constructor. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet15"::: ]]> @@ -427,7 +427,7 @@ The following code example demonstrates the use of this constructor. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet10"::: ]]> @@ -573,7 +573,7 @@ The following code example demonstrates the use of this constructor. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet11"::: ]]> @@ -659,7 +659,7 @@ The following code example demonstrates the use of this constructor. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet12"::: ]]> @@ -898,7 +898,7 @@ The following code example demonstrates how you could use the property, as a check to see whether a stream can be read before calling the or methods. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet11"::: ]]> @@ -1006,7 +1006,7 @@ The following code example demonstrates how you could use the property, as a check to see whether a stream can be read before calling the or methods. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet13"::: ]]> @@ -1518,7 +1518,7 @@ Dim source As New IsolatedStorageFileStream(UserName,FileMode.Open,isoFile) The following code example demonstrates the property. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet4"::: ]]> @@ -1576,7 +1576,7 @@ Dim source As New IsolatedStorageFileStream(UserName,FileMode.Open,isoFile) The following code example demonstrates how you can use the property to verify that an is synchronous. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet7"::: ]]> @@ -1634,7 +1634,7 @@ Dim source As New IsolatedStorageFileStream(UserName,FileMode.Open,isoFile) The following code example demonstrates the property. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet14"::: ]]> @@ -1751,7 +1751,7 @@ Dim source As New IsolatedStorageFileStream(UserName,FileMode.Open,isoFile) The following code example uses the property to write data to a file. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet14"::: ]]> @@ -2009,7 +2009,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following code example demonstrates how the method can be used to read data from an object. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet14"::: ]]> @@ -2494,7 +2494,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following code example demonstrates how the method can be used to read data from an object. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet14"::: ]]> diff --git a/xml/System.IO.IsolatedStorage/IsolatedStorageScope.xml b/xml/System.IO.IsolatedStorage/IsolatedStorageScope.xml index dbbd252d30b..5ab21b9b825 100644 --- a/xml/System.IO.IsolatedStorage/IsolatedStorageScope.xml +++ b/xml/System.IO.IsolatedStorage/IsolatedStorageScope.xml @@ -69,7 +69,7 @@ The following code example demonstrates how the enumeration is used in the methods. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet15"::: ]]> diff --git a/xml/System.IO.MemoryMappedFiles/MemoryMappedFile.xml b/xml/System.IO.MemoryMappedFiles/MemoryMappedFile.xml index a357af7b45b..0c3f7c8b240 100644 --- a/xml/System.IO.MemoryMappedFiles/MemoryMappedFile.xml +++ b/xml/System.IO.MemoryMappedFiles/MemoryMappedFile.xml @@ -72,7 +72,7 @@ The following example creates a memory-mapped view of a part of an extremely large file and manipulates a portion of it. :::code language="csharp" source="~/snippets/csharp/System.IO.MemoryMappedFiles/MemoryMappedFile/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/memorymappedfiles.memorymappedfile.createfromfile/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/Overview/program.vb" id="Snippet1"::: ]]> @@ -137,7 +137,7 @@ The following example uses the method to create a memory-mapped file, and then creates a memory-mapped view to a portion of an extremely large file. :::code language="csharp" source="~/snippets/csharp/System.IO.MemoryMappedFiles/MemoryMappedFile/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/memorymappedfiles.memorymappedfile.createfromfile/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/Overview/program.vb" id="Snippet1"::: ]]> @@ -927,17 +927,17 @@ Process C says: True **Process A** :::code language="csharp" source="~/snippets/csharp/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_x/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program2.vb" id="Snippet1"::: **Process B** :::code language="csharp" source="~/snippets/csharp/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_a/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program.vb" id="Snippet1"::: **Process C** :::code language="csharp" source="~/snippets/csharp/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_b/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program1.vb" id="Snippet1"::: ]]> @@ -1633,7 +1633,7 @@ Process C says: True The following example creates a view of a memory-mapped file and edits it. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.MemoryMappedFiles/MemoryMappedFile/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/memorymappedfiles.memorymappedfile.createfromfile/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/Overview/program.vb" id="Snippet2"::: ]]> @@ -1781,7 +1781,7 @@ Process C says: True The following example creates a stream and writes a value to it. This code example is part of a larger example provided for the method. :::code language="csharp" source="~/snippets/csharp/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_x/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program2.vb" id="Snippet2"::: ]]> @@ -2173,7 +2173,7 @@ Process C says: True The following example opens a memory-mapped file named `ImgA` that has already been created from a file on disk (as shown in the example for the method). :::code language="csharp" source="~/snippets/csharp/System.IO.MemoryMappedFiles/MemoryMappedFile/OpenExisting/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/memorymappedfiles.memorymappedfile.openexisting/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/OpenExisting/program.vb" id="Snippet1"::: **Opening a Non-Persisted Memory-Mapped File** diff --git a/xml/System.IO.MemoryMappedFiles/MemoryMappedViewAccessor.xml b/xml/System.IO.MemoryMappedFiles/MemoryMappedViewAccessor.xml index 47e619174eb..027d77a95f2 100644 --- a/xml/System.IO.MemoryMappedFiles/MemoryMappedViewAccessor.xml +++ b/xml/System.IO.MemoryMappedFiles/MemoryMappedViewAccessor.xml @@ -62,7 +62,7 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.MemoryMappedFiles/MemoryMappedFile/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/memorymappedfiles.memorymappedfile.createfromfile/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/Overview/program.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IO.MemoryMappedFiles/MemoryMappedViewStream.xml b/xml/System.IO.MemoryMappedFiles/MemoryMappedViewStream.xml index a9b8e81aa93..05cf6643833 100644 --- a/xml/System.IO.MemoryMappedFiles/MemoryMappedViewStream.xml +++ b/xml/System.IO.MemoryMappedFiles/MemoryMappedViewStream.xml @@ -62,7 +62,7 @@ This code example is part of a larger example provided for the method. :::code language="csharp" source="~/snippets/csharp/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_x/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IO.Pipes/AnonymousPipeClientStream.xml b/xml/System.IO.Pipes/AnonymousPipeClientStream.xml index b6de0e08dcf..efc28b9aecd 100644 --- a/xml/System.IO.Pipes/AnonymousPipeClientStream.xml +++ b/xml/System.IO.Pipes/AnonymousPipeClientStream.xml @@ -69,7 +69,7 @@ The following example sends a string from a parent process to a child process by This example is for the client process, which is started by the server process. Name the resulting executable from the client code `pipeClient.exe` and copy it to the same directory as the server executable when you run this example. For the entire code example, including the code for both the pipe client and server, see [How to: Use Anonymous Pipes for Local Interprocess Communication](/dotnet/standard/io/how-to-use-anonymous-pipes-for-local-interprocess-communication). :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/AnonymousPipeClientStream/Overview/Program.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_Sample/vb/program.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/AnonymousPipeClientStream/Overview/program.vb"::: ]]> @@ -145,7 +145,7 @@ The following example sends a string from a parent process to a child process by The following example demonstrates a way to send a string from a parent process to a child process by using anonymous pipes. In this example, an object is created in a child process. :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/AnonymousPipeClientStream/.ctor/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_ctorSample1/vb/program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/AnonymousPipeClientStream/.ctor/program.vb" id="Snippet01"::: ]]> @@ -213,7 +213,7 @@ The following example sends a string from a parent process to a child process by The following example demonstrates a way to send a string from a parent process to a child process by using anonymous pipes. In this example, an object is created in a child process with a value of . :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/AnonymousPipeClientStream/.ctor/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_ctorSample1/vb/program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/AnonymousPipeClientStream/.ctor/program.vb" id="Snippet01"::: ]]> @@ -290,7 +290,7 @@ The following example sends a string from a parent process to a child process by The following example demonstrates a way to send a string from a parent process to a child process by using anonymous pipes. In this example, an object is created in a child process with a value of . :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/AnonymousPipeClientStream/Overview/Program.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_Sample/vb/program.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/AnonymousPipeClientStream/Overview/program.vb"::: ]]> @@ -399,7 +399,7 @@ Anonymous pipes do not support the object is created in a child process. :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/AnonymousPipeClientStream/Overview/Program.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_Sample/vb/program.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/AnonymousPipeClientStream/Overview/program.vb"::: ]]> @@ -465,7 +465,7 @@ Anonymous pipes do not support object is created in a child process and the is displayed to the console. :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/AnonymousPipeClientStream/Overview/Program.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_Sample/vb/program.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/AnonymousPipeClientStream/Overview/program.vb"::: ]]> diff --git a/xml/System.IO.Pipes/AnonymousPipeServerStream.xml b/xml/System.IO.Pipes/AnonymousPipeServerStream.xml index 783d153ae7c..463d47b8f21 100644 --- a/xml/System.IO.Pipes/AnonymousPipeServerStream.xml +++ b/xml/System.IO.Pipes/AnonymousPipeServerStream.xml @@ -70,7 +70,7 @@ The following example sends a string from a parent process to a child process us This example is for the server process, which uses the class. For the entire code example, including the code for both the pipe client and server, see [How to: Use Anonymous Pipes for Local Interprocess Communication](/dotnet/standard/io/how-to-use-anonymous-pipes-for-local-interprocess-communication). :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/AnonymousPipeServerStream/Overview/Program.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeServerStream_Sample/vb/program.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/AnonymousPipeServerStream/Overview/program.vb"::: ]]> @@ -272,7 +272,7 @@ The following example sends a string from a parent process to a child process us The following example demonstrates a method to send a string from a parent process to a child process using anonymous pipes. In this example, an object is created in a parent process with a value of . :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/AnonymousPipeServerStream/Overview/Program.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeServerStream_Sample/vb/program.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/AnonymousPipeServerStream/Overview/program.vb"::: ]]> @@ -651,7 +651,7 @@ The following example sends a string from a parent process to a child process us The following example demonstrates a way to send a string from a parent process to a child process by using anonymous pipes. In this example, an object is created in a parent process with a value of . :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/AnonymousPipeServerStream/Overview/Program.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeServerStream_Sample/vb/program.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/AnonymousPipeServerStream/Overview/program.vb"::: ]]> @@ -753,7 +753,7 @@ The following example sends a string from a parent process to a child process us The following example demonstrates a way to send a string from a parent process to a child process by using anonymous pipes. In this example, an object is created in a parent process with a value of . :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/AnonymousPipeServerStream/Overview/Program.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeServerStream_Sample/vb/program.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/AnonymousPipeServerStream/Overview/program.vb"::: ]]> @@ -873,7 +873,7 @@ Anonymous pipes do not support the object is created in a parent process and the property is displayed to the console. :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/AnonymousPipeServerStream/Overview/Program.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeServerStream_Sample/vb/program.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/AnonymousPipeServerStream/Overview/program.vb"::: ]]> diff --git a/xml/System.IO.Pipes/NamedPipeClientStream.xml b/xml/System.IO.Pipes/NamedPipeClientStream.xml index 45b95a1c4e3..38b80c48c03 100644 --- a/xml/System.IO.Pipes/NamedPipeClientStream.xml +++ b/xml/System.IO.Pipes/NamedPipeClientStream.xml @@ -63,7 +63,7 @@ This example is for the client process, which connects to the server process. For the entire code sample, including the code for both the pipe client and server, see [How to: Use Named Pipes for Network Interprocess Communication](/dotnet/standard/io/how-to-use-named-pipes-for-network-interprocess-communication). :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/NamedPipeClientStream/Overview/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeClientStream_Sample1/vb/program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/NamedPipeClientStream/Overview/program.vb" id="Snippet01"::: ]]> @@ -297,7 +297,7 @@ The following example demonstrates a method to send a string from a parent process to a child process using named pipes. This example creates a object in a child process, which then connects to a pipe on the local computer. The server example can be seen in the class. This example is part of a larger example provided for the and classes. :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/NamedPipeClientStream/Overview/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeClientStream_Sample1/vb/program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/NamedPipeClientStream/Overview/program.vb" id="Snippet01"::: ]]> @@ -814,7 +814,7 @@ The following example demonstrates a method to send a string from a parent process to a child process using named pipes. This example creates a object in a child process, which then connects to a pipe on the local computer. The server example can be seen in the class. This example is part of a larger example provided for the and classes. :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/NamedPipeClientStream/Overview/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeClientStream_Sample1/vb/program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/NamedPipeClientStream/Overview/program.vb" id="Snippet01"::: ]]> @@ -1235,7 +1235,7 @@ The following example demonstrates a method to send a string from a parent process to a child process using named pipes. In this example, a object is created in a child process, which then connects to a pipe on the local computer. The server example can be seen in the class. This example is part of a larger example provided for the and classes. :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/NamedPipeClientStream/Overview/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeClientStream_Sample1/vb/program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/NamedPipeClientStream/Overview/program.vb" id="Snippet01"::: ]]> diff --git a/xml/System.IO.Pipes/NamedPipeServerStream.xml b/xml/System.IO.Pipes/NamedPipeServerStream.xml index cce929e5542..abbb7f7afa4 100644 --- a/xml/System.IO.Pipes/NamedPipeServerStream.xml +++ b/xml/System.IO.Pipes/NamedPipeServerStream.xml @@ -68,7 +68,7 @@ The following example demonstrates a way to send a string from a parent process This example is for the server process, which uses the class. For the entire code example, including the code for both the pipe client and server, see [How to: Use Named Pipes for Network Interprocess Communication](/dotnet/standard/io/how-to-use-named-pipes-for-network-interprocess-communication). :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/NamedPipeServerStream/Overview/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_Sample1/vb/program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/NamedPipeServerStream/Overview/program.vb" id="Snippet01"::: ]]> @@ -241,7 +241,7 @@ This example is for the server process, which uses the object in a parent process. The object has a value of , which then blocks until a object establishes a connection to the current object. :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/NamedPipeServerStream/Overview/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_Sample1/vb/program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/NamedPipeServerStream/Overview/program.vb" id="Snippet01"::: ]]> @@ -1278,7 +1278,7 @@ This example is for the server process, which uses the object in a parent process, which then creates multiple threads that wait for objects to connect. After a client is connected, it supplies a file name to the server and the contents of that file are read and sent back to the client. Because the impersonates the client when opening the file, the client can request only files that it has sufficient permissions to open. :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/NamedPipeServerStream/GetImpersonationUserName/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_ImpersonationSample1/vb/program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/NamedPipeServerStream/GetImpersonationUserName/program.vb" id="Snippet01"::: ]]> @@ -1404,7 +1404,7 @@ This example is for the server process, which uses the object in a parent process, which then creates multiple threads that wait for objects to connect. After a client is connected, it supplies a file name to the server and the contents of that file are read and sent back to the client. Because the impersonates the client when opening the file, the client can request only files that it has sufficient permissions to open. :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/NamedPipeServerStream/GetImpersonationUserName/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_ImpersonationSample1/vb/program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/NamedPipeServerStream/GetImpersonationUserName/program.vb" id="Snippet01"::: ]]> @@ -1481,7 +1481,7 @@ This example is for the server process, which uses the object in a parent process. This object has a value of , which then blocks until a object establishes a connection to the object. This example is part of a larger example provided for the and classes. :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/NamedPipeServerStream/Overview/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_Sample1/vb/program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/NamedPipeServerStream/Overview/program.vb" id="Snippet01"::: ]]> diff --git a/xml/System.IO.Pipes/PipeStream.xml b/xml/System.IO.Pipes/PipeStream.xml index 31f8bc3409d..2ca134fc0b1 100644 --- a/xml/System.IO.Pipes/PipeStream.xml +++ b/xml/System.IO.Pipes/PipeStream.xml @@ -1648,7 +1648,7 @@ The pipe handle has not been set. (Did your diff --git a/xml/System.IO.Ports/Handshake.xml b/xml/System.IO.Ports/Handshake.xml index 799bd3b9803..b463f09be1e 100644 --- a/xml/System.IO.Ports/Handshake.xml +++ b/xml/System.IO.Ports/Handshake.xml @@ -39,7 +39,7 @@ The following code example displays the possible values of the enumeration to the console, then prompts the user to choose one. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet05"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet05"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet05"::: ]]> diff --git a/xml/System.IO.Ports/Parity.xml b/xml/System.IO.Ports/Parity.xml index e6a8927131e..c01b6ed0077 100644 --- a/xml/System.IO.Ports/Parity.xml +++ b/xml/System.IO.Ports/Parity.xml @@ -41,7 +41,7 @@ The following code example displays the possible values of the enumeration to the console, then prompts the user to choose one. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet03"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet03"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet03"::: ]]> diff --git a/xml/System.IO.Ports/SerialPort.xml b/xml/System.IO.Ports/SerialPort.xml index 5106d9e1cb7..621f855d592 100644 --- a/xml/System.IO.Ports/SerialPort.xml +++ b/xml/System.IO.Ports/SerialPort.xml @@ -52,7 +52,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. Both computers must be executing the program to achieve full functionality of this example. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet10"::: ]]> @@ -98,7 +98,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -458,12 +458,12 @@ The following example shows how to set the property to `9600`. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/datareceived.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/datareceived.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/datareceived.vb" id="Snippet20"::: The following example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -703,7 +703,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -817,7 +817,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -880,7 +880,7 @@ This example adds a to to read all the available data received on the COM1 port. Note that to test this code it is necessary to have hardware attached to COM1 that will send data. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/datareceived.cs" id="Snippet06"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/datareceived.vb" id="Snippet06"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/datareceived.vb" id="Snippet06"::: ]]> @@ -1310,7 +1310,7 @@ The following code example uses the method to display serial port names to the console. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/SerialPort/GetPortNames/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IO.Ports.GetPortNames/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/SerialPort/GetPortNames/example.vb" id="Snippet1"::: ]]> @@ -1372,7 +1372,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -1547,7 +1547,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -1625,7 +1625,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -1793,7 +1793,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -2156,7 +2156,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -2226,7 +2226,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -2445,12 +2445,12 @@ The following example shows how to set the property to `One`. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/datareceived.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/datareceived.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/datareceived.vb" id="Snippet20"::: The following example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -2706,7 +2706,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -2773,7 +2773,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> diff --git a/xml/System.IO.Ports/StopBits.xml b/xml/System.IO.Ports/StopBits.xml index 5157910b5d7..f5b82453263 100644 --- a/xml/System.IO.Ports/StopBits.xml +++ b/xml/System.IO.Ports/StopBits.xml @@ -39,12 +39,12 @@ The following example shows how to set the property to `One`. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/datareceived.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/datareceived.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/datareceived.vb" id="Snippet20"::: The following code example displays the possible values of the enumeration to the console, then prompts the user to choose one. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet04"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet04"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet04"::: ]]> diff --git a/xml/System.IO/BinaryReader.xml b/xml/System.IO/BinaryReader.xml index 513fe01d446..02d836ec59a 100644 --- a/xml/System.IO/BinaryReader.xml +++ b/xml/System.IO/BinaryReader.xml @@ -101,7 +101,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> @@ -188,7 +188,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> @@ -387,7 +387,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/BaseStream/rwdouble.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/BaseStream/rwdouble.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWDouble/VB/rwdouble.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/BaseStream/rwdouble.vb" id="Snippet1"::: ]]> @@ -814,7 +814,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Read/rwreadchar.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Read/rwreadchar.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChar2/VB/rwreadchar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Read/rwreadchar.vb" id="Snippet1"::: ]]> @@ -990,13 +990,13 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Read/rwreadbytes.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Read/rwreadbytes.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWBytes2/VB/rwreadbytes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Read/rwreadbytes.vb" id="Snippet1"::: This example reads the contents of a file and displays each byte's numeric value in 16-column format. The end of the file that is being read is detected when the method returns zero bytes. :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source5.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source5.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source5.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source5.vb" id="Snippet6"::: ]]> @@ -1092,7 +1092,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Read/rwreadchars.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Read/rwreadchars.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChars2/VB/rwreadchars.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Read/rwreadchars.vb" id="Snippet1"::: ]]> @@ -1298,7 +1298,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> @@ -1381,7 +1381,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/ReadByte/rwbyte.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/ReadByte/rwbyte.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWByte/VB/rwbyte.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/ReadByte/rwbyte.vb" id="Snippet1"::: ]]> @@ -1465,13 +1465,13 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/ReadBytes/rwbytes.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/ReadBytes/rwbytes.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWBytes1/VB/rwbytes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/ReadBytes/rwbytes.vb" id="Snippet1"::: This example reads the contents of a file and displays it to the console as dump text. The end of the file that is being read is detected when the length of the array returned from is zero. :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source5.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source5.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source5.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source5.vb" id="Snippet6"::: ]]> @@ -1556,7 +1556,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/ReadChar/rwchar.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/ReadChar/rwchar.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChar1/VB/rwchar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/ReadChar/rwchar.vb" id="Snippet1"::: ]]> @@ -1642,7 +1642,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/ReadChars/rwchars.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/ReadChars/rwchars.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChars1/VB/rwchars.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/ReadChars/rwchars.vb" id="Snippet1"::: ]]> @@ -1794,7 +1794,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/BaseStream/rwdouble.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/BaseStream/rwdouble.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWDouble/VB/rwdouble.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/BaseStream/rwdouble.vb" id="Snippet1"::: ]]> @@ -2036,7 +2036,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> @@ -2263,7 +2263,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> @@ -2344,7 +2344,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO/BinaryWriter.xml b/xml/System.IO/BinaryWriter.xml index 9cfb84157c9..5ab41b95109 100644 --- a/xml/System.IO/BinaryWriter.xml +++ b/xml/System.IO/BinaryWriter.xml @@ -116,7 +116,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> @@ -260,7 +260,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> @@ -459,7 +459,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/BaseStream/rwdouble.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/BaseStream/rwdouble.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWDouble/VB/rwdouble.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/BaseStream/rwdouble.vb" id="Snippet1"::: ]]> @@ -945,7 +945,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source3.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source3.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source3.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source3.vb" id="Snippet5"::: ]]> @@ -1078,7 +1078,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> @@ -1166,7 +1166,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/ReadByte/rwbyte.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/ReadByte/rwbyte.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWByte/VB/rwbyte.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/ReadByte/rwbyte.vb" id="Snippet1"::: ]]> @@ -1240,7 +1240,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/ReadBytes/rwbytes.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/ReadBytes/rwbytes.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWBytes1/VB/rwbytes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/ReadBytes/rwbytes.vb" id="Snippet1"::: ]]> @@ -1332,7 +1332,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/ReadChar/rwchar.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/ReadChar/rwchar.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChar1/VB/rwchar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/ReadChar/rwchar.vb" id="Snippet1"::: ]]> @@ -1422,7 +1422,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/ReadChars/rwchars.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/ReadChars/rwchars.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChars1/VB/rwchars.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/ReadChars/rwchars.vb" id="Snippet1"::: ]]> @@ -1583,7 +1583,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/BaseStream/rwdouble.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/BaseStream/rwdouble.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWDouble/VB/rwdouble.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/BaseStream/rwdouble.vb" id="Snippet1"::: ]]> @@ -1644,7 +1644,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/BaseStream/rwdouble.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/BaseStream/rwdouble.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWDouble/VB/rwdouble.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/BaseStream/rwdouble.vb" id="Snippet1"::: ]]> @@ -1800,7 +1800,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> @@ -2108,7 +2108,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> @@ -2192,7 +2192,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> @@ -2492,7 +2492,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Read/rwreadbytes.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Read/rwreadbytes.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWBytes2/VB/rwreadbytes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Read/rwreadbytes.vb" id="Snippet1"::: ]]> @@ -2575,7 +2575,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Read/rwreadchars.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Read/rwreadchars.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChars2/VB/rwreadchars.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Read/rwreadchars.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO/BufferedStream.xml b/xml/System.IO/BufferedStream.xml index 0ba17909dad..d78a19f6ca7 100644 --- a/xml/System.IO/BufferedStream.xml +++ b/xml/System.IO/BufferedStream.xml @@ -98,13 +98,13 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BufferedStream/Overview/client.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BufferedStream/Overview/client.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream1/VB/client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BufferedStream/Overview/client.vb" id="Snippet1"::: **Example 2: Code that runs on the server** :::code language="csharp" source="~/snippets/csharp/System.IO/BufferedStream/Overview/server.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BufferedStream/Overview/server.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream2/VB/server.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BufferedStream/Overview/server.vb" id="Snippet1"::: ]]> @@ -245,7 +245,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BufferedStream/Overview/client.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BufferedStream/Overview/client.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream1/VB/client.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BufferedStream/Overview/client.vb" id="Snippet2"::: ]]> @@ -544,7 +544,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BufferedStream/Overview/client.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BufferedStream/Overview/client.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream1/VB/client.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BufferedStream/Overview/client.vb" id="Snippet5"::: ]]> @@ -615,7 +615,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BufferedStream/Overview/client.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BufferedStream/Overview/client.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream1/VB/client.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BufferedStream/Overview/client.vb" id="Snippet3"::: ]]> @@ -687,7 +687,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BufferedStream/Overview/client.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BufferedStream/Overview/client.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream1/VB/client.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BufferedStream/Overview/client.vb" id="Snippet4"::: ]]> @@ -1165,7 +1165,7 @@ Calling `DisposeAsync` allows the resources used by the @@ -1489,7 +1489,7 @@ Use for reading primitive data types. :::code language="csharp" source="~/snippets/csharp/System.IO/BufferedStream/Overview/client.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BufferedStream/Overview/client.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream1/VB/client.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BufferedStream/Overview/client.vb" id="Snippet7"::: ]]> @@ -2016,7 +2016,7 @@ If the write operation is successful, the position within the buffered stream ad :::code language="csharp" source="~/snippets/csharp/System.IO/BufferedStream/Overview/client.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BufferedStream/Overview/client.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream1/VB/client.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BufferedStream/Overview/client.vb" id="Snippet6"::: ]]> diff --git a/xml/System.IO/Directory.xml b/xml/System.IO/Directory.xml index 41cd2e75d14..01841e2d0c2 100644 --- a/xml/System.IO/Directory.xml +++ b/xml/System.IO/Directory.xml @@ -114,19 +114,19 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/Overview/class2.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/Overview/class2.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class2.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/Overview/class2.vb" id="Snippet10"::: The following example demonstrates how to use the method to retrieve a collection of text files from a directory, and then use that collection in a query to find all the lines that contain "Example". :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/Overview/class3.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/Overview/class3.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class3.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/Overview/class3.vb" id="Snippet11"::: The following example demonstrates how to move a directory and all its files to a new directory. The original directory no longer exists after it has been moved. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/Overview/class6.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/Overview/class6.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class6.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/Overview/class6.vb" id="Snippet14"::: ]]> @@ -227,7 +227,7 @@ The following example creates and deletes the specified directory: :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/CreateDirectory/dir_createdir.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/CreateDirectory/dir_createdir.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dir_CreateDir/VB/dir_createdir.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/CreateDirectory/dir_createdir.vb" id="Snippet1"::: To create the directory *C:\Users\User1\Public\Html* when the current directory is *C:\Users\User1*, use any of the following calls to ensure that the backslash is interpreted properly: @@ -384,7 +384,7 @@ Directory.CreateDirectory("c:\\Users\\User1\\Public\\Html"); :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/Overview/class7.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/Overview/class7.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class7.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/Overview/class7.vb" id="Snippet15"::: ]]> @@ -593,7 +593,7 @@ An I/O error occurred. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/Delete/class1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/Delete/class1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.delete/vb/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/Delete/class1.vb" id="Snippet1"::: ]]> @@ -708,7 +708,7 @@ An I/O error occurred. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/Delete/class2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/Delete/class2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.delete/vb/class2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/Delete/class2.vb" id="Snippet2"::: ]]> @@ -815,7 +815,7 @@ An I/O error occurred. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/EnumerateDirectories/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/EnumerateDirectories/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs1/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/EnumerateDirectories/program.vb" id="Snippet1"::: ]]> @@ -906,7 +906,7 @@ An I/O error occurred. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/EnumerateDirectories/program1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/EnumerateDirectories/program1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs2/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/EnumerateDirectories/program1.vb" id="Snippet1"::: ]]> @@ -1088,7 +1088,7 @@ An I/O error occurred. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/EnumerateDirectories/program2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/EnumerateDirectories/program2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs3/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/EnumerateDirectories/program2.vb" id="Snippet1"::: ]]> @@ -1184,13 +1184,13 @@ An I/O error occurred. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/Overview/class4.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/Overview/class4.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class4.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/Overview/class4.vb" id="Snippet12"::: The following example enumerates the files in the specified directory, reads each line of the file, and displays the line if it contains the string "Europe". :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/EnumerateFiles/program1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/EnumerateFiles/program1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.enumfiles/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/EnumerateFiles/module1.vb" id="Snippet1"::: ]]> @@ -1281,13 +1281,13 @@ The returned collection is not cached. Each call to the @@ -1475,13 +1475,13 @@ The returned collection is not cached. Each call to the @@ -1964,7 +1964,7 @@ The returned collection is not cached. Each call to the @@ -2180,7 +2180,7 @@ The returned collection is not cached. Each call to the @@ -2267,7 +2267,7 @@ The returned collection is not cached. Each call to the @@ -2347,7 +2347,7 @@ The returned collection is not cached. Each call to the @@ -2440,7 +2440,7 @@ The returned collection is not cached. Each call to the @@ -2541,7 +2541,7 @@ The returned collection is not cached. Each call to the @@ -2731,7 +2731,7 @@ The returned collection is not cached. Each call to the @@ -2831,7 +2831,7 @@ The returned collection is not cached. Each call to the @@ -2925,7 +2925,7 @@ The returned collection is not cached. Each call to the @@ -3030,7 +3030,7 @@ The returned collection is not cached. Each call to the @@ -3335,7 +3335,7 @@ The returned collection is not cached. Each call to the @@ -3441,7 +3441,7 @@ The returned collection is not cached. Each call to the @@ -3735,7 +3735,7 @@ The returned collection is not cached. Each call to the @@ -3823,7 +3823,7 @@ The returned collection is not cached. Each call to the @@ -3915,7 +3915,7 @@ The returned collection is not cached. Each call to the @@ -4002,7 +4002,7 @@ The returned collection is not cached. Each call to the @@ -4080,7 +4080,7 @@ The returned collection is not cached. Each call to the @@ -4166,7 +4166,7 @@ The returned collection is not cached. Each call to the @@ -4264,7 +4264,7 @@ The following example demonstrates how to move a directory and all its files to :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/Overview/class6.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/Overview/class6.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class6.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/Overview/class6.vb" id="Snippet14"::: ]]> @@ -4498,7 +4498,7 @@ There are too many levels of symbolic links. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/GetCreationTimeUtc/example.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/GetCreationTimeUtc/example.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.UTCExample/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/GetCreationTimeUtc/example.vb" id="Snippet1"::: ]]> @@ -4671,7 +4671,7 @@ There are too many levels of symbolic links. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/GetDirectoryRoot/example.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/GetDirectoryRoot/example.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DirectoryRoot/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/GetDirectoryRoot/example.vb" id="Snippet1"::: ]]> @@ -4754,7 +4754,7 @@ There are too many levels of symbolic links. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/SetLastAccessTime/dir_setlastaccess.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/SetLastAccessTime/dir_setlastaccess.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dir_SetLastAccess/VB/dir_setlastaccess.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/SetLastAccessTime/dir_setlastaccess.vb" id="Snippet1"::: ]]> @@ -4844,7 +4844,7 @@ There are too many levels of symbolic links. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/GetCreationTimeUtc/example.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/GetCreationTimeUtc/example.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.UTCExample/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/GetCreationTimeUtc/example.vb" id="Snippet1"::: ]]> @@ -4928,7 +4928,7 @@ There are too many levels of symbolic links. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/SetLastWriteTime/dir_setlastwrite.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/SetLastWriteTime/dir_setlastwrite.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Dir_SetLastWrite/VB/dir_setlastwrite.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/SetLastWriteTime/dir_setlastwrite.vb" id="Snippet1"::: ]]> @@ -5021,7 +5021,7 @@ There are too many levels of symbolic links. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/GetCreationTimeUtc/example.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/GetCreationTimeUtc/example.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.UTCExample/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/GetCreationTimeUtc/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO/DirectoryInfo.xml b/xml/System.IO/DirectoryInfo.xml index 41f1271e43d..8740a5066a1 100644 --- a/xml/System.IO/DirectoryInfo.xml +++ b/xml/System.IO/DirectoryInfo.xml @@ -101,13 +101,13 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/Overview/dirinfo class example.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/Overview/dirinfo class example.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DirInfo Class Example/VB/dirinfo class example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/Overview/dirinfo class example.vb" id="Snippet1"::: The following example demonstrates how to copy a directory and its contents. :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/Overview/copydir.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/Overview/copydir.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IO.DirectoryInfo-CopyDir/vb/CopyDir.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/Overview/CopyDir.vb" id="Snippet1"::: ]]> @@ -189,7 +189,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/.ctor/dirinfo ctor.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/.ctor/dirinfo ctor.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DirInfo Ctor/VB/dirinfo ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/.ctor/dirinfo ctor.vb" id="Snippet1"::: ]]> @@ -271,7 +271,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/Create/dirinfo create.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/Create/dirinfo create.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DirInfo Create/VB/dirinfo create.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/Create/dirinfo create.vb" id="Snippet1"::: ]]> @@ -436,7 +436,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/CreateSubdirectory/directoryinfocreatesub.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/CreateSubdirectory/directoryinfocreatesub.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/directoryinfocreatesub/VB/directoryinfocreatesub.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/CreateSubdirectory/directoryinfocreatesub.vb" id="Snippet1"::: ]]> @@ -605,7 +605,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/Delete/dirinfo delete1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/Delete/dirinfo delete1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DirInfo Delete1/VB/dirinfo delete1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/Delete/dirinfo delete1.vb" id="Snippet1"::: ]]> @@ -694,7 +694,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/Delete/directoryinfodelete.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/Delete/directoryinfodelete.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/directoryinfodelete/VB/directoryinfodelete.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/Delete/directoryinfodelete.vb" id="Snippet1"::: ]]> @@ -816,7 +816,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/EnumerateDirectories/program.cs"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/EnumerateDirectories/program.fs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumdirs/vb/module1.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/EnumerateDirectories/module1.vb"::: ]]> @@ -1109,7 +1109,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/EnumerateDirectories/program1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/EnumerateDirectories/program1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumeratedirectories/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/EnumerateDirectories/program.vb" id="Snippet1"::: ]]> @@ -1220,13 +1220,13 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/EnumerateFiles/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/EnumerateFiles/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumfiles/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/EnumerateFiles/module1.vb" id="Snippet1"::: The following example shows how to enumerate files in a directory by using different search options. The example assumes a directory that has files named log1.txt, log2.txt, test1.txt, test2.txt, test3.txt, and a subdirectory that has a file named SubFile.txt. :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/EnumerateFiles/program2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/EnumerateFiles/program2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumfiles/vb/module2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/EnumerateFiles/module2.vb" id="Snippet2"::: ]]> @@ -1333,7 +1333,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/EnumerateFiles/program2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/EnumerateFiles/program2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumfiles/vb/module2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/EnumerateFiles/module2.vb" id="Snippet2"::: ]]> @@ -1534,7 +1534,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/EnumerateFiles/program2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/EnumerateFiles/program2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumfiles/vb/module2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/EnumerateFiles/module2.vb" id="Snippet2"::: ]]> @@ -1994,7 +1994,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/Exists/copydirectory.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/Exists/copydirectory.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DirectoryInfo Usage Example/VB/copydirectory.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/Exists/copydirectory.vb" id="Snippet1"::: ]]> @@ -2101,7 +2101,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/GetAccessControl/sample.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/GetAccessControl/sample.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IO.DiretoryInfo.GetAccessControl-SetAccessControl/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/GetAccessControl/sample.vb" id="Snippet1"::: ]]> @@ -2255,7 +2255,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/GetDirectories/directoryinfogetdirectories.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/GetDirectories/directoryinfogetdirectories.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/directoryinfogetdirectories/VB/directoryinfogetdirectories.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/GetDirectories/directoryinfogetdirectories.vb" id="Snippet1"::: ]]> @@ -2354,7 +2354,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/GetDirectories/dirinfo getdirs2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/GetDirectories/dirinfo getdirs2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DirInfo GetDirs2/VB/dirinfo getdirs2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/GetDirectories/dirinfo getdirs2.vb" id="Snippet1"::: ]]> @@ -2539,7 +2539,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/GetDirectories/searchoption.cs" id="Snippet00"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/GetDirectories/searchoption.fs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DirectoryInfo_SearchOptions/vb/searchoption.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/GetDirectories/searchoption.vb" id="Snippet00"::: ]]> @@ -2656,7 +2656,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/GetFiles/directoryinfogetfiles2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/GetFiles/directoryinfogetfiles2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/directoryinfogetfiles/VB/directoryinfogetfiles2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/GetFiles/directoryinfogetfiles2.vb" id="Snippet2"::: ]]> @@ -2784,7 +2784,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/GetFiles/directoryinfogetfiles2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/GetFiles/directoryinfogetfiles2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/directoryinfogetfiles/VB/directoryinfogetfiles2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/GetFiles/directoryinfogetfiles2.vb" id="Snippet2"::: ]]> @@ -3026,7 +3026,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/GetFiles/directoryinfogetfiles2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/GetFiles/directoryinfogetfiles2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/directoryinfogetfiles/VB/directoryinfogetfiles2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/GetFiles/directoryinfogetfiles2.vb" id="Snippet2"::: ]]> @@ -3133,7 +3133,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/GetFileSystemInfos/fsizesort.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/GetFileSystemInfos/fsizesort.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FSizeSort/VB/fsizesort.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/GetFileSystemInfos/fsizesort.vb" id="Snippet1"::: ]]> @@ -3242,7 +3242,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/GetFileSystemInfos/dirinfo getfilesysinfos2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/GetFileSystemInfos/dirinfo getfilesysinfos2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DirInfo GetFileSysInfos2/VB/dirinfo getfilesysinfos2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/GetFileSystemInfos/dirinfo getfilesysinfos2.vb" id="Snippet1"::: ]]> @@ -3510,7 +3510,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/MoveTo/directoryinfomoveto.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/MoveTo/directoryinfomoveto.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/directoryinfomoveto/VB/directoryinfomoveto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/MoveTo/directoryinfomoveto.vb" id="Snippet1"::: ]]> @@ -3685,7 +3685,7 @@ The following example refers to the parent directory of a specified directory. :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/Parent/directoryinfoparent.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/Parent/directoryinfoparent.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/directoryinfoparent/VB/directoryinfoparent.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/Parent/directoryinfoparent.vb" id="Snippet1"::: ]]> @@ -3752,7 +3752,7 @@ The following example refers to the parent directory of a specified directory. :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/Root/directoryinforoot2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/Root/directoryinforoot2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/directoryinforoot/VB/directoryinforoot2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/Root/directoryinforoot2.vb" id="Snippet2"::: ]]> @@ -3831,7 +3831,7 @@ The following example refers to the parent directory of a specified directory. :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/GetAccessControl/sample.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/GetAccessControl/sample.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IO.DiretoryInfo.GetAccessControl-SetAccessControl/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/GetAccessControl/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO/DirectoryNotFoundException.xml b/xml/System.IO/DirectoryNotFoundException.xml index 6fe9e5e71b5..5b4bbb379f6 100644 --- a/xml/System.IO/DirectoryNotFoundException.xml +++ b/xml/System.IO/DirectoryNotFoundException.xml @@ -72,7 +72,7 @@ The following example shows how to force and recover from a . :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryNotFoundException/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DirectoryNotFoundException/VB/DirectoryNotFoundexception.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryNotFoundException/Overview/DirectoryNotFoundexception.vb" id="Snippet1"::: ]]> @@ -144,7 +144,7 @@ The following code example demonstrates how to call the constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryNotFoundException/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DirectoryNotFoundException/VB/DirectoryNotFoundexception.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryNotFoundException/Overview/DirectoryNotFoundexception.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO/DriveInfo.xml b/xml/System.IO/DriveInfo.xml index 1700f3253ea..b042e0b499b 100644 --- a/xml/System.IO/DriveInfo.xml +++ b/xml/System.IO/DriveInfo.xml @@ -79,7 +79,7 @@ The following code example demonstrates the use of the class to display information about all of the drives on the current system. :::code language="csharp" source="~/snippets/csharp/System.IO/DriveInfo/Overview/DriveInfo.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DriveInfo/vb/DriveInfo.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DriveInfo/Overview/DriveInfo.vb" id="Snippet00"::: ]]> @@ -200,7 +200,7 @@ On Windows, passing a mounted directory (for example, C:\\NetworkMountedDrive) o The following code example demonstrates the use of the class to display information about all of the drives on the current system. :::code language="csharp" source="~/snippets/csharp/System.IO/DriveInfo/Overview/DriveInfo.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DriveInfo/vb/DriveInfo.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DriveInfo/Overview/DriveInfo.vb" id="Snippet00"::: ]]> @@ -264,7 +264,7 @@ On Windows, passing a mounted directory (for example, C:\\NetworkMountedDrive) o The following code example demonstrates the use of the class to display information about all of the drives on the current system. :::code language="csharp" source="~/snippets/csharp/System.IO/DriveInfo/Overview/DriveInfo.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DriveInfo/vb/DriveInfo.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DriveInfo/Overview/DriveInfo.vb" id="Snippet00"::: ]]> @@ -329,7 +329,7 @@ On Windows, passing a mounted directory (for example, C:\\NetworkMountedDrive) o The following code example demonstrates the use of the class to display information about all the drives on the current system. :::code language="csharp" source="~/snippets/csharp/System.IO/DriveInfo/Overview/DriveInfo.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DriveInfo/vb/DriveInfo.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DriveInfo/Overview/DriveInfo.vb" id="Snippet00"::: ]]> @@ -392,7 +392,7 @@ On Windows, passing a mounted directory (for example, C:\\NetworkMountedDrive) o The following code example demonstrates the use of the class to display information about all of the drives on the current system. :::code language="csharp" source="~/snippets/csharp/System.IO/DriveInfo/Overview/DriveInfo.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DriveInfo/vb/DriveInfo.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DriveInfo/Overview/DriveInfo.vb" id="Snippet00"::: ]]> @@ -460,7 +460,7 @@ On Windows, passing a mounted directory (for example, C:\\NetworkMountedDrive) o The following code example demonstrates the use of the class to display information about all of the drives on the current system. :::code language="csharp" source="~/snippets/csharp/System.IO/DriveInfo/Overview/DriveInfo.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DriveInfo/vb/DriveInfo.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DriveInfo/Overview/DriveInfo.vb" id="Snippet00"::: ]]> @@ -516,7 +516,7 @@ On Windows, passing a mounted directory (for example, C:\\NetworkMountedDrive) o The following code example demonstrates the use of the class to display information about all of the drives on the current system. :::code language="csharp" source="~/snippets/csharp/System.IO/DriveInfo/Overview/DriveInfo.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DriveInfo/vb/DriveInfo.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DriveInfo/Overview/DriveInfo.vb" id="Snippet00"::: ]]> @@ -737,7 +737,7 @@ On Windows, passing a mounted directory (for example, C:\\NetworkMountedDrive) o The following code example demonstrates the use of the class to display information about all of the drives on the current system. :::code language="csharp" source="~/snippets/csharp/System.IO/DriveInfo/Overview/DriveInfo.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DriveInfo/vb/DriveInfo.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DriveInfo/Overview/DriveInfo.vb" id="Snippet00"::: ]]> @@ -802,7 +802,7 @@ On Windows, passing a mounted directory (for example, C:\\NetworkMountedDrive) o The following code example demonstrates the use of the class to display information about all of the drives on the current system. :::code language="csharp" source="~/snippets/csharp/System.IO/DriveInfo/Overview/DriveInfo.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DriveInfo/vb/DriveInfo.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DriveInfo/Overview/DriveInfo.vb" id="Snippet00"::: ]]> @@ -875,7 +875,7 @@ On Windows, passing a mounted directory (for example, C:\\NetworkMountedDrive) o The following example demonstrates the use of the class to display information about all the drives on the current system. :::code language="csharp" source="~/snippets/csharp/System.IO/DriveInfo/Overview/DriveInfo.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DriveInfo/vb/DriveInfo.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DriveInfo/Overview/DriveInfo.vb" id="Snippet00"::: ]]> diff --git a/xml/System.IO/EndOfStreamException.xml b/xml/System.IO/EndOfStreamException.xml index 727978aeb0c..f0c1e0c78b6 100644 --- a/xml/System.IO/EndOfStreamException.xml +++ b/xml/System.IO/EndOfStreamException.xml @@ -94,7 +94,7 @@ The following code example shows how to read and write `Double` data to memory by using the and classes on top of the class. :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/BaseStream/rwdouble.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWDouble/VB/rwdouble.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/BaseStream/rwdouble.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO/ErrorEventArgs.xml b/xml/System.IO/ErrorEventArgs.xml index 2bec222670c..ab703897f80 100644 --- a/xml/System.IO/ErrorEventArgs.xml +++ b/xml/System.IO/ErrorEventArgs.xml @@ -67,7 +67,7 @@ The following example shows how to create a FileSystemWatcher to monitor file changes (creates, deletes, renames, changes) occurring on a disk drive. The example also shows how to properly receive error notifications. :::code language="csharp" source="~/snippets/csharp/System.IO/ErrorEventArgs/Overview/filesystemwatcher.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FileSystemWatcher/VB/FileSystemWatcher.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/ErrorEventArgs/Overview/FileSystemWatcher.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO/ErrorEventHandler.xml b/xml/System.IO/ErrorEventHandler.xml index f7dcdbe665f..a7f49de9c66 100644 --- a/xml/System.IO/ErrorEventHandler.xml +++ b/xml/System.IO/ErrorEventHandler.xml @@ -64,7 +64,7 @@ The following code example shows how to create a `FileSystemWatcher` object to monitor file changes (creates, deletes, renames, changes) occurring on a disk drive. The example also shows how to properly receive error notifications. :::code language="csharp" source="~/snippets/csharp/System.IO/ErrorEventArgs/Overview/filesystemwatcher.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FileSystemWatcher/VB/FileSystemWatcher.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/ErrorEventArgs/Overview/FileSystemWatcher.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO/File.xml b/xml/System.IO/File.xml index 760761c2122..66cfc1e587b 100644 --- a/xml/System.IO/File.xml +++ b/xml/System.IO/File.xml @@ -107,7 +107,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/File/Overview/file class example.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/Overview/file class example.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/File Class Example/VB/file class example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/Overview/file class example.vb" id="Snippet1"::: ]]> @@ -425,7 +425,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/File/AppendAllLines/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/AppendAllLines/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.file.writeallappendall/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/AppendAllLines/program.vb" id="Snippet1"::: ]]> @@ -801,7 +801,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/File/AppendAllText/AllText.cs" id="Snippet00"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/AppendAllText/AllText.fs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllText/vb/AllText.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/AppendAllText/AllText.vb" id="Snippet00"::: ]]> @@ -981,7 +981,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/File/AppendAllText/AllText1.cs" id="Snippet00"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/AppendAllText/AllText1.fs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllText_Encoding/vb/AllText.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/AppendAllText/AllText1.vb" id="Snippet00"::: ]]> @@ -1282,7 +1282,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/File/AppendText/file_appendtext.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/AppendText/file_appendtext.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/File_AppendText/VB/file_appendtext.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/AppendText/file_appendtext.vb" id="Snippet1"::: ]]> @@ -1380,7 +1380,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/File/Copy/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/Copy/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/filecopydelete/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/Copy/program.vb" id="Snippet1"::: ]]> @@ -1485,7 +1485,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/File/Copy/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/Copy/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/filecopydelete/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/Copy/program.vb" id="Snippet1"::: ]]> @@ -1612,7 +1612,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/File/Create/file create1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/Create/file create1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/File Create1/VB/file create1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/Create/file create1.vb" id="Snippet1"::: ]]> @@ -1715,7 +1715,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/File/Create/file create2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/Create/file create2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/File Create2/VB/file create2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/Create/file create2.vb" id="Snippet1"::: ]]> @@ -2030,7 +2030,7 @@ An I/O error occurred. :::code language="csharp" source="~/snippets/csharp/System.IO/File/CreateText/file createtext.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/CreateText/file createtext.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/File CreateText/VB/file createtext.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/CreateText/file createtext.vb" id="Snippet1"::: ]]> @@ -2131,7 +2131,7 @@ An I/O error occurred. :::code language="csharp" source="~/snippets/csharp/System.IO/File/Decrypt/sample.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/Decrypt/sample.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IO.File.Encrypt-Decrypt/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/Decrypt/sample.vb" id="Snippet1"::: ]]> @@ -2231,7 +2231,7 @@ An I/O error occurred. :::code language="csharp" source="~/snippets/csharp/System.IO/File/Copy/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/Copy/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/filecopydelete/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/Copy/program.vb" id="Snippet1"::: ]]> @@ -2341,7 +2341,7 @@ An I/O error occurred. :::code language="csharp" source="~/snippets/csharp/System.IO/File/Decrypt/sample.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/Decrypt/sample.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IO.File.Encrypt-Decrypt/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/Decrypt/sample.vb" id="Snippet1"::: ]]> @@ -2456,7 +2456,7 @@ Don't use the method for path validation; this m :::code language="csharp" source="~/snippets/csharp/System.IO/File/Exists/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/Exists/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/File Exists/VB/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/Exists/program.vb" id="Snippet1"::: ]]> @@ -2711,7 +2711,7 @@ Don't use the method for path validation; this m :::code language="csharp" source="~/snippets/csharp/System.IO/File/GetAttributes/file getattributes.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/GetAttributes/file getattributes.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/File GetAttributes/VB/file getattributes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/GetAttributes/file getattributes.vb" id="Snippet1"::: ]]> @@ -2844,7 +2844,7 @@ Don't use the method for path validation; this m ## Examples The following example demonstrates `GetCreationTime`. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.file.getcreationtime/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/GetCreationTime/module1.vb" id="Snippet1"::: ]]> @@ -2973,7 +2973,7 @@ Don't use the method for path validation; this m ## Examples The following example demonstrates the method. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.file.getcreationtime/vb/module2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/GetCreationTime/module2.vb" id="Snippet2"::: ]]> @@ -3104,7 +3104,7 @@ Don't use the method for path validation; this m :::code language="csharp" source="~/snippets/csharp/System.IO/File/GetLastAccessTime/file getlastaccess.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/GetLastAccessTime/file getlastaccess.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/File GetLastAccess/VB/file getlastaccess.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/GetLastAccessTime/file getlastaccess.vb" id="Snippet1"::: ]]> @@ -3357,7 +3357,7 @@ Don't use the method for path validation; this m :::code language="csharp" source="~/snippets/csharp/System.IO/File/GetLastWriteTime/file getlastwrite.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/GetLastWriteTime/file getlastwrite.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/File GetLastWrite/VB/file getlastwrite.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/GetLastWriteTime/file getlastwrite.vb" id="Snippet1"::: ]]> @@ -3674,7 +3674,7 @@ The following example moves a file. :::code language="csharp" source="~/snippets/csharp/System.IO/File/Move/file move.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/Move/file move.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/File Move/VB/file move.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/File/Move/file move.vb" id="Snippet1"::: ]]> @@ -3764,7 +3764,7 @@ The following example moves a file. :::code language="csharp" source="~/snippets/csharp/System.IO/File/Move/file move.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/Move/file move.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/File Move/VB/file move.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/File/Move/file move.vb" id="Snippet1"::: ]]> @@ -3874,7 +3874,7 @@ The following example moves a file. :::code language="csharp" source="~/snippets/csharp/System.IO/File/Open/file open1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/Open/file open1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/File Open1/VB/file open1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/Open/file open1.vb" id="Snippet1"::: ]]> @@ -4030,7 +4030,7 @@ The following example moves a file. :::code language="csharp" source="~/snippets/csharp/System.IO/File/Open/file open2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/Open/file open2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/File Open2/VB/file open2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/Open/file open2.vb" id="Snippet1"::: ]]> @@ -4142,7 +4142,7 @@ The following example moves a file. :::code language="csharp" source="~/snippets/csharp/System.IO/File/Open/file open3.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/Open/file open3.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/File Open3/VB/file open3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/Open/file open3.vb" id="Snippet1"::: ]]> @@ -4317,7 +4317,7 @@ The following example moves a file. :::code language="csharp" source="~/snippets/csharp/System.IO/File/OpenRead/file openread.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/OpenRead/file openread.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/File OpenRead/VB/file openread.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/OpenRead/file openread.vb" id="Snippet1"::: ]]> @@ -4412,7 +4412,7 @@ The following example moves a file. :::code language="csharp" source="~/snippets/csharp/System.IO/File/OpenText/file opentext.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/OpenText/file opentext.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/File OpenText/VB/file opentext.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/OpenText/file opentext.vb" id="Snippet1"::: ]]> @@ -4505,7 +4505,7 @@ The following example moves a file. :::code language="csharp" source="~/snippets/csharp/System.IO/File/OpenWrite/file openwrite.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/OpenWrite/file openwrite.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/File OpenWrite/VB/file openwrite.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/OpenWrite/file openwrite.vb" id="Snippet1"::: ]]> @@ -4734,7 +4734,7 @@ The following example moves a file. :::code language="csharp" source="~/snippets/csharp/System.IO/File/ReadAllLines/AllText.cs" id="Snippet00"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/ReadAllLines/AllText.fs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllLines/vb/AllText.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/ReadAllLines/AllText.vb" id="Snippet00"::: ]]> @@ -4837,7 +4837,7 @@ The following example moves a file. :::code language="csharp" source="~/snippets/csharp/System.IO/File/ReadAllLines/AllText_Encoding.cs" id="Snippet00"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/ReadAllLines/AllText_Encoding.fs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllLines_Encoding/vb/AllText_Encoding.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/ReadAllLines/AllText_Encoding.vb" id="Snippet00"::: ]]> @@ -5044,7 +5044,7 @@ The following example moves a file. :::code language="csharp" source="~/snippets/csharp/System.IO/File/AppendAllText/AllText.cs" id="Snippet00"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/AppendAllText/AllText.fs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllText/vb/AllText.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/AppendAllText/AllText.vb" id="Snippet00"::: ]]> @@ -5151,7 +5151,7 @@ The following example moves a file. :::code language="csharp" source="~/snippets/csharp/System.IO/File/AppendAllText/AllText1.cs" id="Snippet00"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/AppendAllText/AllText1.fs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllText_Encoding/vb/AllText.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/AppendAllText/AllText1.vb" id="Snippet00"::: ]]> @@ -5361,13 +5361,13 @@ The following example moves a file. :::code language="csharp" source="~/snippets/csharp/System.IO/File/ReadLines/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/ReadLines/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.file.readlines/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/ReadLines/program.vb" id="Snippet1"::: The following example uses the method in a LINQ query that enumerates all directories for files that have a .txt extension, reads each line of the file, and displays the line if it contains the string "Microsoft". :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/EnumerateFiles/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/EnumerateFiles/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.enumeratefiles/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/EnumerateFiles/program.vb" id="Snippet1"::: ]]> @@ -5664,7 +5664,7 @@ The following example moves a file. :::code language="csharp" source="~/snippets/csharp/System.IO/File/Replace/sample.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/Replace/sample.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IO.File.Replace/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/Replace/sample.vb" id="Snippet1"::: ]]> @@ -5778,7 +5778,7 @@ The caller does not have the required permission. :::code language="csharp" source="~/snippets/csharp/System.IO/File/Replace/sample.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/Replace/sample.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IO.File.Replace/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/Replace/sample.vb" id="Snippet1"::: ]]> @@ -6086,7 +6086,7 @@ It is not possible to change the compression status of a o :::code language="csharp" source="~/snippets/csharp/System.IO/File/GetAttributes/file getattributes.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/GetAttributes/file getattributes.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/File GetAttributes/VB/file getattributes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/GetAttributes/file getattributes.vb" id="Snippet1"::: ]]> @@ -6473,7 +6473,7 @@ It is not possible to change the compression status of a o :::code language="csharp" source="~/snippets/csharp/System.IO/File/SetLastAccessTime/file setlastaccess.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/SetLastAccessTime/file setlastaccess.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/File SetLastAccess/VB/file setlastaccess.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/SetLastAccessTime/file setlastaccess.vb" id="Snippet1"::: ]]> @@ -6726,7 +6726,7 @@ It is not possible to change the compression status of a o :::code language="csharp" source="~/snippets/csharp/System.IO/File/SetLastWriteTime/file setlastwrite.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/SetLastWriteTime/file setlastwrite.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/File SetLastWrite/VB/file setlastwrite.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/SetLastWriteTime/file setlastwrite.vb" id="Snippet1"::: ]]> @@ -7300,7 +7300,7 @@ It is not possible to change the compression status of a o :::code language="csharp" source="~/snippets/csharp/System.IO/File/AppendAllLines/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/AppendAllLines/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.file.writeallappendall/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/AppendAllLines/program.vb" id="Snippet1"::: ]]> @@ -7402,7 +7402,7 @@ It is not possible to change the compression status of a o :::code language="csharp" source="~/snippets/csharp/System.IO/File/ReadAllLines/AllText.cs" id="Snippet00"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/ReadAllLines/AllText.fs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllLines/vb/AllText.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/ReadAllLines/AllText.vb" id="Snippet00"::: ]]> @@ -7600,7 +7600,7 @@ It is not possible to change the compression status of a o :::code language="csharp" source="~/snippets/csharp/System.IO/File/ReadAllLines/AllText_Encoding.cs" id="Snippet00"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/ReadAllLines/AllText_Encoding.fs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllLines_Encoding/vb/AllText_Encoding.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/ReadAllLines/AllText_Encoding.vb" id="Snippet00"::: ]]> @@ -7882,7 +7882,7 @@ It is not possible to change the compression status of a o :::code language="csharp" source="~/snippets/csharp/System.IO/File/AppendAllText/AllText.cs" id="Snippet00"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/AppendAllText/AllText.fs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllText/vb/AllText.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/AppendAllText/AllText.vb" id="Snippet00"::: ]]> @@ -8063,7 +8063,7 @@ It is not possible to change the compression status of a o :::code language="csharp" source="~/snippets/csharp/System.IO/File/AppendAllText/AllText1.cs" id="Snippet00"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/AppendAllText/AllText1.fs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllText_Encoding/vb/AllText.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/AppendAllText/AllText1.vb" id="Snippet00"::: ]]> diff --git a/xml/System.IO/FileAttributes.xml b/xml/System.IO/FileAttributes.xml index 737294a2fdd..82e40001c58 100644 --- a/xml/System.IO/FileAttributes.xml +++ b/xml/System.IO/FileAttributes.xml @@ -100,7 +100,7 @@ On Unix systems, the value returned by diff --git a/xml/System.IO/FileInfo.xml b/xml/System.IO/FileInfo.xml index deac4a40d7d..4979f1df4ba 100644 --- a/xml/System.IO/FileInfo.xml +++ b/xml/System.IO/FileInfo.xml @@ -124,7 +124,7 @@ When the properties are first retrieved, calls the method and caches information about the file. On subsequent calls, you must call to get the latest copy of the information. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/Overview/finfo class.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FInfo Class/VB/finfo class.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/Overview/finfo class.vb" id="Snippet1"::: This example produces output similar to the following. @@ -205,12 +205,12 @@ C:\Users\userName\AppData\Local\Temp\tmp70CB.tmp was successfully deleted. The following example uses this constructor to create two files, which are then written to, read from, copied, and deleted. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/.ctor/finfo ctor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FInfo Ctor/VB/finfo ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/.ctor/finfo ctor.vb" id="Snippet1"::: The following example opens an existing file or creates a file, appends text to the file, and displays the results. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/.ctor/fileinfomain.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/fileinfomain/VB/fileinfomain.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/.ctor/fileinfomain.vb" id="Snippet1"::: ]]> @@ -284,12 +284,12 @@ C:\Users\userName\AppData\Local\Temp\tmp70CB.tmp was successfully deleted. The following example appends text to a file and reads from the file. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/AppendText/finfo appendtext.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FInfo AppendText/VB/finfo appendtext.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/AppendText/finfo appendtext.vb" id="Snippet1"::: The following example demonstrates appending text to the end of a file and also displays the result of the append operation to the console. The first time this routine is called, the file is created if it does not exist. After that, the specified text is appended to the file. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/AppendText/fileinfoappendtext.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/fileinfoappendtext/VB/fileinfoappendtext.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/AppendText/fileinfoappendtext.vb" id="Snippet1"::: ]]> @@ -372,12 +372,12 @@ C:\Users\userName\AppData\Local\Temp\tmp70CB.tmp was successfully deleted. The following example demonstrates both overloads of the `CopyTo` method. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/CopyTo/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FInfo CopyTo2/VB/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/CopyTo/program.vb" id="Snippet1"::: The following example demonstrates copying one file to another file, throwing an exception if the destination file already exists. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/CopyTo/fileinfocopyto1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FileInfoCopyTo1/VB/fileinfocopyto1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/CopyTo/fileinfocopyto1.vb" id="Snippet1"::: ]]> @@ -462,12 +462,12 @@ C:\Users\userName\AppData\Local\Temp\tmp70CB.tmp was successfully deleted. The following example demonstrates both overloads of the `CopyTo` method. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/CopyTo/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FInfo CopyTo2/VB/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/CopyTo/program.vb" id="Snippet1"::: The following example demonstrates copying one file to another file, specifying whether to overwrite a file that already exists. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/CopyTo/fileinfocopyto.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/fileinfocopyto/VB/fileinfocopyto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/CopyTo/fileinfocopyto.vb" id="Snippet1"::: ]]> @@ -551,12 +551,12 @@ C:\Users\userName\AppData\Local\Temp\tmp70CB.tmp was successfully deleted. The following example creates a reference to a file, and then creates the file on disk using `FileInfo.Create()`. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/Create/fileinfodelete.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/fileinfodelete/VB/fileinfodelete.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/Create/fileinfodelete.vb" id="Snippet1"::: The following example creates a file, adds some text to it, and reads from the file. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/Create/finfo create.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FInfo Create/VB/finfo create.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/Create/finfo create.vb" id="Snippet1"::: ]]> @@ -628,7 +628,7 @@ C:\Users\userName\AppData\Local\Temp\tmp70CB.tmp was successfully deleted. The following example demonstrates the `CreateText` method. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/CreateText/finfo createtext.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FInfo CreateText/VB/finfo createtext.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/CreateText/finfo createtext.vb" id="Snippet1"::: ]]> @@ -708,7 +708,7 @@ C:\Users\userName\AppData\Local\Temp\tmp70CB.tmp was successfully deleted. The following code example uses the method and the method to encrypt and then decrypt a file. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/Decrypt/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IO.FileInfo.Encrypt-Decrypt/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/Decrypt/sample.vb" id="Snippet1"::: ]]> @@ -789,12 +789,12 @@ C:\Users\userName\AppData\Local\Temp\tmp70CB.tmp was successfully deleted. The following example demonstrates the `Delete` method. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/Delete/finfo delete.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FInfo Delete/VB/finfo delete.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/Delete/finfo delete.vb" id="Snippet1"::: The following example creates, closes, and deletes a file. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/Create/fileinfodelete.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/fileinfodelete/VB/fileinfodelete.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/Create/fileinfodelete.vb" id="Snippet1"::: ]]> @@ -876,7 +876,7 @@ C:\Users\userName\AppData\Local\Temp\tmp70CB.tmp was successfully deleted. The following example opens or creates a file, determines its full path, and determines and displays the full contents of the directory. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/Directory/fileinfodirectory.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/fileinfodirectory/VB/fileinfodirectory.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/Directory/fileinfodirectory.vb" id="Snippet1"::: ]]> @@ -1031,7 +1031,7 @@ C:\Users\userName\AppData\Local\Temp\tmp70CB.tmp was successfully deleted. The following code example uses the method and the method to encrypt a file and then decrypt it. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/Decrypt/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IO.FileInfo.Encrypt-Decrypt/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/Decrypt/sample.vb" id="Snippet1"::: ]]> @@ -1115,7 +1115,7 @@ C:\Users\userName\AppData\Local\Temp\tmp70CB.tmp was successfully deleted. The following code example uses the property ensure a file exists before opening it. You can use this technique to throw a custom exception when the file is not found. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/Exists/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IO.FileInfo.Exists/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/Exists/sample.vb" id="Snippet1"::: ]]> @@ -1176,7 +1176,7 @@ C:\Users\userName\AppData\Local\Temp\tmp70CB.tmp was successfully deleted. The following code example uses the method and the method to add and then remove an access control list (ACL) entry from a file. You must supply a valid user or group account to run this example. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/GetAccessControl/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IO.FileInfo.GetAccessControl-SetAccessControl/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/GetAccessControl/sample.vb" id="Snippet1"::: ]]> @@ -1311,7 +1311,7 @@ C:\Users\userName\AppData\Local\Temp\tmp70CB.tmp was successfully deleted. The following example creates a temporary file, uses the property to first check and then set its read-only status, and finally marks it as read-write in order to delete it. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/IsReadOnly/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IO.FileInfo.isReadOnly/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/IsReadOnly/sample.vb" id="Snippet1"::: ]]> @@ -1400,7 +1400,7 @@ C:\Users\userName\AppData\Local\Temp\tmp70CB.tmp was successfully deleted. The following example displays the size of the specified files. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/Length/filelength.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FileLength/VB/filelength.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/Length/filelength.vb" id="Snippet1"::: ]]> @@ -1633,7 +1633,7 @@ The following example demonstrates moving a file to a different location and ren The following example uses the `Name` property to display the names of files in the current directory. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/Name/fileinfoname.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/fileinfoname/VB/fileinfoname.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/Name/fileinfoname.vb" id="Snippet1"::: ]]> @@ -1712,7 +1712,7 @@ The following example demonstrates moving a file to a different location and ren The following example opens a file, adds some information to the file, and reads the file. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/Open/finfo open1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FInfo Open1/VB/finfo open1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/Open/finfo open1.vb" id="Snippet1"::: ]]> @@ -1833,7 +1833,7 @@ The following example demonstrates moving a file to a different location and ren The following example opens a file as read-only and reads from the file. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/Open/finfo open2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FInfo Open2/VB/finfo open2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/Open/finfo open2.vb" id="Snippet1"::: ]]> @@ -1915,7 +1915,7 @@ The following example demonstrates moving a file to a different location and ren The following example demonstrates opening a file for reading and writing, but disallowing access to other users or processes. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/Open/fileinfoopen.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/fileinfoopen/VB/fileinfoopen.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/Open/fileinfoopen.vb" id="Snippet1"::: ]]> @@ -1995,7 +1995,7 @@ The following example demonstrates moving a file to a different location and ren The following example opens a file as read-only and reads from it. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/OpenRead/finfo openread.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FInfo OpenRead/VB/finfo openread.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/OpenRead/finfo openread.vb" id="Snippet1"::: ]]> @@ -2066,7 +2066,7 @@ The following example demonstrates moving a file to a different location and ren The following example reads text from a file. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/OpenText/file opentext.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FInfo OpenText/VB/file opentext.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/OpenText/file opentext.vb" id="Snippet1"::: ]]> @@ -2145,7 +2145,7 @@ The following example demonstrates moving a file to a different location and ren The following example opens a file for writing and then reads from the file. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/OpenWrite/file openwrite.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FInfo OpenWrite/VB/file openwrite.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/OpenWrite/file openwrite.vb" id="Snippet1"::: ]]> @@ -2247,7 +2247,7 @@ The following example demonstrates moving a file to a different location and ren The following example uses the method to replace a file with another file and create a backup of the replaced file. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/Replace/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IO.FileInfo.Replace/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/Replace/sample.vb" id="Snippet1"::: ]]> @@ -2344,7 +2344,7 @@ The following example demonstrates moving a file to a different location and ren The following example uses the method to replace a file with another file and create a backup of the replaced file. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/Replace/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IO.FileInfo.Replace/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/Replace/sample.vb" id="Snippet1"::: ]]> @@ -2430,7 +2430,7 @@ The following example demonstrates moving a file to a different location and ren The following code example uses the method and the method to add and then remove an ACL entry from a file. You must supply a valid user or group account to run this example. :::code language="csharp" source="~/snippets/csharp/System.IO/FileInfo/GetAccessControl/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IO.FileInfo.GetAccessControl-SetAccessControl/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileInfo/GetAccessControl/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO/FileOptions.xml b/xml/System.IO/FileOptions.xml index 8cb1f61425b..2d42d1b5948 100644 --- a/xml/System.IO/FileOptions.xml +++ b/xml/System.IO/FileOptions.xml @@ -81,7 +81,7 @@ The following example shows how to use the Asynchronous value when creating a file stream. :::code language="csharp" source="~/snippets/csharp/System.IO/FileOptions/Overview/example2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IO.FileStream.ctor2/VB/example2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileOptions/Overview/example2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IO/FileStream.xml b/xml/System.IO/FileStream.xml index c74a674ce5b..fecdc1ecda7 100644 --- a/xml/System.IO/FileStream.xml +++ b/xml/System.IO/FileStream.xml @@ -75,12 +75,12 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/Overview/fstream class.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/FileStream/Overview/fstream class.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FStream Class/VB/fstream class.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/Overview/fstream class.vb" id="Snippet1"::: The following example shows how to write to a file asynchronously. This code runs in a WPF app that has a TextBlock named UserInput and a button hooked up to a Click event handler that is named Button_Click. The file path needs to be changed to a file that exists on the computer. :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/Overview/example3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/vb/example3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/Overview/example3.vb" id="Snippet3"::: ]]> @@ -366,7 +366,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/.ctor/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/FileStream/.ctor/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream1/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/.ctor/source.vb" id="Snippet1"::: ]]> @@ -1034,7 +1034,7 @@ The file was too large (when @@ -1362,7 +1362,7 @@ The file was too large (when @@ -1481,7 +1481,7 @@ The file was too large (when @@ -1700,7 +1700,7 @@ The file was too large (when @@ -2075,7 +2075,7 @@ The file was too large (when @@ -2143,7 +2143,7 @@ The file was too large (when @@ -2576,7 +2576,7 @@ Calling `DisposeAsync` allows the resources used by the @@ -2737,7 +2737,7 @@ Calling `DisposeAsync` allows the resources used by the @@ -3078,7 +3078,7 @@ This method flushes the .NET stream buffers to the file, but does not flush inte :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/.ctor/source1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/FileStream/.ctor/source1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream2/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/.ctor/source1.vb" id="Snippet2"::: ]]> @@ -3244,7 +3244,7 @@ This method flushes the .NET stream buffers to the file, but does not flush inte :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/.ctor/fstreamlock.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/FileStream/.ctor/fstreamlock.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream3/VB/fstreamlock.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/.ctor/fstreamlock.vb" id="Snippet1"::: ]]> @@ -3325,7 +3325,7 @@ If the absolute path is not known, this property returns a string similar to "[U :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/.ctor/source1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/FileStream/.ctor/source1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream2/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/.ctor/source1.vb" id="Snippet4"::: ]]> @@ -3555,7 +3555,7 @@ Use for reading primitive data types. :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/Read/fsread.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/FileStream/Read/fsread.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FSRead/VB/fsread.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/Read/fsread.vb" id="Snippet1"::: ]]> @@ -3630,7 +3630,7 @@ The following example shows how to read from a file asynchronously. :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/Overview/example4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/FileStream/Overview/example4.fs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/vb/example4.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/Overview/example4.vb" id="Snippet4"::: ]]> @@ -3717,7 +3717,7 @@ The following example shows how to read from a file asynchronously. :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/Overview/example4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/FileStream/Overview/example4.fs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/vb/example4.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/Overview/example4.vb" id="Snippet4"::: ]]> @@ -3799,7 +3799,7 @@ The following example shows how to read from a file asynchronously. :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/.ctor/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/FileStream/.ctor/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream1/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/.ctor/source.vb" id="Snippet1"::: ]]> @@ -3949,13 +3949,13 @@ The following example shows how to read from a file asynchronously. :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/.ctor/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/FileStream/.ctor/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream1/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/.ctor/source.vb" id="Snippet1"::: The following example reads text in the reverse direction, from the end of file to the beginning of the file, by using the various values with the method. :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/Seek/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/FileStream/Seek/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.filestream.seek/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/Seek/source.vb" id="Snippet1"::: ]]> @@ -4184,7 +4184,7 @@ The following example shows how to read from a file asynchronously. :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/.ctor/fstreamlock.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/FileStream/.ctor/fstreamlock.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream3/VB/fstreamlock.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/.ctor/fstreamlock.vb" id="Snippet1"::: ]]> @@ -4331,7 +4331,7 @@ For a list of common file and directory operations, see [Common I/O Tasks](/dotn :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/.ctor/fstreamlock.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/FileStream/.ctor/fstreamlock.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream3/VB/fstreamlock.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/.ctor/fstreamlock.vb" id="Snippet3"::: ]]> @@ -4490,7 +4490,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following example shows how to write asynchronously to a file. :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/Overview/example3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/vb/example3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/Overview/example3.vb" id="Snippet3"::: ]]> @@ -4574,7 +4574,7 @@ This method stores in the task it returns all non-usage exceptions that the meth :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/.ctor/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/FileStream/.ctor/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream1/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/.ctor/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO/FileSystemEventArgs.xml b/xml/System.IO/FileSystemEventArgs.xml index 23254c5a63a..d54944f9fb2 100644 --- a/xml/System.IO/FileSystemEventArgs.xml +++ b/xml/System.IO/FileSystemEventArgs.xml @@ -67,7 +67,7 @@ The class is passed as a parameter to event The following example shows how to create a to monitor file changes (creates, deletes, renames, changes) occurring on a disk drive. The example also shows how to properly receive error notifications. :::code language="csharp" source="~/snippets/csharp/System.IO/ErrorEventArgs/Overview/filesystemwatcher.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FileSystemWatcher/VB/FileSystemWatcher.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/ErrorEventArgs/Overview/FileSystemWatcher.vb" id="Snippet1"::: ]]> @@ -195,7 +195,7 @@ The class is passed as a parameter to event The following example demonstrates the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/ErrorEventArgs/Overview/filesystemwatcher.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FileSystemWatcher/VB/FileSystemWatcher.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/ErrorEventArgs/Overview/FileSystemWatcher.vb" id="Snippet7"::: ]]> @@ -259,7 +259,7 @@ This property returns the same path that `FileSystemWatcher` is initialized with The following example demonstrates the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/ErrorEventArgs/Overview/filesystemwatcher.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FileSystemWatcher/VB/FileSystemWatcher.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/ErrorEventArgs/Overview/FileSystemWatcher.vb" id="Snippet7"::: ]]> diff --git a/xml/System.IO/FileSystemEventHandler.xml b/xml/System.IO/FileSystemEventHandler.xml index 1f31c45d624..22c2811b3fb 100644 --- a/xml/System.IO/FileSystemEventHandler.xml +++ b/xml/System.IO/FileSystemEventHandler.xml @@ -64,7 +64,7 @@ The following example shows how to create a FileSystemWatcher to monitor file changes (creates, deletes, renames, changes) occurring on a disk drive. The example also shows how to properly receive error notifications. :::code language="csharp" source="~/snippets/csharp/System.IO/ErrorEventArgs/Overview/filesystemwatcher.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FileSystemWatcher/VB/FileSystemWatcher.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/ErrorEventArgs/Overview/FileSystemWatcher.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO/FileSystemInfo.xml b/xml/System.IO/FileSystemInfo.xml index d44efda9109..d5ac5e39f67 100644 --- a/xml/System.IO/FileSystemInfo.xml +++ b/xml/System.IO/FileSystemInfo.xml @@ -105,7 +105,7 @@ The following example shows how to loop through all the files and directories, querying some information about each entry. :::code language="csharp" source="~/snippets/csharp/System.IO/FileSystemInfo/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FileSystemInfo/VB/FileSystemInfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileSystemInfo/Overview/FileSystemInfo.vb" id="Snippet1"::: ]]> @@ -336,7 +336,7 @@ The following example demonstrates the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/FileSystemInfo/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FileSystemInfo/VB/FileSystemInfo.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileSystemInfo/Overview/FileSystemInfo.vb" id="Snippet2"::: ]]> @@ -493,7 +493,7 @@ On Unix platforms that do not support creation or birth time, this property retu The following example demonstrates the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/FileSystemInfo/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FileSystemInfo/VB/FileSystemInfo.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileSystemInfo/Overview/FileSystemInfo.vb" id="Snippet2"::: ]]> @@ -852,7 +852,7 @@ The `Extension` property returns the extension, The following example demonstrates the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/FileSystemInfo/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FileSystemInfo/VB/FileSystemInfo.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileSystemInfo/Overview/FileSystemInfo.vb" id="Snippet2"::: ]]> @@ -1081,7 +1081,7 @@ The `Extension` property returns the extension, The following code example demonstrates the updating of the property through a "touch" operation. In this example, the file is "touched", updating the , and properties to the current date and time. :::code language="csharp" source="~/snippets/csharp/System.IO/FileSystemInfo/LastAccessTime/touch.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileSystemInfo_touch/vb/touch.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileSystemInfo/LastAccessTime/touch.vb" id="Snippet00"::: ]]> @@ -1267,7 +1267,7 @@ The `Extension` property returns the extension, The following code example demonstrates the updating of the property through a "touch" operation. In this example, the file is "touched", updating the , and properties to the current date and time. :::code language="csharp" source="~/snippets/csharp/System.IO/FileSystemInfo/LastAccessTime/touch.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileSystemInfo_touch/vb/touch.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileSystemInfo/LastAccessTime/touch.vb" id="Snippet00"::: ]]> diff --git a/xml/System.IO/IOException.xml b/xml/System.IO/IOException.xml index 27ee1c45328..13d6e37df20 100644 --- a/xml/System.IO/IOException.xml +++ b/xml/System.IO/IOException.xml @@ -106,7 +106,7 @@ This code example is part of a larger example provided for the method. :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/.ctor/fstreamlock.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream3/VB/fstreamlock.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/.ctor/fstreamlock.vb" id="Snippet6"::: ]]> diff --git a/xml/System.IO/InternalBufferOverflowException.xml b/xml/System.IO/InternalBufferOverflowException.xml index 59663cc89ed..08bffa61455 100644 --- a/xml/System.IO/InternalBufferOverflowException.xml +++ b/xml/System.IO/InternalBufferOverflowException.xml @@ -66,7 +66,7 @@ The following example shows how to create a FileSystemWatcher to monitor file changes (creates, deletes, renames, changes) occurring on a disk drive. The example also shows how to properly receive error notifications. :::code language="csharp" source="~/snippets/csharp/System.IO/ErrorEventArgs/Overview/filesystemwatcher.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FileSystemWatcher/VB/FileSystemWatcher.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/ErrorEventArgs/Overview/FileSystemWatcher.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO/MemoryStream.xml b/xml/System.IO/MemoryStream.xml index fadfa596839..1fa8f5acad6 100644 --- a/xml/System.IO/MemoryStream.xml +++ b/xml/System.IO/MemoryStream.xml @@ -104,7 +104,7 @@ The following code example shows how to read and write data using memory as a backing store. :::code language="csharp" source="~/snippets/csharp/System.IO/MemoryStream/Overview/memstream.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb" id="Snippet1"::: ]]> @@ -319,7 +319,7 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/MemoryStream/Overview/memstream.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb" id="Snippet2"::: ]]> @@ -1039,7 +1039,7 @@ Refer to the remarks for additional usage This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/MemoryStream/Overview/memstream.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb" id="Snippet5"::: ]]> @@ -1692,7 +1692,7 @@ The pending operation does not support writing. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/MemoryStream/Overview/memstream.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb" id="Snippet5"::: ]]> @@ -1796,7 +1796,7 @@ The pending operation does not support writing. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/MemoryStream/Overview/memstream.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb" id="Snippet5"::: ]]> @@ -1944,7 +1944,7 @@ The pending operation does not support writing. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/MemoryStream/Overview/memstream.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb" id="Snippet7"::: ]]> @@ -2159,7 +2159,7 @@ The pending operation does not support writing. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/MemoryStream/Overview/memstream.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb" id="Snippet8"::: ]]> @@ -2238,7 +2238,7 @@ The pending operation does not support writing. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/MemoryStream/Overview/memstream.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb" id="Snippet6"::: ]]> @@ -2602,7 +2602,7 @@ The underlying buffer will not be exposed if the current `MemoryStream` instance This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/MemoryStream/Overview/memstream.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb" id="Snippet3"::: ]]> @@ -2825,7 +2825,7 @@ The underlying buffer will not be exposed if the current `MemoryStream` instance This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/MemoryStream/Overview/memstream.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb" id="Snippet4"::: ]]> diff --git a/xml/System.IO/Path.xml b/xml/System.IO/Path.xml index a8ec6014ac3..0e0b3d5f5da 100644 --- a/xml/System.IO/Path.xml +++ b/xml/System.IO/Path.xml @@ -117,7 +117,7 @@ For more information on file path formats on Windows, see [File path formats on The following example demonstrates some of the main members of the `Path` class. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/Overview/path class.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Path Class/VB/path class.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/Overview/path class.vb" id="Snippet1"::: ]]> @@ -270,7 +270,7 @@ The following example displays field values on Windows and The following example demonstrates a use of the `ChangeExtension` method. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet1"::: ]]> @@ -430,7 +430,7 @@ If any element in `paths` but the last one is not a drive and does not end with The following example combines an array of strings into a path. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/Combine/program1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.path.combine/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/Combine/program.vb" id="Snippet3"::: ]]> @@ -509,7 +509,7 @@ If any element in `paths` but the last one is not a drive and does not end with The following example demonstrates using the `Combine` method on Windows. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/Combine/pathcombine.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/pathcombine/VB/pathcombine.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/Combine/pathcombine.vb" id="Snippet1"::: ]]> @@ -596,7 +596,7 @@ If any element in `paths` but the last one is not a drive and does not end with The following example combines three paths. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/Combine/program1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.path.combine/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/Combine/program.vb" id="Snippet1"::: ]]> @@ -680,7 +680,7 @@ If any element in `paths` but the last one is not a drive and does not end with The following example combines four paths. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/Combine/program1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.path.combine/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/Combine/program.vb" id="Snippet2"::: ]]> @@ -1046,7 +1046,7 @@ For a list of common I/O tasks, see [Common I/O tasks](/dotnet/standard/io/commo The following example demonstrates using the `GetDirectoryName` method on a Windows-based desktop platform. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet3"::: ]]> @@ -1172,7 +1172,7 @@ This method obtains the extension of `path` by searching `path` for a period (.) The following example demonstrates using the `GetExtension` method on a Windows-based desktop platform. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet4"::: ]]> @@ -1300,7 +1300,7 @@ For a list of common I/O tasks, see [Common I/O Tasks](/dotnet/standard/io/commo The following example demonstrates the behavior of the `GetFileName` method on a Windows-based desktop platform. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet5"::: ]]> @@ -1417,7 +1417,7 @@ For a list of common I/O tasks, see [Common I/O Tasks](/dotnet/standard/io/commo The following example demonstrates a use of the `GetFileNameWithoutExtension` method. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet6"::: ]]> @@ -1509,7 +1509,7 @@ For more information on file path formats on Windows, see [File path formats on The following example demonstrates the `GetFullPath` method on a Windows-based desktop platform. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet7"::: ]]> @@ -1656,7 +1656,7 @@ The following example defines a variable, `basePath`, to represent an applicatio The following example demonstrates the method and the method to retrieve invalid characters. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/GetInvalidFileNameChars/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IO.Path.GetInvalidFile-PathChars/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/GetInvalidFileNameChars/example.vb" id="Snippet1"::: ]]> @@ -1716,7 +1716,7 @@ The following example defines a variable, `basePath`, to represent an applicatio The following example demonstrates the method and the method to retrieve invalid characters. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/GetInvalidFileNameChars/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IO.Path.GetInvalidFile-PathChars/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/GetInvalidFileNameChars/example.vb" id="Snippet1"::: ]]> @@ -1898,7 +1898,7 @@ For more information on file paths on Windows, see [File path formats on Windows The following example demonstrates a use of the `GetPathRoot` method. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet8"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet8"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet8"::: ]]> @@ -1969,7 +1969,7 @@ Unlike , method. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers20.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers20.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers20.vb" id="Snippet20"::: ]]> @@ -2331,7 +2331,7 @@ A trailing period in `path` is not considered an extension. The following example demonstrates the use of the `HasExtension` method. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet11"::: ]]> @@ -2410,7 +2410,7 @@ The array returned from this method is not guaranteed to contain the complete se The following example demonstrates the use of the `InvalidPathChars` property. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet13"::: ]]> @@ -2675,7 +2675,7 @@ Note that rooted paths can be either absolute (that is, fully qualified) or rela The following example demonstrates how the `IsPathRooted` method can be used to test three strings. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet12"::: ]]> @@ -3293,7 +3293,7 @@ Not all invalid characters for directory and file names are interpreted as unacc The following example demonstrates the use of the `PathSeparator` field. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet13"::: ]]> @@ -3572,7 +3572,7 @@ The destination character span must be large enough to hold the concatenated pat The following example demonstrates the use of the `VolumeSeparatorChar` field. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet13"::: ]]> diff --git a/xml/System.IO/RenamedEventArgs.xml b/xml/System.IO/RenamedEventArgs.xml index c599ba0a173..0200183340b 100644 --- a/xml/System.IO/RenamedEventArgs.xml +++ b/xml/System.IO/RenamedEventArgs.xml @@ -60,7 +60,7 @@ The following example shows how to create a `FileSystemWatcher` to monitor file changes (creates, deletes, renames, changes) occurring on a disk drive. The example also shows how to properly receive error notifications. :::code language="csharp" source="~/snippets/csharp/System.IO/ErrorEventArgs/Overview/filesystemwatcher.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FileSystemWatcher/VB/FileSystemWatcher.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/ErrorEventArgs/Overview/FileSystemWatcher.vb" id="Snippet1"::: ]]> @@ -191,7 +191,7 @@ This property returns the same path that `FileSystemWatcher` is initialized with The following example demonstrates the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/ErrorEventArgs/Overview/filesystemwatcher.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FileSystemWatcher/VB/FileSystemWatcher.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/ErrorEventArgs/Overview/FileSystemWatcher.vb" id="Snippet8"::: ]]> diff --git a/xml/System.IO/RenamedEventHandler.xml b/xml/System.IO/RenamedEventHandler.xml index a2ca73c06d3..4c56f571091 100644 --- a/xml/System.IO/RenamedEventHandler.xml +++ b/xml/System.IO/RenamedEventHandler.xml @@ -64,7 +64,7 @@ The following example shows how to create a FileSystemWatcher to monitor file changes (creates, deletes, renames, changes) occurring on a disk drive. The example also shows how to properly receive error notifications. :::code language="csharp" source="~/snippets/csharp/System.IO/ErrorEventArgs/Overview/filesystemwatcher.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FileSystemWatcher/VB/FileSystemWatcher.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/ErrorEventArgs/Overview/FileSystemWatcher.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO/SearchOption.xml b/xml/System.IO/SearchOption.xml index eba64da1db6..463ab89eead 100644 --- a/xml/System.IO/SearchOption.xml +++ b/xml/System.IO/SearchOption.xml @@ -75,7 +75,7 @@ The following example lists all the directories and files that begin with the letter "c", as in "c:\\". In this example, is used to specify that only the top-level directory should be searched. :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/GetDirectories/searchoption.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DirectoryInfo_SearchOptions/vb/searchoption.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/GetDirectories/searchoption.vb" id="Snippet00"::: ]]> diff --git a/xml/System.IO/SeekOrigin.xml b/xml/System.IO/SeekOrigin.xml index a9cd5673767..f3eaefa834c 100644 --- a/xml/System.IO/SeekOrigin.xml +++ b/xml/System.IO/SeekOrigin.xml @@ -82,7 +82,7 @@ The following example shows how to read backwards starting at the end of the stream, and how to read from a specified point in the stream. :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/Seek/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.filestream.seek/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/Seek/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO/Stream.xml b/xml/System.IO/Stream.xml index 1ab0893d7ea..0cc0fad921e 100644 --- a/xml/System.IO/Stream.xml +++ b/xml/System.IO/Stream.xml @@ -131,7 +131,7 @@ The following example demonstrates how to use two objects to asynchronously copy the files from one directory to another directory. The class derives from the class. Notice that the event handler for the control is marked with the `async` modifier because it calls an asynchronous method. :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/Overview/example.vb" id="Snippet1"::: ]]> @@ -779,7 +779,7 @@ The following example copies the contents of a to a . :::code language="csharp" source="~/snippets/csharp/System.IO/Stream/CopyTo/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stream.copyto/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Stream/CopyTo/program.vb" id="Snippet1"::: ]]> @@ -944,7 +944,7 @@ The following example demonstrates how to use two objects to asynchronously copy the files from one directory to another. The class derives from the class. Notice that the event handler for the control is marked with the `async` modifier because it calls an asynchronous method :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/Overview/example.vb" id="Snippet1"::: ]]> @@ -2285,7 +2285,7 @@ The following example shows how to read from a file asynchronously. The example uses the class, which derives from the class. :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/Overview/example4.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/vb/example4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/Overview/example4.vb" id="Snippet4"::: ]]> @@ -3437,7 +3437,7 @@ This member is an explicit interface member implementation. It can be used only The following example shows how to write asynchronously to a file. The example uses the class, which derives from the class. :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/Overview/example3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/vb/example3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/Overview/example3.vb" id="Snippet3"::: ]]> diff --git a/xml/System.IO/StreamReader.xml b/xml/System.IO/StreamReader.xml index 6db6a6f29f5..6a26aca4752 100644 --- a/xml/System.IO/StreamReader.xml +++ b/xml/System.IO/StreamReader.xml @@ -110,12 +110,12 @@ The following example uses an instance of to read text from a file. The constructor used in this example is not supported for use in Windows Store Apps. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/readtextfile.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ReadTextFile/VB/readtextfile.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/readtextfile.vb" id="Snippet1"::: The following example instantiates a object and calls its method to read a file asynchronously. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/asyncex1.cs" id="Snippet51"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/asyncex1.vb" id="Snippet51"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/asyncex1.vb" id="Snippet51"::: ]]> @@ -203,7 +203,7 @@ The following code example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/.ctor/strmreader ctor1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StrmReader Ctor1/VB/strmreader ctor1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/.ctor/strmreader ctor1.vb" id="Snippet1"::: ]]> @@ -287,7 +287,7 @@ The following code example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/.ctor/strmreader ctor2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StrmReader Ctor2/VB/strmreader ctor2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/.ctor/strmreader ctor2.vb" id="Snippet1"::: ]]> @@ -372,7 +372,7 @@ The following code example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/streamreadersample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/streamreadersample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/streamreadersample.vb" id="Snippet2"::: ]]> @@ -461,7 +461,7 @@ The following code example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/streamreadersample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/streamreadersample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/streamreadersample.vb" id="Snippet2"::: ]]> @@ -547,7 +547,7 @@ The following code example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/streamreadersample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/streamreadersample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/streamreadersample.vb" id="Snippet2"::: ]]> @@ -700,7 +700,7 @@ The following code example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/streamreadersample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/streamreadersample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/streamreadersample.vb" id="Snippet2"::: ]]> @@ -798,7 +798,7 @@ The following code example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/streamreadersample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/streamreadersample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/streamreadersample.vb" id="Snippet2"::: ]]> @@ -897,7 +897,7 @@ The following code example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/streamreadersample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/streamreadersample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/streamreadersample.vb" id="Snippet2"::: ]]> @@ -1000,7 +1000,7 @@ The following code example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/streamreadersample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/streamreadersample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/streamreadersample.vb" id="Snippet2"::: ]]> @@ -1102,7 +1102,7 @@ The following code example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/streamreadersample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/streamreadersample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/streamreadersample.vb" id="Snippet2"::: ]]> @@ -1456,7 +1456,7 @@ Following a call to , any operations on th The following code example gets the encoding of the specified object. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/CurrentEncoding/strmreader currentencoding.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StrmReader CurrentEncoding/VB/strmreader currentencoding.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/CurrentEncoding/strmreader currentencoding.vb" id="Snippet1"::: ]]> @@ -1526,7 +1526,7 @@ Following a call to , any operations on th The following example shows a scenario where the method must be called to synchronize the internal buffer and the underlying stream. The file in the example is used to illustrate position and consists of the text `abcdefghijklmnopqrstuvwxyz`. By calling after the data is read, the example works as expected. After the first 15 characters are read, the position is reset to the offset value of 2 and all the remaining characters are read. If you remove the call to , the example does not work as expected. The first 15 characters are read, but only the position of the underlying stream is reset. The internal buffer of the object is still on the 16th character. Therefore, returns all the characters in the buffer plus the characters in the underlying stream starting from the reset position. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/program.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/module1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/module1.vb" id="Snippet30"::: ]]> @@ -1796,7 +1796,7 @@ Following a call to , any operations on th The following code example reads lines from a file until the end of the file is reached. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Peek/strmreader peek.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StrmReader Peek/VB/strmreader peek.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Peek/strmreader peek.vb" id="Snippet1"::: ]]> @@ -1887,12 +1887,12 @@ Following a call to , any operations on th The following code example demonstrates a simple use of the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Read/strmreader read1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StrmReader Read1/VB/strmreader read1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Read/strmreader read1.vb" id="Snippet1"::: The following code example demonstrates reading a single character using the method overload, formatting the ASCII integer output as decimal and hexadecimal. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Read/strmrdrread.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StrmRdrRead/VB/strmrdrread.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Read/strmrdrread.vb" id="Snippet1"::: ]]> @@ -2032,7 +2032,7 @@ Following a call to , any operations on th The following code example reads five characters at a time until the end of the file is reached. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Read/strmreader read2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StrmReader Read2/VB/strmreader read2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Read/strmreader read2.vb" id="Snippet1"::: ]]> @@ -2165,7 +2165,7 @@ Following a call to , any operations on th The following example shows how to read all the characters in a file by using the method. It checks whether each character is a letter, digit, or white space before adding the character to an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/example42.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/example42.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/example42.vb" id="Snippet42"::: ]]> @@ -2498,7 +2498,7 @@ Following a call to , any operations on th The following code example reads lines from a file until the end of the file is reached. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/ReadLine/strmreader readline.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StrmReader ReadLine/VB/strmreader readline.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/ReadLine/strmreader readline.vb" id="Snippet1"::: ]]> @@ -2573,7 +2573,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following example shows how to read the first line of a file by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/example41.cs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/example41.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/example41.vb" id="Snippet41"::: ]]> @@ -2718,7 +2718,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following code example reads all the way to the end of a file in one operation. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/ReadToEnd/strmreader readtoend.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StrmReader ReadToEnd/VB/strmreader readtoend.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/ReadToEnd/strmreader readtoend.vb" id="Snippet1"::: ]]> @@ -2792,7 +2792,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following example shows how to read the contents of a file by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/example40.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/example40.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/example40.vb" id="Snippet40"::: ]]> diff --git a/xml/System.IO/StreamWriter.xml b/xml/System.IO/StreamWriter.xml index 4e577a8554d..abd03066a0d 100644 --- a/xml/System.IO/StreamWriter.xml +++ b/xml/System.IO/StreamWriter.xml @@ -105,7 +105,7 @@ The following example shows how to use a object to write a file that lists the directories on the C drive, and then uses a object to read and display each directory name. A good practice is to use these objects in a `using` statement so that the unmanaged resources are correctly disposed. The `using` statement automatically calls on the object when the code that is using it has completed. The constructor used in this example is not supported for use in Windows Store Apps. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/streamreadwrite/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/Overview/module1.vb" id="Snippet1"::: ]]> @@ -202,7 +202,7 @@ The following code example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/.ctor/program1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/.ctor/program1.vb" id="Snippet1"::: ]]> @@ -286,7 +286,7 @@ The following code example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/.ctor/program5.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/.ctor/program5.vb" id="Snippet5"::: ]]> @@ -391,7 +391,7 @@ The following example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/.ctor/program2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/.ctor/program2.vb" id="Snippet2"::: ]]> @@ -479,7 +479,7 @@ The following code example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/.ctor/program6.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program6.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/.ctor/program6.vb" id="Snippet6"::: ]]> @@ -633,7 +633,7 @@ The following example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/.ctor/program3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/.ctor/program3.vb" id="Snippet3"::: ]]> @@ -733,7 +733,7 @@ The following example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/.ctor/program7.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program7.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/.ctor/program7.vb" id="Snippet7"::: ]]> @@ -892,7 +892,7 @@ The following example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/.ctor/program4.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/.ctor/program4.vb" id="Snippet4"::: ]]> @@ -990,7 +990,7 @@ The following example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/.ctor/program8.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program8.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/.ctor/program8.vb" id="Snippet8"::: ]]> @@ -1082,7 +1082,7 @@ The following example shows the syntax for using the `AutoFlush` property. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/AutoFlush/logger.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/logger.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/logger.vb" id="Snippet5"::: ]]> @@ -1213,7 +1213,7 @@ The following code example demonstrates the `Close` method. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/AutoFlush/logger.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/logger.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/logger.vb" id="Snippet17"::: ]]> @@ -1397,7 +1397,7 @@ The following example retrieves the encoding of the specified instance. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/AutoFlush/logger.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/logger.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/logger.vb" id="Snippet11"::: ]]> @@ -1675,7 +1675,7 @@ For a list of common I/O tasks, see [Common I/O Tasks](/dotnet/standard/io/commo The following example demonstrates a use of the `Null` field. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/AutoFlush/logger.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/logger.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/logger.vb" id="Snippet6"::: ]]> @@ -2478,7 +2478,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following example shows how to write a single character (the letter "a") to a text file by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/AutoFlush/example20.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example20.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example20.vb" id="Snippet20"::: ]]> @@ -2560,7 +2560,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following example shows how to write a string to a text file by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/AutoFlush/example21.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example21.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example21.vb" id="Snippet21"::: ]]> @@ -2691,7 +2691,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following example shows how to write multiple characters to a text file by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/AutoFlush/example24.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example24.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example24.vb" id="Snippet24"::: ]]> @@ -3294,7 +3294,7 @@ See method. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/AutoFlush/example22.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example22.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example22.vb" id="Snippet22"::: ]]> @@ -3377,7 +3377,7 @@ See method. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/AutoFlush/example23.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example23.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example23.vb" id="Snippet23"::: ]]> @@ -3517,7 +3517,7 @@ The line terminator is defined by the fi The following example shows how to write characters to two separate lines in a text file by using the method. The first line contains the first 11 characters from the string (the letters "First line" followed by a space). The second line contains the remaining characters from the string (the letters "and second line"). :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/AutoFlush/example25.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example25.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example25.vb" id="Snippet25"::: ]]> diff --git a/xml/System.IO/StringReader.xml b/xml/System.IO/StringReader.xml index 55201411b7a..b179f24201e 100644 --- a/xml/System.IO/StringReader.xml +++ b/xml/System.IO/StringReader.xml @@ -113,7 +113,7 @@ The following example shows how to read an entire string asynchronously. :::code language="csharp" source="~/snippets/csharp/System.IO/StringReader/Overview/example2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringreader/vb/example2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringReader/Overview/example2.vb" id="Snippet2"::: ]]> @@ -202,7 +202,7 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/StringReader/.ctor/stringrw.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringReaderWriter/VB/stringrw.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringReader/.ctor/stringrw.vb" id="Snippet2"::: ]]> @@ -515,7 +515,7 @@ This implementation of `Close` calls the class. :::code language="csharp" source="~/snippets/csharp/System.IO/StringReader/.ctor/stringrw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringReaderWriter/VB/stringrw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringReader/.ctor/stringrw.vb" id="Snippet3"::: ]]> @@ -781,7 +781,7 @@ This implementation of `Close` calls the @@ -1065,7 +1065,7 @@ This implementation of `Close` calls the class. :::code language="csharp" source="~/snippets/csharp/System.IO/StringReader/.ctor/stringrw.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringReaderWriter/VB/stringrw.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringReader/.ctor/stringrw.vb" id="Snippet2"::: ]]> @@ -1140,7 +1140,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following example shows how to read one line at a time from a string asynchronously. :::code language="csharp" source="~/snippets/csharp/System.IO/StringReader/Overview/example3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringreader/vb/example3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringReader/Overview/example3.vb" id="Snippet3"::: ]]> @@ -1276,7 +1276,7 @@ This method stores in the task it returns all non-usage exceptions that the meth This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/StringReader/ReadToEnd/textrw.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.TextReaderWriter/VB/textrw.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringReader/ReadToEnd/textrw.vb" id="Snippet5"::: ]]> @@ -1350,7 +1350,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following example shows how to read an entire string asynchronously. :::code language="csharp" source="~/snippets/csharp/System.IO/StringReader/Overview/example2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringreader/vb/example2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringReader/Overview/example2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IO/StringWriter.xml b/xml/System.IO/StringWriter.xml index c703488ae8c..2b855243ff6 100644 --- a/xml/System.IO/StringWriter.xml +++ b/xml/System.IO/StringWriter.xml @@ -113,7 +113,7 @@ The following code example demonstrates the creation of a continuous paragraph from a group of double-spaced sentences, and then the conversion of the paragraph back to the original text. :::code language="csharp" source="~/snippets/csharp/System.IO/StringReader/.ctor/stringrw.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringReaderWriter/VB/stringrw.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringReader/.ctor/stringrw.vb" id="Snippet1"::: ]]> @@ -211,7 +211,7 @@ The following code example demonstrates how to construct a string using the `StringWriter` class. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/.ctor/strwriter1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter1/VB/strwriter1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter1.vb" id="Snippet1"::: ]]> @@ -301,7 +301,7 @@ The following code example demonstrates how to construct a string in a specific culture. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/.ctor/strwriter2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter2/VB/strwriter2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter2.vb" id="Snippet1"::: ]]> @@ -390,7 +390,7 @@ The following code example demonstrates using the class to modify the underlying string in a closed `StringWriter`. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/.ctor/strwriter3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter3/VB/strwriter3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter3.vb" id="Snippet1"::: ]]> @@ -554,7 +554,7 @@ This code example is part of a larger example provided for the constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/.ctor/strwriter3.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter3/VB/strwriter3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter3.vb" id="Snippet2"::: ]]> @@ -710,7 +710,7 @@ This code example is part of a larger example provided for the constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/.ctor/strwriter1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter1/VB/strwriter1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter1.vb" id="Snippet4"::: ]]> @@ -842,7 +842,7 @@ This code example is part of a larger example provided for the constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/.ctor/strwriter1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter1/VB/strwriter1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter1.vb" id="Snippet3"::: ]]> @@ -923,7 +923,7 @@ This code example is part of a larger example provided for the constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/.ctor/strwriter2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter2/VB/strwriter2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter2.vb" id="Snippet2"::: ]]> @@ -1026,7 +1026,7 @@ This code example is part of a larger example provided for the constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/.ctor/strwriter1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter1/VB/strwriter1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter1.vb" id="Snippet2"::: ]]> @@ -1166,7 +1166,7 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/StringReader/.ctor/stringrw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringReaderWriter/VB/stringrw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringReader/.ctor/stringrw.vb" id="Snippet3"::: ]]> @@ -1302,7 +1302,7 @@ This code example is part of a larger example provided for the constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/.ctor/strwriter1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter1/VB/strwriter1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter1.vb" id="Snippet2"::: ]]> @@ -1394,7 +1394,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following example shows how to write characters by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/WriteAsync/example5.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example5.vb" id="Snippet5"::: ]]> @@ -1476,7 +1476,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following example shows how to write a string by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/WriteAsync/example4.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example4.vb" id="Snippet4"::: ]]> @@ -1660,7 +1660,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following example shows how to write characters by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/WriteAsync/example6.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example6.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example6.vb" id="Snippet6"::: ]]> @@ -1838,7 +1838,7 @@ The line terminator is defined by the pro The following example shows how to write characters by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/WriteAsync/example2.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example2.vb" id="Snippet2"::: ]]> @@ -1921,7 +1921,7 @@ The line terminator is defined by the pro The following example shows how to write a string by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/WriteAsync/example.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example.vb" id="Snippet1"::: ]]> The string writer is disposed. @@ -2105,7 +2105,7 @@ The line terminator is defined by the pro The following example shows how to write characters by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/WriteAsync/example3.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example3.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example3.vb" id="Snippet3"::: ]]> diff --git a/xml/System.IO/TextReader.xml b/xml/System.IO/TextReader.xml index e065679e50c..d22f86ee3e3 100644 --- a/xml/System.IO/TextReader.xml +++ b/xml/System.IO/TextReader.xml @@ -109,7 +109,7 @@ The class is an abstract class. Therefore, you do not instantiate it in your code. The class derives from and provides implementations of the members for reading from a stream. The following example shows how to read all the characters in a file by using the method. It checks whether each character is a letter, digit, or white space before adding the character to an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/example42.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/example42.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/example42.vb" id="Snippet42"::: ]]> diff --git a/xml/System.IO/TextWriter.xml b/xml/System.IO/TextWriter.xml index e91e7fe1041..410ec4aa1e8 100644 --- a/xml/System.IO/TextWriter.xml +++ b/xml/System.IO/TextWriter.xml @@ -121,7 +121,7 @@ The class is an abstract class. Therefore, you do not instantiate it in your code. The class derives from and provides implementations of the members for writing to a stream. The following example shows how to write two lines that consist of string values to a text file by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/AutoFlush/example23.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example23.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example23.vb" id="Snippet23"::: ]]> diff --git a/xml/System.IO/WaitForChangedResult.xml b/xml/System.IO/WaitForChangedResult.xml index e59d0c2a066..9d8ede1b198 100644 --- a/xml/System.IO/WaitForChangedResult.xml +++ b/xml/System.IO/WaitForChangedResult.xml @@ -56,7 +56,7 @@ ## Examples This example shows how to use a synchronously by having it wait for a specific file change notification to occur. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/WaitForChangedResult/VB/WaitforChangedResult.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/WaitForChangedResult/Overview/WaitforChangedResult.vb" id="Snippet1"::: ]]> @@ -188,7 +188,7 @@ ## Examples The following example demonstrates the property. This code example is part of a larger example provided for the structure. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/WaitForChangedResult/VB/WaitforChangedResult.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/WaitForChangedResult/Overview/WaitforChangedResult.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IO/WatcherChangeTypes.xml b/xml/System.IO/WatcherChangeTypes.xml index 0aba77b92dd..48b8ab82c24 100644 --- a/xml/System.IO/WatcherChangeTypes.xml +++ b/xml/System.IO/WatcherChangeTypes.xml @@ -61,7 +61,7 @@ The following example shows how to create a FileSystemWatcher to monitor file changes (creates, deletes, renames, changes) occurring on a disk drive. The example also shows how to properly receive error notifications. :::code language="csharp" source="~/snippets/csharp/System.IO/ErrorEventArgs/Overview/filesystemwatcher.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FileSystemWatcher/VB/FileSystemWatcher.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/ErrorEventArgs/Overview/FileSystemWatcher.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO/WindowsRuntimeStorageExtensions.xml b/xml/System.IO/WindowsRuntimeStorageExtensions.xml index 10f40978dff..91e76104d93 100644 --- a/xml/System.IO/WindowsRuntimeStorageExtensions.xml +++ b/xml/System.IO/WindowsRuntimeStorageExtensions.xml @@ -44,7 +44,7 @@ The WindowsRuntimeStorageExtensions class contains two methods that extend in a Windows Store app, and write to it by using an instance of the class. It then reads the contents for the file by using an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage4.xaml.cs" id="Snippet8"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage4.xaml.vb" id="Snippet8"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage4.xaml.vb" id="Snippet8"::: The next example shows the XAML code that is associated with the previous example. @@ -114,7 +114,7 @@ The key benefit of the API is access to a brokered `SafeFileHandle`. This is cri The following example shows how to open a file as a in a Windows Store app, and read its contents by using an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage.xaml.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage.xaml.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage.xaml.vb" id="Snippet2"::: The next example shows the XAML code that is associated with the previous example. @@ -170,7 +170,7 @@ The next example shows the XAML code that is associated with the previous exampl The following example shows how to open a file as a in a Windows Store app, and read its contents by using an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage2.xaml.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage2.xaml.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage2.xaml.vb" id="Snippet4"::: The next example shows the XAML code that is associated with the previous example. @@ -225,7 +225,7 @@ The next example shows the XAML code that is associated with the previous exampl The following example shows how to open a file as a in a Windows Store app, and write to it by using an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage3.xaml.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage3.xaml.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage3.xaml.vb" id="Snippet6"::: The next example shows the XAML code that is associated with the previous example. @@ -283,7 +283,7 @@ The next example shows the XAML code that is associated with the previous exampl The following example shows how to open a file as a in a Windows Store app, and write to it by using an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage4.xaml.cs" id="Snippet8"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage4.xaml.vb" id="Snippet8"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage4.xaml.vb" id="Snippet8"::: The next example shows the XAML code that is associated with the previous example. diff --git a/xml/System.IO/WindowsRuntimeStreamExtensions.xml b/xml/System.IO/WindowsRuntimeStreamExtensions.xml index eaff841cfd6..e4f22d58714 100644 --- a/xml/System.IO/WindowsRuntimeStreamExtensions.xml +++ b/xml/System.IO/WindowsRuntimeStreamExtensions.xml @@ -49,7 +49,7 @@ Starting with the .NET Framework 4.5.1, the `WindowsRuntimeStreamExtensions` cla The following example shows how to use the and :::code language="csharp" source="~/snippets/csharp/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage.xaml.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestreamextensions/vb/blankpage.xaml.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage.xaml.vb" id="Snippet2"::: Here's the XAML code that is associated with the previous example. @@ -99,7 +99,7 @@ Here's the XAML code that is associated with the previous example. The following example shows how to use the `AsInputStream` and methods to convert a managed stream to and from a stream in the Windows Runtime. :::code language="csharp" source="~/snippets/csharp/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage2.xaml.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestreamextensions/vb/blankpage2.xaml.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage2.xaml.vb" id="Snippet4"::: Here's the XAML code that is associated with the previous example. @@ -153,7 +153,7 @@ Here's the XAML code that is associated with the previous example. The following example shows how to use the and `AsOutputStream`> methods to convert a managed stream to and from a stream in the Windows Runtime. :::code language="csharp" source="~/snippets/csharp/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage2.xaml.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestreamextensions/vb/blankpage2.xaml.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage2.xaml.vb" id="Snippet4"::: Here's the XAML code that is associated with the previous example. @@ -343,7 +343,7 @@ A default buffer size of 16,384 bytes is used when converting the stream. To spe The following example shows how to use the and methods to convert a managed stream to and from a stream in the Windows Runtime. :::code language="csharp" source="~/snippets/csharp/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage.xaml.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestreamextensions/vb/blankpage.xaml.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage.xaml.vb" id="Snippet2"::: Here's the XAML code that is associated with the previous example. @@ -445,7 +445,7 @@ A default buffer size of 16,384 bytes is used when converting the stream. To spe The following example shows how to use the and methods to convert a managed stream to and from a stream in the Windows Runtime. :::code language="csharp" source="~/snippets/csharp/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage.xaml.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestreamextensions/vb/blankpage.xaml.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage.xaml.vb" id="Snippet2"::: Here's the XAML code that is associated with the previous example. diff --git a/xml/System.Linq.Expressions/BinaryExpression.xml b/xml/System.Linq.Expressions/BinaryExpression.xml index ca99287c50e..d95966d810b 100644 --- a/xml/System.Linq.Expressions/BinaryExpression.xml +++ b/xml/System.Linq.Expressions/BinaryExpression.xml @@ -66,7 +66,7 @@ The following example creates a object that represents the subtraction of one number from another. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Linq.Expressions/BlockExpression.xml b/xml/System.Linq.Expressions/BlockExpression.xml index 17d95b41dff..8d1a8ab7fab 100644 --- a/xml/System.Linq.Expressions/BlockExpression.xml +++ b/xml/System.Linq.Expressions/BlockExpression.xml @@ -67,7 +67,7 @@ The following code example shows how to create a block expression. The block expression consists of two objects and one object. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet13"::: ]]> diff --git a/xml/System.Linq.Expressions/ConditionalExpression.xml b/xml/System.Linq.Expressions/ConditionalExpression.xml index d01f4ed6a10..9c8d157784f 100644 --- a/xml/System.Linq.Expressions/ConditionalExpression.xml +++ b/xml/System.Linq.Expressions/ConditionalExpression.xml @@ -74,7 +74,7 @@ The following code example shows how to create an expression that represents a conditional statement. If the first argument evaluates to `true`, the second argument is executed; otherwise, the third argument is executed. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Linq.Expressions/ConstantExpression.xml b/xml/System.Linq.Expressions/ConstantExpression.xml index 963ca1bc560..0464021c218 100644 --- a/xml/System.Linq.Expressions/ConstantExpression.xml +++ b/xml/System.Linq.Expressions/ConstantExpression.xml @@ -74,7 +74,7 @@ The following code example shows how to create an expression that represents a constant value by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Linq.Expressions/DefaultExpression.xml b/xml/System.Linq.Expressions/DefaultExpression.xml index 78547c81989..b6f585b1dbf 100644 --- a/xml/System.Linq.Expressions/DefaultExpression.xml +++ b/xml/System.Linq.Expressions/DefaultExpression.xml @@ -62,7 +62,7 @@ The following code example shows how to create an expression that represents a default value for a given type by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Linq.Expressions/ElementInit.xml b/xml/System.Linq.Expressions/ElementInit.xml index a662316789b..9bd2ca4f12e 100644 --- a/xml/System.Linq.Expressions/ElementInit.xml +++ b/xml/System.Linq.Expressions/ElementInit.xml @@ -68,7 +68,7 @@ The following example creates an that represents the initialization of an element of a dictionary collection. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Linq.Expressions/Expression.xml b/xml/System.Linq.Expressions/Expression.xml index 004f61368b8..d45c2336b3c 100644 --- a/xml/System.Linq.Expressions/Expression.xml +++ b/xml/System.Linq.Expressions/Expression.xml @@ -59,7 +59,7 @@ The following code example shows how to create a block expression. The block expression consists of two objects and one object. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet13"::: ]]> @@ -303,7 +303,7 @@ The following code example shows how to create an expression that adds two integers. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet1"::: ]]> @@ -446,7 +446,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that adds a value to an integer variable and then assigns the result of the operation to the variable. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet18"::: ]]> @@ -1085,7 +1085,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that represents a logical AND operation on two Boolean values. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet2"::: ]]> @@ -1301,7 +1301,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that performs a logical AND operation on its two operands only if the first operand evaluates to `true`. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet19"::: ]]> @@ -1697,7 +1697,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to change the value of an element in a multidimensional array by using the `ArrayAccess` method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet21"::: ]]> @@ -1774,7 +1774,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to change a value of an array element by using the `ArrayAccess` method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet20"::: ]]> @@ -1854,7 +1854,7 @@ The following code example shows how to create an expression that adds two integ The following example demonstrates how to use the method to create a that represents indexing into a two-dimensional array. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet3"::: ]]> @@ -2011,7 +2011,7 @@ The following code example shows how to create an expression that adds two integ The following example demonstrates how to use the method to create a that represents indexing into a two-dimensional array. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet3"::: ]]> @@ -2146,7 +2146,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that represents an assignment operation. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet12"::: ]]> @@ -2433,7 +2433,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create a block expression. The block expression consists of two objects and one object. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet13"::: ]]> @@ -2504,7 +2504,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to pass a parameter to a block expression and process this parameter within a block. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet14"::: ]]> @@ -3100,7 +3100,7 @@ The following code example shows how to create an expression that adds two integ The following example demonstrates how to create an expression that contains a object that uses the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet44"::: ]]> @@ -3362,7 +3362,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that calls a method without arguments. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet15"::: ]]> @@ -3490,7 +3490,7 @@ The following code example shows how to create an expression that adds two integ The following example demonstrates how to create an expression that calls a `static` (`Shared` in Visual Basic) method that takes one argument. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet16"::: ]]> @@ -3910,7 +3910,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that calls an instance method that has two arguments. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet17"::: ]]> @@ -4931,7 +4931,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that represents a conditional statement. If the first argument evaluates to `true`, the second argument is executed; otherwise, the third argument is executed. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet3"::: ]]> @@ -5084,7 +5084,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that represents a constant value. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet4"::: ]]> @@ -5156,7 +5156,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that represents a constant of the nullable type and set its value to `null`. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet22"::: ]]> @@ -5228,7 +5228,7 @@ The following code example shows how to create an expression that adds two integ The following example demonstrates how to create a loop expression that uses the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet46"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet46"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet46"::: ]]> @@ -5388,7 +5388,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that represents a type conversion operation. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet23"::: ]]> @@ -5845,7 +5845,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that subtracts 1 from a given value. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet5"::: ]]> @@ -5964,7 +5964,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that represents a default value for a given type. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet6"::: ]]> @@ -6072,7 +6072,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that divides its first argument by its second argument. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet7"::: ]]> @@ -6840,7 +6840,7 @@ The following code example shows how to create an expression that adds two integ The following example demonstrates how to use the method to create an that represents calling the method to initialize an element of a dictionary collection. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet4"::: ]]> @@ -6935,7 +6935,7 @@ The following code example shows how to create an expression that adds two integ The following example demonstrates how to use the method to create an that represents calling the method to initialize an element of a dictionary collection. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet4"::: ]]> @@ -7008,7 +7008,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an empty expression and add it to a block expression. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet31"::: ]]> @@ -7114,7 +7114,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that checks whether the values of its two arguments are equal. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet8"::: ]]> @@ -7326,7 +7326,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that represents the logical XOR operation. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet9"::: ]]> @@ -7782,7 +7782,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that represents accessing a field. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet37"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet37"::: ]]> @@ -8142,7 +8142,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create an expression that contains a object. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet45"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet45"::: ]]> @@ -8424,7 +8424,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following code example shows how to create an expression that compares two integers. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet10"::: ]]> @@ -8638,7 +8638,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following code example shows how to create an expression that compares two integers. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet11"::: ]]> @@ -8802,7 +8802,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following code example shows how to create an expression that represents a conditional block. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet32"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet32"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet32"::: ]]> @@ -8862,7 +8862,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following code example shows how to create an expression that represents a conditional block. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet33"::: ]]> @@ -8941,7 +8941,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following code example shows how to create an expression that represents an increment operation. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet24"::: ]]> @@ -9093,7 +9093,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create an that represents the invocation of a lambda expression with specified arguments. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet6"::: ]]> @@ -9184,7 +9184,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create an that represents the invocation of a lambda expression with specified arguments. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet6"::: ]]> @@ -9499,7 +9499,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create an expression that contains a object. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet43"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet43"::: ]]> @@ -9667,7 +9667,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use a object in a loop expression. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet44"::: ]]> @@ -10240,7 +10240,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create an expression that represents a lambda expression that adds 1 to the passed argument. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet42"::: ]]> @@ -11731,7 +11731,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following code example shows how to create an expression that compares two integers. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet25"::: ]]> @@ -11945,7 +11945,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following code example shows how to create an expression that compares two integers. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet26"::: ]]> @@ -12411,7 +12411,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create a that represents the initialization of a new dictionary instance with two key-value pairs. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet7"::: ]]> @@ -12585,7 +12585,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create a that represents the initialization of a new dictionary instance with two key-value pairs. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet7"::: ]]> @@ -13036,7 +13036,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create a block expression that contains a object. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet44"::: ]]> @@ -13185,7 +13185,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create a that represents the subtraction of one number from another. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet8"::: ]]> @@ -14558,7 +14558,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates an expression that creates a new object and initializes a property of the object. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet40"::: ]]> @@ -14632,7 +14632,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create a that represents the initialization of two members of a new object. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet9"::: ]]> @@ -15143,7 +15143,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following code example shows how to create an expression that multiplies two values. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet27"::: ]]> @@ -15943,7 +15943,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create an expression that represents an arithmetic negation operation. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet50"::: ]]> @@ -16379,7 +16379,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create a that represents constructing a new instance of a dictionary object by calling the constructor without parameters. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet10"::: ]]> @@ -16840,7 +16840,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create an expression tree that represents creating a string array that has a rank of 2. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet2"::: ]]> @@ -16926,7 +16926,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create an expression tree that represents creating a string array that has a rank of 2. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet2"::: ]]> @@ -17020,7 +17020,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create an expression tree that represents creating a one-dimensional string array that is initialized with a list of string expressions. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet1"::: ]]> @@ -17109,7 +17109,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create an expression tree that represents creating a one-dimensional string array that is initialized with a list of string expressions. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet1"::: ]]> @@ -17271,7 +17271,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create an expression that represents a logical NOT operation. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet51"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet51"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet51"::: ]]> @@ -17804,7 +17804,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following code example shows how to create an expression that represents a logical OR operation. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet28"::: ]]> @@ -18217,7 +18217,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following code example shows how to create an expression that represents a logical `OR` operation that evaluates the second operand only if the first operand evaluates to `false`. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet29"::: ]]> @@ -18407,7 +18407,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create a object that prints the value of a object. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet49"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet49"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet49"::: ]]> @@ -19606,7 +19606,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example shows how to create an expression that represents accessing a property. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet38"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet38"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet38"::: ]]> @@ -19948,7 +19948,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example shows how to create an expression that represents accessing a property or field. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet39"::: ]]> @@ -20476,7 +20476,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create an expression that contains the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet43"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet43"::: ]]> @@ -21213,7 +21213,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following code example shows how to create an expression that subtracts the argument from the first argument. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet30"::: ]]> @@ -22004,7 +22004,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create an expression that represents a switch statement without a default case. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet34"::: ]]> @@ -22092,7 +22092,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create an expression that represents a switch statement that has a default case. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet35"::: ]]> @@ -22469,7 +22469,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create an expression that represents a switch statement that has a default case. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet35"::: ]]> @@ -22808,7 +22808,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create a object that uses the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet47"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet47"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet47"::: ]]> @@ -22984,7 +22984,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create a object that contains a catch statement. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet47"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet47"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet47"::: ]]> @@ -23069,7 +23069,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create a object that contains a catch statement and a finally statement. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet48"::: ]]> @@ -23383,7 +23383,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The is the type of the expression tree node, whereas the represents the static common language runtime (CLR) type of the expression that the node represents. For example, two nodes with different node types can have the same , as shown in the following code example. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet36"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet36"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet36"::: ]]> @@ -23447,7 +23447,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create a that represents the reference conversion of a non-nullable integer expression to the nullable integer type. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet11"::: ]]> @@ -23561,7 +23561,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create a that represents a type test of a string value against the type. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet12"::: ]]> diff --git a/xml/System.Linq.Expressions/Expression`1.xml b/xml/System.Linq.Expressions/Expression`1.xml index c61b652e5a1..332cda0bbfe 100644 --- a/xml/System.Linq.Expressions/Expression`1.xml +++ b/xml/System.Linq.Expressions/Expression`1.xml @@ -88,7 +88,7 @@ The following code example demonstrates how to represent a lambda expression both as executable code in the form of a delegate and as data in the form of an expression tree. It also demonstrates how to turn the expression tree back into executable code by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/ExpressionTDelegate/Overview/ExpressionT.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.ExpressionT/VB/ExpressionT.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/ExpressionTDelegate/Overview/ExpressionT.vb" id="Snippet1"::: ]]> @@ -197,7 +197,7 @@ The following code example demonstrates how is used to execute an expression tree. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/ExpressionTDelegate/Overview/ExpressionT.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.ExpressionT/VB/ExpressionT.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/ExpressionTDelegate/Overview/ExpressionT.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Linq.Expressions/GotoExpression.xml b/xml/System.Linq.Expressions/GotoExpression.xml index 1a458ace2d5..84045c5a1a5 100644 --- a/xml/System.Linq.Expressions/GotoExpression.xml +++ b/xml/System.Linq.Expressions/GotoExpression.xml @@ -62,7 +62,7 @@ The following example demonstrates how to create an expression that contains a object by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet45"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet45"::: ]]> diff --git a/xml/System.Linq.Expressions/IndexExpression.xml b/xml/System.Linq.Expressions/IndexExpression.xml index 9e15f953022..d85b2c21151 100644 --- a/xml/System.Linq.Expressions/IndexExpression.xml +++ b/xml/System.Linq.Expressions/IndexExpression.xml @@ -71,7 +71,7 @@ The following code example shows how to create an object of the type and use it to change a value of an array element by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Linq.Expressions/InvocationExpression.xml b/xml/System.Linq.Expressions/InvocationExpression.xml index 98ef53246a3..7a51c5cf095 100644 --- a/xml/System.Linq.Expressions/InvocationExpression.xml +++ b/xml/System.Linq.Expressions/InvocationExpression.xml @@ -79,7 +79,7 @@ The following example creates an that represents invoking a lambda expression with specified arguments. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Linq.Expressions/LabelTarget.xml b/xml/System.Linq.Expressions/LabelTarget.xml index 846fea6c1d5..d39d46d5368 100644 --- a/xml/System.Linq.Expressions/LabelTarget.xml +++ b/xml/System.Linq.Expressions/LabelTarget.xml @@ -58,7 +58,7 @@ The following example demonstrates how to create an expression that contains a object by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet43"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet43"::: ]]> diff --git a/xml/System.Linq.Expressions/LambdaExpression.xml b/xml/System.Linq.Expressions/LambdaExpression.xml index 81a8acebb06..37f0f0ae941 100644 --- a/xml/System.Linq.Expressions/LambdaExpression.xml +++ b/xml/System.Linq.Expressions/LambdaExpression.xml @@ -76,7 +76,7 @@ The following example demonstrates how to create an expression that represents a lambda expression that adds 1 to the passed argument by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet42"::: ]]> diff --git a/xml/System.Linq.Expressions/ListInitExpression.xml b/xml/System.Linq.Expressions/ListInitExpression.xml index cacf1982a2a..5cc6b8c7016 100644 --- a/xml/System.Linq.Expressions/ListInitExpression.xml +++ b/xml/System.Linq.Expressions/ListInitExpression.xml @@ -70,7 +70,7 @@ The following example creates a that represents the initialization of a new dictionary instance that has two key-value pairs. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Linq.Expressions/LoopExpression.xml b/xml/System.Linq.Expressions/LoopExpression.xml index 162dbe5d209..3238439fa12 100644 --- a/xml/System.Linq.Expressions/LoopExpression.xml +++ b/xml/System.Linq.Expressions/LoopExpression.xml @@ -62,7 +62,7 @@ The following example demonstrates how to create a block expression that contains a object by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet44"::: ]]> diff --git a/xml/System.Linq.Expressions/MemberExpression.xml b/xml/System.Linq.Expressions/MemberExpression.xml index 6988e7744d7..1ef7936e665 100644 --- a/xml/System.Linq.Expressions/MemberExpression.xml +++ b/xml/System.Linq.Expressions/MemberExpression.xml @@ -74,7 +74,7 @@ The following example creates a that represents getting the value of a field member. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Linq.Expressions/MemberInitExpression.xml b/xml/System.Linq.Expressions/MemberInitExpression.xml index 82cfb2b8d93..4159d748add 100644 --- a/xml/System.Linq.Expressions/MemberInitExpression.xml +++ b/xml/System.Linq.Expressions/MemberInitExpression.xml @@ -70,7 +70,7 @@ The following example creates a that represents the initialization of two members of a new object. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Linq.Expressions/MethodCallExpression.xml b/xml/System.Linq.Expressions/MethodCallExpression.xml index 80f77386e4a..982121575d7 100644 --- a/xml/System.Linq.Expressions/MethodCallExpression.xml +++ b/xml/System.Linq.Expressions/MethodCallExpression.xml @@ -83,7 +83,7 @@ The following example creates a object that represents indexing into a two-dimensional array. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Linq.Expressions/NewArrayExpression.xml b/xml/System.Linq.Expressions/NewArrayExpression.xml index b9565b154f0..97d4997f7be 100644 --- a/xml/System.Linq.Expressions/NewArrayExpression.xml +++ b/xml/System.Linq.Expressions/NewArrayExpression.xml @@ -81,12 +81,12 @@ The following example creates a object that represents creating and initializing a one-dimensional array of strings. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet1"::: The next example creates a object that represents creating a two-dimensional array of strings. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Linq.Expressions/NewExpression.xml b/xml/System.Linq.Expressions/NewExpression.xml index 7c809dc847b..5a8a2888e35 100644 --- a/xml/System.Linq.Expressions/NewExpression.xml +++ b/xml/System.Linq.Expressions/NewExpression.xml @@ -83,7 +83,7 @@ The following example creates a that represents the construction of a new instance of a dictionary object. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Linq.Expressions/ParameterExpression.xml b/xml/System.Linq.Expressions/ParameterExpression.xml index cfb2d37d924..b3858e19661 100644 --- a/xml/System.Linq.Expressions/ParameterExpression.xml +++ b/xml/System.Linq.Expressions/ParameterExpression.xml @@ -74,7 +74,7 @@ The following example demonstrates how to create a object that prints the value of a object by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet49"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet49"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet49"::: ]]> diff --git a/xml/System.Linq.Expressions/SwitchCase.xml b/xml/System.Linq.Expressions/SwitchCase.xml index 4e6ae482bd2..a4f78dc1315 100644 --- a/xml/System.Linq.Expressions/SwitchCase.xml +++ b/xml/System.Linq.Expressions/SwitchCase.xml @@ -62,7 +62,7 @@ The following example demonstrates how to create an expression that represents a switch statement without a default case by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet34"::: ]]> diff --git a/xml/System.Linq.Expressions/SwitchExpression.xml b/xml/System.Linq.Expressions/SwitchExpression.xml index b7cf708eb79..548d0e2df89 100644 --- a/xml/System.Linq.Expressions/SwitchExpression.xml +++ b/xml/System.Linq.Expressions/SwitchExpression.xml @@ -62,7 +62,7 @@ The following example demonstrates how to create an expression that represents a switch statement that has a default case by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet35"::: ]]> diff --git a/xml/System.Linq.Expressions/TryExpression.xml b/xml/System.Linq.Expressions/TryExpression.xml index 2788d7ede1c..b034fcb35bb 100644 --- a/xml/System.Linq.Expressions/TryExpression.xml +++ b/xml/System.Linq.Expressions/TryExpression.xml @@ -77,7 +77,7 @@ The following example demonstrates how to create a object that contains a catch statement by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet47"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet47"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet47"::: ]]> diff --git a/xml/System.Linq.Expressions/TypeBinaryExpression.xml b/xml/System.Linq.Expressions/TypeBinaryExpression.xml index d2d6bdf0658..6fb53265ceb 100644 --- a/xml/System.Linq.Expressions/TypeBinaryExpression.xml +++ b/xml/System.Linq.Expressions/TypeBinaryExpression.xml @@ -72,7 +72,7 @@ The following example creates a object that represents a type test of a string value against the type. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet12"::: ]]> diff --git a/xml/System.Linq.Expressions/UnaryExpression.xml b/xml/System.Linq.Expressions/UnaryExpression.xml index b9a9c4a5c6d..e5a949a3e28 100644 --- a/xml/System.Linq.Expressions/UnaryExpression.xml +++ b/xml/System.Linq.Expressions/UnaryExpression.xml @@ -82,7 +82,7 @@ The following example creates a object that represents the reference conversion of a non-nullable integer expression to the nullable integer type. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet11"::: ]]> diff --git a/xml/System.Linq/Enumerable.xml b/xml/System.Linq/Enumerable.xml index 9a51a8b0437..44d9f003d1c 100644 --- a/xml/System.Linq/Enumerable.xml +++ b/xml/System.Linq/Enumerable.xml @@ -139,7 +139,7 @@ The following code example demonstrates how to reverse the order of words in a string by using . :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet1"::: ]]> @@ -228,7 +228,7 @@ The following code example demonstrates how to use to apply an accumulator function and use a seed value. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet2"::: ]]> @@ -326,7 +326,7 @@ The following code example demonstrates how to use to apply an accumulator function and a result selector. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet3"::: ]]> @@ -559,12 +559,12 @@ The following code example demonstrates how to use to determine whether all the elements in a sequence satisfy a condition. Variable `allStartWithB` is true if all the pet names start with "B" or if the `pets` array is empty. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet4"::: The Boolean value that the method returns is typically used in the predicate of a `where` clause (`Where` clause in Visual Basic) or a direct call to the method. The following example demonstrates this use of the `All` method. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet129"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet129"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet129"::: ]]> @@ -655,12 +655,12 @@ The following code example demonstrates how to use to determine whether a sequence contains any elements. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet5"::: The Boolean value that the method returns is typically used in the predicate of a `where` clause (`Where` clause in Visual Basic) or a direct call to the method. The following example demonstrates this use of the `Any` method. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet130"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet130"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet130"::: ]]> @@ -743,7 +743,7 @@ The following code example demonstrates how to use to determine whether any element in a sequence satisfies a condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet6"::: ]]> @@ -824,7 +824,7 @@ The following code example demonstrates how to use to append a value to the end of the sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet201"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet201"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet201"::: ]]> @@ -898,7 +898,7 @@ The following code example demonstrates how to use to hide a type's custom `Where` method when the standard query operator implementation is desired. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet108"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet108"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet108"::: ]]> @@ -1085,7 +1085,7 @@ The following code example demonstrates how to use to calculate an average. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet8"::: ]]> @@ -1379,7 +1379,7 @@ The following code example demonstrates how to use to calculate an average. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet12"::: ]]> @@ -1571,7 +1571,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet16"::: ]]> @@ -1651,7 +1651,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet16"::: ]]> @@ -1728,7 +1728,7 @@ The following code example demonstrates how to use to calculate an average. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet18"::: ]]> @@ -1806,7 +1806,7 @@ The following code example demonstrates how to use to calculate an average. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet16"::: ]]> @@ -1886,7 +1886,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet16"::: ]]> @@ -1964,7 +1964,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet16"::: ]]> @@ -2041,7 +2041,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet18"::: ]]> @@ -2119,7 +2119,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet16"::: ]]> @@ -2194,7 +2194,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet18"::: ]]> @@ -2271,7 +2271,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet18"::: ]]> @@ -2378,7 +2378,7 @@ Dim doubles = From item As Integer In sequence The following code example demonstrates how to use to enable the use of the standard query operators on an . :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet19"::: ]]> @@ -2518,12 +2518,12 @@ Each chunk except the last one will be of size `size`. The last chunk will conta The following code example demonstrates how to use to concatenate two sequences. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet20"::: An alternative way of concatenating two sequences is to construct a collection, for example an array, of sequences and then apply the method, passing it the identity selector function. The following example demonstrates this use of . :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet112"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet112"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet112"::: ]]> @@ -2613,7 +2613,7 @@ Each chunk except the last one will be of size `size`. The last chunk will conta The following code example demonstrates how to use to determine whether an array contains a specific element. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet21"::: ]]> @@ -2700,12 +2700,12 @@ Each chunk except the last one will be of size `size`. The last chunk will conta The following example shows how to implement an equality comparer that can be used in the method. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/Comparers/CustomComparer.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQCustomComparer/VB/CustomComparer.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/ContainsTSource/CustomComparer.vb" id="Snippet1"::: After you implement this comparer, you can use a sequence of `Product` objects in the method, as shown in the following example: :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/Comparers/CustomComparer.cs" id="Contains"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQCustomComparer/VB/CustomComparer.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/ContainsTSource/CustomComparer.vb" id="Snippet6"::: ]]> @@ -2792,7 +2792,7 @@ Each chunk except the last one will be of size `size`. The last chunk will conta The following code example demonstrates how to use to count the elements in an array. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet22"::: ]]> @@ -2872,7 +2872,7 @@ Each chunk except the last one will be of size `size`. The last chunk will conta The following code example demonstrates how to use to count the elements in an array that satisfy a condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet23"::: ]]> @@ -3025,12 +3025,12 @@ Each chunk except the last one will be of size `size`. The last chunk will conta This example uses a non-empty sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet24"::: This example uses an empty sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet25"::: ]]> @@ -3108,7 +3108,7 @@ Each chunk except the last one will be of size `size`. The last chunk will conta The following code example demonstrates how to use the method and specify a default value. The first sequence is not empty and the second sequence is empty. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet26"::: ]]> @@ -3207,17 +3207,17 @@ Each chunk except the last one will be of size `size`. The last chunk will conta The following code example demonstrates how to use to return distinct elements from a sequence of integers. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet27"::: If you want to return distinct elements from sequences of objects of some custom data type, you have to implement the generic interface in the class. The following code example shows how to implement this interface in a custom data type and provide and methods. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/Comparers/EncapsulatedComparer.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQEncapsulatedComparer/VB/EncapsulatedComparer.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/DistinctTSource/EncapsulatedComparer.vb" id="Snippet1"::: After you implement this interface, you can use a sequence of `Product` objects in the method, as shown in the following example: :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/Comparers/EncapsulatedComparer.cs" id="Distinct"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQEncapsulatedComparer/VB/EncapsulatedComparer.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/DistinctTSource/EncapsulatedComparer.vb" id="Snippet5"::: ]]> @@ -3303,12 +3303,12 @@ Each chunk except the last one will be of size `size`. The last chunk will conta The following example shows how to implement an equality comparer that can be used in the method. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/Comparers/CustomComparer.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQCustomComparer/VB/CustomComparer.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/ContainsTSource/CustomComparer.vb" id="Snippet1"::: After you implement this comparer, you can use a sequence of `Product` objects in the method, as shown in the following example: :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/Comparers/CustomComparer.cs" id="Distinct"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQCustomComparer/VB/CustomComparer.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/ContainsTSource/CustomComparer.vb" id="Snippet5"::: ]]> @@ -3595,7 +3595,7 @@ This method throws an exception if `index` is out of range. To instead return a The following code example demonstrates how to use to return an element at a specific position. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet28"::: ]]> @@ -3736,7 +3736,7 @@ The default value for reference and nullable types is `null`. The following code example demonstrates how to use . This example uses an index that is outside the bounds of the array. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet29"::: ]]> @@ -3807,12 +3807,12 @@ The default value for reference and nullable types is `null`. The following code example demonstrates how to use to generate an empty . :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet30"::: The following code example demonstrates a possible application of the method. The method is applied to a collection of string arrays. The elements of each array in the collection are added to the resulting only if that array contains four or more elements. is used to generate the seed value for because if no array in the collection has four or more elements, only the empty sequence is returned. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet31"::: ]]> @@ -3909,17 +3909,17 @@ Only unique elements are returned. The following code example demonstrates how to use the `Except(IEnumerable, IEnumerable)` method to compare two sequences of numbers and return elements that appear only in the first sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet34"::: If you want to compare sequences of objects of some custom data type, you have to implement the generic interface in a helper class. The following code example shows how to implement this interface in a custom data type and override the and methods. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/Comparers/EncapsulatedComparer.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQEncapsulatedComparer/VB/EncapsulatedComparer.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/DistinctTSource/EncapsulatedComparer.vb" id="Snippet9"::: After you implement this interface, you can use sequences of `ProductA` objects in the `Except(IEnumerable, IEnumerable)` method, as shown in the following example: :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/Comparers/EncapsulatedComparer.cs" id="Except"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQEncapsulatedComparer/VB/EncapsulatedComparer.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/DistinctTSource/EncapsulatedComparer.vb" id="Snippet7"::: ]]> @@ -4003,12 +4003,12 @@ Only unique elements are returned. The following example shows how to implement an equality comparer that can be used in the method. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/Comparers/CustomComparer.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQCustomComparer/VB/CustomComparer.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/ContainsTSource/CustomComparer.vb" id="Snippet1"::: After you implement this comparer, you can use sequences of `Product` objects in the method, as shown in the following example: :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/Comparers/CustomComparer.cs" id="Except"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQCustomComparer/VB/CustomComparer.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/ContainsTSource/CustomComparer.vb" id="Snippet7"::: ]]> @@ -4221,7 +4221,7 @@ Only unique elements are returned. The following code example demonstrates how to use to return the first element of an array. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet35"::: ]]> @@ -4296,7 +4296,7 @@ Only unique elements are returned. The following code example demonstrates how to use to return the first element of an array that satisfies a condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet36"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet36"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet36"::: ]]> @@ -4388,12 +4388,12 @@ Only unique elements are returned. The following code example demonstrates how to use on an empty array. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet37"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet37"::: Sometimes the value of `default(TSource)` is not the default value that you want to use if the collection contains no elements. Instead of checking the result for the unwanted default value and then changing it if necessary, you can use the method to specify the default value that you want to use if the collection is empty. Then, call to obtain the first element. The following code example uses both techniques to obtain a default value of 1 if a collection of numeric months is empty. Because the default value for an integer is 0, which does not correspond to any month, the default value must be specified as 1 instead. The first result variable is checked for the unwanted default value after the query has finished executing. The second result variable is obtained by using to specify a default value of 1. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet126"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet126"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet126"::: ]]> @@ -4469,7 +4469,7 @@ Only unique elements are returned. The following code example demonstrates how to use by passing in a predicate. In the second call to the method, there is no element in the array that satisfies the condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet38"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet38"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet38"::: ]]> @@ -4884,12 +4884,12 @@ Only unique elements are returned. The following code example demonstrates how to use to group the elements of a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet39"::: In query expression syntax, a `group by` (C#) or `Group By Into` (Visual Basic) clause translates to an invocation of . The translation of the query expression in the following example is equivalent to the query in the example above. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet122"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet122"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet122"::: > [!NOTE] > In a C# or Visual Basic query expression, the element and key selection expressions occur in the reverse order from their argument positions in a call to the method. @@ -5105,7 +5105,7 @@ Only unique elements are returned. The following code example demonstrates how to use to group the elements of a sequence and project a sequence of results of type `TResult`. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet15"::: ]]> @@ -5305,7 +5305,7 @@ Only unique elements are returned. The following code example demonstrates how to use to group the projected elements of a sequence and then project a sequence of results of type `TResult`. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet125"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet125"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet125"::: ]]> @@ -5544,7 +5544,7 @@ Only unique elements are returned. The following code example demonstrates how to use to perform a grouped join on two sequences. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet40"::: ]]> @@ -5870,20 +5870,20 @@ Only unique elements are returned. The following code example demonstrates how to use `Intersect(IEnumerable, IEnumerable)` to return the elements that appear in each of two sequences of integers. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet41"::: If you want to compare sequences of objects of some custom data type, you have to implement the generic interface in a helper class. The following code example shows how to implement this interface in a custom data type and override and methods. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/Comparers/EncapsulatedComparer.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQEncapsulatedComparer/VB/EncapsulatedComparer.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/DistinctTSource/EncapsulatedComparer.vb" id="Snippet9"::: After you implement this interface, you can use sequences of `ProductA` objects in the `Intersect` method, as shown in the following example: :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/Comparers/EncapsulatedComparer.cs" id="Snippet10"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQEncapsulatedComparer/VB/EncapsulatedComparer.vb" id="Snippet10"::: +:::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/DistinctTSource/EncapsulatedComparer.vb" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/Comparers/EncapsulatedComparer.cs" id="Intersect"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQEncapsulatedComparer/VB/EncapsulatedComparer.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/DistinctTSource/EncapsulatedComparer.vb" id="Snippet3"::: ]]> @@ -5973,13 +5973,13 @@ Only unique elements are returned. The following example shows how to implement an equality comparer that can be used in the `Intersect` method. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/Comparers/CustomComparer.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQCustomComparer/VB/CustomComparer.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/ContainsTSource/CustomComparer.vb" id="Snippet1"::: After you implement this comparer, you can use sequences of `Product` objects in the `Intersect` method, as shown in the following example: :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/Comparers/CustomComparer.cs" id="Intersect"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQCustomComparer/VB/CustomComparer.vb" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQCustomComparer/VB/CustomComparer.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/ContainsTSource/CustomComparer.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/ContainsTSource/CustomComparer.vb" id="Snippet3"::: ]]> @@ -6269,7 +6269,7 @@ If `comparer` is `null`, the default equality comparer, to perform an inner join of two sequences based on a common key. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet42"::: ]]> @@ -6477,7 +6477,7 @@ If `comparer` is `null`, the default equality comparer, to return the last element of an array. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet43"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet43"::: ]]> @@ -6552,7 +6552,7 @@ If `comparer` is `null`, the default equality comparer, to return the last element of an array that satisfies a condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet44"::: ]]> @@ -6644,12 +6644,12 @@ If `comparer` is `null`, the default equality comparer, on an empty array. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet45"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet45"::: Sometimes the value of `default(TSource)` is not the default value that you want to use if the collection contains no elements. Instead of checking the result for the unwanted default value and then changing it if necessary, you can use the method to specify the default value that you want to use if the collection is empty. Then, call to obtain the last element. The following code example uses both techniques to obtain a default value of 1 if a collection of numeric days of the month is empty. Because the default value for an integer is 0, which does not correspond to any day of the month, the default value must be specified as 1 instead. The first result variable is checked for the unwanted default value after the query has finished executing. The second result variable is obtained by using to specify a default value of 1. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet127"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet127"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet127"::: ]]> @@ -6725,7 +6725,7 @@ If `comparer` is `null`, the default equality comparer, by passing in a predicate. In the second call to the method, there is no element in the sequence that satisfies the condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet46"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet46"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet46"::: ]]> @@ -7091,7 +7091,7 @@ If `comparer` is `null`, the default equality comparer, to count the elements in an array. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet47"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet47"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet47"::: ]]> @@ -7169,7 +7169,7 @@ If `comparer` is `null`, the default equality comparer, to count the elements in an array that satisfy a condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet48"::: ]]> @@ -7425,7 +7425,7 @@ If `comparer` is `null`, the default equality comparer, to determine the maximum value in a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet52"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet52"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet52"::: ]]> @@ -7553,7 +7553,7 @@ If `comparer` is `null`, the default equality comparer, to determine the maximum value in a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet54"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet54"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet54"::: ]]> @@ -7871,7 +7871,7 @@ If `comparer` is `null`, the default equality comparer, to determine the maximum value in a sequence of objects. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet57"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet57"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet57"::: ]]> @@ -8023,7 +8023,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Max()` clause transl [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet58"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet58"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet58"::: ]]> @@ -8106,7 +8106,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Max()` clause transl [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet58"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet58"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet58"::: ]]> @@ -8187,7 +8187,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Max()` clause transl The following code example demonstrates how to use to determine the maximum value in a sequence of projected values. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet58"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet58"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet58"::: ]]> @@ -8270,7 +8270,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Max()` clause transl [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet58"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet58"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet58"::: ]]> @@ -8353,7 +8353,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Max()` clause transl [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet58"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet58"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet58"::: ]]> @@ -8434,7 +8434,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Max()` clause transl [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet58"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet58"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet58"::: ]]> @@ -8515,7 +8515,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Max()` clause transl [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet58"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet58"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet58"::: ]]> @@ -8598,7 +8598,7 @@ The following code example demonstrates how to use @@ -8681,7 +8681,7 @@ The following code example demonstrates how to use @@ -8764,7 +8764,7 @@ The following code example demonstrates how to use @@ -8857,7 +8857,7 @@ The following code example demonstrates how to use @@ -9135,7 +9135,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Min()` clause transl The following code example demonstrates how to use to determine the minimum value in a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet60"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet60"::: +:::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet60"::: ]]> @@ -9449,7 +9449,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Min()` clause transl The following code example demonstrates how to use to determine the minimum value in a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet63"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet63"::: +:::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet63"::: ]]> @@ -9712,7 +9712,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Min()` clause transl The following code example demonstrates how to use to determine the minimum value in a sequence of objects. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet67"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet67"::: +:::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet67"::: ]]> @@ -9866,7 +9866,7 @@ The following code example demonstrates how to use @@ -9951,7 +9951,7 @@ The following code example demonstrates how to use @@ -10034,7 +10034,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Min()` clause transl The following code example demonstrates how to use to determine the minimum value in a sequence of projected values. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet68"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet68"::: +:::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet68"::: ]]> @@ -10119,7 +10119,7 @@ The following code example demonstrates how to use @@ -10204,7 +10204,7 @@ The following code example demonstrates how to use @@ -10287,7 +10287,7 @@ The following code example demonstrates how to use @@ -10370,7 +10370,7 @@ The following code example demonstrates how to use @@ -10453,7 +10453,7 @@ The following code example demonstrates how to use @@ -10536,7 +10536,7 @@ The following code example demonstrates how to use @@ -10619,7 +10619,7 @@ The following code example demonstrates how to use @@ -10712,7 +10712,7 @@ The following code example demonstrates how to use @@ -10931,7 +10931,7 @@ The following code example demonstrates how to use to filter the elements of an . :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet69"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet69"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet69"::: ]]> @@ -11168,7 +11168,7 @@ If comparer is `null`, the default comparer @@ -11483,7 +11483,7 @@ If comparer is `null`, the default comparer @@ -11695,7 +11695,7 @@ If comparer is `null`, the default comparer @@ -11758,7 +11758,7 @@ If comparer is `null`, the default comparer @@ -11836,7 +11836,7 @@ If comparer is `null`, the default comparer @@ -11910,7 +11910,7 @@ If comparer is `null`, the default comparer @@ -12228,7 +12228,7 @@ If comparer is `null`, the default comparer @@ -12315,7 +12315,7 @@ If comparer is `null`, the default comparer @@ -12415,7 +12415,7 @@ If comparer is `null`, the default comparer @@ -12504,7 +12504,7 @@ If comparer is `null`, the default comparer @@ -12602,7 +12602,7 @@ If comparer is `null`, the default comparer @@ -12840,22 +12840,22 @@ If comparer is `null`, the default comparer generic interface in your class. The following code example shows how to implement this interface in a helper class and provide and methods. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/Comparers/EncapsulatedComparer.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQEncapsulatedComparer/VB/EncapsulatedComparer.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/DistinctTSource/EncapsulatedComparer.vb" id="Snippet9"::: After you implement this interface, you can use sequences of `ProductA` objects in the `SequenceEqual(IEnumerable, IEnumerable)` method, as shown in the following example: :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/Comparers/EncapsulatedComparer.cs" id="SequenceEqual"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQEncapsulatedComparer/VB/EncapsulatedComparer.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/DistinctTSource/EncapsulatedComparer.vb" id="Snippet8"::: ]]> @@ -12940,12 +12940,12 @@ If comparer is `null`, the default comparer method, as shown in the following example: :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/Comparers/CustomComparer.cs" id="SequenceEqual"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQCustomComparer/VB/CustomComparer.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/ContainsTSource/CustomComparer.vb" id="Snippet8"::: ]]> @@ -13070,12 +13070,12 @@ If comparer is `null`, the default comparer throws an exception when the sequence does not contain exactly one element. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet80"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet80"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet80"::: ]]> @@ -13154,12 +13154,12 @@ If comparer is `null`, the default comparer throws an exception when the sequence does not contain exactly one element that satisfies the condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet82"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet82"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet82"::: ]]> @@ -13253,17 +13253,17 @@ If comparer is `null`, the default comparer returns a default value when the sequence is empty. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet84"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet84"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet84"::: Sometimes the value of `default(TSource)` is not the default value that you want to use if the collection contains no elements. Instead of checking the result for the unwanted default value and then changing it if necessary, you can use the method to specify the default value that you want to use if the collection is empty. Then, call to obtain the element. The following code example uses both techniques to obtain a default value of 1 if a collection of page numbers is empty. Because the default value for an integer is 0, which is not usually a valid page number, the default value must be specified as 1 instead. The first result variable is checked for the unwanted default value after the query has finished executing. The second result variable is obtained by using to specify a default value of 1. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet128"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet128"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet128"::: ]]> @@ -13339,12 +13339,12 @@ If comparer is `null`, the default comparer returns a default value when the sequence contains no elements that satisfy the condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet86"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet86"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet86"::: ]]> @@ -13529,7 +13529,7 @@ If comparer is `null`, the default comparer @@ -13686,7 +13686,7 @@ If `count` is not a positive number, this method returns an identical copy of th The following code example demonstrates how to use to skip elements of an array as long as a condition is true. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet88"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet88"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet88"::: ]]> @@ -13771,7 +13771,7 @@ If `count` is not a positive number, this method returns an identical copy of th The following code example demonstrates how to use to skip elements of an array as long as a condition that depends on the element's index is true. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet89"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet89"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet89"::: ]]> @@ -14327,7 +14327,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Sum()` clause transl The following code example demonstrates how to use to sum the values of a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet121"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet121"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet121"::: ]]> @@ -14392,7 +14392,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Sum()` clause transl The following code example demonstrates how to use to sum the values of a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet120"::: ]]> @@ -14474,7 +14474,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Sum()` clause transl [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet98"::: ]]> @@ -14555,7 +14555,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Sum()` clause transl The following code example demonstrates how to use to sum the projected values of a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet98"::: ]]> @@ -14638,7 +14638,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Sum()` clause transl [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet98"::: ]]> @@ -14721,7 +14721,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Sum()` clause transl [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet98"::: ]]> @@ -14804,7 +14804,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Sum()` clause transl [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet98"::: ]]> @@ -14887,7 +14887,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Sum()` clause transl [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet98"::: ]]> @@ -14970,7 +14970,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Sum()` clause transl [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet98"::: ]]> @@ -15053,7 +15053,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Sum()` clause transl [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet98"::: ]]> @@ -15136,7 +15136,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Sum()` clause transl [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet98"::: ]]> @@ -15218,7 +15218,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Sum()` clause transl [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet98"::: ]]> @@ -15301,7 +15301,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Sum()` clause transl The following code example demonstrates how to use to return elements from the start of a sequence (after it's sorted). :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet99"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet99"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet99"::: ]]> @@ -15516,7 +15516,7 @@ If `count` is not a positive number, this method returns an empty enumerable col The following code example demonstrates how to use to return elements from the start of a sequence as long as a condition is true. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet100"::: ]]> @@ -15599,7 +15599,7 @@ If `count` is not a positive number, this method returns an empty enumerable col The following code example demonstrates how to use to return elements from the start of a sequence as long as a condition that uses the element's index is true. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet101"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet101"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet101"::: ]]> @@ -15707,7 +15707,7 @@ If `count` is not a positive number, this method returns an empty enumerable col The following code example demonstrates how to use to perform a secondary ordering of the elements in a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet102"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet102"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet102"::: ]]> @@ -16016,7 +16016,7 @@ If `count` is not a positive number, this method returns an empty enumerable col The following code example demonstrates how to use to perform a secondary ordering of the elements in a sequence in descending order by using a custom comparer. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet103"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet103"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet103"::: ]]> @@ -16090,7 +16090,7 @@ If `count` is not a positive number, this method returns an empty enumerable col The following code example demonstrates how to use to force immediate query evaluation and return an array of results. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet104"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet104"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet104"::: ]]> @@ -16431,7 +16431,7 @@ If `count` is not a positive number, this method returns an empty enumerable col The following code example demonstrates how to use to create a by using a key selector. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet105"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet105"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet105"::: ]]> @@ -16907,7 +16907,7 @@ If `count` is not a positive number, this method returns an empty enumerable col The following code example demonstrates how to use to force immediate query evaluation and return a that contains the query results. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet106"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet106"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet106"::: ]]> @@ -17182,7 +17182,7 @@ If `count` is not a positive number, this method returns an empty enumerable col The following code example demonstrates how to use to create a by using a key selector function and an element selector function. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet107"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet107"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet107"::: ]]> @@ -17433,20 +17433,20 @@ The method is typically a constant-time operation, but ultimately this depends o The following code example demonstrates how to use `Union(IEnumerable, IEnumerable)` to obtain the union of two sequences of integers. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet109"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet109"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet109"::: If you want to compare sequences of objects of some custom data type, you have to implement the generic interface in a helper class. The following code example shows how to implement this interface in a custom data type and override and methods. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/Comparers/EncapsulatedComparer.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQEncapsulatedComparer/VB/EncapsulatedComparer.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/DistinctTSource/EncapsulatedComparer.vb" id="Snippet9"::: After you implement this interface, you can use sequences of `ProductA` objects in the `Union(IEnumerable, IEnumerable)` method, as shown in the following example: :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/Comparers/EncapsulatedComparer.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQEncapsulatedComparer/VB/EncapsulatedComparer.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/DistinctTSource/EncapsulatedComparer.vb" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/Comparers/EncapsulatedComparer.cs" id="Union"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQEncapsulatedComparer/VB/EncapsulatedComparer.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/DistinctTSource/EncapsulatedComparer.vb" id="Snippet4"::: ]]> @@ -17536,13 +17536,13 @@ The method is typically a constant-time operation, but ultimately this depends o The following example shows how to implement an equality comparer that can be used in the method. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/Comparers/CustomComparer.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQCustomComparer/VB/CustomComparer.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/ContainsTSource/CustomComparer.vb" id="Snippet1"::: After you implement this comparer, you can use sequences of `Product` objects in the method, as shown in the following example: :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/Comparers/CustomComparer.cs" id="Union"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQCustomComparer/VB/CustomComparer.vb" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/CsLINQCustomComparer/VB/CustomComparer.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/ContainsTSource/CustomComparer.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/ContainsTSource/CustomComparer.vb" id="Snippet4"::: ]]> @@ -17787,7 +17787,7 @@ When the object returned by this method is enumerated, to filter a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet110"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet110"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet110"::: ]]> @@ -17865,7 +17865,7 @@ When the object returned by this method is enumerated, to filter a sequence based on a predicate that involves the index of each element. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet111"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet111"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet111"::: ]]> @@ -18031,7 +18031,7 @@ When the object returned by this method is enumerated, method to merge two sequences. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet200"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet200"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet200"::: ]]> diff --git a/xml/System.Linq/IGrouping`2.xml b/xml/System.Linq/IGrouping`2.xml index b7b79c59f07..c4620a1ba4d 100644 --- a/xml/System.Linq/IGrouping`2.xml +++ b/xml/System.Linq/IGrouping`2.xml @@ -101,7 +101,7 @@ The example then outputs the key of the object and the property of each value in the object's sequence of values. Notice that to access an object's sequence of values, you simply use the variable itself. :::code language="csharp" source="~/snippets/csharp/System.Linq/IGroupingTKey,TElement/Overview/igrouping.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.IGrouping/VB/IGrouping.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/IGroupingTKey,TElement/Overview/IGrouping.vb" id="Snippet1"::: ]]> @@ -158,7 +158,7 @@ The following example demonstrates how to use the property to label each object in a sequence of objects. The method is used to obtain a sequence of objects. The `foreach` in Visual C# or `For Each` in Visual Basic loop then iterates through each object, outputting its key and the number of values it contains. :::code language="csharp" source="~/snippets/csharp/System.Linq/IGroupingTKey,TElement/Overview/igrouping.cs" interactive="try-dotnet-method" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.IGrouping/VB/IGrouping.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/IGroupingTKey,TElement/Overview/IGrouping.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Linq/ILookup`2.xml b/xml/System.Linq/ILookup`2.xml index 171c1d93a92..2f11ef1ca69 100644 --- a/xml/System.Linq/ILookup`2.xml +++ b/xml/System.Linq/ILookup`2.xml @@ -84,7 +84,7 @@ The following code example creates an object and iterates through its contents. :::code language="csharp" source="~/snippets/csharp/System.Linq/ILookupTKey,TElement/Overview/ILookup.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.ILookup/vb/ILookup.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/ILookupTKey,TElement/Overview/ILookup.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Linq/IOrderedEnumerable`1.xml b/xml/System.Linq/IOrderedEnumerable`1.xml index 3d66385b6ce..edf000e0493 100644 --- a/xml/System.Linq/IOrderedEnumerable`1.xml +++ b/xml/System.Linq/IOrderedEnumerable`1.xml @@ -78,7 +78,7 @@ The following example demonstrates how to perform a primary and secondary ordering on an array of strings. It also demonstrates that the resulting is enumerable. :::code language="csharp" source="~/snippets/csharp/System.Linq/IOrderedEnumerableTElement/Overview/IOrderedEnumerable.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.IOrderedEnumerable/VB/IOrderedEnumerable.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/IOrderedEnumerableTElement/Overview/IOrderedEnumerable.vb" id="Snippet1"::: ]]> @@ -166,7 +166,7 @@ The following code example demonstrates how to use to perform a secondary ordering on an . :::code language="csharp" source="~/snippets/csharp/System.Linq/IOrderedEnumerableTElement/Overview/IOrderedEnumerable.cs" interactive="try-dotnet-method" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.IOrderedEnumerable/VB/IOrderedEnumerable.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/IOrderedEnumerableTElement/Overview/IOrderedEnumerable.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Linq/Lookup`2.xml b/xml/System.Linq/Lookup`2.xml index e2f6b82d8b7..83058bc34f4 100644 --- a/xml/System.Linq/Lookup`2.xml +++ b/xml/System.Linq/Lookup`2.xml @@ -99,7 +99,7 @@ The following example creates a from a collection of objects. It then enumerates the and outputs each key and each value in the key's associated collection of values. It also demonstrates how to use the properties and and the methods and . :::code language="csharp" source="~/snippets/csharp/System.Linq/LookupTKey,TElement/Overview/lookup.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Lookup/VB/Lookup.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/LookupTKey,TElement/Overview/Lookup.vb" id="Snippet1"::: ]]> @@ -227,7 +227,7 @@ The following example demonstrates how to use to determine whether a contains a specified key. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Linq/LookupTKey,TElement/Overview/lookup.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Lookup/VB/Lookup.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/LookupTKey,TElement/Overview/Lookup.vb" id="Snippet4"::: ]]> @@ -293,7 +293,7 @@ The following example demonstrates how to use to determine the number of key/value collection pairs in a . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Linq/LookupTKey,TElement/Overview/lookup.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Lookup/VB/Lookup.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/LookupTKey,TElement/Overview/Lookup.vb" id="Snippet2"::: ]]> @@ -360,7 +360,7 @@ The following example demonstrates how to use to iterate through the keys and values of a . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Linq/LookupTKey,TElement/Overview/lookup.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Lookup/VB/Lookup.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/LookupTKey,TElement/Overview/Lookup.vb" id="Snippet5"::: ]]> @@ -424,7 +424,7 @@ The following example demonstrates how to use to index directly into a . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Linq/LookupTKey,TElement/Overview/lookup.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Lookup/VB/Lookup.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/LookupTKey,TElement/Overview/Lookup.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Linq/Queryable.xml b/xml/System.Linq/Queryable.xml index 7438661a584..0ce76496420 100644 --- a/xml/System.Linq/Queryable.xml +++ b/xml/System.Linq/Queryable.xml @@ -147,7 +147,7 @@ The following code example demonstrates how to use to build a sentence from an array of strings. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet1"::: ]]> @@ -246,7 +246,7 @@ The following code example demonstrates how to use to apply an accumulator function when a seed value is provided to the function. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet2"::: ]]> @@ -354,7 +354,7 @@ The following code example demonstrates how to use to apply an accumulator function and a result selector. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet3"::: ]]> @@ -591,12 +591,12 @@ The following code example demonstrates how to use to determine whether all the elements in a sequence satisfy a condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet4"::: The Boolean value that the method returns is typically used in the predicate of a `where` clause (`Where` clause in Visual Basic) or a direct call to the method. The following example demonstrates this use of the `All` method. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet134"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet134"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet134"::: ]]> @@ -687,12 +687,12 @@ The following code example demonstrates how to use to determine whether a sequence contains any elements. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet5"::: The Boolean value that the method returns is typically used in the predicate of a `where` clause (`Where` clause in Visual Basic) or a direct call to the method. The following example demonstrates this use of the `Any` method. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet135"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet135"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet135"::: ]]> @@ -777,7 +777,7 @@ The following code example demonstrates how to use to determine whether any element in a sequence satisfies a condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet6"::: ]]> @@ -994,7 +994,7 @@ The following code example demonstrates how to use to convert an to an . :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet125"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet125"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet125"::: ]]> @@ -1069,7 +1069,7 @@ [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet8"::: ]]> @@ -1136,7 +1136,7 @@ [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet8"::: ]]> @@ -1201,7 +1201,7 @@ The following code example demonstrates how to use to calculate the average of a sequence of values. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet8"::: ]]> @@ -1268,7 +1268,7 @@ [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet8"::: ]]> @@ -1335,7 +1335,7 @@ [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet12"::: ]]> @@ -1400,7 +1400,7 @@ [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet12"::: ]]> @@ -1465,7 +1465,7 @@ [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet12"::: ]]> @@ -1528,7 +1528,7 @@ The following code example demonstrates how to use to calculate the average of a sequence of values. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet12"::: ]]> @@ -1593,7 +1593,7 @@ [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet12"::: ]]> @@ -1658,7 +1658,7 @@ [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet8"::: ]]> @@ -1746,7 +1746,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet18"::: ]]> @@ -1834,7 +1834,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet18"::: ]]> @@ -1920,7 +1920,7 @@ The following code example demonstrates how to use to calculate the average length in a sequence of values of type . :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet18"::: ]]> @@ -2008,7 +2008,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet18"::: ]]> @@ -2096,7 +2096,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet18"::: ]]> @@ -2182,7 +2182,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet18"::: ]]> @@ -2268,7 +2268,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet18"::: ]]> @@ -2354,7 +2354,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet18"::: ]]> @@ -2440,7 +2440,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet18"::: ]]> @@ -2526,7 +2526,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet18"::: ]]> @@ -2606,7 +2606,7 @@ The following code example demonstrates how to use to convert objects in a sequence to type . :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet19"::: ]]> @@ -2759,7 +2759,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to concatenate two sequences. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet20"::: ]]> @@ -2852,7 +2852,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to determine whether a sequence contains a specific element. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet21"::: ]]> @@ -3027,7 +3027,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to count the elements in a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet22"::: ]]> @@ -3112,7 +3112,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to count the elements in a sequence that satisfy a condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet23"::: ]]> @@ -3267,7 +3267,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code examples demonstrate how to use to provide a default value in case the source sequence is empty. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet24"::: ]]> @@ -3349,7 +3349,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example shows a situation in which it is useful to call in a LINQ query. A default value is passed to in this example. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet25"::: ]]> @@ -3439,7 +3439,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to return distinct elements from a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet27"::: ]]> @@ -3800,7 +3800,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to return an element at a specific position in a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet28"::: ]]> @@ -3943,7 +3943,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use . This example uses a value for `index` that is outside the bounds of the source sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet29"::: ]]> @@ -4035,7 +4035,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to return those elements that only appear in the first source sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet34"::: ]]> @@ -4348,7 +4348,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to return the first element in a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet35"::: ]]> @@ -4433,7 +4433,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to return the first element of a sequence that satisfies a condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet36"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet36"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet36"::: ]]> @@ -4532,12 +4532,12 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use on an empty sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet37"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet37"::: Sometimes the value of `default(TSource)` is not the default value that you want to use if the collection contains no elements. Instead of checking the result for the unwanted default value and then changing it if necessary, you can use the method to specify the default value that you want to use if the collection is empty. Then, call to obtain the first element. The following code example uses both techniques to obtain a default value of 1 if a collection of numeric months is empty. Because the default value for an integer is 0, which does not correspond to any month, the default value must be specified as 1 instead. The first result variable is checked for the unwanted default value after the query is completed. The second result variable is obtained by calling to specify a default value of 1. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet131"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet131"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet131"::: ]]> @@ -4623,7 +4623,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use by passing in a predicate. In the second query, there is no element in the sequence that satisfies the condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet38"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet38"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet38"::: ]]> @@ -4842,7 +4842,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to group the elements of a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet14"::: ]]> @@ -5041,7 +5041,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to group the elements of a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet39"::: ]]> @@ -5251,7 +5251,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to group the elements of a sequence and project a sequence of results of type `TResult`. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet15"::: ]]> @@ -5472,7 +5472,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to group the elements of a sequence and project a sequence of results of type `TResult`. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet130"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet130"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet130"::: ]]> @@ -5716,7 +5716,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to perform a grouped join on two sequences. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet40"::: ]]> @@ -5982,7 +5982,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to return the elements that appear in each of two sequences. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet41"::: ]]> @@ -6336,7 +6336,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to perform an inner join of two sequences based on a common key. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet42"::: ]]> @@ -6545,7 +6545,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to return the last element of an array. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet43"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet43"::: ]]> @@ -6630,7 +6630,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to return the last element of an array that satisfies a condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet44"::: ]]> @@ -6729,12 +6729,12 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use on an empty array. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet45"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet45"::: Sometimes the value of `default(TSource)` is not the default value that you want to use if the collection contains no elements. Instead of checking the result for the unwanted default value and then changing it if necessary, you can use the method to specify the default value that you want to use if the collection is empty. Then, call to obtain the last element. The following code example uses both techniques to obtain a default value of 1 if a collection of numeric days of the month is empty. Because the default value for an integer is 0, which does not correspond to any day of the month, the default value must be specified as 1 instead. The first result variable is checked for the unwanted default value after the query is completed. The second result variable is obtained by calling to specify a default value of 1. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet132"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet132"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet132"::: ]]> @@ -6820,7 +6820,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use by passing in a predicate. In the second call to the method, there is no element in the sequence that satisfies the condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet46"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet46"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet46"::: ]]> @@ -7203,7 +7203,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to count the elements in an array. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet47"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet47"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet47"::: ]]> @@ -7288,7 +7288,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to count the elements in an array that satisfy a condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet48"::: ]]> @@ -7370,7 +7370,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to determine the maximum value in a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet52"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet52"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet52"::: ]]> @@ -7529,7 +7529,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to determine the maximum value in a sequence of projected values. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet58"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet58"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet58"::: ]]> @@ -7827,7 +7827,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to determine the minimum value in a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet60"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet60"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet60"::: ]]> @@ -7987,7 +7987,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to determine the minimum value in a sequence of projected values. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet68"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet68"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet68"::: ]]> @@ -8284,7 +8284,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use `OfType` to filter out elements that are not of type from a list of elements of type . :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet69"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet69"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet69"::: ]]> @@ -8539,7 +8539,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to sort the elements of a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet70"::: ]]> @@ -8832,7 +8832,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to sort the elements of a sequence in descending order by using a custom comparer. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet71"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet71"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet71"::: ]]> @@ -9124,7 +9124,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to reverse the order of elements in an array. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet74"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet74"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet74"::: ]]> @@ -9404,7 +9404,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to project over a sequence of values and use the index of each element in the projected form. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet76"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet76"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet76"::: ]]> @@ -9497,7 +9497,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to project over a sequence of values. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet75"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet75"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet75"::: ]]> @@ -9600,7 +9600,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to perform a one-to-many projection over an array. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet77"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet77"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet77"::: ]]> @@ -9693,7 +9693,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to perform a one-to-many projection over an array and use the index of each source element. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet78"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet78"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet78"::: ]]> @@ -9797,7 +9797,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to perform a one-to-many projection over an array. This example uses a result selector function to keep the source element that corresponds to each intermediate sequence in scope for the final call to `Select`. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet124"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet124"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet124"::: ]]> @@ -9986,12 +9986,12 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to determine whether two sequences are equal. In this example the sequences are equal. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet32"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet32"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet32"::: The following code example compares two sequences that are not equal. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet33"::: ]]> @@ -10208,7 +10208,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to select the only element of an array. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet79"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet79"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet79"::: ]]> @@ -10298,7 +10298,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to select the only element of an array that satisfies a condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet81"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet81"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet81"::: ]]> @@ -10400,12 +10400,12 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to select the only element of an array. The second query demonstrates that returns a default value when the sequence does not contain exactly one element. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet83"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet83"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet83"::: Sometimes the value of `default(TSource)` is not the default value that you want to use if the collection contains no elements. Instead of checking the result for the unwanted default value and then changing it if necessary, you can use the method to specify the default value that you want to use if the collection is empty. Then, call to obtain the element. The following code example uses both techniques to obtain a default value of 1 if a collection of page numbers is empty. Because the default value for an integer is 0, which is not usually a valid page number, the default value must be specified as 1 instead. The first result variable is checked for the unwanted default value after the query is completed. The second result variable is obtained by calling to specify a default value of 1. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet133"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet133"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet133"::: ]]> @@ -10492,7 +10492,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to select the only element of an array that satisfies a condition. The second query demonstrates that returns a default value when the sequence does not contain exactly one element that satisfies the condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet85"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet85"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet85"::: ]]> @@ -10691,7 +10691,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to skip a specified number of elements in a sorted array and return the remaining elements. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet87"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet87"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet87"::: ]]> @@ -10853,7 +10853,7 @@ If `count` is not a positive number, this method returns an identical copy of th The following code example demonstrates how to use to skip elements of an array as long as a condition is true. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet88"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet88"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet88"::: ]]> @@ -10937,7 +10937,7 @@ If `count` is not a positive number, this method returns an identical copy of th The following code example demonstrates how to use to skip elements of an array as long as a condition that depends on the element's index is true. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet89"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet89"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet89"::: ]]> @@ -11456,7 +11456,7 @@ If `count` is not a positive number, this method returns an identical copy of th The following code example demonstrates how to use to sum the values of a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet121"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet121"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet121"::: ]]> @@ -11519,7 +11519,7 @@ If `count` is not a positive number, this method returns an identical copy of th The following code example demonstrates how to use to sum the values of a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet120"::: ]]> @@ -11605,7 +11605,7 @@ If `count` is not a positive number, this method returns an identical copy of th [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet98"::: ]]> @@ -11690,7 +11690,7 @@ If `count` is not a positive number, this method returns an identical copy of th [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet98"::: ]]> @@ -11776,7 +11776,7 @@ If `count` is not a positive number, this method returns an identical copy of th [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet98"::: ]]> @@ -11863,7 +11863,7 @@ If `count` is not a positive number, this method returns an identical copy of th [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet98"::: ]]> @@ -11950,7 +11950,7 @@ If `count` is not a positive number, this method returns an identical copy of th [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet98"::: ]]> @@ -12037,7 +12037,7 @@ If `count` is not a positive number, this method returns an identical copy of th [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet98"::: ]]> @@ -12123,7 +12123,7 @@ If `count` is not a positive number, this method returns an identical copy of th [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet98"::: ]]> @@ -12210,7 +12210,7 @@ If `count` is not a positive number, this method returns an identical copy of th [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet98"::: ]]> @@ -12297,7 +12297,7 @@ If `count` is not a positive number, this method returns an identical copy of th [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet98"::: ]]> @@ -12383,7 +12383,7 @@ If `count` is not a positive number, this method returns an identical copy of th [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet98"::: ]]> @@ -12465,7 +12465,7 @@ If `count` is not a positive number, this method returns an identical copy of th The following code example demonstrates how to use to return elements from the start of a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet99"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet99"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet99"::: ]]> @@ -12683,7 +12683,7 @@ If `count` is not a positive number, this method returns an empty queryable sequ The following code example demonstrates how to use to return elements from the start of a sequence as long as a condition is true. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet100"::: ]]> @@ -12767,7 +12767,7 @@ If `count` is not a positive number, this method returns an empty queryable sequ The following code example demonstrates how to use to return elements from the start of a sequence as long as a condition that uses the index of the element is true. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet101"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet101"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet101"::: ]]> @@ -12870,7 +12870,7 @@ If `count` is not a positive number, this method returns an empty queryable sequ The following code example demonstrates how to use to perform a secondary ordering of the elements in a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet102"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet102"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet102"::: ]]> @@ -13163,7 +13163,7 @@ If `count` is not a positive number, this method returns an empty queryable sequ The following code example demonstrates how to use to perform a secondary ordering of the elements in a sequence in descending order by using a custom comparer. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet103"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet103"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet103"::: ]]> @@ -13255,7 +13255,7 @@ If `count` is not a positive number, this method returns an empty queryable sequ The following code example demonstrates how to use to obtain the set union of two sequences. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet109"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet109"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet109"::: ]]> @@ -13576,7 +13576,7 @@ If `count` is not a positive number, this method returns an empty queryable sequ The following code example demonstrates how to use to filter a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet110"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet110"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet110"::: ]]> @@ -13660,7 +13660,7 @@ If `count` is not a positive number, this method returns an empty queryable sequ The following code example demonstrates how to use to filter a sequence based on a predicate that incorporates the index of each element. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet111"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet111"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet111"::: ]]> @@ -13837,7 +13837,7 @@ If `count` is not a positive number, this method returns an empty queryable sequ The following code example demonstrates how to use the method to merge two sequences. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet200"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet200"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet200"::: ]]> diff --git a/xml/System.Management.Instrumentation/InstrumentationType.xml b/xml/System.Management.Instrumentation/InstrumentationType.xml index 6bb5b07ca3a..b20ccfe34ff 100644 --- a/xml/System.Management.Instrumentation/InstrumentationType.xml +++ b/xml/System.Management.Instrumentation/InstrumentationType.xml @@ -25,7 +25,7 @@ The following example demonstrates how to create a management event class by using the enumeration. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_InstrumentationType/cs/InstrumentationType.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InstrumentationType/vb/InstrumentationType.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management.Instrumentation/InstrumentationType/Overview/InstrumentationType.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/CompletedEventArgs.xml b/xml/System.Management/CompletedEventArgs.xml index cc081f1bda0..658d7383965 100644 --- a/xml/System.Management/CompletedEventArgs.xml +++ b/xml/System.Management/CompletedEventArgs.xml @@ -29,7 +29,7 @@ The following example calls a method asynchronously. The **Win32_Process.Create** method is called to create a new process for Calc.exe. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_CompletedEventArgs/cs/CompletedEventArgs.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_CompletedEventArgs/vb/CompletedEventArgs.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/CompletedEventArgs/Overview/CompletedEventArgs.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/CompletedEventHandler.xml b/xml/System.Management/CompletedEventHandler.xml index 4d04670f84f..fbc59da5a65 100644 --- a/xml/System.Management/CompletedEventHandler.xml +++ b/xml/System.Management/CompletedEventHandler.xml @@ -37,7 +37,7 @@ The following example calls a method asynchronously. The **Win32_Process.Create** method is called to create a new process for Calc.exe. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_CompletedEventHandler/cs/CompletedEventHandler.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_CompletedEventHandler/vb/CompletedEventHandler.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/CompletedEventHandler/Overview/CompletedEventHandler.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/ConnectionOptions.xml b/xml/System.Management/ConnectionOptions.xml index b4d19bbea84..a96abbc8ac9 100644 --- a/xml/System.Management/ConnectionOptions.xml +++ b/xml/System.Management/ConnectionOptions.xml @@ -29,7 +29,7 @@ The following example connects to a remote computer and displays information about the operating system on the remote computer. A is created to connect to the remote computer with default connection options. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ConnectionOptions/cs/ConnectionOptions.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions/vb/ConnectionOptions.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ConnectionOptions/Overview/ConnectionOptions.vb" id="Snippet1"::: ]]> @@ -75,7 +75,7 @@ The following example connects to a remote computer and displays information about the operating system on the remote computer. A is created to connect to the remote computer with default connection options. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ConnectionOptions/cs/ConnectionOptions.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions/vb/ConnectionOptions.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ConnectionOptions/Overview/ConnectionOptions.vb" id="Snippet1"::: ]]> @@ -172,7 +172,7 @@ The following example connects to a remote computer and displays information about the operating system on the remote computer. A is created to connect to the remote computer with the desired connection options. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ConnectionOptions-9/cs/ConnectionOptions-9.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions-9/vb/ConnectionOptions-9.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ConnectionOptions/.ctor/ConnectionOptions-9.vb" id="Snippet1"::: ]]> @@ -217,7 +217,7 @@ The following example connects to a remote computer and displays information about the operating system on the remote computer. A is created to connect to the remote computer with the desired connection options. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Authentication/cs/ConnectionOptions_Authentication.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Authentication/vb/ConnectionOptions_Authentication.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ConnectionOptions/Authentication/ConnectionOptions_Authentication.vb" id="Snippet1"::: ]]> @@ -275,7 +275,7 @@ NTLMDOMAIN: The following example connects to a remote computer and displays information about the operating system on the remote computer. A is created to connect to the remote computer with the desired connection options. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Authority/cs/ConnectionOptions_Authority.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Authority/vb/ConnectionOptions_Authority.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ConnectionOptions/Authority/ConnectionOptions_Authority.vb" id="Snippet1"::: ]]> @@ -391,7 +391,7 @@ NTLMDOMAIN: The following example connects to a remote computer and displays information about the operating system on the remote computer. A is created to connect to the remote computer with the desired connection options. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Impersonation/cs/ConnectionOptions_Impersonation.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Impersonation/vb/ConnectionOptions_Impersonation.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ConnectionOptions/Impersonation/ConnectionOptions_Impersonation.vb" id="Snippet1"::: ]]> @@ -436,7 +436,7 @@ NTLMDOMAIN: The following example connects to a remote computer and displays information about the operating system on the remote computer. A is created to connect to the remote computer with the desired connection options. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Locale/cs/ConnectionOptions_Locale.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Locale/vb/ConnectionOptions_Locale.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ConnectionOptions/Locale/ConnectionOptions_Locale.vb" id="Snippet1"::: ]]> @@ -549,7 +549,7 @@ A blank ("") specifies a valid zero-length p The following example connects to a remote computer and displays information about the operating system on the remote computer. A is created to connect to the remote computer with the desired connection options. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ConnectionOptions_UserName/cs/ConnectionOptions_Username.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_UserName/vb/ConnectionOptions_Username.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ConnectionOptions/Username/ConnectionOptions_Username.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/EnumerationOptions.xml b/xml/System.Management/EnumerationOptions.xml index e776e226f70..74f7278d748 100644 --- a/xml/System.Management/EnumerationOptions.xml +++ b/xml/System.Management/EnumerationOptions.xml @@ -29,7 +29,7 @@ The following example initializes an variable with an constructor and then gets all the instances of a WMI class and its subclasses. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EnumerationOptions/cs/EnumerationOptions.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions/vb/EnumerationOptions.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/EnumerationOptions/Overview/EnumerationOptions.vb" id="Snippet1"::: ]]> @@ -75,7 +75,7 @@ The following example initializes an variable with an constructor and then gets all the instances of a WMI class and its subclasses. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EnumerationOptions/cs/EnumerationOptions.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions/vb/EnumerationOptions.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/EnumerationOptions/Overview/EnumerationOptions.vb" id="Snippet1"::: ]]> @@ -141,7 +141,7 @@ The following example initializes an variable with an constructor and then gets all the instances of a WMI class and its subclasses. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EnumerationOptions-10/cs/EnumerationOptions-10.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions-10/vb/EnumerationOptions-10.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/EnumerationOptions/.ctor/EnumerationOptions-10.vb" id="Snippet1"::: ]]> @@ -185,7 +185,7 @@ The following example initializes an variable with an constructor and then gets all the instances of a WMI class and its subclasses. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EnumerationOptions_BlockSize/cs/EnumerationOptions_BlockSize.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions_BlockSize/vb/EnumerationOptions_BlockSize.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/EnumerationOptions/BlockSize/EnumerationOptions_BlockSize.vb" id="Snippet1"::: ]]> @@ -265,7 +265,7 @@ The following example initializes an variable with an constructor and then gets all the instances of a WMI class and its subclasses. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EnumerationOptions_DirectRead/cs/EnumerationOptions_DirectRead.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions_DirectRead/vb/EnumerationOptions_DirectRead.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/EnumerationOptions/DirectRead/EnumerationOptions_DirectRead.vb" id="Snippet1"::: ]]> @@ -347,7 +347,7 @@ The following example initializes an variable with an constructor and then gets all the instances of a WMI class and its subclasses. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EnumerationOptions_EnumerateDeep/cs/EnumerationOptions_EnumerateDeep.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions_EnumerateDeep/vb/EnumerationOptions_EnumerateDeep.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/EnumerationOptions/EnumerateDeep/EnumerationOptions_EnumerateDeep.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/EventArrivedEventArgs.xml b/xml/System.Management/EventArrivedEventArgs.xml index 43b139c2805..5e09f812fb4 100644 --- a/xml/System.Management/EventArrivedEventArgs.xml +++ b/xml/System.Management/EventArrivedEventArgs.xml @@ -29,7 +29,7 @@ The following asynchronous example sets up a WMI timer to raise an event every second, and removes it when no longer needed. The defines several .NET Framework events which are raised when WMI events are delivered. Delegates are attached to these events for handling the incoming data. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EventArrivedEventArgs/cs/EventArrivedEventArgs.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventArrivedEventArgs/vb/EventArrivedEventArgs.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/EventArrivedEventArgs/Overview/EventArrivedEventArgs.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/EventArrivedEventHandler.xml b/xml/System.Management/EventArrivedEventHandler.xml index 8f7a438c668..22595f47a5c 100644 --- a/xml/System.Management/EventArrivedEventHandler.xml +++ b/xml/System.Management/EventArrivedEventHandler.xml @@ -37,7 +37,7 @@ The following asynchronous example sets up a WMI timer to raise an event every second, and removes it when no longer needed. The defines several .NET Framework events which are raised when WMI events are delivered. Delegates are attached to these events for handling the incoming data. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EventArrivedEventHandler/cs/EventArrivedEventHandler.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventArrivedEventHandler/vb/EventArrivedEventHandler.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/EventArrivedEventHandler/Overview/EventArrivedEventHandler.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/EventQuery.xml b/xml/System.Management/EventQuery.xml index e641509e903..33196dff2de 100644 --- a/xml/System.Management/EventQuery.xml +++ b/xml/System.Management/EventQuery.xml @@ -29,7 +29,7 @@ The following example shows how the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the method. This example can be tested by starting a process, such as Notepad, while the example code is running. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EventQuery/cs/EventQuery.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery/vb/EventQuery.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/EventQuery/Overview/EventQuery.vb" id="Snippet1"::: ]]> @@ -75,7 +75,7 @@ The following example shows how the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the method. This example can be tested by starting a process, such as Notepad, while the example code is running. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EventQuery/cs/EventQuery.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery/vb/EventQuery.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/EventQuery/Overview/EventQuery.vb" id="Snippet1"::: ]]> @@ -116,7 +116,7 @@ The following example shows how the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the method. This example can be tested by starting a process, such as Notepad, while the example code is running. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EventQuery-1/cs/EventQuery-1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery-1/vb/EventQuery-1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/EventQuery/.ctor/EventQuery-1.vb" id="Snippet1"::: ]]> @@ -159,7 +159,7 @@ The following example shows how the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the method. This example can be tested by starting a process, such as Notepad, while the example code is running. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EventQuery-2/cs/EventQuery-2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery-2/vb/EventQuery-2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/EventQuery/.ctor/EventQuery-2.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/EventWatcherOptions.xml b/xml/System.Management/EventWatcherOptions.xml index 9a77862e87c..b5c08639c41 100644 --- a/xml/System.Management/EventWatcherOptions.xml +++ b/xml/System.Management/EventWatcherOptions.xml @@ -29,7 +29,7 @@ The following example shows how the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the method. This example can be tested by starting a process, such as Notepad, while the example code is running. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EventWatcherOptions/cs/EventWatcherOptions.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventWatcherOptions/vb/EventWatcherOptions.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/EventWatcherOptions/Overview/EventWatcherOptions.vb" id="Snippet1"::: ]]> @@ -75,7 +75,7 @@ The following example shows how the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the method. This example can be tested by starting a process, such as Notepad, while the example code is running. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EventWatcherOptions/cs/EventWatcherOptions.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventWatcherOptions/vb/EventWatcherOptions.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/EventWatcherOptions/Overview/EventWatcherOptions.vb" id="Snippet1"::: ]]> @@ -120,7 +120,7 @@ The following example shows how the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the method. This example can be tested by starting a process, such as Notepad, while the example code is running. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EventWatcherOptions-3/cs/EventWatcherOptions-3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventWatcherOptions-3/vb/EventWatcherOptions-3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/EventWatcherOptions/.ctor/EventWatcherOptions-3.vb" id="Snippet1"::: ]]> @@ -164,7 +164,7 @@ The following example shows how the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the method. This example can be tested by starting a process, such as Notepad, while the example code is running. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_EventWatcherOptions_BlockSize/cs/EventWatcherOptions_BlockSize.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventWatcherOptions_BlockSize/vb/EventWatcherOptions_BlockSize.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/EventWatcherOptions/BlockSize/EventWatcherOptions_BlockSize.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/InvokeMethodOptions.xml b/xml/System.Management/InvokeMethodOptions.xml index 38229b2043c..80e496d7205 100644 --- a/xml/System.Management/InvokeMethodOptions.xml +++ b/xml/System.Management/InvokeMethodOptions.xml @@ -29,7 +29,7 @@ The following example invokes the **Win32_Process::Create** method to start a new process of Calc.exe. The class is used to invoke the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions/cs/InvokeMethodOptions.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions/vb/InvokeMethodOptions.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/InvokeMethodOptions/Overview/InvokeMethodOptions.vb" id="Snippet1"::: ]]> @@ -75,7 +75,7 @@ The following example invokes the **Win32_Process::Create** method to start a new process of Calc.exe. The parameterless constructor of the class is used. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions-1/cs/InvokeMethodOptions-1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions-1/vb/InvokeMethodOptions-1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/InvokeMethodOptions/.ctor/InvokeMethodOptions-1.vb" id="Snippet1"::: ]]> @@ -118,7 +118,7 @@ The following example invokes the **Win32_Process::Create** method to start a new process of Calc.exe. The class is used to invoke the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions-2/cs/InvokeMethodOptions-2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions-2/vb/InvokeMethodOptions-2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/InvokeMethodOptions/.ctor/InvokeMethodOptions-2.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/ManagementBaseObject.xml b/xml/System.Management/ManagementBaseObject.xml index 92584fe542e..c203e632887 100644 --- a/xml/System.Management/ManagementBaseObject.xml +++ b/xml/System.Management/ManagementBaseObject.xml @@ -128,7 +128,7 @@ For the \\\MyBox\root\cimv2:Win32_LogicalDisk= 'C:' object, the class path is \\\MyBox\root\cimv2:Win32_LogicalDisk. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_ClassPath/cs/ManagementBaseObject_ClassPath.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_ClassPath/vb/ManagementBaseObject_ClassPath.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementBaseObject/ClassPath/ManagementBaseObject_ClassPath.vb" id="Snippet1"::: ]]> @@ -385,7 +385,7 @@ The following example uses the method to display the value of the **Description** qualifier for each of the properties in the **Win32_Process** class. For more information on the **Win32_Process** class, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetPropertyQualifierValue/cs/ManagementBaseObject_GetPropertyQualifierValue.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetPropertyQualifierValue/vb/ManagementBaseObject_GetPropertyQualifierValue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementBaseObject/GetPropertyQualifierValue/ManagementBaseObject_GetPropertyQualifierValue.vb" id="Snippet1"::: ]]> @@ -430,7 +430,7 @@ The following example lists all the names of the processes running on the local computer. The code uses the method to get the process names. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetPropertyValue/cs/ManagementBaseObject_GetPropertyValue.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetPropertyValue/vb/ManagementBaseObject_GetPropertyValue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementBaseObject/GetPropertyValue/ManagementBaseObject_GetPropertyValue.vb" id="Snippet1"::: ]]> @@ -475,7 +475,7 @@ The following example displays the **Win32_Process** class description by using the method. For more information on the **Win32_Process** class, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetQualifierValue/cs/ManagementBaseObject_GetQualifierValue.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetQualifierValue/vb/ManagementBaseObject_GetQualifierValue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementBaseObject/GetQualifierValue/ManagementBaseObject_GetQualifierValue.vb" id="Snippet1"::: ]]> @@ -521,7 +521,7 @@ The following example displays the MOF code for the **Win32_Process** class by using the method. For more information about the **Win32_Process** class, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetText/cs/ManagementBaseObject_GetText.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetText/vb/ManagementBaseObject_GetText.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementBaseObject/GetText/ManagementBaseObject_GetText.vb" id="Snippet1"::: ]]> @@ -569,7 +569,7 @@ The following example shows how to initialize a variable with a constructor and then get all the instances of a WMI class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_Item/cs/ManagementBaseObject_Item.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_Item/vb/ManagementBaseObject_Item.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementBaseObject/Item/ManagementBaseObject_Item.vb" id="Snippet1"::: ]]> @@ -651,7 +651,7 @@ The following example uses the property to display the value of the **Description** qualifier for each of the properties in the **Win32_Process** class. For more information on the **Win32_Process** class, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_Properties/cs/ManagementBaseObject_Properties.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_Properties/vb/ManagementBaseObject_Properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementBaseObject/Properties/ManagementBaseObject_Properties.vb" id="Snippet1"::: ]]> @@ -695,7 +695,7 @@ The following example uses the property to display the value of the **Description** qualifier for each of the properties in the **Win32_Process** class. For more information on the **Win32_Process** class, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_Qualifiers/cs/ManagementBaseObject_Qualifiers.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_Qualifiers/vb/ManagementBaseObject_Qualifiers.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementBaseObject/Qualifiers/ManagementBaseObject_Qualifiers.vb" id="Snippet1"::: ]]> @@ -889,7 +889,7 @@ The following example uses the property to display the name and value of the system properties for the **Win32_Process** class. For more information on the **Win32_Process** class, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_SystemProperties/cs/ManagementBaseObject_SystemProperties.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_SystemProperties/vb/ManagementBaseObject_SystemProperties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementBaseObject/SystemProperties/ManagementBaseObject_SystemProperties.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/ManagementClass.xml b/xml/System.Management/ManagementClass.xml index 32f5cd50ac4..aa6c07b5602 100644 --- a/xml/System.Management/ManagementClass.xml +++ b/xml/System.Management/ManagementClass.xml @@ -82,7 +82,7 @@ The following example is an example of how to initialize a variable with the parameterless constructor. The example lists the methods, properties, and qualifiers for the created class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementClass/cs/ManagementClass.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass/vb/ManagementClass.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementClass/.ctor/ManagementClass.vb" id="Snippet1"::: ]]> @@ -124,7 +124,7 @@ The following example is an example of how to initialize a variable with a constructor. The example lists the methods, properties, and qualifiers for the created class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementClass-M/cs/ManagementClass-M.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-M/vb/ManagementClass-M.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementClass/.ctor/ManagementClass-M.vb" id="Snippet1"::: ]]> @@ -165,7 +165,7 @@ The following example shows how to initialize a variable with a constructor. The example lists the methods, properties, and qualifiers for the created class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementClass-S/cs/ManagementClass-S.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-S/vb/ManagementClass-S.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementClass/.ctor/ManagementClass-S.vb" id="Snippet1"::: ]]> @@ -208,7 +208,7 @@ The following example is an example of how to initialize a variable with a constructor. The example lists the methods, properties, and qualifiers (including the amended qualifiers) for the created class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementClass-M_O/cs/ManagementClass-M_O.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-M_O/vb/ManagementClass-M_O.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementClass/.ctor/ManagementClass-M_O.vb" id="Snippet1"::: ]]> @@ -295,7 +295,7 @@ The following example shows how to initialize a variable with a constructor. The example lists the methods, properties, and qualifiers (including the amended qualifiers) for the created class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementClass-S_O/cs/ManagementClass-S_O.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-S_O/vb/ManagementClass-S_O.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementClass/.ctor/ManagementClass-S_O.vb" id="Snippet1"::: ]]> @@ -341,7 +341,7 @@ The following example is an example of how to initialize a variable with a constructor. The example lists the methods, properties, and qualifiers (including the amended qualifiers) for the created class. You must change the scope (namespace) in the code for the example to run correctly on your computer. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementClass-M_M_O/cs/ManagementClass-M_M_O.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-M_M_O/vb/ManagementClass-M_M_O.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementClass/.ctor/ManagementClass-M_M_O.vb" id="Snippet1"::: ]]> @@ -387,7 +387,7 @@ The following example shows how to initialize a variable with a constructor. The example lists the methods, properties, and qualifiers (including the amended qualifiers) for the created class. You must change the scope (namespace) in the code for the example to run correctly on your computer. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementClass-S_S_O/cs/ManagementClass-S_S_O.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-S_S_O/vb/ManagementClass-S_S_O.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementClass/.ctor/ManagementClass-S_S_O.vb" id="Snippet1"::: ]]> @@ -465,7 +465,7 @@ The following example shows how to initialize a variable with a constructor and then create a new instance of a WMI class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementClass_CreateInstance/cs/ManagementClass_CreateInstance.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_CreateInstance/vb/ManagementClass_CreateInstance.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementClass/CreateInstance/ManagementClass_CreateInstance.vb" id="Snippet1"::: ]]> @@ -507,7 +507,7 @@ The following example shows how to initialize a variable with a constructor and then get all the classes in the inheritance hierarchy from the WMI class passed into the constructor, to the top of the hierarchy. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementClass_Derivation/cs/ManagementClass_Derivation.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_Derivation/vb/ManagementClass_Derivation.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementClass/Derivation/ManagementClass_Derivation.vb" id="Snippet1"::: ]]> @@ -553,7 +553,7 @@ The following example shows how to initialize a variable with a constructor and then create a derived instance of a WMI class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementClass_Derive/cs/ManagementClass_Derive.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_Derive/vb/ManagementClass_Derive.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementClass/Derive/ManagementClass_Derive.vb" id="Snippet1"::: ]]> @@ -614,7 +614,7 @@ The following example shows how to initialize a variable with a constructor and then get all the instances of a WMI class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementClass_GetInstances/cs/ManagementClass_GetInstances.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetInstances/vb/ManagementClass_GetInstances.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementClass/GetInstances/ManagementClass_GetInstances.vb" id="Snippet1"::: ]]> @@ -659,7 +659,7 @@ The following example shows how to initialize a variable with a constructor and then get all the instances of a WMI class and its subclasses. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementClass_GetInstances-E/cs/ManagementClass_GetInstances-E.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetInstances-E/vb/ManagementClass_GetInstances-E.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementClass/GetInstances/ManagementClass_GetInstances-E.vb" id="Snippet1"::: ]]> @@ -703,7 +703,7 @@ The following example shows how to initialize a variable with a constructor and then get all the instances of a WMI class asynchronously. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementClass_GetInstances-M/cs/ManagementClass_GetInstances-M.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetInstances-M/vb/ManagementClass_GetInstances-M.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementClass/GetInstances/ManagementClass_GetInstances-M.vb" id="Snippet1"::: ]]> @@ -840,7 +840,7 @@ The following example shows how to initialize a variable with a constructor and then list all the classes related to the WMI class passed into the constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementClass_GetRelatedClasses/cs/ManagementClass_GetRelatedClasses.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetRelatedClasses/vb/ManagementClass_GetRelatedClasses.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementClass/GetRelatedClasses/ManagementClass_GetRelatedClasses.vb" id="Snippet1"::: ]]> @@ -1008,7 +1008,7 @@ The following example uses the method to list the related classes to the **CIM_LogicalDisk** class. For more information, see [CIM_LogicalDisk](/windows/win32/cimwin32prov/cim-logicaldisk). :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementClass_GetRelatedClasses-7/cs/ManagementClass_GetRelatedClasses-7.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetRelatedClasses-7/vb/ManagementClass_GetRelatedClasses-7.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementClass/GetRelatedClasses/ManagementClass_GetRelatedClasses-7.vb" id="Snippet1"::: ]]> @@ -1119,7 +1119,7 @@ The following example uses the method to list the relationship classes to the **CIM_LogicalDisk** class. For more information, see [CIM_LogicalDisk](/windows/win32/cimwin32prov/cim-logicaldisk). :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementClass_GetRelationshipClasses/cs/ManagementClass_GetRelationshipClasses.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetRelationshipClasses/vb/ManagementClass_GetRelationshipClasses.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementClass/GetRelationshipClasses/ManagementClass_GetRelationshipClasses.vb" id="Snippet1"::: ]]> @@ -1386,7 +1386,7 @@ The following example generates a strongly-typed class for the **Win32_LogicalDisk** class. The generated code is produced in C# or Visual Basic .NET. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementClass_GetStronglyTypedClassCode-2/cs/ManagementClass_GetStronglyTypedClassCode-2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetStronglyTypedClassCode-2/vb/ManagementClass_GetStronglyTypedClassCode-2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementClass/GetStronglyTypedClassCode/ManagementClass_GetStronglyTypedClassCode-2.vb" id="Snippet1"::: ]]> @@ -1436,7 +1436,7 @@ The following example generates a strongly-typed class for the **Win32_LogicalDisk** class. The generated code is in C# for the C# example and Visual Basic .NET for the Visual Basic .NET example. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementClass_GetStronglyTypedClassCode-3/cs/ManagementClass_GetStronglyTypedClassCode-3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetStronglyTypedClassCode-3/vb/ManagementClass_GetStronglyTypedClassCode-3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementClass/GetStronglyTypedClassCode/ManagementClass_GetStronglyTypedClassCode-3.vb" id="Snippet1"::: ]]> @@ -1497,7 +1497,7 @@ The following example uses the method to list the subclasses to the **CIM_LogicalDisk** class. For more information, see [CIM_LogicalDisk](/windows/win32/cimwin32prov/cim-logicaldisk). :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementClass_GetSubClasses/cs/ManagementClass_GetSubclasses.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetSubClasses/vb/ManagementClass_GetSubclasses.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementClass/GetSubclasses/ManagementClass_GetSubclasses.vb" id="Snippet1"::: ]]> @@ -1542,7 +1542,7 @@ The following example shows how to initialize a variable with a constructor and then receive the subclasses of the WMI class passed into the constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementClass_GetSubClasses-E/cs/ManagementClass_GetSubclasses-E.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetSubClasses-E/vb/ManagementClass_GetSubclasses-E.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementClass/GetSubclasses/ManagementClass_GetSubclasses-E.vb" id="Snippet1"::: ]]> @@ -1657,7 +1657,7 @@ The following example shows how to initialize a variable with a constructor and then get all the methods in the WMI class passed into the constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementClass_Methods/cs/ManagementClass_Methods.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_Methods/vb/ManagementClass_Methods.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementClass/Methods/ManagementClass_Methods.vb" id="Snippet1"::: ]]> @@ -1699,7 +1699,7 @@ The following example shows how to initialize a variable with a constructor and then get all the methods in the WMI class passed into the constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementClass_Path/cs/ManagementClass_Path.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_Path/vb/ManagementClass_Path.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementClass/Path/ManagementClass_Path.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/ManagementDateTimeConverter.xml b/xml/System.Management/ManagementDateTimeConverter.xml index 4d4e4f01f57..31415cba3bc 100644 --- a/xml/System.Management/ManagementDateTimeConverter.xml +++ b/xml/System.Management/ManagementDateTimeConverter.xml @@ -64,7 +64,7 @@ A DMTF datetime string has an UTC offset, which this datetime string represents. The following example converts a DMTF datetime string into a . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToDateTime/cs/ManagementDateTimeConverter_ToDateTime.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToDateTime/vb/ManagementDateTimeConverter_ToDateTime.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementDateTimeConverter/ToDateTime/ManagementDateTimeConverter_ToDateTime.vb" id="Snippet1"::: ]]> @@ -109,7 +109,7 @@ The resulting DMTF datetime string is based on the UTC offset of the current tim The following example converts a given to DMTF datetime format. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToDmtfDateTime/cs/ManagementDateTimeConverter_ToDmtfDateTime.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToDmtfDateTime/vb/ManagementDateTimeConverter_ToDmtfDateTime.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementDateTimeConverter/ToDmtfDateTime/ManagementDateTimeConverter_ToDmtfDateTime.vb" id="Snippet1"::: ]]> @@ -154,7 +154,7 @@ The lowest precision in DMTF is microseconds; in , the low The following example converts a given to DMTF time interval. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToDmtfTimeInterval/cs/ManagementDateTimeConverter_ToDmtfTimeInterval.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToDmtfTimeInterval/vb/ManagementDateTimeConverter_ToDmtfTimeInterval.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementDateTimeConverter/ToDmtfTimeInterval/ManagementDateTimeConverter_ToDmtfTimeInterval.vb" id="Snippet1"::: ]]> @@ -195,7 +195,7 @@ The lowest precision in DMTF is microseconds; in , the low The following example converts a given DMTF time interval to . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToTimeSpan/cs/ManagementDateTimeConverter_ToTimeSpan.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToTimeSpan/vb/ManagementDateTimeConverter_ToTimeSpan.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementDateTimeConverter/ToTimeSpan/ManagementDateTimeConverter_ToTimeSpan.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/ManagementEventWatcher.xml b/xml/System.Management/ManagementEventWatcher.xml index 8e0627f92ea..b5761a999d0 100644 --- a/xml/System.Management/ManagementEventWatcher.xml +++ b/xml/System.Management/ManagementEventWatcher.xml @@ -35,7 +35,7 @@ The following example shows how the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the method. This example can be tested by starting a process, such as Notepad, while the example code is running. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher/cs/ManagementEventWatcher.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher/vb/ManagementEventWatcher.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementEventWatcher/Overview/ManagementEventWatcher.vb" id="Snippet1"::: ]]> @@ -81,7 +81,7 @@ The following example shows how the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the method. This example can be tested by starting a process, such as Notepad, while the example code is running. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher/cs/ManagementEventWatcher.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher/vb/ManagementEventWatcher.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementEventWatcher/Overview/ManagementEventWatcher.vb" id="Snippet1"::: ]]> @@ -123,7 +123,7 @@ In this code example, the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the method. This example can be tested by starting a process, such as Notepad, while the example code is running. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-E/cs/ManagementEventWatcher-E.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-E/vb/ManagementEventWatcher-E.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementEventWatcher/.ctor/ManagementEventWatcher-E.vb" id="Snippet1"::: ]]> @@ -165,7 +165,7 @@ The following example shows how the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the method. This example can be tested by starting a process, such as Notepad, while the example code is running. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S/cs/ManagementEventWatcher-S.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S/vb/ManagementEventWatcher-S.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementEventWatcher/.ctor/ManagementEventWatcher-S.vb" id="Snippet1"::: ]]> @@ -208,7 +208,7 @@ In this code example, the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the method. This example can be tested by starting a process, such as Notepad, while the example code is running. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-M_E/cs/ManagementEventWatcher-M_E.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-M_E/vb/ManagementEventWatcher-M_E.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementEventWatcher/.ctor/ManagementEventWatcher-M_E.vb" id="Snippet1"::: ]]> @@ -251,7 +251,7 @@ The following example shows how the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the method. This example can be tested by starting a process, such as Notepad, while the example code is running. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S_S/cs/ManagementEventWatcher-S_S.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S_S/vb/ManagementEventWatcher-S_S.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementEventWatcher/.ctor/ManagementEventWatcher-S_S.vb" id="Snippet1"::: ]]> @@ -296,7 +296,7 @@ The following example shows how the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the method. This example can be tested by starting a process, such as Notepad, while the example code is running. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-M_E_E/cs/ManagementEventWatcher-M_E_E.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-M_E_E/vb/ManagementEventWatcher-M_E_E.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementEventWatcher/.ctor/ManagementEventWatcher-M_E_E.vb" id="Snippet1"::: ]]> @@ -341,7 +341,7 @@ The following example shows how the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the method. This example can be tested by starting a process, such as Notepad, while the example code is running. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S_S_E/cs/ManagementEventWatcher-S_S_E.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S_S_E/vb/ManagementEventWatcher-S_S_E.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementEventWatcher/.ctor/ManagementEventWatcher-S_S_E.vb" id="Snippet1"::: ]]> @@ -459,7 +459,7 @@ The following example shows how the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the method. This example can be tested by starting a process, such as Notepad, while the example code is running. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Options/cs/ManagementEventWatcher_Options.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Options/vb/ManagementEventWatcher_Options.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementEventWatcher/Options/ManagementEventWatcher_Options.vb" id="Snippet1"::: ]]> @@ -503,7 +503,7 @@ The following example shows how the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the method. This example can be tested by starting a process, such as Notepad, while the example code is running. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Query/cs/ManagementEventWatcher_Query.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Query/vb/ManagementEventWatcher_Query.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementEventWatcher/Query/ManagementEventWatcher_Query.vb" id="Snippet1"::: ]]> @@ -547,7 +547,7 @@ The following example shows how the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the method. This example can be tested by starting a process, such as Notepad, while the example code is running. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Scope/cs/ManagementEventWatcher_Scope.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Scope/vb/ManagementEventWatcher_Scope.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementEventWatcher/Scope/ManagementEventWatcher_Scope.vb" id="Snippet1"::: ]]> @@ -621,7 +621,7 @@ The following example shows how the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the method. This example can be tested by starting a process, such as Notepad, while the example code is running. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Stop/cs/ManagementEventWatcher_Stop.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Stop/vb/ManagementEventWatcher_Stop.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementEventWatcher/Stop/ManagementEventWatcher_Stop.vb" id="Snippet1"::: ]]> @@ -705,7 +705,7 @@ The following example shows how the client receives notification when an instance of **Win32_Process** is created because the event class is **__InstanceCreationEvent**. For more information, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. The client receives events synchronously by calling the method. This example can be tested by starting a process, such as Notepad, while the example code is running. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_WaitForNextEvent/cs/ManagementEventWatcher_WaitForNextEvent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_WaitForNextEvent/vb/ManagementEventWatcher_WaitForNextEvent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementEventWatcher/WaitForNextEvent/ManagementEventWatcher_WaitForNextEvent.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/ManagementObject.xml b/xml/System.Management/ManagementObject.xml index a116f3a3fcf..3a579fe5cbb 100644 --- a/xml/System.Management/ManagementObject.xml +++ b/xml/System.Management/ManagementObject.xml @@ -76,7 +76,7 @@ The following example initializes a new instance of the class with the parameterless constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObject/cs/ManagementObject.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject/vb/ManagementObject.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObject/.ctor/ManagementObject.vb" id="Snippet1"::: ]]> @@ -117,7 +117,7 @@ The following example initializes a new instance of the class with a specified WMI object path. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObject-M/cs/ManagementObject-M.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-M/vb/ManagementObject-M.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObject/.ctor/ManagementObject-M.vb" id="Snippet1"::: ]]> @@ -159,7 +159,7 @@ The following example initializes a new instance of the class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObject-S/cs/ManagementObject-S.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-S/vb/ManagementObject-S.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObject/.ctor/ManagementObject-S.vb" id="Snippet1"::: ]]> @@ -202,7 +202,7 @@ The following example initializes a new instance of the class that is bound to a specific WMI path. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObject-M_O/cs/ManagementObject-M_O.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-M_O/vb/ManagementObject-M_O.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObject/.ctor/ManagementObject-M_O.vb" id="Snippet1"::: ]]> @@ -294,7 +294,7 @@ The following example initializes a new instance of the class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObject-S_O/cs/ManagementObject-S_O.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-S_O/vb/ManagementObject-S_O.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObject/.ctor/ManagementObject-S_O.vb" id="Snippet1"::: ]]> @@ -346,7 +346,7 @@ The following example initializes a new instance of the class that is bound to a specific WMI path. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObject-M_M_O/cs/ManagementObject-M_M_O.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-M_M_O/vb/ManagementObject-M_M_O.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObject/.ctor/ManagementObject-M_M_O.vb" id="Snippet1"::: ]]> @@ -392,7 +392,7 @@ The following example initializes a new instance of the class with a specific WMI path and options. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObject-S_S_O/cs/ManagementObject-S_S_O.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-S_S_O/vb/ManagementObject-S_S_O.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObject/.ctor/ManagementObject-S_S_O.vb" id="Snippet1"::: ]]> @@ -434,7 +434,7 @@ The following example initializes a new instance of the class and then retrieves the class path for the . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObject_Path/cs/ManagementObject_Path.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_Path/vb/ManagementObject_Path.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObject/ClassPath/ManagementObject_Path.vb" id="Snippet1"::: ]]> @@ -1024,7 +1024,7 @@ The following example calls the method to get an instance of the class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObject_GetMethod/cs/ManagementObject_GetMethod.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_GetMethod/vb/ManagementObject_GetMethod.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObject/Get/ManagementObject_GetMethod.vb" id="Snippet1"::: ]]> @@ -1069,7 +1069,7 @@ The following example calls the method to asynchronously get an instance of the class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObject_GetMethod-M/cs/ManagementObject_GetMethod-M.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_GetMethod-M/vb/ManagementObject_GetMethod-M.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObject/Get/ManagementObject_GetMethod-M.vb" id="Snippet1"::: ]]> @@ -1196,7 +1196,7 @@ The following example calls the method to get a collection of objects related to an instance of the class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObject_GetRelated/cs/ManagementObject_GetRelated.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_GetRelated/vb/ManagementObject_GetRelated.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObject/GetRelated/ManagementObject_GetRelated.vb" id="Snippet1"::: ]]> @@ -1277,7 +1277,7 @@ The following example calls the method to get a collection of objects related to an instance of the class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObject_GetRelated-S/cs/ManagementObject_GetRelated-S.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_GetRelated-S/vb/ManagementObject_GetRelated-S.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObject/GetRelated/ManagementObject_GetRelated-S.vb" id="Snippet1"::: ]]> @@ -1729,7 +1729,7 @@ The following example invokes the **Win32_Process::Create** method to start a new process of Notepad.exe. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObject_InvokeMethod-S_O/cs/ManagementObject_InvokeMethod-S_O.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_InvokeMethod-S_O/vb/ManagementObject_InvokeMethod-S_O.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObject/InvokeMethod/ManagementObject_InvokeMethod-S_O.vb" id="Snippet1"::: ]]> @@ -1819,7 +1819,7 @@ The following example invokes the **Win32_Process::Create** method to start a new process of Calc.exe. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObject_InvokeMethod-S_M_I/cs/ManagementObject_InvokeMethod-S_M_I.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_InvokeMethod-S_M_I/vb/ManagementObject_InvokeMethod-S_M_I.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObject/InvokeMethod/ManagementObject_InvokeMethod-S_M_I.vb" id="Snippet1"::: ]]> @@ -1904,7 +1904,7 @@ The following example initializes a new instance of the class and then change the default options for the . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObject_Options/cs/ManagementObject_Options.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_Options/vb/ManagementObject_Options.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObject/Options/ManagementObject_Options.vb" id="Snippet1"::: ]]> @@ -1948,7 +1948,7 @@ The following example initializes a new instance of the class with the default namespace, and then changes the WMI path of the . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObject_Path/cs/ManagementObject_Path.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_Path/vb/ManagementObject_Path.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObject/ClassPath/ManagementObject_Path.vb" id="Snippet1"::: ]]> @@ -2146,7 +2146,7 @@ The following example initializes a new instance of the class with the default namespace, and then changes the scope of the . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObject_Scope/cs/ManagementObject_Scope.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_Scope/vb/ManagementObject_Scope.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObject/Scope/ManagementObject_Scope.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/ManagementObjectCollection+ManagementObjectEnumerator.xml b/xml/System.Management/ManagementObjectCollection+ManagementObjectEnumerator.xml index 6222a0e0ecc..04dd2221dd1 100644 --- a/xml/System.Management/ManagementObjectCollection+ManagementObjectEnumerator.xml +++ b/xml/System.Management/ManagementObjectCollection+ManagementObjectEnumerator.xml @@ -36,7 +36,7 @@ The following example enumerates through all of the instances of the **Win32_LogicalDisk** class, and displays the **DeviceID** value for each instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObjectEnumerator/cs/ManagementObjectEnumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectEnumerator/vb/ManagementObjectEnumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObjectCollection+ManagementObjectEnumerator/Overview/ManagementObjectEnumerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/ManagementObjectSearcher.xml b/xml/System.Management/ManagementObjectSearcher.xml index 20c9a336253..accc04f101d 100644 --- a/xml/System.Management/ManagementObjectSearcher.xml +++ b/xml/System.Management/ManagementObjectSearcher.xml @@ -104,7 +104,7 @@ The following example initializes a new instance of the class with a specific query. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-O/cs/ManagementObjectSearcher-O.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-O/vb/ManagementObjectSearcher-O.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObjectSearcher/.ctor/ManagementObjectSearcher-O.vb" id="Snippet1"::: ]]> @@ -145,7 +145,7 @@ The following example initializes a new instance of the class with a specific query. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S/cs/ManagementObjectSearcher-S.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S/vb/ManagementObjectSearcher-S.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObjectSearcher/.ctor/ManagementObjectSearcher-S.vb" id="Snippet1"::: ]]> @@ -189,7 +189,7 @@ The following example initializes a new instance of the class with a specific query and scope. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-M_O/cs/ManagementObjectSearcher-M_O.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-M_O/vb/ManagementObjectSearcher-M_O.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObjectSearcher/.ctor/ManagementObjectSearcher-M_O.vb" id="Snippet1"::: ]]> @@ -233,7 +233,7 @@ The following example initializes a new instance of the class with a specific query and scope. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S_S/cs/ManagementObjectSearcher-S_S.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S_S/vb/ManagementObjectSearcher-S_S.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObjectSearcher/.ctor/ManagementObjectSearcher-S_S.vb" id="Snippet1"::: ]]> @@ -278,7 +278,7 @@ The following example initializes a new instance of the class with a specific query, scope, and enumeration options. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-M_O_E/cs/ManagementObjectSearcher-M_O_E.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-M_O_E/vb/ManagementObjectSearcher-M_O_E.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObjectSearcher/.ctor/ManagementObjectSearcher-M_O_E.vb" id="Snippet1"::: ]]> @@ -323,7 +323,7 @@ The following example initializes a new instance of the class with a specific query, scope, and enumeration options. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S_S_E/cs/ManagementObjectSearcher-S_S_E.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S_S_E/vb/ManagementObjectSearcher-S_S_E.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObjectSearcher/.ctor/ManagementObjectSearcher-S_S_E.vb" id="Snippet1"::: ]]> @@ -374,7 +374,7 @@ The following example initializes a new instance of the class with a specific query, scope, and enumeration options. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher_Get/cs/ManagementObjectSearcher_Get.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher_Get/vb/ManagementObjectSearcher_Get.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObjectSearcher/Get/ManagementObjectSearcher_Get.vb" id="Snippet1"::: ]]> @@ -528,7 +528,7 @@ The following example initializes a new instance of the class with a specific query and then changes the scope of the instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher_Scope/cs/ManagementObjectSearcher_Scope.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher_Scope/vb/ManagementObjectSearcher_Scope.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementObjectSearcher/Scope/ManagementObjectSearcher_Scope.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/ManagementOperationObserver.xml b/xml/System.Management/ManagementOperationObserver.xml index 10f3a05ac10..bd162b658e3 100644 --- a/xml/System.Management/ManagementOperationObserver.xml +++ b/xml/System.Management/ManagementOperationObserver.xml @@ -29,7 +29,7 @@ The following example demonstrates how to perform an asynchronous instance enumeration. The example uses the class to handle management information and events asynchronously. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver/cs/ManagementOperationObserver.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver/vb/ManagementOperationObserver.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementOperationObserver/Overview/ManagementOperationObserver.vb" id="Snippet1"::: ]]> @@ -66,7 +66,7 @@ The following example demonstrates how to perform an asynchronous instance enumeration. The example uses the class to handle management information and events asynchronously. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver/cs/ManagementOperationObserver.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver/vb/ManagementOperationObserver.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementOperationObserver/Overview/ManagementOperationObserver.vb" id="Snippet1"::: ]]> @@ -149,7 +149,7 @@ The following example demonstrates how to perform an asynchronous instance enumeration. The example uses the class to handle management information and events asynchronously. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver_Completed/cs/ManagementOperationObserver_Completed.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver_Completed/vb/ManagementOperationObserver_Completed.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementOperationObserver/Completed/ManagementOperationObserver_Completed.vb" id="Snippet1"::: ]]> @@ -239,7 +239,7 @@ The following example demonstrates how to perform an asynchronous instance enumeration. The example uses the class to handle management information and events asynchronously. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver_ObjectReady/cs/ManagementOperationObserver_ObjectReady.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver_ObjectReady/vb/ManagementOperationObserver_ObjectReady.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementOperationObserver/ObjectReady/ManagementOperationObserver_ObjectReady.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/ManagementPath.xml b/xml/System.Management/ManagementPath.xml index 9779996ad65..30be8448686 100644 --- a/xml/System.Management/ManagementPath.xml +++ b/xml/System.Management/ManagementPath.xml @@ -39,7 +39,7 @@ The following example demonstrates how the class parses a path to a WMI object. The path that is parsed in the example is a path to an instance of a class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementPath/cs/ManagementPath.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath/vb/ManagementPath.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementPath/Overview/ManagementPath.vb" id="Snippet1"::: ]]> @@ -118,7 +118,7 @@ The following example demonstrates how the class parses a path to a WMI object. The path that is parsed in the example is a path to an instance of a class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementPath-S/cs/ManagementPath-S.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath-S/vb/ManagementPath-S.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementPath/.ctor/ManagementPath-S.vb" id="Snippet1"::: ]]> @@ -168,7 +168,7 @@ The following example demonstrates how the class parses a path to a WMI object. The path that is parsed in the example is a path to an instance of a class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementPath_ClassName/cs/ManagementPath_ClassName.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_ClassName/vb/ManagementPath_ClassName.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementPath/ClassName/ManagementPath_ClassName.vb" id="Snippet1"::: ]]> @@ -282,7 +282,7 @@ The following example demonstrates how the class parses a path to a WMI object. The path that is parsed in the example is a path to an instance of a class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementPath_IsClass/cs/ManagementPath_IsClass.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_IsClass/vb/ManagementPath_IsClass.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementPath/IsClass/ManagementPath_IsClass.vb" id="Snippet1"::: ]]> @@ -326,7 +326,7 @@ The following example demonstrates how the class parses a path to a WMI object. The path that is parsed in the example is a path to an instance of a class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementPath_IsInstance/cs/ManagementPath_IsInstance.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_IsInstance/vb/ManagementPath_IsInstance.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementPath/IsInstance/ManagementPath_IsInstance.vb" id="Snippet1"::: ]]> @@ -412,7 +412,7 @@ The following example demonstrates how the class parses a path to a WMI object. The path that is parsed in the example is a path to an instance of a class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementPath_NamespacePath/cs/ManagementPath_NamespacePath.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_NamespacePath/vb/ManagementPath_NamespacePath.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementPath/NamespacePath/ManagementPath_NamespacePath.vb" id="Snippet1"::: ]]> @@ -462,7 +462,7 @@ The following example demonstrates how the class parses a path to a WMI object. The path that is parsed in the example is a path to an instance of a class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementPath_Path/cs/ManagementPath_Path.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_Path/vb/ManagementPath_Path.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementPath/Path/ManagementPath_Path.vb" id="Snippet1"::: ]]> @@ -512,7 +512,7 @@ The following example demonstrates how the class parses a path to a WMI object. The path that is parsed in the example is a path to an instance of a class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementPath_RelativePath/cs/ManagementPath_RelativePath.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_RelativePath/vb/ManagementPath_RelativePath.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementPath/RelativePath/ManagementPath_RelativePath.vb" id="Snippet1"::: ]]> @@ -562,7 +562,7 @@ The following example demonstrates how the class parses a path to a WMI object. The path that is parsed in the example is a path to an instance of a class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementPath_Server/cs/ManagementPath_Server.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_Server/vb/ManagementPath_Server.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementPath/Server/ManagementPath_Server.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/ManagementQuery.xml b/xml/System.Management/ManagementQuery.xml index f96f36f805a..c9594aefac3 100644 --- a/xml/System.Management/ManagementQuery.xml +++ b/xml/System.Management/ManagementQuery.xml @@ -117,7 +117,7 @@ This class is abstract; only derivatives of it are actually used in the API. The following example parses a query into class name and condition properties. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementQuery_ParseQuery/cs/ManagementQuery_ParseQuery.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementQuery_ParseQuery/vb/ManagementQuery.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementQuery/ParseQuery/ManagementQuery.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/ManagementScope.xml b/xml/System.Management/ManagementScope.xml index 1b97dcf7223..aacb9924812 100644 --- a/xml/System.Management/ManagementScope.xml +++ b/xml/System.Management/ManagementScope.xml @@ -39,7 +39,7 @@ The following example initializes a new with a specific path and then connects the scope object to a WMI namespace. The example connects to a namespace on a remote computer. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementScope/cs/ManagementScope.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementScope/vb/ManagementScope.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementScope/Overview/ManagementScope.vb" id="Snippet1"::: ]]> @@ -152,7 +152,7 @@ The following example initializes a new with a specific path and then connects the scope object to a WMI namespace. The example connects to a namespace on a remote computer. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementScope-S/cs/ManagementScope-S.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementScope-S/vb/ManagementScope-S.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementScope/.ctor/ManagementScope-S.vb" id="Snippet1"::: ]]> @@ -230,7 +230,7 @@ The following example initializes a new with a specific path and then connects the scope object to a WMI namespace. The example connects to a namespace on a remote computer. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementScope-S_C/cs/ManagementScope-S_C.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementScope-S_C/vb/ManagementScope-S_C.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementScope/.ctor/ManagementScope-S_C.vb" id="Snippet1"::: ]]> @@ -306,7 +306,7 @@ The following example initializes a new with a specific path and then connects the scope object to a WMI namespace. The example connects to a namespace on a remote computer. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_ManagementScope_Connect/cs/ManagementScope_Connect.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementScope_Connect/vb/ManagementScope_Connect.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/ManagementScope/Connect/ManagementScope_Connect.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/MethodData.xml b/xml/System.Management/MethodData.xml index afd1528abbd..d4939f117fc 100644 --- a/xml/System.Management/MethodData.xml +++ b/xml/System.Management/MethodData.xml @@ -29,7 +29,7 @@ The following example lists information about the **Win32_Process.Create** method using the class. For more information on the **Win32_Process** class, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_MethodData/cs/MethodData.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodData/vb/MethodData.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/MethodData/Overview/MethodData.vb" id="Snippet1"::: ]]> @@ -74,7 +74,7 @@ The following example lists information about the **Win32_Process.Create** method using the class. For more information about the **Win32_Process** class, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_MethodData_InParameters/cs/MethodData_InParameters.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodData_InParameters/vb/MethodData_InParameters.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/MethodData/InParameters/MethodData_InParameters.vb" id="Snippet1"::: ]]> @@ -118,7 +118,7 @@ The following example lists information about the **Win32_Process.Create** method using the class. For more information about the **Win32_Process** class, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_MethodData_Name/cs/MethodData_Name.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodData_Name/vb/MethodData_Name.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/MethodData/Name/MethodData_Name.vb" id="Snippet1"::: ]]> @@ -201,7 +201,7 @@ The following example lists information about the **Win32_Process.Create** method using the class. For more information on the **Win32_Process** class, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_MethodData_OutParameters/cs/MethodData_OutParameters.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodData_OutParameters/vb/MethodData_OutParameters.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/MethodData/OutParameters/MethodData_OutParameters.vb" id="Snippet1"::: ]]> @@ -245,7 +245,7 @@ The following example lists information about the **Win32_Process.Create** method using the class. For more information about the **Win32_Process** class, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_MethodData_Qualifiers/cs/MethodData_Qualifiers.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodData_Qualifiers/vb/MethodData_Qualifiers.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/MethodData/Qualifiers/MethodData_Qualifiers.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/MethodDataCollection+MethodDataEnumerator.xml b/xml/System.Management/MethodDataCollection+MethodDataEnumerator.xml index 4658101ac3b..53b3c2037bc 100644 --- a/xml/System.Management/MethodDataCollection+MethodDataEnumerator.xml +++ b/xml/System.Management/MethodDataCollection+MethodDataEnumerator.xml @@ -33,7 +33,7 @@ The following example enumerates through the methods in the **Win32_LogicalDisk** class and displays them. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_MethodDataEnumerator/cs/MethodDataEnumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodDataEnumerator/vb/MethodDataEnumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/MethodDataCollection+MethodDataEnumerator/Overview/MethodDataEnumerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/MethodDataCollection.xml b/xml/System.Management/MethodDataCollection.xml index 35fc7811f76..8cb0fda91ef 100644 --- a/xml/System.Management/MethodDataCollection.xml +++ b/xml/System.Management/MethodDataCollection.xml @@ -36,7 +36,7 @@ The following example lists information about the **Win32_Process.Create** method using the class. For more information on the **Win32_Process** class, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_MethodDataCollection/cs/MethodDataCollection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodDataCollection/vb/MethodDataCollection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/MethodDataCollection/Overview/MethodDataCollection.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/PropertyData.xml b/xml/System.Management/PropertyData.xml index 5ff7c892291..bf00798026f 100644 --- a/xml/System.Management/PropertyData.xml +++ b/xml/System.Management/PropertyData.xml @@ -29,7 +29,7 @@ The following example lists information about the **Win32_OperatingSystem** class using the class. For more information about **Win32_OperatingSystem**, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_PropertyData/cs/PropertyData.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyData/vb/PropertyData.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/PropertyData/Overview/PropertyData.vb" id="Snippet1"::: ]]> @@ -145,7 +145,7 @@ The following example lists information about the **Win32_OperatingSystem** class using the class. For more information about **Win32_OperatingSystem**, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_PropertyData_Name/cs/PropertyData_Name.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyData_Name/vb/PropertyData_Name.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/PropertyData/Name/PropertyData_Name.vb" id="Snippet1"::: ]]> @@ -225,7 +225,7 @@ The following example lists information about the **Win32_OperatingSystem** class using the class. For more information about **Win32_OperatingSystem**, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_PropertyData_Qualifiers/cs/PropertyData_Qualifiers.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyData_Qualifiers/vb/PropertyData_Qualifiers.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/PropertyData/Qualifiers/PropertyData_Qualifiers.vb" id="Snippet1"::: ]]> @@ -269,7 +269,7 @@ The following example lists information about the **Win32_OperatingSystem** class using the class. For more information about **Win32_OperatingSystem**, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_PropertyData_Type/cs/PropertyData_Type.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyData_Type/vb/PropertyData_Type.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/PropertyData/Type/PropertyData_Type.vb" id="Snippet1"::: ]]> @@ -313,7 +313,7 @@ The following example lists information about the **Win32_OperatingSystem** class using the class. For more information about **Win32_OperatingSystem**, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_PropertyData_Value/cs/PropertyData_Value.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyData_Value/vb/PropertyData_Value.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/PropertyData/Value/PropertyData_Value.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/PropertyDataCollection+PropertyDataEnumerator.xml b/xml/System.Management/PropertyDataCollection+PropertyDataEnumerator.xml index 876d97a032d..1fdccdd78f6 100644 --- a/xml/System.Management/PropertyDataCollection+PropertyDataEnumerator.xml +++ b/xml/System.Management/PropertyDataCollection+PropertyDataEnumerator.xml @@ -33,7 +33,7 @@ The following example enumerates through the properties of the **Win32_LogicalDisk** class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_PropertyDataEnumerator/cs/PropertyDataEnumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyDataEnumerator/vb/PropertyDataEnumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/PropertyDataCollection+PropertyDataEnumerator/Overview/PropertyDataEnumerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/PropertyDataCollection.xml b/xml/System.Management/PropertyDataCollection.xml index 8a3614a9c1c..96031b304d9 100644 --- a/xml/System.Management/PropertyDataCollection.xml +++ b/xml/System.Management/PropertyDataCollection.xml @@ -36,7 +36,7 @@ The following example lists information about the **Win32_OperatingSystem** class using the class. For more information about **Win32_OperatingSystem**, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_PropertyDataCollection/cs/PropertyDataCollection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyDataCollection/vb/PropertyDataCollection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/PropertyDataCollection/Overview/PropertyDataCollection.vb" id="Snippet1"::: ]]> @@ -423,7 +423,7 @@ The following example gets the **Freespace** property from a . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_PropertyDataCollection_Item/cs/PropertyDataCollection_Item.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyDataCollection_Item/vb/PropertyDataCollection_Item.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/PropertyDataCollection/Item/PropertyDataCollection_Item.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/QualifierData.xml b/xml/System.Management/QualifierData.xml index 0c40f61afb4..eac49883dd9 100644 --- a/xml/System.Management/QualifierData.xml +++ b/xml/System.Management/QualifierData.xml @@ -29,7 +29,7 @@ The following example lists qualifier information about the **Win32_Service** class using the class. For more information about **Win32_Service**, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_QualifierData/cs/QualifierData.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierData/vb/QualifierData.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/QualifierData/Overview/QualifierData.vb" id="Snippet1"::: ]]> @@ -182,7 +182,7 @@ The following example lists qualifier information about the **Win32_Service** class using the class. For more information about **Win32_Service**, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_QualifierData_Name/cs/QualifierData_Name.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierData_Name/vb/QualifierData_Name.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/QualifierData/Name/QualifierData_Name.vb" id="Snippet1"::: ]]> @@ -299,7 +299,7 @@ The following example lists qualifier information about the **Win32_Service** class using the class. For more information about **Win32_Service**, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_QualifierData_Value/cs/QualifierData_Value.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierData_Value/vb/QualifierData_Value.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/QualifierData/Value/QualifierData_Value.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/QualifierDataCollection+QualifierDataEnumerator.xml b/xml/System.Management/QualifierDataCollection+QualifierDataEnumerator.xml index 12ee2189d8f..2cf1481be61 100644 --- a/xml/System.Management/QualifierDataCollection+QualifierDataEnumerator.xml +++ b/xml/System.Management/QualifierDataCollection+QualifierDataEnumerator.xml @@ -33,7 +33,7 @@ The following example enumerates through all the qualifiers in the **Win32_LogicalDisk** class and displays their values. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_QualifierDataEnumerator/cs/QualifierDataEnumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierDataEnumerator/vb/QualifierDataEnumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/QualifierDataCollection+QualifierDataEnumerator/Overview/QualifierDataEnumerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/QualifierDataCollection.xml b/xml/System.Management/QualifierDataCollection.xml index 9fbcc053e60..837a8705e95 100644 --- a/xml/System.Management/QualifierDataCollection.xml +++ b/xml/System.Management/QualifierDataCollection.xml @@ -36,7 +36,7 @@ The following example lists qualifier information about the **Win32_Service** class using the class. For more information about **Win32_Service**, see the [Windows Management Instrumentation](/windows/desktop/wmisdk/wmi-start-page) documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_QualifierDataCollection/cs/QualifierDataCollection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierDataCollection/vb/QualifierDataCollection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/QualifierDataCollection/Overview/QualifierDataCollection.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/RelatedObjectQuery.xml b/xml/System.Management/RelatedObjectQuery.xml index f6f401d6697..9a1ec9f766e 100644 --- a/xml/System.Management/RelatedObjectQuery.xml +++ b/xml/System.Management/RelatedObjectQuery.xml @@ -444,7 +444,7 @@ The following example sets a WMI class to be related to a . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_RelatedObjectQuery_RelatedClass/cs/RelatedObjectQuery_RelatedClass.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_RelatedObjectQuery_RelatedClass/vb/RelatedObjectQuery_RelatedClass.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/RelatedObjectQuery/RelatedClass/RelatedObjectQuery_RelatedClass.vb" id="Snippet1"::: ]]> @@ -563,7 +563,7 @@ The following example sets the type of relationship between a WMI class and a . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_RelatedObjectQuery_RelationshipClass/cs/RelatedObjectQuery_RelationshipClass.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_RelatedObjectQuery_RelationshipClass/vb/RelatedObjectQuery_RelationshipClass.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/RelatedObjectQuery/RelationshipClass/RelatedObjectQuery_RelationshipClass.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/RelationshipQuery.xml b/xml/System.Management/RelationshipQuery.xml index 15e07e40816..8c397282601 100644 --- a/xml/System.Management/RelationshipQuery.xml +++ b/xml/System.Management/RelationshipQuery.xml @@ -98,7 +98,7 @@ The following example sets the type of relationship between a WMI class and a . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_RelationshipQuery-S/cs/RelationshipQuery-S.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_RelationshipQuery-S/vb/RelationshipQuery-S.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/RelationshipQuery/.ctor/RelationshipQuery-S.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/SelectQuery.xml b/xml/System.Management/SelectQuery.xml index 0325eea3a1d..602cf865eaf 100644 --- a/xml/System.Management/SelectQuery.xml +++ b/xml/System.Management/SelectQuery.xml @@ -98,7 +98,7 @@ The following example initializes a by specifying a query. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_SelectQuery-S/cs/SelectQuery-S.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery-S/vb/SelectQuery-S.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/SelectQuery/.ctor/SelectQuery-S.vb" id="Snippet1"::: ]]> @@ -142,7 +142,7 @@ The following example initializes a by specifying a condition. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_SelectQuery-B_S/cs/SelectQuery-B_S.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery-B_S/vb/SelectQuery-B_S.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/SelectQuery/.ctor/SelectQuery-B_S.vb" id="Snippet1"::: ]]> @@ -185,7 +185,7 @@ The following example initializes a by specifying a WMI class name and a condition. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_SelectQuery-S_S/cs/SelectQuery-S_S.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery-S_S/vb/SelectQuery-S_S.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/SelectQuery/.ctor/SelectQuery-S_S.vb" id="Snippet1"::: ]]> @@ -230,7 +230,7 @@ The following example initializes a by specifying a WMI class name, condition, and array of properties. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_SelectQuery-S_S_S/cs/SelectQuery-S_S_S.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery-S_S_S/vb/SelectQuery-S_S_S.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/SelectQuery/.ctor/SelectQuery-S_S_S.vb" id="Snippet1"::: ]]> @@ -310,7 +310,7 @@ The following example initializes a by specifying a query and then changes the property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_SelectQuery_ClassName/cs/SelectQuery_ClassName.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery_ClassName/vb/SelectQuery_ClassName.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/SelectQuery/ClassName/SelectQuery_ClassName.vb" id="Snippet1"::: ]]> @@ -501,7 +501,7 @@ The following example initializes a with the parameterless constructor and then changes the property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_SelectQuery_QueryString/cs/SelectQuery_QueryString.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery_QueryString/vb/SelectQuery_QueryString.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/SelectQuery/QueryString/SelectQuery_QueryString.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/WqlEventQuery.xml b/xml/System.Management/WqlEventQuery.xml index 7c8d2bc9c08..9bddc7cc0e2 100644 --- a/xml/System.Management/WqlEventQuery.xml +++ b/xml/System.Management/WqlEventQuery.xml @@ -98,7 +98,7 @@ The following example initializes a by specifying a query and then initializes a by specifying an event. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S/cs/WqlEventQuery-S.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S/vb/WqlEventQuery-S.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/WqlEventQuery/.ctor/WqlEventQuery-S.vb" id="Snippet1"::: ]]> @@ -176,7 +176,7 @@ The following example initializes a by specifying an event and a time span value specifying the latency acceptable for receiving this event. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S_T/cs/WqlEventQuery-S_T.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S_T/vb/WqlEventQuery-S_T.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/WqlEventQuery/.ctor/WqlEventQuery-S_T.vb" id="Snippet1"::: ]]> @@ -258,7 +258,7 @@ The following example creates the event query: "SELECT * FROM __InstanceCreationEvent *WITHIN* 10 WHERE TargetInstance ISA Win32_Service ", which sends notification of the creation of **Win32_Service** instances, with a 10-second polling interval. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S_T_S/cs/WqlEventQuery-S_T_S.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S_T_S/vb/WqlEventQuery-S_T_S.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/WqlEventQuery/.ctor/WqlEventQuery-S_T_S.vb" id="Snippet1"::: ]]> @@ -347,7 +347,7 @@ The following example creates the event query: "SELECT * FROM __InstanceCreationEvent WHERE TargetInstance ISA Win32_NTLogEvent GROUP WITHIN 600 BY TargetInstance.SourceName HAVING NumberOfEvents > 15", which delivers aggregate events only if the number of **Win32_NTLogEvent** events received from the same source exceeds 15. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S_T_S_T_S_S/cs/WqlEventQuery-S_T_S_T_S_S.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S_T_S_T_S_S/vb/WqlEventQuery-S_T_S_T_S_S.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/WqlEventQuery/.ctor/WqlEventQuery-S_T_S_T_S_S.vb" id="Snippet1"::: ]]> @@ -460,7 +460,7 @@ The following example initializes a new and displays the event query string. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_WqlEventQuery_Condition/cs/WqlEventQuery_Condition.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_Condition/vb/WqlEventQuery_Condition.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/WqlEventQuery/Condition/WqlEventQuery_Condition.vb" id="Snippet1"::: ]]> @@ -505,7 +505,7 @@ The following example initializes a new and displays the event query string. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_WqlEventQuery_EventClassName/cs/WqlEventQuery_EventClassName.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_EventClassName/vb/WqlEventQuery_EventClassName.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/WqlEventQuery/EventClassName/WqlEventQuery_EventClassName.vb" id="Snippet1"::: ]]> @@ -550,7 +550,7 @@ The following example initializes a new and displays the event query string. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_WqlEventQuery_GroupByPropertyList/cs/WqlEventQuery_GroupByPropertyList.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_GroupByPropertyList/vb/WqlEventQuery_GroupByPropertyList.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/WqlEventQuery/GroupByPropertyList/WqlEventQuery_GroupByPropertyList.vb" id="Snippet1"::: ]]> @@ -595,7 +595,7 @@ The following example initializes a new and displays the event query string. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_WqlEventQuery_GroupWithinInterval/cs/WqlEventQuery_GroupWithinInterval.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_GroupWithinInterval/vb/WqlEventQuery_GroupWithinInterval.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/WqlEventQuery/GroupWithinInterval/WqlEventQuery_GroupWithinInterval.vb" id="Snippet1"::: ]]> @@ -640,7 +640,7 @@ The following example initializes a new and displays the event query string. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_WqlEventQuery_HavingCondition/cs/WqlEventQuery_HavingCondition.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_HavingCondition/vb/WqlEventQuery_HavingCondition.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/WqlEventQuery/HavingCondition/WqlEventQuery_HavingCondition.vb" id="Snippet1"::: ]]> @@ -756,7 +756,7 @@ The following example initializes a new and displays the event query string. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_WqlEventQuery_QueryString/cs/WqlEventQuery_QueryString.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_QueryString/vb/WqlEventQuery_QueryString.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/WqlEventQuery/QueryString/WqlEventQuery_QueryString.vb" id="Snippet1"::: ]]> @@ -803,7 +803,7 @@ The following example initializes a new that represents the query: "SELECT * FROM __InstanceCreationEvent *WITHIN* 1 WHERE TargetInstance ISA 'Win32_Process'". :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/wminet_WqlEventQuery_WithinInterval/cs/WqlEventQuery_WithinInterval.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_WithinInterval/vb/WqlEventQuery_WithinInterval.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Management/WqlEventQuery/WithinInterval/WqlEventQuery_WithinInterval.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Media/SoundPlayer.xml b/xml/System.Media/SoundPlayer.xml index 0e916ee0c77..780647161dc 100644 --- a/xml/System.Media/SoundPlayer.xml +++ b/xml/System.Media/SoundPlayer.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Sound/CPP/soundtestform.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SoundPlayer/Overview/soundtestform.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Sound/VB/soundtestform.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SoundPlayer/Overview/soundtestform.vb" id="Snippet1"::: ]]> @@ -346,7 +346,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Sound/CPP/soundtestform.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SoundPlayer/Overview/soundtestform.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Sound/VB/soundtestform.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SoundPlayer/Overview/soundtestform.vb" id="Snippet2"::: ]]> @@ -406,7 +406,7 @@ This method stores in the task it returns all non-usage exceptions that the meth :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Sound/CPP/soundtestform.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SoundPlayer/Overview/soundtestform.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Sound/VB/soundtestform.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SoundPlayer/Overview/soundtestform.vb" id="Snippet3"::: ]]> @@ -463,7 +463,7 @@ This method stores in the task it returns all non-usage exceptions that the meth :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Sound/CPP/soundtestform.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SoundPlayer/Overview/soundtestform.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Sound/VB/soundtestform.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SoundPlayer/Overview/soundtestform.vb" id="Snippet8"::: ]]> @@ -725,7 +725,7 @@ This method stores in the task it returns all non-usage exceptions that the meth :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Sound/CPP/soundtestform.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SoundPlayer/Overview/soundtestform.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Sound/VB/soundtestform.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SoundPlayer/Overview/soundtestform.vb" id="Snippet5"::: ]]> @@ -790,7 +790,7 @@ This method stores in the task it returns all non-usage exceptions that the meth :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Sound/CPP/soundtestform.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SoundPlayer/Overview/soundtestform.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Sound/VB/soundtestform.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SoundPlayer/Overview/soundtestform.vb" id="Snippet6"::: ]]> @@ -853,7 +853,7 @@ This method stores in the task it returns all non-usage exceptions that the meth :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PlaySync/CPP/system.windows.forms.sound.playasync.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SoundPlayer/PlaySync/system.windows.forms.sound.playasync.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PlaySync/VB/system.windows.forms.sound.playasync.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SoundPlayer/PlaySync/system.windows.forms.sound.playasync.vb" id="Snippet1"::: ]]> @@ -914,7 +914,7 @@ This method stores in the task it returns all non-usage exceptions that the meth :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Sound/CPP/soundtestform.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SoundPlayer/Overview/soundtestform.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Sound/VB/soundtestform.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SoundPlayer/Overview/soundtestform.vb" id="Snippet2"::: ]]> @@ -966,7 +966,7 @@ This method stores in the task it returns all non-usage exceptions that the meth :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Sound/CPP/soundtestform.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SoundPlayer/Overview/soundtestform.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Sound/VB/soundtestform.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SoundPlayer/Overview/soundtestform.vb" id="Snippet9"::: ]]> @@ -1011,7 +1011,7 @@ This method stores in the task it returns all non-usage exceptions that the meth :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Sound/CPP/soundtestform.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SoundPlayer/Overview/soundtestform.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Sound/VB/soundtestform.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SoundPlayer/Overview/soundtestform.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Media/SystemSound.xml b/xml/System.Media/SystemSound.xml index cc123412e32..fdb35441ad2 100644 --- a/xml/System.Media/SystemSound.xml +++ b/xml/System.Media/SystemSound.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemSoundsExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SystemSound/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemSoundsExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SystemSound/Overview/form1.vb" id="Snippet1"::: ]]> @@ -87,7 +87,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemSoundsExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SystemSound/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemSoundsExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SystemSound/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Media/SystemSounds.xml b/xml/System.Media/SystemSounds.xml index 147a827a423..9b1377fe081 100644 --- a/xml/System.Media/SystemSounds.xml +++ b/xml/System.Media/SystemSounds.xml @@ -90,7 +90,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemSoundsExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Media/SystemSound/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemSoundsExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Media/SystemSound/Overview/form1.vb" id="Snippet1"::: ]]> @@ -140,7 +140,7 @@ The following code example demonstrates the use of the @@ -187,7 +187,7 @@ The following code example demonstrates the use of the @@ -234,7 +234,7 @@ The following code example demonstrates the use of the @@ -281,7 +281,7 @@ The following code example demonstrates the use of the diff --git a/xml/System.Messaging/AcknowledgeTypes.xml b/xml/System.Messaging/AcknowledgeTypes.xml index 3d35d0ff529..975bc85133d 100644 --- a/xml/System.Messaging/AcknowledgeTypes.xml +++ b/xml/System.Messaging/AcknowledgeTypes.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message.Acknowledgment/CPP/message_acknowledgment.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/AcknowledgeTypes/Overview/message_acknowledgment.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message.Acknowledgment/VB/message_acknowledgment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/AcknowledgeTypes/Overview/message_acknowledgment.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Messaging/Acknowledgment.xml b/xml/System.Messaging/Acknowledgment.xml index 14ed5736692..1d65d88e274 100644 --- a/xml/System.Messaging/Acknowledgment.xml +++ b/xml/System.Messaging/Acknowledgment.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message.Acknowledgment/CPP/message_acknowledgment.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/AcknowledgeTypes/Overview/message_acknowledgment.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message.Acknowledgment/VB/message_acknowledgment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/AcknowledgeTypes/Overview/message_acknowledgment.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Messaging/BinaryMessageFormatter.xml b/xml/System.Messaging/BinaryMessageFormatter.xml index c50514d23f3..8b4feae8012 100644 --- a/xml/System.Messaging/BinaryMessageFormatter.xml +++ b/xml/System.Messaging/BinaryMessageFormatter.xml @@ -40,7 +40,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Messaging/BinaryMessageFormatter/Overview/message_binaryformatter.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessagingBinaryFormatter/VB/message_binaryformatter.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/BinaryMessageFormatter/Overview/message_binaryformatter.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Messaging/DefaultPropertiesToSend.xml b/xml/System.Messaging/DefaultPropertiesToSend.xml index 59fb0e24e29..4f1a1b7e56d 100644 --- a/xml/System.Messaging/DefaultPropertiesToSend.xml +++ b/xml/System.Messaging/DefaultPropertiesToSend.xml @@ -40,7 +40,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.DefaultPropertiesToSend/CPP/mqdefaultpropertiestosend.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/DefaultPropertiesToSend/Overview/mqdefaultpropertiestosend.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.DefaultPropertiesToSend/VB/mqdefaultpropertiestosend.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/DefaultPropertiesToSend/Overview/mqdefaultpropertiestosend.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Messaging/Message.xml b/xml/System.Messaging/Message.xml index 414f7b111e3..b15325c78aa 100644 --- a/xml/System.Messaging/Message.xml +++ b/xml/System.Messaging/Message.xml @@ -53,13 +53,13 @@ The following code example demonstrates formatting a message body using . :::code language="csharp" source="~/snippets/csharp/System.Messaging/BinaryMessageFormatter/Overview/message_binaryformatter.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessagingBinaryFormatter/VB/message_binaryformatter.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/BinaryMessageFormatter/Overview/message_binaryformatter.vb" id="Snippet1"::: The following code example demonstrates formatting a message body using . :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message.Body/CPP/message_sendreceive.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/Message/Overview/message_sendreceive.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message.Body/VB/message_sendreceive.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/Message/Overview/message_sendreceive.vb" id="Snippet1"::: ]]> @@ -149,7 +149,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message.DefaultPropertiesToSend/CPP/message_defaultandpriority.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/Message/.ctor/message_defaultandpriority.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message.DefaultPropertiesToSend/VB/message_defaultandpriority.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/Message/.ctor/message_defaultandpriority.vb" id="Snippet1"::: ]]> @@ -232,7 +232,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message.Body/CPP/message_sendreceive.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/Message/Overview/message_sendreceive.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message.Body/VB/message_sendreceive.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/Message/Overview/message_sendreceive.vb" id="Snippet1"::: ]]> @@ -312,7 +312,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Messaging/BinaryMessageFormatter/Overview/message_binaryformatter.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessagingBinaryFormatter/VB/message_binaryformatter.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/BinaryMessageFormatter/Overview/message_binaryformatter.vb" id="Snippet1"::: ]]> @@ -375,7 +375,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message.Acknowledgment/CPP/message_acknowledgment.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/AcknowledgeTypes/Overview/message_acknowledgment.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message.Acknowledgment/VB/message_acknowledgment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/AcknowledgeTypes/Overview/message_acknowledgment.vb" id="Snippet1"::: ]]> @@ -495,7 +495,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message.Acknowledgment/CPP/message_acknowledgment.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/AcknowledgeTypes/Overview/message_acknowledgment.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message.Acknowledgment/VB/message_acknowledgment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/AcknowledgeTypes/Overview/message_acknowledgment.vb" id="Snippet1"::: ]]> @@ -906,7 +906,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message.DefaultPropertiesToSend/CPP/message_defaultandpriority.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/Message/.ctor/message_defaultandpriority.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message.DefaultPropertiesToSend/VB/message_defaultandpriority.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/Message/.ctor/message_defaultandpriority.vb" id="Snippet1"::: ]]> @@ -1190,7 +1190,7 @@ if (myObject is float) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message.Acknowledgment/CPP/message_acknowledgment.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/AcknowledgeTypes/Overview/message_acknowledgment.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message.Acknowledgment/VB/message_acknowledgment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/AcknowledgeTypes/Overview/message_acknowledgment.vb" id="Snippet1"::: ]]> @@ -1522,13 +1522,13 @@ if (myObject is float) { The following code example demonstrates formatting a message body using . :::code language="csharp" source="~/snippets/csharp/System.Messaging/BinaryMessageFormatter/Overview/message_binaryformatter.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessagingBinaryFormatter/VB/message_binaryformatter.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/BinaryMessageFormatter/Overview/message_binaryformatter.vb" id="Snippet1"::: The following code example demonstrates formatting a message body using . :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message.Body/CPP/message_sendreceive.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/Message/Overview/message_sendreceive.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message.Body/VB/message_sendreceive.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/Message/Overview/message_sendreceive.vb" id="Snippet1"::: ]]> @@ -1643,7 +1643,7 @@ if (myObject is float) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message.Acknowledgment/CPP/message_acknowledgment.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/AcknowledgeTypes/Overview/message_acknowledgment.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message.Acknowledgment/VB/message_acknowledgment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/AcknowledgeTypes/Overview/message_acknowledgment.vb" id="Snippet1"::: ]]> @@ -2030,7 +2030,7 @@ if (myObject is float) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message.DefaultPropertiesToSend/CPP/message_defaultandpriority.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/Message/.ctor/message_defaultandpriority.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message.DefaultPropertiesToSend/VB/message_defaultandpriority.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/Message/.ctor/message_defaultandpriority.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Messaging/MessageEnumerator.xml b/xml/System.Messaging/MessageEnumerator.xml index 7cb3cfec586..2f61d40ef5e 100644 --- a/xml/System.Messaging/MessageEnumerator.xml +++ b/xml/System.Messaging/MessageEnumerator.xml @@ -50,7 +50,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.GetMessageEnumerator/CPP/mqgetmessageenumerator.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageEnumerator/Overview/mqgetmessageenumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.GetMessageEnumerator/VB/mqgetmessageenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageEnumerator/Overview/mqgetmessageenumerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Messaging/MessagePriority.xml b/xml/System.Messaging/MessagePriority.xml index 6a9c77ade57..461e3aa0940 100644 --- a/xml/System.Messaging/MessagePriority.xml +++ b/xml/System.Messaging/MessagePriority.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message.DefaultPropertiesToSend/CPP/message_defaultandpriority.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/Message/.ctor/message_defaultandpriority.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message.DefaultPropertiesToSend/VB/message_defaultandpriority.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/Message/.ctor/message_defaultandpriority.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Messaging/MessagePropertyFilter.xml b/xml/System.Messaging/MessagePropertyFilter.xml index a56e0022c38..4efbb388c2b 100644 --- a/xml/System.Messaging/MessagePropertyFilter.xml +++ b/xml/System.Messaging/MessagePropertyFilter.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message.DefaultPropertiesToSend/CPP/message_defaultandpriority.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/Message/.ctor/message_defaultandpriority.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message.DefaultPropertiesToSend/VB/message_defaultandpriority.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/Message/.ctor/message_defaultandpriority.vb" id="Snippet1"::: ]]> @@ -204,7 +204,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message.Acknowledgment/CPP/message_acknowledgment.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/AcknowledgeTypes/Overview/message_acknowledgment.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message.Acknowledgment/VB/message_acknowledgment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/AcknowledgeTypes/Overview/message_acknowledgment.vb" id="Snippet1"::: ]]> @@ -799,7 +799,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message.Acknowledgment/CPP/message_acknowledgment.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/AcknowledgeTypes/Overview/message_acknowledgment.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message.Acknowledgment/VB/message_acknowledgment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/AcknowledgeTypes/Overview/message_acknowledgment.vb" id="Snippet1"::: ]]> @@ -1622,7 +1622,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message.DefaultPropertiesToSend/CPP/message_defaultandpriority.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/Message/.ctor/message_defaultandpriority.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message.DefaultPropertiesToSend/VB/message_defaultandpriority.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/Message/.ctor/message_defaultandpriority.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Messaging/MessageQueue.xml b/xml/System.Messaging/MessageQueue.xml index f53c89c3686..9bc06a61f4a 100644 --- a/xml/System.Messaging/MessageQueue.xml +++ b/xml/System.Messaging/MessageQueue.xml @@ -81,13 +81,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.Path/CPP/mqpath.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/Overview/mqpath.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Path/VB/mqpath.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/Overview/mqpath.vb" id="Snippet1"::: The following code example sends a message to a queue, and receives a message from a queue, using an application-specific class called `Order`. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.Receive_noparms/CPP/mqreceive_noparms.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/Overview/mqreceive_noparms.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Receive_noparms/VB/mqreceive_noparms.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/Overview/mqreceive_noparms.vb" id="Snippet1"::: ]]> @@ -239,7 +239,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.Path/CPP/mqpath.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/Overview/mqpath.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Path/VB/mqpath.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/Overview/mqpath.vb" id="Snippet1"::: ]]> @@ -332,7 +332,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.ctor_PathSharedModeDenyReceive/CPP/mqctor_denysharedreceive.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/.ctor/mqctor_denysharedreceive.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.ctor_PathSharedModeDenyReceive/VB/mqctor_denysharedreceive.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/.ctor/mqctor_denysharedreceive.vb" id="Snippet1"::: ]]> @@ -659,7 +659,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.BeginPeek_noparms/CPP/mqbeginpeek_noparms.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/BeginPeek/mqbeginpeek_noparms.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.BeginPeek_noparms/VB/mqbeginpeek_noparms.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/BeginPeek/mqbeginpeek_noparms.vb" id="Snippet1"::: ]]> @@ -733,7 +733,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.BeginPeek_timeout/CPP/mqbeginpeek_timeout.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/BeginPeek/mqbeginpeek_timeout.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.BeginPeek_timeout/VB/mqbeginpeek_timeout.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/BeginPeek/mqbeginpeek_timeout.vb" id="Snippet1"::: ]]> @@ -817,7 +817,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.BeginPeek_TimeSpanStateObject/CPP/mqbeginpeek_timeoutstateobject.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/BeginPeek/mqbeginpeek_timeoutstateobject.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.BeginPeek_TimeSpanStateObject/VB/mqbeginpeek_timeoutstateobject.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/BeginPeek/mqbeginpeek_timeoutstateobject.vb" id="Snippet1"::: ]]> @@ -1055,13 +1055,13 @@ myMessageQueue.BeginTransaction(); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.BeginReceive_noparms_combined/CPP/mqbeginreceive_noparms_mre.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/BeginReceive/mqbeginreceive_noparms_mre.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.BeginReceive_noparms_combined/VB/mqbeginreceive_noparms_mre.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/BeginReceive/mqbeginreceive_noparms_mre.vb" id="Snippet1"::: The following code example queues asynchronous requests. The call to uses the in its return value. The `Main` routine waits for all asynchronous operations to be completed before exiting. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.BeginReceive_noparms_combined/CPP/mqbeginreceive_noparms_wh.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/BeginReceive/mqbeginreceive_noparms_wh.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.BeginReceive_noparms_combined/VB/mqbeginreceive_noparms_wh.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/BeginReceive/mqbeginreceive_noparms_wh.vb" id="Snippet2"::: ]]> @@ -1719,7 +1719,7 @@ myMessageQueue.Send("Text 2."); //Resources are re-acquired. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.Close/CPP/mqclose.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/Close/mqclose.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Close/VB/mqclose.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/Close/mqclose.vb" id="Snippet1"::: ]]> @@ -1789,7 +1789,7 @@ myMessageQueue.Send("Text 2."); //Resources are re-acquired. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.Create_path/CPP/mqcreate.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/Create/mqcreate.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Create_path/VB/mqcreate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/Create/mqcreate.vb" id="Snippet1"::: ]]> @@ -1861,7 +1861,7 @@ myMessageQueue.Send("Text 2."); //Resources are re-acquired. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.Create_PathTransactional/CPP/mqcreate_transactional.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/Create/mqcreate_transactional.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Create_PathTransactional/VB/mqcreate_transactional.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/Create/mqcreate_transactional.vb" id="Snippet1"::: ]]> @@ -2042,7 +2042,7 @@ myMessageQueue.Send("Text 2."); //Resources are re-acquired. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.DefaultPropertiesToSend/CPP/mqdefaultpropertiestosend.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/DefaultPropertiesToSend/Overview/mqdefaultpropertiestosend.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.DefaultPropertiesToSend/VB/mqdefaultpropertiestosend.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/DefaultPropertiesToSend/Overview/mqdefaultpropertiestosend.vb" id="Snippet1"::: ]]> @@ -2113,7 +2113,7 @@ myMessageQueue.Send("Text 2."); //Resources are re-acquired. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.ExistsDelete/CPP/mqexistsdelete.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/Delete/mqexistsdelete.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.ExistsDelete/VB/mqexistsdelete.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/Delete/mqexistsdelete.vb" id="Snippet1"::: ]]> @@ -2400,7 +2400,7 @@ myMessageQueue.Send("Text 2."); //Resources are re-acquired. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.BeginPeek_noparms/CPP/mqbeginpeek_noparms.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/BeginPeek/mqbeginpeek_noparms.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.BeginPeek_noparms/VB/mqbeginpeek_noparms.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/BeginPeek/mqbeginpeek_noparms.vb" id="Snippet1"::: ]]> @@ -2463,7 +2463,7 @@ myMessageQueue.Send("Text 2."); //Resources are re-acquired. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.BeginReceive_noparms_combined/CPP/mqbeginreceive_noparms_mre.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/BeginReceive/mqbeginreceive_noparms_mre.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.BeginReceive_noparms_combined/VB/mqbeginreceive_noparms_mre.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/BeginReceive/mqbeginreceive_noparms_mre.vb" id="Snippet1"::: ]]> @@ -2542,7 +2542,7 @@ myMessageQueue.Send("Text 2."); //Resources are re-acquired. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.ExistsDelete/CPP/mqexistsdelete.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/Delete/mqexistsdelete.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.ExistsDelete/VB/mqexistsdelete.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/Delete/mqexistsdelete.vb" id="Snippet1"::: ]]> @@ -2689,13 +2689,13 @@ myMessageQueue.Send("Text 2."); //Resources are re-acquired. The following code example demonstrates formatting a message body using . :::code language="csharp" source="~/snippets/csharp/System.Messaging/BinaryMessageFormatter/Overview/message_binaryformatter.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessagingBinaryFormatter/VB/message_binaryformatter.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/BinaryMessageFormatter/Overview/message_binaryformatter.vb" id="Snippet1"::: The following code example demonstrates formatting a message body using . :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message.Body/CPP/message_sendreceive.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/Message/Overview/message_sendreceive.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message.Body/VB/message_sendreceive.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/Message/Overview/message_sendreceive.vb" id="Snippet1"::: ]]> @@ -2932,7 +2932,7 @@ myMessageQueue.Send("Text 2."); //Resources are re-acquired. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.GetMessageEnumerator/CPP/mqgetmessageenumerator.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageEnumerator/Overview/mqgetmessageenumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.GetMessageEnumerator/VB/mqgetmessageenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageEnumerator/Overview/mqgetmessageenumerator.vb" id="Snippet1"::: ]]> @@ -3046,7 +3046,7 @@ myMessageQueue.Send("Text 2."); //Resources are re-acquired. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.GetMessageQueueEnumerator_noparms/CPP/mqgetmessagequeueenumerator.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/GetMessageQueueEnumerator/mqgetmessagequeueenumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.GetMessageQueueEnumerator_noparms/VB/mqgetmessagequeueenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/GetMessageQueueEnumerator/mqgetmessagequeueenumerator.vb" id="Snippet1"::: ]]> @@ -3106,7 +3106,7 @@ myMessageQueue.Send("Text 2."); //Resources are re-acquired. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.GetMessageQueueEnumerator_criteria/CPP/mqgetmessagequeueenumerator_criteria.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/GetMessageQueueEnumerator/mqgetmessagequeueenumerator_criteria.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.GetMessageQueueEnumerator_criteria/VB/mqgetmessagequeueenumerator_criteria.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/GetMessageQueueEnumerator/mqgetmessagequeueenumerator_criteria.vb" id="Snippet1"::: ]]> @@ -3160,7 +3160,7 @@ myMessageQueue.Send("Text 2."); //Resources are re-acquired. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.GetQueueLists/CPP/mqgetqueuelists.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/GetPrivateQueuesByMachine/mqgetqueuelists.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.GetQueueLists/VB/mqgetqueuelists.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/GetPrivateQueuesByMachine/mqgetqueuelists.vb" id="Snippet1"::: ]]> @@ -3225,7 +3225,7 @@ myMessageQueue.Send("Text 2."); //Resources are re-acquired. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.GetQueueLists/CPP/mqgetqueuelists.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/GetPrivateQueuesByMachine/mqgetqueuelists.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.GetQueueLists/VB/mqgetqueuelists.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/GetPrivateQueuesByMachine/mqgetqueuelists.vb" id="Snippet1"::: ]]> @@ -3281,7 +3281,7 @@ myMessageQueue.Send("Text 2."); //Resources are re-acquired. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.GetQueueLists/CPP/mqgetqueuelists.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/GetPrivateQueuesByMachine/mqgetqueuelists.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.GetQueueLists/VB/mqgetqueuelists.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/GetPrivateQueuesByMachine/mqgetqueuelists.vb" id="Snippet1"::: ]]> @@ -3338,7 +3338,7 @@ myMessageQueue.Send("Text 2."); //Resources are re-acquired. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.GetQueueLists/CPP/mqgetqueuelists.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/GetPrivateQueuesByMachine/mqgetqueuelists.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.GetQueueLists/VB/mqgetqueuelists.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/GetPrivateQueuesByMachine/mqgetqueuelists.vb" id="Snippet1"::: ]]> @@ -3396,7 +3396,7 @@ myMessageQueue.Send("Text 2."); //Resources are re-acquired. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.GetQueueLists/CPP/mqgetqueuelists.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/GetPrivateQueuesByMachine/mqgetqueuelists.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.GetQueueLists/VB/mqgetqueuelists.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/GetPrivateQueuesByMachine/mqgetqueuelists.vb" id="Snippet1"::: ]]> @@ -3455,7 +3455,7 @@ myMessageQueue.Send("Text 2."); //Resources are re-acquired. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.GetQueueLists/CPP/mqgetqueuelists.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/GetPrivateQueuesByMachine/mqgetqueuelists.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.GetQueueLists/VB/mqgetqueuelists.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/GetPrivateQueuesByMachine/mqgetqueuelists.vb" id="Snippet1"::: ]]> @@ -4075,7 +4075,7 @@ The name of the computer is not valid, possibly because the syntax is incorrect. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.MessageReadPropertyFilter/CPP/mqmessagereadpropertyfilter.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/MessageReadPropertyFilter/mqmessagereadpropertyfilter.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.MessageReadPropertyFilter/VB/mqmessagereadpropertyfilter.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/MessageReadPropertyFilter/mqmessagereadpropertyfilter.vb" id="Snippet1"::: ]]> @@ -4266,7 +4266,7 @@ The name of the computer is not valid, possibly because the syntax is incorrect. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.Path/CPP/mqpath.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/Overview/mqpath.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Path/VB/mqpath.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/Overview/mqpath.vb" id="Snippet1"::: ]]> @@ -4342,7 +4342,7 @@ The name of the computer is not valid, possibly because the syntax is incorrect. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.Peek_noparms/CPP/mqpeek_noparms.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/Peek/mqpeek_noparms.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Peek_noparms/VB/mqpeek_noparms.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/Peek/mqpeek_noparms.vb" id="Snippet1"::: ]]> @@ -4404,7 +4404,7 @@ The name of the computer is not valid, possibly because the syntax is incorrect. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.Peek_timeout/CPP/mqpeek_timeout.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/Peek/mqpeek_timeout.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Peek_timeout/VB/mqpeek_timeout.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/Peek/mqpeek_timeout.vb" id="Snippet1"::: ]]> @@ -4535,7 +4535,7 @@ The name of the computer is not valid, possibly because the syntax is incorrect. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message.Acknowledgment/CPP/message_acknowledgment.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/AcknowledgeTypes/Overview/message_acknowledgment.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message.Acknowledgment/VB/message_acknowledgment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/AcknowledgeTypes/Overview/message_acknowledgment.vb" id="Snippet1"::: ]]> @@ -4917,7 +4917,7 @@ The name of the computer is not valid, possibly because the syntax is incorrect. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.BeginPeek_noparms/CPP/mqbeginpeek_noparms.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/BeginPeek/mqbeginpeek_noparms.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.BeginPeek_noparms/VB/mqbeginpeek_noparms.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/BeginPeek/mqbeginpeek_noparms.vb" id="Snippet1"::: ]]> @@ -5166,7 +5166,7 @@ The name of the computer is not valid, possibly because the syntax is incorrect. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.Receive_noparms/CPP/mqreceive_noparms.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/Overview/mqreceive_noparms.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Receive_noparms/VB/mqreceive_noparms.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/Overview/mqreceive_noparms.vb" id="Snippet1"::: ]]> @@ -5229,7 +5229,7 @@ The name of the computer is not valid, possibly because the syntax is incorrect. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.Receive_transaction/CPP/mqreceive_transaction.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/Receive/mqreceive_transaction.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Receive_transaction/VB/mqreceive_transaction.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/Receive/mqreceive_transaction.vb" id="Snippet1"::: ]]> @@ -5365,7 +5365,7 @@ The name of the computer is not valid, possibly because the syntax is incorrect. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.Receive_timeout/CPP/mqreceive_timeout.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/Receive/mqreceive_timeout.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Receive_timeout/VB/mqreceive_timeout.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/Receive/mqreceive_timeout.vb" id="Snippet1"::: ]]> @@ -5474,7 +5474,7 @@ The name of the computer is not valid, possibly because the syntax is incorrect. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.Receive_TimeoutTransaction/CPP/mqreceive_timeouttransaction.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/Receive/mqreceive_timeouttransaction.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Receive_TimeoutTransaction/VB/mqreceive_timeouttransaction.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/Receive/mqreceive_timeouttransaction.vb" id="Snippet1"::: ]]> @@ -5778,7 +5778,7 @@ The name of the computer is not valid, possibly because the syntax is incorrect. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message.Acknowledgment/CPP/message_acknowledgment.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/AcknowledgeTypes/Overview/message_acknowledgment.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message.Acknowledgment/VB/message_acknowledgment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/AcknowledgeTypes/Overview/message_acknowledgment.vb" id="Snippet1"::: ]]> @@ -6889,7 +6889,7 @@ The name of the computer is not valid, possibly because the syntax is incorrect. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.ReceiveCompleted/CPP/mqreceivecompletedeventhandler.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/ReceiveCompleted/mqreceivecompletedeventhandler.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.ReceiveCompleted/VB/mqreceivecompletedeventhandler.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/ReceiveCompleted/mqreceivecompletedeventhandler.vb" id="Snippet1"::: ]]> @@ -7063,7 +7063,7 @@ The name of the computer is not valid, possibly because the syntax is incorrect. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.Send_obj/CPP/mqsend_generic.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/Send/mqsend_generic.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Send_obj/VB/mqsend_generic.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/Send/mqsend_generic.vb" id="Snippet1"::: The following code example sends an application-defined `Order` class to a queue and then receives a message from that queue. @@ -7143,7 +7143,7 @@ The name of the computer is not valid, possibly because the syntax is incorrect. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.Send_ObjectTransaction/CPP/mqsend_objtransaction.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/Send/mqsend_objtransaction.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.Send_ObjectTransaction/VB/mqsend_objtransaction.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/Send/mqsend_objtransaction.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Messaging/MessageQueueCriteria.xml b/xml/System.Messaging/MessageQueueCriteria.xml index 9d82cb2b490..3888a85d3ef 100644 --- a/xml/System.Messaging/MessageQueueCriteria.xml +++ b/xml/System.Messaging/MessageQueueCriteria.xml @@ -38,7 +38,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.GetMessageQueueEnumerator_criteria/CPP/mqgetmessagequeueenumerator_criteria.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/GetMessageQueueEnumerator/mqgetmessagequeueenumerator_criteria.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.GetMessageQueueEnumerator_criteria/VB/mqgetmessagequeueenumerator_criteria.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/GetMessageQueueEnumerator/mqgetmessagequeueenumerator_criteria.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Messaging/MessageQueueEnumerator.xml b/xml/System.Messaging/MessageQueueEnumerator.xml index 8d5004ed6fe..cbd667b2704 100644 --- a/xml/System.Messaging/MessageQueueEnumerator.xml +++ b/xml/System.Messaging/MessageQueueEnumerator.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.GetMessageQueueEnumerator_noparms/CPP/mqgetmessagequeueenumerator.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/GetMessageQueueEnumerator/mqgetmessagequeueenumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.GetMessageQueueEnumerator_noparms/VB/mqgetmessagequeueenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/GetMessageQueueEnumerator/mqgetmessagequeueenumerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Messaging/MessageQueueErrorCode.xml b/xml/System.Messaging/MessageQueueErrorCode.xml index 19d15dacf65..55fe37b6351 100644 --- a/xml/System.Messaging/MessageQueueErrorCode.xml +++ b/xml/System.Messaging/MessageQueueErrorCode.xml @@ -29,7 +29,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.ExistsDelete/CPP/mqexistsdelete.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/Delete/mqexistsdelete.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.ExistsDelete/VB/mqexistsdelete.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/Delete/mqexistsdelete.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Messaging/MessageQueueException.xml b/xml/System.Messaging/MessageQueueException.xml index 3f05e202512..051dc718064 100644 --- a/xml/System.Messaging/MessageQueueException.xml +++ b/xml/System.Messaging/MessageQueueException.xml @@ -45,7 +45,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.ExistsDelete/CPP/mqexistsdelete.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/Delete/mqexistsdelete.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.ExistsDelete/VB/mqexistsdelete.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/Delete/mqexistsdelete.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Messaging/PeekCompletedEventArgs.xml b/xml/System.Messaging/PeekCompletedEventArgs.xml index 98305689331..6880fb409b4 100644 --- a/xml/System.Messaging/PeekCompletedEventArgs.xml +++ b/xml/System.Messaging/PeekCompletedEventArgs.xml @@ -34,7 +34,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.BeginPeek_noparms/CPP/mqbeginpeek_noparms.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/BeginPeek/mqbeginpeek_noparms.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.BeginPeek_noparms/VB/mqbeginpeek_noparms.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/BeginPeek/mqbeginpeek_noparms.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Messaging/PeekCompletedEventHandler.xml b/xml/System.Messaging/PeekCompletedEventHandler.xml index bb718f62b0d..22604b0fcbb 100644 --- a/xml/System.Messaging/PeekCompletedEventHandler.xml +++ b/xml/System.Messaging/PeekCompletedEventHandler.xml @@ -38,7 +38,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.BeginPeek_noparms/CPP/mqbeginpeek_noparms.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/BeginPeek/mqbeginpeek_noparms.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.BeginPeek_noparms/VB/mqbeginpeek_noparms.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/BeginPeek/mqbeginpeek_noparms.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Messaging/ReceiveCompletedEventArgs.xml b/xml/System.Messaging/ReceiveCompletedEventArgs.xml index 59942cf8eaf..69923643393 100644 --- a/xml/System.Messaging/ReceiveCompletedEventArgs.xml +++ b/xml/System.Messaging/ReceiveCompletedEventArgs.xml @@ -34,7 +34,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.ReceiveCompleted/CPP/mqreceivecompletedeventhandler.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/ReceiveCompleted/mqreceivecompletedeventhandler.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.ReceiveCompleted/VB/mqreceivecompletedeventhandler.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/ReceiveCompleted/mqreceivecompletedeventhandler.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Messaging/ReceiveCompletedEventHandler.xml b/xml/System.Messaging/ReceiveCompletedEventHandler.xml index b045c9c6e87..b4082767a37 100644 --- a/xml/System.Messaging/ReceiveCompletedEventHandler.xml +++ b/xml/System.Messaging/ReceiveCompletedEventHandler.xml @@ -38,7 +38,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageQueue.ReceiveCompleted/CPP/mqreceivecompletedeventhandler.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/MessageQueue/ReceiveCompleted/mqreceivecompletedeventhandler.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageQueue.ReceiveCompleted/VB/mqreceivecompletedeventhandler.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/MessageQueue/ReceiveCompleted/mqreceivecompletedeventhandler.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Messaging/XmlMessageFormatter.xml b/xml/System.Messaging/XmlMessageFormatter.xml index a42ef711ec6..690676d3259 100644 --- a/xml/System.Messaging/XmlMessageFormatter.xml +++ b/xml/System.Messaging/XmlMessageFormatter.xml @@ -53,13 +53,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic XmlMessageFormatter Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/XmlMessageFormatter/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlMessageFormatter Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/XmlMessageFormatter/Overview/source.vb" id="Snippet1"::: The following code example represents the order class that provides a schema for the order objects that the application on the server receives and deserializes. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic XmlMessageFormatter Example/CPP/source2.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/XmlMessageFormatter/Overview/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlMessageFormatter Example/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/XmlMessageFormatter/Overview/source2.vb" id="Snippet2"::: Any client application that interacts with the application on the server must send messages to the server by serializing information in a locally defined order class into the message body. The locally defined order class must have the same schema as the server-defined order class into which the application on the server will attempt to deserialize the message body. The XSD.exe utility lets the manager of the application on the server create and distribute the schema the client must use to serialize messages going to the server. @@ -69,7 +69,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic XmlMessageFormatter Example/CPP/source3.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/XmlMessageFormatter/Overview/source3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlMessageFormatter Example/VB/source3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/XmlMessageFormatter/Overview/source3.vb" id="Snippet3"::: After the schema is generated from the order class on the server, you can modify the class. Unless the schema changes, you do not need to redistribute the schema. After you have distributed the schema and generated a client-side order class, that client class can also be modified independently of the server's order class, as long as the schema itself is not modified. The two classes have become loosely coupled. @@ -159,7 +159,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message.Body/CPP/message_sendreceive.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/Message/Overview/message_sendreceive.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message.Body/VB/message_sendreceive.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/Message/Overview/message_sendreceive.vb" id="Snippet1"::: ]]> @@ -455,7 +455,7 @@ TargetTypes = new Type[]{typeof(MyClass)} :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message.Body/CPP/message_sendreceive.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Messaging/Message/Overview/message_sendreceive.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message.Body/VB/message_sendreceive.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Messaging/Message/Overview/message_sendreceive.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net.Mail/MailAddress.xml b/xml/System.Net.Mail/MailAddress.xml index e2fada79d42..344f47d5854 100644 --- a/xml/System.Net.Mail/MailAddress.xml +++ b/xml/System.Net.Mail/MailAddress.xml @@ -351,7 +351,7 @@ The following code example demonstrates sending an email message by using the instances for the sender of an email message. :::code language="csharp" source="~/snippets/csharp/System.Net.Mail/MailAddress/.ctor/mailasync.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclMailASync/vb/mailasync.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Mail/MailAddress/.ctor/mailasync.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Net.Mail/MailMessage.xml b/xml/System.Net.Mail/MailMessage.xml index b9803064ad1..4df91fa9db4 100644 --- a/xml/System.Net.Mail/MailMessage.xml +++ b/xml/System.Net.Mail/MailMessage.xml @@ -110,7 +110,7 @@ The following code example demonstrates creating and sending an email message that includes an attachment. :::code language="csharp" source="~/snippets/csharp/System.Net.Mail/Attachment/Overview/mail.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLMailSync/vb/mail.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Mail/MailMessage/Overview/mail.vb" id="Snippet6"::: ]]> @@ -218,7 +218,7 @@ The following code example demonstrates calling this constructor. :::code language="csharp" source="~/snippets/csharp/System.Net.Mail/Attachment/Overview/mail.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLMailSync/vb/mail.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Mail/MailMessage/Overview/mail.vb" id="Snippet4"::: ]]> @@ -283,7 +283,7 @@ The following code example demonstrates calling this constructor. :::code language="csharp" source="~/snippets/csharp/System.Net.Mail/Attachment/Overview/mail.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLMailSync/vb/mail.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Mail/MailMessage/Overview/mail.vb" id="Snippet2"::: ]]> @@ -382,7 +382,7 @@ The following code example demonstrates calling this constructor. :::code language="csharp" source="~/snippets/csharp/System.Net.Mail/Attachment/Overview/mail.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLMailSync/vb/mail.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Mail/MailMessage/Overview/mail.vb" id="Snippet3"::: ]]> @@ -453,7 +453,7 @@ The following code example demonstrates creating and sending an email message with a plain text and an HTML alternate view. :::code language="csharp" source="~/snippets/csharp/System.Net.Mail/Attachment/Overview/mail.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLMailSync/vb/mail.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Mail/MailMessage/Overview/mail.vb" id="Snippet5"::: ]]> @@ -510,7 +510,7 @@ The following code example demonstrates creating and sending an email message with an attachment. :::code language="csharp" source="~/snippets/csharp/System.Net.Mail/Attachment/Overview/mail.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLMailSync/vb/mail.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Mail/MailMessage/Overview/mail.vb" id="Snippet6"::: ]]> @@ -567,7 +567,7 @@ The following code example demonstrates adding an address to the address collection. :::code language="csharp" source="~/snippets/csharp/System.Net.Mail/Attachment/Overview/mail.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLMailSync/vb/mail.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Mail/MailMessage/Overview/mail.vb" id="Snippet9"::: ]]> @@ -624,7 +624,7 @@ The following code example demonstrates setting the property. :::code language="csharp" source="~/snippets/csharp/System.Net.Mail/Attachment/Overview/mail.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLMailSync/vb/mail.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Mail/MailMessage/Overview/mail.vb" id="Snippet2"::: ]]> @@ -696,7 +696,7 @@ The following code example demonstrates creating a mail message that uses UTF8 encoding. :::code language="csharp" source="~/snippets/csharp/System.Net.Mail/MailAddress/.ctor/mailasync.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclMailASync/vb/mailasync.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Mail/MailAddress/.ctor/mailasync.vb" id="Snippet3"::: ]]> @@ -794,7 +794,7 @@ The following code example demonstrates adding an address to the address collection. :::code language="csharp" source="~/snippets/csharp/System.Net.Mail/Attachment/Overview/mail.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLMailSync/vb/mail.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Mail/MailMessage/Overview/mail.vb" id="Snippet10"::: ]]> @@ -1035,7 +1035,7 @@ The following code example demonstrates setting a value for the property. :::code language="csharp" source="~/snippets/csharp/System.Net.Mail/Attachment/Overview/mail.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLMailSync/vb/mail.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Mail/MailMessage/Overview/mail.vb" id="Snippet10"::: ]]> @@ -1142,7 +1142,7 @@ The following code example demonstrates displaying the headers for a mail message. :::code language="csharp" source="~/snippets/csharp/System.Net.Mail/Attachment/Overview/mail.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLMailSync/vb/mail.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Mail/MailMessage/Overview/mail.vb" id="Snippet24"::: ]]> @@ -1515,7 +1515,7 @@ The following code example demonstrates setting the property. :::code language="csharp" source="~/snippets/csharp/System.Net.Mail/Attachment/Overview/mail.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLMailSync/vb/mail.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Mail/MailMessage/Overview/mail.vb" id="Snippet2"::: ]]> @@ -1577,7 +1577,7 @@ The following code example demonstrates setting the property. :::code language="csharp" source="~/snippets/csharp/System.Net.Mail/MailAddress/.ctor/mailasync.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclMailASync/vb/mailasync.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Mail/MailAddress/.ctor/mailasync.vb" id="Snippet3"::: ]]> @@ -1636,7 +1636,7 @@ The following code example demonstrates setting the property. :::code language="csharp" source="~/snippets/csharp/System.Net.Mail/Attachment/Overview/mail.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLMailSync/vb/mail.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Mail/MailMessage/Overview/mail.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Net.Mail/SendCompletedEventHandler.xml b/xml/System.Net.Mail/SendCompletedEventHandler.xml index b297ef22eaa..a743d77b7ae 100644 --- a/xml/System.Net.Mail/SendCompletedEventHandler.xml +++ b/xml/System.Net.Mail/SendCompletedEventHandler.xml @@ -62,7 +62,7 @@ The following code example demonstrates sending an email message asynchronously. It uses a to invoke the `SendCompletedCallback` method to handle events. :::code language="csharp" source="~/snippets/csharp/System.Net.Mail/MailAddress/.ctor/mailasync.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclMailASync/vb/mailasync.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Mail/MailAddress/.ctor/mailasync.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net.Mail/SmtpClient.xml b/xml/System.Net.Mail/SmtpClient.xml index 4623bea8dc6..dedd7429a9e 100644 --- a/xml/System.Net.Mail/SmtpClient.xml +++ b/xml/System.Net.Mail/SmtpClient.xml @@ -115,7 +115,7 @@ To include an attachment with an email message, first create the attachment by u The following code example demonstrates sending an email message asynchronously. :::code language="csharp" source="~/snippets/csharp/System.Net.Mail/MailAddress/.ctor/mailasync.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclMailASync/vb/mailasync.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Mail/MailAddress/.ctor/mailasync.vb" id="Snippet1"::: ]]> @@ -1368,7 +1368,7 @@ The following code example demonstrates sending an email message asynchronously. The following code example demonstrates calling this method. :::code language="csharp" source="~/snippets/csharp/System.Net.Mail/MailAddress/.ctor/mailasync.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclMailASync/vb/mailasync.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Mail/MailAddress/.ctor/mailasync.vb" id="Snippet1"::: ]]> @@ -1611,7 +1611,7 @@ The following code example demonstrates sending an email message asynchronously. The following code example demonstrates sending an email message asynchronously. The user has the option to cancel the mail if it has not been sent. :::code language="csharp" source="~/snippets/csharp/System.Net.Mail/MailAddress/.ctor/mailasync.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclMailASync/vb/mailasync.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Mail/MailAddress/.ctor/mailasync.vb" id="Snippet1"::: ]]> @@ -1670,7 +1670,7 @@ The following code example demonstrates sending an email message asynchronously. The following code example demonstrates sending an email message asynchronously. :::code language="csharp" source="~/snippets/csharp/System.Net.Mail/MailAddress/.ctor/mailasync.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclMailASync/vb/mailasync.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Mail/MailAddress/.ctor/mailasync.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net.NetworkInformation/DuplicateAddressDetectionState.xml b/xml/System.Net.NetworkInformation/DuplicateAddressDetectionState.xml index bf6aba9bab5..a2ffcc8adae 100644 --- a/xml/System.Net.NetworkInformation/DuplicateAddressDetectionState.xml +++ b/xml/System.Net.NetworkInformation/DuplicateAddressDetectionState.xml @@ -56,7 +56,7 @@ The following code example determines unicast address information. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet45"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet45"::: ]]> diff --git a/xml/System.Net.NetworkInformation/IPAddressInformation.xml b/xml/System.Net.NetworkInformation/IPAddressInformation.xml index de763f31e0d..0a1f758d6d9 100644 --- a/xml/System.Net.NetworkInformation/IPAddressInformation.xml +++ b/xml/System.Net.NetworkInformation/IPAddressInformation.xml @@ -61,7 +61,7 @@ The following code example displays the Domain Name Service (DNS) addresses for the network interfaces on the local computer. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet42"::: ]]> @@ -167,7 +167,7 @@ The following code example displays the multicast addresses for the network interfaces on the local computer. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet44"::: ]]> @@ -230,7 +230,7 @@ The following code example displays the anycast addresses for the network interfaces on the local computer. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet43"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet43"::: ]]> diff --git a/xml/System.Net.NetworkInformation/IPGlobalProperties.xml b/xml/System.Net.NetworkInformation/IPGlobalProperties.xml index b33df8c1977..7b4ae87f909 100644 --- a/xml/System.Net.NetworkInformation/IPGlobalProperties.xml +++ b/xml/System.Net.NetworkInformation/IPGlobalProperties.xml @@ -61,7 +61,7 @@ The following code example displays information about the local computer using an instance of this class. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet15"::: ]]> diff --git a/xml/System.Net.NetworkInformation/IPGlobalStatistics.xml b/xml/System.Net.NetworkInformation/IPGlobalStatistics.xml index 57dd4a535de..25ea7514f2e 100644 --- a/xml/System.Net.NetworkInformation/IPGlobalStatistics.xml +++ b/xml/System.Net.NetworkInformation/IPGlobalStatistics.xml @@ -170,7 +170,7 @@ The following code example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet14"::: ]]> @@ -232,7 +232,7 @@ The following code example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet14"::: ]]> @@ -441,7 +441,7 @@ The following code example displays statistics for outbound IP packets. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet17"::: ]]> @@ -503,7 +503,7 @@ The following code example displays statistics for outbound IP packets. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet17"::: ]]> @@ -565,7 +565,7 @@ The following code example displays statistics for outbound IP packets. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet17"::: ]]> @@ -627,7 +627,7 @@ The following code example displays statistics for outbound IP packets. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet17"::: ]]> @@ -689,7 +689,7 @@ The following code example displays reassembly statistics for IP packets. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet18"::: ]]> @@ -751,7 +751,7 @@ The following code example displays reassembly statistics for IP packets. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet18"::: ]]> @@ -813,7 +813,7 @@ The following code example displays reassembly statistics for IP packets. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet18"::: ]]> @@ -875,7 +875,7 @@ The following code example displays reassembly statistics for IP packets. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet18"::: ]]> @@ -937,7 +937,7 @@ The following code example displays reassembly statistics for IP packets. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet18"::: ]]> @@ -999,7 +999,7 @@ The following code example displays reassembly statistics for IP packets. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet18"::: ]]> @@ -1061,7 +1061,7 @@ The following code example displays statistics for received IP packets. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet15"::: ]]> @@ -1123,7 +1123,7 @@ The following code example displays statistics for received IP packets. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet15"::: ]]> @@ -1185,7 +1185,7 @@ The following code example displays statistics for received IP packets. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet15"::: ]]> @@ -1247,7 +1247,7 @@ The following code example displays statistics for received IP packets. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet15"::: ]]> @@ -1309,7 +1309,7 @@ The following code example displays statistics for received IP packets with errors. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet16"::: ]]> @@ -1371,7 +1371,7 @@ The following code example displays statistics for received IP packets with errors. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet16"::: ]]> @@ -1433,7 +1433,7 @@ The following code example displays statistics for received IP packets with errors. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet16"::: ]]> diff --git a/xml/System.Net.NetworkInformation/IPInterfaceProperties.xml b/xml/System.Net.NetworkInformation/IPInterfaceProperties.xml index 76beac4f75e..f206192ea5f 100644 --- a/xml/System.Net.NetworkInformation/IPInterfaceProperties.xml +++ b/xml/System.Net.NetworkInformation/IPInterfaceProperties.xml @@ -174,7 +174,7 @@ The following code example displays the anycast addresses for the network interfaces on the local computer. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet43"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet43"::: ]]> @@ -252,7 +252,7 @@ The following code example displays the DHCP address information for the network interfaces on the local computer. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet46"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet46"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet46"::: ]]> @@ -314,7 +314,7 @@ The following code example displays the DNS addresses for the network interfaces on the local computer. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet42"::: ]]> @@ -376,7 +376,7 @@ The following code example displays the DNS suffix. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet41"::: ]]> @@ -438,7 +438,7 @@ The following code example displays the gateway addresses for the network interfaces on the local computer. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet47"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet47"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet47"::: ]]> @@ -619,7 +619,7 @@ The following code example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet41"::: ]]> @@ -682,7 +682,7 @@ The following code example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet41"::: ]]> @@ -738,7 +738,7 @@ The following code example displays the multicast addresses for the network interfaces on the local computer. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet44"::: ]]> @@ -794,7 +794,7 @@ The following code example displays the unicast addresses for the network interfaces on the local computer. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet45"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet45"::: ]]> diff --git a/xml/System.Net.NetworkInformation/IPv4InterfaceProperties.xml b/xml/System.Net.NetworkInformation/IPv4InterfaceProperties.xml index 54dd3029ea4..03dbca2448c 100644 --- a/xml/System.Net.NetworkInformation/IPv4InterfaceProperties.xml +++ b/xml/System.Net.NetworkInformation/IPv4InterfaceProperties.xml @@ -57,7 +57,7 @@ The following code example gets an object and displays its data. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet48"::: ]]> @@ -163,7 +163,7 @@ The following code example gets an object and displays its data. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet48"::: ]]> @@ -226,7 +226,7 @@ The following code example gets an object and displays its data. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet48"::: ]]> @@ -289,7 +289,7 @@ The following code example gets an object and displays its data. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet48"::: ]]> @@ -352,7 +352,7 @@ The following code example gets an object and displays its data. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet48"::: ]]> @@ -419,7 +419,7 @@ The following code example gets an object and displays its data. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet48"::: ]]> @@ -475,7 +475,7 @@ The following code example gets an object and displays its data. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet48"::: ]]> @@ -542,7 +542,7 @@ The following code example gets an object and displays its data. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet48"::: ]]> diff --git a/xml/System.Net.NetworkInformation/IPv6InterfaceProperties.xml b/xml/System.Net.NetworkInformation/IPv6InterfaceProperties.xml index 74d16e7de5c..23ce8f65011 100644 --- a/xml/System.Net.NetworkInformation/IPv6InterfaceProperties.xml +++ b/xml/System.Net.NetworkInformation/IPv6InterfaceProperties.xml @@ -57,7 +57,7 @@ The following code example gets an object and displays its data. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet49"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet49"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet49"::: ]]> @@ -225,7 +225,7 @@ The following code example gets an object and displays its data. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet49"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet49"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet49"::: ]]> @@ -281,7 +281,7 @@ The following code example gets an object and displays its data. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet49"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet49"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet49"::: ]]> diff --git a/xml/System.Net.NetworkInformation/IcmpV4Statistics.xml b/xml/System.Net.NetworkInformation/IcmpV4Statistics.xml index 4a4358c1d81..76d27af0289 100644 --- a/xml/System.Net.NetworkInformation/IcmpV4Statistics.xml +++ b/xml/System.Net.NetworkInformation/IcmpV4Statistics.xml @@ -162,7 +162,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet29"::: ]]> @@ -218,7 +218,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet29"::: ]]> @@ -274,7 +274,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet29"::: ]]> @@ -330,7 +330,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet29"::: ]]> @@ -394,7 +394,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet23"::: ]]> @@ -456,7 +456,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet23"::: ]]> @@ -512,7 +512,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet21"::: ]]> @@ -568,7 +568,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet21"::: ]]> @@ -624,7 +624,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet21"::: ]]> @@ -680,7 +680,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet21"::: ]]> @@ -749,7 +749,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet22"::: ]]> @@ -818,7 +818,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet22"::: ]]> @@ -892,7 +892,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet20"::: ]]> @@ -966,7 +966,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet20"::: ]]> @@ -1022,7 +1022,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet27"::: ]]> @@ -1078,7 +1078,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet27"::: ]]> @@ -1134,7 +1134,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet25"::: ]]> @@ -1190,7 +1190,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet25"::: ]]> @@ -1246,7 +1246,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet24"::: ]]> @@ -1302,7 +1302,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet24"::: ]]> @@ -1358,7 +1358,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet26"::: ]]> @@ -1414,7 +1414,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet26"::: ]]> @@ -1470,7 +1470,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet28"::: ]]> @@ -1526,7 +1526,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet28"::: ]]> @@ -1582,7 +1582,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet28"::: ]]> @@ -1638,7 +1638,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet28"::: ]]> diff --git a/xml/System.Net.NetworkInformation/IcmpV6Statistics.xml b/xml/System.Net.NetworkInformation/IcmpV6Statistics.xml index a799f4363c9..c436244c49c 100644 --- a/xml/System.Net.NetworkInformation/IcmpV6Statistics.xml +++ b/xml/System.Net.NetworkInformation/IcmpV6Statistics.xml @@ -170,7 +170,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet32"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet32"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet32"::: ]]> @@ -234,7 +234,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet32"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet32"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet32"::: ]]> @@ -290,7 +290,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet30"::: ]]> @@ -346,7 +346,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet30"::: ]]> @@ -402,7 +402,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet30"::: ]]> @@ -458,7 +458,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet30"::: ]]> @@ -527,7 +527,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet31"::: ]]> @@ -596,7 +596,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet31"::: ]]> @@ -652,7 +652,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet34"::: ]]> @@ -708,7 +708,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet34"::: ]]> @@ -764,7 +764,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet34"::: ]]> @@ -820,7 +820,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet34"::: ]]> @@ -876,7 +876,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet34"::: ]]> @@ -932,7 +932,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet34"::: ]]> @@ -1006,7 +1006,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet33"::: ]]> @@ -1080,7 +1080,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet33"::: ]]> @@ -1136,7 +1136,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet35"::: ]]> @@ -1192,7 +1192,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet35"::: ]]> @@ -1248,7 +1248,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet35"::: ]]> @@ -1304,7 +1304,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet35"::: ]]> @@ -1360,7 +1360,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet36"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet36"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet36"::: ]]> @@ -1416,7 +1416,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet36"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet36"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet36"::: ]]> @@ -1472,7 +1472,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet39"::: ]]> @@ -1528,7 +1528,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet39"::: ]]> @@ -1584,7 +1584,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet37"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet37"::: ]]> @@ -1640,7 +1640,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet37"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet37"::: ]]> @@ -1696,7 +1696,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet40"::: ]]> @@ -1752,7 +1752,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet40"::: ]]> @@ -1808,7 +1808,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet40"::: ]]> @@ -1864,7 +1864,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet40"::: ]]> @@ -1920,7 +1920,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet38"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet38"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet38"::: ]]> @@ -1976,7 +1976,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet38"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet38"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet38"::: ]]> diff --git a/xml/System.Net.NetworkInformation/NetworkChange.xml b/xml/System.Net.NetworkInformation/NetworkChange.xml index 644b5592ef3..46243d2b12d 100644 --- a/xml/System.Net.NetworkInformation/NetworkChange.xml +++ b/xml/System.Net.NetworkInformation/NetworkChange.xml @@ -77,7 +77,7 @@ The following code example listens for address changes and displays the status of network interfaces when a event occurs. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/NetworkChange/Overview/changed.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclNetAddressChanged1/VB/changed.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/NetworkChange/Overview/changed.vb" id="Snippet1"::: ]]> @@ -193,7 +193,7 @@ The following code example listens for address changes and displays the status of network interfaces when a event occurs. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/NetworkChange/Overview/changed.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclNetAddressChanged1/VB/changed.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/NetworkChange/Overview/changed.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net.NetworkInformation/NetworkInformationAccess.xml b/xml/System.Net.NetworkInformation/NetworkInformationAccess.xml index 501263983a4..f951f18b3e0 100644 --- a/xml/System.Net.NetworkInformation/NetworkInformationAccess.xml +++ b/xml/System.Net.NetworkInformation/NetworkInformationAccess.xml @@ -49,7 +49,7 @@ The following code example creates a permission that controls Read access to network information. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/NetworkInformationAccess/Overview/permissionexample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclNetworkInfoPerms/VB/permissionexample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/NetworkInformationAccess/Overview/permissionexample.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Net.NetworkInformation/NetworkInterface.xml b/xml/System.Net.NetworkInformation/NetworkInterface.xml index bffc6dfc1fd..11bd39ab0cc 100644 --- a/xml/System.Net.NetworkInformation/NetworkInterface.xml +++ b/xml/System.Net.NetworkInformation/NetworkInterface.xml @@ -255,7 +255,7 @@ The following code example displays Domain Name Service (DNS) configuration information for the local computer's network adapters. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet41"::: ]]> @@ -320,7 +320,7 @@ The following code example displays information for the local computer's network adapters that support IPv4. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet48"::: ]]> @@ -552,7 +552,7 @@ The following code example displays the physical addresses of all interfaces on the local computer. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet51"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet51"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet51"::: ]]> @@ -718,7 +718,7 @@ The following code example displays a summary for all interfaces on the local computer. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet51"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet51"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet51"::: ]]> @@ -906,7 +906,7 @@ The following example displays type information for all interfaces on the local computer. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet51"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet51"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet51"::: ]]> @@ -1029,7 +1029,7 @@ The following code example demonstrates displaying the speed of interfaces on the local computer. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet13"::: ]]> @@ -1092,7 +1092,7 @@ The following code example displays statistics for IPV4 interfaces on the local computer. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet48"::: ]]> @@ -1155,7 +1155,7 @@ The following code example displays a summary for all interfaces on the local computer. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet51"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet51"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet51"::: ]]> diff --git a/xml/System.Net.NetworkInformation/NetworkInterfaceComponent.xml b/xml/System.Net.NetworkInformation/NetworkInterfaceComponent.xml index 874cb069e08..43dd3f96df6 100644 --- a/xml/System.Net.NetworkInformation/NetworkInterfaceComponent.xml +++ b/xml/System.Net.NetworkInformation/NetworkInterfaceComponent.xml @@ -54,7 +54,7 @@ The following code example checks whether a network interface supports IPv4. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet48"::: ]]> diff --git a/xml/System.Net.NetworkInformation/PrefixOrigin.xml b/xml/System.Net.NetworkInformation/PrefixOrigin.xml index bcba9bb5455..98f67be21c7 100644 --- a/xml/System.Net.NetworkInformation/PrefixOrigin.xml +++ b/xml/System.Net.NetworkInformation/PrefixOrigin.xml @@ -56,7 +56,7 @@ The following code example displays prefix and suffix information for unicast addresses. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet45"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet45"::: ]]> diff --git a/xml/System.Net.NetworkInformation/SuffixOrigin.xml b/xml/System.Net.NetworkInformation/SuffixOrigin.xml index 029adada13a..5b8a8eb349a 100644 --- a/xml/System.Net.NetworkInformation/SuffixOrigin.xml +++ b/xml/System.Net.NetworkInformation/SuffixOrigin.xml @@ -56,7 +56,7 @@ The following code example displays prefix and suffix information for unicast addresses. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet45"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet45"::: ]]> diff --git a/xml/System.Net.NetworkInformation/TcpConnectionInformation.xml b/xml/System.Net.NetworkInformation/TcpConnectionInformation.xml index 58c0123612a..584f22daf41 100644 --- a/xml/System.Net.NetworkInformation/TcpConnectionInformation.xml +++ b/xml/System.Net.NetworkInformation/TcpConnectionInformation.xml @@ -61,7 +61,7 @@ The following example displays endpoint information for active TCP connections. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet1"::: ]]> @@ -162,7 +162,7 @@ The following example displays endpoint information for active TCP connections. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net.NetworkInformation/TcpState.xml b/xml/System.Net.NetworkInformation/TcpState.xml index 9b1b0f3a044..7c179b7e0dd 100644 --- a/xml/System.Net.NetworkInformation/TcpState.xml +++ b/xml/System.Net.NetworkInformation/TcpState.xml @@ -54,7 +54,7 @@ The following code example counts the established TCP connections. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Net.NetworkInformation/TcpStatistics.xml b/xml/System.Net.NetworkInformation/TcpStatistics.xml index b8eabbd36de..39b05d61a05 100644 --- a/xml/System.Net.NetworkInformation/TcpStatistics.xml +++ b/xml/System.Net.NetworkInformation/TcpStatistics.xml @@ -162,7 +162,7 @@ The following code example displays connection information. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet6"::: ]]> @@ -218,7 +218,7 @@ The following code example displays connection information. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet6"::: ]]> @@ -269,7 +269,7 @@ The following code example displays connection information. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet6"::: ]]> @@ -325,7 +325,7 @@ The following code example displays connection information. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet6"::: ]]> @@ -376,7 +376,7 @@ The following code example displays connection information. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet6"::: ]]> @@ -432,7 +432,7 @@ The following code example displays connection information. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet6"::: ]]> @@ -488,7 +488,7 @@ The following code example displays time-out and maximum connection information. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet5"::: ]]> @@ -544,7 +544,7 @@ The following code example displays time-out and maximum connection information. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet5"::: ]]> @@ -600,7 +600,7 @@ The following code example displays time-out and maximum connection information. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet5"::: ]]> @@ -656,7 +656,7 @@ The following code example displays connection information. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet6"::: ]]> @@ -712,7 +712,7 @@ The following code example displays segment information. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet7"::: ]]> @@ -768,7 +768,7 @@ The following code example displays segment information. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet7"::: ]]> @@ -824,7 +824,7 @@ The following code example displays segment information. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet7"::: ]]> @@ -880,7 +880,7 @@ The following code example displays segment information. :::code language="csharp" source="~/snippets/csharp/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLNetInfo2/VB/networkexamples.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.NetworkInformation/DuplicateAddressDetectionState/Overview/networkexamples.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Net.Security/AuthenticatedStream.xml b/xml/System.Net.Security/AuthenticatedStream.xml index 78a5daa35b3..e4a0888dbad 100644 --- a/xml/System.Net.Security/AuthenticatedStream.xml +++ b/xml/System.Net.Security/AuthenticatedStream.xml @@ -63,7 +63,7 @@ The following example demonstrates displaying the properties of an authenticated stream. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/AuthenticatedStream/Overview/client.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclNegoasyncClient/VB/client.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/AuthenticatedStream/Overview/client.vb" id="Snippet6"::: ]]> @@ -337,7 +337,7 @@ The following example demonstrates displaying the properties of an authenticated The following example demonstrates displaying the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/AuthenticatedStream/Overview/client.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclNegoasyncClient/VB/client.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/AuthenticatedStream/Overview/client.vb" id="Snippet6"::: ]]> @@ -392,7 +392,7 @@ The following example demonstrates displaying the value of this property. The following example demonstrates displaying the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/AuthenticatedStream/Overview/client.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclNegoasyncClient/VB/client.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/AuthenticatedStream/Overview/client.vb" id="Snippet6"::: ]]> @@ -447,7 +447,7 @@ The following example demonstrates displaying the value of this property. The following example demonstrates displaying the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/AuthenticatedStream/Overview/client.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclNegoasyncClient/VB/client.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/AuthenticatedStream/Overview/client.vb" id="Snippet6"::: ]]> @@ -502,7 +502,7 @@ The following example demonstrates displaying the value of this property. The following example demonstrates displaying the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/AuthenticatedStream/Overview/client.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclNegoasyncClient/VB/client.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/AuthenticatedStream/Overview/client.vb" id="Snippet6"::: ]]> @@ -557,7 +557,7 @@ The following example demonstrates displaying the value of this property. The following example demonstrates displaying the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/AuthenticatedStream/Overview/client.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclNegoasyncClient/VB/client.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/AuthenticatedStream/Overview/client.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Net.Security/NegotiateStream.xml b/xml/System.Net.Security/NegotiateStream.xml index c33c59a773c..b3490bd0bae 100644 --- a/xml/System.Net.Security/NegotiateStream.xml +++ b/xml/System.Net.Security/NegotiateStream.xml @@ -78,7 +78,7 @@ The following example demonstrates the client side of a client-server connection that uses the . The client authenticates and sends a message to the server asynchronously. [!code-csharp[NclNegoAsyncClient#0](~/snippets/csharp/System.Net.Security/AuthenticatedStream/Overview/client.cs#0)] -[!code-vb[NclNegoAsyncClient#0](~/snippets/visualbasic/VS_Snippets_Remoting/NclNegoasyncClient/VB/client.vb#0)] +[!code-vb[NclNegoAsyncClient#0](~/snippets/visualbasic/System.Net.Security/AuthenticatedStream/Overview/client.vb#0)] The following code example demonstrates the server side of a client-server connection that uses the to authenticate the client and read a message sent by the client. @@ -215,7 +215,7 @@ The following code example demonstrates the server side of a client-server conne The following example demonstrates calling this constructor. This code example is part of a larger example provided for the class. [!code-csharp[NclNegoAsyncClient#1](~/snippets/csharp/System.Net.Security/AuthenticatedStream/Overview/client.cs#1)] -[!code-vb[NclNegoAsyncClient#1](~/snippets/visualbasic/VS_Snippets_Remoting/NclNegoasyncClient/VB/client.vb#1)] +[!code-vb[NclNegoAsyncClient#1](~/snippets/visualbasic/System.Net.Security/AuthenticatedStream/Overview/client.vb#1)] ]]> @@ -1700,7 +1700,7 @@ The following example demonstrates calling this constructor. This code example i The following example demonstrates calling this method to begin an asynchronous authentication for the client. [!code-csharp[NclNegoAsyncClient#2](~/snippets/csharp/System.Net.Security/AuthenticatedStream/Overview/client.cs#2)] -[!code-vb[NclNegoAsyncClient#2](~/snippets/visualbasic/VS_Snippets_Remoting/NclNegoasyncClient/VB/client.vb#2)] +[!code-vb[NclNegoAsyncClient#2](~/snippets/visualbasic/System.Net.Security/AuthenticatedStream/Overview/client.vb#2)] ]]> @@ -2682,12 +2682,12 @@ The following example demonstrates calling this method to begin an asynchronous The following example demonstrates beginning an asynchronous write operation. [!code-csharp[NclNegoAsyncClient#3](~/snippets/csharp/System.Net.Security/AuthenticatedStream/Overview/client.cs#3)] -[!code-vb[NclNegoAsyncClient#3](~/snippets/visualbasic/VS_Snippets_Remoting/NclNegoasyncClient/VB/client.vb#3)] +[!code-vb[NclNegoAsyncClient#3](~/snippets/visualbasic/System.Net.Security/AuthenticatedStream/Overview/client.vb#3)] The following method is called when the operation completes. [!code-csharp[NclNegoAsyncClient#4](~/snippets/csharp/System.Net.Security/AuthenticatedStream/Overview/client.cs#4)] -[!code-vb[NclNegoAsyncClient#4](~/snippets/visualbasic/VS_Snippets_Remoting/NclNegoasyncClient/VB/client.vb#4)] +[!code-vb[NclNegoAsyncClient#4](~/snippets/visualbasic/System.Net.Security/AuthenticatedStream/Overview/client.vb#4)] ]]> @@ -3289,7 +3289,7 @@ Authentication has not occurred. The following example demonstrates a method that is called to complete the asynchronous write operation. For an example that demonstrates starting the operation, see . [!code-csharp[NclNegoAsyncClient#4](~/snippets/csharp/System.Net.Security/AuthenticatedStream/Overview/client.cs#4)] -[!code-vb[NclNegoAsyncClient#4](~/snippets/visualbasic/VS_Snippets_Remoting/NclNegoasyncClient/VB/client.vb#4)] +[!code-vb[NclNegoAsyncClient#4](~/snippets/visualbasic/System.Net.Security/AuthenticatedStream/Overview/client.vb#4)] ]]> diff --git a/xml/System.Net.Security/SslStream.xml b/xml/System.Net.Security/SslStream.xml index 557c36d4aec..a432ed4a41f 100644 --- a/xml/System.Net.Security/SslStream.xml +++ b/xml/System.Net.Security/SslStream.xml @@ -99,12 +99,12 @@ The following code example demonstrates creating an that uses the class to communicate with clients. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/SslStream/Overview/serversync.cs" id="Snippet0"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb" id="Snippet0"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb" id="Snippet0"::: The following code example demonstrates creating a that uses the class to communicate with a server. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/RemoteCertificateValidationCallback/Overview/clientsync.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslClientSync/VB/clientsync.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/clientsync.vb" id="Snippet0"::: ]]> @@ -261,7 +261,7 @@ The following code example demonstrates calling this constructor. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/SslStream/Overview/serversync.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb" id="Snippet1"::: ]]> @@ -361,7 +361,7 @@ The following code example creates an and initiates the client portion of the authentication. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/RemoteCertificateValidationCallback/Overview/clientsync.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslClientSync/VB/clientsync.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/clientsync.vb" id="Snippet4"::: ]]> @@ -461,7 +461,7 @@ The following code example demonstrates calling this constructor. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/LocalCertificateSelectionCallback/Overview/clientasync.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslClientAsync/VB/clientasync.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/.ctor/clientasync.vb" id="Snippet6"::: ]]> @@ -2483,16 +2483,16 @@ The following code example demonstrates starting an asynchronous read operation. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/LocalCertificateSelectionCallback/Overview/clientasync.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslClientAsync/VB/clientasync.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/.ctor/clientasync.vb" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Net.Security/LocalCertificateSelectionCallback/Overview/clientasync.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslClientAsync/VB/clientasync.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/.ctor/clientasync.vb" id="Snippet4"::: The following method is called when the read completes. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/LocalCertificateSelectionCallback/Overview/clientasync.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslClientAsync/VB/clientasync.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/.ctor/clientasync.vb" id="Snippet5"::: ]]> @@ -2663,7 +2663,7 @@ The following code example demonstrates displaying the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/SslStream/Overview/serversync.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb" id="Snippet5"::: ]]> @@ -2774,7 +2774,7 @@ The following code example demonstrates displaying the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/SslStream/Overview/serversync.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb" id="Snippet5"::: ]]> @@ -2833,7 +2833,7 @@ The following code example demonstrates displaying the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/SslStream/Overview/serversync.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb" id="Snippet5"::: ]]> @@ -2890,7 +2890,7 @@ The following code example demonstrates displaying the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/SslStream/Overview/serversync.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb" id="Snippet5"::: ]]> @@ -2954,7 +2954,7 @@ The following code example displays the cryptography settings for the specified stream. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/SslStream/Overview/serversync.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb" id="Snippet3"::: ]]> @@ -3035,7 +3035,7 @@ The following code example displays the cryptography settings for the specified stream. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/SslStream/Overview/serversync.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb" id="Snippet3"::: ]]> @@ -3321,7 +3321,7 @@ The following code example demonstrates ending an asynchronous read operation. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/LocalCertificateSelectionCallback/Overview/clientasync.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslClientAsync/VB/clientasync.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/.ctor/clientasync.vb" id="Snippet5"::: ]]> @@ -3496,7 +3496,7 @@ Authentication has not occurred. The following code example demonstrates calling this method. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/RemoteCertificateValidationCallback/Overview/clientsync.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslClientSync/VB/clientsync.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/clientsync.vb" id="Snippet5"::: ]]> @@ -3605,7 +3605,7 @@ Authentication has not occurred. The following code example displays the cryptography settings for the specified stream. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/SslStream/Overview/serversync.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb" id="Snippet3"::: ]]> @@ -3668,7 +3668,7 @@ Authentication has not occurred. The following code example displays the cryptography settings for the specified stream. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/SslStream/Overview/serversync.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb" id="Snippet3"::: ]]> @@ -3725,7 +3725,7 @@ Authentication has not occurred. The following code example demonstrates displaying the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/SslStream/Overview/serversync.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb" id="Snippet4"::: ]]> @@ -3782,7 +3782,7 @@ Authentication has not occurred. The following code example demonstrates displaying the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/SslStream/Overview/serversync.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb" id="Snippet4"::: ]]> @@ -3839,7 +3839,7 @@ Authentication has not occurred. The following code example demonstrates displaying the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/SslStream/Overview/serversync.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb" id="Snippet4"::: ]]> @@ -3900,7 +3900,7 @@ Authentication has not occurred. The following code example demonstrates displaying the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/SslStream/Overview/serversync.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb" id="Snippet4"::: ]]> @@ -3957,7 +3957,7 @@ Authentication has not occurred. The following code example demonstrates displaying the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/SslStream/Overview/serversync.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb" id="Snippet4"::: ]]> @@ -4021,7 +4021,7 @@ Authentication has not occurred. The following code example displays the cryptography settings for the specified stream. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/SslStream/Overview/serversync.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb" id="Snippet3"::: ]]> @@ -4093,7 +4093,7 @@ Authentication has not occurred. The following code example displays the cryptography settings for the specified stream. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/SslStream/Overview/serversync.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb" id="Snippet3"::: ]]> @@ -4200,7 +4200,7 @@ Authentication has not occurred. The following code example demonstrates displaying the certificate returned by this property. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/SslStream/Overview/serversync.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb" id="Snippet6"::: ]]> @@ -4474,7 +4474,7 @@ This property gets the cipher suite that is going to be used in the communicatio The following code example demonstrates reading from an . :::code language="csharp" source="~/snippets/csharp/System.Net.Security/RemoteCertificateValidationCallback/Overview/clientsync.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslClientSync/VB/clientsync.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/clientsync.vb" id="Snippet6"::: ]]> @@ -4719,7 +4719,7 @@ This property gets the cipher suite that is going to be used in the communicatio The following code example demonstrates setting the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/SslStream/Overview/serversync.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb" id="Snippet1"::: ]]> @@ -4778,7 +4778,7 @@ If the property is accessed, the remote certificate will not be disposed when th The following code example demonstrates displaying the certificate returned by this property. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/SslStream/Overview/serversync.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb" id="Snippet6"::: ]]> @@ -4980,7 +4980,7 @@ If the property is accessed, the remote certificate will not be disposed when th The following example displays the security properties of the specified stream. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/SslStream/Overview/serversync.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb" id="Snippet3"::: ]]> @@ -5125,7 +5125,7 @@ If the property is accessed, the remote certificate will not be disposed when th The following code example demonstrates writing to an authenticated . :::code language="csharp" source="~/snippets/csharp/System.Net.Security/SslStream/Overview/serversync.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb" id="Snippet1"::: ]]> @@ -5439,7 +5439,7 @@ The class does not support multiple simulta The following code example demonstrates setting the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.Security/SslStream/Overview/serversync.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NclSslServerSync/VB/serversync.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Security/SslStream/Overview/serversync.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net.Sockets/AddressFamily.xml b/xml/System.Net.Sockets/AddressFamily.xml index b67cdb2bf89..a3203edae45 100644 --- a/xml/System.Net.Sockets/AddressFamily.xml +++ b/xml/System.Net.Sockets/AddressFamily.xml @@ -59,7 +59,7 @@ The following example creates a using the InterNetwork . :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/AddressFamily/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Send_Receive/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/AddressFamily/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net.Sockets/IPv6MulticastOption.xml b/xml/System.Net.Sockets/IPv6MulticastOption.xml index d7ee73dad0a..624b9df77dd 100644 --- a/xml/System.Net.Sockets/IPv6MulticastOption.xml +++ b/xml/System.Net.Sockets/IPv6MulticastOption.xml @@ -57,7 +57,7 @@ The following example creates an object. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/IPv6MulticastOption/Overview/joinmulticastgroup.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.UdpClient.JoinMulticastGroup/VB/joinmulticastgroup.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/IPv6MulticastOption/Overview/joinmulticastgroup.vb" id="Snippet4"::: ]]> @@ -119,7 +119,7 @@ The following example creates an object. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/IPv6MulticastOption/Overview/joinmulticastgroup.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.UdpClient.JoinMulticastGroup/VB/joinmulticastgroup.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/IPv6MulticastOption/Overview/joinmulticastgroup.vb" id="Snippet4"::: ]]> @@ -180,7 +180,7 @@ The following example creates an object. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/IPv6MulticastOption/Overview/joinmulticastgroup.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.UdpClient.JoinMulticastGroup/VB/joinmulticastgroup.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/IPv6MulticastOption/Overview/joinmulticastgroup.vb" id="Snippet5"::: ]]> @@ -246,7 +246,7 @@ The following example creates an object. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/IPv6MulticastOption/Overview/joinmulticastgroup.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.UdpClient.JoinMulticastGroup/VB/joinmulticastgroup.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/IPv6MulticastOption/Overview/joinmulticastgroup.vb" id="Snippet4"::: ]]> @@ -311,7 +311,7 @@ The following example creates an object. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/IPv6MulticastOption/Overview/joinmulticastgroup.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.UdpClient.JoinMulticastGroup/VB/joinmulticastgroup.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/IPv6MulticastOption/Overview/joinmulticastgroup.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Net.Sockets/LingerOption.xml b/xml/System.Net.Sockets/LingerOption.xml index 5fc7c54d04f..12a0a211414 100644 --- a/xml/System.Net.Sockets/LingerOption.xml +++ b/xml/System.Net.Sockets/LingerOption.xml @@ -58,7 +58,7 @@ The following example sets a previously created to linger one second after calling the method. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/LingerOption/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic LingerOption Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/LingerOption/Overview/source.vb" id="Snippet1"::: ]]> @@ -130,7 +130,7 @@ The following example sets a previously created to linger one second after calling the method. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/LingerOption/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic LingerOption Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/LingerOption/Overview/source.vb" id="Snippet1"::: ]]> @@ -341,7 +341,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/LingerOption/LingerTime/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Socket_Options/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/LingerOption/LingerTime/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Net.Sockets/MulticastOption.xml b/xml/System.Net.Sockets/MulticastOption.xml index 6c542d6192c..56b2b5a34c4 100644 --- a/xml/System.Net.Sockets/MulticastOption.xml +++ b/xml/System.Net.Sockets/MulticastOption.xml @@ -68,10 +68,10 @@ The following examples join the default IP interface to an IP multicast group. They assume the IP multicast group address in the range 224.0.0.0 to 239.255.255.255. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/MulticastOption/Overview/listener.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.MulticastOptionListener/VB/listener.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/MulticastOption/Overview/listener.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/MulticastOption/Overview/sender.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.MulticastOptionSender/VB/sender.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/MulticastOption/Overview/sender.vb" id="Snippet1"::: ]]> @@ -232,7 +232,7 @@ The following example creates a object. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/MulticastOption/Overview/listener.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.MulticastOptionListener/VB/listener.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/MulticastOption/Overview/listener.vb" id="Snippet2"::: ]]> @@ -303,7 +303,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/MulticastOption/Overview/listener.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.MulticastOptionListener/VB/listener.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/MulticastOption/Overview/listener.vb" id="Snippet3"::: ]]> @@ -418,7 +418,7 @@ The following example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/MulticastOption/Overview/listener.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.MulticastOptionListener/VB/listener.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/MulticastOption/Overview/listener.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Net.Sockets/NetworkStream.xml b/xml/System.Net.Sockets/NetworkStream.xml index 33bee7908ed..848cb324e6c 100644 --- a/xml/System.Net.Sockets/NetworkStream.xml +++ b/xml/System.Net.Sockets/NetworkStream.xml @@ -1675,7 +1675,7 @@ There is a failure reading from the network. In the following code example, the `CanCommunicate` property checks the property to determine if the is readable. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/NetworkStream/Readable/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NetworkStream_Protected_Members/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/NetworkStream/Readable/source.vb" id="Snippet1"::: ]]> @@ -2083,7 +2083,7 @@ There is a failure reading from the network. The following code example retrieves the underlying to verify an active connection. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/NetworkStream/Readable/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NetworkStream_Protected_Members/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/NetworkStream/Readable/source.vb" id="Snippet1"::: ]]> @@ -2255,7 +2255,7 @@ This method starts at the specified `offset` and sends `count` bytes from the co The following code example checks to see whether the is writable. If it is, then is used to write a small message. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/NetworkStream/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NetworkStream_Synch_SendAndReceive/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/NetworkStream/Write/source.vb" id="Snippet3"::: ]]> @@ -2347,7 +2347,7 @@ There was a failure while writing to the network. In the following code example, the `CanCommunicate` property checks the property to determine if the is writable. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/NetworkStream/Readable/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NetworkStream_Protected_Members/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/NetworkStream/Readable/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net.Sockets/SelectMode.xml b/xml/System.Net.Sockets/SelectMode.xml index 45e01bd067e..f74fb0f7fc4 100644 --- a/xml/System.Net.Sockets/SelectMode.xml +++ b/xml/System.Net.Sockets/SelectMode.xml @@ -55,7 +55,7 @@ The following example checks the status of a using all three enumeration values. A call to using the SelectWrite enumerated value should return `true`. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/SelectMode/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SelectModeExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/SelectMode/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net.Sockets/Socket.xml b/xml/System.Net.Sockets/Socket.xml index 877de1afa98..1ce7b71904f 100644 --- a/xml/System.Net.Sockets/Socket.xml +++ b/xml/System.Net.Sockets/Socket.xml @@ -335,7 +335,7 @@ This method populates the instance with data ga The following code example demonstrates how to create an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/AddressFamily/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Send_Receive/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/AddressFamily/Overview/source.vb" id="Snippet1"::: ]]> @@ -411,7 +411,7 @@ This method populates the instance with data ga The following code example accepts a simple connection. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Accept/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic Socket.Accept Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Accept/source.vb" id="Snippet1"::: ]]> @@ -770,7 +770,7 @@ This method populates the instance with data ga The following code example displays the , , and to the console. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/LingerOption/LingerTime/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Socket_Options/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/LingerOption/LingerTime/source.vb" id="Snippet3"::: ]]> @@ -3334,7 +3334,7 @@ This method populates the instance with data ga The following code example binds a using the specified local endpoint. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Bind/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic Socket.Bind Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Bind/source.vb" id="Snippet1"::: ]]> @@ -3550,7 +3550,7 @@ This method populates the instance with data ga The following code example closes a . :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Close/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic Socket.Close Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Close/source.vb" id="Snippet1"::: ]]> @@ -3623,7 +3623,7 @@ This method populates the instance with data ga The following code example demonstrates how to close a . :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Close/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic Socket.Close Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Close/source.vb" id="Snippet1"::: ]]> @@ -3711,7 +3711,7 @@ This method populates the instance with data ga The following code example connects to a remote endpoint and then verifies the connection. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Connect/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic Socket.Connect Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Connect/source.vb" id="Snippet1"::: ]]> @@ -4656,7 +4656,7 @@ This method populates the instance with data ga The following code example connects to a remote endpoint, checks the property, and checks the current state of the connection. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Connect/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic Socket.Connect Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Connect/source.vb" id="Snippet1"::: ]]> @@ -6613,7 +6613,7 @@ In general, the `GetSocketOption` method should be used whenever getting a and time-out values and displays them to the console. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/LingerOption/LingerTime/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Socket_Options/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/LingerOption/LingerTime/source.vb" id="Snippet2"::: ]]> @@ -6694,7 +6694,7 @@ In general, the `GetSocketOption` method should be used whenever getting a and time-out values and displays them to the console. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/LingerOption/LingerTime/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Socket_Options/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/LingerOption/LingerTime/source.vb" id="Snippet2"::: ]]> @@ -6777,7 +6777,7 @@ In general, the `GetSocketOption` method should be used whenever getting a and time-out values and displays them to the console. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/LingerOption/LingerTime/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Socket_Options/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/LingerOption/LingerTime/source.vb" id="Snippet2"::: ]]> @@ -7260,7 +7260,7 @@ The maximum length of the pending connections queue is determined automatically. The following code example uses to listen for incoming connections. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Listen/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic Socket.Listen Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Listen/source.vb" id="Snippet1"::: ]]> @@ -7341,7 +7341,7 @@ The maximum length of the pending connections queue is determined automatically. The following code example retrieves and displays the local and remote endpoints. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/LingerOption/LingerTime/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Socket_Options/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/LingerOption/LingerTime/source.vb" id="Snippet4"::: ]]> @@ -7691,7 +7691,7 @@ The maximum length of the pending connections queue is determined automatically. The following code example creates a socket, connects to a server, and uses to check the status of the socket. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/SelectMode/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SelectModeExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/SelectMode/Overview/source.vb" id="Snippet1"::: ]]> @@ -7807,7 +7807,7 @@ The maximum length of the pending connections queue is determined automatically. The following code example displays the , , and to the console. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/LingerOption/LingerTime/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Socket_Options/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/LingerOption/LingerTime/source.vb" id="Snippet3"::: ]]> @@ -7897,7 +7897,7 @@ The maximum length of the pending connections queue is determined automatically. The following code example receives data on a connected . :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Receive/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Sync_Send_Receive/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Receive/source.vb" id="Snippet1"::: ]]> @@ -8148,7 +8148,7 @@ This member outputs trace information when you enable network tracing in your ap The following code example specifies a data buffer, and for receiving data on a connected . :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Receive/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Sync_Send_Receive/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Receive/source.vb" id="Snippet2"::: ]]> @@ -8423,7 +8423,7 @@ This member outputs trace information when you enable network tracing in your ap The following receives the data found into `buffer`, and specifies for . :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/AddressFamily/Overview/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Send_Receive/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/AddressFamily/Overview/source.vb" id="Snippet4"::: ]]> @@ -8692,7 +8692,7 @@ If you're using a connectionless , . :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Receive/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Sync_Send_Receive/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Receive/source.vb" id="Snippet4"::: ]]> @@ -9351,7 +9351,7 @@ If you're using a connectionless , @@ -9506,7 +9506,7 @@ If you're using a connectionless , are passed to the method. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Receive/source.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Sync_Send_Receive/VB/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Receive/source.vb" id="Snippet10"::: ]]> @@ -9720,7 +9720,7 @@ If you're using a connectionless , are passed to the method. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Receive/source.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Sync_Send_Receive/VB/source.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Receive/source.vb" id="Snippet11"::: ]]> @@ -9839,7 +9839,7 @@ If you're using a connectionless , are passed to the method. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Receive/source.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Sync_Send_Receive/VB/source.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Receive/source.vb" id="Snippet12"::: ]]> @@ -10848,7 +10848,7 @@ You must call the Bind method before performing this operation. The following code example retrieves and displays the local and remote endpoints. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/LingerOption/LingerTime/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Socket_Options/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/LingerOption/LingerTime/source.vb" id="Snippet4"::: ]]> @@ -10984,7 +10984,7 @@ You must call the Bind method before performing this operation. The following code example uses to determine which listening sockets have a connection request. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Select/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Select/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Select/source.vb" id="Snippet1"::: ]]> @@ -11130,7 +11130,7 @@ You must call the Bind method before performing this operation. The following code example demonstrates sending data on a connected . :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Receive/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Sync_Send_Receive/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Receive/source.vb" id="Snippet1"::: ]]> @@ -11385,7 +11385,7 @@ This member outputs trace information when you enable network tracing in your ap The following code example demonstrates sending data on a connected . :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Receive/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Sync_Send_Receive/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Receive/source.vb" id="Snippet2"::: ]]> @@ -11624,7 +11624,7 @@ This member outputs trace information when you enable network tracing in your ap The following code example sends the data found in buffer, and specifies for . :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Receive/source.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Sync_Send_Receive/VB/source.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Receive/source.vb" id="Snippet3"::: ]]> @@ -11891,7 +11891,7 @@ This member outputs trace information when you enable network tracing in your ap The following code example specifies the data buffer, an offset, a size, and for sending data to a connected . :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Receive/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Sync_Send_Receive/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Receive/source.vb" id="Snippet4"::: ]]> @@ -12008,7 +12008,7 @@ This member outputs trace information when you enable network tracing in your ap The following code example specifies the data buffer, an offset, a size, and for sending data to a connected . :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Receive/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Sync_Send_Receive/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Receive/source.vb" id="Snippet4"::: ]]> @@ -13037,7 +13037,7 @@ This member outputs trace information when you enable network tracing in your ap The following code example sends a connectionless datagram to the specified remote host. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Receive/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Sync_Send_Receive/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Receive/source.vb" id="Snippet5"::: ]]> @@ -13182,7 +13182,7 @@ This member outputs trace information when you enable network tracing in your ap The following code example sends a connectionless datagram to the specified remote host. are passed to the method. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Receive/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Sync_Send_Receive/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Receive/source.vb" id="Snippet6"::: ]]> @@ -13388,7 +13388,7 @@ This member outputs trace information when you enable network tracing in your ap The following code example sends a connectionless datagram to the specified remote host. The size and are passed to the method. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Receive/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Sync_Send_Receive/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Receive/source.vb" id="Snippet7"::: ]]> @@ -13487,7 +13487,7 @@ This member outputs trace information when you enable network tracing in your ap The following code example sends a connectionless datagram to the specified remote host. The offset, size, and are passed to the method. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Receive/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Sync_Send_Receive/VB/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Receive/source.vb" id="Snippet8"::: ]]> @@ -14198,7 +14198,7 @@ The and time-out values. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/LingerOption/LingerTime/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Socket_Options/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/LingerOption/LingerTime/source.vb" id="Snippet1"::: ]]> @@ -14340,7 +14340,7 @@ The and time-out values. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/LingerOption/LingerTime/source.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Socket_Options/VB/source.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/LingerOption/LingerTime/source.vb" id="Snippet0"::: ]]> @@ -14413,7 +14413,7 @@ The and time out values. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/LingerOption/LingerTime/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Socket_Options/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/LingerOption/LingerTime/source.vb" id="Snippet1"::: ]]> @@ -14510,7 +14510,7 @@ The to disable the . :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Close/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic Socket.Close Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Close/source.vb" id="Snippet1"::: ]]> @@ -14578,7 +14578,7 @@ The , , and to the console. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/LingerOption/LingerTime/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Socket_Options/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/LingerOption/LingerTime/source.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Net.Sockets/SocketFlags.xml b/xml/System.Net.Sockets/SocketFlags.xml index 67205df41c8..a70709f6b56 100644 --- a/xml/System.Net.Sockets/SocketFlags.xml +++ b/xml/System.Net.Sockets/SocketFlags.xml @@ -56,7 +56,7 @@ The following example sends data and specifies `SocketFlags.None`. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/Socket/Receive/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Sync_Send_Receive/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/Socket/Receive/source.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Net.Sockets/SocketOptionLevel.xml b/xml/System.Net.Sockets/SocketOptionLevel.xml index 79c48091ec8..a86cfa7a026 100644 --- a/xml/System.Net.Sockets/SocketOptionLevel.xml +++ b/xml/System.Net.Sockets/SocketOptionLevel.xml @@ -57,7 +57,7 @@ The following example uses this enumeration to set socket options. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/LingerOption/LingerTime/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Socket_Options/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/LingerOption/LingerTime/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net.Sockets/SocketOptionName.xml b/xml/System.Net.Sockets/SocketOptionName.xml index 31bf4944d3c..4787449b83d 100644 --- a/xml/System.Net.Sockets/SocketOptionName.xml +++ b/xml/System.Net.Sockets/SocketOptionName.xml @@ -55,7 +55,7 @@ The following code example uses this enumeration to set socket options. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/LingerOption/LingerTime/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Socket_Socket_Options/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/LingerOption/LingerTime/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net.Sockets/SocketType.xml b/xml/System.Net.Sockets/SocketType.xml index b63ac46cc65..a0077d7409c 100644 --- a/xml/System.Net.Sockets/SocketType.xml +++ b/xml/System.Net.Sockets/SocketType.xml @@ -63,7 +63,7 @@ The following example uses as a parameter to the constructor. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/SelectMode/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SelectModeExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/SelectMode/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net.Sockets/TcpClient.xml b/xml/System.Net.Sockets/TcpClient.xml index 4544f9cad20..13701dc4a8e 100644 --- a/xml/System.Net.Sockets/TcpClient.xml +++ b/xml/System.Net.Sockets/TcpClient.xml @@ -75,7 +75,7 @@ The following code example establishes a `TcpClient` connection. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpClient/Overview/tcpclient.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.TcpClient/VB/tcpclient.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpClient/Overview/tcpclient.vb" id="Snippet1"::: ]]> @@ -156,7 +156,7 @@ The following code example demonstrates how to use the parameterless constructor to create a new . :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpClient/.ctor/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ClassicTcpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpClient/.ctor/source.vb" id="Snippet4"::: ]]> @@ -218,7 +218,7 @@ The following code example demonstrates how to create an instance of the class using a local endpoint. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpClient/.ctor/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ClassicTcpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpClient/.ctor/source.vb" id="Snippet2"::: ]]> @@ -280,7 +280,7 @@ The following code example demonstrates how to create an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpClient/.ctor/source.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ClassicTcpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpClient/.ctor/source.vb" id="Snippet15"::: ]]> @@ -351,7 +351,7 @@ The following code example demonstrates how to create an instance of the class using a host name and port number. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpClient/.ctor/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ClassicTcpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpClient/.ctor/source.vb" id="Snippet3"::: ]]> @@ -809,7 +809,7 @@ The `Available` property is a way to determine whether data is queued for readin The following code example demonstrates the use of the `Client` property. In this example, the receive buffer size of the underlying is changed. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpClient/Client/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/TcpClientProtectedMethodsAndPropertiesExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpClient/Client/source.vb" id="Snippet1"::: ]]> @@ -946,7 +946,7 @@ The `Available` property is a way to determine whether data is queued for readin The following code example uses an to connect with a remote host. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpClient/.ctor/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ClassicTcpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpClient/.ctor/source.vb" id="Snippet7"::: ]]> @@ -1020,7 +1020,7 @@ The `Available` property is a way to determine whether data is queued for readin The following code example uses an IP Address and port number to connect with a remote host. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpClient/.ctor/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ClassicTcpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpClient/.ctor/source.vb" id="Snippet6"::: ]]> @@ -1169,7 +1169,7 @@ The `Available` property is a way to determine whether data is queued for readin The following code example uses the host name and port number to connect with a remote host. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpClient/.ctor/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ClassicTcpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpClient/.ctor/source.vb" id="Snippet5"::: ]]> @@ -2106,7 +2106,7 @@ The `GetStream` method returns a that yo The following code example uses `GetStream` to obtain the underlying . After obtaining the , it sends and receives using its and methods. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpClient/.ctor/source.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ClassicTcpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpClient/.ctor/source.vb" id="Snippet14"::: ]]> @@ -2194,7 +2194,7 @@ The `GetStream` method returns a that yo The following code example sets and gets the sockets linger time. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpClient/.ctor/source.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ClassicTcpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpClient/.ctor/source.vb" id="Snippet12"::: ]]> @@ -2255,7 +2255,7 @@ The `GetStream` method returns a that yo The following code example disables the delay. It then checks the value of `NoDelay` to verify that the property was successfully set. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpClient/.ctor/source.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ClassicTcpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpClient/.ctor/source.vb" id="Snippet13"::: ]]> @@ -2322,7 +2322,7 @@ The `GetStream` method returns a that yo The following code example sets and gets the receive buffer size. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpClient/.ctor/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ClassicTcpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpClient/.ctor/source.vb" id="Snippet8"::: ]]> @@ -2392,7 +2392,7 @@ The `GetStream` method returns a that yo The following code example sets and gets the receive time out. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpClient/.ctor/source.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ClassicTcpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpClient/.ctor/source.vb" id="Snippet10"::: ]]> @@ -2461,7 +2461,7 @@ The `GetStream` method returns a that yo The following code example sets and gets the send buffer size. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpClient/.ctor/source.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ClassicTcpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpClient/.ctor/source.vb" id="Snippet9"::: ]]> @@ -2528,7 +2528,7 @@ The `GetStream` method returns a that yo The following code example sets and gets the `SendTimeout` value. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpClient/.ctor/source.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ClassicTcpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpClient/.ctor/source.vb" id="Snippet11"::: ]]> diff --git a/xml/System.Net.Sockets/TcpListener.xml b/xml/System.Net.Sockets/TcpListener.xml index c5a1c8549d9..32d25b642e5 100644 --- a/xml/System.Net.Sockets/TcpListener.xml +++ b/xml/System.Net.Sockets/TcpListener.xml @@ -78,7 +78,7 @@ The following code example creates a . :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpListener/Overview/tcpserver.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.TcpListener/VB/tcpserver.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpListener/Overview/tcpserver.vb" id="Snippet1"::: See for a client example. @@ -169,7 +169,7 @@ The following code example creates a using a local port number. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpListener/.ctor/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic TcpListener.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpListener/.ctor/source.vb" id="Snippet3"::: ]]> @@ -236,7 +236,7 @@ The following code example creates an instance of the class using the local endpoint. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpListener/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic TcpListener.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpListener/.ctor/source.vb" id="Snippet1"::: ]]> @@ -304,7 +304,7 @@ The following code example creates an instance of the class using a local IP address and port number. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpListener/.ctor/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic TcpListener.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpListener/.ctor/source.vb" id="Snippet2"::: ]]> @@ -372,7 +372,7 @@ In the following code example, the method is used to return a . This is used to communicate with the newly connected client. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpListener/.ctor/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic TcpListener.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpListener/.ctor/source.vb" id="Snippet4"::: ]]> @@ -550,7 +550,7 @@ In the following code example, the method is used to return a . This is used to communicate with the newly connected client. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpListener/AcceptTcpClient/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic TcpListenerExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpListener/AcceptTcpClient/source.vb" id="Snippet1"::: ]]> @@ -1204,7 +1204,7 @@ The following code example gets and sets the property. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpListener/BeginAcceptSocket/tcpserver.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.TcpListener1/VB/tcpserver.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpListener/ExclusiveAddressUse/tcpserver.vb" id="Snippet2"::: ]]> @@ -1298,7 +1298,7 @@ The class finalizer free resources associa The following code example displays the local IP address and port number on which the is listening for incoming connection requests. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpListener/LocalEndpoint/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/TcpListener_Pending_LocalEndPoint/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpListener/LocalEndpoint/source.vb" id="Snippet1"::: ]]> @@ -1359,7 +1359,7 @@ The class finalizer free resources associa The following code example checks the method. If a connection request is waiting to be accepted, then a call to the method is made. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpListener/LocalEndpoint/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/TcpListener_Pending_LocalEndPoint/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpListener/LocalEndpoint/source.vb" id="Snippet1"::: ]]> @@ -1432,7 +1432,7 @@ The class finalizer free resources associa The following code example demonstrates the use of the property. The underlying is retrieved and the option is configured to time out after 10 seconds if data still remains in the network buffer after the connection is closed. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpListener/Server/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/TcpListenerProtectedMembers1/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpListener/Server/source.vb" id="Snippet1"::: ]]> @@ -1515,7 +1515,7 @@ The class finalizer free resources associa The following code example demonstrates how is used to listen for incoming client connection attempts. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpListener/BeginAcceptSocket/tcpserver.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.TcpListener1/VB/tcpserver.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpListener/ExclusiveAddressUse/tcpserver.vb" id="Snippet3"::: ]]> @@ -1589,7 +1589,7 @@ The class finalizer free resources associa The following code example demonstrates how is used to listen for incoming client connection attempts. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpListener/BeginAcceptSocket/tcpserver.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.TcpListener1/VB/tcpserver.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpListener/ExclusiveAddressUse/tcpserver.vb" id="Snippet3"::: ]]> @@ -1657,7 +1657,7 @@ The class finalizer free resources associa The following code example demonstrates using the method to close the underlying . :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/TcpListener/Overview/tcpserver.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.TcpListener/VB/tcpserver.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/TcpListener/Overview/tcpserver.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net.Sockets/UdpClient.xml b/xml/System.Net.Sockets/UdpClient.xml index d1c9a5293be..392fdb67660 100644 --- a/xml/System.Net.Sockets/UdpClient.xml +++ b/xml/System.Net.Sockets/UdpClient.xml @@ -77,7 +77,7 @@ The following example establishes a connection using the host name `www.contoso.com` on port 11000. A small string message is sent to two separate remote host machines. The method blocks execution until a message is received. Using the passed to , the identity of the responding host is revealed. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/UdpClient/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic UdpClientExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/UdpClient/Overview/source.vb" id="Snippet1"::: ]]> @@ -153,7 +153,7 @@ The following example demonstrates how to use the parameterless constructor to create an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/UdpClient/.ctor/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic UdpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/UdpClient/.ctor/source.vb" id="Snippet4"::: ]]> @@ -222,7 +222,7 @@ The following example demonstrates using a local port number to create an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/UdpClient/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic UdpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/UdpClient/.ctor/source.vb" id="Snippet1"::: ]]> @@ -286,7 +286,7 @@ The following example demonstrates how to create an instance of the class using a local endpoint. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/UdpClient/.ctor/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic UdpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/UdpClient/.ctor/source.vb" id="Snippet2"::: ]]> @@ -415,7 +415,7 @@ The following code example shows how to create a UDP client to use in a multicast group. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/IPv6MulticastOption/Overview/joinmulticastgroup.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.UdpClient.JoinMulticastGroup/VB/joinmulticastgroup.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/IPv6MulticastOption/Overview/joinmulticastgroup.vb" id="Snippet3"::: ]]> @@ -481,7 +481,7 @@ The following example demonstrates how to create an instance of the class using a host name and port number. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/UdpClient/.ctor/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic UdpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/UdpClient/.ctor/source.vb" id="Snippet3"::: ]]> @@ -1095,7 +1095,7 @@ The following example demonstrates the use of the property. In this example, broadcasting is enabled for the underlying . :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/UdpClient/Client/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic UdpClient.ProtectedMethodsAndPropertiesExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/UdpClient/Client/source.vb" id="Snippet1"::: ]]> @@ -1161,7 +1161,7 @@ The following example demonstrates closing a by calling the method. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/UdpClient/.ctor/source.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic UdpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/UdpClient/.ctor/source.vb" id="Snippet15"::: ]]> @@ -1241,7 +1241,7 @@ The following example uses an to establish a default remote host. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/UdpClient/.ctor/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic UdpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/UdpClient/.ctor/source.vb" id="Snippet7"::: ]]> @@ -1318,7 +1318,7 @@ The following example uses an IP address and port number to connect with a remote host. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/UdpClient/.ctor/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic UdpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/UdpClient/.ctor/source.vb" id="Snippet6"::: ]]> @@ -1400,7 +1400,7 @@ The following example uses the host name and port number to connect to a remote host. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/UdpClient/.ctor/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic UdpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/UdpClient/.ctor/source.vb" id="Snippet5"::: ]]> @@ -1640,7 +1640,7 @@ The following example demonstrates how to drop a multicast group by providing a multicast address. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/IPv6MulticastOption/Overview/joinmulticastgroup.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.UdpClient.JoinMulticastGroup/VB/joinmulticastgroup.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/IPv6MulticastOption/Overview/joinmulticastgroup.vb" id="Snippet2"::: ]]> @@ -1711,7 +1711,7 @@ The following code example demonstrates how to drop a multicast group by providing a multicast address. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/IPv6MulticastOption/Overview/joinmulticastgroup.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.UdpClient.JoinMulticastGroup/VB/joinmulticastgroup.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/IPv6MulticastOption/Overview/joinmulticastgroup.vb" id="Snippet2"::: ]]> @@ -2062,7 +2062,7 @@ The following code example demonstrates how to join a multicast group by providing a multicast address. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/IPv6MulticastOption/Overview/joinmulticastgroup.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.UdpClient.JoinMulticastGroup/VB/joinmulticastgroup.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/IPv6MulticastOption/Overview/joinmulticastgroup.vb" id="Snippet1"::: ]]> @@ -2134,7 +2134,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/IPv6MulticastOption/Overview/joinmulticastgroup.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.UdpClient.JoinMulticastGroup/VB/joinmulticastgroup.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/IPv6MulticastOption/Overview/joinmulticastgroup.vb" id="Snippet5"::: ]]> @@ -2208,7 +2208,7 @@ The following example demonstrates how to join a multicast group by providing two parameters, a multicast address, and a number that represents the TTL. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/UdpClient/.ctor/source.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic UdpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/UdpClient/.ctor/source.vb" id="Snippet13"::: ]]> @@ -2418,7 +2418,7 @@ The following example demonstrates the method. The method blocks execution until it receives a message. Using the passed to , the identity of the responding host is revealed. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/UdpClient/.ctor/source.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic UdpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/UdpClient/.ctor/source.vb" id="Snippet11"::: ]]> @@ -2625,7 +2625,7 @@ The following example demonstrates the method. You must establish a default remote host prior to using this overload. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/UdpClient/.ctor/source.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic UdpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/UdpClient/.ctor/source.vb" id="Snippet10"::: ]]> @@ -2754,7 +2754,7 @@ The following example demonstrates the method. This example uses an to specify the target host. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/UdpClient/.ctor/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic UdpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/UdpClient/.ctor/source.vb" id="Snippet8"::: ]]> @@ -2890,7 +2890,7 @@ The following example demonstrates the method. This example uses a host name and a port number to identify the target host. :::code language="csharp" source="~/snippets/csharp/System.Net.Sockets/UdpClient/.ctor/source.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic UdpClient.PublicMethodsAndPropertiesExample/VB/source.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net.Sockets/UdpClient/.ctor/source.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Net/AuthenticationManager.xml b/xml/System.Net/AuthenticationManager.xml index f00a7a3c59f..b4f284a8e76 100644 --- a/xml/System.Net/AuthenticationManager.xml +++ b/xml/System.Net/AuthenticationManager.xml @@ -65,7 +65,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationManager/Overview/custombasicauthentication.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Authentication/VB/custombasicauthentication.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationManager/Overview/custombasicauthentication.vb" id="Snippet1"::: ]]> @@ -421,7 +421,7 @@ The following example registers an authentication module with the authentication manager. For a complete example, refer to the class. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationManager/Register/custombasicauthentication.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.Authentication/VB/custombasicauthentication.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationManager/Register/custombasicauthentication.vb" id="Snippet2"::: ]]> @@ -479,7 +479,7 @@ The following example uses the property to get a list of authentication modules that are registered with the authentication manager. For a complete example, refer to the class. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationManager/Overview/custombasicauthentication.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Authentication/VB/custombasicauthentication.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationManager/Overview/custombasicauthentication.vb" id="Snippet8"::: ]]> @@ -548,7 +548,7 @@ The following example uses the method to remove the specified authentication module from the list of registered modules. For a complete example, refer to the class. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationManager/Register/custombasicauthentication.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Sockets.Authentication/VB/custombasicauthentication.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationManager/Register/custombasicauthentication.vb" id="Snippet2"::: ]]> @@ -610,7 +610,7 @@ The following example uses the method to remove an authentication module with the specified authentication scheme from the list of registered modules. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationManager/Unregister/authenticationmanager_unregister2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/AuthenticationManager_UnRegister2/VB/authenticationmanager_unregister2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationManager/Unregister/authenticationmanager_unregister2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Net/AuthenticationSchemeSelector.xml b/xml/System.Net/AuthenticationSchemeSelector.xml index 0cbf7ddb831..9656d4c70ce 100644 --- a/xml/System.Net/AuthenticationSchemeSelector.xml +++ b/xml/System.Net/AuthenticationSchemeSelector.xml @@ -63,12 +63,12 @@ The following example uses an instance of this type to set the property. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationSchemes/Overview/sample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLListener/vb/sample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationSchemes/Overview/sample.vb" id="Snippet2"::: The following example shows the implementation of the method invoked by the delegate in the previous example. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationSchemes/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLListener/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationSchemes/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net/AuthenticationSchemes.xml b/xml/System.Net/AuthenticationSchemes.xml index 29fd57b8883..a3de6d60101 100644 --- a/xml/System.Net/AuthenticationSchemes.xml +++ b/xml/System.Net/AuthenticationSchemes.xml @@ -67,7 +67,7 @@ For additional information on basic and digest authentication, see [RFC2617 - HT The following code example demonstrates using the Negotiate enumeration value to specify that clients are authenticated using the Negotiate security protocol. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationSchemes/Overview/sample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLListener/vb/sample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationSchemes/Overview/sample.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Net/Authorization.xml b/xml/System.Net/Authorization.xml index 2238ac0fa81..59dd6f486fe 100644 --- a/xml/System.Net/Authorization.xml +++ b/xml/System.Net/Authorization.xml @@ -123,7 +123,7 @@ The following code example shows how to create an object. For a complete example, refer to the class. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationManager/Overview/custombasicauthentication.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Authentication/VB/custombasicauthentication.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationManager/Overview/custombasicauthentication.vb" id="Snippet3"::: ]]> @@ -182,7 +182,7 @@ The following code example creates a new instance of the class with the specified authorization message and completion status. :::code language="csharp" source="~/snippets/csharp/System.Net/Authorization/.ctor/authorization_protectionrealm.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Authorization_ProtectionRealm/VB/authorization_protectionrealm.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Authorization/.ctor/authorization_protectionrealm.vb" id="Snippet1"::: ]]> @@ -244,7 +244,7 @@ The following code example creates a new instance of the class with the specified authorization message, completion status, and connection group identifier. :::code language="csharp" source="~/snippets/csharp/System.Net/Authorization/.ctor/authorization_constructor3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Authorization_Constructor3/VB/authorization_constructor3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Authorization/.ctor/authorization_constructor3.vb" id="Snippet1"::: ]]> @@ -307,7 +307,7 @@ The following code example uses the property to get the completion status of the authorization. For a complete example, refer to the class. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationManager/Overview/custombasicauthentication.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Authentication/VB/custombasicauthentication.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationManager/Overview/custombasicauthentication.vb" id="Snippet5"::: ]]> @@ -371,7 +371,7 @@ The following code example uses the property to get the group identifier returned by the server. For a complete example, refer to the class. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationManager/Overview/custombasicauthentication.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Authentication/VB/custombasicauthentication.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationManager/Overview/custombasicauthentication.vb" id="Snippet5"::: ]]> @@ -436,7 +436,7 @@ The following code example uses the property to get the message returned to the server in response to an authentication challenge. For a complete example, refer to the class. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationManager/Overview/custombasicauthentication.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Authentication/VB/custombasicauthentication.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationManager/Overview/custombasicauthentication.vb" id="Snippet5"::: ]]> @@ -558,7 +558,7 @@ The following code example gets or sets the prefix for URIs that can be authenticated with the property. :::code language="csharp" source="~/snippets/csharp/System.Net/Authorization/.ctor/authorization_protectionrealm.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Authorization_ProtectionRealm/VB/authorization_protectionrealm.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Authorization/.ctor/authorization_protectionrealm.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net/Cookie.xml b/xml/System.Net/Cookie.xml index 8cbbd1a0869..86ae4b719bb 100644 --- a/xml/System.Net/Cookie.xml +++ b/xml/System.Net/Cookie.xml @@ -77,7 +77,7 @@ The following example sends a request to a URL and displays the cookies returned in the response. :::code language="csharp" source="~/snippets/csharp/System.Net/Cookie/Overview/cookiessnippets.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLCookies/VB/cookiessnippets.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Cookie/Overview/cookiessnippets.vb" id="Snippet1"::: ]]> @@ -520,7 +520,7 @@ The following example displays the properties of cookies returned in a response. For the complete example, see the class topic. :::code language="csharp" source="~/snippets/csharp/System.Net/Cookie/Overview/cookiessnippets.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLCookies/VB/cookiessnippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Cookie/Overview/cookiessnippets.vb" id="Snippet3"::: ]]> @@ -600,7 +600,7 @@ The following example displays the properties of cookies that are returned in a response. For the complete example, see the class topic. :::code language="csharp" source="~/snippets/csharp/System.Net/Cookie/Overview/cookiessnippets.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLCookies/VB/cookiessnippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Cookie/Overview/cookiessnippets.vb" id="Snippet3"::: ]]> @@ -676,7 +676,7 @@ The following example displays the properties of cookies returned in a response. For the complete example, see the class topic. :::code language="csharp" source="~/snippets/csharp/System.Net/Cookie/Overview/cookiessnippets.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLCookies/VB/cookiessnippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Cookie/Overview/cookiessnippets.vb" id="Snippet3"::: ]]> @@ -747,7 +747,7 @@ The following example displays the properties of cookies returned in a response. For the complete example, see the class topic. :::code language="csharp" source="~/snippets/csharp/System.Net/Cookie/Overview/cookiessnippets.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLCookies/VB/cookiessnippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Cookie/Overview/cookiessnippets.vb" id="Snippet3"::: ]]> @@ -875,7 +875,7 @@ The following example displays the properties of cookies returned in a response. For the complete example, see the class topic. :::code language="csharp" source="~/snippets/csharp/System.Net/Cookie/Overview/cookiessnippets.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLCookies/VB/cookiessnippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Cookie/Overview/cookiessnippets.vb" id="Snippet3"::: ]]> @@ -952,7 +952,7 @@ The following example displays the properties of cookies returned in a response. For the complete example, see the class topic. :::code language="csharp" source="~/snippets/csharp/System.Net/Cookie/Overview/cookiessnippets.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLCookies/VB/cookiessnippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Cookie/Overview/cookiessnippets.vb" id="Snippet3"::: ]]> @@ -1141,7 +1141,7 @@ The following example displays the properties of cookies returned in a response. For the complete example, see the class topic. :::code language="csharp" source="~/snippets/csharp/System.Net/Cookie/Overview/cookiessnippets.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLCookies/VB/cookiessnippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Cookie/Overview/cookiessnippets.vb" id="Snippet3"::: ]]> @@ -1217,7 +1217,7 @@ The following example displays the properties of cookies returned in a response. For the complete example, see the class topic. :::code language="csharp" source="~/snippets/csharp/System.Net/Cookie/Overview/cookiessnippets.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLCookies/VB/cookiessnippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Cookie/Overview/cookiessnippets.vb" id="Snippet3"::: ]]> @@ -1288,7 +1288,7 @@ The following example displays the properties of cookies returned in a response. For the complete example, see the class topic. :::code language="csharp" source="~/snippets/csharp/System.Net/Cookie/Overview/cookiessnippets.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLCookies/VB/cookiessnippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Cookie/Overview/cookiessnippets.vb" id="Snippet3"::: ]]> @@ -1365,7 +1365,7 @@ The following example displays the properties of cookies returned in a response. For the complete example, see the class topic. :::code language="csharp" source="~/snippets/csharp/System.Net/Cookie/Overview/cookiessnippets.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLCookies/VB/cookiessnippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Cookie/Overview/cookiessnippets.vb" id="Snippet3"::: ]]> @@ -1436,7 +1436,7 @@ The following example displays the properties of cookies returned in a response. For the complete example, see the class topic. :::code language="csharp" source="~/snippets/csharp/System.Net/Cookie/Overview/cookiessnippets.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLCookies/VB/cookiessnippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Cookie/Overview/cookiessnippets.vb" id="Snippet3"::: ]]> @@ -1502,7 +1502,7 @@ The following example displays the string value of a cookie returned in a response. For the complete example, see the class topic. :::code language="csharp" source="~/snippets/csharp/System.Net/Cookie/Overview/cookiessnippets.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLCookies/VB/cookiessnippets.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Cookie/Overview/cookiessnippets.vb" id="Snippet4"::: ]]> @@ -1572,7 +1572,7 @@ The following example displays the properties of cookies returned in a response. For the complete example, see the class topic. :::code language="csharp" source="~/snippets/csharp/System.Net/Cookie/Overview/cookiessnippets.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLCookies/VB/cookiessnippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Cookie/Overview/cookiessnippets.vb" id="Snippet3"::: ]]> @@ -1645,7 +1645,7 @@ The following example displays the properties of cookies returned in a response. For the complete example, see the class topic. :::code language="csharp" source="~/snippets/csharp/System.Net/Cookie/Overview/cookiessnippets.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLCookies/VB/cookiessnippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Cookie/Overview/cookiessnippets.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Net/CookieCollection.xml b/xml/System.Net/CookieCollection.xml index eb1c1ceae42..744dc75f886 100644 --- a/xml/System.Net/CookieCollection.xml +++ b/xml/System.Net/CookieCollection.xml @@ -833,7 +833,7 @@ The comparison for is case-sensitive. ## Examples :::code language="csharp" source="~/snippets/csharp/System.Net/CookieCollection/Item/cookiecollection_item_2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CookieCollection_Item_2/VB/cookiecollection_item_2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/CookieCollection/Item/cookiecollection_item_2.vb" id="Snippet1"::: ]]> @@ -909,7 +909,7 @@ The comparison for is case-sensitive. ## Examples :::code language="csharp" source="~/snippets/csharp/System.Net/CookieCollection/Item/cookiecollection_item_1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CookieCollection_Item_1/VB/cookiecollection_item_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/CookieCollection/Item/cookiecollection_item_1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net/CredentialCache.xml b/xml/System.Net/CredentialCache.xml index fe1a10cd17f..eb9275cbe90 100644 --- a/xml/System.Net/CredentialCache.xml +++ b/xml/System.Net/CredentialCache.xml @@ -82,7 +82,7 @@ The following code example initializes a with multiple security credentials and uses those credentials with a . :::code language="csharp" source="~/snippets/csharp/System.Net/CredentialCache/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic CredentialCache.Add Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/CredentialCache/Overview/source.vb" id="Snippet1"::: ]]> @@ -138,7 +138,7 @@ The following code example initializes a with multiple security credentials and uses those credentials with a . :::code language="csharp" source="~/snippets/csharp/System.Net/CredentialCache/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic CredentialCache.Add Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/CredentialCache/Overview/source.vb" id="Snippet1"::: ]]> @@ -212,7 +212,7 @@ The following code example initializes a with multiple security credentials and uses those credentials with a . :::code language="csharp" source="~/snippets/csharp/System.Net/CredentialCache/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic CredentialCache.Add Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/CredentialCache/Overview/source.vb" id="Snippet1"::: ]]> @@ -287,7 +287,7 @@ The following code example initializes a with multiple security credentials for use with SMTP and uses one of those credentials with a . :::code language="csharp" source="~/snippets/csharp/System.Net/CredentialCache/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCL_Credential.Cache.Add_SMTP/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/CredentialCache/Add/source.vb" id="Snippet1"::: ]]> @@ -360,7 +360,7 @@ The following code example uses the property to get the system credentials of the application. :::code language="csharp" source="~/snippets/csharp/System.Net/CredentialCache/DefaultCredentials/credentialcache_defaultcredentials.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CredentialCache_DefaultCredentials/VB/credentialcache_defaultcredentials.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/CredentialCache/DefaultCredentials/credentialcache_defaultcredentials.vb" id="Snippet1"::: ]]> @@ -496,7 +496,7 @@ The following code example uses the method to return the instance associated with the specified URI and authentication type. :::code language="csharp" source="~/snippets/csharp/System.Net/CredentialCache/GetCredential/credentialcache_getcredential.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CredentialCache_GetCredential/VB/credentialcache_getcredential.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/CredentialCache/GetCredential/credentialcache_getcredential.vb" id="Snippet1"::: ]]> @@ -632,7 +632,7 @@ The following code example uses the method to return an enumerator that can iterate through the instance. :::code language="csharp" source="~/snippets/csharp/System.Net/CredentialCache/GetEnumerator/credentialcache_getenumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CredentialCache_GetEnumerator/VB/credentialcache_getenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/CredentialCache/GetEnumerator/credentialcache_getenumerator.vb" id="Snippet1"::: ]]> @@ -707,7 +707,7 @@ The following code example uses this method to delete a instance from the cache. :::code language="csharp" source="~/snippets/csharp/System.Net/CredentialCache/Remove/credentialcache_add_remove.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CredentialCache_Add_Remove/VB/credentialcache_add_remove.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/CredentialCache/Remove/credentialcache_add_remove.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Net/Dns.xml b/xml/System.Net/Dns.xml index 481f0b11b03..ef43835050c 100644 --- a/xml/System.Net/Dns.xml +++ b/xml/System.Net/Dns.xml @@ -68,7 +68,7 @@ The following example queries the DNS database for information on the host `www.contoso.com`. :::code language="csharp" source="~/snippets/csharp/System.Net/Dns/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic Dns Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Dns/Overview/source.vb" id="Snippet1"::: ]]> @@ -347,7 +347,7 @@ The following code example uses the method to resolve an IP address to an instance. :::code language="csharp" source="~/snippets/csharp/System.Net/Dns/BeginGetHostEntry/dnsnewmethods.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Dns/vb/dnsnewmethods.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Dns/BeginGetHostEntry/dnsnewmethods.vb" id="Snippet2"::: ]]> @@ -438,7 +438,7 @@ The following code example uses the method to resolve an IP address to an instance. :::code language="csharp" source="~/snippets/csharp/System.Net/Dns/BeginGetHostEntry/dnsnewmethods.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Dns/vb/dnsnewmethods.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Dns/BeginGetHostEntry/dnsnewmethods.vb" id="Snippet2"::: ]]> @@ -544,7 +544,7 @@ The following example uses to resolve a DNS host name to an . :::code language="csharp" source="~/snippets/csharp/System.Net/Dns/BeginResolve/dns_begin_endresolve.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Dns_Begin_EndResolve/VB/dns_begin_endresolve.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Dns/BeginResolve/dns_begin_endresolve.vb" id="Snippet1"::: ]]> @@ -821,7 +821,7 @@ The following example ends an asynchronous request for DNS host information. :::code language="csharp" source="~/snippets/csharp/System.Net/Dns/BeginResolve/dns_begin_endresolve.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Dns_Begin_EndResolve/VB/dns_begin_endresolve.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Dns/BeginResolve/dns_begin_endresolve.vb" id="Snippet1"::: ]]> @@ -892,7 +892,7 @@ The following code example uses the method to resolve an IP address to an array of type . :::code language="csharp" source="~/snippets/csharp/System.Net/Dns/BeginGetHostEntry/dnsnewmethods.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Dns/vb/dnsnewmethods.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Dns/BeginGetHostEntry/dnsnewmethods.vb" id="Snippet3"::: ]]> @@ -1150,7 +1150,7 @@ The following example creates a from an . :::code language="csharp" source="~/snippets/csharp/System.Net/Dns/GetHostByAddress/dns_gethostbyaddress_ipaddress.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Dns_GetHostByAddress_IPAddress/VB/dns_gethostbyaddress_ipaddress.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Dns/GetHostByAddress/dns_gethostbyaddress_ipaddress.vb" id="Snippet1"::: ]]> @@ -1307,7 +1307,7 @@ The following example uses the method to get the DNS information for the specified DNS host name. :::code language="csharp" source="~/snippets/csharp/System.Net/Dns/GetHostByName/dns_gethostbyname.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Dns_GetHostByName/VB/dns_gethostbyname.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Dns/GetHostByName/dns_gethostbyname.vb" id="Snippet1"::: ]]> @@ -1385,7 +1385,7 @@ The following code example uses the method to resolve an IP address to an instance. :::code language="csharp" source="~/snippets/csharp/System.Net/Dns/BeginGetHostEntry/dnsnewmethods.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Dns/vb/dnsnewmethods.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Dns/BeginGetHostEntry/dnsnewmethods.vb" id="Snippet4"::: ]]> @@ -1476,7 +1476,7 @@ The following example uses the method to resolve an IP address to an instance. :::code language="csharp" source="~/snippets/csharp/System.Net/Dns/BeginGetHostEntry/dnsnewmethods.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Dns/vb/dnsnewmethods.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Dns/BeginGetHostEntry/dnsnewmethods.vb" id="Snippet1"::: ]]> @@ -1803,7 +1803,7 @@ The following example uses the method to obtain the host name of the local computer. :::code language="csharp" source="~/snippets/csharp/System.Net/Dns/GetHostName/dns_gethostname.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Dns_GetHostName/VB/dns_gethostname.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Dns/GetHostName/dns_gethostname.vb" id="Snippet1"::: ]]> @@ -1885,7 +1885,7 @@ The following example uses the method to resolve an IP address to an instance. :::code language="csharp" source="~/snippets/csharp/System.Net/Dns/Resolve/dns_resolve.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Dns_Resolve/VB/dns_resolve.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Dns/Resolve/dns_resolve.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net/DownloadDataCompletedEventArgs.xml b/xml/System.Net/DownloadDataCompletedEventArgs.xml index 3230f68c07d..bccd2624f40 100644 --- a/xml/System.Net/DownloadDataCompletedEventArgs.xml +++ b/xml/System.Net/DownloadDataCompletedEventArgs.xml @@ -60,12 +60,12 @@ The following code example demonstrates downloading a user-specified resource. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet21"::: The following method is called when the download completes. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet22"::: ]]> @@ -120,7 +120,7 @@ The following code example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet22"::: ]]> diff --git a/xml/System.Net/DownloadDataCompletedEventHandler.xml b/xml/System.Net/DownloadDataCompletedEventHandler.xml index 9df0fede7ba..4a9f46d49ae 100644 --- a/xml/System.Net/DownloadDataCompletedEventHandler.xml +++ b/xml/System.Net/DownloadDataCompletedEventHandler.xml @@ -62,12 +62,12 @@ The following code example demonstrates downloading a user-specified resource. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet21"::: The following method is called when the download completes. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet22"::: ]]> diff --git a/xml/System.Net/DownloadProgressChangedEventArgs.xml b/xml/System.Net/DownloadProgressChangedEventArgs.xml index ea50d6d0216..b211fe1628b 100644 --- a/xml/System.Net/DownloadProgressChangedEventArgs.xml +++ b/xml/System.Net/DownloadProgressChangedEventArgs.xml @@ -58,7 +58,7 @@ Instances of this class are passed to the event. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="SnippetDownloadProgressChanged"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="SnippetDownloadProgressChanged"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="SnippetDownloadProgressChanged"::: ]]> @@ -120,7 +120,7 @@ The following code example demonstrates setting an event handler for the event. The method displays the value of the `BytesReceived` property. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet42"::: ]]> @@ -184,7 +184,7 @@ The following code example demonstrates setting an event handler for the event. The method displays the value of the `TotalBytesToReceive` property. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet42"::: ]]> diff --git a/xml/System.Net/DownloadProgressChangedEventHandler.xml b/xml/System.Net/DownloadProgressChangedEventHandler.xml index 756d4949fed..15801e341d1 100644 --- a/xml/System.Net/DownloadProgressChangedEventHandler.xml +++ b/xml/System.Net/DownloadProgressChangedEventHandler.xml @@ -68,7 +68,7 @@ The following code example demonstrates setting an event handler for the event. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="SnippetDownloadProgressChanged"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="SnippetDownloadProgressChanged"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="SnippetDownloadProgressChanged"::: ]]> diff --git a/xml/System.Net/DownloadStringCompletedEventArgs.xml b/xml/System.Net/DownloadStringCompletedEventArgs.xml index 168208e46fc..4a1c9cff479 100644 --- a/xml/System.Net/DownloadStringCompletedEventArgs.xml +++ b/xml/System.Net/DownloadStringCompletedEventArgs.xml @@ -64,12 +64,12 @@ The following code example demonstrates downloading a string asynchronously. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet28"::: The following method is called when the download completes. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet29"::: ]]> @@ -127,7 +127,7 @@ The following code example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet29"::: ]]> diff --git a/xml/System.Net/DownloadStringCompletedEventHandler.xml b/xml/System.Net/DownloadStringCompletedEventHandler.xml index 3a7542bb799..81ac90f182e 100644 --- a/xml/System.Net/DownloadStringCompletedEventHandler.xml +++ b/xml/System.Net/DownloadStringCompletedEventHandler.xml @@ -66,12 +66,12 @@ The following code example demonstrates downloading a string asynchronously. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet28"::: The following method is called when the download completes. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet29"::: ]]> diff --git a/xml/System.Net/FileWebRequest.xml b/xml/System.Net/FileWebRequest.xml index 4394eb1cbe9..f9453c7a074 100644 --- a/xml/System.Net/FileWebRequest.xml +++ b/xml/System.Net/FileWebRequest.xml @@ -81,7 +81,7 @@ The following code example uses the class to access a file system resource. :::code language="csharp" source="~/snippets/csharp/System.Net/FileWebRequest/Overview/getrequeststream.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.FileWebRequest/VB/getrequeststream.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/FileWebRequest/Overview/getrequeststream.vb" id="Snippet1"::: ]]> @@ -269,7 +269,7 @@ The following code example uses to make an asynchronous request for a object. :::code language="csharp" source="~/snippets/csharp/System.Net/FileWebRequest/BeginGetRequestStream/filewebrequest_reqbeginend.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/FileWebRequest_ReqBeginEnd/VB/filewebrequest_reqbeginend.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/FileWebRequest/BeginGetRequestStream/filewebrequest_reqbeginend.vb" id="Snippet2"::: ]]> @@ -345,7 +345,7 @@ The following code example uses the method to asynchronously access a file system resource. :::code language="csharp" source="~/snippets/csharp/System.Net/FileWebRequest/BeginGetResponse/filewebrequest_resbeginend.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/FileWebRequest_ResBeginEnd/VB/filewebrequest_resbeginend.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/FileWebRequest/BeginGetResponse/filewebrequest_resbeginend.vb" id="Snippet2"::: ]]> @@ -470,7 +470,7 @@ The following code example sets the content length of the data being sent. Refer to the complete example in the class. :::code language="csharp" source="~/snippets/csharp/System.Net/FileWebRequest/Overview/getrequeststream.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.FileWebRequest/VB/getrequeststream.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/FileWebRequest/Overview/getrequeststream.vb" id="Snippet4"::: ]]> @@ -653,7 +653,7 @@ The following example uses the method to end the asynchronous request for a object. :::code language="csharp" source="~/snippets/csharp/System.Net/FileWebRequest/BeginGetRequestStream/filewebrequest_reqbeginend.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/FileWebRequest_ReqBeginEnd/VB/filewebrequest_reqbeginend.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/FileWebRequest/BeginGetRequestStream/filewebrequest_reqbeginend.vb" id="Snippet2"::: ]]> @@ -718,7 +718,7 @@ The following code example uses the method to end an asynchronous request for a file system resource. :::code language="csharp" source="~/snippets/csharp/System.Net/FileWebRequest/BeginGetResponse/filewebrequest_resbeginend.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/FileWebRequest_ResBeginEnd/VB/filewebrequest_resbeginend.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/FileWebRequest/BeginGetResponse/filewebrequest_resbeginend.vb" id="Snippet2"::: ]]> @@ -838,7 +838,7 @@ The following code example uses the method to obtain a stream instance used to write to the file. Refer to the complete example in the class. :::code language="csharp" source="~/snippets/csharp/System.Net/FileWebRequest/Overview/getrequeststream.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.FileWebRequest/VB/getrequeststream.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/FileWebRequest/Overview/getrequeststream.vb" id="Snippet5"::: ]]> @@ -950,7 +950,7 @@ The stream already received a response previous to your request. The following code example uses the method to return a file system request response. :::code language="csharp" source="~/snippets/csharp/System.Net/FileWebRequest/GetResponse/getresponse.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.FileWebRequest.GetResponse/VB/getresponse.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/FileWebRequest/GetResponse/getresponse.vb" id="Snippet1"::: ]]> @@ -1113,7 +1113,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following code example sets the protocol method used for the request. Refer to the complete example in the class. :::code language="csharp" source="~/snippets/csharp/System.Net/FileWebRequest/Overview/getrequeststream.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.FileWebRequest/VB/getrequeststream.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/FileWebRequest/Overview/getrequeststream.vb" id="Snippet2"::: ]]> @@ -1297,7 +1297,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following code example uses the property to get the URI of the request. :::code language="csharp" source="~/snippets/csharp/System.Net/FileWebRequest/RequestUri/filewebrequest_contentlength.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/FileWebRequest_ContentLength/VB/filewebrequest_contentlength.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/FileWebRequest/RequestUri/filewebrequest_contentlength.vb" id="Snippet2"::: ]]> @@ -1414,7 +1414,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following code example sets the property. Refer to the complete example in the class. :::code language="csharp" source="~/snippets/csharp/System.Net/FileWebRequest/Overview/getrequeststream.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.FileWebRequest/VB/getrequeststream.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/FileWebRequest/Overview/getrequeststream.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Net/FileWebResponse.xml b/xml/System.Net/FileWebResponse.xml index 05c461d51a0..0fb769bc2a1 100644 --- a/xml/System.Net/FileWebResponse.xml +++ b/xml/System.Net/FileWebResponse.xml @@ -207,7 +207,7 @@ The following example uses the method to close the response stream. :::code language="csharp" source="~/snippets/csharp/System.Net/FileWebResponse/Close/filewebresponse_close.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/FileWebResponse_Close/VB/filewebresponse_close.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/FileWebResponse/Close/filewebresponse_close.vb" id="Snippet1"::: ]]> @@ -263,7 +263,7 @@ The following example uses the property to obtain the content length of the file system resource. :::code language="csharp" source="~/snippets/csharp/System.Net/FileWebResponse/ContentLength/filewebresponse_contentlength_contenttype.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/FileWebResponse_ContentLength_ContentType/VB/filewebresponse_contentlength_contenttype.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/FileWebResponse/ContentLength/filewebresponse_contentlength_contenttype.vb" id="Snippet1"::: ]]> @@ -319,7 +319,7 @@ The following example uses the property to obtain the content type of the file system resource. :::code language="csharp" source="~/snippets/csharp/System.Net/FileWebResponse/ContentLength/filewebresponse_contentlength_contenttype.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/FileWebResponse_ContentLength_ContentType/VB/filewebresponse_contentlength_contenttype.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/FileWebResponse/ContentLength/filewebresponse_contentlength_contenttype.vb" id="Snippet1"::: ]]> @@ -468,7 +468,7 @@ The following example uses the method to return the data stream from the file system resource. :::code language="csharp" source="~/snippets/csharp/System.Net/FileWebResponse/GetResponseStream/filewebresponse_getresponsestream.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/FileWebResponse_GetResponseStream/VB/filewebresponse_getresponsestream.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/FileWebResponse/GetResponseStream/filewebresponse_getresponsestream.vb" id="Snippet1"::: ]]> @@ -524,7 +524,7 @@ The following example uses the property to retrieve the name/value pairs associated with the response. :::code language="csharp" source="~/snippets/csharp/System.Net/FileWebResponse/Headers/filewebresponse_headers.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/FileWebResponse_Headers/VB/filewebresponse_headers.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/FileWebResponse/Headers/filewebresponse_headers.vb" id="Snippet1"::: ]]> @@ -580,7 +580,7 @@ The following example uses the to retrieve the URI of the file system resource that provided the response. :::code language="csharp" source="~/snippets/csharp/System.Net/FileWebResponse/ResponseUri/filewebresponse_responseuri.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/FileWebResponse_ResponseUri/VB/filewebresponse_responseuri.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/FileWebResponse/ResponseUri/filewebresponse_responseuri.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net/HttpListener.xml b/xml/System.Net/HttpListener.xml index fbf622cb9a2..c42d0e1d0df 100644 --- a/xml/System.Net/HttpListener.xml +++ b/xml/System.Net/HttpListener.xml @@ -56,7 +56,7 @@ Changes to NTLM authentication for HTTPWebRequest in Version 3.5 SP1 @@ -108,7 +108,7 @@ The following code example demonstrates using the constructor to create a new object. For the complete example, see the class topic. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet9"::: ]]> @@ -169,7 +169,7 @@ The following code example demonstrates calling this method. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet11"::: ]]> @@ -240,7 +240,7 @@ The following code example demonstrates using the property to specify an authentication scheme. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet14"::: ]]> @@ -312,12 +312,12 @@ The following code example sets the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationSchemes/Overview/sample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLListener/vb/sample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationSchemes/Overview/sample.vb" id="Snippet2"::: The following code example provides an implementation of a method invoked by an delegate. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationSchemes/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLListener/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationSchemes/Overview/sample.vb" id="Snippet1"::: ]]> @@ -392,12 +392,12 @@ The following code example demonstrates using the method to specify a callback method that will handle incoming client requests. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet12"::: The following code example implements a callback method. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet13"::: ]]> @@ -459,7 +459,7 @@ The following code example demonstrates calling the `Close` method: :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet12"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet12"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet12"::: ]]> @@ -604,7 +604,7 @@ The following code example demonstrates calling the `Close` method: The following code example shows the implementation of a callback method that calls the method. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet13"::: ]]> @@ -817,7 +817,7 @@ The following code example demonstrates calling the `Close` method: The following code example demonstrates calling this method. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet2"::: ]]> @@ -941,7 +941,7 @@ The following code example demonstrates calling the `Close` method: The following code example demonstrates setting this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet14"::: ]]> @@ -998,7 +998,7 @@ The following code example demonstrates calling the `Close` method: The following code example demonstrates using this property to determine the listening state of an instance. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet1"::: ]]> @@ -1049,7 +1049,7 @@ The following code example demonstrates calling the `Close` method: The following code example demonstrates the use of the property to detect whether an object can be used with the current operating system. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet2"::: ]]> @@ -1104,7 +1104,7 @@ The following code example demonstrates calling the `Close` method: The following code example demonstrates using the property to obtain and print the URI prefixes that are handled. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet1"::: ]]> @@ -1173,7 +1173,7 @@ The following code example demonstrates calling the `Close` method: The following code example demonstrates setting the property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet10"::: ]]> @@ -1234,7 +1234,7 @@ The following code example demonstrates calling the `Close` method: The following code example demonstrates using the method to begin processing incoming requests. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet12"::: ]]> @@ -1297,7 +1297,7 @@ The following code example demonstrates calling the `Close` method: The following code example demonstrates using the method to stop processing incoming requests. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet2"::: ]]> @@ -1470,7 +1470,7 @@ The following code example demonstrates using the diff --git a/xml/System.Net/HttpListenerContext.xml b/xml/System.Net/HttpListenerContext.xml index 8b3a8da37e1..4ca6e6da36b 100644 --- a/xml/System.Net/HttpListenerContext.xml +++ b/xml/System.Net/HttpListenerContext.xml @@ -64,7 +64,7 @@ The following code example displays the user information for a client request. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet8"::: ]]> @@ -452,7 +452,7 @@ The following code example demonstrates calling this method. The `listener` variable holds an object. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet3"::: ]]> @@ -507,7 +507,7 @@ The following code example demonstrates getting the response to a client's request and adding the response body. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet3"::: ]]> @@ -574,7 +574,7 @@ The following code example demonstrates accessing identity and authentication information about the client, and returning it to the client in the response. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Net/HttpListenerPrefixCollection.xml b/xml/System.Net/HttpListenerPrefixCollection.xml index 556b671ceb7..7417b5a948e 100644 --- a/xml/System.Net/HttpListenerPrefixCollection.xml +++ b/xml/System.Net/HttpListenerPrefixCollection.xml @@ -73,7 +73,7 @@ The following code example creates an and adds user-specified prefixes to its . :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet2"::: ]]> @@ -140,7 +140,7 @@ The following code example creates an and adds user-specified prefixes to its . :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet2"::: ]]> @@ -209,7 +209,7 @@ The following code example removes all prefixes in an . :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet6"::: ]]> @@ -278,7 +278,7 @@ The following code example checks to see whether a user-specified prefix is contained in the prefix collection of an . :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet4"::: ]]> @@ -359,7 +359,7 @@ The following code example copies the prefixes in a . :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet7"::: ]]> @@ -429,7 +429,7 @@ The following code example copies the prefixes in a . :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet7"::: ]]> @@ -487,7 +487,7 @@ The following code example displays the prefixes in a collection. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet1"::: ]]> @@ -551,7 +551,7 @@ The following code example demonstrates enumerating through a collection. Note that the Visual Basic and C# examples use language specific statements to enumerate through the collection instead of retrieving the enumerator. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net/HttpListenerRequest.xml b/xml/System.Net/HttpListenerRequest.xml index c9c5fa50c72..32df89f253c 100644 --- a/xml/System.Net/HttpListenerRequest.xml +++ b/xml/System.Net/HttpListenerRequest.xml @@ -64,7 +64,7 @@ The following code example demonstrates how to receive and respond to a . :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet2"::: ]]> @@ -131,7 +131,7 @@ The following code example demonstrates using this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet15"::: ]]> @@ -242,7 +242,7 @@ The following code example checks this property to determine whether the request includes a valid client certificate. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationSchemes/Overview/sample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLListener/vb/sample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationSchemes/Overview/sample.vb" id="Snippet3"::: ]]> @@ -305,7 +305,7 @@ The following code example demonstrates using the property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet16"::: ]]> @@ -365,7 +365,7 @@ The following code example uses the property while processing body data. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet16"::: ]]> @@ -438,7 +438,7 @@ The following code example demonstrates how to use this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet16"::: ]]> @@ -496,7 +496,7 @@ The following code example displays the values of cookies sent with the request. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet18"::: ]]> @@ -721,7 +721,7 @@ The following code example demonstrates using this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet16"::: ]]> @@ -781,7 +781,7 @@ The following code example displays all the information in a given object. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet21"::: ]]> @@ -839,7 +839,7 @@ The following code example demonstrates using this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet17"::: ]]> @@ -900,7 +900,7 @@ The following code example demonstrates using this property to read the data sent with a request. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet16"::: ]]> @@ -964,7 +964,7 @@ The following code example displays the value of the property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet17"::: ]]> @@ -1029,7 +1029,7 @@ The following code example demonstrates using the property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet17"::: ]]> @@ -1088,7 +1088,7 @@ The following code example demonstrates using the property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet17"::: ]]> @@ -1188,7 +1188,7 @@ The following code example demonstrates using this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet17"::: ]]> @@ -1252,7 +1252,7 @@ The following code example demonstrates using this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet17"::: ]]> @@ -1316,7 +1316,7 @@ The following code example demonstrates using this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet17"::: ]]> @@ -1375,7 +1375,7 @@ The following code example demonstrates using the property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet15"::: ]]> @@ -1446,7 +1446,7 @@ The following code example demonstrates using the property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet11"::: ]]> @@ -1505,7 +1505,7 @@ The following code example demonstrates using this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet17"::: ]]> @@ -1802,7 +1802,7 @@ The following code example demonstrates using the property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet15"::: ]]> @@ -1876,7 +1876,7 @@ The following code example demonstrates using this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet15"::: ]]> @@ -1949,7 +1949,7 @@ The following code example demonstrates using this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet15"::: ]]> @@ -2013,7 +2013,7 @@ The following code example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet15"::: ]]> @@ -2081,7 +2081,7 @@ The following code example demonstrates using this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet15"::: ]]> @@ -2148,7 +2148,7 @@ The following code example displays the languages from the request's `Accept-Language` header. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet15"::: ]]> diff --git a/xml/System.Net/HttpListenerResponse.xml b/xml/System.Net/HttpListenerResponse.xml index 3bf74308f3a..259ede30b3c 100644 --- a/xml/System.Net/HttpListenerResponse.xml +++ b/xml/System.Net/HttpListenerResponse.xml @@ -180,7 +180,7 @@ The following code example demonstrates adding a header using this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet26"::: ]]> @@ -252,7 +252,7 @@ The following code example demonstrates adding a cookie to a response :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet20"::: ]]> @@ -396,7 +396,7 @@ The following code example demonstrates calling this method to send a (403) response to the client. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationSchemes/Overview/sample.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLListener/vb/sample.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationSchemes/Overview/sample.vb" id="Snippet5"::: ]]> @@ -471,7 +471,7 @@ The following code example demonstrates calling this method. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet24"::: ]]> @@ -547,7 +547,7 @@ The following code example demonstrates using this property. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationSchemes/Overview/sample.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLListener/vb/sample.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationSchemes/Overview/sample.vb" id="Snippet5"::: ]]> @@ -613,7 +613,7 @@ The following code example demonstrates setting the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet2"::: ]]> @@ -742,7 +742,7 @@ The following code example checks a request for a cookie, and returns a new cookie with the response if the request did not have one. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet20"::: ]]> @@ -817,7 +817,7 @@ The following code example demonstrates creating a response by copying a template response. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationSchemes/Overview/sample.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLListener/vb/sample.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationSchemes/Overview/sample.vb" id="Snippet5"::: ]]> @@ -886,7 +886,7 @@ The following code example demonstrates displaying the headers in a . :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet23"::: ]]> @@ -954,7 +954,7 @@ The following code example demonstrates setting the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationSchemes/Overview/sample.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLListener/vb/sample.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationSchemes/Overview/sample.vb" id="Snippet7"::: ]]> @@ -1016,7 +1016,7 @@ The following code example demonstrates calling this method. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet3"::: ]]> @@ -1075,7 +1075,7 @@ The following code example demonstrates setting the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationSchemes/Overview/sample.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLListener/vb/sample.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationSchemes/Overview/sample.vb" id="Snippet5"::: ]]> @@ -1146,7 +1146,7 @@ The following code example demonstrates calling this method. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet27"::: ]]> @@ -1214,7 +1214,7 @@ The following code example demonstrates setting this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet25"::: ]]> @@ -1325,7 +1325,7 @@ The following code example demonstrates calling this method. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpListener/Overview/test.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Net_Listener_Basic/VB/test.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpListener/Overview/test.vb" id="Snippet28"::: ]]> @@ -1388,7 +1388,7 @@ The following code example demonstrates setting the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationSchemes/Overview/sample.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLListener/vb/sample.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationSchemes/Overview/sample.vb" id="Snippet7"::: ]]> @@ -1448,7 +1448,7 @@ The following code example demonstrates setting the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationSchemes/Overview/sample.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLListener/vb/sample.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationSchemes/Overview/sample.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Net/HttpVersion.xml b/xml/System.Net/HttpVersion.xml index f3c597d5064..bfe9202f34f 100644 --- a/xml/System.Net/HttpVersion.xml +++ b/xml/System.Net/HttpVersion.xml @@ -64,7 +64,7 @@ The following example demonstrates the use of . :::code language="csharp" source="~/snippets/csharp/System.Net/HttpVersion/Overview/httpversion_version10.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpVersion_Version10/VB/httpversion_version10.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpVersion/Overview/httpversion_version10.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net/HttpWebRequest.xml b/xml/System.Net/HttpWebRequest.xml index 93479fdc623..3939af168cc 100644 --- a/xml/System.Net/HttpWebRequest.xml +++ b/xml/System.Net/HttpWebRequest.xml @@ -125,7 +125,7 @@ For apps that use TLS/SSL through APIs such as HttpClient, HttpWebRequest, FTPCl The following code example creates an for the URI `http://www.contoso.com/`. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpWebRequest Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/Overview/source.vb" id="Snippet1"::: ]]> @@ -412,7 +412,7 @@ Both constructors are obsolete and should not b The following code example sets the property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/Accept/httpwebrequest_accept.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_Accept/VB/httpwebrequest_accept.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/Accept/httpwebrequest_accept.vb" id="Snippet1"::: ]]> @@ -1246,7 +1246,7 @@ Both constructors are obsolete and should not b The following code example checks to see if the object `req` was redirected to another location to fulfill the request, and sets the value of the `hasChanged` variable to `true` if the request was redirected; otherwise `hasChanged` is set to `false`. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/Address/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpWebRequest.RequestUri Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/Address/source.vb" id="Snippet1"::: ]]> @@ -1316,7 +1316,7 @@ Both constructors are obsolete and should not b The following code example uses the property to allow the request to follow redirection responses. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/AllowAutoRedirect/httpwebrequest_allowautoredirect.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_AllowAutoRedirect/VB/httpwebrequest_allowautoredirect.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/AllowAutoRedirect/httpwebrequest_allowautoredirect.vb" id="Snippet2"::: ]]> @@ -1424,7 +1424,7 @@ Both constructors are obsolete and should not b The following code example uses the property to disable data buffering. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/AllowWriteStreamBuffering/httpwebrequest_allowwritestreambuffering.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_AllowWriteStreamBuffering/VB/httpwebrequest_allowwritestreambuffering.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/AllowWriteStreamBuffering/httpwebrequest_allowwritestreambuffering.vb" id="Snippet1"::: ]]> @@ -1557,7 +1557,7 @@ Both constructors are obsolete and should not b The following code example uses the method to make an asynchronous request for a stream instance. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/BeginGetRequestStream/httpwebrequest_begingetrequeststream.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_BeginGetRequestStream/VB/httpwebrequest_begingetrequeststream.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/BeginGetRequestStream/httpwebrequest_begingetrequeststream.vb" id="Snippet2"::: ]]> @@ -1831,7 +1831,7 @@ Both constructors are obsolete and should not b The following code example uses the property to set the value of the Connection HTTP Header. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/Connection/httpwebrequest_connection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_Connection/VB/httpwebrequest_connection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/Connection/httpwebrequest_connection.vb" id="Snippet1"::: ]]> @@ -1978,7 +1978,7 @@ Both constructors are obsolete and should not b The following code example sets the property to the length of the string being posted. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ContentLength/httpwebrequest_contentlength.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_ContentLength/VB/httpwebrequest_contentlength.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ContentLength/httpwebrequest_contentlength.vb" id="Snippet4"::: ]]> @@ -2055,7 +2055,7 @@ Both constructors are obsolete and should not b The following code example sets the property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ContentLength/httpwebrequest_contentlength.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_ContentLength/VB/httpwebrequest_contentlength.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ContentLength/httpwebrequest_contentlength.vb" id="Snippet1"::: ]]> @@ -2258,7 +2258,7 @@ Both constructors are obsolete and should not b The following code example sends a request to a URL and displays the cookies returned in the response. :::code language="csharp" source="~/snippets/csharp/System.Net/Cookie/Overview/cookiessnippets.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLCookies/VB/cookiessnippets.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Cookie/Overview/cookiessnippets.vb" id="Snippet1"::: ]]> @@ -2344,7 +2344,7 @@ Both constructors are obsolete and should not b The following code example sets the credentials for a request. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/Credentials/httpwebrequest1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLResponse1/VB/httpwebrequest1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/Credentials/httpwebrequest1.vb" id="Snippet1"::: ]]> @@ -2669,7 +2669,7 @@ Both constructors are obsolete and should not b The following code example uses the method to end an asynchronous request for a stream instance. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/BeginGetRequestStream/httpwebrequest_begingetrequeststream.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_BeginGetRequestStream/VB/httpwebrequest_begingetrequeststream.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/BeginGetRequestStream/httpwebrequest_begingetrequeststream.vb" id="Snippet2"::: ]]> @@ -3102,7 +3102,7 @@ The GetHashCode method returns a hash code of the web request. This value can be The following code example uses the method to return a stream instance. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ContentLength/httpwebrequest_contentlength.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_ContentLength/VB/httpwebrequest_contentlength.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ContentLength/httpwebrequest_contentlength.vb" id="Snippet4"::: ]]> @@ -3314,7 +3314,7 @@ The GetHashCode method returns a hash code of the web request. This value can be The following code example gets the response for a request. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/Credentials/httpwebrequest1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLResponse1/VB/httpwebrequest1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/Credentials/httpwebrequest1.vb" id="Snippet1"::: ]]> @@ -3405,7 +3405,7 @@ The GetHashCode method returns a hash code of the web request. This value can be The following code example checks the property to determine if a response has been received from an Internet resource. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/HaveResponse/httpwebrequest_haveresponse.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Httpwebrequest_HaveResponse/VB/httpwebrequest_haveresponse.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/HaveResponse/httpwebrequest_haveresponse.vb" id="Snippet1"::: ]]> @@ -3499,7 +3499,7 @@ The GetHashCode method returns a hash code of the web request. This value can be The following code example uses the property to print the HTTP header name/value pairs to the console. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/Headers/httpwebrequest_headers.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_Headers/VB/httpwebrequest_headers.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/Headers/httpwebrequest_headers.vb" id="Snippet1"::: ]]> @@ -3654,7 +3654,7 @@ The GetHashCode method returns a hash code of the web request. This value can be The following code example checks the property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/IfModifiedSince/httpwebrequest_ifmodifiedsince.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_IfModifiedSince/VB/httpwebrequest_ifmodifiedsince.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/IfModifiedSince/httpwebrequest_ifmodifiedsince.vb" id="Snippet1"::: ]]> @@ -3730,7 +3730,7 @@ The GetHashCode method returns a hash code of the web request. This value can be The following code example sets the property to `false` to avoid establishing a persistent connection with the Internet resource. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/Connection/httpwebrequest_connection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_Connection/VB/httpwebrequest_connection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/Connection/httpwebrequest_connection.vb" id="Snippet1"::: ]]> @@ -3798,7 +3798,7 @@ The GetHashCode method returns a hash code of the web request. This value can be The following code example sets the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/Credentials/httpwebrequest1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLResponse1/VB/httpwebrequest1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/Credentials/httpwebrequest1.vb" id="Snippet1"::: ]]> @@ -3871,7 +3871,7 @@ The GetHashCode method returns a hash code of the web request. This value can be The following code example sets the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/Credentials/httpwebrequest1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLResponse1/VB/httpwebrequest1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/Credentials/httpwebrequest1.vb" id="Snippet1"::: ]]> @@ -4009,7 +4009,7 @@ The GetHashCode method returns a hash code of the web request. This value can be The following code example sets the property to POST. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ContentLength/httpwebrequest_contentlength.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_ContentLength/VB/httpwebrequest_contentlength.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ContentLength/httpwebrequest_contentlength.vb" id="Snippet4"::: ]]> @@ -4089,7 +4089,7 @@ The GetHashCode method returns a hash code of the web request. This value can be The following code example prints the value of the property to the console. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/Pipelined/httpwebrequest_pipelined.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_PipeLined/VB/httpwebrequest_pipelined.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/Pipelined/httpwebrequest_pipelined.vb" id="Snippet1"::: ]]> @@ -4285,7 +4285,7 @@ The GetHashCode method returns a hash code of the web request. This value can be The following code example sets the Property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ProtocolVersion/httpwebrequest_protocolversion.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_ProtocolVersion/VB/httpwebrequest_protocolversion.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ProtocolVersion/httpwebrequest_protocolversion.vb" id="Snippet1"::: ]]> @@ -4361,7 +4361,7 @@ The GetHashCode method returns a hash code of the web request. This value can be The following code example uses the method to get the proxy information for the request. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/Proxy/httpwebrequest_proxy.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Httpwebrequest_proxy/VB/httpwebrequest_proxy.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/Proxy/httpwebrequest_proxy.vb" id="Snippet1"::: ]]> @@ -4515,7 +4515,7 @@ The GetHashCode method returns a hash code of the web request. This value can be The following code example sets the property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/Referer/httpwebrequest_referer.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_Referer/VB/httpwebrequest_referer.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/Referer/httpwebrequest_referer.vb" id="Snippet1"::: ]]> @@ -4590,7 +4590,7 @@ The GetHashCode method returns a hash code of the web request. This value can be The following code example checks to see if the object `req` was redirected to another location to fulfill the request, and sets the value of the `hasChanged` variable to `true` if the request was redirected; otherwise, `hasChanged` is set to `false`. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/Address/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpWebRequest.RequestUri Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/Address/source.vb" id="Snippet1"::: ]]> @@ -4655,7 +4655,7 @@ The GetHashCode method returns a hash code of the web request. This value can be The following code example sets the property to `true` so that data can be sent in segments to the Internet resource. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/SendChunked/httpwebrequest_sendchunked.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_SendChunked/VB/httpwebrequest_sendchunked.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/SendChunked/httpwebrequest_sendchunked.vb" id="Snippet2"::: ]]> @@ -4779,7 +4779,7 @@ The GetHashCode method returns a hash code of the web request. This value can be ## Examples :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ServicePoint/servicepoint.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb" id="Snippet6"::: ]]> @@ -4977,7 +4977,7 @@ The GetHashCode method returns a hash code of the web request. This value can be The following code example sets the property of the object. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/Timeout/httpwebrequest_timeout.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_Timeout/VB/httpwebrequest_timeout.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/Timeout/httpwebrequest_timeout.vb" id="Snippet1"::: ]]> @@ -5239,7 +5239,7 @@ The value for this property is stored in . The following code example sets the property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/UserAgent/httpwebrequest_useragent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebRequest_UserAgent/VB/httpwebrequest_useragent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/UserAgent/httpwebrequest_useragent.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net/HttpWebResponse.xml b/xml/System.Net/HttpWebResponse.xml index 205448ff114..857a7e2dbf8 100644 --- a/xml/System.Net/HttpWebResponse.xml +++ b/xml/System.Net/HttpWebResponse.xml @@ -109,7 +109,7 @@ The contents of the response from the Internet resource are returned as a from an . :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebResponse/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpWebResponse Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebResponse/Overview/source.vb" id="Snippet1"::: ]]> @@ -316,7 +316,7 @@ The contents of the response from the Internet resource are returned as a @@ -383,7 +383,7 @@ The contents of the response from the Internet resource are returned as a . :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebResponse/Close/httpwebresponse_close.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_Close/VB/httpwebresponse_close.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebResponse/Close/httpwebresponse_close.vb" id="Snippet1"::: ]]> @@ -443,7 +443,7 @@ The contents of the response from the Internet resource are returned as a property to obtain the value of the Content-Encoding header returned with the response. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebResponse/CharacterSet/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_ContentEncoding_CharacterSet/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebResponse/CharacterSet/source.vb" id="Snippet1"::: ]]> @@ -504,7 +504,7 @@ The contents of the response from the Internet resource are returned as a @@ -565,7 +565,7 @@ The contents of the response from the Internet resource are returned as a @@ -635,7 +635,7 @@ The contents of the response from the Internet resource are returned as a @@ -878,7 +878,7 @@ The GetHashCode method returns a hash code of the web response instance. This va This example creates a Web request and queries for a response. If the site requires authentication, this example will respond with a challenge string. This string is extracted using . :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebResponse/GetResponseHeader/httpwebresponse_getresponseheader.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_GetResponseHeader/VB/httpwebresponse_getresponseheader.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebResponse/GetResponseHeader/httpwebresponse_getresponseheader.vb" id="Snippet1"::: ]]> @@ -946,7 +946,7 @@ The GetHashCode method returns a hash code of the web response instance. This va The following example demonstrates how to use to return the instance used to read the response from the server. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebResponse/GetResponseStream/httpwebresponse_getresponsestream.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_GetResponseStream/VB/httpwebresponse_getresponsestream.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebResponse/GetResponseStream/httpwebresponse_getresponsestream.vb" id="Snippet1"::: ]]> @@ -1016,7 +1016,7 @@ The GetHashCode method returns a hash code of the web response instance. This va The following example writes the contents of all of the response headers to the console. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebResponse/Headers/httpwebresponse_headers.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_Headers/VB/httpwebresponse_headers.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebResponse/Headers/httpwebresponse_headers.vb" id="Snippet1"::: ]]> @@ -1128,7 +1128,7 @@ The GetHashCode method returns a hash code of the web response instance. This va This example creates an and queries for a response. This example then checks whether the entity requested had been modified any time today. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebResponse/LastModified/httpwebresponse_lastmodified.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_LastModified/VB/httpwebresponse_lastmodified.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebResponse/LastModified/httpwebresponse_lastmodified.vb" id="Snippet1"::: ]]> @@ -1192,7 +1192,7 @@ The GetHashCode method returns a hash code of the web response instance. This va The following example checks the string contained in , to determine the Http method invoked by the Web server. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebResponse/Method/httpwebresponse_method_server.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_Method_Server/VB/httpwebresponse_method_server.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebResponse/Method/httpwebresponse_method_server.vb" id="Snippet1"::: ]]> @@ -1252,7 +1252,7 @@ The GetHashCode method returns a hash code of the web response instance. This va This example creates an and queries for an . The example then checks to see if the server is responding with the same version. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebResponse/ProtocolVersion/httpwebresponse_protocolversion.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_ProtocolVersion/VB/httpwebresponse_protocolversion.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebResponse/ProtocolVersion/httpwebresponse_protocolversion.vb" id="Snippet1"::: ]]> @@ -1317,7 +1317,7 @@ The GetHashCode method returns a hash code of the web response instance. This va This example creates a and queries for an and then checks to see whether the original URI was redirected by the server. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebResponse/ResponseUri/httpwebresponse_responseuri.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_ResponseUri/VB/httpwebresponse_responseuri.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebResponse/ResponseUri/httpwebresponse_responseuri.vb" id="Snippet1"::: ]]> @@ -1377,7 +1377,7 @@ The GetHashCode method returns a hash code of the web response instance. This va The following example uses the property to display the Web server's name to the console. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebResponse/Method/httpwebresponse_method_server.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_Method_Server/VB/httpwebresponse_method_server.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebResponse/Method/httpwebresponse_method_server.vb" id="Snippet2"::: ]]> @@ -1441,7 +1441,7 @@ The GetHashCode method returns a hash code of the web response instance. This va The following example uses to verify that the status of the is OK. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebResponse/StatusCode/httpwebresponse_statuscode_statusdescription.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_StatusCode_StatusDescription/VB/httpwebresponse_statuscode_statusdescription.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebResponse/StatusCode/httpwebresponse_statuscode_statusdescription.vb" id="Snippet1"::: ]]> @@ -1505,7 +1505,7 @@ The GetHashCode method returns a hash code of the web response instance. This va The following example uses to verify that the status of the is OK. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebResponse/StatusCode/httpwebresponse_statuscode_statusdescription.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebResponse_StatusCode_StatusDescription/VB/httpwebresponse_statuscode_statusdescription.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebResponse/StatusCode/httpwebresponse_statuscode_statusdescription.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Net/IAuthenticationModule.xml b/xml/System.Net/IAuthenticationModule.xml index f270ff9c46c..518dccc46f9 100644 --- a/xml/System.Net/IAuthenticationModule.xml +++ b/xml/System.Net/IAuthenticationModule.xml @@ -57,7 +57,7 @@ The following example creates a customized authentication class by implementing the interface. For a complete example refer to the class. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationManager/Overview/custombasicauthentication.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Authentication/VB/custombasicauthentication.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationManager/Overview/custombasicauthentication.vb" id="Snippet6"::: ]]> @@ -129,7 +129,7 @@ The following example shows how to use the method. For a complete example refer to the class. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationManager/Overview/custombasicauthentication.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Authentication/VB/custombasicauthentication.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationManager/Overview/custombasicauthentication.vb" id="Snippet3"::: ]]> @@ -188,7 +188,7 @@ The following example shows how to use the property. For a complete example refer to the class. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationManager/Overview/custombasicauthentication.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Authentication/VB/custombasicauthentication.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationManager/Overview/custombasicauthentication.vb" id="Snippet7"::: ]]> @@ -245,7 +245,7 @@ The following example shows how to use the property. For a complete example refer to the class. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationManager/Overview/custombasicauthentication.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Authentication/VB/custombasicauthentication.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationManager/Overview/custombasicauthentication.vb" id="Snippet7"::: ]]> @@ -317,7 +317,7 @@ The following example shows how to use the method. For a complete example refer to the class. :::code language="csharp" source="~/snippets/csharp/System.Net/AuthenticationManager/Overview/custombasicauthentication.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Authentication/VB/custombasicauthentication.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/AuthenticationManager/Overview/custombasicauthentication.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Net/ICertificatePolicy.xml b/xml/System.Net/ICertificatePolicy.xml index 2044be7be5b..86d7cd1df3c 100644 --- a/xml/System.Net/ICertificatePolicy.xml +++ b/xml/System.Net/ICertificatePolicy.xml @@ -30,7 +30,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic ICertificatePolicy Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Net/ICertificatePolicy/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic ICertificatePolicy Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/ICertificatePolicy/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net/ICredentials.xml b/xml/System.Net/ICredentials.xml index 605d0503c79..8f259a14d4a 100644 --- a/xml/System.Net/ICredentials.xml +++ b/xml/System.Net/ICredentials.xml @@ -62,7 +62,7 @@ The following example illustrates how to use the interface. :::code language="csharp" source="~/snippets/csharp/System.Net/ICredentials/Overview/icredential.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ICredential/VB/icredential.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/ICredentials/Overview/icredential.vb" id="Snippet1"::: ]]> @@ -131,7 +131,7 @@ The following uses to retrieve a instance. :::code language="csharp" source="~/snippets/csharp/System.Net/ICredentials/Overview/icredential.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ICredential/VB/icredential.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/ICredentials/Overview/icredential.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net/IPAddress.xml b/xml/System.Net/IPAddress.xml index 817e73e22e8..16567a220e3 100644 --- a/xml/System.Net/IPAddress.xml +++ b/xml/System.Net/IPAddress.xml @@ -103,7 +103,7 @@ The following code example shows how to query a server to obtain the family addresses and the IP addresses it supports. :::code language="csharp" source="~/snippets/csharp/System.Net/IPAddress/Overview/ipaddress.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPAddress/VB/ipaddress.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPAddress/Overview/ipaddress.vb" id="Snippet1"::: ]]> @@ -538,7 +538,7 @@ Refer to the example in the class topic. :::code language="csharp" source="~/snippets/csharp/System.Net/IPAddress/Overview/ipaddress.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPAddress/VB/ipaddress.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPAddress/Overview/ipaddress.vb" id="Snippet3"::: ]]> @@ -662,7 +662,7 @@ The following example prints the address to the console. :::code language="csharp" source="~/snippets/csharp/System.Net/IPAddress/Broadcast/ipaddress_broadcast_loopback.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IPAddress_Broadcast_Loopback/VB/ipaddress_broadcast_loopback.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPAddress/Broadcast/ipaddress_broadcast_loopback.vb" id="Snippet2"::: ]]> @@ -789,7 +789,7 @@ The following code example shows how to get a server IP address in byte format. :::code language="csharp" source="~/snippets/csharp/System.Net/IPAddress/Overview/ipaddress.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPAddress/VB/ipaddress.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPAddress/Overview/ipaddress.vb" id="Snippet2"::: ]]> @@ -1094,7 +1094,7 @@ The following code example displays the value of the current host's Any address in standard compressed format. :::code language="csharp" source="~/snippets/csharp/System.Net/IPAddress/IPv6Any/noneanyloopback.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPAddress.IPv6NoneAnyLoopback/VB/noneanyloopback.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPAddress/IPv6Any/noneanyloopback.vb" id="Snippet2"::: ]]> @@ -1159,7 +1159,7 @@ The following code example displays the value of the current host's loopback address in standard compressed format. :::code language="csharp" source="~/snippets/csharp/System.Net/IPAddress/IPv6Any/noneanyloopback.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPAddress.IPv6NoneAnyLoopback/VB/noneanyloopback.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPAddress/IPv6Any/noneanyloopback.vb" id="Snippet1"::: ]]> @@ -1224,7 +1224,7 @@ The following code example displays the value of the current host's None address in standard compressed format. :::code language="csharp" source="~/snippets/csharp/System.Net/IPAddress/IPv6Any/noneanyloopback.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPAddress.IPv6NoneAnyLoopback/VB/noneanyloopback.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPAddress/IPv6Any/noneanyloopback.vb" id="Snippet3"::: ]]> @@ -1570,7 +1570,7 @@ The following code example uses the method to determine whether the specified address is a loopback address. :::code language="csharp" source="~/snippets/csharp/System.Net/IPAddress/IsLoopback/isloopback.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPAddress.IsLoopback/VB/isloopback.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPAddress/IsLoopback/isloopback.vb" id="Snippet1"::: ]]> @@ -1703,7 +1703,7 @@ The following example prints the address to the console. :::code language="csharp" source="~/snippets/csharp/System.Net/IPAddress/Broadcast/ipaddress_broadcast_loopback.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IPAddress_Broadcast_Loopback/VB/ipaddress_broadcast_loopback.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPAddress/Broadcast/ipaddress_broadcast_loopback.vb" id="Snippet1"::: ]]> @@ -1893,7 +1893,7 @@ The following example uses the method to convert a short value from network byte order to host byte order. :::code language="csharp" source="~/snippets/csharp/System.Net/IPAddress/NetworkToHostOrder/ipaddress_networktohost.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IPAddress_NetworkToHost/VB/ipaddress_networktohost.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPAddress/NetworkToHostOrder/ipaddress_networktohost.vb" id="Snippet1"::: ]]> @@ -1966,7 +1966,7 @@ The following example uses the method to convert an integer value from network byte order to host byte order. :::code language="csharp" source="~/snippets/csharp/System.Net/IPAddress/NetworkToHostOrder/ipaddress_networktohost.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IPAddress_NetworkToHost/VB/ipaddress_networktohost.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPAddress/NetworkToHostOrder/ipaddress_networktohost.vb" id="Snippet2"::: ]]> @@ -2039,7 +2039,7 @@ The following example uses the method to convert a long value from network byte order to host byte order. :::code language="csharp" source="~/snippets/csharp/System.Net/IPAddress/NetworkToHostOrder/ipaddress_networktohost.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IPAddress_NetworkToHost/VB/ipaddress_networktohost.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPAddress/NetworkToHostOrder/ipaddress_networktohost.vb" id="Snippet3"::: ]]> @@ -2105,7 +2105,7 @@ The following example uses the property to indicate that no network interface should be used. :::code language="csharp" source="~/snippets/csharp/System.Net/IPAddress/None/ipaddress_none.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IPAddress_None/VB/ipaddress_none.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPAddress/None/ipaddress_none.vb" id="Snippet1"::: ]]> @@ -2225,7 +2225,7 @@ The following code converts a string that contains an IP address, in dotted-quad notation for IPv4 or in colon-hexadecimal notation for IPv6, into an instance of the class. Then it uses the overloaded method to display the address in standard notation. :::code language="csharp" source="~/snippets/csharp/System.Net/IPAddress/Parse/parse.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPAddress.Parse/VB/parse.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPAddress/Parse/parse.vb" id="Snippet1"::: ]]> @@ -2354,7 +2354,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Net/IPAddress/Overview/ipaddress.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPAddress/VB/ipaddress.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPAddress/Overview/ipaddress.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Net/IPEndPoint.xml b/xml/System.Net/IPEndPoint.xml index 9abed0a45f2..683b69b6e4a 100644 --- a/xml/System.Net/IPEndPoint.xml +++ b/xml/System.Net/IPEndPoint.xml @@ -69,7 +69,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Net/IPEndPoint/Overview/ipendpoint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPEndPoint/VB/ipendpoint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPEndPoint/Overview/ipendpoint.vb" id="Snippet1"::: ]]> @@ -136,7 +136,7 @@ The following example uses the specified IP address and port number to create an . :::code language="csharp" source="~/snippets/csharp/System.Net/IPEndPoint/.ctor/ipendpoint_properties.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IPEndPoint_Properties/VB/ipendpoint_properties.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPEndPoint/.ctor/ipendpoint_properties.vb" id="Snippet4"::: ]]> @@ -201,7 +201,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Net/IPEndPoint/Overview/ipendpoint.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPEndPoint/VB/ipendpoint.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPEndPoint/Overview/ipendpoint.vb" id="Snippet2"::: ]]> @@ -274,7 +274,7 @@ The following example sets the property using the specified. :::code language="csharp" source="~/snippets/csharp/System.Net/IPEndPoint/Overview/ipendpoint.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPEndPoint/VB/ipendpoint.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPEndPoint/Overview/ipendpoint.vb" id="Snippet3"::: ]]> @@ -329,7 +329,7 @@ The following example uses the property to return the to which the belongs. In this case it is the . :::code language="csharp" source="~/snippets/csharp/System.Net/IPEndPoint/Overview/ipendpoint.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPEndPoint/VB/ipendpoint.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPEndPoint/Overview/ipendpoint.vb" id="Snippet3"::: ]]> @@ -389,7 +389,7 @@ The following example uses the specified to create an . :::code language="csharp" source="~/snippets/csharp/System.Net/IPEndPoint/Overview/ipendpoint.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPEndPoint/VB/ipendpoint.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPEndPoint/Overview/ipendpoint.vb" id="Snippet5"::: ]]> @@ -563,7 +563,7 @@ The following example uses the property to print the maximum value that can be assigned to the property. :::code language="csharp" source="~/snippets/csharp/System.Net/IPEndPoint/.ctor/ipendpoint_properties.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IPEndPoint_Properties/VB/ipendpoint_properties.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPEndPoint/.ctor/ipendpoint_properties.vb" id="Snippet4"::: ]]> @@ -618,7 +618,7 @@ The following example uses the property to print the minimum value that can be assigned to the property. :::code language="csharp" source="~/snippets/csharp/System.Net/IPEndPoint/.ctor/ipendpoint_properties.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IPEndPoint_Properties/VB/ipendpoint_properties.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPEndPoint/.ctor/ipendpoint_properties.vb" id="Snippet4"::: ]]> @@ -801,7 +801,7 @@ Literal IPv6 addresses require to be enclosed in square brackets [] when passing The following example uses the property to set TCP port number of the . :::code language="csharp" source="~/snippets/csharp/System.Net/IPEndPoint/Overview/ipendpoint.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPEndPoint/VB/ipendpoint.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPEndPoint/Overview/ipendpoint.vb" id="Snippet3"::: ]]> @@ -858,7 +858,7 @@ Literal IPv6 addresses require to be enclosed in square brackets [] when passing The following example uses the method to serialize endpoint information into a instance. :::code language="csharp" source="~/snippets/csharp/System.Net/IPEndPoint/Overview/ipendpoint.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPEndPoint/VB/ipendpoint.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPEndPoint/Overview/ipendpoint.vb" id="Snippet4"::: ]]> @@ -915,7 +915,7 @@ Literal IPv6 addresses require to be enclosed in square brackets [] when passing The following example returns a string representation of the IP address and port number of the specified . :::code language="csharp" source="~/snippets/csharp/System.Net/IPEndPoint/Overview/ipendpoint.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.IPEndPoint/VB/ipendpoint.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPEndPoint/Overview/ipendpoint.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Net/IPHostEntry.xml b/xml/System.Net/IPHostEntry.xml index 00500ffc1a3..dccfa0295c0 100644 --- a/xml/System.Net/IPHostEntry.xml +++ b/xml/System.Net/IPHostEntry.xml @@ -64,7 +64,7 @@ The following example queries the DNS database for information on the host `www.contoso.com` and returns the information in an instance. :::code language="csharp" source="~/snippets/csharp/System.Net/Dns/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic Dns Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/Dns/Overview/source.vb" id="Snippet1"::: ]]> @@ -171,7 +171,7 @@ The following example uses the property to access the IP addresses that are associated with the . :::code language="csharp" source="~/snippets/csharp/System.Net/IPHostEntry/AddressList/iphostentry_addresslist.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IPHostEntry_AddressList/VB/iphostentry_addresslist.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPHostEntry/AddressList/iphostentry_addresslist.vb" id="Snippet1"::: ]]> @@ -290,7 +290,7 @@ The following example uses the property to retrieve the primary host name. :::code language="csharp" source="~/snippets/csharp/System.Net/IPHostEntry/AddressList/iphostentry_addresslist.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IPHostEntry_AddressList/VB/iphostentry_addresslist.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IPHostEntry/AddressList/iphostentry_addresslist.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net/IWebProxy.xml b/xml/System.Net/IWebProxy.xml index 9d5a29167f7..fe775d7e358 100644 --- a/xml/System.Net/IWebProxy.xml +++ b/xml/System.Net/IWebProxy.xml @@ -112,7 +112,7 @@ The following example uses the property to set the credentials that will be submitted to the proxy server for authentication. :::code language="csharp" source="~/snippets/csharp/System.Net/IWebProxy/Credentials/iwebproxy_interface.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IWebProxy_Interface/VB/iwebproxy_interface.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IWebProxy/Credentials/iwebproxy_interface.vb" id="Snippet1"::: ]]> @@ -175,7 +175,7 @@ The following example uses the method to return the URI that the uses to access the Internet resource. :::code language="csharp" source="~/snippets/csharp/System.Net/IWebProxy/Credentials/iwebproxy_interface.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IWebProxy_Interface/VB/iwebproxy_interface.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IWebProxy/Credentials/iwebproxy_interface.vb" id="Snippet4"::: ]]> @@ -238,7 +238,7 @@ The following example uses the property to determine whether the proxy server should be used for the specified host. :::code language="csharp" source="~/snippets/csharp/System.Net/IWebProxy/Credentials/iwebproxy_interface.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IWebProxy_Interface/VB/iwebproxy_interface.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/IWebProxy/Credentials/iwebproxy_interface.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Net/NetworkCredential.xml b/xml/System.Net/NetworkCredential.xml index 5b7b56fdb9f..b24992e24b6 100644 --- a/xml/System.Net/NetworkCredential.xml +++ b/xml/System.Net/NetworkCredential.xml @@ -90,7 +90,7 @@ The following code example associates a object with a set of Uniform Resource Identifiers (URIs) in a . It then passes the to a object, which uses it to authenticate requests to an Internet server. :::code language="csharp" source="~/snippets/csharp/System.Net/NetworkCredential/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic NetworkCredential Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/NetworkCredential/Overview/source.vb" id="Snippet1"::: ]]> @@ -286,7 +286,7 @@ The following code example creates a object using the specified user name and password. :::code language="csharp" source="~/snippets/csharp/System.Net/NetworkCredential/.ctor/networkcredential_constructor2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NetworkCredential_Constructor2/VB/networkcredential_constructor2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/NetworkCredential/.ctor/networkcredential_constructor2.vb" id="Snippet1"::: ]]> @@ -472,7 +472,7 @@ The following code example uses the property to set the domain associated with the credentials. :::code language="csharp" source="~/snippets/csharp/System.Net/NetworkCredential/Domain/networkcredential_username_password_domain.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NetworkCredential_UserName_Password_Domain/VB/networkcredential_username_password_domain.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/NetworkCredential/Domain/networkcredential_username_password_domain.vb" id="Snippet1"::: ]]> @@ -621,7 +621,7 @@ The following code example uses the method to retrieve a object for the specified URI. :::code language="csharp" source="~/snippets/csharp/System.Net/NetworkCredential/GetCredential/networkcredential_getcredential.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NetworkCredential_GetCredential/VB/networkcredential_getcredential.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/NetworkCredential/GetCredential/networkcredential_getcredential.vb" id="Snippet1"::: ]]> @@ -678,7 +678,7 @@ The following code example uses the property to set the password associated with the credentials. :::code language="csharp" source="~/snippets/csharp/System.Net/NetworkCredential/Domain/networkcredential_username_password_domain.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NetworkCredential_UserName_Password_Domain/VB/networkcredential_username_password_domain.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/NetworkCredential/Domain/networkcredential_username_password_domain.vb" id="Snippet1"::: ]]> @@ -791,7 +791,7 @@ The following code example uses the property to set the user name associated with the credentials. :::code language="csharp" source="~/snippets/csharp/System.Net/NetworkCredential/Domain/networkcredential_username_password_domain.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NetworkCredential_UserName_Password_Domain/VB/networkcredential_username_password_domain.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/NetworkCredential/Domain/networkcredential_username_password_domain.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net/OpenReadCompletedEventArgs.xml b/xml/System.Net/OpenReadCompletedEventArgs.xml index c62237dce05..99c571b096a 100644 --- a/xml/System.Net/OpenReadCompletedEventArgs.xml +++ b/xml/System.Net/OpenReadCompletedEventArgs.xml @@ -64,12 +64,12 @@ The following code example demonstrates downloading a resource for reading. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet30"::: The following method is called when the download completes. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet31"::: ]]> @@ -127,7 +127,7 @@ The following code example uses the stream returned by this property. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet31"::: ]]> diff --git a/xml/System.Net/OpenReadCompletedEventHandler.xml b/xml/System.Net/OpenReadCompletedEventHandler.xml index feeb2b2652f..0a701b1ea1e 100644 --- a/xml/System.Net/OpenReadCompletedEventHandler.xml +++ b/xml/System.Net/OpenReadCompletedEventHandler.xml @@ -66,12 +66,12 @@ The following code example demonstrates downloading a resource for reading. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet30"::: The following method is called when the download completes. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet31"::: ]]> diff --git a/xml/System.Net/OpenWriteCompletedEventArgs.xml b/xml/System.Net/OpenWriteCompletedEventArgs.xml index 74cdd9d89f1..4f1864931f9 100644 --- a/xml/System.Net/OpenWriteCompletedEventArgs.xml +++ b/xml/System.Net/OpenWriteCompletedEventArgs.xml @@ -64,12 +64,12 @@ The following code example demonstrates opening a stream to write data to be uploaded. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet16"::: The following method is called when the stream is available. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet15"::: ]]> @@ -127,7 +127,7 @@ The following code example uses the stream returned by this property. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet15"::: ]]> diff --git a/xml/System.Net/OpenWriteCompletedEventHandler.xml b/xml/System.Net/OpenWriteCompletedEventHandler.xml index 37a8ed22fb2..d065c1e4279 100644 --- a/xml/System.Net/OpenWriteCompletedEventHandler.xml +++ b/xml/System.Net/OpenWriteCompletedEventHandler.xml @@ -66,12 +66,12 @@ The following code example demonstrates opening a stream to write data to be uploaded. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet16"::: The following method is called when the stream is available. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet15"::: ]]> diff --git a/xml/System.Net/ServicePoint.xml b/xml/System.Net/ServicePoint.xml index 9c377fab322..45b0ddb38e3 100644 --- a/xml/System.Net/ServicePoint.xml +++ b/xml/System.Net/ServicePoint.xml @@ -77,7 +77,7 @@ The following code example creates a object that connects to the URI `www.contoso.com`. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ServicePoint/servicepoint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb" id="Snippet1"::: ]]> @@ -131,7 +131,7 @@ The following code example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ServicePoint/servicepoint.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb" id="Snippet2"::: ]]> @@ -269,7 +269,7 @@ Although a object can make multiple connections t The following code example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ServicePoint/servicepoint.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb" id="Snippet5"::: ]]> @@ -334,7 +334,7 @@ Although a object can make multiple connections t The following code example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ServicePoint/servicepoint.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb" id="Snippet5"::: ]]> @@ -467,7 +467,7 @@ Although a object can make multiple connections t The following code example sets the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net/ServicePoint/ConnectionLeaseTimeout/nclservicepoint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLServicePoint/VB/nclservicepoint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/ServicePoint/ConnectionLeaseTimeout/nclservicepoint.vb" id="Snippet1"::: ]]> @@ -535,7 +535,7 @@ Although a object can make multiple connections t The following code example uses the property to check the maximum number of connections that the object can make to the specified Uniform Resource Identifier (URI). :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ServicePoint/servicepoint.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb" id="Snippet4"::: ]]> @@ -605,7 +605,7 @@ Although a object can make multiple connections t ## Examples :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ServicePoint/servicepoint.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb" id="Snippet4"::: ]]> @@ -669,7 +669,7 @@ Although a object can make multiple connections t The following code example uses the property to determine the number of open Internet connections associated with this object. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ServicePoint/servicepoint.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb" id="Snippet2"::: ]]> @@ -751,7 +751,7 @@ Although a object can make multiple connections t The following code example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ServicePoint/servicepoint.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb" id="Snippet9"::: ]]> @@ -859,7 +859,7 @@ The `GetHashCode` method returns a hash code of this instance. This value can be The following code example uses the property to set and retrieve the date and time that the object was last connected to a host. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ServicePoint/servicepoint.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb" id="Snippet3"::: ]]> @@ -926,7 +926,7 @@ The `GetHashCode` method returns a hash code of this instance. This value can be The following code example uses the property to set and retrieve the idle time. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ServicePoint/servicepoint.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb" id="Snippet3"::: ]]> @@ -991,7 +991,7 @@ The `GetHashCode` method returns a hash code of this instance. This value can be The following code example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ServicePoint/servicepoint.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb" id="Snippet5"::: ]]> @@ -1059,7 +1059,7 @@ The `GetHashCode` method returns a hash code of this instance. This value can be The following code example sets the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net/ServicePoint/ConnectionLeaseTimeout/nclservicepoint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLServicePoint/VB/nclservicepoint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/ServicePoint/ConnectionLeaseTimeout/nclservicepoint.vb" id="Snippet1"::: ]]> @@ -1202,7 +1202,7 @@ The `GetHashCode` method returns a hash code of this instance. This value can be The following code example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ServicePoint/servicepoint.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb" id="Snippet5"::: ]]> @@ -1280,7 +1280,7 @@ The `GetHashCode` method returns a hash code of this instance. This value can be The following code example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ServicePoint/servicepoint.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Net/ServicePointManager.xml b/xml/System.Net/ServicePointManager.xml index af6ad8fafdc..3451f99a22c 100644 --- a/xml/System.Net/ServicePointManager.xml +++ b/xml/System.Net/ServicePointManager.xml @@ -77,7 +77,7 @@ The following code example creates a object for connections to the URI `www.contoso.com`. :::code language="csharp" source="~/snippets/csharp/System.Net/ServicePointManager/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic ServicePoint Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/ServicePointManager/Overview/source.vb" id="Snippet1"::: ]]> @@ -137,7 +137,7 @@ The following code example shows how to catch a certificate policy exception for a custom certificate policy. It assumes that the certificate policy object has been defined, that the Uniform Resource Identifier (URI) for the Web resource is contained in the variable `myUri`, and that there is a method named `ProcessResponse` that performs the work of the application. :::code language="csharp" source="~/snippets/csharp/System.Net/ServicePointManager/CertificatePolicy/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic ServicePointManager.CertificatePolicy Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/ServicePointManager/CertificatePolicy/source.vb" id="Snippet1"::: ]]> @@ -200,7 +200,7 @@ The following code example sets this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ServicePoint/servicepoint.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb" id="Snippet10"::: ]]> @@ -273,7 +273,7 @@ The following code example sets this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ServicePoint/servicepoint.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb" id="Snippet10"::: ]]> @@ -375,7 +375,7 @@ The following code example sets the property using this field. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ServicePoint/servicepoint.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb" id="Snippet10"::: ]]> @@ -432,7 +432,7 @@ The following code example sets this property. :::code language="csharp" source="~/snippets/csharp/System.Net/ServicePointManager/DnsRefreshTimeout/servicepoint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePointWhidbey/VB/servicepoint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/ServicePointManager/DnsRefreshTimeout/servicepoint.vb" id="Snippet1"::: ]]> @@ -493,7 +493,7 @@ The following code example sets this property. :::code language="csharp" source="~/snippets/csharp/System.Net/ServicePointManager/DnsRefreshTimeout/servicepoint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePointWhidbey/VB/servicepoint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/ServicePointManager/DnsRefreshTimeout/servicepoint.vb" id="Snippet1"::: ]]> @@ -629,7 +629,7 @@ The following code example sets this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ServicePoint/servicepoint.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb" id="Snippet10"::: ]]> @@ -788,7 +788,7 @@ The following code example demonstrates calling this method to access a object. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ServicePoint/servicepoint.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb" id="Snippet7"::: ]]> @@ -929,7 +929,7 @@ The following code example sets this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ServicePoint/servicepoint.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb" id="Snippet8"::: ]]> @@ -999,7 +999,7 @@ The following code example sets this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ServicePoint/servicepoint.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb" id="Snippet8"::: ]]> @@ -1335,7 +1335,7 @@ Each callback returns a value that indicates whether the certificate is accepted The following code example sets this property. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/ServicePoint/servicepoint.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Net.ServicePoint/VB/servicepoint.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/HttpWebRequest/ServicePoint/servicepoint.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Net/SocketAddress.xml b/xml/System.Net/SocketAddress.xml index bdc6e92fd20..380cf10f7d2 100644 --- a/xml/System.Net/SocketAddress.xml +++ b/xml/System.Net/SocketAddress.xml @@ -69,7 +69,7 @@ The following example demonstrates how to use to serialize an instance of the class. After serialization, the underlying byte buffer of the contains all of the state information. :::code language="csharp" source="~/snippets/csharp/System.Net/SocketAddress/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic SocketAddressExample/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/SocketAddress/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net/UploadDataCompletedEventArgs.xml b/xml/System.Net/UploadDataCompletedEventArgs.xml index 6ef0fc92fe1..d7f6a56d111 100644 --- a/xml/System.Net/UploadDataCompletedEventArgs.xml +++ b/xml/System.Net/UploadDataCompletedEventArgs.xml @@ -60,12 +60,12 @@ The following code example demonstrates asynchronously uploading data. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet34"::: The following method is called when the upload completes. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet35"::: ]]> @@ -120,7 +120,7 @@ The following code example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet35"::: ]]> diff --git a/xml/System.Net/UploadDataCompletedEventHandler.xml b/xml/System.Net/UploadDataCompletedEventHandler.xml index 014507b9a79..347919e01ce 100644 --- a/xml/System.Net/UploadDataCompletedEventHandler.xml +++ b/xml/System.Net/UploadDataCompletedEventHandler.xml @@ -62,12 +62,12 @@ The following code example demonstrates asynchronously uploading data. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet34"::: The following method is called when the upload completes. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet35"::: ]]> diff --git a/xml/System.Net/UploadFileCompletedEventArgs.xml b/xml/System.Net/UploadFileCompletedEventArgs.xml index 83617fe377e..4488599ef72 100644 --- a/xml/System.Net/UploadFileCompletedEventArgs.xml +++ b/xml/System.Net/UploadFileCompletedEventArgs.xml @@ -60,12 +60,12 @@ The following code example demonstrates asynchronously uploading a file. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet4"::: The following method is called when the upload completes. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet5"::: ]]> @@ -120,7 +120,7 @@ The following code example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Net/UploadFileCompletedEventHandler.xml b/xml/System.Net/UploadFileCompletedEventHandler.xml index c44d3c7a1e4..dda01b568da 100644 --- a/xml/System.Net/UploadFileCompletedEventHandler.xml +++ b/xml/System.Net/UploadFileCompletedEventHandler.xml @@ -62,12 +62,12 @@ The following code example demonstrates asynchronously uploading a file. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet6"::: The following method is called when the upload completes. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Net/UploadStringCompletedEventArgs.xml b/xml/System.Net/UploadStringCompletedEventArgs.xml index 314f6399cb0..96b5ccf709b 100644 --- a/xml/System.Net/UploadStringCompletedEventArgs.xml +++ b/xml/System.Net/UploadStringCompletedEventArgs.xml @@ -64,12 +64,12 @@ The following code example demonstrates asynchronously uploading a string. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet38"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet38"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet38"::: The following method is called when the upload completes. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet39"::: ]]> @@ -127,7 +127,7 @@ The following code example displays the value of this property. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet39"::: ]]> diff --git a/xml/System.Net/UploadStringCompletedEventHandler.xml b/xml/System.Net/UploadStringCompletedEventHandler.xml index 2410b6b7dda..d4f6a52bd3f 100644 --- a/xml/System.Net/UploadStringCompletedEventHandler.xml +++ b/xml/System.Net/UploadStringCompletedEventHandler.xml @@ -66,12 +66,12 @@ The following code example demonstrates asynchronously uploading a string. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet38"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet38"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet38"::: The following method is called when the upload completes. :::code language="csharp" source="~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb" id="Snippet39"::: ]]> diff --git a/xml/System.Net/WebClient.xml b/xml/System.Net/WebClient.xml index b913c48f9fa..86f22d5d713 100644 --- a/xml/System.Net/WebClient.xml +++ b/xml/System.Net/WebClient.xml @@ -114,7 +114,7 @@ [!code-cpp[NCLWebClientUserAgent#1](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientUserAgent/CPP/useragent.cpp#1)] [!code-csharp[NCLWebClientUserAgent#1](~/snippets/csharp/System.Net/WebClient/Overview/useragent.cs#1)] - [!code-vb[NCLWebClientUserAgent#1](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientUserAgent/VB/useragent.vb#1)] + [!code-vb[NCLWebClientUserAgent#1](~/snippets/visualbasic/System.Net/WebClient/Overview/useragent.vb#1)] ]]> @@ -182,7 +182,7 @@ [!code-cpp[WebClient#1](~/snippets/cpp/VS_Snippets_Remoting/WebClient/CPP/webclient.cpp#1)] [!code-csharp[WebClient#1](~/snippets/csharp/System.Net/WebClient/.ctor/webclient.cs#1)] - [!code-vb[WebClient#1](~/snippets/visualbasic/VS_Snippets_Remoting/WebClient/VB/webclient.vb#1)] + [!code-vb[WebClient#1](~/snippets/visualbasic/System.Net/WebClient/.ctor/webclient.vb#1)] ]]> @@ -367,7 +367,7 @@ [!code-cpp[WebClient_BaseAddress_ResponseHeaders#1](~/snippets/cpp/VS_Snippets_Remoting/WebClient_BaseAddress_ResponseHeaders/CPP/webclient_baseaddress_responseheaders.cpp#1)] [!code-csharp[WebClient_BaseAddress_ResponseHeaders#1](~/snippets/csharp/System.Net/WebClient/BaseAddress/webclient_baseaddress_responseheaders.cs#1)] - [!code-vb[WebClient_BaseAddress_ResponseHeaders#1](~/snippets/visualbasic/VS_Snippets_Remoting/WebClient_BaseAddress_ResponseHeaders/VB/webclient_baseaddress_responseheaders.vb#1)] + [!code-vb[WebClient_BaseAddress_ResponseHeaders#1](~/snippets/visualbasic/System.Net/WebClient/BaseAddress/webclient_baseaddress_responseheaders.vb#1)] ]]> @@ -567,7 +567,7 @@ [!code-cpp[WebClientAuthentication#1](~/snippets/cpp/VS_Snippets_Remoting/WebClientAuthentication/CPP/webclientauth.cpp#1)] [!code-csharp[WebClientAuthentication#1](~/snippets/csharp/System.Net/WebClient/Credentials/webclientauth.cs#1)] - [!code-vb[WebClientAuthentication#1](~/snippets/visualbasic/VS_Snippets_Remoting/WebClientAuthentication/VB/webclientauth.vb#1)] + [!code-vb[WebClientAuthentication#1](~/snippets/visualbasic/System.Net/WebClient/Credentials/webclientauth.vb#1)] ]]> @@ -652,7 +652,7 @@ [!code-cpp[WebClient_DownloadData#1](~/snippets/cpp/VS_Snippets_Remoting/WebClient_DownloadData/CPP/webclient_downloaddata.cpp#1)] [!code-csharp[WebClient_DownloadData#1](~/snippets/csharp/System.Net/WebClient/DownloadData/webclient_downloaddata.cs#1)] - [!code-vb[WebClient_DownloadData#1](~/snippets/visualbasic/VS_Snippets_Remoting/WebClient_DownloadData/VB/webclient_downloaddata.vb#1)] + [!code-vb[WebClient_DownloadData#1](~/snippets/visualbasic/System.Net/WebClient/DownloadData/webclient_downloaddata.vb#1)] ]]> @@ -971,13 +971,13 @@ [!code-cpp[NCLWebClientAsync#21](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientAsync/CPP/asyncmethods.cpp#21)] [!code-csharp[NCLWebClientAsync#21](~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs#21)] - [!code-vb[NCLWebClientAsync#21](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb#21)] + [!code-vb[NCLWebClientAsync#21](~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb#21)] The following code example shows an implementation of a handler for this event. [!code-cpp[NCLWebClientAsync#22](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientAsync/CPP/asyncmethods.cpp#22)] [!code-csharp[NCLWebClientAsync#22](~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs#22)] - [!code-vb[NCLWebClientAsync#22](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb#22)] + [!code-vb[NCLWebClientAsync#22](~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb#22)] ]]> @@ -1228,7 +1228,7 @@ [!code-cpp[WebClient_DownloadFile#1](~/snippets/cpp/VS_Snippets_Remoting/WebClient_DownloadFile/CPP/webclient_downloadfile.cpp#1)] [!code-csharp[WebClient_DownloadFile#1](~/snippets/csharp/System.Net/WebClient/DownloadFile/webclient_downloadfile.cs#1)] - [!code-vb[WebClient_DownloadFile#1](~/snippets/visualbasic/VS_Snippets_Remoting/WebClient_DownloadFile/VB/webclient_downloadfile.vb#1)] + [!code-vb[WebClient_DownloadFile#1](~/snippets/visualbasic/System.Net/WebClient/DownloadFile/webclient_downloadfile.vb#1)] ]]> @@ -1590,7 +1590,7 @@ [!code-cpp[NCLWebClientAsync#19](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientAsync/CPP/asyncmethods.cpp#19)] [!code-csharp[NCLWebClientAsync#19](~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs#19)] - [!code-vb[NCLWebClientAsync#19](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb#19)] + [!code-vb[NCLWebClientAsync#19](~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb#19)] ]]> @@ -1868,7 +1868,7 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[DownloadProgressChanged](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientAsync/CPP/asyncmethods.cpp#SnippetDownloadProgressChanged)] [!code-csharp[DownloadProgressChanged](~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs#SnippetDownloadProgressChanged)] -[!code-vb[DownloadProgressChanged](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb#SnippetDownloadProgressChanged)] +[!code-vb[DownloadProgressChanged](~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb#SnippetDownloadProgressChanged)] ]]> @@ -1949,7 +1949,7 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[NCLWebClientAsync#25](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientAsync/CPP/asyncmethods.cpp#25)] [!code-csharp[NCLWebClientAsync#25](~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs#25)] - [!code-vb[NCLWebClientAsync#25](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb#25)] + [!code-vb[NCLWebClientAsync#25](~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb#25)] ]]> @@ -2274,13 +2274,13 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[NCLWebClientAsync#28](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientAsync/CPP/asyncmethods.cpp#28)] [!code-csharp[NCLWebClientAsync#28](~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs#28)] - [!code-vb[NCLWebClientAsync#28](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb#28)] + [!code-vb[NCLWebClientAsync#28](~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb#28)] The following code example shows an implementation of a handler for this event. [!code-cpp[NCLWebClientAsync#29](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientAsync/CPP/asyncmethods.cpp#29)] [!code-csharp[NCLWebClientAsync#29](~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs#29)] - [!code-vb[NCLWebClientAsync#29](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb#29)] + [!code-vb[NCLWebClientAsync#29](~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb#29)] ]]> @@ -2516,7 +2516,7 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[NCLWebClientAsync#1](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientAsync/CPP/asyncmethods.cpp#1)] [!code-csharp[NCLWebClientAsync#1](~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs#1)] - [!code-vb[NCLWebClientAsync#1](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb#1)] + [!code-vb[NCLWebClientAsync#1](~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb#1)] ]]> @@ -2826,7 +2826,7 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[WebClient_UpLoadData_Headers#2](~/snippets/cpp/VS_Snippets_Remoting/WebClient_UpLoadData_Headers/CPP/webclient_uploaddata_headers.cpp#2)] [!code-csharp[WebClient_UpLoadData_Headers#2](~/snippets/csharp/System.Net/WebClient/Headers/webclient_uploaddata_headers.cs#2)] - [!code-vb[WebClient_UpLoadData_Headers#2](~/snippets/visualbasic/VS_Snippets_Remoting/WebClient_UpLoadData_Headers/VB/webclient_uploaddata_headers.vb#2)] + [!code-vb[WebClient_UpLoadData_Headers#2](~/snippets/visualbasic/System.Net/WebClient/Headers/webclient_uploaddata_headers.vb#2)] ]]> @@ -3788,7 +3788,7 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[WebClient_OpenRead#1](~/snippets/cpp/VS_Snippets_Remoting/WebClient_OpenRead/CPP/webclient_openread.cpp#1)] [!code-csharp[WebClient_OpenRead#1](~/snippets/csharp/System.Net/WebClient/OpenRead/webclient_openread.cs#1)] - [!code-vb[WebClient_OpenRead#1](~/snippets/visualbasic/VS_Snippets_Remoting/WebClient_OpenRead/VB/webclient_openread.vb#1)] + [!code-vb[WebClient_OpenRead#1](~/snippets/visualbasic/System.Net/WebClient/OpenRead/webclient_openread.vb#1)] ]]> @@ -4128,13 +4128,13 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[NCLWebClientAsync#30](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientAsync/CPP/asyncmethods.cpp#30)] [!code-csharp[NCLWebClientAsync#30](~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs#30)] - [!code-vb[NCLWebClientAsync#30](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb#30)] + [!code-vb[NCLWebClientAsync#30](~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb#30)] The following code example shows an implementation of a handler for this event. [!code-cpp[NCLWebClientAsync#31](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientAsync/CPP/asyncmethods.cpp#31)] [!code-csharp[NCLWebClientAsync#31](~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs#31)] - [!code-vb[NCLWebClientAsync#31](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb#31)] + [!code-vb[NCLWebClientAsync#31](~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb#31)] ]]> @@ -4400,7 +4400,7 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[WebClient_OpenWrite2#1](~/snippets/cpp/VS_Snippets_Remoting/WebClient_OpenWrite2/CPP/webclient_openwrite2.cpp#1)] [!code-csharp[WebClient_OpenWrite2#1](~/snippets/csharp/System.Net/WebClient/OpenWrite/webclient_openwrite2.cs#1)] - [!code-vb[WebClient_OpenWrite2#1](~/snippets/visualbasic/VS_Snippets_Remoting/WebClient_OpenWrite2/VB/webclient_openwrite2.vb#1)] + [!code-vb[WebClient_OpenWrite2#1](~/snippets/visualbasic/System.Net/WebClient/OpenWrite/webclient_openwrite2.vb#1)] ]]> @@ -4564,7 +4564,7 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[WebClient_OpenWrite#1](~/snippets/cpp/VS_Snippets_Remoting/WebClient_OpenWrite/CPP/webclient_openwrite.cpp#1)] [!code-csharp[WebClient_OpenWrite#1](~/snippets/csharp/System.Net/WebClient/OpenWrite/webclient_openwrite.cs#1)] - [!code-vb[WebClient_OpenWrite#1](~/snippets/visualbasic/VS_Snippets_Remoting/WebClient_OpenWrite/VB/webclient_openwrite.vb#1)] + [!code-vb[WebClient_OpenWrite#1](~/snippets/visualbasic/System.Net/WebClient/OpenWrite/webclient_openwrite.vb#1)] ]]> @@ -4972,13 +4972,13 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[NCLWebClientAsync#14](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientAsync/CPP/asyncmethods.cpp#14)] [!code-csharp[NCLWebClientAsync#14](~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs#14)] - [!code-vb[NCLWebClientAsync#14](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb#14)] + [!code-vb[NCLWebClientAsync#14](~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb#14)] The following code example shows an implementation of a handler for this event. [!code-cpp[NCLWebClientAsync#15](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientAsync/CPP/asyncmethods.cpp#15)] [!code-csharp[NCLWebClientAsync#15](~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs#15)] - [!code-vb[NCLWebClientAsync#15](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb#15)] + [!code-vb[NCLWebClientAsync#15](~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb#15)] ]]> @@ -5478,7 +5478,7 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[WebClient_QueryString#1](~/snippets/cpp/VS_Snippets_Remoting/WebClient_QueryString/CPP/webclient_querystring.cpp#1)] [!code-csharp[WebClient_QueryString#1](~/snippets/csharp/System.Net/WebClient/QueryString/webclient_querystring.cs#1)] - [!code-vb[WebClient_QueryString#1](~/snippets/visualbasic/VS_Snippets_Remoting/WebClient_QueryString/VB/webclient_querystring.vb#1)] + [!code-vb[WebClient_QueryString#1](~/snippets/visualbasic/System.Net/WebClient/QueryString/webclient_querystring.vb#1)] ]]> @@ -5548,7 +5548,7 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[WebClient_BaseAddress_ResponseHeaders#2](~/snippets/cpp/VS_Snippets_Remoting/WebClient_BaseAddress_ResponseHeaders/CPP/webclient_baseaddress_responseheaders.cpp#2)] [!code-csharp[WebClient_BaseAddress_ResponseHeaders#2](~/snippets/csharp/System.Net/WebClient/BaseAddress/webclient_baseaddress_responseheaders.cs#2)] - [!code-vb[WebClient_BaseAddress_ResponseHeaders#2](~/snippets/visualbasic/VS_Snippets_Remoting/WebClient_BaseAddress_ResponseHeaders/VB/webclient_baseaddress_responseheaders.vb#2)] + [!code-vb[WebClient_BaseAddress_ResponseHeaders#2](~/snippets/visualbasic/System.Net/WebClient/BaseAddress/webclient_baseaddress_responseheaders.vb#2)] ]]> @@ -5634,7 +5634,7 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[WebClient_UpLoadData2#1](~/snippets/cpp/VS_Snippets_Remoting/WebClient_UpLoadData2/CPP/webclient_uploaddata2.cpp#1)] [!code-csharp[WebClient_UpLoadData2#1](~/snippets/csharp/System.Net/WebClient/UploadData/webclient_uploaddata2.cs#1)] - [!code-vb[WebClient_UpLoadData2#1](~/snippets/visualbasic/VS_Snippets_Remoting/WebClient_UpLoadData2/VB/webclient_uploaddata2.vb#1)] + [!code-vb[WebClient_UpLoadData2#1](~/snippets/visualbasic/System.Net/WebClient/UploadData/webclient_uploaddata2.vb#1)] ]]> @@ -5822,7 +5822,7 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[WebClient_UpLoadData_Headers#2](~/snippets/cpp/VS_Snippets_Remoting/WebClient_UpLoadData_Headers/CPP/webclient_uploaddata_headers.cpp#2)] [!code-csharp[WebClient_UpLoadData_Headers#2](~/snippets/csharp/System.Net/WebClient/Headers/webclient_uploaddata_headers.cs#2)] - [!code-vb[WebClient_UpLoadData_Headers#2](~/snippets/visualbasic/VS_Snippets_Remoting/WebClient_UpLoadData_Headers/VB/webclient_uploaddata_headers.vb#2)] + [!code-vb[WebClient_UpLoadData_Headers#2](~/snippets/visualbasic/System.Net/WebClient/Headers/webclient_uploaddata_headers.vb#2)] ]]> @@ -6289,13 +6289,13 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[NCLWebClientAsync#36](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientAsync/CPP/asyncmethods.cpp#36)] [!code-csharp[NCLWebClientAsync#36](~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs#36)] - [!code-vb[NCLWebClientAsync#36](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb#36)] + [!code-vb[NCLWebClientAsync#36](~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb#36)] The following code example shows an implementation of a handler for this event. [!code-cpp[NCLWebClientAsync#37](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientAsync/CPP/asyncmethods.cpp#37)] [!code-csharp[NCLWebClientAsync#37](~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs#37)] - [!code-vb[NCLWebClientAsync#37](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb#37)] + [!code-vb[NCLWebClientAsync#37](~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb#37)] ]]> @@ -6747,7 +6747,7 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[WebClient_UpLoadFile#1](~/snippets/cpp/VS_Snippets_Remoting/WebClient_UpLoadFile/CPP/webclient_uploadfile.cpp#1)] [!code-csharp[WebClient_UpLoadFile#1](~/snippets/csharp/System.Net/WebClient/UploadFile/webclient_uploadfile.cs#1)] - [!code-vb[WebClient_UpLoadFile#1](~/snippets/visualbasic/VS_Snippets_Remoting/WebClient_UpLoadFile/VB/webclient_uploadfile.vb#1)] + [!code-vb[WebClient_UpLoadFile#1](~/snippets/visualbasic/System.Net/WebClient/UploadFile/webclient_uploadfile.vb#1)] The following code example shows an ASP.NET page that can accept posted files and is suitable for use with the method. The page must reside on a Web server. Its address provides the value for the `address` parameter of the method. @@ -6954,7 +6954,7 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[WebClient_UpLoadFile2#1](~/snippets/cpp/VS_Snippets_Remoting/WebClient_UpLoadFile2/CPP/webclient_uploadfile2.cpp#1)] [!code-csharp[WebClient_UpLoadFile2#1](~/snippets/csharp/System.Net/WebClient/UploadFile/webclient_uploadfile2.cs#1)] - [!code-vb[WebClient_UpLoadFile2#1](~/snippets/visualbasic/VS_Snippets_Remoting/WebClient_UpLoadFile2/VB/webclient_uploadfile2.vb#1)] + [!code-vb[WebClient_UpLoadFile2#1](~/snippets/visualbasic/System.Net/WebClient/UploadFile/webclient_uploadfile2.vb#1)] The following code example shows an ASP.NET page that can accept posted files and is suitable for use with the method. The page must reside on a Web server. Its address provides the value for the `address` parameter of the method. @@ -7480,13 +7480,13 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[NCLWebClientAsync#4](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientAsync/CPP/asyncmethods.cpp#4)] [!code-csharp[NCLWebClientAsync#4](~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs#4)] - [!code-vb[NCLWebClientAsync#4](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb#4)] + [!code-vb[NCLWebClientAsync#4](~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb#4)] The following code example shows an implementation of a handler for this event. [!code-cpp[NCLWebClientAsync#5](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientAsync/CPP/asyncmethods.cpp#5)] [!code-csharp[NCLWebClientAsync#5](~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs#5)] - [!code-vb[NCLWebClientAsync#5](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb#5)] + [!code-vb[NCLWebClientAsync#5](~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb#5)] ]]> @@ -7975,13 +7975,13 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[NCLWebClientAsync#4](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientAsync/CPP/asyncmethods.cpp#4)] [!code-csharp[NCLWebClientAsync#4](~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs#4)] - [!code-vb[NCLWebClientAsync#4](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb#4)] + [!code-vb[NCLWebClientAsync#4](~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb#4)] The following code example shows an implementation of a handler for this event. [!code-cpp[NCLWebClientAsync#42](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientAsync/CPP/asyncmethods.cpp#42)] [!code-csharp[NCLWebClientAsync#42](~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs#42)] - [!code-vb[NCLWebClientAsync#42](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb#42)] + [!code-vb[NCLWebClientAsync#42](~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb#42)] ]]> @@ -8064,7 +8064,7 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[NCLWebClientAsync#1](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientAsync/CPP/asyncmethods.cpp#1)] [!code-csharp[NCLWebClientAsync#1](~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs#1)] - [!code-vb[NCLWebClientAsync#1](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb#1)] + [!code-vb[NCLWebClientAsync#1](~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb#1)] ]]> @@ -8237,7 +8237,7 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[NCLWebClientAsync#2](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientAsync/CPP/asyncmethods.cpp#2)] [!code-csharp[NCLWebClientAsync#2](~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs#2)] - [!code-vb[NCLWebClientAsync#2](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb#2)] + [!code-vb[NCLWebClientAsync#2](~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb#2)] ]]> @@ -8708,13 +8708,13 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[NCLWebClientAsync#38](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientAsync/CPP/asyncmethods.cpp#38)] [!code-csharp[NCLWebClientAsync#38](~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs#38)] - [!code-vb[NCLWebClientAsync#38](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb#38)] + [!code-vb[NCLWebClientAsync#38](~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb#38)] The following code example shows an implementation of a handler for this event. [!code-cpp[NCLWebClientAsync#39](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientAsync/CPP/asyncmethods.cpp#39)] [!code-csharp[NCLWebClientAsync#39](~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs#39)] - [!code-vb[NCLWebClientAsync#39](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb#39)] + [!code-vb[NCLWebClientAsync#39](~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb#39)] ]]> @@ -9172,7 +9172,7 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[WebClient_UploadValues#1](~/snippets/cpp/VS_Snippets_Remoting/WebClient_UploadValues/CPP/webclient_uploadvalues.cpp#1)] [!code-csharp[WebClient_UploadValues#1](~/snippets/csharp/System.Net/WebClient/UploadValues/webclient_uploadvalues.cs#1)] - [!code-vb[WebClient_UploadValues#1](~/snippets/visualbasic/VS_Snippets_Remoting/WebClient_UploadValues/VB/webclient_uploadvalues.vb#1)] + [!code-vb[WebClient_UploadValues#1](~/snippets/visualbasic/System.Net/WebClient/UploadValues/webclient_uploadvalues.vb#1)] ]]> @@ -9378,7 +9378,7 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[WebClient_UploadValues2#1](~/snippets/cpp/VS_Snippets_Remoting/WebClient_UploadValues2/CPP/webclient_uploadvalues2.cpp#1)] [!code-csharp[WebClient_UploadValues2#1](~/snippets/csharp/System.Net/WebClient/UploadValues/webclient_uploadvalues2.cs#1)] - [!code-vb[WebClient_UploadValues2#1](~/snippets/visualbasic/VS_Snippets_Remoting/WebClient_UploadValues2/VB/webclient_uploadvalues2.vb#1)] + [!code-vb[WebClient_UploadValues2#1](~/snippets/visualbasic/System.Net/WebClient/UploadValues/webclient_uploadvalues2.vb#1)] ]]> @@ -10349,7 +10349,7 @@ internal class MyWebClient : WebClientProtocol [!code-cpp[NCLWebClientAsync#3](~/snippets/cpp/VS_Snippets_Remoting/NCLWebClientAsync/CPP/asyncmethods.cpp#3)] [!code-csharp[NCLWebClientAsync#3](~/snippets/csharp/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.cs#3)] - [!code-vb[NCLWebClientAsync#3](~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebClientAsync/VB/asyncmethods.vb#3)] + [!code-vb[NCLWebClientAsync#3](~/snippets/visualbasic/System.Net/DownloadDataCompletedEventArgs/Overview/asyncmethods.vb#3)] ]]> diff --git a/xml/System.Net/WebException.xml b/xml/System.Net/WebException.xml index 1f259468851..408e2777e4b 100644 --- a/xml/System.Net/WebException.xml +++ b/xml/System.Net/WebException.xml @@ -151,7 +151,7 @@ The following example throws a default . :::code language="csharp" source="~/snippets/csharp/System.Net/WebException/.ctor/webexception_constructor1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebException_Constructor1/VB/webexception_constructor1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebException/.ctor/webexception_constructor1.vb" id="Snippet1"::: ]]> @@ -218,7 +218,7 @@ The following example throws a by specifying an error message. :::code language="csharp" source="~/snippets/csharp/System.Net/WebException/.ctor/webexception_constructor2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebException_Constructor2/VB/webexception_constructor2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebException/.ctor/webexception_constructor2.vb" id="Snippet1"::: ]]> @@ -352,7 +352,7 @@ The following example throws a by specifying an error message and a . :::code language="csharp" source="~/snippets/csharp/System.Net/WebException/.ctor/webexception_constructor3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebException_Constructor3/VB/webexception_constructor3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebException/.ctor/webexception_constructor3.vb" id="Snippet1"::: ]]> @@ -422,7 +422,7 @@ The following example throws a by specifying an error message and nested exception. :::code language="csharp" source="~/snippets/csharp/System.Net/WebException/.ctor/webexception_constructor4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebException_Constructor4/VB/webexception_constructor4.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebException/.ctor/webexception_constructor4.vb" id="Snippet1"::: ]]> @@ -503,7 +503,7 @@ The following example throws a by specifying an error message and a . :::code language="csharp" source="~/snippets/csharp/System.Net/WebException/.ctor/webexception_constructor5.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebException_Constructor5/VB/webexception_constructor5.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebException/.ctor/webexception_constructor5.vb" id="Snippet1"::: ]]> @@ -628,7 +628,7 @@ The following example checks the property and prints to the console the and of the underlying instance. :::code language="csharp" source="~/snippets/csharp/System.Net/WebException/Response/webexception_status_response.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebException_Status_Response/VB/webexception_status_response.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebException/Response/webexception_status_response.vb" id="Snippet1"::: ]]> @@ -699,7 +699,7 @@ The following example checks the property and prints to the console the and of the underlying instance. :::code language="csharp" source="~/snippets/csharp/System.Net/WebException/Response/webexception_status_response.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebException_Status_Response/VB/webexception_status_response.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebException/Response/webexception_status_response.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net/WebHeaderCollection.xml b/xml/System.Net/WebHeaderCollection.xml index c0abc797864..75cfcc2f931 100644 --- a/xml/System.Net/WebHeaderCollection.xml +++ b/xml/System.Net/WebHeaderCollection.xml @@ -330,7 +330,7 @@ The following example adds a name/value pair to a using the Method. :::code language="csharp" source="~/snippets/csharp/System.Net/WebHeaderCollection/Add/webheadercollection_add.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebHeaderCollection_Add/VB/webheadercollection_add.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebHeaderCollection/Add/webheadercollection_add.vb" id="Snippet1"::: > [!NOTE] > The length of the *value* portion of `header`, that is, the string after the colon (:), is validated only in .NET Framework and .NET Core versions 2.0 - 3.1. @@ -569,7 +569,7 @@ The following example adds a name/value pair to a using the Method. :::code language="csharp" source="~/snippets/csharp/System.Net/WebHeaderCollection/Add/webheadercollection_add.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebHeaderCollection_Add/VB/webheadercollection_add.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebHeaderCollection/Add/webheadercollection_add.vb" id="Snippet1"::: > [!NOTE] > The length of `value` is validated only in .NET Framework and .NET Core versions 2.0 - 3.1. @@ -1319,7 +1319,7 @@ The following example uses the method to retrieve an array of values for each header in the . :::code language="csharp" source="~/snippets/csharp/System.Net/WebHeaderCollection/GetValues/webheadercollection_getvalues_1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebHeaderCollection_GetValues_1/VB/webheadercollection_getvalues_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebHeaderCollection/GetValues/webheadercollection_getvalues_1.vb" id="Snippet1"::: ]]> @@ -1428,7 +1428,7 @@ The following example checks the property to see if any headers are prohibited from being set. :::code language="csharp" source="~/snippets/csharp/System.Net/WebHeaderCollection/IsRestricted/webheadercollection_isrestricted.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebHeaderCollection_IsRestricted/VB/webheadercollection_isrestricted.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebHeaderCollection/IsRestricted/webheadercollection_isrestricted.vb" id="Snippet1"::: ]]> @@ -1525,7 +1525,7 @@ The following example checks the property to see if any request headers are prohibited from being set. :::code language="csharp" source="~/snippets/csharp/System.Net/WebHeaderCollection/IsRestricted/webheadercollection_isrestricted.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebHeaderCollection_IsRestricted/VB/webheadercollection_isrestricted.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebHeaderCollection/IsRestricted/webheadercollection_isrestricted.vb" id="Snippet1"::: ]]> @@ -2003,7 +2003,7 @@ The following example uses the method to remove a header from the . After the header is removed, this example prints all existing headers to the screen to prove that it has been removed. :::code language="csharp" source="~/snippets/csharp/System.Net/WebHeaderCollection/Remove/webheadercollection_remove.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebHeaderCollection_Remove/VB/webheadercollection_remove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebHeaderCollection/Remove/webheadercollection_remove.vb" id="Snippet1"::: ]]> @@ -2234,7 +2234,7 @@ The following example uses the method to set the value of an existing header. :::code language="csharp" source="~/snippets/csharp/System.Net/WebHeaderCollection/Set/webheadercollection_set.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebHeaderCollection_Set/VB/webheadercollection_set.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebHeaderCollection/Set/webheadercollection_set.vb" id="Snippet1"::: > [!NOTE] > The length of `value` is validated only in .NET Framework and .NET Core versions 2.0 - 3.1. diff --git a/xml/System.Net/WebProxy.xml b/xml/System.Net/WebProxy.xml index 4f051fb9a18..f8c17a52703 100644 --- a/xml/System.Net/WebProxy.xml +++ b/xml/System.Net/WebProxy.xml @@ -90,7 +90,7 @@ The following code example sets up an instance with a instance. The instance uses the proxy to connect to external Internet resources. (For an example that demonstrates using the WPAD feature, see the documentation for the class.) :::code language="csharp" source="~/snippets/csharp/System.Net/WebProxy/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic WebProxy Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebProxy/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net/WebRequest.xml b/xml/System.Net/WebRequest.xml index 9157361236b..04df0bbff35 100644 --- a/xml/System.Net/WebRequest.xml +++ b/xml/System.Net/WebRequest.xml @@ -96,7 +96,7 @@ The following example shows how to create a instance and return the response. :::code language="csharp" source="~/snippets/csharp/System.Net/WebRequest/Overview/webrequestget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebRequestSimple/VB/webrequestget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebRequest/Overview/webrequestget.vb" id="Snippet1"::: ]]> @@ -173,7 +173,7 @@ The following example shows how to create a instance by calling the method on the class. :::code language="csharp" source="~/snippets/csharp/System.Net/WebRequest/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic WebRequest.WebRequest Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebRequest/.ctor/source.vb" id="Snippet1"::: ]]> @@ -454,7 +454,7 @@ The following example uses the to asynchronously obtain the request stream. :::code language="csharp" source="~/snippets/csharp/System.Net/WebRequest/BeginGetRequestStream/webrequest_begingetrequest.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebRequest_BeginGetRequest/VB/webrequest_begingetrequest.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebRequest/BeginGetRequestStream/webrequest_begingetrequest.vb" id="Snippet3"::: ]]> @@ -760,7 +760,7 @@ The following example sets the property to the amount of bytes in the outgoing byte buffer. :::code language="csharp" source="~/snippets/csharp/System.Net/WebRequest/ContentLength/webrequest_contenttype.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebRequest_ContentType/VB/webrequest_contenttype.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebRequest/ContentLength/webrequest_contenttype.vb" id="Snippet4"::: ]]> @@ -838,7 +838,7 @@ The following example sets the property to the appropriate media type. :::code language="csharp" source="~/snippets/csharp/System.Net/WebRequest/ContentLength/webrequest_contenttype.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebRequest_ContentType/VB/webrequest_contenttype.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebRequest/ContentLength/webrequest_contenttype.vb" id="Snippet4"::: ]]> @@ -940,7 +940,7 @@ The following example uses to instantiate an instance. A string representing the target URL is used as the constructor parameter. :::code language="csharp" source="~/snippets/csharp/System.Net/WebRequest/Create/webresponse_responseuri.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebResponse_ResponseUri/VB/webresponse_responseuri.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebRequest/Create/webresponse_responseuri.vb" id="Snippet1"::: ]]> @@ -1041,7 +1041,7 @@ Note: In .NET for Win The following example uses to instantiate an instance. A Uri representing the target URL is used as the constructor parameter. :::code language="csharp" source="~/snippets/csharp/System.Net/WebRequest/Create/webrequest_create.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebRequest_Create/VB/webrequest_create.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebRequest/Create/webrequest_create.vb" id="Snippet1"::: ]]> @@ -1391,7 +1391,7 @@ This property allows an application to determine which property using the default credentials of the current user. When the request is made, credentials stored in this property are used to validate the client. This is identical to setting the property to `true`. :::code language="csharp" source="~/snippets/csharp/System.Net/WebRequest/Overview/webrequestget.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLWebRequestSimple/VB/webrequestget.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebRequest/Overview/webrequestget.vb" id="Snippet2"::: ]]> @@ -1617,7 +1617,7 @@ This property allows an application to determine which . The method completes the asynchronous call to . :::code language="csharp" source="~/snippets/csharp/System.Net/WebRequest/BeginGetRequestStream/webrequest_begingetrequest.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebRequest_BeginGetRequest/VB/webrequest_begingetrequest.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebRequest/BeginGetRequestStream/webrequest_begingetrequest.vb" id="Snippet3"::: ]]> @@ -1826,7 +1826,7 @@ This property allows an application to determine which method to obtain a stream and then writes data that stream. :::code language="csharp" source="~/snippets/csharp/System.Net/WebRequest/ContentLength/webrequest_contenttype.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebRequest_ContentType/VB/webrequest_contenttype.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebRequest/ContentLength/webrequest_contenttype.vb" id="Snippet4"::: ]]> @@ -1958,7 +1958,7 @@ This property allows an application to determine which property to 10000 milliseconds. If the timeout period expires before the resource can be returned, a is thrown. :::code language="csharp" source="~/snippets/csharp/System.Net/WebRequest/GetResponse/webrequest_timeout.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebRequest_Timeout/VB/webrequest_timeout.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebRequest/GetResponse/webrequest_timeout.vb" id="Snippet1"::: ]]> @@ -2142,7 +2142,7 @@ This property allows an application to determine which @@ -2277,7 +2277,7 @@ This property allows an application to determine which property to POST to indicate that the request will post data to the target host. :::code language="csharp" source="~/snippets/csharp/System.Net/WebRequest/BeginGetRequestStream/webrequest_begingetrequest.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebRequest_BeginGetRequest/VB/webrequest_begingetrequest.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebRequest/BeginGetRequestStream/webrequest_begingetrequest.vb" id="Snippet3"::: ]]> @@ -2415,7 +2415,7 @@ This property allows an application to determine which @@ -2616,7 +2616,7 @@ This property allows an application to determine which property to determine the site originally requested. :::code language="csharp" source="~/snippets/csharp/System.Net/WebRequest/RequestUri/webrequest_requesturi.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebRequest_RequestUri1/VB/webrequest_requesturi.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebRequest/RequestUri/webrequest_requesturi.vb" id="Snippet1"::: ]]> @@ -2751,7 +2751,7 @@ This property allows an application to determine which property to 10000 milliseconds. If the timeout period expires before the resource can be returned, a is thrown. :::code language="csharp" source="~/snippets/csharp/System.Net/WebRequest/GetResponse/webrequest_timeout.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebRequest_Timeout/VB/webrequest_timeout.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebRequest/GetResponse/webrequest_timeout.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net/WebResponse.xml b/xml/System.Net/WebResponse.xml index cd2ca2f70f8..895689c6e13 100644 --- a/xml/System.Net/WebResponse.xml +++ b/xml/System.Net/WebResponse.xml @@ -89,7 +89,7 @@ The following example creates a instance from a . :::code language="csharp" source="~/snippets/csharp/System.Net/WebResponse/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic WebRequest Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebResponse/Overview/source.vb" id="Snippet1"::: ]]> @@ -292,7 +292,7 @@ The following example uses the method to close the `WebResponse`. :::code language="csharp" source="~/snippets/csharp/System.Net/WebResponse/Close/webresponse_close.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebResponse_Close/VB/webresponse_close.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebResponse/Close/webresponse_close.vb" id="Snippet1"::: ]]> @@ -361,7 +361,7 @@ The following example uses the property to obtain the Length of the resource returned. :::code language="csharp" source="~/snippets/csharp/System.Net/WebResponse/ContentLength/webresponse_contentlength_type.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebResponse_ContentLength_Type/VB/webresponse_contentlength_type.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebResponse/ContentLength/webresponse_contentlength_type.vb" id="Snippet1"::: ]]> @@ -430,7 +430,7 @@ The following example uses the property to obtain the content type of the response. :::code language="csharp" source="~/snippets/csharp/System.Net/WebResponse/ContentLength/webresponse_contentlength_type.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebResponse_ContentLength_Type/VB/webresponse_contentlength_type.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebResponse/ContentLength/webresponse_contentlength_type.vb" id="Snippet1"::: ]]> @@ -676,7 +676,7 @@ The following example uses to return a instance. A small local buffer is used to read data from the and output it to the console. :::code language="csharp" source="~/snippets/csharp/System.Net/WebResponse/GetResponseStream/webresponse_getresponsestream.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebResponse_GetResponseStream/VB/webresponse_getresponsestream.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebResponse/GetResponseStream/webresponse_getresponsestream.vb" id="Snippet1"::: ]]> @@ -741,7 +741,7 @@ The following example displays all of the header name-value pairs returned in the . :::code language="csharp" source="~/snippets/csharp/System.Net/WebResponse/Headers/webresponse_headers.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebResponse_Headers/VB/webresponse_headers.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebResponse/Headers/webresponse_headers.vb" id="Snippet1"::: ]]> @@ -929,7 +929,7 @@ The following example uses the property to determine the location from which the originated. :::code language="csharp" source="~/snippets/csharp/System.Net/WebRequest/Create/webresponse_responseuri.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebResponse_ResponseUri/VB/webresponse_responseuri.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Net/WebRequest/Create/webresponse_responseuri.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Numerics/BigInteger.xml b/xml/System.Numerics/BigInteger.xml index 33589c9755a..f58f23c1766 100644 --- a/xml/System.Numerics/BigInteger.xml +++ b/xml/System.Numerics/BigInteger.xml @@ -318,19 +318,19 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/.ctor/Example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/.ctor/Example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example1.vb" id="Snippet1"::: The following example instantiates a positive and a negative value, passes them to the method, and then restores the original values from the resulting byte array. Note that the two values are represented by identical byte arrays. The only difference between them is in the most significant bit of the last element in the byte array. This bit is set (the value of the byte is 0xFF) if the array is created from a negative value. The bit is not set (the value of the byte is zero), if the array is created from a positive value. :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/.ctor/Example1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/.ctor/Example1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example1.vb" id="Snippet2"::: The following example illustrates how to make sure that a positive value is not incorrectly instantiated as a negative value by adding a byte whose value is zero to the end of the array. :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/.ctor/Example1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/.ctor/Example1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example1.vb" id="Snippet3"::: ]]> @@ -391,7 +391,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/.ctor/Example2.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/.ctor/Example2.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example2.vb" id="Snippet4"::: ]]> @@ -451,7 +451,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/.ctor/Example2.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/.ctor/Example2.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example2.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example2.vb" id="Snippet5"::: ]]> @@ -513,7 +513,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/.ctor/Example2.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/.ctor/Example2.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example2.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example2.vb" id="Snippet6"::: ]]> @@ -571,7 +571,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/.ctor/Example2.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/.ctor/Example2.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example2.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example2.vb" id="Snippet7"::: ]]> @@ -631,7 +631,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/.ctor/Example2.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/.ctor/Example2.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example2.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example2.vb" id="Snippet8"::: ]]> @@ -697,7 +697,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/.ctor/Example2.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/.ctor/Example2.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example2.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example2.vb" id="Snippet9"::: ]]> @@ -762,7 +762,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/.ctor/Example2.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/.ctor/Example2.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example2.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example2.vb" id="Snippet10"::: ]]> @@ -931,7 +931,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Add/Multiply1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Add/Multiply1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OperationMethods/vb/Multiply1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Add/Multiply1.vb" id="Snippet2"::: ]]> @@ -1049,7 +1049,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Compare/Compare1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Compare/Compare1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Compare/vb/Compare1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Compare/Compare1.vb" id="Snippet1"::: ]]> @@ -1138,7 +1138,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/CompareTo/Example2.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/CompareTo/Example2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.CompareTo/vb/Example2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/CompareTo/Example2.vb" id="Snippet3"::: ]]> @@ -1219,13 +1219,13 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/CompareTo/Example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/CompareTo/Example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.CompareTo/vb/Example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/CompareTo/Example1.vb" id="Snippet1"::: The following code then instantiates four `StarInfo` objects and stores them in a generic object. After the method is called, `StarInfo` objects are displayed in order of their distance from the Earth. :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/CompareTo/Example1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/CompareTo/Example1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.CompareTo/vb/Example1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/CompareTo/Example1.vb" id="Snippet2"::: ]]> @@ -1315,7 +1315,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/CompareTo/Example2.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/CompareTo/Example2.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.CompareTo/vb/Example2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/CompareTo/Example2.vb" id="Snippet4"::: ]]> @@ -1635,7 +1635,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Divide/Divide1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Divide/Divide1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Divide/vb/Divide1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Divide/Divide1.vb" id="Snippet1"::: ]]> @@ -1754,7 +1754,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Divide/Divide1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Divide/Divide1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Divide/vb/Divide1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Divide/Divide1.vb" id="Snippet1"::: ]]> @@ -1829,7 +1829,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Equals/EqualsExample1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Equals/EqualsExample1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Equals/vb/EqualsExample1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Equals/EqualsExample1.vb" id="Snippet1"::: ]]> @@ -1895,7 +1895,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Equals/EqualsExample1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Equals/EqualsExample1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Equals/vb/EqualsExample1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Equals/EqualsExample1.vb" id="Snippet2"::: ]]> @@ -1966,7 +1966,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Equals/Equals_Obj1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Equals/Equals_Obj1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Equals/vb/Equals_Obj1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Equals/Equals_Obj1.vb" id="Snippet3"::: ]]> @@ -2033,7 +2033,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Equals/EqualsExample1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Equals/EqualsExample1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Equals/vb/EqualsExample1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Equals/EqualsExample1.vb" id="Snippet2"::: ]]> @@ -2223,7 +2223,7 @@ This method returns 0 if the value of current object is equal to @@ -2767,11 +2767,11 @@ A return value of `false` does not imply that .| -|Negative|.| +| Sign of `value` parameter | Return value | +|---------------------------|-------------------------------------------------------------------------| +| Positive | The natural logarithm of `value`; that is, ln `value`, or log e`value`. | +| Zero | . | +| Negative | . | To calculate the base 10 logarithm of a value, call the method. To calculate the logarithm of a number in another base, call the method. @@ -2779,7 +2779,7 @@ A return value of `false` does not imply that method for the primitive numeric types. @@ -3032,7 +3032,7 @@ A return value of `false` does not imply that @@ -3148,7 +3148,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Min/Min1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Min/Min1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Min/vb/Min1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Min/Min1.vb" id="Snippet1"::: ]]> @@ -3321,7 +3321,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/ModPow/ModPow1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/ModPow/ModPow1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ModPow/vb/ModPow1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/ModPow/ModPow1.vb" id="Snippet1"::: ]]> @@ -3389,7 +3389,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Add/Multiply1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Add/Multiply1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OperationMethods/vb/Multiply1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Add/Multiply1.vb" id="Snippet1"::: If necessary, this method automatically performs implicit conversion of other integral types to objects. This is illustrated in the example in the next section, where the method is passed two values. @@ -3400,7 +3400,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet7"::: ]]> @@ -3464,7 +3464,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Add/Multiply1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Add/Multiply1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OperationMethods/vb/Multiply1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Add/Multiply1.vb" id="Snippet4"::: @@ -3473,7 +3473,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet16"::: ]]> @@ -3594,7 +3594,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet12"::: Languages that do not support custom operators can call the method instead. @@ -3667,7 +3667,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet1"::: The method performs the bitwise `And` operation on two values as if they were both in two's complement representation with virtual sign extension. @@ -3739,7 +3739,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet2"::: The method performs the bitwise `Or` operation on two values as if they were both in two's complement representation with virtual sign extension. @@ -3805,7 +3805,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet3"::: Because objects are immutable, the operator creates a new object whose value is one less than the object represented by `value`. This means that repeated calls to may be expensive. @@ -3869,7 +3869,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet13"::: Languages that do not support custom operators and operator overloading can call the method instead. @@ -3880,7 +3880,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Divide/Divide1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Divide/Divide1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Divide/vb/Divide1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Divide/Divide1.vb" id="Snippet1"::: ]]> @@ -3951,7 +3951,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet4"::: Languages that do not support custom operators can call the instance method instead. @@ -4014,7 +4014,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet5"::: Languages that do not support custom operators can call the instance method instead. @@ -4081,7 +4081,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet19"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet19"::: Languages that do not support custom operators can call the instance method instead. @@ -4149,7 +4149,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet6"::: Languages that do not support custom operators can call the instance method instead. @@ -4216,7 +4216,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet7"::: Languages that do not support custom operators can call the instance method instead. @@ -4289,7 +4289,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet8"::: The method performs the bitwise exclusive `Or` operation on two values as if they were both in two's complement representation with virtual sign extension. @@ -4364,7 +4364,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/Explicit1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/Explicit1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Explicit/vb/Explicit1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/Explicit1.vb" id="Snippet1"::: ]]> @@ -4427,7 +4427,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/Explicit1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/Explicit1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Explicit/vb/Explicit1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/Explicit1.vb" id="Snippet2"::: ]]> @@ -4524,7 +4524,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb" id="Snippet1"::: ]]> @@ -4621,7 +4621,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb" id="Snippet2"::: ]]> @@ -4682,7 +4682,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/Explicit1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/Explicit1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Explicit/vb/Explicit1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/Explicit1.vb" id="Snippet4"::: @@ -4691,7 +4691,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb" id="Snippet3"::: ]]> @@ -4821,7 +4821,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb" id="Snippet4"::: ]]> @@ -4883,7 +4883,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb" id="Snippet5"::: ]]> @@ -4945,7 +4945,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb" id="Snippet6"::: ]]> @@ -5050,7 +5050,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb" id="Snippet7"::: ]]> @@ -5112,7 +5112,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/Explicit1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/Explicit1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Explicit/vb/Explicit1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/Explicit1.vb" id="Snippet5"::: @@ -5121,7 +5121,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb" id="Snippet8"::: ]]> @@ -5230,7 +5230,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb" id="Snippet9"::: ]]> @@ -5301,7 +5301,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb" id="Snippet10"::: ]]> @@ -5372,7 +5372,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb" id="Snippet11"::: ]]> @@ -5514,7 +5514,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/Explicit1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/Explicit1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Explicit/vb/Explicit1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/Explicit1.vb" id="Snippet3"::: ]]> @@ -5584,11 +5584,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet9"::: Languages that do not support custom operators can call the instance method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet10"::: If `left` is a , , , , , or value, it is implicitly converted to an value when the operation is performed. @@ -5649,11 +5649,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet11"::: Languages that do not support custom operators can call the method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet12"::: If `right` is a , , , , , or value, it is implicitly converted to an value when the operation is performed. @@ -5718,11 +5718,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet20"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet20"::: Languages that do not support custom operators can call the method instead. They can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet21"::: The equivalent method for this operator is .]]> @@ -5787,11 +5787,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet13"::: Languages that do not support custom operators can call the method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet14"::: ]]> @@ -5855,11 +5855,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet15"::: Languages that do not support custom operators can call the method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet16"::: ]]> @@ -5928,11 +5928,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet17"::: Languages that do not support custom operators can call the method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet18"::: If `left` is a , , , , , or value, it is implicitly converted to an value when the operation is performed. @@ -5993,11 +5993,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet19"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet19"::: Languages that do not support custom operators can call the method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet20"::: If `right` is a , , , , , or value, it is implicitly converted to an value when the operation is performed. @@ -6062,11 +6062,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet22"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet22"::: Languages that do not support custom operators can call the method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet23"::: The equivalent method for this operator is .]]> @@ -6131,11 +6131,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet21"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet21"::: Languages that do not support custom operators can call the method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet22"::: The equivalent method for this operator is .]]> @@ -6200,11 +6200,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet23"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet23"::: Languages that do not support custom operators can call the method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet24"::: The equivalent method for this operator is .]]> @@ -6274,7 +6274,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Implicit/Implicit1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Implicit/Implicit1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Implicit/vb/Implicit1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Implicit/Implicit1.vb" id="Snippet1"::: ]]> @@ -6401,7 +6401,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Implicit/Implicit1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Implicit/Implicit1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Implicit/vb/Implicit1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Implicit/Implicit1.vb" id="Snippet2"::: ]]> @@ -6458,7 +6458,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Implicit/Implicit1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Implicit/Implicit1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Implicit/vb/Implicit1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Implicit/Implicit1.vb" id="Snippet3"::: ]]> @@ -6515,7 +6515,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Implicit/Implicit1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Implicit/Implicit1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Implicit/vb/Implicit1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Implicit/Implicit1.vb" id="Snippet4"::: ]]> @@ -6615,7 +6615,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Implicit/Implicit1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Implicit/Implicit1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Implicit/vb/Implicit1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Implicit/Implicit1.vb" id="Snippet5"::: ]]> @@ -6722,7 +6722,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Implicit/Implicit1.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Implicit/Implicit1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Implicit/vb/Implicit1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Implicit/Implicit1.vb" id="Snippet6"::: ]]> @@ -6788,7 +6788,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Implicit/Implicit1.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Implicit/Implicit1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Implicit/vb/Implicit1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Implicit/Implicit1.vb" id="Snippet7"::: ]]> @@ -6854,7 +6854,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Implicit/Implicit1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Implicit/Implicit1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Implicit/vb/Implicit1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Implicit/Implicit1.vb" id="Snippet8"::: ]]> @@ -6958,7 +6958,7 @@ For this method matches the IEE Some languages (such as Visual Basic) that lack an increment operator or do not support operator overloading can call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet25"::: Because objects are immutable, the operator creates a new object whose value is one more than the object represented by `value`. Therefore, repeated calls to may be expensive. @@ -7029,7 +7029,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet25"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet25"::: Languages that do not support custom operators can test for inequality by using one of the following techniques: @@ -7096,7 +7096,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet26"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet26"::: Languages that do not support custom operators can test for inequality by using one of the following techniques: @@ -7167,7 +7167,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet26"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet26"::: Languages that do not support custom operators can test for inequality by using one of the following techniques: @@ -7238,7 +7238,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet27"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet27"::: Languages that do not support custom operators can test for inequality by using one of the following techniques: @@ -7309,7 +7309,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet28"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet28"::: Languages that do not support custom operators can test for inequality by using one of the following techniques: @@ -7377,7 +7377,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet29"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet29"::: > [!NOTE] > Unlike the bitwise left-shift operation with integer primitives, the method preserves the sign of the original value. @@ -7386,7 +7386,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet30"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet30"::: ]]> @@ -7455,11 +7455,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet31"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet31"::: Languages that do not support custom operators can call the method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet32"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet32"::: If `left` is a , , , , , or value, it is implicitly converted to an value when the operation is performed. @@ -7520,11 +7520,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet33"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet33"::: Languages that do not support custom operators can call the method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet34"::: If `right` is a , , , , , or value, it is implicitly converted to an value when the operation is performed. @@ -7589,11 +7589,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet27"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet27"::: Languages that do not support custom operators can call the method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet28"::: The equivalent method for this operator is .]]> @@ -7658,11 +7658,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet35"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet35"::: Languages that do not support custom operators can call the method instead. They can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet36"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet36"::: The equivalent method for this operator is .]]> @@ -7727,11 +7727,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet37"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet37"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet37"::: Languages that do not support custom operators can call the method instead. They can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet38"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet38"::: The equivalent method for this operator is .]]> @@ -7800,11 +7800,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet39"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet39"::: Languages that do not support custom operators can call the method instead. They can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet40"::: If `left` is a , , , , , or value, it is implicitly converted to an value when the operation is performed. @@ -7865,11 +7865,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet41"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet41"::: Languages that do not support custom operators can call the method instead. They can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet42"::: If `right` is a , , , , , or value, it is implicitly converted to an value when the operation is performed. @@ -7934,11 +7934,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet29"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet29"::: Languages that do not support custom operators can call the method instead. They can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet30"::: The equivalent method for this operator is .]]> @@ -8003,11 +8003,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet43"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet43"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet43"::: Languages that do not support custom operators can call the method instead. They can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet44"::: The equivalent method for this operator is .]]> @@ -8072,11 +8072,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet45"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet45"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet45"::: Languages that do not support custom operators can call the method instead. They can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet46"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet46"::: The equivalent method for this operator is .]]> @@ -8138,7 +8138,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet31"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet31"::: Languages that do not support custom operators can call the method instead. @@ -8207,7 +8207,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet11"::: The equivalent method for this operator is .]]> @@ -8267,11 +8267,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_OnesComplement/OnesComplement1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_OnesComplement/OnesComplement1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OnesComplement/vb/OnesComplement1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_OnesComplement/OnesComplement1.vb" id="Snippet1"::: Languages that do not support custom operators may be able to call the method directly to perform a bitwise one's complement operation. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OnesComplement/vb/onescomplement2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_OnesComplement/onescomplement2.vb" id="Snippet2"::: ]]> @@ -8332,13 +8332,13 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/RightShift1.cs" id="Snippet47"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/RightShift1.fs" id="Snippet47"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet47"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet47"::: Languages that do not support custom operators can perform a bitwise right-shift operation by dividing `value` by `BigInteger.Pow(2, shift)` and subtracting 1 times `shift` for negative values. The following example shows that the results are identical to the results of using this operator. :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/RightShift1.cs" id="Snippet48"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/RightShift1.fs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet48"::: If `shift` is greater than or equal to the number of bits in a positive value, the result of the right-shift operation is . If `shift` is greater than the number of bits in a negative value, the result of the right-shift operation is . @@ -8402,7 +8402,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet14"::: Languages that do not support custom operators can call the method instead. @@ -8469,7 +8469,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet16"::: ]]> @@ -8660,7 +8660,7 @@ This operation performs an unsigned (otherwise known as a logical) right shift o :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Parse/Parse1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Parse/Parse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Parse/vb/Parse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Parse/Parse1.vb" id="Snippet1"::: ]]> @@ -8822,7 +8822,7 @@ This operation performs an unsigned (otherwise known as a logical) right shift o :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Parse/ParseHex1.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Parse/ParseHex1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Parse/vb/ParseHex1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Parse/ParseHex1.vb" id="Snippet3"::: The `value` parameter is parsed by using the formatting information in a object that is initialized for the current system culture. To specify the culture whose formatting information is used for the parse operation, call the overload. @@ -8833,7 +8833,7 @@ This operation performs an unsigned (otherwise known as a logical) right shift o :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Parse/vb/System.Numeric.BigInteger.Parse.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.vb" id="Snippet5"::: ]]> @@ -8946,19 +8946,19 @@ This operation performs an unsigned (otherwise known as a logical) right shift o :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Parse/vb/System.Numeric.BigInteger.Parse.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.vb" id="Snippet2"::: A object can then be instantiated with the following code: :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Parse/vb/System.Numeric.BigInteger.Parse.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.vb" id="Snippet3"::: The second example is more straightforward. It passes the object that provides formatting information to the `provider` parameter. :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Parse/vb/System.Numeric.BigInteger.Parse.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.vb" id="Snippet4"::: ]]> @@ -9215,7 +9215,7 @@ If `provider` is `null`, the object :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Parse/ParseHex1.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Parse/ParseHex1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Parse/vb/ParseHex1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Parse/ParseHex1.vb" id="Snippet3"::: The `provider` parameter is an implementation. Its method returns a object that provides culture-specific information about the format of `value`. Typically, `provider` can be any one of the following: @@ -9234,13 +9234,13 @@ If `provider` is `null`, the object :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Parse/Parse1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Parse/Parse1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Parse/vb/Parse1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Parse/Parse1.vb" id="Snippet2"::: A number of the individual calls to the method pass an instance of the following `BigIntegerFormatProvider` class, which defines a tilde (~) as the negative sign. :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Parse/Parse1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Parse/Parse1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Parse/vb/Parse1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Parse/Parse1.vb" id="Snippet4"::: ]]> @@ -9353,7 +9353,7 @@ If `provider` is `null`, the object :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet32"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet32"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet32"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet32"::: ]]> @@ -9427,7 +9427,7 @@ If `provider` is `null`, the object :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Remainder/Remainder1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Remainder/Remainder1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Remainder/vb/Remainder1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Remainder/Remainder1.vb" id="Snippet1"::: ]]> @@ -9641,7 +9641,7 @@ If `provider` is `null`, the object :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Add/Multiply1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Add/Multiply1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OperationMethods/vb/Multiply1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Add/Multiply1.vb" id="Snippet3"::: ]]> @@ -9697,7 +9697,7 @@ The following example calls the @@ -11190,7 +11190,7 @@ The following example calls the @@ -11323,7 +11323,7 @@ The integer value `33022` can be exported in four different arrays: :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/ToString/ToString1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/ToString/ToString1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ToString/vb/ToString1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/ToString/ToString1.vb" id="Snippet1"::: ]]> @@ -11409,7 +11409,7 @@ The integer value `33022` can be exported in four different arrays: :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/ToString/System.Numeric.BigInteger.ToString.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/ToString/System.Numeric.BigInteger.ToString.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.ToString/vb/System.Numeric.BigInteger.ToString.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/ToString/System.Numeric.BigInteger.ToString.vb" id="Snippet1"::: ]]> @@ -11497,7 +11497,7 @@ The integer value `33022` can be exported in four different arrays: :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/ToString/ToString1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/ToString/ToString1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ToString/vb/ToString1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/ToString/ToString1.vb" id="Snippet3"::: ]]> @@ -11598,7 +11598,7 @@ The integer value `33022` can be exported in four different arrays: :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/ToString/ToString1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/ToString/ToString1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ToString/vb/ToString1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/ToString/ToString1.vb" id="Snippet4"::: ]]> @@ -11852,7 +11852,7 @@ The integer value `33022` can be exported in four different arrays: :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/TryParse/System.Numeric.BigInteger.TryParse.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/TryParse/System.Numeric.BigInteger.TryParse.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.TryParse/vb/System.Numeric.BigInteger.TryParse.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/TryParse/System.Numeric.BigInteger.TryParse.vb" id="Snippet1"::: ]]> @@ -12201,7 +12201,7 @@ If `provider` is `null`, the object :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/TryParse/TryParseHex1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/TryParse/TryParseHex1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.TryParse/vb/TryParseHex1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/TryParse/TryParseHex1.vb" id="Snippet1"::: The `provider` parameter is an implementation. Its method returns a object that provides culture-specific information about the format of `value`. The `provider` parameter can be any one of the following: @@ -12220,13 +12220,13 @@ If `provider` is `null`, the object :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/TryParse/TryParse1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/TryParse/TryParse1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.TryParse/vb/TryParse1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/TryParse/TryParse1.vb" id="Snippet2"::: A number of the individual calls to the method pass an instance of the following `BigIntegerFormatProvider` class, which defines a tilde (~) as the negative sign. :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/TryParse/TryParse1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/TryParse/TryParse1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.TryParse/vb/TryParse1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/TryParse/TryParse1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Numerics/Complex.xml b/xml/System.Numerics/Complex.xml index e7ba0d29c05..f361329518a 100644 --- a/xml/System.Numerics/Complex.xml +++ b/xml/System.Numerics/Complex.xml @@ -234,7 +234,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/.ctor/ctor1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/.ctor/ctor1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.ctor/vb/ctor1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/.ctor/ctor1.vb" id="Snippet1"::: ]]> @@ -360,7 +360,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Acos/acos1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Acos/acos1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.acos/vb/acos1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Acos/acos1.vb" id="Snippet1"::: ]]> @@ -389,7 +389,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Add/add1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Add/add1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.add/vb/add1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Add/add1.vb" id="Snippet1"::: ]]> @@ -608,7 +608,7 @@ $(a + c) + bi$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Asin/asin1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Asin/asin1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.asin/vb/asin1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Asin/asin1.vb" id="Snippet1"::: ]]> @@ -672,7 +672,7 @@ $(a + c) + bi$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Atan/atan1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Atan/atan1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.atan/vb/atan1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Atan/atan1.vb" id="Snippet1"::: ]]> @@ -732,7 +732,7 @@ $(a + c) + bi$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Conjugate/conjugate1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Conjugate/conjugate1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.conjugate/vb/conjugate1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Conjugate/conjugate1.vb" id="Snippet1"::: ]]> @@ -795,7 +795,7 @@ $(a + c) + bi$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Acos/acos1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Acos/acos1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.acos/vb/acos1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Acos/acos1.vb" id="Snippet1"::: ]]> @@ -1036,7 +1036,7 @@ $(a + c) + bi$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Divide/divide1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Divide/divide1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.divide/vb/divide1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Divide/divide1.vb" id="Snippet1"::: ]]> @@ -1271,7 +1271,7 @@ $\frac{ac + bd}{c^2 + d^2} + (\frac{bc - ad}{c^2 + d^2})i$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Equals/equals1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Equals/equals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/equals1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Equals/equals1.vb" id="Snippet1"::: ]]> @@ -1280,13 +1280,13 @@ $\frac{ac + bd}{c^2 + d^2} + (\frac{bc - ad}{c^2 + d^2})i$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Equals/precision1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Equals/precision1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/precision1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Equals/precision1.vb" id="Snippet4"::: One recommended technique is to define an acceptable margin of difference between the two values (such as .01% of one of the values' real and imaginary components) instead of comparing the values for equality. If the absolute value of the difference between the two values is less than or equal to that margin, the difference is likely to be due to a difference in precision, and, therefore, the values are likely to be equal. The following example uses this technique to compare the two complex values that the previous code example found to be unequal. It finds the two complex numbers to be equal. :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Equals/precision1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Equals/precision1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/precision1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Equals/precision1.vb" id="Snippet5"::: @@ -1349,13 +1349,13 @@ $\frac{ac + bd}{c^2 + d^2} + (\frac{bc - ad}{c^2 + d^2})i$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Equals/equals1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Equals/equals1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/equals1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Equals/equals1.vb" id="Snippet2"::: If the `obj` parameter is not a object, but it is a data type for which an implicit conversion is defined, the method converts `obj` to a object whose real part is equal to the value of `obj` and whose imaginary part is equal to zero before it performs the comparison. The following example illustrates this by finding that a complex number and a double-precision floating-point value are equal. :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Equals/equals3.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Equals/equals3.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/equals3.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Equals/equals3.vb" id="Snippet6"::: ]]> @@ -1364,13 +1364,13 @@ $\frac{ac + bd}{c^2 + d^2} + (\frac{bc - ad}{c^2 + d^2})i$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Equals/equals4.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Equals/equals4.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/equals4.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Equals/equals4.vb" id="Snippet8"::: One recommended technique is to define an acceptable margin of difference between the two values (such as .01% of one of the values' real and imaginary components) instead of comparing the values for equality. If the absolute value of the difference between the two values is less than or equal to that margin, the difference is likely to be due to a difference in precision and, therefore, the values are likely to be equal. The following example uses this technique to compare the two values that the previous code example found to be unequal. It now finds them to be equal. :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Equals/precision2.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Equals/precision2.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/precision2.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Equals/precision2.vb" id="Snippet7"::: @@ -1428,7 +1428,7 @@ $\frac{ac + bd}{c^2 + d^2} + (\frac{bc - ad}{c^2 + d^2})i$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Exp/log1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Exp/log1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.log/vb/log1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Exp/log1.vb" id="Snippet1"::: ]]> @@ -1493,7 +1493,7 @@ $\frac{ac + bd}{c^2 + d^2} + (\frac{bc - ad}{c^2 + d^2})i$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/FromPolarCoordinates/phase1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/FromPolarCoordinates/phase1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.phase/vb/phase1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/FromPolarCoordinates/phase1.vb" id="Snippet1"::: ]]> @@ -1596,7 +1596,7 @@ $\frac{ac + bd}{c^2 + d^2} + (\frac{bc - ad}{c^2 + d^2})i$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Imaginary/real1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Imaginary/real1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.real/vb/real1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Imaginary/real1.vb" id="Snippet1"::: ]]> @@ -1647,7 +1647,7 @@ $\frac{ac + bd}{c^2 + d^2} + (\frac{bc - ad}{c^2 + d^2})i$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/ImaginaryOne/imaginaryone1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/ImaginaryOne/imaginaryone1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.imaginaryone/vb/imaginaryone1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/ImaginaryOne/imaginaryone1.vb" id="Snippet1"::: ]]> @@ -2415,7 +2415,7 @@ This function returns `true` for a complex number `a + bi` where `b` is zero. :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Exp/log1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Exp/log1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.log/vb/log1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Exp/log1.vb" id="Snippet1"::: ]]> @@ -2708,7 +2708,7 @@ The following example multiples a complex number by each element in an array of :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Multiply/multiply1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Multiply/multiply1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.multiply/vb/multiply1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Multiply/multiply1.vb" id="Snippet1"::: ]]> @@ -2969,7 +2969,7 @@ $(ac - bd) + (ad + bc)i$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Negate/negate1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Negate/negate1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.negate/vb/negate1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Negate/negate1.vb" id="Snippet1"::: ]]> @@ -3020,7 +3020,7 @@ $(ac - bd) + (ad + bc)i$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/One/one1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/One/one1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.one/vb/one1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/One/one1.vb" id="Snippet1"::: ]]> @@ -3040,7 +3040,7 @@ The operator allows performing add :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Add/add3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Add/add3.fs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.add/vb/add3.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Add/add3.vb" id="Snippet3"::: If the addition results in an overflow in either the real or imaginary component, the value of that component is either or . @@ -3054,7 +3054,7 @@ The following example illustrates addition with complex numbers: :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Add/add2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Add/add2.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.add/vb/add2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Add/add2.vb" id="Snippet2"::: ]]> @@ -3279,7 +3279,7 @@ The operator allows performing div :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Divide/divide2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Divide/divide2.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.divide/vb/divide2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Divide/divide2.vb" id="Snippet2"::: If the division results in an overflow in either the real or imaginary component, the value of that component is either or . @@ -3516,7 +3516,7 @@ Languages that don't support custom operators and operator overloading can call :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Equals/eqoperator1.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Equals/eqoperator1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/eqoperator1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Equals/eqoperator1.vb" id="Snippet9"::: Languages that don't support custom operators can call the method instead. @@ -3524,7 +3524,7 @@ Languages that don't support custom operators and operator overloading can call :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Equals/equals1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Equals/equals1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/equals1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Equals/equals1.vb" id="Snippet3"::: Note that, because of differences in precision, two complex numbers that are apparently equivalent can be considered unequal. For more information and a possible workaround, see the method. @@ -3597,7 +3597,7 @@ Languages that don't support custom operators and operator overloading can call :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Explicit/explicit1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Explicit/explicit1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.explicit/vb/explicit1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Explicit/explicit1.vb" id="Snippet1"::: ]]> @@ -3694,7 +3694,7 @@ Languages that don't support custom operators and operator overloading can call :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Explicit/explicit1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Explicit/explicit1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.explicit/vb/explicit1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Explicit/explicit1.vb" id="Snippet2"::: ]]> @@ -3802,7 +3802,7 @@ Languages that don't support custom operators and operator overloading can call :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Implicit/implicit1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Implicit/implicit1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb" id="Snippet1"::: ]]> @@ -3894,7 +3894,7 @@ Languages that don't support custom operators and operator overloading can call :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Implicit/implicit1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Implicit/implicit1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb" id="Snippet2"::: ]]> @@ -3986,7 +3986,7 @@ Languages that don't support custom operators and operator overloading can call :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Implicit/implicit1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Implicit/implicit1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb" id="Snippet3"::: ]]> @@ -4043,7 +4043,7 @@ Languages that don't support custom operators and operator overloading can call :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Implicit/implicit1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Implicit/implicit1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb" id="Snippet4"::: ]]> @@ -4100,7 +4100,7 @@ Languages that don't support custom operators and operator overloading can call :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Implicit/implicit1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Implicit/implicit1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb" id="Snippet5"::: ]]> @@ -4200,7 +4200,7 @@ This API is not CLS-compliant. :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Implicit/implicit1.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Implicit/implicit1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb" id="Snippet6"::: ]]> @@ -4257,7 +4257,7 @@ This API is not CLS-compliant. :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Implicit/implicit1.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Implicit/implicit1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb" id="Snippet7"::: ]]> @@ -4322,7 +4322,7 @@ This API is not CLS-compliant. :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Implicit/implicit1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Implicit/implicit1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb" id="Snippet8"::: ]]> @@ -4387,7 +4387,7 @@ This API is not CLS-compliant. :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Implicit/implicit1.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Implicit/implicit1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb" id="Snippet9"::: ]]> @@ -4452,7 +4452,7 @@ This API is not CLS-compliant. :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Implicit/implicit1.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Implicit/implicit1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb" id="Snippet10"::: ]]> @@ -4593,7 +4593,7 @@ This API is not CLS-compliant. :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Inequality/inequality1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Inequality/inequality1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.inequality/vb/inequality1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Inequality/inequality1.vb" id="Snippet1"::: Languages that don't support custom operators can test for inequality by calling the method and reversing its value. @@ -4616,7 +4616,7 @@ The operator allows performing mul :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Multiply/multiply2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Multiply/multiply2.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.multiply/vb/multiply2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Multiply/multiply2.vb" id="Snippet2"::: If the multiplication results in an overflow in either the real or imaginary component, the value of that component is either or . @@ -4809,7 +4809,7 @@ The operator allows performing :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Subtraction/subtract2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Subtraction/subtract2.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.subtract/vb/subtract2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Subtraction/subtract2.vb" id="Snippet2"::: If the subtraction results in an overflow in either the real or imaginary component, the value of that component is either or . @@ -5043,7 +5043,7 @@ Languages that don't support custom operators can call the when it is added to the original complex number. Languages that don't support custom operators can call the method instead. @@ -5336,7 +5336,7 @@ Languages that don't support custom operators can call the @@ -5409,7 +5409,7 @@ Languages that don't support custom operators can call the @@ -5515,7 +5515,7 @@ Languages that don't support custom operators can call the @@ -5578,7 +5578,7 @@ $\frac{a}{a^2 + b^2} + -\frac{b}{a^2 + b^2}$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Reciprocal/reciprocal1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Reciprocal/reciprocal1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.reciprocal/vb/reciprocal1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Reciprocal/reciprocal1.vb" id="Snippet1"::: ]]> @@ -5641,7 +5641,7 @@ $\frac{a}{a^2 + b^2} + -\frac{b}{a^2 + b^2}$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Asin/asin1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Asin/asin1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.asin/vb/asin1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Asin/asin1.vb" id="Snippet1"::: ]]> @@ -5783,7 +5783,7 @@ The following example subtracts each complex number in an array from a complex n :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Subtraction/subtract1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Subtraction/subtract1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.subtract/vb/subtract1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Subtraction/subtract1.vb" id="Snippet1"::: ]]> @@ -6743,7 +6743,7 @@ Languages that support custom operators can use the @@ -6866,7 +6866,7 @@ Languages that support custom operators can use the @@ -6940,7 +6940,7 @@ Languages that support custom operators can use the @@ -7017,7 +7017,7 @@ Languages that support custom operators can use the @@ -7105,7 +7105,7 @@ Languages that support custom operators can use the @@ -7478,7 +7478,7 @@ An implementation of this interface should produce the same string of characters :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Zero/zero1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Zero/zero1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.zero/vb/zero1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Zero/zero1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/AssemblyBuilder.xml b/xml/System.Reflection.Emit/AssemblyBuilder.xml index 212c3298a15..1da51f68ab2 100644 --- a/xml/System.Reflection.Emit/AssemblyBuilder.xml +++ b/xml/System.Reflection.Emit/AssemblyBuilder.xml @@ -91,7 +91,7 @@ The following code example shows how to define and use a dynamic assembly. The e :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/AssemblyBuilder/Overview/24895.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Reflection.Emit/AssemblyBuilder/Overview/24895.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilderClass/vb/24895.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/Overview/24895.vb" id="Snippet1"::: ]]> @@ -185,7 +185,7 @@ The following code example shows how to define and use a dynamic assembly. The e The following code sample demonstrates how to attach a resource file to a dynamically created assembly, using `AddResourceFile`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/AssemblyBuilder/AddResourceFile/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.AddResourceFile Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/AddResourceFile/source.vb" id="Snippet1"::: ]]> @@ -262,7 +262,7 @@ The following code example shows how to define and use a dynamic assembly. The e The following code sample demonstrates how to attach a resource file to a dynamically created assembly, using `AddResourceFile`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/AssemblyBuilder/AddResourceFile/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.AddResourceFile Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/AddResourceFile/source.vb" id="Snippet1"::: ]]> @@ -586,7 +586,7 @@ The following code example shows how to define and use a dynamic assembly. The e The code example below demonstrates how to create a transient dynamic module using `DefineDynamicModule`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/AssemblyBuilder/DefineDynamicModule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.DefineDynamicModule Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineDynamicModule/source.vb" id="Snippet1"::: ]]> @@ -671,7 +671,7 @@ The following code example shows how to define and use a dynamic assembly. The e The code example below demonstrates how to create a transient dynamic module using `DefineDynamicModule`, suppressing symbol information. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/AssemblyBuilder/DefineDynamicModule/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.DefineDynamicModule Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineDynamicModule/source.vb" id="Snippet2"::: ]]> @@ -751,7 +751,7 @@ The following code example shows how to define and use a dynamic assembly. The e The code example below demonstrates how to create a persistent dynamic module using `DefineDynamicModule`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/AssemblyBuilder/DefineDynamicModule/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.DefineDynamicModule Example/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineDynamicModule/source.vb" id="Snippet3"::: ]]> @@ -838,7 +838,7 @@ The following code example shows how to define and use a dynamic assembly. The e The code example below demonstrates how to create a persistent dynamic module with symbol emission using `DefineDynamicModule`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/AssemblyBuilder/DefineDynamicModule/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.DefineDynamicModule Example/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineDynamicModule/source.vb" id="Snippet4"::: ]]> @@ -961,7 +961,7 @@ The following code example shows how to define and use a dynamic assembly. The e The following example uses the method to get a resource writer. The example uses the resource writer to add three resource strings. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/AssemblyBuilder/DefineResource/assemblybuilder_defineresource.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder.DefineResource Example 2/VB/assemblybuilder_defineresource.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineResource/assemblybuilder_defineresource.vb" id="Snippet1"::: ]]> @@ -1112,7 +1112,7 @@ The following code example shows how to define and use a dynamic assembly. The e The following code sample creates and attaches an array of bytes representing an unmanaged resource to a dynamic assembly, using `DefineUnmanagedResource`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/AssemblyBuilder/DefineUnmanagedResource/assemblybuilder_defineunmanagedresource2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder_DefineUnmanagedResource2/VB/assemblybuilder_defineunmanagedresource2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineUnmanagedResource/assemblybuilder_defineunmanagedresource2.vb" id="Snippet1"::: ]]> @@ -1167,7 +1167,7 @@ The following code example shows how to define and use a dynamic assembly. The e The example below demonstrates a call to `DefineUnmanagedResource`, passing an external resource file. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/AssemblyBuilder/DefineUnmanagedResource/assemblybuilder_defineunmanagedresource.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder_DefineUnmanagedResource/VB/assemblybuilder_defineunmanagedresource.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineUnmanagedResource/assemblybuilder_defineunmanagedresource.vb" id="Snippet3"::: ]]> @@ -1241,7 +1241,7 @@ The following code example shows how to define and use a dynamic assembly. The e The example below illustrates the usage of `DefineVersionInfoResource`. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyCompanyAttribute/Overview/assemblybuilder_defineversioninforesource.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder_DefineVersionInfoResource/VB/assemblybuilder_defineversioninforesource.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyCompanyAttribute/Overview/assemblybuilder_defineversioninforesource.vb" id="Snippet1"::: ]]> @@ -1304,7 +1304,7 @@ The following code example shows how to define and use a dynamic assembly. The e The example below illustrates the usage of `DefineVersionInfoResource`. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyCompanyAttribute/Overview/assemblybuilder_defineversioninforesource.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder_DefineVersionInfoResource/VB/assemblybuilder_defineversioninforesource.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyCompanyAttribute/Overview/assemblybuilder_defineversioninforesource.vb" id="Snippet1"::: ]]> @@ -3100,7 +3100,7 @@ The following code example shows how to define and use a dynamic assembly. The e The following code sample creates a dynamic assembly and then persists it to a local disk using `Save`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/AssemblyBuilder/Save/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.Save Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/Save/source.vb" id="Snippet1"::: ]]> @@ -3321,7 +3321,7 @@ The following code example shows how to define and use a dynamic assembly. The e The following code sample illustrates the use of `SetCustomAttribute` within , using a . :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/AssemblyBuilder/SetCustomAttribute/assemblybuilder_setcustomattribute1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder_SetCustomAttribute1/VB/assemblybuilder_setcustomattribute1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/SetCustomAttribute/assemblybuilder_setcustomattribute1.vb" id="Snippet1"::: ]]> @@ -3399,7 +3399,7 @@ For information on how to format `binaryAttribute`, see the metadata specificati The following code sample illustrates the use of `SetCustomAttribute` to attach a custom attribute to a dynamically generated assembly. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/AssemblyBuilder/SetCustomAttribute/assemblybuilder_setcustomattribute2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder_SetCustomAttribute2/VB/assemblybuilder_setcustomattribute2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/SetCustomAttribute/assemblybuilder_setcustomattribute2.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/ConstructorBuilder.xml b/xml/System.Reflection.Emit/ConstructorBuilder.xml index ac128d7da99..4a7c82abd36 100644 --- a/xml/System.Reflection.Emit/ConstructorBuilder.xml +++ b/xml/System.Reflection.Emit/ConstructorBuilder.xml @@ -94,7 +94,7 @@ The following code sample illustrates the contextual usage of a `ConstructorBuilder`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ConstructorBuilder/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ConstructorBuilder Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/Overview/source.vb" id="Snippet1"::: ]]> @@ -178,7 +178,7 @@ The following code sample illustrates the use of `AddDeclarativeSecurity`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ConstructorBuilder/AddDeclarativeSecurity/constructorbuilder_attributes_4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_Attributes_4/VB/constructorbuilder_attributes_4.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/AddDeclarativeSecurity/constructorbuilder_attributes_4.vb" id="Snippet1"::: ]]> @@ -238,7 +238,7 @@ The following code sample illustrates the use of `Attributes`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ConstructorBuilder/AddDeclarativeSecurity/constructorbuilder_attributes_4.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_Attributes_4/VB/constructorbuilder_attributes_4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/AddDeclarativeSecurity/constructorbuilder_attributes_4.vb" id="Snippet2"::: ]]> @@ -339,7 +339,7 @@ The following code sample illustrates the use of `DeclaringType`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ConstructorBuilder/AddDeclarativeSecurity/constructorbuilder_attributes_4.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_Attributes_4/VB/constructorbuilder_attributes_4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/AddDeclarativeSecurity/constructorbuilder_attributes_4.vb" id="Snippet2"::: ]]> @@ -629,7 +629,7 @@ The following code sample illustrates the use of the `GetILGenerator` method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ConstructorBuilder/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ConstructorBuilder Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/Overview/source.vb" id="Snippet1"::: ]]> @@ -772,7 +772,7 @@ The following code sample illustrates the use of `GetMethodImplementationFlags`. :::code language="csharp" source="~/snippets/csharp/System.Reflection/MethodBase/GetMethodImplementationFlags/constructorbuilder_getmodule_4.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_GetModule_4/VB/constructorbuilder_getmodule_4.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/MethodBase/GetMethodImplementationFlags/constructorbuilder_getmodule_4.vb" id="Snippet3"::: ]]> @@ -813,7 +813,7 @@ The following code sample illustrates the usage of `GetModule`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ConstructorBuilder/GetModule/source3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.GetModule/VB/source3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/GetModule/source3.vb" id="Snippet1"::: ]]> @@ -870,7 +870,7 @@ The code sample illustrates the use of `GetParameters`. :::code language="csharp" source="~/snippets/csharp/System.Reflection/MethodBase/GetMethodImplementationFlags/constructorbuilder_getmodule_4.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_GetModule_4/VB/constructorbuilder_getmodule_4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/MethodBase/GetMethodImplementationFlags/constructorbuilder_getmodule_4.vb" id="Snippet4"::: ]]> @@ -915,7 +915,7 @@ This code sample illustrates the use of `GetToken`. :::code language="csharp" source="~/snippets/csharp/System.Reflection/MethodBase/GetMethodImplementationFlags/constructorbuilder_getmodule_4.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_GetModule_4/VB/constructorbuilder_getmodule_4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/MethodBase/GetMethodImplementationFlags/constructorbuilder_getmodule_4.vb" id="Snippet2"::: ]]> @@ -1402,7 +1402,7 @@ The following code sample illustrates the use of `Name`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ConstructorBuilder/Name/constructorbuilder_name_5.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_Name_5/VB/constructorbuilder_name_5.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/Name/constructorbuilder_name_5.vb" id="Snippet2"::: ]]> @@ -1564,7 +1564,7 @@ The following code sample illustrates the use of `SetCustomAttribute` of the context of a , passing a . :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ConstructorBuilder/SetCustomAttribute/constructorbuilder_setcustomattribute1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_SetCustomAttribute1/VB/constructorbuilder_setcustomattribute1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/SetCustomAttribute/constructorbuilder_setcustomattribute1.vb" id="Snippet1"::: ]]> @@ -1638,7 +1638,7 @@ For information on how to format `binaryAttribute`, see the metadata specificati The following code sample illustrates the use of `SetCustomAttribute` of the context of a , passing a byte blob. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ConstructorBuilder/SetCustomAttribute/constructorbuilder_setcustomattribute2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_SetCustomAttribute2/VB/constructorbuilder_setcustomattribute2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/SetCustomAttribute/constructorbuilder_setcustomattribute2.vb" id="Snippet1"::: ]]> @@ -1732,7 +1732,7 @@ For information on how to format `binaryAttribute`, see the metadata specificati The following code sample illustrates the use of `SetImplementationFlags`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ConstructorBuilder/SetImplementationFlags/constructorbuilder_setimplementationflags.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_SetImplementationFlags/VB/constructorbuilder_setimplementationflags.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/SetImplementationFlags/constructorbuilder_setimplementationflags.vb" id="Snippet1"::: ]]> @@ -1862,7 +1862,7 @@ For information on how to format `binaryAttribute`, see the metadata specificati The following code sample illustrates the use of `SetSymCustomAttributes`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ConstructorBuilder/SetSymCustomAttribute/constructorbuilder_setsymcustomattribute.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_SetSymCustomAttribute/VB/constructorbuilder_setsymcustomattribute.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/SetSymCustomAttribute/constructorbuilder_setsymcustomattribute.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/CustomAttributeBuilder.xml b/xml/System.Reflection.Emit/CustomAttributeBuilder.xml index db197f59b00..574cb358c40 100644 --- a/xml/System.Reflection.Emit/CustomAttributeBuilder.xml +++ b/xml/System.Reflection.Emit/CustomAttributeBuilder.xml @@ -82,7 +82,7 @@ The following code sample illustrates the use of `CustomAttributeBuilder`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/CustomAttributeBuilder/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.CustomAttributeBuilder Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/CustomAttributeBuilder/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/DynamicMethod.xml b/xml/System.Reflection.Emit/DynamicMethod.xml index 4c06196d25f..7e8b6b044a3 100644 --- a/xml/System.Reflection.Emit/DynamicMethod.xml +++ b/xml/System.Reflection.Emit/DynamicMethod.xml @@ -58,7 +58,7 @@ The following code example creates a dynamic method that takes two parameters. The example emits a simple function body that prints the first parameter to the console, and the example uses the second parameter as the return value of the method. The example completes the method by creating a delegate, invokes the delegate with different parameters, and finally invokes the dynamic method using the method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/DynamicMethod/Overview/source.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.All/VB/source.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/DynamicMethod/Overview/source.vb" id="Snippet1"::: ]]> How to: Define and Execute Dynamic Methods @@ -361,7 +361,7 @@ The following code example creates a dynamic method that takes two parameters. T The following code example creates a dynamic method that takes two parameters. The example emits a simple function body that prints the first parameter to the console, and the example uses the second parameter as the return value of the method. The example completes the method by creating a delegate, invokes the delegate with different parameters, and finally invokes the dynamic method using the method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/DynamicMethod/.ctor/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.ctor1/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/DynamicMethod/.ctor/source1.vb" id="Snippet1"::: ]]> @@ -479,7 +479,7 @@ The following code example creates a dynamic method that takes two parameters. T The `UseLikeStatic` delegate is invoked, passing in the instance of `Example` that is bound to the `UseLikeInstance` delegate. Then the `UseLikeInstance` delegate is invoked, so that both delegates act on the same instance of `Example`. The changes in the values of the internal field are displayed after each call. Finally, a `UseLikeInstance` delegate is bound to an instance of `DerivedFromExample`, and the delegate calls are repeated. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/DynamicMethod/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.ClosedOver/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/DynamicMethod/.ctor/source.vb" id="Snippet1"::: ]]> @@ -977,7 +977,7 @@ The following code example creates a dynamic method that takes two parameters. T The following code example displays the method attributes of a dynamic method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/DynamicMethod/Overview/source.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.All/VB/source.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/DynamicMethod/Overview/source.vb" id="Snippet21"::: ]]> @@ -1032,7 +1032,7 @@ The following code example creates a dynamic method that takes two parameters. T The following code example displays the calling convention of a dynamic method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/DynamicMethod/Overview/source.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.All/VB/source.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/DynamicMethod/Overview/source.vb" id="Snippet22"::: ]]> @@ -1118,7 +1118,7 @@ The following code example creates a dynamic method that takes two parameters. T The following code example creates a dynamic method that takes two parameters. The example emits a simple function body that prints the first parameter to the console, and the example uses the second parameter as the return value of the method. The example completes the method by creating a delegate, invokes the delegate with different parameters, and finally invokes the dynamic method using the method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/DynamicMethod/.ctor/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.ctor1/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/DynamicMethod/.ctor/source1.vb" id="Snippet1"::: ]]> @@ -1226,7 +1226,7 @@ The following code example creates a dynamic method that takes two parameters. T The `UseLikeStatic` delegate is invoked, passing in the instance of `Example` that is bound to the `UseLikeInstance` delegate. Then the `UseLikeInstance` delegate is invoked, so that both delegates act on the same instance of `Example`. The changes in the values of the internal field are displayed after each call. Finally, a `UseLikeInstance` delegate is bound to an instance of `DerivedFromExample`, and the delegate calls are repeated. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/DynamicMethod/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.ClosedOver/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/DynamicMethod/.ctor/source.vb" id="Snippet1"::: ]]> @@ -1295,7 +1295,7 @@ The following code example creates a dynamic method that takes two parameters. T The following code example displays the declaring type of a dynamic method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/DynamicMethod/Overview/source.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.All/VB/source.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/DynamicMethod/Overview/source.vb" id="Snippet23"::: ]]> @@ -1360,7 +1360,7 @@ The following code example creates a dynamic method that takes two parameters. T The following code example shows how to define parameter information for a dynamic method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/DynamicMethod/Overview/source.cs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.All/VB/source.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/DynamicMethod/Overview/source.vb" id="Snippet33"::: ]]> @@ -1665,7 +1665,7 @@ The following code example creates a dynamic method that takes two parameters. T The following code example creates a dynamic method that takes two parameters. The example emits a simple function body that prints the first parameter to the console, and the example uses the second parameter as the return value of the method. The example completes the method by creating a delegate, invokes the delegate with different parameters, and finally invokes the dynamic method using the method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/DynamicMethod/.ctor/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.ctor1/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/DynamicMethod/.ctor/source1.vb" id="Snippet1"::: ]]> @@ -1734,7 +1734,7 @@ The following code example creates a dynamic method that takes two parameters. T The following code example demonstrates this method overload. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/DynamicMethod/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.All/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/DynamicMethod/Overview/source.vb" id="Snippet2"::: ]]> @@ -1839,7 +1839,7 @@ The following code example creates a dynamic method that takes two parameters. T The following code example displays the parameters of a dynamic method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/DynamicMethod/Overview/source.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.All/VB/source.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/DynamicMethod/Overview/source.vb" id="Snippet34"::: ]]> @@ -1896,7 +1896,7 @@ The following code example creates a dynamic method that takes two parameters. T The following code example displays the property of a dynamic method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/DynamicMethod/Overview/source.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.All/VB/source.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/DynamicMethod/Overview/source.vb" id="Snippet24"::: ]]> @@ -1981,7 +1981,7 @@ The following code example creates a dynamic method that takes two parameters. T The following code example invokes a dynamic method with exact binding, using the US-English culture. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/DynamicMethod/Overview/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.All/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/DynamicMethod/Overview/source.vb" id="Snippet4"::: ]]> @@ -2432,7 +2432,7 @@ The following code example creates a dynamic method that takes two parameters. T The following code example displays the property of a dynamic method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/DynamicMethod/Overview/source.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.All/VB/source.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/DynamicMethod/Overview/source.vb" id="Snippet26"::: ]]> @@ -2489,7 +2489,7 @@ The following code example creates a dynamic method that takes two parameters. T The following code example displays the name of a dynamic method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/DynamicMethod/Overview/source.cs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.All/VB/source.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/DynamicMethod/Overview/source.vb" id="Snippet27"::: ]]> @@ -2551,7 +2551,7 @@ The following code example creates a dynamic method that takes two parameters. T The following code example displays the reflected type of a dynamic method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/DynamicMethod/Overview/source.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.All/VB/source.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/DynamicMethod/Overview/source.vb" id="Snippet28"::: ]]> @@ -2653,7 +2653,7 @@ The following code example creates a dynamic method that takes two parameters. T The following code example displays the return type of a dynamic method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/DynamicMethod/Overview/source.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.All/VB/source.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/DynamicMethod/Overview/source.vb" id="Snippet30"::: ]]> @@ -2708,7 +2708,7 @@ The following code example creates a dynamic method that takes two parameters. T The following code example shows how to display the custom attributes of the return type of a dynamic method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/DynamicMethod/Overview/source.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.All/VB/source.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/DynamicMethod/Overview/source.vb" id="Snippet31"::: ]]> @@ -2765,7 +2765,7 @@ The following code example creates a dynamic method that takes two parameters. T The following code example displays the method of a dynamic method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/DynamicMethod/Overview/source.cs" id="Snippet32"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.All/VB/source.vb" id="Snippet32"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/DynamicMethod/Overview/source.vb" id="Snippet32"::: ]]> diff --git a/xml/System.Reflection.Emit/EnumBuilder.xml b/xml/System.Reflection.Emit/EnumBuilder.xml index 16e5034413c..5f534019f50 100644 --- a/xml/System.Reflection.Emit/EnumBuilder.xml +++ b/xml/System.Reflection.Emit/EnumBuilder.xml @@ -102,7 +102,7 @@ > Prior to the .NET Framework version 2.0, this code example does not produce a correct enumeration. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/EnumBuilder/Overview/modulebuilder_defineenum.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefineEnum/VB/modulebuilder_defineenum.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/EnumBuilder/Overview/modulebuilder_defineenum.vb" id="Snippet1"::: ]]> @@ -179,7 +179,7 @@ The following code sample demonstrates the use of the `Assembly` property to reference the parent assembly of the current `EnumBuilder`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/EnumBuilder/Assembly/enumbuilder_properties_5.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EnumBuilder_Properties_5/VB/enumbuilder_properties_5.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/EnumBuilder/Assembly/enumbuilder_properties_5.vb" id="Snippet1"::: ]]> @@ -244,7 +244,7 @@ See for a description of the format of the The following code sample demonstrates the use of the `AssemblyQualifiedName` property to reference the qualified parent assembly name of the current `EnumBuilder`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/EnumBuilder/Assembly/enumbuilder_properties_5.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EnumBuilder_Properties_5/VB/enumbuilder_properties_5.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/EnumBuilder/Assembly/enumbuilder_properties_5.vb" id="Snippet2"::: ]]> @@ -626,7 +626,7 @@ The following code sample demonstrates the use of the `AssemblyQualifiedName` pr > Prior to the .NET Framework version 2.0, this code example does not produce a correct enumeration. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/EnumBuilder/Overview/modulebuilder_defineenum.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefineEnum/VB/modulebuilder_defineenum.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/EnumBuilder/Overview/modulebuilder_defineenum.vb" id="Snippet1"::: ]]> @@ -1081,7 +1081,7 @@ The following code sample demonstrates the use of the `AssemblyQualifiedName` pr The following code sample illustrates the use of `GetCustomAttribute` in the context of . :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/EnumBuilder/GetCustomAttributes/enumbuilder_setcustomattribute2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EnumBuilder_SetCustomAttribute2/VB/enumbuilder_setcustomattribute2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/EnumBuilder/GetCustomAttributes/enumbuilder_setcustomattribute2.vb" id="Snippet1"::: ]]> @@ -1141,7 +1141,7 @@ The following code sample demonstrates the use of the `AssemblyQualifiedName` pr The following code sample illustrates the use of `GetCustomAttribute` in the context of . :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/EnumBuilder/GetCustomAttributes/enumbuilder_setcustomattribute1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EnumBuilder_SetCustomAttribute1/VB/enumbuilder_setcustomattribute1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/EnumBuilder/GetCustomAttributes/enumbuilder_setcustomattribute1.vb" id="Snippet2"::: ]]> @@ -2404,7 +2404,7 @@ The following code sample demonstrates the use of the `AssemblyQualifiedName` pr The following code sample demonstrates the use of the `GUID` property to reference the associated of the current `EnumBuilder`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/EnumBuilder/GUID/enumbuilder_properties_4.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EnumBuilder_Properties_4.cs/VB/enumbuilder_properties_4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/EnumBuilder/GUID/enumbuilder_properties_4.vb" id="Snippet4"::: ]]> @@ -3490,7 +3490,7 @@ The following code sample demonstrates the use of the `AssemblyQualifiedName` pr The following code sample demonstrates the use of the `Module` property to reference the parent module of the current `EnumBuilder`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/EnumBuilder/Assembly/enumbuilder_properties_5.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EnumBuilder_Properties_5/VB/enumbuilder_properties_5.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/EnumBuilder/Assembly/enumbuilder_properties_5.vb" id="Snippet3"::: ]]> @@ -3541,7 +3541,7 @@ The following code sample demonstrates the use of the `AssemblyQualifiedName` pr The following code sample demonstrates the use of the `Name` property to reference the name of the current `EnumBuilder`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/EnumBuilder/Assembly/enumbuilder_properties_5.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EnumBuilder_Properties_5/VB/enumbuilder_properties_5.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/EnumBuilder/Assembly/enumbuilder_properties_5.vb" id="Snippet4"::: ]]> @@ -3599,7 +3599,7 @@ The following code sample demonstrates the use of the `AssemblyQualifiedName` pr The following code sample demonstrates the use of the `Namespace` property to reference the associated namespace of the current `EnumBuilder`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/EnumBuilder/Assembly/enumbuilder_properties_5.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EnumBuilder_Properties_5/VB/enumbuilder_properties_5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/EnumBuilder/Assembly/enumbuilder_properties_5.vb" id="Snippet5"::: ]]> @@ -3711,7 +3711,7 @@ The following code sample demonstrates the use of the `AssemblyQualifiedName` pr The following code sample illustrates the use of `SetCustomAttribute` in the context of , passing a . :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/EnumBuilder/GetCustomAttributes/enumbuilder_setcustomattribute2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EnumBuilder_SetCustomAttribute2/VB/enumbuilder_setcustomattribute2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/EnumBuilder/GetCustomAttributes/enumbuilder_setcustomattribute2.vb" id="Snippet2"::: ]]> @@ -3785,7 +3785,7 @@ For information on how to format `binaryAttribute`, see the metadata specificati The following code sample illustrates the use of `SetCustomAttribute` in the context of , passing a byte blob. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/EnumBuilder/GetCustomAttributes/enumbuilder_setcustomattribute2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EnumBuilder_SetCustomAttribute2/VB/enumbuilder_setcustomattribute2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/EnumBuilder/GetCustomAttributes/enumbuilder_setcustomattribute2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Reflection.Emit/FieldBuilder.xml b/xml/System.Reflection.Emit/FieldBuilder.xml index 827940ee522..86a1857a619 100644 --- a/xml/System.Reflection.Emit/FieldBuilder.xml +++ b/xml/System.Reflection.Emit/FieldBuilder.xml @@ -89,7 +89,7 @@ The following example illustrates the use of the `FieldBuilder` class. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/FieldBuilder/Overview/FieldBuilder.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FieldBuilder_Class_Name/FieldBuilder.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/FieldBuilder/Overview/FieldBuilder.vb"::: ]]> @@ -166,7 +166,7 @@ The following code sample illustrates the use of `Attributes`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/FieldBuilder/Attributes/fieldbuilder_reflectedtype.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FieldBuilder_ReflectedType/VB/fieldbuilder_reflectedtype.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/FieldBuilder/Attributes/fieldbuilder_reflectedtype.vb" id="Snippet1"::: ]]> @@ -667,7 +667,7 @@ The following code sample illustrates the use of `Name`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/FieldBuilder/Overview/FieldBuilder.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FieldBuilder_Class_Name/FieldBuilder.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/FieldBuilder/Overview/FieldBuilder.vb"::: ]]> @@ -727,7 +727,7 @@ The following code sample illustrates the use of `ReflectedType`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/FieldBuilder/Attributes/fieldbuilder_reflectedtype.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FieldBuilder_ReflectedType/VB/fieldbuilder_reflectedtype.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/FieldBuilder/Attributes/fieldbuilder_reflectedtype.vb" id="Snippet1"::: ]]> @@ -894,7 +894,7 @@ The following code sample illustrates the use of `SetCustomAttribute` in the context of , using a . :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/FieldBuilder/SetCustomAttribute/fieldbuilder_setcustomattributes.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FieldBuilder_SetCustomAttributes/VB/fieldbuilder_setcustomattributes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/FieldBuilder/SetCustomAttribute/fieldbuilder_setcustomattributes.vb" id="Snippet1"::: ]]> @@ -969,7 +969,7 @@ For information on how to format `binaryAttribute`, see the metadata specificati The following code sample illustrates the use of `SetCustomAttribute` in the context of , using a byte blob. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/FieldBuilder/SetCustomAttribute/fieldbuilder_setcustomattributes.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FieldBuilder_SetCustomAttributes/VB/fieldbuilder_setcustomattributes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/FieldBuilder/SetCustomAttribute/fieldbuilder_setcustomattributes.vb" id="Snippet1"::: ]]> @@ -1062,7 +1062,7 @@ For information on how to format `binaryAttribute`, see the metadata specificati The following code sample illustrates the use of `SetMarshal`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/FieldBuilder/SetMarshal/fieldbuilder_setoffset.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FieldBuilder_SetOffset/VB/fieldbuilder_setoffset.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/FieldBuilder/SetMarshal/fieldbuilder_setoffset.vb" id="Snippet1"::: ]]> @@ -1125,7 +1125,7 @@ For information on how to format `binaryAttribute`, see the metadata specificati The following code sample illustrates the use of `SetOffset`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/FieldBuilder/SetMarshal/fieldbuilder_setoffset.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FieldBuilder_SetOffset/VB/fieldbuilder_setoffset.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/FieldBuilder/SetMarshal/fieldbuilder_setoffset.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/GenericTypeParameterBuilder.xml b/xml/System.Reflection.Emit/GenericTypeParameterBuilder.xml index b18e5c419a4..b7e72e74581 100644 --- a/xml/System.Reflection.Emit/GenericTypeParameterBuilder.xml +++ b/xml/System.Reflection.Emit/GenericTypeParameterBuilder.xml @@ -82,7 +82,7 @@ The following code example creates a generic type with two type parameters, and saves them in the assembly GenericEmitExample1.dll. You can use the [Ildasm.exe (IL Disassembler)](/dotnet/framework/tools/ildasm-exe-il-disassembler) to view the generated types. For a more detailed explanation of the steps involved in defining a dynamic generic type, see [How to: Define a Generic Type with Reflection Emit](/dotnet/framework/reflection-and-codedom/how-to-define-a-generic-type-with-reflection-emit). :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/GenericTypeParameterBuilder/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EmitGenericType/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/GenericTypeParameterBuilder/Overview/source.vb" id="Snippet1"::: ]]> @@ -3309,7 +3309,7 @@ The following code example creates a dynamic module, an abstract generic type named `Sample` with one type parameter, `T`, and an abstract method named `TestMethod`. `TestMethod` takes a `ref` parameter (`ByRef` in Visual Basic) of type `T`, a pointer to type `T`, and an array of `T`. This method returns a two-dimensional array of `T`. The code example saves the dynamic module to disk, so you can examine it using the MSIL Disassembler (Ildasm.exe). :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/GenericTypeParameterBuilder/MakeArrayType/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MakeXxxGenericTypeParameterBuilder/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/GenericTypeParameterBuilder/MakeArrayType/source.vb" id="Snippet1"::: ]]> @@ -3376,7 +3376,7 @@ The following code example creates a dynamic module, an abstract generic type named `Sample` with one type parameter, `T`, and an abstract method named `TestMethod`. `TestMethod` takes a `ref` parameter (`ByRef` in Visual Basic) of type `T`, a pointer to type `T`, and an array of `T`. This method returns a two-dimensional array of `T`. The code example saves the dynamic module to disk, so you can examine it using the MSIL Disassembler (Ildasm.exe). :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/GenericTypeParameterBuilder/MakeArrayType/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MakeXxxGenericTypeParameterBuilder/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/GenericTypeParameterBuilder/MakeArrayType/source.vb" id="Snippet1"::: ]]> @@ -3436,7 +3436,7 @@ The following code example creates a dynamic module, an abstract generic type named `Sample` with one type parameter, `T`, and an abstract method named `TestMethod`. `TestMethod` takes a `ref` parameter (`ByRef` in Visual Basic) of type `T`, a pointer to type `T`, and an array of `T`. This method returns a two-dimensional array of `T`. The code example saves the dynamic module to disk, so you can examine it using the MSIL Disassembler (Ildasm.exe). :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/GenericTypeParameterBuilder/MakeArrayType/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MakeXxxGenericTypeParameterBuilder/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/GenericTypeParameterBuilder/MakeArrayType/source.vb" id="Snippet1"::: ]]> @@ -3556,7 +3556,7 @@ The following code example creates a dynamic module, an abstract generic type named `Sample` with one type parameter, `T`, and an abstract method named `TestMethod`. `TestMethod` takes a `ref` parameter (`ByRef` in Visual Basic) of type `T`, a pointer to type `T`, and an array of `T`. This method returns a two-dimensional array of `T`. The code example saves the dynamic module to disk, so you can examine it using the MSIL Disassembler (Ildasm.exe). :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/GenericTypeParameterBuilder/MakeArrayType/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MakeXxxGenericTypeParameterBuilder/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/GenericTypeParameterBuilder/MakeArrayType/source.vb" id="Snippet1"::: ]]> @@ -3844,7 +3844,7 @@ The following code example creates a generic type with two type parameters, the second of which has a base type constraint, and saves them in the assembly GenericEmitExample1.dll. You can use the [Ildasm.exe (IL Disassembler)](/dotnet/framework/tools/ildasm-exe-il-disassembler) to view the generated types. For a more detailed explanation of the steps involved in defining a dynamic generic type, see [How to: Define a Generic Type with Reflection Emit](/dotnet/framework/reflection-and-codedom/how-to-define-a-generic-type-with-reflection-emit). :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/GenericTypeParameterBuilder/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EmitGenericType/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/GenericTypeParameterBuilder/Overview/source.vb" id="Snippet1"::: ]]> @@ -4095,7 +4095,7 @@ For information on how to format `binaryAttribute`, see the metadata specificati The following code example creates a generic type with two type parameters, the first of which is constrained to have a parameterless constructor and to be a reference type, and saves them in the assembly GenericEmitExample1.dll. You can use the [Ildasm.exe (IL Disassembler)](/dotnet/framework/tools/ildasm-exe-il-disassembler) to view the generated types. For a more detailed explanation of the steps involved in defining a dynamic generic type, see [How to: Define a Generic Type with Reflection Emit](/dotnet/framework/reflection-and-codedom/how-to-define-a-generic-type-with-reflection-emit). :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/GenericTypeParameterBuilder/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EmitGenericType/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/GenericTypeParameterBuilder/Overview/source.vb" id="Snippet1"::: ]]> @@ -4205,7 +4205,7 @@ For information on how to format `binaryAttribute`, see the metadata specificati The following code example creates a generic type with two type parameters, the second of which has two interface constraints, and saves them in the assembly GenericEmitExample1.dll. You can use the [Ildasm.exe (IL Disassembler)](/dotnet/framework/tools/ildasm-exe-il-disassembler) to view the generated types. For a more detailed explanation of the steps involved in defining a dynamic generic type, see [How to: Define a Generic Type with Reflection Emit](/dotnet/framework/reflection-and-codedom/how-to-define-a-generic-type-with-reflection-emit). :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/GenericTypeParameterBuilder/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EmitGenericType/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/GenericTypeParameterBuilder/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/ILGenerator.xml b/xml/System.Reflection.Emit/ILGenerator.xml index 67b0a7d149b..e7d519e5aab 100644 --- a/xml/System.Reflection.Emit/ILGenerator.xml +++ b/xml/System.Reflection.Emit/ILGenerator.xml @@ -178,7 +178,7 @@ The code sample below demonstrates the contextual usage of the `BeginCatchBlock` method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/BeginCatchBlock/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.ThrowException Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/BeginCatchBlock/source.vb" id="Snippet1"::: ]]> @@ -302,7 +302,7 @@ The code sample below demonstrates the contextual usage of the `BeginExceptionBlock` method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/BeginCatchBlock/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.ThrowException Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/BeginCatchBlock/source.vb" id="Snippet1"::: ]]> @@ -362,7 +362,7 @@ The following code sample illustrates the use of `BeginFaultBlock`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/BeginFaultBlock/ilgenerator_beginfaultblock.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ILGenerator_BeginFaultBlock/VB/ilgenerator_beginfaultblock.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/BeginFaultBlock/ilgenerator_beginfaultblock.vb" id="Snippet1"::: ]]> @@ -422,7 +422,7 @@ The following code sample illustrates the use of `BeginFinallyBlock`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/BeginFinallyBlock/ilgenerator_beginfinallyblock_2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ILGenerator_BeginFinallyBlock_2/VB/ilgenerator_beginfinallyblock_2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/BeginFinallyBlock/ilgenerator_beginfinallyblock_2.vb" id="Snippet2"::: ]]> @@ -485,7 +485,7 @@ The following code sample illustrates the use of `BeginScope` and `EndScope`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/BeginScope/ilgenerator_begin_endscope.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ILGenerator_Begin_EndScope/VB/ilgenerator_begin_endscope.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/BeginScope/ilgenerator_begin_endscope.vb" id="Snippet2"::: ]]> @@ -592,7 +592,7 @@ The following code example demonstrates the use of the `DeclareLocal` method. This code is part of a larger code example for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/DeclareLocal/localbuilder_sample_4.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/LocalBuilder_Sample_SetLocalSymInfo/VB/localbuilder_sample_4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/DeclareLocal/localbuilder_sample_4.vb" id="Snippet2"::: ]]> @@ -726,7 +726,7 @@ The code sample below demonstrates the contextual usage of the `DefineLabel` method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/DefineLabel/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.Label Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/DefineLabel/source.vb" id="Snippet1"::: ]]> @@ -801,7 +801,7 @@ The code sample below demonstrates the use of `Emit` to generate MSIL output via an instance of . :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/Emit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.Emit Example 2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/Emit/source.vb" id="Snippet1"::: ]]> @@ -1230,7 +1230,7 @@ The code sample below illustrates the creation of a dynamic method with a jump table. The jump table is built using an array of . :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/Emit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.Emit Example 2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/Emit/source.vb" id="Snippet1"::: ]]> @@ -1297,7 +1297,7 @@ The code sample below illustrates the creation of a dynamic method with a jump table. The jump table is built using an array of . :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/Emit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.Emit Example 2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/Emit/source.vb" id="Snippet1"::: ]]> @@ -1973,7 +1973,7 @@ The following code example emits two methods, a `varargs` method and a method th The following code sample demonstrates the contextual usage of the method to call an unmanaged type method external to the dynamic class. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/EmitCalli/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.EmitCalli Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/EmitCalli/source.vb" id="Snippet1"::: ]]> @@ -2141,7 +2141,7 @@ The following code example emits two methods, a `varargs` method and a method th The code sample below demonstrates the contextual usage of the method to write a string to the console in a dynamic method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/EmitWriteLine/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.OpCodes Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/EmitWriteLine/source.vb" id="Snippet1"::: ]]> @@ -2213,7 +2213,7 @@ The following code example emits two methods, a `varargs` method and a method th The following code sample demonstrates the use of the method to write a string to the console in a dynamic method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/EmitWriteLine/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.OpCodes Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/EmitWriteLine/source.vb" id="Snippet1"::: ]]> @@ -2282,7 +2282,7 @@ The following code example emits two methods, a `varargs` method and a method th The code sample below demonstrates the contextual usage of the `EmitWriteLine` method to write a string to the console in a dynamic method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/EmitWriteLine/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.OpCodes Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/EmitWriteLine/source.vb" id="Snippet1"::: ]]> @@ -2337,7 +2337,7 @@ The following code example emits two methods, a `varargs` method and a method th The code sample below demonstrates the contextual usage of the `EndExceptionBlock` method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/BeginCatchBlock/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.ThrowException Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/BeginCatchBlock/source.vb" id="Snippet1"::: ]]> @@ -2401,7 +2401,7 @@ The following code example emits two methods, a `varargs` method and a method th The following code sample illustrates the use of `BeginScope` and `EndScope`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/BeginScope/ilgenerator_begin_endscope.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ILGenerator_Begin_EndScope/VB/ilgenerator_begin_endscope.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/BeginScope/ilgenerator_begin_endscope.vb" id="Snippet2"::: ]]> @@ -2518,7 +2518,7 @@ The following code example emits two methods, a `varargs` method and a method th The code sample below demonstrates the contextual usage of `MarkLabel` to implement MSIL branching in a dynamic method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/Emit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.Emit Example 2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/Emit/source.vb" id="Snippet1"::: ]]> @@ -2893,7 +2893,7 @@ The following code example emits two methods, a `varargs` method and a method th The following code sample demonstrates the contextual usage of `ThrowException` to throw an exception inside the MSIL of a dynamic method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/BeginCatchBlock/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.ThrowException Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/BeginCatchBlock/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/LocalBuilder.xml b/xml/System.Reflection.Emit/LocalBuilder.xml index bbfe6ac0799..fcbac474a89 100644 --- a/xml/System.Reflection.Emit/LocalBuilder.xml +++ b/xml/System.Reflection.Emit/LocalBuilder.xml @@ -92,7 +92,7 @@ The following example creates a `static` method (`Shared` in Visual Basic) named `Function1` that returns a string and has a parameter of type . In the body of the method, the code example creates objects representing two local variables, and sets symbol information for the local variables. The method does not do anything significant, but the method body demonstrates storing a parameter to a local variable, storing a literal string to a local variable, and loading a local variable. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/DeclareLocal/localbuilder_sample_4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/LocalBuilder_Sample_SetLocalSymInfo/VB/localbuilder_sample_4.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/DeclareLocal/localbuilder_sample_4.vb" id="Snippet1"::: ]]> @@ -262,7 +262,7 @@ The following code sample illustrates the use of `LocalType`. This code is part of a larger example for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/DeclareLocal/localbuilder_sample_4.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/LocalBuilder_Sample_SetLocalSymInfo/VB/localbuilder_sample_4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/DeclareLocal/localbuilder_sample_4.vb" id="Snippet2"::: ]]> @@ -321,7 +321,7 @@ The following code sample illustrates the use of the method. This code is part of a larger example for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/DeclareLocal/localbuilder_sample_4.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/LocalBuilder_Sample_SetLocalSymInfo/VB/localbuilder_sample_4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/DeclareLocal/localbuilder_sample_4.vb" id="Snippet2"::: ]]> @@ -385,7 +385,7 @@ The following code sample illustrates the use of the method. This code is part of a larger example for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/DeclareLocal/localbuilder_sample_4.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/LocalBuilder_Sample_SetLocalSymInfo/VB/localbuilder_sample_4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/DeclareLocal/localbuilder_sample_4.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Reflection.Emit/MethodBuilder.xml b/xml/System.Reflection.Emit/MethodBuilder.xml index 5099a726feb..fabd46487b6 100644 --- a/xml/System.Reflection.Emit/MethodBuilder.xml +++ b/xml/System.Reflection.Emit/MethodBuilder.xml @@ -80,7 +80,7 @@ The following example uses the class to create a method within a dynamic type. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/Overview/source.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder Example/VB/source.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/Overview/source.vb" id="Snippet1"::: ]]> @@ -163,7 +163,7 @@ The following example uses the class The code sample below illustrates the contextual use of `AddDeclarativeSecurity` to require the caller of a method to have unrestricted permissions. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/AddDeclarativeSecurity/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.AddDeclarativeSecurity Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/AddDeclarativeSecurity/source.vb" id="Snippet1"::: ]]> @@ -362,7 +362,7 @@ The following example uses the class In the example provided below, a simple method that adds two integers is generated via opcode using `CreateMethodBody`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/CreateMethodBody/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Refelction.Emit.MethodBuilder.CreateMethodBody Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/CreateMethodBody/source.vb" id="Snippet1"::: ]]> @@ -430,7 +430,7 @@ The following example uses the class The following code illustrates the use of the `Type` property. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/DeclaringType/methodbuilderclass.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBuilderClass_TypeSample/VB/methodbuilderclass.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/DeclaringType/methodbuilderclass.vb" id="Snippet1"::: ]]> @@ -507,7 +507,7 @@ The following example uses the class > This code example generates a simple method body that merely returns a null reference. For a code example with a more fully developed method body that creates and uses generic types, see [How to: Define a Generic Method with Reflection Emit](/dotnet/framework/reflection-and-codedom/how-to-define-a-generic-method-with-reflection-emit). :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/DefineGenericParameters/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GenericMethodBuilder/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/DefineGenericParameters/source.vb" id="Snippet1"::: ]]> @@ -1119,7 +1119,7 @@ The following example uses the class The code sample below demonstrates the contextual usage of the `GetILGenerator` method, creating and emitting a dynamic assembly that will calculate the dot product of two points in 3D space. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/GetILGenerator/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit ILGenerator Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/GetILGenerator/source.vb" id="Snippet1"::: ]]> @@ -1179,7 +1179,7 @@ The following example uses the class The code sample below demonstrates the contextual usage of the `GetILGenerator` method, creating and emitting a dynamic assembly that will calculate the dot product of two points in 3D space. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/GetILGenerator/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit ILGenerator Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/GetILGenerator/source.vb" id="Snippet1"::: ]]> @@ -1297,7 +1297,7 @@ The following example uses the class The sample code below illustrates the usage of the `GetModule` method to retrieve information about a dynamically-generated module. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ConstructorBuilder/GetModule/source3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.GetModule/VB/source3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/GetModule/source3.vb" id="Snippet1"::: ]]> @@ -1349,7 +1349,7 @@ The following example uses the class The code sample below illustrates the use of `GetParameters` to discover information on the parameters passed to a dynamically-generated method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/GetParameters/source4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.GetParameters Example/VB/source4.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/GetParameters/source4.vb" id="Snippet1"::: ]]> @@ -1667,7 +1667,7 @@ The following example uses the class The following code example displays the status of a method. This code is part of a larger example provided for the method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/DefineGenericParameters/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GenericMethodBuilder/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/DefineGenericParameters/source.vb" id="Snippet7"::: ]]> @@ -1724,7 +1724,7 @@ The following example uses the class The following code example displays the status of a method. This code is part of a larger example provided for the method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/DefineGenericParameters/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GenericMethodBuilder/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/DefineGenericParameters/source.vb" id="Snippet7"::: ]]> @@ -1938,7 +1938,7 @@ The following example uses the class > For another code example that uses , see . is also used extensively when emitting code that uses generic types. See [How to: Define a Generic Method with Reflection Emit](/dotnet/framework/reflection-and-codedom/how-to-define-a-generic-method-with-reflection-emit). :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/MakeGenericMethod/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBuilder.MakeGenericMethod/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/MakeGenericMethod/source.vb" id="Snippet1"::: ]]> @@ -2577,7 +2577,7 @@ For information on how to format `binaryAttribute`, see the metadata specificati The code sample below illustrates the contextual use of the `SetImplementationFlags` method to describe the implementation of MSIL in a method body. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/SetImplementationFlags/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.SetImplementationFlags Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetImplementationFlags/source.vb" id="Snippet1"::: ]]> @@ -2663,7 +2663,7 @@ For information on how to format `binaryAttribute`, see the metadata specificati The code sample below illustrates the contextual usage of the `SetMarshal` method to marshal the results of a method call as a different type. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/SetMarshal/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.SetMarshal Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetMarshal/source.vb" id="Snippet1"::: ]]> @@ -2801,9 +2801,9 @@ For information on how to format `binaryAttribute`, see the metadata specificati This code is part of a larger example provided for the method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/DefineGenericParameters/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GenericMethodBuilder/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/DefineGenericParameters/source.vb" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/DefineGenericParameters/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GenericMethodBuilder/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/DefineGenericParameters/source.vb" id="Snippet5"::: ]]> @@ -2875,9 +2875,9 @@ For information on how to format `binaryAttribute`, see the metadata specificati This code is part of a larger example provided for the method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/DefineGenericParameters/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GenericMethodBuilder/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/DefineGenericParameters/source.vb" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/DefineGenericParameters/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GenericMethodBuilder/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/DefineGenericParameters/source.vb" id="Snippet5"::: ]]> @@ -2998,7 +2998,7 @@ For information on how to format `binaryAttribute`, see the metadata specificati When the code example is run, it saves the emitted assembly as TypeBuilderGetFieldExample.exe. You can run TypeBuilderGetFieldExample.exe, and you can use the [Ildasm.exe (IL Disassembler)](/dotnet/framework/tools/ildasm-exe-il-disassembler) to compare the emitted code with the code for the `Sample` class that is compiled into the code example itself. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/SetSignature/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder.GetField_Generic/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetSignature/source.vb" id="Snippet1"::: ]]> @@ -3124,7 +3124,7 @@ For information on how to format `binaryAttribute`, see the metadata specificati The code sample below illustrates the contextual usage of the `SetSymCustomAttribute` method to set the byte values for the name and key of a custom attribute attached to a method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/SetSymCustomAttribute/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.SetSymCustomAttribute Example/VB/source2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetSymCustomAttribute/source2.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/ModuleBuilder.xml b/xml/System.Reflection.Emit/ModuleBuilder.xml index 6343c656497..c9ad1a87f8d 100644 --- a/xml/System.Reflection.Emit/ModuleBuilder.xml +++ b/xml/System.Reflection.Emit/ModuleBuilder.xml @@ -86,7 +86,7 @@ The following code sample demonstrates the use of `ModuleBuilder` to create a dynamic module. Note that the ModuleBuilder is created by calling in , rather than through a constructor. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ModuleBuilder/Overview/modulebuilder.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_Class/VB/modulebuilder.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/Overview/modulebuilder.vb" id="Snippet1"::: ]]> @@ -212,7 +212,7 @@ The following sample illustrates the use of `CreateGlobalFunctions` to create a static global method from a implemented with . :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ModuleBuilder/CreateGlobalFunctions/modulebuilder_createglobalfunctions.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_CreateGlobalFunctions/VB/modulebuilder_createglobalfunctions.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/CreateGlobalFunctions/modulebuilder_createglobalfunctions.vb" id="Snippet2"::: ]]> @@ -340,7 +340,7 @@ The following code sample illustrates the use of `DefineDocument` to attach an external symbol document (in this case, a raw IL file) to a dynamic module. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.SymbolStore/ISymbolDocumentWriter/Overview/modulebuilder_definedocument.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefineDocument/VB/modulebuilder_definedocument.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.SymbolStore/ISymbolDocumentWriter/Overview/modulebuilder_definedocument.vb" id="Snippet1"::: ]]> @@ -450,7 +450,7 @@ > Prior to the .NET Framework version 2.0, this code example does not produce a correct enumeration. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/EnumBuilder/Overview/modulebuilder_defineenum.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefineEnum/VB/modulebuilder_defineenum.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/EnumBuilder/Overview/modulebuilder_defineenum.vb" id="Snippet1"::: ]]> @@ -584,7 +584,7 @@ The following example illustrates the use of `DefineGlobalMethod` to create a type-independent method tied to the current . After building the global method, must be called in order to complete it. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ModuleBuilder/CreateGlobalFunctions/modulebuilder_createglobalfunctions.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_CreateGlobalFunctions/VB/modulebuilder_createglobalfunctions.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/CreateGlobalFunctions/modulebuilder_createglobalfunctions.vb" id="Snippet1"::: ]]> @@ -678,7 +678,7 @@ The following code sample illustrates the use of `DefineGlobalMethod` to create a type-independent method tied to the current . After building the global method, must be called in order to complete it. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ModuleBuilder/CreateGlobalFunctions/modulebuilder_createglobalfunctions.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_CreateGlobalFunctions/VB/modulebuilder_createglobalfunctions.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/CreateGlobalFunctions/modulebuilder_createglobalfunctions.vb" id="Snippet1"::: ]]> @@ -963,7 +963,7 @@ The following example uses the method to define an initialized data field in the `.sdata` section of the portable executable (PE) file. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ModuleBuilder/DefineInitializedData/modulebuilder_defineinitializeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefineInitializedData/VB/modulebuilder_defineinitializeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/DefineInitializedData/modulebuilder_defineinitializeddata.vb" id="Snippet1"::: ]]> @@ -1073,7 +1073,7 @@ After running the example, you can run the emitted assembly. The code in the emitted assembly's `Main` method reads the embedded manifest resource and prints the byte values to the console. You can use the [Ildasm.exe (IL Disassembler)](/dotnet/framework/tools/ildasm-exe-il-disassembler) to view the information in the assembly manifest. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ModuleBuilder/DefineManifestResource/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DefineManifestResource/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/DefineManifestResource/source.vb" id="Snippet1"::: ]]> @@ -1196,7 +1196,7 @@ > To get a non-zero return value, you must add to the method implementation flags after you create the , by using the and methods. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ModuleBuilder/DefinePInvokeMethod/modulebuilder_definepinvokemethod1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefinePInvokeMethod1/VB/modulebuilder_definepinvokemethod1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/DefinePInvokeMethod/modulebuilder_definepinvokemethod1.vb" id="Snippet1"::: ]]> @@ -1310,7 +1310,7 @@ This example uses a different overload of the method, but the technique is the same. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ModuleBuilder/DefinePInvokeMethod/modulebuilder_definepinvokemethod1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefinePInvokeMethod1/VB/modulebuilder_definepinvokemethod1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/DefinePInvokeMethod/modulebuilder_definepinvokemethod1.vb" id="Snippet1"::: ]]> @@ -1440,7 +1440,7 @@ The following example illustrates the use of `DefineResource` to add an external resource to the current . :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ModuleBuilder/DefineResource/modulebuilder_defineresource1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefineResource1/VB/modulebuilder_defineresource1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/DefineResource/modulebuilder_defineresource1.vb" id="Snippet1"::: ]]> @@ -1501,7 +1501,7 @@ The following example illustrates the use of DefineResource to add an external resource to the current . :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ModuleBuilder/DefineResource/modulebuilder_defineresource2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_DefineResource2/VB/modulebuilder_defineresource2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/DefineResource/modulebuilder_defineresource2.vb" id="Snippet1"::: ]]> @@ -2584,7 +2584,7 @@ The following example demonstrates how to use to obtain the corresponding to a method that returns an array value. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ModuleBuilder/GetArrayMethod/modulebuilder_getarraymethod.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_GetArrayMethod/VB/modulebuilder_getarraymethod.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/GetArrayMethod/modulebuilder_getarraymethod.vb" id="Snippet1"::: ]]> @@ -2703,7 +2703,7 @@ The following example demonstrates how to use to obtain the corresponding to a method that returns an array value. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ModuleBuilder/GetArrayMethod/modulebuilder_getarraymethod.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ModuleBuilder_GetArrayMethod/VB/modulebuilder_getarraymethod.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ModuleBuilder/GetArrayMethod/modulebuilder_getarraymethod.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Reflection.Emit/OpCode.xml b/xml/System.Reflection.Emit/OpCode.xml index 17b225264ae..1095ab32c65 100644 --- a/xml/System.Reflection.Emit/OpCode.xml +++ b/xml/System.Reflection.Emit/OpCode.xml @@ -762,7 +762,7 @@ The following example displays the property values of the instruction. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/OpCode/Value/value1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.emit.opcode.value/vb/value1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/OpCode/Value/value1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/OpCodes.xml b/xml/System.Reflection.Emit/OpCodes.xml index 154ba0158c1..2b7c45aac9c 100644 --- a/xml/System.Reflection.Emit/OpCodes.xml +++ b/xml/System.Reflection.Emit/OpCodes.xml @@ -61,7 +61,7 @@ The following example demonstrates the construction of a dynamic method using to emit `OpCodes` into a . :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/EmitWriteLine/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.OpCodes Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/EmitWriteLine/source.vb" id="Snippet1"::: ]]> @@ -15260,7 +15260,7 @@ callvirt m The following code sample illustrates the use of the `Switch` opcode to generate a jump table using an array of . :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/Emit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.Emit Example 2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/Emit/source.vb" id="Snippet1"::: ]]> @@ -15393,7 +15393,7 @@ callvirt m The example below demonstrates the use of `TakesSingleByteArgument` by reflecting on to the `OpCodes` class and testing to see whether each `OpCode` field takes a single-byte argument. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/OpCodes/TakesSingleByteArgument/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.OpCodes.TakesSingleByteArgument Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/OpCodes/TakesSingleByteArgument/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/ParameterBuilder.xml b/xml/System.Reflection.Emit/ParameterBuilder.xml index 1fe36af8758..2f9bd9a5afb 100644 --- a/xml/System.Reflection.Emit/ParameterBuilder.xml +++ b/xml/System.Reflection.Emit/ParameterBuilder.xml @@ -88,7 +88,7 @@ The following example demonstrates how to create a dynamic method with a parameter passed by reference using `ParameterBuilder`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ParameterBuilder/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ParameterBuilder Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ParameterBuilder/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/PropertyBuilder.xml b/xml/System.Reflection.Emit/PropertyBuilder.xml index 5b19d9e2da6..4dbc6b138a7 100644 --- a/xml/System.Reflection.Emit/PropertyBuilder.xml +++ b/xml/System.Reflection.Emit/PropertyBuilder.xml @@ -86,7 +86,7 @@ The following code sample demonstrates how to implement properties in a dynamic type using a `PropertyBuilder` obtained via to create the property framework and an associated to implement the IL logic within the property. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/PropertyBuilder/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.PropertyBuilder Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/PropertyBuilder/Overview/source.vb" id="Snippet1"::: ]]> @@ -1458,7 +1458,7 @@ For information on how to format `binaryAttribute`, see the metadata specificati The following code sample demonstrates how to attach a dynamic method to a `get` property created with `PropertyBuilder` using `SetGetMethod`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/PropertyBuilder/SetGetMethod/propertybuilder_setgetmethod_4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PropertyBuilder_SetGetMethod_4/VB/propertybuilder_setgetmethod_4.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/PropertyBuilder/SetGetMethod/propertybuilder_setgetmethod_4.vb" id="Snippet1"::: ]]> @@ -1551,7 +1551,7 @@ For information on how to format `binaryAttribute`, see the metadata specificati The following code sample demonstrates how to attach a dynamic method to a `set` property created with `PropertyBuilder` using `SetSetMethod`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/PropertyBuilder/SetGetMethod/propertybuilder_setgetmethod_4.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PropertyBuilder_SetGetMethod_4/VB/propertybuilder_setgetmethod_4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/PropertyBuilder/SetGetMethod/propertybuilder_setgetmethod_4.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Reflection.Emit/TypeBuilder.xml b/xml/System.Reflection.Emit/TypeBuilder.xml index 833458c6add..c89fa305f6d 100644 --- a/xml/System.Reflection.Emit/TypeBuilder.xml +++ b/xml/System.Reflection.Emit/TypeBuilder.xml @@ -91,12 +91,12 @@ The following code example shows how to define and use a dynamic assembly. The example assembly contains one type, `MyDynamicType`, that has a private field, a property that gets and sets the private field, constructors that initialize the private field, and a method that multiplies a user-supplied number by the private field value and returns the result. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/AssemblyBuilder/Overview/24895.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilderClass/vb/24895.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/Overview/24895.vb" id="Snippet1"::: The following code sample demonstrates how to build a type dynamically by using `TypeBuilder`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/GetILGenerator/source.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit ILGenerator Example/VB/source.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/GetILGenerator/source.vb" id="Snippet1"::: ]]> How to: Define a Generic Type with Reflection Emit @@ -180,7 +180,7 @@ The following code sample demonstrates how to build a type dynamically by using The following example demonstrates the use of the `AddDeclarativeSecurity` method to add a security demand for with the flag to a dynamic type named `MyDynamicClass`, in an assembly named EmittedExample.dll. The example produces no console output; after you run it, you can use [Ildasm.exe (IL Disassembler)](/dotnet/framework/tools/ildasm-exe-il-disassembler) to examine EmittedExample.dll. In `MyDynamicClass`, open the `.class public auto ansi` statement to see the declarative permission. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/TypeBuilder/AddDeclarativeSecurity/typebuilder_adddeclarativesecurity.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_AddDeclarativeSecurity/VB/typebuilder_adddeclarativesecurity.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/AddDeclarativeSecurity/typebuilder_adddeclarativesecurity.vb" id="Snippet1"::: ]]> @@ -259,7 +259,7 @@ The following code sample demonstrates how to build a type dynamically by using The following code sample demonstrates the implementation of an interface on a dynamically created type using `AddInterfaceImplementation`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/TypeBuilder/AddInterfaceImplementation/typebuilder_sample_4.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_Sample_4/VB/typebuilder_sample_4.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/AddInterfaceImplementation/typebuilder_sample_4.vb" id="Snippet3"::: ]]> @@ -572,7 +572,7 @@ See for a description of the format of the The following code example shows how to define an event handler for the event, in order to call the method on a nested type during a call on the enclosing type. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/TypeBuilder/CreateType/nestedenum.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.TypeBuilder.CreateType Example/VB/nestedenum.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/CreateType/nestedenum.vb" id="Snippet1"::: ]]> @@ -872,7 +872,7 @@ See for a description of the format of the The following code sample demonstrates the use of `DefineConstructor` to set a constructor's particular signature and attributes on a dynamic type and return a corresponding for MSIL population. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/TypeBuilder/AddInterfaceImplementation/typebuilder_sample_4.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_Sample_4/VB/typebuilder_sample_4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/AddInterfaceImplementation/typebuilder_sample_4.vb" id="Snippet2"::: ]]> @@ -1106,7 +1106,7 @@ See for a description of the format of the The following code sample demonstrates the use of `DefineConstructor` to set a constructor's particular signature and attributes on a dynamic type and return a corresponding for MSIL population. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/TypeBuilder/AddInterfaceImplementation/typebuilder_sample_4.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_Sample_4/VB/typebuilder_sample_4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/AddInterfaceImplementation/typebuilder_sample_4.vb" id="Snippet2"::: ]]> @@ -1520,7 +1520,7 @@ See for a description of the format of the The following code example creates a generic type with two type parameters and saves them in the assembly GenericEmitExample1.dll. You can use the [Ildasm.exe (IL Disassembler)](/dotnet/framework/tools/ildasm-exe-il-disassembler) to view the generated types. For a more detailed explanation of the steps involved in defining a dynamic generic type, see [How to: Define a Generic Type with Reflection Emit](/dotnet/framework/reflection-and-codedom/how-to-define-a-generic-type-with-reflection-emit). :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/GenericTypeParameterBuilder/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EmitGenericType/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/GenericTypeParameterBuilder/Overview/source.vb" id="Snippet1"::: ]]> @@ -1749,11 +1749,11 @@ See for a description of the format of the This code example is part of a larger example provided for the method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/DefineGenericParameters/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GenericMethodBuilder/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/DefineGenericParameters/source.vb" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/DefineGenericParameters/source.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GenericMethodBuilder/VB/source.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/DefineGenericParameters/source.vb" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/DefineGenericParameters/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GenericMethodBuilder/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/DefineGenericParameters/source.vb" id="Snippet5"::: ]]> @@ -1910,7 +1910,7 @@ See for a description of the format of the The following code sample demonstrates the use of `DefineMethod` to set a constructor's particular signature and attributes on a dynamic type and to return a corresponding for MSIL population. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/TypeBuilder/DefineMethod/typebuilder_definenestedtype1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_DefineNestedType1/VB/typebuilder_definenestedtype1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/DefineMethod/typebuilder_definenestedtype1.vb" id="Snippet2"::: ]]> @@ -2000,7 +2000,7 @@ See for a description of the format of the The following code sample demonstrates the use of `DefineMethod` to set a constructor's particular signature and attributes on a dynamic type and to return a corresponding for MSIL population. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/TypeBuilder/DefineMethod/typebuilder_definenestedtype1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_DefineNestedType1/VB/typebuilder_definenestedtype1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/DefineMethod/typebuilder_definenestedtype1.vb" id="Snippet2"::: ]]> @@ -2314,7 +2314,7 @@ See for a description of the format of the The code example creates an instance of the emitted class. It obtains a object for `I.M()`, and uses it to invoke the emitted class's explicit interface implementation. It then obtains a object for `A.M()`, and uses it to invoke the emitted class's override of that method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/TypeBuilder/DefineMethodOverride/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder.DefineMethodOverride/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/DefineMethodOverride/source.vb" id="Snippet1"::: ]]> @@ -3198,7 +3198,7 @@ See for a description of the format of the When the example is run, it executes the `PInvoke` method. It also saves the dynamic assembly as PInvokeTest.dll. You can use the [Ildasm.exe (IL Disassembler)](/dotnet/framework/tools/ildasm-exe-il-disassembler) to examine the `MyType` class and the `static` (`Shared` in Visual Basic) `PInvoke` method it contains. You can compile a Visual Basic or C# program that uses the static `MyType.GetTickCount` method by including a reference to the DLL when you run csc.exe or vbc.exe; for example, `/r:PInvokeTest.dll`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/TypeBuilder/DefinePInvokeMethod/100656_fix.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_DefinePInvokeMethod_Fix/VB/100656_fix.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/DefinePInvokeMethod/100656_fix.vb" id="Snippet1"::: ]]> @@ -3324,7 +3324,7 @@ See for a description of the format of the When the example is run, it executes the `PInvoke` method. It also saves the dynamic assembly as PInvokeTest.dll. You can use the [Ildasm.exe (IL Disassembler)](/dotnet/framework/tools/ildasm-exe-il-disassembler) to examine the `MyType` class and the `static` (`Shared` in Visual Basic) `PInvoke` method it contains. You can compile a Visual Basic or C# program that uses the static `MyType.GetTickCount` method by including a reference to the DLL when you run csc.exe or vbc.exe; for example, `/r:PInvokeTest.dll`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/TypeBuilder/DefinePInvokeMethod/100656_fix.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_DefinePInvokeMethod_Fix/VB/100656_fix.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/DefinePInvokeMethod/100656_fix.vb" id="Snippet1"::: ]]> @@ -3489,7 +3489,7 @@ See for a description of the format of the When the example is run, it executes the `PInvoke` method. It also saves the dynamic assembly as PInvokeTest.dll. You can use the [Ildasm.exe (IL Disassembler)](/dotnet/framework/tools/ildasm-exe-il-disassembler) to examine the `MyType` class and the `static` (`Shared` in Visual Basic) `PInvoke` method it contains. You can compile a Visual Basic or C# program that uses the static `MyType.GetTickCount` method by including a reference to the DLL when you run csc.exe or vbc.exe; for example, `/r:PInvokeTest.dll`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/TypeBuilder/DefinePInvokeMethod/100656_fix.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_DefinePInvokeMethod_Fix/VB/100656_fix.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/DefinePInvokeMethod/100656_fix.vb" id="Snippet1"::: ]]> @@ -3706,7 +3706,7 @@ See for a description of the format of the The following code sample demonstrates how to define a dynamic property and obtain a for specification. Note that a `PropertyBuilder` must also have a corresponding , which will house the IL logic for the property. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/PropertyBuilder/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.PropertyBuilder Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/PropertyBuilder/Overview/source.vb" id="Snippet1"::: ]]> @@ -4207,7 +4207,7 @@ See for a description of the format of the The following code sample demonstrates how to create an initialization constructor using `DefineTypeInitializer`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/TypeBuilder/DefineTypeInitializer/typebuilder_properties.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_Properties1/VB/typebuilder_properties.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/DefineTypeInitializer/typebuilder_properties.vb" id="Snippet3"::: ]]> @@ -4305,7 +4305,7 @@ See for a description of the format of the The following code sample demonstrates the use of `DefineUninitializedData` to create an uninitialized data field in a dynamic type: :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/TypeBuilder/DefineUninitializedData/typebuilder_defineuninitializeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_DefineUninitializedData/VB/typebuilder_defineuninitializeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/DefineUninitializedData/typebuilder_defineuninitializeddata.vb" id="Snippet1"::: ]]> @@ -4668,7 +4668,7 @@ See for a description of the format of the When the code example is run, it saves the emitted assembly as TypeBuilderGetFieldExample.exe. You can run TypeBuilderGetFieldExample.exe, and you can use the [Ildasm.exe (IL Disassembler)](/dotnet/framework/tools/ildasm-exe-il-disassembler) to compare the emitted code with the code for the `Sample` class that is compiled into the code example itself. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/SetSignature/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder.GetField_Generic/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetSignature/source.vb" id="Snippet1"::: ]]> @@ -5334,7 +5334,7 @@ See for a description of the format of the When the code example is run, it saves the emitted assembly as TypeBuilderGetFieldExample.exe. You can run TypeBuilderGetFieldExample.exe, and you can use the [Ildasm.exe (IL Disassembler)](/dotnet/framework/tools/ildasm-exe-il-disassembler) to compare the emitted code with the code for the `Sample` class that is compiled into the code example itself. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/SetSignature/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder.GetField_Generic/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetSignature/source.vb" id="Snippet1"::: ]]> @@ -5931,7 +5931,7 @@ See for a description of the format of the When the code example is run, it saves the emitted assembly as TypeBuilderGetFieldExample.exe. You can run TypeBuilderGetFieldExample.exe, and you can use the [Ildasm.exe (IL Disassembler)](/dotnet/framework/tools/ildasm-exe-il-disassembler) to compare the emitted code with the code for the `Sample` class that is compiled into the code example itself. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/SetSignature/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder.GetField_Generic/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetSignature/source.vb" id="Snippet1"::: ]]> @@ -7762,7 +7762,7 @@ See for a description of the format of the The following code example creates a dynamic module, an abstract type named `Sample`, and an abstract method named `TestMethod`. `TestMethod` takes a `ref` parameter (`ByRef` in Visual Basic) of type `Sample`, a pointer to type `Sample`, and an array of type `Sample`. It returns a two-dimensional array of type `Sample`. The code example saves the dynamic module to disk, so you can examine it with the [Ildasm.exe (IL Disassembler)](/dotnet/framework/tools/ildasm-exe-il-disassembler). :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/TypeBuilder/MakeArrayType/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MakeXxxTypeBuilder/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/MakeArrayType/source.vb" id="Snippet1"::: ]]> @@ -7829,7 +7829,7 @@ See for a description of the format of the The following code example creates a dynamic module, an abstract type named `Sample`, and an abstract method named `TestMethod`. `TestMethod` takes a `ref` parameter (`ByRef` in Visual Basic) of type `Sample`, a pointer to type `Sample`, and an array of type `Sample`. It returns a two-dimensional array of type `Sample`. The code example saves the dynamic module to disk, so you can examine it with the [Ildasm.exe (IL Disassembler)](/dotnet/framework/tools/ildasm-exe-il-disassembler). :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/TypeBuilder/MakeArrayType/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MakeXxxTypeBuilder/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/MakeArrayType/source.vb" id="Snippet1"::: ]]> @@ -7892,7 +7892,7 @@ See for a description of the format of the The following code example creates a dynamic module, an abstract type named `Sample`, and an abstract method named `TestMethod`. `TestMethod` takes a `ref` parameter (`ByRef` in Visual Basic) of type `Sample`, a pointer to type `Sample`, and an array of type `Sample`. It returns a two-dimensional array of type `Sample`. The code example saves the dynamic module to disk, so you can examine it with the [Ildasm.exe (IL Disassembler)](/dotnet/framework/tools/ildasm-exe-il-disassembler). :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/TypeBuilder/MakeArrayType/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MakeXxxTypeBuilder/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/MakeArrayType/source.vb" id="Snippet1"::: ]]> @@ -7975,7 +7975,7 @@ See for a description of the format of the - Two instances that represent the same constructed type do not compare as equal. For example, in the following code `t1.Equals(t2)` returns `false`: :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/TypeBuilder/MakeGenericType/remarks.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.emit.typebuilder.makegenerictype/vb/remarks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/MakeGenericType/remarks.vb" id="Snippet1"::: ]]> @@ -8046,7 +8046,7 @@ See for a description of the format of the The following code example creates a dynamic module, an abstract type named `Sample`, and an abstract method named `TestMethod`. `TestMethod` takes a `ref` parameter (`ByRef` in Visual Basic) of type `Sample`, a pointer to type `Sample`, and an array of type `Sample`. It returns a two-dimensional array of type `Sample`. The code example saves the dynamic module to disk, so you can examine it with the [Ildasm.exe (IL Disassembler)](/dotnet/framework/tools/ildasm-exe-il-disassembler). :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/TypeBuilder/MakeArrayType/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MakeXxxTypeBuilder/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/MakeArrayType/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/Assembly.xml b/xml/System.Reflection/Assembly.xml index 493c8e4ab6c..25e7071cfd7 100644 --- a/xml/System.Reflection/Assembly.xml +++ b/xml/System.Reflection/Assembly.xml @@ -154,7 +154,7 @@ The code example also demonstrates the use of the method to obtain an object that can be used to parse the full name of the assembly. The example displays the version number of the assembly, the property, and the property. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyClass/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/Overview/source.vb" id="Snippet1"::: ]]> @@ -287,7 +287,7 @@ In .NET 5 and later versions, for bundled assemblies, this property throws an ex The following example uses the property. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/CodeBase/codebase1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/codebase1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/CodeBase/codebase1.vb" id="Snippet1"::: ]]> @@ -386,7 +386,7 @@ In .NET 5 and later versions, for bundled assemblies, this property throws an ex The following example defines a `Person` class and calls the method to instantiate it. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/CreateInstance/createinstance1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.createinstance/vb/createinstance1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/CreateInstance/createinstance1.vb" id="Snippet1"::: ]]> @@ -496,7 +496,7 @@ In .NET 5 and later versions, for bundled assemblies, this property throws an ex The following example defines a `Person` class. It then calls the method to instantiate it, but because the casing of the `typeName` argument doesn't match that of the type's property, the method returns `null`. When the example passes the same string to the overload and specifies that the comparison should be case-insensitive, the `Person` class is found, and a `Person` object is successfully instantiated. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/CreateInstance/createinstance2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.createinstance/vb/createinstance2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/CreateInstance/createinstance2.vb" id="Snippet2"::: ]]> @@ -1165,7 +1165,7 @@ In .NET 5 and later versions, for bundled assemblies, this property throws an ex The following example retrieves the display name of the currently executing assembly, and the display name of the assembly that contains the type (`int` in C#, `Integer` in Visual Basic). :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/FullName/Example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Assembly.FullName/VB/Example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/FullName/Example.vb" id="Snippet1"::: ]]> @@ -1238,7 +1238,7 @@ In .NET 5 and later versions, for bundled assemblies, this property throws an ex The following example retrieves the assembly that contains the type and displays its name and file location. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/CodeBase/GetAssembly1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/GetAssembly1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/CodeBase/GetAssembly1.vb" id="Snippet12"::: ]]> @@ -1316,7 +1316,7 @@ In .NET 5 and later versions, for bundled assemblies, this property throws an ex The following example gets the calling assembly of the current method. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/CodeBase/getcallingassembly1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/getcallingassembly1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/CodeBase/getcallingassembly1.vb" id="Snippet4"::: ]]> @@ -1664,7 +1664,7 @@ In .NET 5 and later versions, for bundled assemblies, this property throws an ex For performance reasons, you should call this method only when you do not know at design time what assembly is currently executing. The recommended way to retrieve an object that represents the current assembly is to use the property of a type found in the assembly, as the following example illustrates. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/GetExecutingAssembly/assembly1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.getexecutingassembly/vb/assembly1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/GetExecutingAssembly/assembly1.vb" id="Snippet1"::: To get the assembly that contains the method that called the currently executing code, use . @@ -1674,7 +1674,7 @@ In .NET 5 and later versions, for bundled assemblies, this property throws an ex The following example uses the property to get the currently executing assembly based on a type contained in that assembly. It also calls the method to show that it returns an object that represents the same assembly. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/GetExecutingAssembly/getexecutingassembly1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.getexecutingassembly/vb/getexecutingassembly1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/GetExecutingAssembly/getexecutingassembly1.vb" id="Snippet5"::: ]]> @@ -1741,7 +1741,7 @@ In .NET 5 and later versions, for bundled assemblies, this property throws an ex The following code sample defines a number of classes with various access levels, and calls to display the ones that are visible from outside the assembly. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/GetExportedTypes/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Assembly.GetExportedTypes/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/GetExportedTypes/source.vb" id="Snippet1"::: ]]> @@ -2966,7 +2966,7 @@ Note: In .NET for Win The following code example demonstrates calling the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/GetReferencedAssemblies/Reflection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection/VB/Reflection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/GetReferencedAssemblies/Reflection.vb" id="Snippet1"::: ]]> @@ -3248,7 +3248,7 @@ Note: In .NET for Win The following example defines an abstract `MeansOfTransportation` class in the `Transportation` namespace. It calls the method to retrieve its object, calls the method to get an array of objects that represent the type's properties, and then displays information on the type's abstract properties. Note that the call to the method uses the type's fully qualified name (that is, its namespace along with its type name). :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/GetType/gettype1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.gettype/vb/gettype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/GetType/gettype1.vb" id="Snippet1"::: ]]> @@ -3548,7 +3548,7 @@ Note: In .NET for Win The following example displays parameters of one method on a type in the specified assembly. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/CodeBase/assembly.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/assembly.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/CodeBase/assembly.vb" id="Snippet11"::: ]]> @@ -3838,7 +3838,7 @@ This property is marked obsolete starting in .NET 5, and generates a compile-tim The following code example applies the attribute to an assembly and then uses to indicate whether it was applied. It also tests an attribute that was not applied. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/IsDefined/isdefined.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.isdefined/VB/isdefined.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/IsDefined/isdefined.vb" id="Snippet1"::: ]]> @@ -4108,13 +4108,11 @@ In .NET Core/.NET 5+, the target assembly will be loaded into the current [!NOTE] > **.NET Framework only:** If both the property and the property are set, the first attempt to load the assembly uses the display name (including version, culture, and so on, as returned by the property). If the file is not found, is used to search for the assembly. If the assembly is found using , the display name is matched against the assembly. If the match fails, a is thrown. - - ## Examples The following example instantiates an object and uses it to load the `sysglobal.dll` assembly. The example then displays the full name of the assembly's public types. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/Load/Load21.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.load/vb/Load2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/Load/Load21.vb" id="Snippet2"::: ]]> @@ -4195,10 +4193,10 @@ Note: In .NET for Win In .NET Core/5+, the target assembly is loaded into the current . For more information on assembly loading, see [Managed assembly loading algorithm](/dotnet/core/dependency-loading/loading-managed#algorithm"). -To load the correct assembly, it's recommended to call the `Load` method by passing the long form of the assembly name. The long form of an assembly name consists of its simple name (such as "System" for the System.dll assembly) along with its version, culture, public key token, and optionally its processor architecture. It corresponds to the assembly's property. The following example illustrates the use of a long name to load the System.dll assembly for the .NET Framework 4: +To load the correct assembly, it's recommended to call the `Load` method by passing the long form of the assembly name. The long form of an assembly name consists of its simple name (such as "System" for the System.dll assembly) along with its version, culture, public key token, and optionally its processor architecture. It corresponds to the assembly's property. The following example illustrates the use of a long name to load the System.dll assembly for .NET Framework 4: :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/Load/load11.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.load/vb/load1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/Load/load11.vb" id="Snippet1"::: is thrown if `assemblyString` specifies the full assembly name, and the first assembly that matches the simple name has a different version, culture, or public key token. The loader does not continue probing for other assemblies that match the simple name. @@ -4210,7 +4208,7 @@ To load the correct assembly, it's recommended to call the `Load` method by pass The following example loads an assembly given its fully qualified name, and lists all the types contained in the specified assembly. For information about how to obtain the fully qualified assembly name, see [Assembly Names](/dotnet/standard/assembly/names). :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/Load/load1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Assembly.Load1/VB/load1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/Load/load1.vb" id="Snippet1"::: ]]> @@ -4910,7 +4908,7 @@ The assembly is loaded into the default AssemblyLoadContext. For more informatio The following example loads an assembly given its file name or path. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/CodeBase/assembly.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/assembly.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/CodeBase/assembly.vb" id="Snippet11"::: ]]> @@ -5713,7 +5711,7 @@ In .NET 5 and later versions, for bundled assemblies, the value returned is an e The following example displays the location of the loaded file that contains the manifest. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/CodeBase/assembly.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/assembly.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/CodeBase/assembly.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Reflection/AssemblyCompanyAttribute.xml b/xml/System.Reflection/AssemblyCompanyAttribute.xml index 778d4d83bf4..6769e78d381 100644 --- a/xml/System.Reflection/AssemblyCompanyAttribute.xml +++ b/xml/System.Reflection/AssemblyCompanyAttribute.xml @@ -74,7 +74,7 @@ The following example shows how to apply attributes, including the attribute, to a dynamic assembly. The example saves the assembly to disk, and the attribute value can be viewed by using the **Windows File Properties** dialog. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyCompanyAttribute/Overview/assemblybuilder_defineversioninforesource.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder_DefineVersionInfoResource/VB/assemblybuilder_defineversioninforesource.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyCompanyAttribute/Overview/assemblybuilder_defineversioninforesource.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/AssemblyCopyrightAttribute.xml b/xml/System.Reflection/AssemblyCopyrightAttribute.xml index 35cbc27903e..ce9ba0ea973 100644 --- a/xml/System.Reflection/AssemblyCopyrightAttribute.xml +++ b/xml/System.Reflection/AssemblyCopyrightAttribute.xml @@ -74,7 +74,7 @@ The following example shows how to apply attributes, including the attribute, to a dynamic assembly. The example saves the assembly to disk, and the attribute value can be viewed by using the **Windows File Properties** dialog. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyCompanyAttribute/Overview/assemblybuilder_defineversioninforesource.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder_DefineVersionInfoResource/VB/assemblybuilder_defineversioninforesource.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyCompanyAttribute/Overview/assemblybuilder_defineversioninforesource.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/AssemblyDelaySignAttribute.xml b/xml/System.Reflection/AssemblyDelaySignAttribute.xml index a23130a7ada..7863f721134 100644 --- a/xml/System.Reflection/AssemblyDelaySignAttribute.xml +++ b/xml/System.Reflection/AssemblyDelaySignAttribute.xml @@ -83,7 +83,7 @@ sn -k TestPublicKey.snk Compile the example as a .dll. If you compile from the command line, use the `/t:library` option. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyDelaySignAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyDelaySignAttribute/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyDelaySignAttribute/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/AssemblyDescriptionAttribute.xml b/xml/System.Reflection/AssemblyDescriptionAttribute.xml index 0eee21878b6..0a61e13d11e 100644 --- a/xml/System.Reflection/AssemblyDescriptionAttribute.xml +++ b/xml/System.Reflection/AssemblyDescriptionAttribute.xml @@ -81,7 +81,7 @@ The following code example sets the for a simple assembly and indicates whether or not it was defined. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyDescriptionAttribute/Overview/DescrAttr.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assemblydescriptionattribute/VB/DescrAttr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyDescriptionAttribute/Overview/DescrAttr.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/AssemblyFlagsAttribute.xml b/xml/System.Reflection/AssemblyFlagsAttribute.xml index a1f617c1deb..360c3031c0f 100644 --- a/xml/System.Reflection/AssemblyFlagsAttribute.xml +++ b/xml/System.Reflection/AssemblyFlagsAttribute.xml @@ -79,7 +79,7 @@ The following code example shows how to apply the to an assembly, and how to read the flags at run time. The example also creates an instance of the attribute, and uses the property to display the flags. For an example of how to apply the to a dynamic assembly, see the property. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyFlagsAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyFlagsAttribute/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyFlagsAttribute/Overview/source.vb" id="Snippet1"::: ]]> @@ -208,7 +208,7 @@ The following code example shows how to apply the to an assembly, and how to read the flags at run time. The example also creates an instance of the attribute, and uses the property to display the flags. For an example of how to apply the to a dynamic assembly, see the property. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyFlagsAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyFlagsAttribute/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyFlagsAttribute/Overview/source.vb" id="Snippet1"::: ]]> @@ -336,7 +336,7 @@ The following code example shows how to apply the to an assembly, and how to read the flags at run time. The example also creates an instance of the attribute, and uses the property to display the flags. For an example of how to apply the to a dynamic assembly, see the property. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyFlagsAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyFlagsAttribute/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyFlagsAttribute/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/AssemblyKeyFileAttribute.xml b/xml/System.Reflection/AssemblyKeyFileAttribute.xml index d1092701b8a..8aa1396fd65 100644 --- a/xml/System.Reflection/AssemblyKeyFileAttribute.xml +++ b/xml/System.Reflection/AssemblyKeyFileAttribute.xml @@ -90,7 +90,7 @@ sn -k TestPublicKey.snk Compile the example as a .dll. If you compile from the command line, use the `/t:library` option. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyDelaySignAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyDelaySignAttribute/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyDelaySignAttribute/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/AssemblyName.xml b/xml/System.Reflection/AssemblyName.xml index 827bb1673fd..be57e58a1f4 100644 --- a/xml/System.Reflection/AssemblyName.xml +++ b/xml/System.Reflection/AssemblyName.xml @@ -183,7 +183,7 @@ ExampleAssembly, Version=1.0.0.0, Culture=en, PublicKeyToken=a5d015c7d5a0b012 This example shows how to use various reflection classes to analyze the metadata contained in an assembly. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/GetReferencedAssemblies/Reflection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection/VB/Reflection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/GetReferencedAssemblies/Reflection.vb" id="Snippet1"::: ]]> @@ -256,7 +256,7 @@ ExampleAssembly, Version=1.0.0.0, Culture=en, PublicKeyToken=a5d015c7d5a0b012 The following example creates a dynamic assembly named `MyAssembly.exe` and saves it to your hard disk. After running the example, you can use the [Ildasm.exe (IL Disassembler)](/dotnet/framework/tools/ildasm-exe-il-disassembler) to examine the assembly metadata. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyName/.ctor/assemblyname_constructor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyName_Constructor/VB/assemblyname_constructor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyName/.ctor/assemblyname_constructor.vb" id="Snippet1"::: ]]> @@ -323,7 +323,7 @@ ExampleAssembly, Version=1.0.0.0, Culture=en, PublicKeyToken=a5d015c7d5a0b012 The following example creates an instance of from a display name. The individual elements of the display name are output to the console as properties of the object. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyName/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyName_Constructor_2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyName/.ctor/source.vb" id="Snippet1"::: ]]> @@ -461,7 +461,7 @@ Note: In .NET for Win The following example emits a dynamic assembly and saves it to the current directory. When the assembly is created, the property is used to specify the directory where the assembly is saved. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyName/CodeBase/assemblyname_codebase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyName_CodeBase/VB/assemblyname_codebase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyName/CodeBase/assemblyname_codebase.vb" id="Snippet1"::: ]]> @@ -567,7 +567,7 @@ Note: In .NET for Win The following example emits a dynamic assembly and saves it to the current directory. When the assembly is created, the property is used to specify the culture, which is part of the assembly's display name. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyName/CodeBase/assemblyname_codebase.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyName_CodeBase/VB/assemblyname_codebase.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyName/CodeBase/assemblyname_codebase.vb" id="Snippet2"::: ]]> @@ -733,7 +733,7 @@ Note: In .NET for Win The following example emits a dynamic assembly and saves it to the current directory. When the assembly is created, the property is used to specify that the assembly has a public key. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyName/Flags/assemblyname_keypair.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyName_KeyPair/VB/assemblyname_keypair.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyName/Flags/assemblyname_keypair.vb" id="Snippet4"::: ]]> @@ -813,7 +813,7 @@ mylib, Version=1.2.1900.0, Culture=neutral, PublicKeyToken=a14f3033def15840 The following example emits a dynamic assembly and saves it to the current directory. When the assembly is created, the code example sets the , , , and properties, which together comprise an assembly's full name, or display name. The property is then used to retrieve the display name. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyName/CodeBase/assemblyname_codebase.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyName_CodeBase/VB/assemblyname_codebase.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyName/CodeBase/assemblyname_codebase.vb" id="Snippet4"::: ]]> @@ -883,7 +883,7 @@ mylib, Version=1.2.1900.0, Culture=neutral, PublicKeyToken=a14f3033def15840 The following example gets the for an assembly on disk. It will not run unless you replace the string "MyAssembly.exe" with the file name of an assembly (including the path, if necessary) on your hard disk. Alternatively, you can compile this example as "MyAssembly.exe". :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyName/GetAssemblyName/assemblyname_getassemblyname.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyName_GetAssemblyName/VB/assemblyname_getassemblyname.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyName/GetAssemblyName/assemblyname_getassemblyname.vb" id="Snippet1"::: ]]> @@ -1020,7 +1020,7 @@ mylib, Version=1.2.1900.0, Culture=neutral, PublicKeyToken=a14f3033def15840 The following example emits a dynamic assembly and saves it to the current directory. When the assembly is created, the method is used to give the assembly a public key. The method is then used to retrieve the public key, which is displayed to the console. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyName/Flags/assemblyname_keypair.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyName_KeyPair/VB/assemblyname_keypair.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyName/Flags/assemblyname_keypair.vb" id="Snippet2"::: ]]> @@ -1086,7 +1086,7 @@ mylib, Version=1.2.1900.0, Culture=neutral, PublicKeyToken=a14f3033def15840 The following example emits a dynamic assembly and saves it to the current directory. When the assembly is created, the method is used to set the assembly's public key token. The method is then used to retrieve the public key token, which is displayed to the console. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyName/Flags/assemblyname_keypair.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyName_KeyPair/VB/assemblyname_keypair.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyName/Flags/assemblyname_keypair.vb" id="Snippet3"::: ]]> @@ -1153,7 +1153,7 @@ mylib, Version=1.2.1900.0, Culture=neutral, PublicKeyToken=a14f3033def15840 The following example emits a dynamic assembly and saves it to the current directory. When the assembly is created, the property is used to set the hash algorithm for the assembly manifest. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyName/CodeBase/assemblyname_codebase.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyName_CodeBase/VB/assemblyname_codebase.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyName/CodeBase/assemblyname_codebase.vb" id="Snippet3"::: ]]> @@ -1217,7 +1217,7 @@ mylib, Version=1.2.1900.0, Culture=neutral, PublicKeyToken=a14f3033def15840 The following example emits a dynamic assembly and saves it to the current directory. When the assembly is created, the property is used to set the assembly's public and private cryptographic keys. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyName/Flags/assemblyname_keypair.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyName_KeyPair/VB/assemblyname_keypair.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyName/Flags/assemblyname_keypair.vb" id="Snippet1"::: ]]> @@ -1283,7 +1283,7 @@ mylib, Version=1.2.1900.0, Culture=neutral, PublicKeyToken=a14f3033def15840 The following example emits a dynamic assembly and saves it to the current directory. When the assembly is created, the property is used to set the simple name of the dynamic assembly. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyName/.ctor/assemblyname_constructor.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyName_Constructor/VB/assemblyname_constructor.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyName/.ctor/assemblyname_constructor.vb" id="Snippet2"::: ]]> @@ -1526,7 +1526,7 @@ mylib, Version=1.2.1900.0, Culture=neutral, PublicKeyToken=a14f3033def15840 The following example emits a dynamic assembly and saves it to the current directory. When the assembly is created, the method is used to give the assembly a public key. The method is then used to retrieve the public key, which is displayed to the console. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyName/SetPublicKey/assemblyname_setpublickey.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyName_SetPublicKey/VB/assemblyname_setpublickey.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyName/SetPublicKey/assemblyname_setpublickey.vb" id="Snippet1"::: ]]> @@ -1592,7 +1592,7 @@ mylib, Version=1.2.1900.0, Culture=neutral, PublicKeyToken=a14f3033def15840 The following example emits a dynamic assembly and saves it to the current directory. When the assembly is created, the method is used to set the assembly's public key token. The method is then used to retrieve the public key token, which is displayed to the console. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyName/SetPublicKey/assemblyname_setpublickey.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyName_SetPublicKey/VB/assemblyname_setpublickey.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyName/SetPublicKey/assemblyname_setpublickey.vb" id="Snippet2"::: ]]> @@ -1865,7 +1865,7 @@ mylib, Version=1.2.1900.0, Culture=neutral, PublicKeyToken=a14f3033def15840 The following example gets an object for a hypothetical `MyAssembly.exe` assembly, and then uses the method to retrieve the full assembly name, or display name. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyName/GetAssemblyName/assemblyname_getassemblyname.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyName_GetAssemblyName/VB/assemblyname_getassemblyname.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyName/GetAssemblyName/assemblyname_getassemblyname.vb" id="Snippet2"::: ]]> @@ -1932,14 +1932,14 @@ mylib, Version=1.2.1900.0, Culture=neutral, PublicKeyToken=a14f3033def15840 The following example retrieves and displays the version numbers of the currently executing assembly and the assembly that contains the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyName/Version/Example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyName.Version/vb/Example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyName/Version/Example.vb" id="Snippet1"::: **Example 2** The following example emits a dynamic assembly and saves it to the current directory. When the assembly is created, the property is used to specify version information for the assembly. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyName/.ctor/assemblyname_constructor.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyName_Constructor/VB/assemblyname_constructor.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyName/.ctor/assemblyname_constructor.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Reflection/AssemblyTitleAttribute.xml b/xml/System.Reflection/AssemblyTitleAttribute.xml index d45fe32de59..da6d44cae75 100644 --- a/xml/System.Reflection/AssemblyTitleAttribute.xml +++ b/xml/System.Reflection/AssemblyTitleAttribute.xml @@ -81,7 +81,7 @@ The following example shows how to add attributes, including the attribute, to a dynamic assembly. The example saves the assembly to disk, and the attribute value can be viewed by using the **Windows File Properties** dialog box. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyCompanyAttribute/Overview/assemblybuilder_defineversioninforesource.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilder_DefineVersionInfoResource/VB/assemblybuilder_defineversioninforesource.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyCompanyAttribute/Overview/assemblybuilder_defineversioninforesource.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/AssemblyVersionAttribute.xml b/xml/System.Reflection/AssemblyVersionAttribute.xml index 64f66f99b23..2d8857d6416 100644 --- a/xml/System.Reflection/AssemblyVersionAttribute.xml +++ b/xml/System.Reflection/AssemblyVersionAttribute.xml @@ -120,7 +120,7 @@ You can mitigate some of these issues by limiting the use of time-based versions The following example uses the attribute to assign a version number to an assembly. At compile time, this version information is stored with the assembly's metadata. At run time, the example retrieves the value of the property on a type found in the assembly to get a reference to the executing assembly, and it retrieves the assembly's version information from the property of the object returned by the method. :::code language="csharp" source="~/snippets/csharp/System/Version/Overview/example1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Version.Class/vb/example1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Version/Overview/example1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Reflection/Binder.xml b/xml/System.Reflection/Binder.xml index eb856b0b16a..78356196ab0 100644 --- a/xml/System.Reflection/Binder.xml +++ b/xml/System.Reflection/Binder.xml @@ -76,7 +76,7 @@ The following example implements and demonstrates all members of the `Binder` class. The private method `CanConvertFrom` finds compatible types for a given type. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Binder/Overview/binder.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Binder_1/VB/binder.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Binder/Overview/binder.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/BindingFlags.xml b/xml/System.Reflection/BindingFlags.xml index 83c7d6001c1..293e39b2190 100644 --- a/xml/System.Reflection/BindingFlags.xml +++ b/xml/System.Reflection/BindingFlags.xml @@ -164,7 +164,7 @@ When the `BindingFlags.ExactBinding` binding flag is used, reflection models the The following example demonstrates many of the binding flags. :::code language="csharp" source="~/snippets/csharp/System.Reflection/BindingFlags/Overview/bindingflagssample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/BindingFlags/VB/bindingflagssample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/BindingFlags/Overview/bindingflagssample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/CallingConventions.xml b/xml/System.Reflection/CallingConventions.xml index ad89922f6d9..a8d4c1a8115 100644 --- a/xml/System.Reflection/CallingConventions.xml +++ b/xml/System.Reflection/CallingConventions.xml @@ -81,7 +81,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System/Type/GetConstructor/type_getconstructor3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetConstructor3/VB/type_getconstructor3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetConstructor/type_getconstructor3.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/ConstructorInfo.xml b/xml/System.Reflection/ConstructorInfo.xml index fc0e0235f03..3cd7e4b4b5b 100644 --- a/xml/System.Reflection/ConstructorInfo.xml +++ b/xml/System.Reflection/ConstructorInfo.xml @@ -106,7 +106,7 @@ The following example uses `ConstructorInfo` with and to find the constructors that match the specified search criteria. :::code language="csharp" source="~/snippets/csharp/System/Type/GetConstructor/type_getconstructor3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetConstructor3/VB/type_getconstructor3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetConstructor/type_getconstructor3.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/CustomAttributeData.xml b/xml/System.Reflection/CustomAttributeData.xml index eb2ddd181a0..1f9f5373736 100644 --- a/xml/System.Reflection/CustomAttributeData.xml +++ b/xml/System.Reflection/CustomAttributeData.xml @@ -112,7 +112,7 @@ The attribute that is applied to the type demonstrates array properties, with both positional and named arguments. :::code language="csharp" source="~/snippets/csharp/System.Reflection/CustomAttributeData/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CustomAttributeData/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/CustomAttributeData/Overview/source.vb" id="Snippet1"::: ]]> @@ -290,7 +290,7 @@ The property is used in the `ShowAttributeData` method that displays custom attribute data. In this code example, the returned by this property is used to display a text string that describes the constructor, demonstrating that the property returns the constructor that would initialize the attribute. :::code language="csharp" source="~/snippets/csharp/System.Reflection/CustomAttributeData/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CustomAttributeData/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/CustomAttributeData/Overview/source.vb" id="Snippet1"::: ]]> @@ -370,7 +370,7 @@ The property is used in the `ShowAttributeData` method that displays custom attribute data. In this code example, this property is used to display the list of arguments passed to the constructor that initialized the attribute. :::code language="csharp" source="~/snippets/csharp/System.Reflection/CustomAttributeData/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CustomAttributeData/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/CustomAttributeData/Overview/source.vb" id="Snippet1"::: ]]> @@ -506,7 +506,7 @@ The method is used in `Main()` to get the custom attributes applied to the assembly. The return value of the method is passed to the `ShowAttributeData` method. :::code language="csharp" source="~/snippets/csharp/System.Reflection/CustomAttributeData/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CustomAttributeData/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/CustomAttributeData/Overview/source.vb" id="Snippet1"::: ]]> @@ -585,7 +585,7 @@ The method is used in `Main()` to get the custom attributes that were applied to a type and to a test method ( derives from ). The return value of is passed to the `ShowAttributeData` method. :::code language="csharp" source="~/snippets/csharp/System.Reflection/CustomAttributeData/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CustomAttributeData/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/CustomAttributeData/Overview/source.vb" id="Snippet1"::: ]]> @@ -721,7 +721,7 @@ The method is used in `Main()` to retrieve the custom attributes applied to a parameter of a test method. The return value of is passed to the `ShowAttributeData` method. :::code language="csharp" source="~/snippets/csharp/System.Reflection/CustomAttributeData/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CustomAttributeData/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/CustomAttributeData/Overview/source.vb" id="Snippet1"::: ]]> @@ -844,7 +844,7 @@ The property is used in the `ShowAttributeData` method that displays custom attribute data. In this code example, this property is used to display the list of named arguments specified for the attribute. :::code language="csharp" source="~/snippets/csharp/System.Reflection/CustomAttributeData/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CustomAttributeData/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/CustomAttributeData/Overview/source.vb" id="Snippet1"::: ]]> @@ -912,7 +912,7 @@ In this example, the method is used in the `ShowAttributeData` method, to identify the attribute whose data is being displayed. :::code language="csharp" source="~/snippets/csharp/System.Reflection/CustomAttributeData/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CustomAttributeData/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/CustomAttributeData/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/CustomAttributeNamedArgument.xml b/xml/System.Reflection/CustomAttributeNamedArgument.xml index f4526ca0793..f55128b175d 100644 --- a/xml/System.Reflection/CustomAttributeNamedArgument.xml +++ b/xml/System.Reflection/CustomAttributeNamedArgument.xml @@ -110,7 +110,7 @@ The attribute that is applied to the type demonstrates array properties, with both positional and named arguments. :::code language="csharp" source="~/snippets/csharp/System.Reflection/CustomAttributeData/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CustomAttributeData/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/CustomAttributeData/Overview/source.vb" id="Snippet1"::: ]]> @@ -741,7 +741,7 @@ The property is used in the `ShowAttributeData` method that displays custom attribute data, to obtain the types and values of named attributes. :::code language="csharp" source="~/snippets/csharp/System.Reflection/CustomAttributeData/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CustomAttributeData/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/CustomAttributeData/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/CustomAttributeTypedArgument.xml b/xml/System.Reflection/CustomAttributeTypedArgument.xml index 0406895d26e..55483949ab0 100644 --- a/xml/System.Reflection/CustomAttributeTypedArgument.xml +++ b/xml/System.Reflection/CustomAttributeTypedArgument.xml @@ -111,7 +111,7 @@ The attribute that is applied to the type demonstrates array properties, with both positional and named arguments. :::code language="csharp" source="~/snippets/csharp/System.Reflection/CustomAttributeData/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CustomAttributeData/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/CustomAttributeData/Overview/source.vb" id="Snippet1"::: ]]> @@ -305,7 +305,7 @@ The property is used in the `ShowValueOrArray` method that displays custom attribute data, to display the types of attributes. :::code language="csharp" source="~/snippets/csharp/System.Reflection/CustomAttributeData/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CustomAttributeData/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/CustomAttributeData/Overview/source.vb" id="Snippet1"::: ]]> @@ -685,7 +685,7 @@ The property is used in the `ShowValueOrArray` method that displays custom attribute data, to display the values of attributes. :::code language="csharp" source="~/snippets/csharp/System.Reflection/CustomAttributeData/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CustomAttributeData/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/CustomAttributeData/Overview/source.vb" id="Snippet1"::: | diff --git a/xml/System.Reflection/DefaultMemberAttribute.xml b/xml/System.Reflection/DefaultMemberAttribute.xml index 913a96b25bf..d4e1c9ee8f6 100644 --- a/xml/System.Reflection/DefaultMemberAttribute.xml +++ b/xml/System.Reflection/DefaultMemberAttribute.xml @@ -80,7 +80,7 @@ The following example uses the attribute to make the `Age` property the default member of the `MyClass` class. :::code language="csharp" source="~/snippets/csharp/System/Type/GetDefaultMembers/type_getdefaultmembers.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetDefaultMembers/VB/type_getdefaultmembers.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetDefaultMembers/type_getdefaultmembers.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/EventAttributes.xml b/xml/System.Reflection/EventAttributes.xml index 233521c07b9..5c6a9020d25 100644 --- a/xml/System.Reflection/EventAttributes.xml +++ b/xml/System.Reflection/EventAttributes.xml @@ -85,7 +85,7 @@ The following example uses reflection emit to create a type with two events. It uses None to specify that the events have no attributes. :::code language="csharp" source="~/snippets/csharp/System.Reflection/EventAttributes/Overview/typebuilder_getevents1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder_GetEvents1/VB/typebuilder_getevents1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/EventAttributes/Overview/typebuilder_getevents1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/EventInfo.xml b/xml/System.Reflection/EventInfo.xml index c20f469199c..9314e5bdeb0 100644 --- a/xml/System.Reflection/EventInfo.xml +++ b/xml/System.Reflection/EventInfo.xml @@ -115,7 +115,7 @@ The following code gets an object for the event of the class. :::code language="csharp" source="~/snippets/csharp/System/Type/GetEvent/type_getevent1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/type_getevent1/VB/type_getevent1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetEvent/type_getevent1.vb" id="Snippet1"::: ]]> @@ -246,7 +246,7 @@ You might use the `AddEventHandler` method when you load a type after the progra After the dynamic type is created, the example gets a for the finished method and uses it to create a delegate instance. This instance is passed to the method to hook up the event. The program then pauses to allow the event to be raised. :::code language="csharp" source="~/snippets/csharp/System.Reflection/EventInfo/AddEventHandler/source.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AddEventHandler/vb/source.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/EventInfo/AddEventHandler/source.vb"::: ]]> @@ -493,7 +493,7 @@ Note: In diff --git a/xml/System.Reflection/ExceptionHandlingClause.xml b/xml/System.Reflection/ExceptionHandlingClause.xml index 408fdaf31bd..c056294900f 100644 --- a/xml/System.Reflection/ExceptionHandlingClause.xml +++ b/xml/System.Reflection/ExceptionHandlingClause.xml @@ -74,13 +74,13 @@ This code is part of a larger example located in the class topic. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet7"::: ]]> @@ -187,13 +187,13 @@ This code is part of a larger example located in the class topic. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet7"::: ]]> @@ -309,13 +309,13 @@ This code is part of a larger example located in the class topic. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet7"::: ]]> @@ -377,13 +377,13 @@ This code is part of a larger example located in the class topic. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet7"::: ]]> @@ -444,13 +444,13 @@ This code is part of a larger example located in the class topic. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet7"::: ]]> @@ -553,13 +553,13 @@ This code is part of a larger example located in the class topic. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet7"::: ]]> @@ -620,13 +620,13 @@ This code is part of a larger example located in the class topic. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Reflection/ExceptionHandlingClauseOptions.xml b/xml/System.Reflection/ExceptionHandlingClauseOptions.xml index fb849e4c2bf..c6c68a06f22 100644 --- a/xml/System.Reflection/ExceptionHandlingClauseOptions.xml +++ b/xml/System.Reflection/ExceptionHandlingClauseOptions.xml @@ -67,13 +67,13 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Reflection/FieldAttributes.xml b/xml/System.Reflection/FieldAttributes.xml index bbe117147b5..2a9aa5ad075 100644 --- a/xml/System.Reflection/FieldAttributes.xml +++ b/xml/System.Reflection/FieldAttributes.xml @@ -78,7 +78,7 @@ `FieldAttributes` uses the value from `FieldAccessMask` to mask off only the parts of the attribute value that pertain to the accessibility. For example, the following code determines if `Attributes` has the public bit set. :::code language="csharp" source="~/snippets/csharp/System.Reflection/FieldAttributes/Overview/remarks.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.fieldattributes/vb/remarks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/FieldAttributes/Overview/remarks.vb" id="Snippet1"::: To get the `FieldAttributes`, first get the class `Type`. From the `Type`, get the `FieldInfo`. From the `FieldInfo`, get the `Attributes`. diff --git a/xml/System.Reflection/FieldInfo.xml b/xml/System.Reflection/FieldInfo.xml index 10e9dce89f8..0b5c4fc5527 100644 --- a/xml/System.Reflection/FieldInfo.xml +++ b/xml/System.Reflection/FieldInfo.xml @@ -105,7 +105,7 @@ The following example uses the method to get the field-related information from the class, and then displays field attributes. :::code language="csharp" source="~/snippets/csharp/System.Reflection/FieldInfo/Overview/fieldinfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FieldInfo/VB/fieldinfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/FieldInfo/Overview/fieldinfo.vb" id="Snippet1"::: ]]> @@ -335,7 +335,7 @@ The following example retrieves MyClass.MyField field information and displays the field associated with the field handle. :::code language="csharp" source="~/snippets/csharp/System.Reflection/FieldInfo/FieldHandle/fieldinfo_fieldhandle.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FieldInfo_FieldHandle/VB/fieldinfo_fieldhandle.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/FieldInfo/FieldHandle/fieldinfo_fieldhandle.vb" id="Snippet1"::: ]]> @@ -487,7 +487,7 @@ The following code example uses the method to get objects for the fields of a type, gets a structure for each field, and then retrieves the objects from the handles using this overload of the method. :::code language="csharp" source="~/snippets/csharp/System.Reflection/FieldInfo/GetFieldFromHandle/fieldinfo_getfieldfromhandle.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FieldInfo_GetFieldFromHandle/VB/fieldinfo_getfieldfromhandle.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/FieldInfo/GetFieldFromHandle/fieldinfo_getfieldfromhandle.vb" id="Snippet1"::: ]]> @@ -580,7 +580,7 @@ - If the runtime type handle is not from a compatible construction, an exception is thrown. In this case, a value type is specified for `T`. :::code language="csharp" source="~/snippets/csharp/System.Reflection/FieldInfo/GetFieldFromHandle/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FieldInfo_GetFieldFromHandle2/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/FieldInfo/GetFieldFromHandle/source.vb" id="Snippet1"::: ]]> @@ -960,12 +960,12 @@ The following example uses the method to retrieve the value of a static field. Note that the value of the `obj` argument is `null`. :::code language="csharp" source="~/snippets/csharp/System.Reflection/FieldInfo/GetValue/getfldval.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GetFldVal/VB/getfldval.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/FieldInfo/GetValue/getfldval.vb" id="Snippet1"::: The following example retrieves an array of objects that represents the fields of the `FieldsClass` type, and then calls the to display the value of each field for the `fieldsInst` object. :::code language="csharp" source="~/snippets/csharp/System.Reflection/FieldInfo/GetValue/fieldinfo_getvalue.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FieldInfo_GetValue/VB/fieldinfo_getvalue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/FieldInfo/GetValue/fieldinfo_getvalue.vb" id="Snippet1"::: ]]> @@ -1526,7 +1526,7 @@ Myfieldb - B readonly field, IsInitOnly = True The following example gets the field information of the fields of MyClass, determines if the fields can be serialized, and displays the results. :::code language="csharp" source="~/snippets/csharp/System.Reflection/FieldInfo/IsNotSerialized/fieldinfo_isnotserialized.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FieldInfo_IsNotSerialized/VB/fieldinfo_isnotserialized.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/FieldInfo/IsNotSerialized/fieldinfo_isnotserialized.vb" id="Snippet1"::: ]]> @@ -1585,7 +1585,7 @@ Myfieldb - B readonly field, IsInitOnly = True The following example creates a class and displays the name, field and property value of the field. :::code language="csharp" source="~/snippets/csharp/System.Reflection/FieldInfo/IsPinvokeImpl/fieldinfo_ispinvokeimpl.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FieldInfo_IsPInvokeImpl/VB/fieldinfo_ispinvokeimpl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/FieldInfo/IsPinvokeImpl/fieldinfo_ispinvokeimpl.vb" id="Snippet1"::: ]]> @@ -1656,7 +1656,7 @@ Myfieldb - B readonly field, IsInitOnly = True The following example returns a value indicating whether or not the field of the class is private. :::code language="csharp" source="~/snippets/csharp/System.Reflection/FieldInfo/IsPrivate/fieldinfo_isprivate.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FieldInfo_IsPrivate/VB/fieldinfo_isprivate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/FieldInfo/IsPrivate/fieldinfo_isprivate.vb" id="Snippet1"::: ]]> @@ -1991,7 +1991,7 @@ Myfieldb - B readonly field, IsInitOnly = True The following example returns a value indicating whether or not the fields in the class contain a SpecialName attribute. :::code language="csharp" source="~/snippets/csharp/System/Type/GetFields/fieldinfo_isspecialname.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FieldInfo_IsSpecialName/VB/fieldinfo_isspecialname.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetFields/fieldinfo_isspecialname.vb" id="Snippet1"::: ]]> @@ -2355,7 +2355,7 @@ This method cannot be used to set values of static, init-only (`readonly` in C#) The following example sets the value of a field, gets and displays the value, modifies the field, and displays the result. :::code language="csharp" source="~/snippets/csharp/System.Reflection/FieldInfo/SetValue/fieldinfo_setvalue.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/FieldInfo_SetValue/VB/fieldinfo_setvalue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/FieldInfo/SetValue/fieldinfo_setvalue.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/GenericParameterAttributes.xml b/xml/System.Reflection/GenericParameterAttributes.xml index 16bba95587b..758ca9100af 100644 --- a/xml/System.Reflection/GenericParameterAttributes.xml +++ b/xml/System.Reflection/GenericParameterAttributes.xml @@ -73,7 +73,7 @@ The following code example defines a generic type `Test` with two type parameters. The second type parameter has a base class constraint and a reference type constraint. When the program executes, the constraints are examined using the property and the method. :::code language="csharp" source="~/snippets/csharp/System/Type/GenericParameterAttributes/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.GetGenericParameterConstraints/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GenericParameterAttributes/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/LocalVariableInfo.xml b/xml/System.Reflection/LocalVariableInfo.xml index 99c7eda069e..01475891902 100644 --- a/xml/System.Reflection/LocalVariableInfo.xml +++ b/xml/System.Reflection/LocalVariableInfo.xml @@ -86,13 +86,13 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Reflection/MemberInfo.xml b/xml/System.Reflection/MemberInfo.xml index b9914ff41a7..6f088b8232a 100644 --- a/xml/System.Reflection/MemberInfo.xml +++ b/xml/System.Reflection/MemberInfo.xml @@ -114,7 +114,7 @@ This example shows how to use various reflection classes to analyze the metadata contained in an assembly. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/GetReferencedAssemblies/Reflection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection/VB/Reflection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/GetReferencedAssemblies/Reflection.vb" id="Snippet1"::: ]]> @@ -426,7 +426,7 @@ The following example defines a custom attribute and associates the attribute with `MyClass.MyMethod`, retrieves the attribute at run time, and displays the result. :::code language="csharp" source="~/snippets/csharp/System.Reflection/MemberInfo/GetCustomAttributes/memberinfo_getcustomattributes1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MemberInfo_GetCustomAttributes1/VB/memberinfo_getcustomattributes1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/MemberInfo/GetCustomAttributes/memberinfo_getcustomattributes1.vb" id="Snippet1"::: ]]> @@ -503,7 +503,7 @@ The following example defines a class named `BaseClass` that has two non-inherited members: a thread static field named `total` and a non-CLS-compliant method named `MethodA`. A class named `DerivedClass` inherits from `BaseClass` and overrides its `MethodA` method. Note that no attributes are applied to the members of `DerivedClass`. The example iterates the members of `DerivedClass` to determine whether the or attribute as been applied to them. Because `inherit` is `true`, the method searches the inheritance hierarchy of `DerivedClass` for the specified attribute. As the output from the example shows, the `total` field is decorated with the attribute, and the `MethodA` method is decorated with the attribute. :::code language="csharp" source="~/snippets/csharp/System.Reflection/MemberInfo/GetCustomAttributes/GetCustomAttributes1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Reflection.MemberInfo.GetCustomAttributes/vb/GetCustomAttributes1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/MemberInfo/GetCustomAttributes/GetCustomAttributes1.vb" id="Snippet1"::: ]]> @@ -802,7 +802,7 @@ For more information, see [How to use and debug assembly unloadability in .NET C The following example determines whether the specified attribute is applied to the specified member. :::code language="csharp" source="~/snippets/csharp/System.Reflection/MemberInfo/IsDefined/memberinfo_getcustomattribute_isdefined.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MemberInfo_GetCustomAttribute_IsDefined/VB/memberinfo_getcustomattribute_isdefined.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/MemberInfo/IsDefined/memberinfo_getcustomattribute_isdefined.vb" id="Snippet1"::: ]]> @@ -984,7 +984,7 @@ For more information, see [How to use and debug assembly unloadability in .NET C The following code example declares a class that inherits and overrides . The example obtains objects for the class's `ToString` method and for the inherited method, and displays the names of the modules in which the two methods are declared. :::code language="csharp" source="~/snippets/csharp/System.Reflection/MemberInfo/Module/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.MemberInfo.Module/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/MemberInfo/Module/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/MemberTypes.xml b/xml/System.Reflection/MemberTypes.xml index ad84ddea862..23a259e6dd1 100644 --- a/xml/System.Reflection/MemberTypes.xml +++ b/xml/System.Reflection/MemberTypes.xml @@ -113,7 +113,7 @@ The following example displays the names of the members of the class and their associated member types. :::code language="csharp" source="~/snippets/csharp/System.Reflection/MemberTypes/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Reflection.MemberTypes/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/MemberTypes/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/MethodBase.xml b/xml/System.Reflection/MethodBase.xml index 0885b596313..999246e66ea 100644 --- a/xml/System.Reflection/MethodBase.xml +++ b/xml/System.Reflection/MethodBase.xml @@ -472,7 +472,7 @@ The following example defines two types. The first is a non-generic class, `TestClass`, includes a constructor, a method named `GetValue`, and a read-write property named `GetValue`. The second is a generic class named `TestClass` that includes a constructor, a `GetValue` method, and a generic method, `ConvertValue`. Each constructor, method, and property accessor includes a call to the method. :::code language="csharp" source="~/snippets/csharp/System.Reflection/MethodBase/GetCurrentMethod/GetCurentMethod1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Reflection.MethodBase.GetCurrentMethod/vb/GetCurentMethod1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/MethodBase/GetCurrentMethod/GetCurentMethod1.vb" id="Snippet1"::: ]]> @@ -672,7 +672,7 @@ > Not all computer languages can generate clauses. The Visual Basic example shows a filter clause, using a Visual Basic `When` expression, which is omitted from the examples for other languages. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet1"::: ]]> @@ -884,7 +884,7 @@ The following example defines a constructor in a dynamic assembly and then uses the method to display the method implementation flags that are set by default. :::code language="csharp" source="~/snippets/csharp/System.Reflection/MethodBase/GetMethodImplementationFlags/constructorbuilder_getmodule_4.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ConstructorBuilder_GetModule_4/VB/constructorbuilder_getmodule_4.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/MethodBase/GetMethodImplementationFlags/constructorbuilder_getmodule_4.vb" id="Snippet3"::: ]]> @@ -948,7 +948,7 @@ The example defines a delegate named `MyDelegate` and an event named `ev` of type `MyDelegate`. The code in the `Main` method discovers the event signature by getting the delegate type of the event, getting the `Invoke` method of the delegate type, and then retrieving and displaying the parameters. :::code language="csharp" source="~/snippets/csharp/System.Reflection/EventInfo/EventHandlerType/eventarg.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/EventArg/VB/eventarg.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/EventInfo/EventHandlerType/eventarg.vb" id="Snippet1"::: ]]> @@ -1217,7 +1217,7 @@ This method dynamically invokes the method reflected by this instance on `obj`, The following example demonstrates all members of the class using an overload of . The private method `CanConvertFrom` finds compatible types for a given type. For another example of invoking members in a custom binding scenario, see [Dynamically Loading and Using Types](/dotnet/framework/reflection-and-codedom/dynamically-loading-and-using-types). :::code language="csharp" source="~/snippets/csharp/System.Reflection/Binder/Overview/binder.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Binder_1/VB/binder.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Binder/Overview/binder.vb" id="Snippet1"::: ]]> @@ -1973,7 +1973,7 @@ The following table summarizes the invariant conditions for terms specific to ge The following code example contains a base class with an overloaded method, and a derived class that hides one of the overloads. In the Visual Basic version of the code example, the property returns `false` for the member in the derived class. In the C# version of the code sample, the property returns `true` for the member in the derived class. :::code language="csharp" source="~/snippets/csharp/System.Reflection/MethodBase/IsHideBySig/hide.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.MethodBase.IsHideBySig/VB/hide.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/MethodBase/IsHideBySig/hide.vb" id="Snippet1"::: ]]> @@ -2500,7 +2500,7 @@ If MethodInfo.IsVirtual AndAlso Not MethodInfo.IsFinal Then You can determine whether the current method overrides a method in a base class by calling the method. The following example implements an `IsOverride` method that does this. :::code language="csharp" source="~/snippets/csharp/System.Reflection/MethodBase/IsVirtual/IsOverride1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.methodinfo.getbasedefinition/vb/IsOverride1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/MethodBase/IsVirtual/IsOverride1.vb" id="Snippet2"::: diff --git a/xml/System.Reflection/MethodBody.xml b/xml/System.Reflection/MethodBody.xml index b414b6c7dcd..90bf0358d62 100644 --- a/xml/System.Reflection/MethodBody.xml +++ b/xml/System.Reflection/MethodBody.xml @@ -78,7 +78,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet1"::: ]]> @@ -182,13 +182,13 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet7"::: ]]> @@ -312,9 +312,9 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet5"::: ]]> @@ -427,13 +427,13 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet6"::: ]]> @@ -492,9 +492,9 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection/ExceptionHandlingClause/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodBody/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection/ExceptionHandlingClause/Overview/source.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Reflection/MethodInfo.xml b/xml/System.Reflection/MethodInfo.xml index 916415f0147..94c2aa5111a 100644 --- a/xml/System.Reflection/MethodInfo.xml +++ b/xml/System.Reflection/MethodInfo.xml @@ -562,7 +562,7 @@ For a list of the invariant conditions for other terms used in generic reflectio You can determine whether the current method overrides a method in a base class by calling the method. The following example implements an `IsOverride` method that does this. :::code language="csharp" source="~/snippets/csharp/System.Reflection/MethodBase/IsVirtual/IsOverride1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.methodinfo.getbasedefinition/vb/IsOverride1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/MethodBase/IsVirtual/IsOverride1.vb" id="Snippet2"::: To call the `GetBaseDefinition` method: @@ -578,7 +578,7 @@ For a list of the invariant conditions for other terms used in generic reflectio The following example demonstrates the behavior of the method. :::code language="csharp" source="~/snippets/csharp/System.Reflection/MethodBase/IsVirtual/getbasedefinition1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.methodinfo.getbasedefinition/vb/getbasedefinition1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/MethodBase/IsVirtual/getbasedefinition1.vb" id="Snippet1"::: ]]> @@ -655,7 +655,7 @@ For a list of the invariant conditions for other terms used in generic reflectio This example is part of a larger example provided for the method. :::code language="csharp" source="~/snippets/csharp/System/Type/DeclaringMethod/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodInfo.Generics/VB/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/DeclaringMethod/source.vb" id="Snippet8"::: ]]> @@ -757,11 +757,11 @@ End Class This example is part of a larger example provided for the method. :::code language="csharp" source="~/snippets/csharp/System/Type/DeclaringMethod/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodInfo.Generics/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/DeclaringMethod/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System/Type/DeclaringMethod/source.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodInfo.Generics/VB/source.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System/Type/DeclaringMethod/source.vb" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System/Type/DeclaringMethod/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodInfo.Generics/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System/Type/DeclaringMethod/source.vb" id="Snippet4"::: ]]> @@ -1187,7 +1187,7 @@ End Class - Retrieves the generic method definition from the constructed method and compares it to the original definition. :::code language="csharp" source="~/snippets/csharp/System/Type/DeclaringMethod/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodInfo.Generics/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/DeclaringMethod/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/Missing.xml b/xml/System.Reflection/Missing.xml index aa3c235e3b8..dc5b867882b 100644 --- a/xml/System.Reflection/Missing.xml +++ b/xml/System.Reflection/Missing.xml @@ -97,7 +97,7 @@ The following example shows how to use the object to invoke a method with a default argument by using reflection. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Missing/Overview/Missing1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Reflection.Missing/vb/Missing1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Missing/Overview/Missing1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/Module.xml b/xml/System.Reflection/Module.xml index 06d68257cfb..2312e7092f9 100644 --- a/xml/System.Reflection/Module.xml +++ b/xml/System.Reflection/Module.xml @@ -127,7 +127,7 @@ The following code examples show how to use reflection to get information about modules: :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/Overview/source.vb" id="Snippet1"::: ]]> @@ -232,7 +232,7 @@ The following example displays the full name of the specified assembly in the specified module. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/Assembly/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.Assembly Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/Assembly/class1.vb" id="Snippet1"::: ]]> @@ -388,7 +388,7 @@ The following example displays the module names that match the specified search criteria. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/FilterTypeName/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.FilterTypeName Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/FilterTypeName/class1.vb" id="Snippet1"::: ]]> @@ -448,7 +448,7 @@ The following example displays the module names that match the specified search criteria, ignoring the case. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/FilterTypeNameIgnoreCase/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.FilterTypeNameIgnoreCase Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/FilterTypeNameIgnoreCase/class1.vb" id="Snippet1"::: ]]> @@ -532,7 +532,7 @@ The following example demonstrates the `FindTypes` method. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/FilterTypeName/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.FilterTypeName Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/FilterTypeName/class1.vb" id="Snippet1"::: ]]> @@ -609,7 +609,7 @@ The following example displays the fully qualified name of the specified module. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/FullyQualifiedName/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.FullyQualifiedName/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/FullyQualifiedName/class1.vb" id="Snippet1"::: ]]> @@ -681,7 +681,7 @@ The following example displays the module names that match the specified search criteria. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/GetCustomAttributes/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetCustomAttributes 1Arg Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/GetCustomAttributes/class1.vb" id="Snippet1"::: ]]> @@ -744,7 +744,7 @@ The following example displays the module names of the specified type that match the specified search criteria. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/GetCustomAttributes/class11.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetCustomAttributes 2Arg Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/GetCustomAttributes/class11.vb" id="Snippet1"::: ]]> @@ -1805,7 +1805,7 @@ The following example displays the name of a type in the specified module. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/GetType/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetType 1Arg Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/GetType/class1.vb" id="Snippet1"::: ]]> @@ -1916,7 +1916,7 @@ The following example displays the name of a type in the specified module, specifying `false` for the `ignoreCase` parameter so that case will not be ignored. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/GetType/class11.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetType 2Arg Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/GetType/class11.vb" id="Snippet1"::: ]]> @@ -2026,7 +2026,7 @@ The following example displays the name of a type in the specified module. The `throwOnError` and `ignoreCase` parameters are specified as `false`. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/GetType/class12.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetType 3Arg Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/GetType/class12.vb" id="Snippet1"::: ]]> @@ -2178,7 +2178,7 @@ The following example demonstrates a use of the `IsDefined` method. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/IsDefined/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.IsDefined Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/IsDefined/class1.vb" id="Snippet1"::: ]]> @@ -2243,7 +2243,7 @@ The following example demonstrates a use of the `IsResource` method. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/IsResource/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.IsResource Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/IsResource/class1.vb" id="Snippet1"::: ]]> @@ -3101,7 +3101,7 @@ The metadata token values are hard-coded as an enumeration. If you change this code example, the token values are likely to change. To determine the new token values, compile the code and use Ildasm.exe with the **/TOKENS** option to examine the assembly. The tokens can be found at the points of call. Insert the new values into the enumeration, and recompile the example. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/ResolveMethod/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Module.MethodResolve/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/ResolveMethod/source.vb" id="Snippet1"::: ]]> @@ -3224,7 +3224,7 @@ The metadata token values are hard-coded as an enumeration. If you change this code example, the token values are likely to change. To determine the new token values, compile the code and use Ildasm.exe with the **/TOKENS** option to examine the assembly. The tokens can be found at the points of call. Insert the new values into the enumeration, and recompile the example. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/ResolveMethod/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Module.MethodResolve/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/ResolveMethod/source.vb" id="Snippet1"::: ]]> @@ -3999,7 +3999,7 @@ The following example demonstrates a use of the `ToString` method. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/ToString/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.ToString Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/ToString/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/ObfuscateAssemblyAttribute.xml b/xml/System.Reflection/ObfuscateAssemblyAttribute.xml index 8349bdf1e60..a112475ec1e 100644 --- a/xml/System.Reflection/ObfuscateAssemblyAttribute.xml +++ b/xml/System.Reflection/ObfuscateAssemblyAttribute.xml @@ -73,7 +73,7 @@ For a code example that shows the use of with , see the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ObfuscateAssemblyAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObfuscateAssemblyAttribute/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ObfuscateAssemblyAttribute/Overview/source.vb" id="Snippet1"::: ]]> @@ -133,7 +133,7 @@ The following code example shows how the attribute constructor specifies that an assembly is private. The property is `false`, to prevent the obfuscation tool from stripping the attribute after processing. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ObfuscateAssemblyAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObfuscateAssemblyAttribute/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ObfuscateAssemblyAttribute/Overview/source.vb" id="Snippet1"::: ]]> @@ -192,7 +192,7 @@ The following code example shows how the attribute constructor sets the property to `true`, to specify that an assembly is private. The property is `false`, to prevent the obfuscation tool from stripping the attribute after processing. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ObfuscateAssemblyAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObfuscateAssemblyAttribute/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ObfuscateAssemblyAttribute/Overview/source.vb" id="Snippet1"::: ]]> @@ -253,7 +253,7 @@ The following code example shows the attribute with the property set to `false`, to prevent the obfuscation tool from stripping the attribute after processing. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ObfuscateAssemblyAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObfuscateAssemblyAttribute/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ObfuscateAssemblyAttribute/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/ObfuscationAttribute.xml b/xml/System.Reflection/ObfuscationAttribute.xml index 14e81c63058..8d2d72f4170 100644 --- a/xml/System.Reflection/ObfuscationAttribute.xml +++ b/xml/System.Reflection/ObfuscationAttribute.xml @@ -87,7 +87,7 @@ The code example includes code to display the attributes and their properties. You can also examine the attributes by opening the DLL with the [Ildasm.exe (IL Disassembler)](/dotnet/framework/tools/ildasm-exe-il-disassembler). :::code language="csharp" source="~/snippets/csharp/System.Reflection/ObfuscationAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObfuscationAttribute/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ObfuscationAttribute/Overview/source.vb" id="Snippet1"::: ]]> @@ -192,7 +192,7 @@ This code is part of a larger example that can be compiled and executed. See the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ObfuscationAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObfuscationAttribute/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ObfuscationAttribute/Overview/source.vb" id="Snippet2"::: ]]> @@ -254,7 +254,7 @@ This code is part of a larger example that can be compiled and executed. See the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ObfuscationAttribute/Overview/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObfuscationAttribute/vb/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ObfuscationAttribute/Overview/source.vb" id="Snippet4"::: ]]> @@ -315,7 +315,7 @@ This code is part of a larger example that can be compiled and executed. See the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ObfuscationAttribute/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObfuscationAttribute/vb/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ObfuscationAttribute/Overview/source.vb" id="Snippet3"::: ]]> @@ -376,7 +376,7 @@ This code is part of a larger example that can be compiled and executed. See the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ObfuscationAttribute/Overview/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObfuscationAttribute/vb/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ObfuscationAttribute/Overview/source.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Reflection/ParameterInfo.xml b/xml/System.Reflection/ParameterInfo.xml index b319b3c9d53..cee4af5d414 100644 --- a/xml/System.Reflection/ParameterInfo.xml +++ b/xml/System.Reflection/ParameterInfo.xml @@ -126,7 +126,7 @@ This example shows how to use various reflection classes to analyze the metadata contained in an assembly. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/GetReferencedAssemblies/Reflection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection/VB/Reflection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/GetReferencedAssemblies/Reflection.vb" id="Snippet1"::: ]]> @@ -231,7 +231,7 @@ The following example defines a method with three parameters. It uses the property to get the attributes of the second parameter and display them at the console. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ParameterInfo/Attributes/parameterinfo_attributes1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ParameterInfo_Attributes1/VB/parameterinfo_attributes1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ParameterInfo/Attributes/parameterinfo_attributes1.vb" id="Snippet1"::: ]]> @@ -592,7 +592,7 @@ When the example is run, it uses the method to retrieve the custom attributes that have been applied to all parameters of all methods in `MyClass`, and displays them at the console. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ParameterInfo/GetCustomAttributes/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ParameterInfo_GetCustomAttributes/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ParameterInfo/GetCustomAttributes/source.vb" id="Snippet1"::: ]]> @@ -1047,7 +1047,7 @@ When the example is run, it uses the method to test all parameters of all methods in the example class. It then displays the parameters that have `MyAttribute` or `MyDerivedAttribute`. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ParameterInfo/IsDefined/parameterinfo_getcustomattribute_isdefined.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ParameterInfo_GetCustomAttribute_IsDefined/VB/parameterinfo_getcustomattribute_isdefined.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ParameterInfo/IsDefined/parameterinfo_getcustomattribute_isdefined.vb" id="Snippet1"::: ]]> @@ -1128,7 +1128,7 @@ After executing `DefineMethod`, the example searches the assemblies that are currently loaded until it finds the dynamic assembly. It loads `MyType` from the assembly, gets a object for the `MyMethod` method, and examines the parameters. The example uses the , , and properties to display information about the parameters. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ParameterInfo/IsIn/parameterinfo_isin_isout_isoptional.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ParameterInfo_IsIn_IsOut_IsOptional/VB/parameterinfo_isin_isout_isoptional.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ParameterInfo/IsIn/parameterinfo_isin_isout_isoptional.vb" id="Snippet1"::: ]]> @@ -1261,7 +1261,7 @@ After executing `DefineMethod`, the example searches the assemblies that are currently loaded until it finds the dynamic assembly. It loads `MyType` from the assembly, gets a object for the `MyMethod` method, and examines the parameters. The example uses the , , and properties to display information about the parameters. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ParameterInfo/IsIn/parameterinfo_isin_isout_isoptional.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ParameterInfo_IsIn_IsOut_IsOptional/VB/parameterinfo_isin_isout_isoptional.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ParameterInfo/IsIn/parameterinfo_isin_isout_isoptional.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/ParameterModifier.xml b/xml/System.Reflection/ParameterModifier.xml index 72aaa3d6db4..7ceb488b89b 100644 --- a/xml/System.Reflection/ParameterModifier.xml +++ b/xml/System.Reflection/ParameterModifier.xml @@ -85,7 +85,7 @@ The following code example shows this for a member that has three string arguments, the first and third of which are passed by reference. Assume that a variable named `obj` contains a reference to the COM object. :::code language="csharp" source="~/snippets/csharp/System.Reflection/ParameterModifier/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.parametermodifier/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/ParameterModifier/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/PropertyInfo.xml b/xml/System.Reflection/PropertyInfo.xml index 88ea33f9aeb..6794393b84a 100644 --- a/xml/System.Reflection/PropertyInfo.xml +++ b/xml/System.Reflection/PropertyInfo.xml @@ -119,7 +119,7 @@ > This example generates about 55,000 lines of data, which you can redirect to a text file at the command prompt, as follows: **example.exe > propertyinfo.txt** :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/GetReferencedAssemblies/Reflection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Reflection/VB/Reflection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/GetReferencedAssemblies/Reflection.vb" id="Snippet1"::: ]]> @@ -501,19 +501,15 @@ ## Remarks To call the method: -1. Get a object that represents the class. - -2. From the object, get the object. - -3. From the object, call the method. - - +1.Get a object that represents the class. +2.From the object, get the object. +3.From the object, call the method. ## Examples The following example retrieves the public accessors of the `ClassWithProperty.Caption` property and displays information about them. It also calls the method of the setter to set the property value and of the getter to retrieve the property value. :::code language="csharp" source="~/snippets/csharp/System.Reflection/PropertyInfo/GetAccessors/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.propertyinfo.getaccessors/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/PropertyInfo/GetAccessors/source1.vb" id="Snippet1"::: ]]> @@ -572,15 +568,12 @@ method: - -1. Get a object that represents the class. - -2. From the object, get the object. - -3. From the object, call the method. +To call the method: +1. Get a object that represents the class. +2. From the object, get the object. +3. From the object, call the method. ## Examples The following example retrieves the accessors of the `ClassWithProperty.Caption` property and displays information about them. It also calls the method of the setter to set the property value and of the getter to retrieve the property value. @@ -1440,7 +1433,7 @@ The following example defines a `Planet` class that has two properties: `Name`, the name of the planet; and `Distance`, the planet's distance from Earth. The example instantiates a `Planet` object that represents the planet Jupiter and passes it to a `GetPropertyValues` method that displays information about the properties and uses the method to get the value of each `Planet` property. :::code language="csharp" source="~/snippets/csharp/System.Reflection/PropertyInfo/GetValue/getvalue1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.propertyinfo.getvalue/vb/getvalue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/PropertyInfo/GetValue/getvalue1.vb" id="Snippet1"::: ]]> @@ -1532,7 +1525,7 @@ Console.WriteLine("CurrCult: " + The following example shows how to get the value of an indexed property. The property is the default property (the indexer in C#) of the class. :::code language="csharp" source="~/snippets/csharp/System.Reflection/PropertyInfo/GetValue/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.PropertyInfo.GetValue Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/PropertyInfo/GetValue/source.vb" id="Snippet1"::: ]]> @@ -1948,7 +1941,7 @@ Console.WriteLine("CurrCult: " + The following example defines an `Employee` class that has five properties. It then uses retrieves an array of objects that represent those properties and displays the name and type of each. :::code language="csharp" source="~/snippets/csharp/System.Reflection/PropertyInfo/PropertyType/propertytype1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.propertyinfo.propertytype/vb/propertytype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/PropertyInfo/PropertyType/propertytype1.vb" id="Snippet1"::: ]]> @@ -2097,7 +2090,7 @@ Console.WriteLine("CurrCult: " + The following example declares a class named `Example` with one `static` (`Shared` in Visual Basic) and one instance property. The example uses the method to change the original property values and displays the original and final values. :::code language="csharp" source="~/snippets/csharp/System.Reflection/PropertyInfo/SetValue/example2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/PropertyInfo.SetValue/vb/example2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/PropertyInfo/SetValue/example2.vb" id="Snippet2"::: ]]> @@ -2212,7 +2205,7 @@ Note: In diff --git a/xml/System.Reflection/StrongNameKeyPair.xml b/xml/System.Reflection/StrongNameKeyPair.xml index 453cd477ca4..3163a8254c2 100644 --- a/xml/System.Reflection/StrongNameKeyPair.xml +++ b/xml/System.Reflection/StrongNameKeyPair.xml @@ -81,7 +81,7 @@ The following code example shows how to open a Company.keys file (produced by running the [Sn.exe (Strong Name Tool)](/dotnet/framework/tools/sn-exe-strong-name-tool) with the **-k** switch), read the public key from the file, and display the key in the console window. :::code language="csharp" source="~/snippets/csharp/System.Reflection/StrongNameKeyPair/Overview/strongnamekeypairx.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StrongNameKeyPairX/VB/StrongNameKeyPairX.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/StrongNameKeyPair/Overview/StrongNameKeyPairX.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/TypeAttributes.xml b/xml/System.Reflection/TypeAttributes.xml index 1503a85e763..76f92bda528 100644 --- a/xml/System.Reflection/TypeAttributes.xml +++ b/xml/System.Reflection/TypeAttributes.xml @@ -93,7 +93,7 @@ The following example retrieves the value of the property for objects that represent a number of different types, and then determines whether individual attribute flags have been set. :::code language="csharp" source="~/snippets/csharp/System/Type/Attributes/attributes1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.attributes/vb/attributes1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/Attributes/attributes1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/TypeFilter.xml b/xml/System.Reflection/TypeFilter.xml index 40d96436c5d..cbc1b37d427 100644 --- a/xml/System.Reflection/TypeFilter.xml +++ b/xml/System.Reflection/TypeFilter.xml @@ -95,7 +95,7 @@ ## Examples This example shows how to define a method matching the delegate prototype allowing you to use reflection to filter or return a subset of matching entries. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeFilter/VB/Typefilter.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/TypeFilter/Overview/Typefilter.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Resources.Tools/StronglyTypedResourceBuilder.xml b/xml/System.Resources.Tools/StronglyTypedResourceBuilder.xml index 95fad82a941..f010f9cec0d 100644 --- a/xml/System.Resources.Tools/StronglyTypedResourceBuilder.xml +++ b/xml/System.Resources.Tools/StronglyTypedResourceBuilder.xml @@ -51,12 +51,12 @@ The following example generates a class named `DemoResources` that is written in C# or Visual Basic (depending on the example's source code). This class is in the `DemoApp` namespace and has properties that return the bitmap of a logo and the name of an application. The example calls a `CreateResourceFile` method to create the necessary .resw file and requires that a bitmap file named Logo.bmp be found in the example's current directory. The code example uses the following resource file, named demo.resx: :::code language="csharp" source="~/snippets/csharp/System.Resources.Tools/StronglyTypedResourceBuilder/Overview/example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.tools.stronglytypedresourcebuilder.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources.Tools/StronglyTypedResourceBuilder/Overview/example1.vb" id="Snippet1"::: Your application code can then use the class as follows: :::code language="csharp" source="~/snippets/csharp/System.Resources.Tools/StronglyTypedResourceBuilder/Overview/demoresources.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.tools.stronglytypedresourcebuilder.class/vb/demoresources.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources.Tools/StronglyTypedResourceBuilder/Overview/demoresources.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Resources/MissingSatelliteAssemblyException.xml b/xml/System.Resources/MissingSatelliteAssemblyException.xml index c9a690e6a68..a85d01f0f6e 100644 --- a/xml/System.Resources/MissingSatelliteAssemblyException.xml +++ b/xml/System.Resources/MissingSatelliteAssemblyException.xml @@ -94,7 +94,7 @@ The following source code builds an app that changes the current UI culture first to French (France) and then to Russian (Russia) and displays an appropriate culture-specific resource in both cases. :::code language="csharp" source="~/snippets/csharp/System.Resources/MissingSatelliteAssemblyException/Overview/helloworld.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.missingsatelliteassemblyexception/vb/helloworld.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/MissingSatelliteAssemblyException/Overview/helloworld.vb" id="Snippet1"::: You can use the following batch file to build and execute the C# version of the example. If you're using Visual Basic, replace `csc` with `vbc`, and replace the `.cs` extension with `.vb`. When the example is executed, it displays a French language string but throws a exception when the current culture is Russian (Russia). This is because the satellite assembly en\HelloWorld.dll that contains the resources of the default culture does not exist. diff --git a/xml/System.Resources/ResXDataNode.xml b/xml/System.Resources/ResXDataNode.xml index 4d706062971..4c2a4bb8b64 100644 --- a/xml/System.Resources/ResXDataNode.xml +++ b/xml/System.Resources/ResXDataNode.xml @@ -54,7 +54,7 @@ The following example uses the method to obtain an object that is used to enumerate the objects in a .resx file. The example includes a `CreateResourceFile` routine that creates the necessary XML resource file. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXDataNode/Overview/resxresourcereader2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxdatanode.class/vb/resxresourcereader2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXDataNode/Overview/resxresourcereader2.vb" id="Snippet1"::: Because the property is `true`, the value of the property is a object rather than the resource value. This makes a resource item's comment available from the property. diff --git a/xml/System.Resources/ResXResourceReader.xml b/xml/System.Resources/ResXResourceReader.xml index 6528daee3d3..184eeb03f4a 100644 --- a/xml/System.Resources/ResXResourceReader.xml +++ b/xml/System.Resources/ResXResourceReader.xml @@ -59,12 +59,12 @@ The following example uses the method to obtain an object that is used to enumerate the resources in a .resx file. The example includes a `CreateResourceFile` routine that creates the necessary resource file. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXResourceReader/Overview/resxresourcereader1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourcereader.class/vb/resxresourcereader1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader1.vb" id="Snippet1"::: If the property is `true`, the value of the property is a object rather than the resource value. This makes a resource item's comment available from the property. The following example sets the property to `true` and enumerates the resources in a .resx file, :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXResourceReader/Overview/resxresourcereader2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourcereader.class/vb/resxresourcereader2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader2.vb" id="Snippet2"::: If is `true`, the items in the enumeration can be either: @@ -83,7 +83,7 @@ The following example demonstrates how to use a to iterate through the resources in a .resx file. First, the `rsxr` is created for the file `items.resx`. Next, the method is used to create an to iterate through the resources and display the contents to the console. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXResourceReader/Overview/resxresourcereader.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResXResourceReader Example/VB/resxresourcereader.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader.vb" id="Snippet1"::: ]]> @@ -219,7 +219,7 @@ The following example creates a new instance of the class for the specified file, iterates through the resources of the file, and displays the contents to the console. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXResourceReader/Overview/resxresourcereader.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResXResourceReader Example/VB/resxresourcereader.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader.vb" id="Snippet1"::: ]]> @@ -500,7 +500,7 @@ The following example creates an XML resource file that contains images of dog breeds, and also creates a string resource that specifies the application that created the resource. objects are used to store the path to the images rather than storing the binary images themselves in the resource file. The example sets the property so that the relative file paths in the images' file names are interpreted as subdirectories of a directory named C:\data\\. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXResourceReader/BasePath/basepathex1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourcereader.basepath/vb/basepathex1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXResourceReader/BasePath/basepathex1.vb" id="Snippet1"::: Note that you must add a reference to System.Drawing.dll to compile the project successfully. The example also requires that the necessary images exist in a directory named C:\data\images\\. @@ -551,7 +551,7 @@ The following example displays the resources of a file to the console, and then uses the method to shut down the reader and to make its resources available for other processes. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXResourceReader/Overview/resxresourcereader.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResXResourceReader Example/VB/resxresourcereader.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader.vb" id="Snippet1"::: ]]> @@ -799,7 +799,7 @@ The following example uses the method to obtain an object that is used to enumerate the resources in a .resx file. The example includes a `CreateResourceFile` routine that creates the necessary resource file. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXResourceReader/Overview/resxresourcereader1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourcereader.class/vb/resxresourcereader1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader1.vb" id="Snippet1"::: ]]> @@ -843,7 +843,7 @@ The following example uses the method to iterate through the metadata resources in an XML resource file. This code example is part of a larger example provided for the property. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXResourceReader/Overview/useresxdatanodes.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResXResourceReader Example/VB/useresxdatanodes.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/useresxdatanodes.vb" id="Snippet4"::: ]]> @@ -979,7 +979,7 @@ The following example enumerates and displays resource items in an XML file. Initially, is set to `false` to show both data and metadata items as they occur in the resource file. The second enumeration has the set to `true` so that resource data elements are returned as objects. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXResourceReader/Overview/useresxdatanodes.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResXResourceReader Example/VB/useresxdatanodes.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/useresxdatanodes.vb" id="Snippet2"::: The resource XML file used by the example contains one data node and one metadata node. To use the XML file with the previous example, copy the following text and save it to a file named Resource1.resx. diff --git a/xml/System.Resources/ResXResourceSet.xml b/xml/System.Resources/ResXResourceSet.xml index d12420e9039..2ad04ff80df 100644 --- a/xml/System.Resources/ResXResourceSet.xml +++ b/xml/System.Resources/ResXResourceSet.xml @@ -44,7 +44,7 @@ The following example instantiates a object and illustrates how to enumerate its resources and retrieve individual resources by name. For each resource that it enumerates, the example uses the property in a call to the `GetString` or `GetObject` method, depending on whether the value of the resource is a string or an object. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXResourceSet/Overview/example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourceset.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXResourceSet/Overview/example1.vb" id="Snippet1"::: The example calls a `CreateResXFile` method to create the necessary XML resource file. It requires a bitmap file named Logo.bmp in the directory in which the example is running. diff --git a/xml/System.Resources/ResXResourceWriter.xml b/xml/System.Resources/ResXResourceWriter.xml index b997e4d3d1d..9964f1667cd 100644 --- a/xml/System.Resources/ResXResourceWriter.xml +++ b/xml/System.Resources/ResXResourceWriter.xml @@ -62,7 +62,7 @@ The following example creates a .resx file named `CarResources.resx` that stores six strings, an icon, and two application-defined objects (two `Automobile` objects). Note that the `Automobile` class, which is defined and instantiated in the example, is tagged with the attribute. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXResourceWriter/Overview/create1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/conceptual.resources.resx/vb/create1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXResourceWriter/Overview/create1.vb" id="Snippet1"::: ]]> @@ -666,7 +666,7 @@ The following example creates a .resx file named `CarResources.resx` that stores six strings, an icon, and two application-defined objects (two `Automobile` objects). To store the icon and the `Automobile` objects, it calls the method. Note that the `Automobile` class, which is defined and instantiated in the example, is tagged with the attribute. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXResourceWriter/Overview/create1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/conceptual.resources.resx/vb/create1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXResourceWriter/Overview/create1.vb" id="Snippet1"::: ]]> @@ -732,7 +732,7 @@ The following example creates a .resx file named `CarResources.resx` that stores six strings, an icon, and two application-defined objects (two `Automobile` objects). To store the strings, it calls the method. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXResourceWriter/Overview/create1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/conceptual.resources.resx/vb/create1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXResourceWriter/Overview/create1.vb" id="Snippet1"::: Note that the `Automobile` class, which is defined and instantiated in the example, is tagged with the attribute. diff --git a/xml/System.Resources/ResourceManager.xml b/xml/System.Resources/ResourceManager.xml index 971d88f891c..4430f499a07 100644 --- a/xml/System.Resources/ResourceManager.xml +++ b/xml/System.Resources/ResourceManager.xml @@ -392,7 +392,7 @@ You can determine the names of embedded .resources files by compiling and running the following utility. This is a console app that accepts the name of a main assembly or satellite assembly as a command-line parameter. It displays the strings that should be provided as the `baseName` parameter of the or constructor so that the resource manager can correctly identify the resource. :::code language="csharp" source="~/snippets/csharp/System.Resources/MissingManifestResourceException/Overview/resourcenames.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcemanager.class/vb/resourcenames.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceManager/BaseName/resourcenames.vb" id="Snippet4"::: ]]> @@ -940,7 +940,7 @@ al /out:fr-FR\ShowNumbers.resources.dll /culture:fr-FR /embed:NumberResources.fr ``` :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceManager/GetResourceSet/shownumbers.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcemanager.getresourceset/vb/shownumbers.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceManager/GetResourceSet/shownumbers.vb" id="Snippet1"::: If you change the value of the `createIfNotExists` argument to `false`, the method call returns `null`, since Resource Manager hasn't yet loaded the French language resources. @@ -1112,12 +1112,12 @@ If you change the value of the `createIfNotExists` argument to `false`, the meth The following example uses the method to retrieve a bitmap that is used in an app's opening splash window. The following source code from a file named CreateResources.cs (for C#) or CreateResources.vb (for Visual Basic) generates a .resx file named AppResources.resx that contains the serialized image. In this case, the image is loaded from a file named SplashScreen.jpg; you can modify the file name to substitute your own image. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceManager/Overview/createresources.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/conceptual.resources.retrieving/vb/createresources.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceManager/GetStream/createresources.vb" id="Snippet4"::: The following code from a file named GetStream.cs (for C#) or GetStream.vb (for Visual Basic) then retrieves the resource and displays the image in a control. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceManager/Overview/getstream.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/conceptual.resources.retrieving/vb/getstream.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceManager/GetStream/getstream.vb" id="Snippet5"::: You can use the following batch file to build the C# example. For Visual Basic, change `csc` to `vbc`, and change the extension of the source code file from `.cs` to `.vb`. diff --git a/xml/System.Resources/ResourceReader.xml b/xml/System.Resources/ResourceReader.xml index f0b9662b585..0c8ef697190 100644 --- a/xml/System.Resources/ResourceReader.xml +++ b/xml/System.Resources/ResourceReader.xml @@ -199,7 +199,7 @@ Label11="Mobile Phone:" The following example assumes that the resource file is embedded in the assembly that contains the application's executable code. It retrieves a resource file named `PatientForm.resources` from the currently executing assemblies and displays the name and value of each of its resources. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceReader/.ctor/stream1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcereader.ctor/vb/stream1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceReader/.ctor/stream1.vb" id="Snippet1"::: If the C# example is named `Example.cs`, you can compile it by using the following command: @@ -300,7 +300,7 @@ Label11="Mobile Phone:" The following example enumerates the resources in `PatientForm.resources` and displays the name and value of each. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceReader/.ctor/stream2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcereader.ctor/vb/stream2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceReader/.ctor/stream2.vb" id="Snippet2"::: ]]> @@ -369,7 +369,7 @@ Label11="Mobile Phone:" The following example moves through a file's resources and displays all the key/value pairs it finds. The code then uses the method to shut down the and to release all resources used by it. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceReader/Close/getenumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceReader.GetEnumerator Example/VB/getenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceReader/Close/getenumerator.vb" id="Snippet1"::: ]]> @@ -537,7 +537,7 @@ Label11="Mobile Phone:" The following example enumerates the resources in `PatientForm.resources` and displays the name and value of each. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceReader/.ctor/stream2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcereader.ctor/vb/stream2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceReader/.ctor/stream2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Resources/ResourceSet.xml b/xml/System.Resources/ResourceSet.xml index 8ecc36a0206..bd9facfeb07 100644 --- a/xml/System.Resources/ResourceSet.xml +++ b/xml/System.Resources/ResourceSet.xml @@ -304,7 +304,7 @@ The following code example defines a new instance of the class for a specific file, iterates through the resources used by that file, and displays their contents to the console. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceSet/.ctor/getenumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceSet.GetEnumerator/VB/getenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceSet/.ctor/getenumerator.vb" id="Snippet1"::: ]]> @@ -369,7 +369,7 @@ The following code example uses the method to release all resources used by the calling instance. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceSet/.ctor/getenumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceSet.GetEnumerator/VB/getenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceSet/.ctor/getenumerator.vb" id="Snippet1"::: ]]> @@ -666,7 +666,7 @@ The following example demonstrates how to create a `rs` for the file `items.resources`. Next, the method is used to create an for `rs`. The iterates through `rs` and displays the contents to the console. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceSet/.ctor/getenumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceSet.GetEnumerator/VB/getenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceSet/.ctor/getenumerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Resources/ResourceWriter.xml b/xml/System.Resources/ResourceWriter.xml index 5036817dff1..29a8ad902ff 100644 --- a/xml/System.Resources/ResourceWriter.xml +++ b/xml/System.Resources/ResourceWriter.xml @@ -162,7 +162,7 @@ The following code example defines a new instance of the class that writes to a specified stream. The code adds resources to the writer and writes the resources to the stream. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceWriter/.ctor/resourcewritercstr1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceWriter Cstr1 Example/VB/resourcewritercstr1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceWriter/.ctor/resourcewritercstr1.vb" id="Snippet1"::: ]]> @@ -308,7 +308,7 @@ The following example uses the method to add a graphics image that has been read as an array of bytes to a object. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceWriter/AddResource/addresource_byt1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresource/vb/addresource_byt1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceWriter/AddResource/addresource_byt1.vb" id="Snippet4"::: ]]> @@ -382,7 +382,7 @@ The following example uses the method to add a graphics image that has been saved to a object to a object. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceWriter/AddResource/addresource_str1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresource/vb/addresource_str1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceWriter/AddResource/addresource_str1.vb" id="Snippet2"::: ]]> @@ -553,7 +553,7 @@ The following example uses the method to add string resources to a object. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceWriter/.ctor/resourcewritercstr1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceWriter Cstr1 Example/VB/resourcewritercstr1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceWriter/.ctor/resourcewritercstr1.vb" id="Snippet1"::: ]]> @@ -631,7 +631,7 @@ The following example uses the method to add a graphics image that has been saved to a object to a object. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceWriter/AddResource/addresource_str2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresource/vb/addresource_str2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceWriter/AddResource/addresource_str2.vb" id="Snippet3"::: ]]> @@ -719,7 +719,7 @@ The following example uses the method to write two integer values to a .resources file, and then uses a object to retrieve them. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceWriter/AddResourceData/addresourcedata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresourcedata/vb/addresourcedata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceWriter/AddResourceData/addresourcedata.vb" id="Snippet1"::: ]]> @@ -786,7 +786,7 @@ The following example uses the method to write all resource objects in a class to the output stream. The code then shuts down the writer. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceWriter/.ctor/resourcewritercstr1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceWriter Cstr1 Example/VB/resourcewritercstr1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceWriter/.ctor/resourcewritercstr1.vb" id="Snippet1"::: ]]> @@ -849,7 +849,7 @@ The following code example uses the method to write all resource objects in a class to the output stream. The code then shuts down the writer and make the writer's resources available for other processes. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceWriter/Dispose/resourcewriterdispose.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceWriter.Dispose Example/VB/resourcewriterdispose.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceWriter/Dispose/resourcewriterdispose.vb" id="Snippet1"::: ]]> @@ -926,7 +926,7 @@ The following code example uses the method to write all resource objects in a class to the output stream :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceWriter/Generate/resourcewritergenerate.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceWriter.Generate Example/VB/resourcewritergenerate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceWriter/Generate/resourcewritergenerate.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/AsyncStateMachineAttribute.xml b/xml/System.Runtime.CompilerServices/AsyncStateMachineAttribute.xml index 35ad4204f42..6527fd512a1 100644 --- a/xml/System.Runtime.CompilerServices/AsyncStateMachineAttribute.xml +++ b/xml/System.Runtime.CompilerServices/AsyncStateMachineAttribute.xml @@ -80,7 +80,7 @@ - Obtains an attribute object for the method and attribute type by using `MethodInfo.GetCustomAttribute`. If `GetCustomAttribute` returns `Nothing` (Visual Basic) or `null` (C#), the method doesn't contain the attribute. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/AsyncStateMachineAttribute/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/runtime.compilerservices.asyncstatemachineattribute/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/AsyncStateMachineAttribute/Overview/module1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/CallerFilePathAttribute.xml b/xml/System.Runtime.CompilerServices/CallerFilePathAttribute.xml index 9d3a9ed0f5c..63947c52340 100644 --- a/xml/System.Runtime.CompilerServices/CallerFilePathAttribute.xml +++ b/xml/System.Runtime.CompilerServices/CallerFilePathAttribute.xml @@ -69,7 +69,7 @@ The following example shows how to use the `CallerFilePath` attribute. On each call to the `TraceMessage` method, the caller information is substituted as an argument to the optional parameter. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/CallerFilePathAttribute/callerinfo.cs" id="Snippet51"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/csProgGuideAttributes/vb/callerinfo.vb" id="Snippet51"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/CallerFilePathAttribute/Overview/callerinfo.vb" id="Snippet51"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/CallerLineNumberAttribute.xml b/xml/System.Runtime.CompilerServices/CallerLineNumberAttribute.xml index 14df8aabb16..b80a24ec0fd 100644 --- a/xml/System.Runtime.CompilerServices/CallerLineNumberAttribute.xml +++ b/xml/System.Runtime.CompilerServices/CallerLineNumberAttribute.xml @@ -69,7 +69,7 @@ The following example shows how to use the `CallerLineNumber` attribute. On each call to the `TraceMessage` method, the caller information is substituted as an argument to the optional parameter. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/CallerFilePathAttribute/callerinfo.cs" id="Snippet51"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/csProgGuideAttributes/vb/callerinfo.vb" id="Snippet51"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/CallerFilePathAttribute/Overview/callerinfo.vb" id="Snippet51"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/CallerMemberNameAttribute.xml b/xml/System.Runtime.CompilerServices/CallerMemberNameAttribute.xml index 77a6acb71fa..e58121f58de 100644 --- a/xml/System.Runtime.CompilerServices/CallerMemberNameAttribute.xml +++ b/xml/System.Runtime.CompilerServices/CallerMemberNameAttribute.xml @@ -87,7 +87,7 @@ The following example shows how to use the `CallerMemberName` attribute. On each call to the `TraceMessage` method, the caller information is substituted as an argument to the optional parameter. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/CallerFilePathAttribute/callerinfo.cs" id="Snippet51"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_VBCSharp/csProgGuideAttributes/vb/callerinfo.vb" id="Snippet51"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/CallerFilePathAttribute/Overview/callerinfo.vb" id="Snippet51"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/CompilationRelaxationsAttribute.xml b/xml/System.Runtime.CompilerServices/CompilationRelaxationsAttribute.xml index 23295a37284..b6172ded4c7 100644 --- a/xml/System.Runtime.CompilerServices/CompilationRelaxationsAttribute.xml +++ b/xml/System.Runtime.CompilerServices/CompilationRelaxationsAttribute.xml @@ -84,7 +84,7 @@ The following example demonstrates how to apply the . :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/CompilationRelaxationsAttribute/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.CompilationRelaxationsAttribute/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/CompilationRelaxationsAttribute/Overview/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/CompilerGlobalScopeAttribute.xml b/xml/System.Runtime.CompilerServices/CompilerGlobalScopeAttribute.xml index 14b37476617..3c146d96bcf 100644 --- a/xml/System.Runtime.CompilerServices/CompilerGlobalScopeAttribute.xml +++ b/xml/System.Runtime.CompilerServices/CompilerGlobalScopeAttribute.xml @@ -74,7 +74,7 @@ The following code example demonstrates how to apply the . :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/CompilerGlobalScopeAttribute/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.CompilerGlobalScopeAttribute/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/CompilerGlobalScopeAttribute/Overview/example.vb" id="Snippet1"::: ]]> @@ -121,7 +121,7 @@ The following code example demonstrates how to apply the . :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/CompilerGlobalScopeAttribute/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.CompilerGlobalScopeAttribute/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/CompilerGlobalScopeAttribute/Overview/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/ConditionalWeakTable`2+CreateValueCallback.xml b/xml/System.Runtime.CompilerServices/ConditionalWeakTable`2+CreateValueCallback.xml index c6a6083dd0b..7b303ce222b 100644 --- a/xml/System.Runtime.CompilerServices/ConditionalWeakTable`2+CreateValueCallback.xml +++ b/xml/System.Runtime.CompilerServices/ConditionalWeakTable`2+CreateValueCallback.xml @@ -82,7 +82,7 @@ The following example defines a `MainClass` class and a `MainInfo` class. `MainInfo` provides information about the `MainClass` instance. It also defines a static (`Shared` in Visual Basic) `CreateAttachedValue` method that can be assigned to the delegate and passed to the method. The example calls the method to add a `MainClass` object and its corresponding `MainInfo` object to a table. The example also illustrates calls to the and methods to add key/value pairs to the table, and a call to the method to retrieve the value that belongs to an existing key. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.getvalue/vb/getvalue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/ConditionalWeakTable`2.xml b/xml/System.Runtime.CompilerServices/ConditionalWeakTable`2.xml index 82c77f188ff..677c4330eb2 100644 --- a/xml/System.Runtime.CompilerServices/ConditionalWeakTable`2.xml +++ b/xml/System.Runtime.CompilerServices/ConditionalWeakTable`2.xml @@ -131,7 +131,7 @@ The following example illustrates that a key stored in the table does not persist after references to it outside the table are destroyed. The example defines two classes: `ManagedClass`, which represents the key in the table, and `ClassData`, which represents the key's value. The example instantiates three objects of each type. It also instantiates a object that represents the second `ManagedClass`, and then destroys the second `ManagedClass` instance. The attempt to retrieve the second `ManagedClass` object from the property indicates that no references to the object remain. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue/Overview/example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue/Overview/example1.vb" id="Snippet1"::: ]]> @@ -259,7 +259,7 @@ The following example defines a `MainClass` class and a `MainInfo` class, which provides information about the `MainClass` instance. The example then calls the method to add a `MainClass` object and its attached `MainInfo` object to a table. The example also illustrates calls to the and methods to add key/value pairs to the table, and to the method to retrieve the value of an existing key. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.getvalue/vb/getvalue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.vb" id="Snippet1"::: ]]> @@ -595,7 +595,7 @@ The following example defines a `MainClass` class and a `MainInfo` class, which provides information about the `MainClass` instance. The example calls the method to add a `MainClass` object and its attached `MainInfo` object to a table. The example also illustrates calls to the and methods to add key/value pairs to the table, and to the method to retrieve the value of an existing key. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.getvalue/vb/getvalue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.vb" id="Snippet1"::: ]]> @@ -681,7 +681,7 @@ Note: In the .NET for The following example defines a `MainClass` class and a `MainInfo` class, which provides information about the `MainClass` instance. It also defines a static (`Shared` in Visual Basic) `CreateAttachedValue` method that can be assigned to the delegate and passed to the method. The example calls the method to add a `MainClass` object and its attached `MainInfo` object to a table. The example also illustrates calls to the and methods to add key/value pairs to the table, and to the method to retrieve the value of an existing key. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.getvalue/vb/getvalue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.vb" id="Snippet1"::: ]]> @@ -1018,7 +1018,7 @@ retrieved. Additionally, it may not return all entries that were present when th The following example defines a `MainClass` class and a `MainInfo` class, which provides information about the `MainClass` instance. The example calls the , , and methods to add key/value pairs to a table. In each case, the example calls the method to confirm that the key/value pair has been added to the table. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.getvalue/vb/getvalue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/DefaultDependencyAttribute.xml b/xml/System.Runtime.CompilerServices/DefaultDependencyAttribute.xml index 983ae93ec4f..e4b6f0177f6 100644 --- a/xml/System.Runtime.CompilerServices/DefaultDependencyAttribute.xml +++ b/xml/System.Runtime.CompilerServices/DefaultDependencyAttribute.xml @@ -71,7 +71,7 @@ The following code example demonstrates how to apply the attribute to an assembly to specify that the dependency is likely to be loaded. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/DefaultDependencyAttribute/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DefaultDependencyAttribute/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/DefaultDependencyAttribute/Overview/example.vb" id="Snippet1"::: ]]> @@ -124,7 +124,7 @@ The following code example demonstrates how to apply the attribute to an assembly to specify that the dependency is likely to be loaded. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/DefaultDependencyAttribute/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DefaultDependencyAttribute/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/DefaultDependencyAttribute/Overview/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/DependencyAttribute.xml b/xml/System.Runtime.CompilerServices/DependencyAttribute.xml index 675f498f141..82a8c808b4f 100644 --- a/xml/System.Runtime.CompilerServices/DependencyAttribute.xml +++ b/xml/System.Runtime.CompilerServices/DependencyAttribute.xml @@ -73,7 +73,7 @@ The following example specifies that the native image generation service always binds to `AssemblyA` and sometimes binds to `AssemblyB`. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/DependencyAttribute/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DependencyAttribute/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/DependencyAttribute/Overview/example.vb" id="Snippet1"::: ]]> @@ -133,7 +133,7 @@ The following example specifies that the native image generation service always binds to `AssemblyA` and sometimes binds to `AssemblyB`. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/DependencyAttribute/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DependencyAttribute/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/DependencyAttribute/Overview/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/DiscardableAttribute.xml b/xml/System.Runtime.CompilerServices/DiscardableAttribute.xml index 0d06a1d3837..0966a30c686 100644 --- a/xml/System.Runtime.CompilerServices/DiscardableAttribute.xml +++ b/xml/System.Runtime.CompilerServices/DiscardableAttribute.xml @@ -67,7 +67,7 @@ The following code example demonstrates how to apply the attribute to a type. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/DiscardableAttribute/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DiscardableAttribute/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/DiscardableAttribute/Overview/example.vb" id="Snippet1"::: ]]> @@ -114,7 +114,7 @@ The following code example demonstrates how to apply the attribute to a type. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/DiscardableAttribute/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DiscardableAttribute/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/DiscardableAttribute/Overview/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/InternalsVisibleToAttribute.xml b/xml/System.Runtime.CompilerServices/InternalsVisibleToAttribute.xml index a0329bf72d0..bef4cf7e51a 100644 --- a/xml/System.Runtime.CompilerServices/InternalsVisibleToAttribute.xml +++ b/xml/System.Runtime.CompilerServices/InternalsVisibleToAttribute.xml @@ -66,24 +66,24 @@ The following example uses the attribute to make an `internal` method named `AppendDirectorySeparator` in a signed assembly visible to another signed assembly. It defines a `FileUtilities` class that includes an internal `AppendDirectorySeparator` method. The attribute is applied to the assembly that contains the `FileUtilities` class. The attribute allows an assembly named `Friend1` to access this internal member. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/assembly1.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.internalsvisibletoattribute/vb/assembly1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/assembly1.vb" id="Snippet1"::: If the following example is compiled into a strong-named assembly named `Friend1`, the `Example.Main` method in `Friend1` can successfully call the `FileUtilities.AppendDirectorySeparator` method, although the method is internal to the `Assembly1` assembly. If you're compiling in C# from the command line, you must use the **/out** compiler switch to ensure that the name of the friend assembly is available when the compiler binds to external references. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/friend1.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.internalsvisibletoattribute/vb/friend1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/friend1.vb" id="Snippet2"::: **Unsigned assemblies** The following example uses the attribute to make an `internal` member of an unsigned assembly visible to another unsigned assembly. The attribute ensures that the `internal` `StringLib.IsFirstLetterUpperCase` method in an assembly named `UtilityLib` is visible to the code in an assembly named `Friend2`. The following is the source code for UtilityLib.dll: :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/utilitylib.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.internalsvisibletoattribute/vb/utilitylib.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/utilitylib.vb" id="Snippet5"::: The following example provides the source code for the `Friend2` assembly. Note that if you are compiling in C# from the command line, you must use the **/out** compiler switch to ensure that the name of the friend assembly is available when the compiler binds to external references. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/friend2.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.internalsvisibletoattribute/vb/friend2.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/friend2.vb" id="Snippet6"::: ]]> @@ -164,24 +164,24 @@ The following example provides the source code for the `Friend2` assembly. Note The following example uses the attribute to make an `internal` method named `AppendDirectorySeparator` in a signed assembly visible to another signed assembly. It defines a `FileUtilities` class that includes an internal `AppendDirectorySeparator` method. The attribute is applied to the assembly that contains the `FileUtilities` class. The attribute allows an assembly named `Friend1` to access this internal member. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/assembly1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.internalsvisibletoattribute/vb/assembly1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/assembly1.vb" id="Snippet1"::: If the following example is compiled into a strong-named assembly named `Friend1`, it can successfully call the `FileUtilities.AppendDirectorySeparator` method, even though the method is internal to the `Assembly1` assembly. Note that if you are compiling in C# from the command line, you must use the **/out** compiler switch to ensure that the name of the friend assembly is available when the compiler binds to external references. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/friend1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.internalsvisibletoattribute/vb/friend1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/friend1.vb" id="Snippet2"::: The following example uses the attribute to make an `internal` member of an unsigned assembly visible to another unsigned assembly. The attribute ensures that the `internal` `StringLib.IsFirstLetterUpperCase` method in an assembly named `UtilityLib` is visible to the code in an assembly named `Friend2`. The following is the source code for UtilityLib.dll: :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/utilitylib.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.internalsvisibletoattribute/vb/utilitylib.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/utilitylib.vb" id="Snippet5"::: **Unsigned assemblies** The following example provides the source code for the `Friend2` assembly. Note that if you are compiling in C# from the command line, you must use the **/out** compiler switch to ensure that the name of the friend assembly is available when the compiler binds to external references. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/friend2.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.internalsvisibletoattribute/vb/friend2.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/InternalsVisibleToAttribute/Overview/friend2.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/IteratorStateMachineAttribute.xml b/xml/System.Runtime.CompilerServices/IteratorStateMachineAttribute.xml index 78e29eab65c..8017283ff03 100644 --- a/xml/System.Runtime.CompilerServices/IteratorStateMachineAttribute.xml +++ b/xml/System.Runtime.CompilerServices/IteratorStateMachineAttribute.xml @@ -82,7 +82,7 @@ - Obtains an attribute object for the method and attribute type by using `MethodInfo.GetCustomAttribute`. If `GetCustomAttribute` returns `Nothing` (Visual Basic), the method doesn't contain the attribute. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/runtime.compilerservices.asyncstatemachineattribute/vb/module2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/AsyncStateMachineAttribute/Overview/module2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/MethodImplAttribute.xml b/xml/System.Runtime.CompilerServices/MethodImplAttribute.xml index 016a38c2af5..3a5190ffa0b 100644 --- a/xml/System.Runtime.CompilerServices/MethodImplAttribute.xml +++ b/xml/System.Runtime.CompilerServices/MethodImplAttribute.xml @@ -78,12 +78,12 @@ The following example applies the to the `GetCalendarName` method to ensure that it is not inlined at run time by the just-in-time (JIT) compiler. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/MethodImplAttribute/Overview/methodimplattribute1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.methodimplattribute/vb/methodimplattribute1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/MethodImplAttribute/Overview/methodimplattribute1.vb" id="Snippet1"::: The following example then calls the `MethodInfo.GetMethodImplementationFlags` method to determine which flags are set for the `GetCalendarName` method. It also demonstrates that this information is not retrieved by the method. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/MethodImplAttribute/Overview/getmethodimplattribute1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.methodimplattribute/vb/getmethodimplattribute1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/MethodImplAttribute/Overview/getmethodimplattribute1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/RuntimeHelpers.xml b/xml/System.Runtime.CompilerServices/RuntimeHelpers.xml index 3ecb5f5950a..8a4a40fb2f0 100644 --- a/xml/System.Runtime.CompilerServices/RuntimeHelpers.xml +++ b/xml/System.Runtime.CompilerServices/RuntimeHelpers.xml @@ -70,7 +70,7 @@ The following example shows how to reliably set handles by using the method. To reliably set a handle to a specified pre-existing handle, you must ensure that the allocation of the native handle and the subsequent recording of that handle within a object is atomic. Any failure between these operations (such as a thread abort or out-of-memory exception) will result in the native handle being leaked. You can use the method to make sure that the handle is not leaked. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/RuntimeHelpers/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SafeHandle-RuntimeHelpers.PrepareConstrainedRegions/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/RuntimeHelpers/Overview/sample.vb" id="Snippet1"::: ]]> @@ -339,7 +339,7 @@ This method is intended for compiler use rather than use directly in code. `T` m The following example demonstrates how to compare two objects by using the method. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/RuntimeHelpers/Equals/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.RuntimeHelpers.Equals/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/RuntimeHelpers/Equals/example.vb" id="Snippet1"::: ]]> @@ -552,7 +552,7 @@ This method is intended for compiler use rather than use directly in code. `T` m The following example demonstrates how to box a value class by using the method. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/RuntimeHelpers/GetObjectValue/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.RuntimeHelpers.GetObjectValue/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/RuntimeHelpers/GetObjectValue/example.vb" id="Snippet1"::: ]]> @@ -904,7 +904,7 @@ This method is intended for compiler use rather than use directly in code. `T` m The following example shows how to reliably set handles by using the method. To reliably set a handle to a specified pre-existing handle, you must ensure that the allocation of the native handle and the subsequent recording of that handle within a object is atomic. Any failure between these operations (such as a thread abort or out-of-memory exception) will result in the native handle being leaked. You can use the method to make sure that the handle is not leaked. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/RuntimeHelpers/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SafeHandle-RuntimeHelpers.PrepareConstrainedRegions/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/RuntimeHelpers/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/StringFreezingAttribute.xml b/xml/System.Runtime.CompilerServices/StringFreezingAttribute.xml index 42a72b45e2f..188c3641c74 100644 --- a/xml/System.Runtime.CompilerServices/StringFreezingAttribute.xml +++ b/xml/System.Runtime.CompilerServices/StringFreezingAttribute.xml @@ -73,7 +73,7 @@ The following code example demonstrates how to apply the to an assembly. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/StringFreezingAttribute/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.StringFreezingAttribute/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/StringFreezingAttribute/Overview/example.vb" id="Snippet1"::: ]]> @@ -119,7 +119,7 @@ The following code example demonstrates how to apply the to an assembly. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/StringFreezingAttribute/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.StringFreezingAttribute/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/StringFreezingAttribute/Overview/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/SuppressIldasmAttribute.xml b/xml/System.Runtime.CompilerServices/SuppressIldasmAttribute.xml index a27333c45fa..d5d162a1512 100644 --- a/xml/System.Runtime.CompilerServices/SuppressIldasmAttribute.xml +++ b/xml/System.Runtime.CompilerServices/SuppressIldasmAttribute.xml @@ -68,7 +68,7 @@ The following code example demonstrates how to apply the attribute to an assembly. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/SuppressIldasmAttribute/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.SuppressIldasmAttribute/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/SuppressIldasmAttribute/Overview/sample.vb" id="Snippet1"::: ]]> @@ -119,7 +119,7 @@ The following code example demonstrates how to apply the attribute to an assembly. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/SuppressIldasmAttribute/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.SuppressIldasmAttribute/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/SuppressIldasmAttribute/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.ConstrainedExecution/Cer.xml b/xml/System.Runtime.ConstrainedExecution/Cer.xml index 36d219e16d9..91aa30cf11a 100644 --- a/xml/System.Runtime.ConstrainedExecution/Cer.xml +++ b/xml/System.Runtime.ConstrainedExecution/Cer.xml @@ -76,7 +76,7 @@ If a method, type, or assembly is not explicitly marked to succeed, it is implic The following code example demonstrates the use of the enumeration when specifying a constrained execution region for a method. This code example is part of a larger example provided for the constructor. :::code language="csharp" source="~/snippets/csharp/System.Runtime.ConstrainedExecution/Cer/Overview/program.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.ConstrainedExecution/vb/program.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Runtime.ConstrainedExecution/Cer/Overview/program.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Runtime.ConstrainedExecution/Consistency.xml b/xml/System.Runtime.ConstrainedExecution/Consistency.xml index 4b85bda6b60..3b10b967aa7 100644 --- a/xml/System.Runtime.ConstrainedExecution/Consistency.xml +++ b/xml/System.Runtime.ConstrainedExecution/Consistency.xml @@ -64,7 +64,7 @@ The following code example demonstrates the use of the enumeration when specifying a constrained execution region for a method. This code example is part of a larger example provided for the constructor. :::code language="csharp" source="~/snippets/csharp/System.Runtime.ConstrainedExecution/Cer/Overview/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.ConstrainedExecution/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.ConstrainedExecution/Cer/Overview/program.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Runtime.ConstrainedExecution/CriticalFinalizerObject.xml b/xml/System.Runtime.ConstrainedExecution/CriticalFinalizerObject.xml index f26303ca9b9..c1fc3dd4c59 100644 --- a/xml/System.Runtime.ConstrainedExecution/CriticalFinalizerObject.xml +++ b/xml/System.Runtime.ConstrainedExecution/CriticalFinalizerObject.xml @@ -64,7 +64,7 @@ The following code example shows the use of the class to provide critical finalization for the standard input and output streams. The , derived from the class, is passed to the file stream in the constructor. :::code language="csharp" source="~/snippets/csharp/System.Runtime.ConstrainedExecution/CriticalFinalizerObject/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SafeHandle.SafeFileHandle/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.ConstrainedExecution/CriticalFinalizerObject/Overview/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.ConstrainedExecution/ReliabilityContractAttribute.xml b/xml/System.Runtime.ConstrainedExecution/ReliabilityContractAttribute.xml index b3f79f8023f..77597eeef57 100644 --- a/xml/System.Runtime.ConstrainedExecution/ReliabilityContractAttribute.xml +++ b/xml/System.Runtime.ConstrainedExecution/ReliabilityContractAttribute.xml @@ -122,7 +122,7 @@ The following code example demonstrates the use of the constructor to create a constrained execution region and a `finally` block that is guaranteed to execute. :::code language="csharp" source="~/snippets/csharp/System.Runtime.ConstrainedExecution/Cer/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.ConstrainedExecution/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.ConstrainedExecution/Cer/Overview/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.ExceptionServices/FirstChanceExceptionEventArgs.xml b/xml/System.Runtime.ExceptionServices/FirstChanceExceptionEventArgs.xml index 8b9cd470fba..23d00078857 100644 --- a/xml/System.Runtime.ExceptionServices/FirstChanceExceptionEventArgs.xml +++ b/xml/System.Runtime.ExceptionServices/FirstChanceExceptionEventArgs.xml @@ -68,7 +68,7 @@ > To see how the stack display grows as the event is raised closer and closer to the default application domain, change `e.Exception.Message` to `e.Exception` in the `FirstChanceHandler` event handlers. Notice that when `TestException` is called across application domain boundaries, it appears twice: once for the proxy and once for the stub. :::code language="csharp" source="~/snippets/csharp/System/AppDomain/FirstChanceException/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.firstchanceexception/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/FirstChanceException/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Hosting/ActivationArguments.xml b/xml/System.Runtime.Hosting/ActivationArguments.xml index be46e5dea49..b08288bef20 100644 --- a/xml/System.Runtime.Hosting/ActivationArguments.xml +++ b/xml/System.Runtime.Hosting/ActivationArguments.xml @@ -47,7 +47,7 @@ The following code example shows how to obtain the current object from the for the of a manifest-based application. :::code language="csharp" source="~/snippets/csharp/System.Runtime.Hosting/ActivationArguments/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.Hosting.ApplicationActivator/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Hosting/ActivationArguments/Overview/program.vb" id="Snippet1"::: ]]> @@ -224,7 +224,7 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Runtime.Hosting/ActivationArguments/Overview/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.Hosting.ApplicationActivator/vb/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Hosting/ActivationArguments/Overview/program.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Runtime.Hosting/ApplicationActivator.xml b/xml/System.Runtime.Hosting/ApplicationActivator.xml index bf0fa416a86..9a30e108cd7 100644 --- a/xml/System.Runtime.Hosting/ApplicationActivator.xml +++ b/xml/System.Runtime.Hosting/ApplicationActivator.xml @@ -61,7 +61,7 @@ The following code example shows how to obtain an object from the current for a manifest-based application. :::code language="csharp" source="~/snippets/csharp/System.Runtime.Hosting/ActivationArguments/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.Hosting.ApplicationActivator/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Hosting/ActivationArguments/Overview/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.InteropServices/BestFitMappingAttribute.xml b/xml/System.Runtime.InteropServices/BestFitMappingAttribute.xml index 66e519c7718..5fc318cb761 100644 --- a/xml/System.Runtime.InteropServices/BestFitMappingAttribute.xml +++ b/xml/System.Runtime.InteropServices/BestFitMappingAttribute.xml @@ -84,7 +84,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.runtime.interopservices.bestfitmappingattribute/cpp/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/BestFitMappingAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.bestfitmappingattribute/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/BestFitMappingAttribute/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.InteropServices/CallingConvention.xml b/xml/System.Runtime.InteropServices/CallingConvention.xml index ce4a62cb07b..672046d1e66 100644 --- a/xml/System.Runtime.InteropServices/CallingConvention.xml +++ b/xml/System.Runtime.InteropServices/CallingConvention.xml @@ -74,7 +74,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Interop CallingConvention/CPP/callingconv.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/CallingConvention/Overview/callingconv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Interop CallingConvention/VB/callingconv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/CallingConvention/Overview/callingconv.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.InteropServices/CharSet.xml b/xml/System.Runtime.InteropServices/CharSet.xml index 7a5869d47d8..1565093d2c6 100644 --- a/xml/System.Runtime.InteropServices/CharSet.xml +++ b/xml/System.Runtime.InteropServices/CharSet.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.runtime.interopservices.charset/cpp/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/CharSet/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.charset/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/CharSet/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.InteropServices/ClassInterfaceType.xml b/xml/System.Runtime.InteropServices/ClassInterfaceType.xml index 134ceb530e4..f474ee104f1 100644 --- a/xml/System.Runtime.InteropServices/ClassInterfaceType.xml +++ b/xml/System.Runtime.InteropServices/ClassInterfaceType.xml @@ -74,7 +74,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ClassInterfaceType/cpp/ClassInterfaceType.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/ClassInterfaceType/Overview/ClassInterfaceType.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ClassInterfaceType/VB/ClassInterfaceType.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/ClassInterfaceType/Overview/ClassInterfaceType.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.InteropServices/ComCompatibleVersionAttribute.xml b/xml/System.Runtime.InteropServices/ComCompatibleVersionAttribute.xml index 9f0ed2c5932..9623b515103 100644 --- a/xml/System.Runtime.InteropServices/ComCompatibleVersionAttribute.xml +++ b/xml/System.Runtime.InteropServices/ComCompatibleVersionAttribute.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.runtime.interopservices.comcompatibleversionattribute/cpp/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/ComCompatibleVersionAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.comcompatibleversionattribute/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/ComCompatibleVersionAttribute/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.InteropServices/ComImportAttribute.xml b/xml/System.Runtime.InteropServices/ComImportAttribute.xml index 8e02de069f8..220c3ca301c 100644 --- a/xml/System.Runtime.InteropServices/ComImportAttribute.xml +++ b/xml/System.Runtime.InteropServices/ComImportAttribute.xml @@ -79,7 +79,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ImprovedInteropSnippets/CPP/codefile2.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/ComImportAttribute/Overview/codefile2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ImprovedInteropSnippets/VB/codefile2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/ComImportAttribute/Overview/codefile2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.InteropServices/DispatchWrapper.xml b/xml/System.Runtime.InteropServices/DispatchWrapper.xml index 68794b73d34..795407cbc4e 100644 --- a/xml/System.Runtime.InteropServices/DispatchWrapper.xml +++ b/xml/System.Runtime.InteropServices/DispatchWrapper.xml @@ -86,7 +86,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.runtime.interopservices.dispatchwrapper/cpp/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/DispatchWrapper/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.dispatchwrapper/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/DispatchWrapper/Overview/source.vb" id="Snippet1"::: For more information on `VT_DISPATCH`, please see the existing documentation for `VARENUM::VT_DISPATCH` in the MSDN library. diff --git a/xml/System.Runtime.InteropServices/DllImportAttribute.xml b/xml/System.Runtime.InteropServices/DllImportAttribute.xml index 9bd3dab7571..966fcda0d14 100644 --- a/xml/System.Runtime.InteropServices/DllImportAttribute.xml +++ b/xml/System.Runtime.InteropServices/DllImportAttribute.xml @@ -87,7 +87,7 @@ For additional information about using the platform invoke service to access fun The following code example shows how to use the attribute to import the Win32 `MessageBox` function. The code example then calls the imported method. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/DllImportAttribute/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.DllImport.Canonical/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/Overview/sample.vb" id="Snippet1"::: ]]> @@ -148,7 +148,7 @@ For additional information about using the platform invoke service to access fun :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.runtime.interopservices.dllimportattribute/cpp/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/DllImportAttribute/.ctor/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.dllimportattribute/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/.ctor/source.vb" id="Snippet2"::: @@ -156,7 +156,7 @@ For additional information about using the platform invoke service to access fun The following code example shows how to use the attribute to import the Win32 `MessageBox` function. The code example then calls the imported method. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/DllImportAttribute/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.DllImport.Canonical/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/Overview/sample.vb" id="Snippet1"::: ]]> @@ -223,7 +223,7 @@ For additional information about using the platform invoke service to access fun :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.runtime.interopservices.dllimportattribute/cpp/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/DllImportAttribute/.ctor/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.dllimportattribute/vb/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/.ctor/source.vb" id="Snippet3"::: ]]> @@ -287,7 +287,7 @@ For additional information about using the platform invoke service to access fun :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.runtime.interopservices.dllimportattribute/cpp/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/DllImportAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.dllimportattribute/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/.ctor/source.vb" id="Snippet1"::: ]]> @@ -348,7 +348,7 @@ For additional information about using the platform invoke service to access fun The following code example shows how to use the attribute to import the Win32 `MessageBox` function. The code example then calls the imported method. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/DllImportAttribute/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.DllImport.Canonical/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/Overview/sample.vb" id="Snippet1"::: ]]> @@ -418,7 +418,7 @@ For additional information about using the platform invoke service to access fun The following code example shows how to use the attribute to import the Win32 `MessageBox` function. The code example uses the property to specify the function to import and then changes the name to `MyNewMessageBoxMethod`. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/DllImportAttribute/EntryPoint/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.DllImport.EntryPoint/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/EntryPoint/sample.vb" id="Snippet1"::: ]]> @@ -488,7 +488,7 @@ For additional information about using the platform invoke service to access fun :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.runtime.interopservices.dllimportattribute/cpp/source.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/DllImportAttribute/.ctor/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.dllimportattribute/vb/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/.ctor/source.vb" id="Snippet4"::: ]]> @@ -558,7 +558,7 @@ For additional information about using the platform invoke service to access fun The following code example uses the to import the unmanaged `SHAutoComplete` function once with the field set to `true` and again with the field set to `false`. This code example causes the `SHAutoComplete` function to generate any errors with an exception one time and an `HRESULT` the next. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/DllImportAttribute/PreserveSig/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.PreserveSigAttribute/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/PreserveSig/example.vb" id="Snippet1"::: ]]> @@ -627,7 +627,7 @@ For additional information about using the platform invoke service to access fun :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.runtime.interopservices.dllimportattribute/cpp/source.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/DllImportAttribute/.ctor/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.dllimportattribute/vb/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/.ctor/source.vb" id="Snippet5"::: ]]> @@ -696,7 +696,7 @@ For additional information about using the platform invoke service to access fun :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.runtime.interopservices.dllimportattribute/cpp/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/DllImportAttribute/.ctor/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.dllimportattribute/vb/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/.ctor/source.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Runtime.InteropServices/GCHandle.xml b/xml/System.Runtime.InteropServices/GCHandle.xml index f3ba76d02b0..38444317390 100644 --- a/xml/System.Runtime.InteropServices/GCHandle.xml +++ b/xml/System.Runtime.InteropServices/GCHandle.xml @@ -98,7 +98,7 @@ The following example shows an `App` class that creates a handle to a managed object using the `GCHandle.Alloc` method, which prevents the managed object from being collected. A call to the `EnumWindows` method passes a delegate and a managed object (both declared as managed types, but not shown), and casts the handle to an . The unmanaged function passes the type back to the caller as a parameter of the callback function. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/GCHandle/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.GCHandle/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/GCHandle/Overview/sample.vb" id="Snippet1"::: ]]> @@ -260,7 +260,7 @@ The following example shows an `App` class that creates a handle to a managed object using the `GCHandle.Alloc` method, which prevents the managed object from being collected. A call to the `EnumWindows` method passes a delegate and a managed object (both declared as managed types, but not shown), and casts the handle to an . The unmanaged function passes the type back to the caller as a parameter of the callback function. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/GCHandle/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.GCHandle/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/GCHandle/Overview/sample.vb" id="Snippet1"::: ]]> @@ -518,7 +518,7 @@ The following example shows an `App` class that creates a handle to a managed object using the `GCHandle.Alloc` method, which prevents the managed object from being collected. A call to the `EnumWindows` method passes a delegate and a managed object (both declared as managed types, but not shown), and casts the handle to an . The unmanaged function passes the type back to the caller as a parameter of the callback function. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/GCHandle/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.GCHandle/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/GCHandle/Overview/sample.vb" id="Snippet1"::: ]]> @@ -587,7 +587,7 @@ The following code example shows an `App` class that creates a handle to a managed object using the `GCHandle.Alloc` method, which prevents the managed object from being collected. A call to the `EnumWindows` method passes a delegate and a managed object (both declared as managed types, but not shown), and casts the handle to an object. The unmanaged function passes the type back to the caller as a parameter of the callback function. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/GCHandle/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.GCHandle/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/GCHandle/Overview/sample.vb" id="Snippet1"::: ]]> @@ -1045,7 +1045,7 @@ The following example shows an `App` class that creates a handle to a managed object using the `GCHandle.Alloc` method, which prevents the managed object from being collected. A call to the `EnumWindows` method passes a delegate and a managed object (both declared as managed types, but not shown), and casts the handle to an . The unmanaged function passes the type back to the caller as a parameter of the callback function. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/GCHandle/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.GCHandle/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/GCHandle/Overview/sample.vb" id="Snippet1"::: ]]> @@ -1109,7 +1109,7 @@ The following code example shows an `App` class that creates a handle to a managed object using the `GCHandle.Alloc` method, which prevents the managed object from being collected. A call to the `EnumWindows` method passes a delegate and a managed object (both declared as managed types, but not shown), and casts the handle to an object. The unmanaged function passes the type back to the caller as a parameter of the callback function. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/GCHandle/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.GCHandle/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/GCHandle/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.InteropServices/ImportedFromTypeLibAttribute.xml b/xml/System.Runtime.InteropServices/ImportedFromTypeLibAttribute.xml index c1144eb82b3..224c8b4bcf3 100644 --- a/xml/System.Runtime.InteropServices/ImportedFromTypeLibAttribute.xml +++ b/xml/System.Runtime.InteropServices/ImportedFromTypeLibAttribute.xml @@ -69,7 +69,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ImprovedInteropSnippets/CPP/codefile3.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/ComImportAttribute/Overview/codefile3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ImprovedInteropSnippets/VB/codefile3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/ComImportAttribute/Overview/codefile3.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Runtime.InteropServices/InAttribute.xml b/xml/System.Runtime.InteropServices/InAttribute.xml index ca15043df5c..fba7eb42960 100644 --- a/xml/System.Runtime.InteropServices/InAttribute.xml +++ b/xml/System.Runtime.InteropServices/InAttribute.xml @@ -93,7 +93,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Interop InOutParameters/CPP/inout.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/InAttribute/Overview/inout.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Interop InOutParameters/VB/inout.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/InAttribute/Overview/inout.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.InteropServices/LCIDConversionAttribute.xml b/xml/System.Runtime.InteropServices/LCIDConversionAttribute.xml index 04bbc73180f..5d219bfca7d 100644 --- a/xml/System.Runtime.InteropServices/LCIDConversionAttribute.xml +++ b/xml/System.Runtime.InteropServices/LCIDConversionAttribute.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/LCIDConversionAttributeSample2/CPP/lcidattrsample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/LCIDConversionAttribute/Overview/lcidattrsample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/LCIDConversionAttributeSample2/VB/lcidattrsample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/LCIDConversionAttribute/Overview/lcidattrsample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.InteropServices/LayoutKind.xml b/xml/System.Runtime.InteropServices/LayoutKind.xml index 7ad976d62bb..877ca7ff19f 100644 --- a/xml/System.Runtime.InteropServices/LayoutKind.xml +++ b/xml/System.Runtime.InteropServices/LayoutKind.xml @@ -75,7 +75,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/LayoutKind/CPP/layoutkind.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/LayoutKind/Overview/layoutkind.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/LayoutKind/VB/layoutkind.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/LayoutKind/Overview/layoutkind.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.InteropServices/Marshal.xml b/xml/System.Runtime.InteropServices/Marshal.xml index 42ba0e3a475..67b96040f26 100644 --- a/xml/System.Runtime.InteropServices/Marshal.xml +++ b/xml/System.Runtime.InteropServices/Marshal.xml @@ -83,7 +83,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Marshal/cpp/marshal.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/Overview/Marshal.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Marshal/VB/Marshal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Overview/Marshal.vb" id="Snippet1"::: ]]> @@ -319,7 +319,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Marshal/cpp/marshal.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/Overview/Marshal.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Marshal/VB/Marshal.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Overview/Marshal.vb" id="Snippet4"::: ]]> @@ -741,7 +741,7 @@ The following example copies an array to unmanaged memory by using the overload, and then copies the unmanaged array back to managed memory by using the overload. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/Copy/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-byte/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample.vb" id="Snippet1"::: ]]> @@ -821,7 +821,7 @@ The following example copies an array to unmanaged memory and then copies the unmanaged array back to managed memory. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/Copy/sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-char/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample1.vb" id="Snippet1"::: ]]> @@ -901,7 +901,7 @@ The following example copies an array to unmanaged memory and then copies the unmanaged array back to managed memory. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/Copy/sample2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-double/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample2.vb" id="Snippet1"::: ]]> @@ -981,7 +981,7 @@ The following example copies an array to unmanaged memory and then copies the unmanaged array back to managed memory. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/Copy/sample4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int16/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample4.vb" id="Snippet1"::: ]]> @@ -1061,7 +1061,7 @@ The following example copies an array to unmanaged memory and then copies the unmanaged array back to managed memory. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/Copy/sample3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample3.vb" id="Snippet1"::: ]]> @@ -1141,7 +1141,7 @@ The following example copies an array to unmanaged memory and then copies the unmanaged array back to managed memory. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/Copy/sample5.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int64/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample5.vb" id="Snippet1"::: ]]> @@ -1221,7 +1221,7 @@ The following example copies an array to unmanaged memory and then copies the unmanaged array back to managed memory. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/Copy/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-byte/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample.vb" id="Snippet1"::: ]]> @@ -1300,7 +1300,7 @@ The following example copies an array to unmanaged memory and then copies the unmanaged array back to managed memory. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/Copy/sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-char/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample1.vb" id="Snippet1"::: ]]> @@ -1379,7 +1379,7 @@ The following example copies an array to unmanaged memory and then copies the unmanaged array back to managed memory. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/Copy/sample2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-double/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample2.vb" id="Snippet1"::: ]]> @@ -1458,7 +1458,7 @@ The following example copies an array to unmanaged memory and then copies the unmanaged array back to managed memory. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/Copy/sample4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int16/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample4.vb" id="Snippet1"::: ]]> @@ -1537,7 +1537,7 @@ The following example copies an array to unmanaged memory and then copies the unmanaged array back to managed memory. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/Copy/sample3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample3.vb" id="Snippet1"::: ]]> @@ -1616,7 +1616,7 @@ The following example copies an array to unmanaged memory and then copies the unmanaged array back to managed memory. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/Copy/sample5.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int64/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Copy/sample5.vb" id="Snippet1"::: ]]> @@ -2699,7 +2699,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Marshal/cpp/marshal.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/Overview/Marshal.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Marshal/VB/Marshal.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Overview/Marshal.vb" id="Snippet4"::: The following example demonstrates how to convert the contents of a managed class to unmanaged memory and then dispose of the unmanaged memory when done. @@ -4268,7 +4268,7 @@ The code retrieves a reference to an instance of Microsoft Word successfully. Ho The following example demonstrates how to retrieve an HRESULT corresponding to a Win32 error code using the method. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/GetHRForLastWin32Error/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetHRForLastWin32Error/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/GetHRForLastWin32Error/example.vb" id="Snippet1"::: ]]> @@ -4441,7 +4441,7 @@ The code retrieves a reference to an instance of Microsoft Word successfully. Ho The following example demonstrates how to retrieve a pointer to the `ITypeInfo` interface for a type using the method. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/GetITypeInfoForType/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetITypeInfoForType/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/GetITypeInfoForType/example.vb" id="Snippet1"::: ]]> @@ -4527,7 +4527,7 @@ The code retrieves a reference to an instance of Microsoft Word successfully. Ho The following example demonstrates how to retrieve an [IUnknown](/windows/win32/api/unknwn/nn-unknwn-iunknown) interface for a managed object using the method. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/GetIUnknownForObject/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetIUnknownForObject-release/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/GetIUnknownForObject/example.vb" id="Snippet1"::: ]]> @@ -4582,7 +4582,7 @@ The code retrieves a reference to an instance of Microsoft Word successfully. Ho The following example demonstrates how to retrieve an `IUnknown` interface for a managed object using the method. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/GetIUnknownForObjectInContext/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetIUnknownForObjectInContext-release/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/GetIUnknownForObjectInContext/example.vb" id="Snippet1"::: ]]> @@ -4793,7 +4793,7 @@ On .NET 6 and later versions, this method is functionally equivalent to @@ -7848,7 +7848,7 @@ On .NET 6 and later versions, this method is functionally equivalent to method. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/PtrToStructure/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.PtrToStructure-SizeOf/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/PtrToStructure/sample.vb" id="Snippet1"::: The following example demonstrates how to marshal an unmanaged block of memory to a managed structure using the method. @@ -8200,7 +8200,7 @@ On .NET 6 and later versions, this method is functionally equivalent to method to read the value of an unmanaged character. @@ -8291,7 +8291,7 @@ On .NET 6 and later versions, this method is functionally equivalent to and methods. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/ReadByte/sample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet3"::: The following example demonstrates how to use the method to read the value of an unmanaged character. @@ -8472,7 +8472,7 @@ On .NET 6 and later versions, this method is functionally equivalent to and methods. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/ReadByte/sample.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet4"::: The following example demonstrates how to use the method to read the value of an unmanaged `short` variable. @@ -8563,7 +8563,7 @@ On .NET 6 and later versions, this method is functionally equivalent to and methods. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/ReadByte/sample.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet4"::: The following example demonstrates how to use the method to read the value of an unmanaged `short` variable. @@ -8749,7 +8749,7 @@ On .NET 6 and later versions, this method is functionally equivalent to and methods. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/ReadByte/sample.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet5"::: The following example demonstrates how to use the method to read the value of an unmanaged `int` variable. @@ -8844,7 +8844,7 @@ On .NET 6 and later versions, this method is functionally equivalent to and methods. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/ReadByte/sample.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet5"::: The following example demonstrates how to use the method to read the value of an unmanaged `int` variable. @@ -9034,7 +9034,7 @@ On .NET 6 and later versions, this method is functionally equivalent to and methods. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/ReadByte/sample.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet6"::: The following example demonstrates how to use the method to read the value of an unmanaged `__int64` variable. @@ -9129,7 +9129,7 @@ On .NET 6 and later versions, this method is functionally equivalent to and methods. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/ReadByte/sample.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet6"::: The following example demonstrates how to use the method to read the value of an unmanaged `__int64` variable. @@ -9319,7 +9319,7 @@ On .NET 6 and later versions, this method is functionally equivalent to and methods. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/ReadByte/sample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet2"::: ]]> @@ -9409,7 +9409,7 @@ On .NET 6 and later versions, this method is functionally equivalent to and methods. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/ReadByte/sample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet2"::: ]]> @@ -9723,7 +9723,7 @@ On .NET 6 and later versions, this method is functionally equivalent to method. The example then releases the interface pointer by calling the method. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/GetIUnknownForObject/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetIUnknownForObject-release/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/GetIUnknownForObject/example.vb" id="Snippet1"::: ]]> @@ -9986,7 +9986,7 @@ On .NET 6 and later versions, this method is functionally equivalent to method to marshal and decrypt the contents of a object to a block of unmanaged memory. It then uses the method to zero out and dispose the unmanaged block. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/SecureStringToCoTaskMemAnsi/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.SecureStringToCoTaskMemAnsi/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/SecureStringToCoTaskMemAnsi/sample.vb" id="Snippet1"::: ]]> @@ -10057,7 +10057,7 @@ On .NET 6 and later versions, this method is functionally equivalent to method to marshal and decrypt the contents of a object to a block of unmanaged memory. It then uses the method to zero out and dispose the unmanaged block. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/SecureStringToCoTaskMemUnicode/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.SecureStringToCoTaskMemUnicode/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/SecureStringToCoTaskMemUnicode/sample.vb" id="Snippet1"::: ]]> @@ -10128,7 +10128,7 @@ On .NET 6 and later versions, this method is functionally equivalent to method to marshal and decrypt the contents of a object to a block of unmanaged memory. It then uses the method to zero out and dispose the unmanaged block. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/SecureStringToGlobalAllocAnsi/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.SecureStringToHGlobalAnsi/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/SecureStringToGlobalAllocAnsi/sample.vb" id="Snippet1"::: ]]> @@ -10199,7 +10199,7 @@ On .NET 6 and later versions, this method is functionally equivalent to method with the unmanaged `LogonUser` function to perform impersonation with the class. The example then uses the method to zero out and free the unmanaged string reference. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/SecureStringToGlobalAllocUnicode/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.SecureStringToHGlobalUni/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/SecureStringToGlobalAllocUnicode/sample.vb" id="Snippet1"::: ]]> @@ -10473,7 +10473,7 @@ The system error is based on the current operating system—that is, `errno` The following example creates a managed structure, transfers it to unmanaged memory, and then transfers it back to managed memory. This example uses the method to determine how much unmanaged memory to allocate. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/PtrToStructure/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.PtrToStructure-SizeOf/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/PtrToStructure/sample.vb" id="Snippet1"::: ]]> @@ -10557,7 +10557,7 @@ The system error is based on the current operating system—that is, `errno` :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Marshal/cpp/marshal.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/Overview/Marshal.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Marshal/VB/Marshal.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Overview/Marshal.vb" id="Snippet3"::: ]]> @@ -11355,7 +11355,7 @@ The system error is based on the current operating system—that is, `errno` The following example creates a managed structure, transfers it to unmanaged memory using the method, and then transfers it back to managed memory using the method. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/PtrToStructure/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.PtrToStructure-SizeOf/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/PtrToStructure/sample.vb" id="Snippet1"::: ]]> @@ -11525,7 +11525,7 @@ The system error is based on the current operating system—that is, `errno` :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Marshal/cpp/marshal.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/Overview/Marshal.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Marshal/VB/Marshal.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Overview/Marshal.vb" id="Snippet2"::: ]]> @@ -11584,7 +11584,7 @@ The system error is based on the current operating system—that is, `errno` :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Marshal/cpp/marshal.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/Overview/Marshal.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Marshal/VB/Marshal.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/Overview/Marshal.vb" id="Snippet2"::: ]]> @@ -11984,7 +11984,7 @@ public static void ThrowExceptionForHR(interrorCode,IntPtrerrorInfo) The following example creates a block of unmanaged memory, writes a byte to the unmanaged memory, reads the byte back from unmanaged memory, and then disposes the unmanaged memory. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/ReadByte/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.ReadByte - WriteByte/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/example.vb" id="Snippet1"::: ]]> @@ -12070,7 +12070,7 @@ public static void ThrowExceptionForHR(interrorCode,IntPtrerrorInfo) The following example demonstrates how to read and write to an unmanaged array using the and methods. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/ReadByte/sample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet3"::: ]]> @@ -12247,7 +12247,7 @@ public static void ThrowExceptionForHR(interrorCode,IntPtrerrorInfo) The following example demonstrates how to read and write to an unmanaged array using the and methods. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/ReadByte/sample.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet4"::: ]]> @@ -12332,7 +12332,7 @@ public static void ThrowExceptionForHR(interrorCode,IntPtrerrorInfo) The following example demonstrates how to read and write to an unmanaged array using the and methods. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/ReadByte/sample.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet4"::: ]]> @@ -12419,7 +12419,7 @@ public static void ThrowExceptionForHR(interrorCode,IntPtrerrorInfo) The following example demonstrates how to read and write to an unmanaged array using the and methods. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/ReadByte/sample.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet4"::: ]]> @@ -12499,7 +12499,7 @@ public static void ThrowExceptionForHR(interrorCode,IntPtrerrorInfo) The following example demonstrates how to read and write to an unmanaged array using the and methods. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/ReadByte/sample.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet4"::: ]]> @@ -12764,7 +12764,7 @@ public static void ThrowExceptionForHR(interrorCode,IntPtrerrorInfo) The following example demonstrates how to read and write to an unmanaged array using the and methods. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/ReadByte/sample.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet5"::: ]]> @@ -12852,7 +12852,7 @@ public static void ThrowExceptionForHR(interrorCode,IntPtrerrorInfo) The following example demonstrates how to read and write to an unmanaged array using the and methods. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/ReadByte/sample.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet5"::: ]]> @@ -13032,7 +13032,7 @@ public static void ThrowExceptionForHR(interrorCode,IntPtrerrorInfo) The following example demonstrates how to read and write to an unmanaged array using the and methods. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/ReadByte/sample.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet6"::: ]]> @@ -13120,7 +13120,7 @@ public static void ThrowExceptionForHR(interrorCode,IntPtrerrorInfo) The following example demonstrates how to read and write to an unmanaged array using the and methods. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/ReadByte/sample.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet6"::: ]]> @@ -13300,7 +13300,7 @@ public static void ThrowExceptionForHR(interrorCode,IntPtrerrorInfo) The following example demonstrates how to read and write to an unmanaged array using the and methods. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/ReadByte/sample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet2"::: ]]> @@ -13389,7 +13389,7 @@ public static void ThrowExceptionForHR(interrorCode,IntPtrerrorInfo) The following example demonstrates how to read and write to an unmanaged array using the and methods. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/ReadByte/sample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet2"::: ]]> @@ -13607,7 +13607,7 @@ public static void ThrowExceptionForHR(interrorCode,IntPtrerrorInfo) The following example uses the method to marshal and decrypt the contents of a object to a block of unmanaged memory. It then uses the method to zero out and dispose the unmanaged block. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/SecureStringToCoTaskMemAnsi/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.SecureStringToCoTaskMemAnsi/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/SecureStringToCoTaskMemAnsi/sample.vb" id="Snippet1"::: ]]> @@ -13790,7 +13790,7 @@ public static void ThrowExceptionForHR(interrorCode,IntPtrerrorInfo) The following example uses the method to marshal and decrypt the contents of a object to a block of unmanaged memory. It then uses the method to zero out and dispose the unmanaged block. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/SecureStringToGlobalAllocAnsi/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.SecureStringToHGlobalAnsi/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/SecureStringToGlobalAllocAnsi/sample.vb" id="Snippet1"::: ]]> @@ -13859,7 +13859,7 @@ public static void ThrowExceptionForHR(interrorCode,IntPtrerrorInfo) The following example demonstrates how to use the method with the unmanaged `LogonUser` function to perform impersonation with the class. The example then uses the method to zero out and free the unmanaged string reference. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/SecureStringToGlobalAllocUnicode/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.SecureStringToHGlobalUni/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/SecureStringToGlobalAllocUnicode/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.InteropServices/MarshalAsAttribute.xml b/xml/System.Runtime.InteropServices/MarshalAsAttribute.xml index 95283506790..52a444251e1 100644 --- a/xml/System.Runtime.InteropServices/MarshalAsAttribute.xml +++ b/xml/System.Runtime.InteropServices/MarshalAsAttribute.xml @@ -78,7 +78,7 @@ In most cases, the attribute simply identifies the format of the unmanaged data using the enumeration, as shown in the following C# signature: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/MarshalAsAttribute/Overview/Signature1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.MarshalAsAttribute/vb/Signature1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/MarshalAsAttribute/Overview/Signature1.vb" id="Snippet2"::: Some enumeration members require additional information. For example, additional information is needed when the is . For a complete description of how to use this attribute with arrays, see [Default Marshaling for Arrays](/dotnet/framework/interop/default-marshaling-for-arrays). @@ -93,12 +93,12 @@ The following example applies the to a field, a method parameter, and a method return value in a managed type. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/MarshalAsAttribute/Overview/marshalasattribute.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.MarshalAsAttribute/vb/marshalasattribute.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/MarshalAsAttribute/Overview/marshalasattribute.vb" id="Snippet1"::: The following example applies the attribute to a property: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/MarshalAsAttribute/Overview/Signature1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.MarshalAsAttribute/vb/Signature1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/MarshalAsAttribute/Overview/Signature1.vb" id="Snippet3"::: ]]> @@ -743,7 +743,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Runtime.InteropServices.MarshalAsAttribute.SizeParamIndex/CPP/marshalas.sizeparamindex.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/MarshalAsAttribute/SizeParamIndex/marshalas.sizeparamindex.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.MarshalAsAttribute.SizeParamIndex/VB/marshalas.sizeparamindex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/MarshalAsAttribute/SizeParamIndex/marshalas.sizeparamindex.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.InteropServices/OutAttribute.xml b/xml/System.Runtime.InteropServices/OutAttribute.xml index c0a608d5ef0..b7452da44d5 100644 --- a/xml/System.Runtime.InteropServices/OutAttribute.xml +++ b/xml/System.Runtime.InteropServices/OutAttribute.xml @@ -80,7 +80,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Interop InOutParameters/CPP/inout.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/InAttribute/Overview/inout.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Interop InOutParameters/VB/inout.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/InAttribute/Overview/inout.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.InteropServices/ProgIdAttribute.xml b/xml/System.Runtime.InteropServices/ProgIdAttribute.xml index d55b0c54953..83663cfbd01 100644 --- a/xml/System.Runtime.InteropServices/ProgIdAttribute.xml +++ b/xml/System.Runtime.InteropServices/ProgIdAttribute.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ProgIdAttribute_Value/CPP/progidattribute_value.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/ProgIdAttribute/Overview/progidattribute_value.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ProgIdAttribute_Value/VB/progidattribute_value.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/ProgIdAttribute/Overview/progidattribute_value.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.InteropServices/RuntimeEnvironment.xml b/xml/System.Runtime.InteropServices/RuntimeEnvironment.xml index 28a6fca5c29..8ea4c448d7b 100644 --- a/xml/System.Runtime.InteropServices/RuntimeEnvironment.xml +++ b/xml/System.Runtime.InteropServices/RuntimeEnvironment.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/RuntimeEnvironment/cpp/RuntimeEnvironment.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/RuntimeEnvironment/Overview/RuntimeEnvironment.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RuntimeEnvironment/VB/RuntimeEnvironment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/RuntimeEnvironment/Overview/RuntimeEnvironment.vb" id="Snippet1"::: ]]> @@ -152,7 +152,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/RuntimeEnvironment/cpp/RuntimeEnvironment.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/RuntimeEnvironment/Overview/RuntimeEnvironment.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RuntimeEnvironment/VB/RuntimeEnvironment.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/RuntimeEnvironment/Overview/RuntimeEnvironment.vb" id="Snippet2"::: ]]> @@ -211,7 +211,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/RuntimeEnvironment/cpp/RuntimeEnvironment.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/RuntimeEnvironment/Overview/RuntimeEnvironment.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RuntimeEnvironment/VB/RuntimeEnvironment.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/RuntimeEnvironment/Overview/RuntimeEnvironment.vb" id="Snippet3"::: ]]> @@ -475,7 +475,7 @@ The following table shows the supported combinations for `clsid` and `riid`. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/RuntimeEnvironment/cpp/RuntimeEnvironment.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/RuntimeEnvironment/Overview/RuntimeEnvironment.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RuntimeEnvironment/VB/RuntimeEnvironment.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/RuntimeEnvironment/Overview/RuntimeEnvironment.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Runtime.InteropServices/StructLayoutAttribute.xml b/xml/System.Runtime.InteropServices/StructLayoutAttribute.xml index 7bea82da91e..11f80f2a0ff 100644 --- a/xml/System.Runtime.InteropServices/StructLayoutAttribute.xml +++ b/xml/System.Runtime.InteropServices/StructLayoutAttribute.xml @@ -74,7 +74,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/StructLayoutAttribute/CPP/structlayoutattribute.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/StructLayoutAttribute/Overview/structlayoutattribute.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StructLayoutAttribute/VB/structlayoutattribute.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/StructLayoutAttribute/Overview/structlayoutattribute.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.InteropServices/TypeLibConverter.xml b/xml/System.Runtime.InteropServices/TypeLibConverter.xml index 8c4a8e94e98..f874f78ab16 100644 --- a/xml/System.Runtime.InteropServices/TypeLibConverter.xml +++ b/xml/System.Runtime.InteropServices/TypeLibConverter.xml @@ -108,7 +108,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Runtime.InteropServices.TypelibConverter.ConvertAssemblyToTypelib1/CPP/convert2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/TypeLibConverter/ConvertAssemblyToTypeLib/convert2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.TypelibConverter.ConvertAssemblyToTypelib1/VB/convert2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/TypeLibConverter/ConvertAssemblyToTypeLib/convert2.vb" id="Snippet1"::: ]]> @@ -266,7 +266,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Runtime.InteropServices.ConvertTypelibToASSembly/CPP/convert1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/TypeLibConverter/ConvertTypeLibToAssembly/convert1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.ConvertTypelibToASSembly/VB/convert1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/TypeLibConverter/ConvertTypeLibToAssembly/convert1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.InteropServices/TypeLibFuncAttribute.xml b/xml/System.Runtime.InteropServices/TypeLibFuncAttribute.xml index 625930f7b75..de95357d1cc 100644 --- a/xml/System.Runtime.InteropServices/TypeLibFuncAttribute.xml +++ b/xml/System.Runtime.InteropServices/TypeLibFuncAttribute.xml @@ -67,7 +67,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ImprovedInteropSnippets/CPP/codefile5.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/ComImportAttribute/Overview/codefile5.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ImprovedInteropSnippets/VB/codefile5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/ComImportAttribute/Overview/codefile5.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Runtime.InteropServices/TypeLibTypeAttribute.xml b/xml/System.Runtime.InteropServices/TypeLibTypeAttribute.xml index 58edcb37a9c..780a92891ff 100644 --- a/xml/System.Runtime.InteropServices/TypeLibTypeAttribute.xml +++ b/xml/System.Runtime.InteropServices/TypeLibTypeAttribute.xml @@ -67,7 +67,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ImprovedInteropSnippets/CPP/codefile4.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/ComImportAttribute/Overview/codefile4.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ImprovedInteropSnippets/VB/codefile4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/ComImportAttribute/Overview/codefile4.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Runtime.InteropServices/TypeLibVarAttribute.xml b/xml/System.Runtime.InteropServices/TypeLibVarAttribute.xml index fdcde7c45a5..59879eb37aa 100644 --- a/xml/System.Runtime.InteropServices/TypeLibVarAttribute.xml +++ b/xml/System.Runtime.InteropServices/TypeLibVarAttribute.xml @@ -67,7 +67,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/TypeLibVar/CPP/codefile6.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/TypeLibVarAttribute/Overview/codefile6.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeLibVar/VB/codefile6.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/TypeLibVarAttribute/Overview/codefile6.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.InteropServices/TypeLibVersionAttribute.xml b/xml/System.Runtime.InteropServices/TypeLibVersionAttribute.xml index 93140de9af2..7b779828cfa 100644 --- a/xml/System.Runtime.InteropServices/TypeLibVersionAttribute.xml +++ b/xml/System.Runtime.InteropServices/TypeLibVersionAttribute.xml @@ -69,7 +69,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.runtime.interopservices.typelibversionattribute/cpp/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/TypeLibVersionAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.typelibversionattribute/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/TypeLibVersionAttribute/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.InteropServices/UnmanagedType.xml b/xml/System.Runtime.InteropServices/UnmanagedType.xml index 11ba66ee4d9..9c08e6fba95 100644 --- a/xml/System.Runtime.InteropServices/UnmanagedType.xml +++ b/xml/System.Runtime.InteropServices/UnmanagedType.xml @@ -83,7 +83,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ImprovedInteropSnippets/CPP/codefile2.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/ComImportAttribute/Overview/codefile2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ImprovedInteropSnippets/VB/codefile2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/ComImportAttribute/Overview/codefile2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.InteropServices/VarEnum.xml b/xml/System.Runtime.InteropServices/VarEnum.xml index 9b5eeef14b8..6e603a03c97 100644 --- a/xml/System.Runtime.InteropServices/VarEnum.xml +++ b/xml/System.Runtime.InteropServices/VarEnum.xml @@ -80,7 +80,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ImprovedInteropSnippets/CPP/codefile2.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/ComImportAttribute/Overview/codefile2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ImprovedInteropSnippets/VB/codefile2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/ComImportAttribute/Overview/codefile2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.InteropServices/VariantWrapper.xml b/xml/System.Runtime.InteropServices/VariantWrapper.xml index abd7f514349..cadfd67391b 100644 --- a/xml/System.Runtime.InteropServices/VariantWrapper.xml +++ b/xml/System.Runtime.InteropServices/VariantWrapper.xml @@ -88,7 +88,7 @@ The following code example demonstrates how to use the class to wrap an that the interop marshaler passes as `VT_VARIANT | VT_BYREF`. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/VariantWrapper/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.VariantWrapper/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/VariantWrapper/Overview/sample.vb" id="Snippet1"::: ]]> @@ -145,7 +145,7 @@ The following code example demonstrates how to use the class to wrap an that the interop marshaler passes as `VT_VARIANT | VT_BYREF`. :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/VariantWrapper/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.VariantWrapper/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/VariantWrapper/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Remoting.Channels.Http/HttpServerChannel.xml b/xml/System.Runtime.Remoting.Channels.Http/HttpServerChannel.xml index 254fd5a7444..8b4d59dcfda 100644 --- a/xml/System.Runtime.Remoting.Channels.Http/HttpServerChannel.xml +++ b/xml/System.Runtime.Remoting.Channels.Http/HttpServerChannel.xml @@ -541,7 +541,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/HttpChannel.GetUrlsFromUri/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels.Http/HttpServerChannel/GetUrlsForUri/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpChannel.GetUrlsFromUri/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels.Http/HttpServerChannel/GetUrlsForUri/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Remoting.Channels.Tcp/TcpChannel.xml b/xml/System.Runtime.Remoting.Channels.Tcp/TcpChannel.xml index fdcc935ad68..c63426b47cd 100644 --- a/xml/System.Runtime.Remoting.Channels.Tcp/TcpChannel.xml +++ b/xml/System.Runtime.Remoting.Channels.Tcp/TcpChannel.xml @@ -151,7 +151,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation/CPP/server.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels.Tcp/TcpChannel/.ctor/server.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation/VB/server.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels.Tcp/TcpChannel/.ctor/server.vb" id="Snippet2"::: ]]> @@ -412,7 +412,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/TcpChannel.GetUrlsForUri/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels.Tcp/TcpChannel/GetUrlsForUri/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/TcpChannel.GetUrlsForUri/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels.Tcp/TcpChannel/GetUrlsForUri/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.xml b/xml/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.xml index b0d8917e9c2..c9d4fe274b4 100644 --- a/xml/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.xml +++ b/xml/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.xml @@ -476,7 +476,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/TcpServerChannel.GetUrlsForUri/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel/GetUrlsForUri/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/TcpServerChannel.GetUrlsForUri/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel/GetUrlsForUri/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties.xml b/xml/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties.xml index 642794608c7..ec476b0befa 100644 --- a/xml/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties.xml +++ b/xml/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties.xml @@ -55,7 +55,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CommonTransportKeys/CPP/commontransportkeys.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties/Overview/commontransportkeys.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CommonTransportKeys/VB/commontransportkeys.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties/Overview/commontransportkeys.vb" id="Snippet1"::: ]]> @@ -90,7 +90,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CommonTransportKeys/CPP/commontransportkeys.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties/Overview/commontransportkeys.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CommonTransportKeys/VB/commontransportkeys.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties/Overview/commontransportkeys.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties.xml b/xml/System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties.xml index 1432fe780c6..22908c0727b 100644 --- a/xml/System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties.xml +++ b/xml/System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties.xml @@ -41,7 +41,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapClientFormatterSinkProvider_BaseChannelSinkWithProperties/CPP/soapclientformattersinkprovider_customprovider.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties/Overview/soapclientformattersinkprovider_customprovider.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapClientFormatterSinkProvider_BaseChannelSinkWithProperties/VB/soapclientformattersinkprovider_customprovider.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties/Overview/soapclientformattersinkprovider_customprovider.vb" id="Snippet2"::: ]]> @@ -77,7 +77,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapClientFormatterSinkProvider_BaseChannelSinkWithProperties/CPP/soapclientformattersinkprovider_customprovider.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties/Overview/soapclientformattersinkprovider_customprovider.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapClientFormatterSinkProvider_BaseChannelSinkWithProperties/VB/soapclientformattersinkprovider_customprovider.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties/Overview/soapclientformattersinkprovider_customprovider.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.Remoting.Channels/ChannelServices.xml b/xml/System.Runtime.Remoting.Channels/ChannelServices.xml index 05895281cbb..585415b556c 100644 --- a/xml/System.Runtime.Remoting.Channels/ChannelServices.xml +++ b/xml/System.Runtime.Remoting.Channels/ChannelServices.xml @@ -204,7 +204,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ChannelServices_GetChannel/CPP/channelservices_getchannel_client.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/ChannelServices/GetChannel/channelservices_getchannel_client.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ChannelServices_GetChannel/VB/channelservices_getchannel_client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/GetChannel/channelservices_getchannel_client.vb" id="Snippet1"::: ]]> @@ -247,7 +247,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ChannelServices_GetChannel/CPP/channelservices_getchannel_client.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/ChannelServices/GetChannel/channelservices_getchannel_client.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ChannelServices_GetChannel/VB/channelservices_getchannel_client.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/GetChannel/channelservices_getchannel_client.vb" id="Snippet2"::: ]]> @@ -290,7 +290,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ChannelServices_RegisteredChannels/CPP/channelservices_registeredchannels_client.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/ChannelServices/GetUrlsForObject/channelservices_registeredchannels_client.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ChannelServices_RegisteredChannels/VB/channelservices_registeredchannels_client.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/GetUrlsForObject/channelservices_registeredchannels_client.vb" id="Snippet4"::: ]]> @@ -349,7 +349,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/HttpChannel/CPP/server.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/ChannelServices/RegisterChannel/server.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpChannel/VB/server.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/RegisterChannel/server.vb" id="Snippet1"::: ]]> @@ -444,7 +444,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ChannelServices_RegisteredChannels/CPP/channelservices_registeredchannels_server.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/ChannelServices/GetUrlsForObject/channelservices_registeredchannels_server.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ChannelServices_RegisteredChannels/VB/channelservices_registeredchannels_server.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/GetUrlsForObject/channelservices_registeredchannels_server.vb" id="Snippet2"::: ]]> @@ -487,7 +487,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ChannelServices_SyncDispatchMessage/CPP/channelservices_syncdispatchmessage_client.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/ChannelServices/SyncDispatchMessage/channelservices_syncdispatchmessage_client.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ChannelServices_SyncDispatchMessage/VB/channelservices_syncdispatchmessage_client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/SyncDispatchMessage/channelservices_syncdispatchmessage_client.vb" id="Snippet1"::: ]]> @@ -530,7 +530,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ChannelServices_RegisteredChannels/CPP/channelservices_registeredchannels_server.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/ChannelServices/GetUrlsForObject/channelservices_registeredchannels_server.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ChannelServices_RegisteredChannels/VB/channelservices_registeredchannels_server.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/GetUrlsForObject/channelservices_registeredchannels_server.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Runtime.Remoting.Channels/IChannel.xml b/xml/System.Runtime.Remoting.Channels/IChannel.xml index bcd127b84b7..7c4346a5608 100644 --- a/xml/System.Runtime.Remoting.Channels/IChannel.xml +++ b/xml/System.Runtime.Remoting.Channels/IChannel.xml @@ -69,7 +69,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/HttpServerChannel_Server_Client/CPP/httpserverchannel_9_server.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/IChannel/ChannelName/httpserverchannel_9_server.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpServerChannel_Server_Client/VB/httpserverchannel_9_server.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannel/ChannelName/httpserverchannel_9_server.vb" id="Snippet2"::: ]]> @@ -117,7 +117,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/HttpServerChannel_Server_Client/CPP/httpclientchannel_6_client.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/IChannel/ChannelName/httpclientchannel_6_client.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpServerChannel_Server_Client/VB/httpclientchannel_6_client.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannel/ChannelName/httpclientchannel_6_client.vb" id="Snippet5"::: ]]> @@ -168,7 +168,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/HttpServerChannel_Server_Client/CPP/httpclientchannel_6_client.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/IChannel/ChannelName/httpclientchannel_6_client.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpServerChannel_Server_Client/VB/httpclientchannel_6_client.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannel/ChannelName/httpclientchannel_6_client.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Runtime.Remoting.Channels/IChannelDataStore.xml b/xml/System.Runtime.Remoting.Channels/IChannelDataStore.xml index 0f0d3be7a71..4efc2953ba2 100644 --- a/xml/System.Runtime.Remoting.Channels/IChannelDataStore.xml +++ b/xml/System.Runtime.Remoting.Channels/IChannelDataStore.xml @@ -32,7 +32,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IChannelDataStore_Item/CPP/ichanneldatastore.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/IChannelDataStore/Overview/ichanneldatastore.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IChannelDataStore_Item/VB/ichanneldatastore.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelDataStore/Overview/ichanneldatastore.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Remoting.Channels/IChannelReceiver.xml b/xml/System.Runtime.Remoting.Channels/IChannelReceiver.xml index 0cb15abdb98..d3f86a04bb5 100644 --- a/xml/System.Runtime.Remoting.Channels/IChannelReceiver.xml +++ b/xml/System.Runtime.Remoting.Channels/IChannelReceiver.xml @@ -36,7 +36,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IChannelReceiver_StartListening_ChannelData/CPP/ichannelreceiver_channeldata_server.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/IChannelReceiver/Overview/ichannelreceiver_channeldata_server.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IChannelReceiver_StartListening_ChannelData/VB/ichannelreceiver_channeldata_server.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelReceiver/Overview/ichannelreceiver_channeldata_server.vb" id="Snippet1"::: ]]> @@ -120,7 +120,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IChannelReceiver_StartListening_ChannelData/CPP/ichannelreceiver_channeldata_server.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/IChannelReceiver/Overview/ichannelreceiver_channeldata_server.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IChannelReceiver_StartListening_ChannelData/VB/ichannelreceiver_channeldata_server.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelReceiver/Overview/ichannelreceiver_channeldata_server.vb" id="Snippet3"::: ]]> @@ -167,7 +167,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IChannelReceiver_StartListening_ChannelData/CPP/ichannelreceiver_channeldata_server.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/IChannelReceiver/Overview/ichannelreceiver_channeldata_server.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IChannelReceiver_StartListening_ChannelData/VB/ichannelreceiver_channeldata_server.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelReceiver/Overview/ichannelreceiver_channeldata_server.vb" id="Snippet4"::: ]]> @@ -214,7 +214,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/HttpServerChannel_Server_Client/CPP/httpserverchannel_9_server.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/IChannel/ChannelName/httpserverchannel_9_server.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpServerChannel_Server_Client/VB/httpserverchannel_9_server.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannel/ChannelName/httpserverchannel_9_server.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Runtime.Remoting.Channels/IChannelReceiverHook.xml b/xml/System.Runtime.Remoting.Channels/IChannelReceiverHook.xml index 2f2199f571e..1364fe397f3 100644 --- a/xml/System.Runtime.Remoting.Channels/IChannelReceiverHook.xml +++ b/xml/System.Runtime.Remoting.Channels/IChannelReceiverHook.xml @@ -27,7 +27,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IChannelReceiverHook_ChannelScheme/CPP/ichannelreceiverhook_channelscheme.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/IChannelReceiverHook/Overview/ichannelreceiverhook_channelscheme.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IChannelReceiverHook_ChannelScheme/VB/ichannelreceiverhook_channelscheme.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelReceiverHook/Overview/ichannelreceiverhook_channelscheme.vb" id="Snippet1"::: ]]> @@ -73,7 +73,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/HttpChannel.AddHookChannelUri/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/IChannelReceiverHook/AddHookChannelUri/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpChannel.AddHookChannelUri/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelReceiverHook/AddHookChannelUri/class1.vb" id="Snippet1"::: ]]> @@ -149,7 +149,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/HttpChannel.ChannelSinkChain/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/IChannelReceiverHook/ChannelSinkChain/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpChannel.ChannelSinkChain/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelReceiverHook/ChannelSinkChain/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Remoting.Channels/IChannelSender.xml b/xml/System.Runtime.Remoting.Channels/IChannelSender.xml index b824d058350..1e4e000624f 100644 --- a/xml/System.Runtime.Remoting.Channels/IChannelSender.xml +++ b/xml/System.Runtime.Remoting.Channels/IChannelSender.xml @@ -39,7 +39,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IChannelSender/CPP/ichannelsender_2_client.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/IChannelSender/Overview/ichannelsender_2_client.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IChannelSender/VB/ichannelsender_2_client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelSender/Overview/ichannelsender_2_client.vb" id="Snippet1"::: ]]> @@ -90,7 +90,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IChannelSender/CPP/ichannelsender_2_client.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/IChannelSender/Overview/ichannelsender_2_client.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IChannelSender/VB/ichannelsender_2_client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/IChannelSender/Overview/ichannelsender_2_client.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Remoting.Channels/IClientChannelSink.xml b/xml/System.Runtime.Remoting.Channels/IClientChannelSink.xml index 15aaf7bc9fd..b281c9742e3 100644 --- a/xml/System.Runtime.Remoting.Channels/IClientChannelSink.xml +++ b/xml/System.Runtime.Remoting.Channels/IClientChannelSink.xml @@ -87,7 +87,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapClientFormatterSinkProvider_BaseChannelSinkWithProperties/CPP/soapclientformattersinkprovider_customprovider.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties/Overview/soapclientformattersinkprovider_customprovider.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapClientFormatterSinkProvider_BaseChannelSinkWithProperties/VB/soapclientformattersinkprovider_customprovider.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/BaseChannelSinkWithProperties/Overview/soapclientformattersinkprovider_customprovider.vb" id="Snippet2"::: ]]> @@ -136,7 +136,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CommonTransportKeys/CPP/commontransportkeys.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties/Overview/commontransportkeys.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CommonTransportKeys/VB/commontransportkeys.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties/Overview/commontransportkeys.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Remoting.Channels/IServerChannelSink.xml b/xml/System.Runtime.Remoting.Channels/IServerChannelSink.xml index e67d893077a..a7afa650b67 100644 --- a/xml/System.Runtime.Remoting.Channels/IServerChannelSink.xml +++ b/xml/System.Runtime.Remoting.Channels/IServerChannelSink.xml @@ -93,7 +93,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CommonTransportKeys/CPP/commontransportkeys.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties/Overview/commontransportkeys.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CommonTransportKeys/VB/commontransportkeys.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/BaseChannelObjectWithProperties/Overview/commontransportkeys.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Remoting.Channels/IServerChannelSinkProvider.xml b/xml/System.Runtime.Remoting.Channels/IServerChannelSinkProvider.xml index 228e845f559..50491ff951f 100644 --- a/xml/System.Runtime.Remoting.Channels/IServerChannelSinkProvider.xml +++ b/xml/System.Runtime.Remoting.Channels/IServerChannelSinkProvider.xml @@ -83,7 +83,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapClientFormatterSinkProvider_Next_Create/CPP/soapclientformattersinkprovider_customprovider.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/IServerChannelSinkProvider/CreateSink/soapclientformattersinkprovider_customprovider.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapClientFormatterSinkProvider_Next_Create/VB/soapclientformattersinkprovider_customprovider.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/IServerChannelSinkProvider/CreateSink/soapclientformattersinkprovider_customprovider.vb" id="Snippet3"::: ]]> @@ -125,7 +125,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IServerChannelSinkProvider_CreateSink/CPP/iserverchannelsinkprovider_3.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/IServerChannelSinkProvider/GetChannelData/iserverchannelsinkprovider_3.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IServerChannelSinkProvider_CreateSink/VB/iserverchannelsinkprovider_3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/IServerChannelSinkProvider/GetChannelData/iserverchannelsinkprovider_3.vb" id="Snippet2"::: ]]> @@ -168,7 +168,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SinkProviders/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/IServerChannelSinkProvider/Next/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SinkProviders/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/IServerChannelSinkProvider/Next/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Remoting.Channels/ITransportHeaders.xml b/xml/System.Runtime.Remoting.Channels/ITransportHeaders.xml index 17a3037f3a0..f170d4a0de7 100644 --- a/xml/System.Runtime.Remoting.Channels/ITransportHeaders.xml +++ b/xml/System.Runtime.Remoting.Channels/ITransportHeaders.xml @@ -27,7 +27,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ITransportHeaders_Item/CPP/itransportheaders_3_server.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/ITransportHeaders/Overview/itransportheaders_3_server.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ITransportHeaders_Item/VB/itransportheaders_3_server.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/ITransportHeaders/Overview/itransportheaders_3_server.vb" id="Snippet1"::: ]]> @@ -66,7 +66,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ITransportHeaders_Item/CPP/itransportheaders_3_server.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/ITransportHeaders/Overview/itransportheaders_3_server.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ITransportHeaders_Item/VB/itransportheaders_3_server.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/ITransportHeaders/Overview/itransportheaders_3_server.vb" id="Snippet1"::: ]]> @@ -118,7 +118,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ITransportHeaders_Item/CPP/itransportheaders_3_server.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/ITransportHeaders/Overview/itransportheaders_3_server.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ITransportHeaders_Item/VB/itransportheaders_3_server.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/ITransportHeaders/Overview/itransportheaders_3_server.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Remoting.Channels/ServerProcessing.xml b/xml/System.Runtime.Remoting.Channels/ServerProcessing.xml index 2500fe0b8a1..6acbb41a366 100644 --- a/xml/System.Runtime.Remoting.Channels/ServerProcessing.xml +++ b/xml/System.Runtime.Remoting.Channels/ServerProcessing.xml @@ -32,7 +32,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/ServerProcessing/Overview/serverprocessing_loggingsinks.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServerProcessing_LoggingSinks_Create/VB/serverprocessing_loggingsinks.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/ServerProcessing/Overview/serverprocessing_loggingsinks.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Runtime.Remoting.Channels/SinkProviderData.xml b/xml/System.Runtime.Remoting.Channels/SinkProviderData.xml index 38bc98d51c5..caa90883794 100644 --- a/xml/System.Runtime.Remoting.Channels/SinkProviderData.xml +++ b/xml/System.Runtime.Remoting.Channels/SinkProviderData.xml @@ -34,7 +34,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/SinkProviderData/Overview/sinkproviderdata_ipfiltersink.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SinkProviderData/VB/sinkproviderdata_ipfiltersink.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/SinkProviderData/Overview/sinkproviderdata_ipfiltersink.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Remoting.Contexts/SynchronizationAttribute.xml b/xml/System.Runtime.Remoting.Contexts/SynchronizationAttribute.xml index 8ce96849f60..40263d45350 100644 --- a/xml/System.Runtime.Remoting.Contexts/SynchronizationAttribute.xml +++ b/xml/System.Runtime.Remoting.Contexts/SynchronizationAttribute.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AsyncResult.NewExamples/CPP/ad.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingServices/IsTransparentProxy/ad.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AsyncResult.NewExamples/VB/ad.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/IsTransparentProxy/ad.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.Remoting.Lifetime/ClientSponsor.xml b/xml/System.Runtime.Remoting.Lifetime/ClientSponsor.xml index 1438ad0a196..359597ea22b 100644 --- a/xml/System.Runtime.Remoting.Lifetime/ClientSponsor.xml +++ b/xml/System.Runtime.Remoting.Lifetime/ClientSponsor.xml @@ -48,7 +48,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ClientSponsor_Register/CPP/clientsponsor_client.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Lifetime/ClientSponsor/Overview/clientsponsor_client.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ClientSponsor_Register/VB/clientsponsor_client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Lifetime/ClientSponsor/Overview/clientsponsor_client.vb" id="Snippet1"::: ]]> @@ -145,7 +145,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ClientSponsor_Register/CPP/clientsponsor_client.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Lifetime/ClientSponsor/Overview/clientsponsor_client.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ClientSponsor_Register/VB/clientsponsor_client.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Lifetime/ClientSponsor/Overview/clientsponsor_client.vb" id="Snippet2"::: ]]> @@ -218,7 +218,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ClientSponsor_Register/CPP/clientsponsor_client.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Lifetime/ClientSponsor/Overview/clientsponsor_client.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ClientSponsor_Register/VB/clientsponsor_client.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Lifetime/ClientSponsor/Overview/clientsponsor_client.vb" id="Snippet2"::: ]]> @@ -262,7 +262,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ClientSponsor_Register/CPP/clientsponsor_client.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Lifetime/ClientSponsor/Overview/clientsponsor_client.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ClientSponsor_Register/VB/clientsponsor_client.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Lifetime/ClientSponsor/Overview/clientsponsor_client.vb" id="Snippet2"::: ]]> @@ -312,7 +312,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ClientSponsor_Register/CPP/clientsponsor_client.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Lifetime/ClientSponsor/Overview/clientsponsor_client.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ClientSponsor_Register/VB/clientsponsor_client.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Lifetime/ClientSponsor/Overview/clientsponsor_client.vb" id="Snippet2"::: ]]> @@ -344,7 +344,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ClientSponsor_Register/CPP/clientsponsor_client.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Lifetime/ClientSponsor/Overview/clientsponsor_client.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ClientSponsor_Register/VB/clientsponsor_client.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Lifetime/ClientSponsor/Overview/clientsponsor_client.vb" id="Snippet2"::: ]]> @@ -385,7 +385,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ClientSponsor_Register/CPP/clientsponsor_client.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Lifetime/ClientSponsor/Overview/clientsponsor_client.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ClientSponsor_Register/VB/clientsponsor_client.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Lifetime/ClientSponsor/Overview/clientsponsor_client.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.Remoting.Lifetime/ISponsor.xml b/xml/System.Runtime.Remoting.Lifetime/ISponsor.xml index 1d98503aee5..1fbc92399ab 100644 --- a/xml/System.Runtime.Remoting.Lifetime/ISponsor.xml +++ b/xml/System.Runtime.Remoting.Lifetime/ISponsor.xml @@ -32,7 +32,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ISponsor_Client/CPP/isponsor_client.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Lifetime/ISponsor/Overview/isponsor_client.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ISponsor_Client/VB/isponsor_client.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Lifetime/ISponsor/Overview/isponsor_client.vb" id="Snippet2"::: ]]> @@ -79,7 +79,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ISponsor_Client/CPP/isponsor_client.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Lifetime/ISponsor/Overview/isponsor_client.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ISponsor_Client/VB/isponsor_client.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Lifetime/ISponsor/Overview/isponsor_client.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.Remoting.Lifetime/LifetimeServices.xml b/xml/System.Runtime.Remoting.Lifetime/LifetimeServices.xml index 7c012c3c223..80e7b085940 100644 --- a/xml/System.Runtime.Remoting.Lifetime/LifetimeServices.xml +++ b/xml/System.Runtime.Remoting.Lifetime/LifetimeServices.xml @@ -44,7 +44,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/System.Runtime.Remoting.Lifetime/CPP/server.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Lifetime/LifetimeServices/Overview/server.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.Lifetime/VB/server.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Lifetime/LifetimeServices/Overview/server.vb" id="Snippet2"::: ]]> @@ -188,7 +188,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ILease_ILease/CPP/ilease_client.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Lifetime/LifetimeServices/RenewOnCallTime/ilease_client.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ILease_ILease/VB/ilease_client.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Lifetime/LifetimeServices/RenewOnCallTime/ilease_client.vb" id="Snippet3"::: ]]> @@ -232,7 +232,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ILease_ILease/CPP/ilease_client.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Lifetime/LifetimeServices/RenewOnCallTime/ilease_client.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ILease_ILease/VB/ilease_client.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Lifetime/LifetimeServices/RenewOnCallTime/ilease_client.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Runtime.Remoting.Messaging/AsyncResult.xml b/xml/System.Runtime.Remoting.Messaging/AsyncResult.xml index 42eac0a56ce..8be4c622616 100644 --- a/xml/System.Runtime.Remoting.Messaging/AsyncResult.xml +++ b/xml/System.Runtime.Remoting.Messaging/AsyncResult.xml @@ -50,10 +50,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AsyncDelegateExamples/cpp/TestMethod.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/IAsyncResult/Overview/TestMethod.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/TestMethod.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IAsyncResult/Overview/TestMethod.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AsyncDelegateExamples/cpp/waithandle.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System/IAsyncResult/Overview/waithandle.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/WaitHandle.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System/IAsyncResult/Overview/WaitHandle.vb" id="Snippet3"::: ]]> @@ -99,10 +99,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AsyncDelegateExamples/cpp/TestMethod.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/IAsyncResult/Overview/TestMethod.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/TestMethod.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IAsyncResult/Overview/TestMethod.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AsyncDelegateExamples/cpp/callback.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System/IAsyncResult/Overview/callback.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/callback.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System/IAsyncResult/Overview/callback.vb" id="Snippet5"::: ]]> @@ -193,10 +193,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AsyncDelegateExamples/cpp/TestMethod.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/IAsyncResult/Overview/TestMethod.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/TestMethod.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IAsyncResult/Overview/TestMethod.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AsyncDelegateExamples/cpp/callback.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System/IAsyncResult/Overview/callback.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/callback.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System/IAsyncResult/Overview/callback.vb" id="Snippet5"::: ]]> @@ -247,10 +247,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AsyncDelegateExamples/cpp/TestMethod.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/IAsyncResult/Overview/TestMethod.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/TestMethod.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IAsyncResult/Overview/TestMethod.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AsyncDelegateExamples/cpp/waithandle.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System/IAsyncResult/Overview/waithandle.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/WaitHandle.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System/IAsyncResult/Overview/WaitHandle.vb" id="Snippet3"::: ]]> @@ -391,10 +391,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AsyncDelegateExamples/cpp/TestMethod.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/IAsyncResult/Overview/TestMethod.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/TestMethod.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IAsyncResult/Overview/TestMethod.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AsyncDelegateExamples/cpp/polling.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System/IAsyncResult/Overview/polling.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/polling.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System/IAsyncResult/Overview/polling.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Runtime.Remoting.Messaging/CallContext.xml b/xml/System.Runtime.Remoting.Messaging/CallContext.xml index 184afedde40..fbbfd9bae99 100644 --- a/xml/System.Runtime.Remoting.Messaging/CallContext.xml +++ b/xml/System.Runtime.Remoting.Messaging/CallContext.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CallContext/CPP/client.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/CallContext/Overview/client.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CallContext/VB/client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Messaging/CallContext/Overview/client.vb" id="Snippet1"::: ]]> @@ -97,7 +97,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CallContext_GetHeaders/CPP/callcontext_client.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/CallContext/FreeNamedDataSlot/callcontext_client.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CallContext_GetHeaders/VB/callcontext_client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Messaging/CallContext/FreeNamedDataSlot/callcontext_client.vb" id="Snippet1"::: ]]> @@ -142,7 +142,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CallContext/CPP/service.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/CallContext/Overview/service.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CallContext/VB/service.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Messaging/CallContext/Overview/service.vb" id="Snippet3"::: ]]> @@ -184,7 +184,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CallContext_GetHeaders/CPP/callcontext_client.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/CallContext/FreeNamedDataSlot/callcontext_client.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CallContext_GetHeaders/VB/callcontext_client.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Messaging/CallContext/FreeNamedDataSlot/callcontext_client.vb" id="Snippet2"::: ]]> @@ -330,7 +330,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CallContext/CPP/client.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/CallContext/Overview/client.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CallContext/VB/client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Messaging/CallContext/Overview/client.vb" id="Snippet1"::: ]]> @@ -374,7 +374,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CallContext_GetHeaders/CPP/callcontext_share.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/CallContext/FreeNamedDataSlot/callcontext_share.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CallContext_GetHeaders/VB/callcontext_share.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Messaging/CallContext/FreeNamedDataSlot/callcontext_share.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Runtime.Remoting.Messaging/ILogicalThreadAffinative.xml b/xml/System.Runtime.Remoting.Messaging/ILogicalThreadAffinative.xml index d2e29aca92c..5d941141a0c 100644 --- a/xml/System.Runtime.Remoting.Messaging/ILogicalThreadAffinative.xml +++ b/xml/System.Runtime.Remoting.Messaging/ILogicalThreadAffinative.xml @@ -34,7 +34,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CallContext/CPP/service.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/CallContext/Overview/service.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CallContext/VB/service.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Messaging/CallContext/Overview/service.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.Remoting.Messaging/IMessage.xml b/xml/System.Runtime.Remoting.Messaging/IMessage.xml index 9589b935d9f..a43883dbfdf 100644 --- a/xml/System.Runtime.Remoting.Messaging/IMessage.xml +++ b/xml/System.Runtime.Remoting.Messaging/IMessage.xml @@ -36,7 +36,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ChannelServices_SyncDispatchMessage/CPP/channelservices_syncdispatchmessage_client.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/ChannelServices/SyncDispatchMessage/channelservices_syncdispatchmessage_client.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ChannelServices_SyncDispatchMessage/VB/channelservices_syncdispatchmessage_client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/SyncDispatchMessage/channelservices_syncdispatchmessage_client.vb" id="Snippet1"::: ]]> @@ -74,7 +74,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IMessageSink_Client/CPP/imessagesink_client.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/IMessage/Properties/imessagesink_client.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IMessageSink_Client/VB/imessagesink_client.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Messaging/IMessage/Properties/imessagesink_client.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.Remoting.Messaging/IMessageSink.xml b/xml/System.Runtime.Remoting.Messaging/IMessageSink.xml index 124473cb702..60e1386fb73 100644 --- a/xml/System.Runtime.Remoting.Messaging/IMessageSink.xml +++ b/xml/System.Runtime.Remoting.Messaging/IMessageSink.xml @@ -40,7 +40,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IMessageSink_Client/CPP/imessagesink_client.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/IMessage/Properties/imessagesink_client.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IMessageSink_Client/VB/imessagesink_client.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Messaging/IMessage/Properties/imessagesink_client.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Runtime.Remoting.Messaging/IMethodCallMessage.xml b/xml/System.Runtime.Remoting.Messaging/IMethodCallMessage.xml index bb4228af11b..f4b3ae32fe0 100644 --- a/xml/System.Runtime.Remoting.Messaging/IMethodCallMessage.xml +++ b/xml/System.Runtime.Remoting.Messaging/IMethodCallMessage.xml @@ -39,7 +39,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IMethodCallMessage_GetInArg/CPP/imethodcallmessage.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/IMethodCallMessage/Overview/imethodcallmessage.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IMethodCallMessage_GetInArg/VB/imethodcallmessage.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodCallMessage/Overview/imethodcallmessage.vb" id="Snippet1"::: ]]> @@ -147,7 +147,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IMethodCallMessage_GetInArg/CPP/imethodcallmessage.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/IMethodCallMessage/Overview/imethodcallmessage.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IMethodCallMessage_GetInArg/VB/imethodcallmessage.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodCallMessage/Overview/imethodcallmessage.vb" id="Snippet2"::: ]]> @@ -191,7 +191,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IMethodCallMessage_GetInArg/CPP/imethodcallmessage.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/IMethodCallMessage/Overview/imethodcallmessage.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IMethodCallMessage_GetInArg/VB/imethodcallmessage.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodCallMessage/Overview/imethodcallmessage.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.Remoting.Messaging/IMethodMessage.xml b/xml/System.Runtime.Remoting.Messaging/IMethodMessage.xml index 5aca3a26e9b..9af721e4fc8 100644 --- a/xml/System.Runtime.Remoting.Messaging/IMethodMessage.xml +++ b/xml/System.Runtime.Remoting.Messaging/IMethodMessage.xml @@ -38,7 +38,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IMethodMessage_MethodName/CPP/imethodmessage_methodname.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/IMethodMessage/Overview/imethodmessage_methodname.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IMethodMessage_MethodName/VB/imethodmessage_methodname.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodMessage/Overview/imethodmessage_methodname.vb" id="Snippet1"::: ]]> @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IMethodMessage_MethodName/CPP/imethodmessage_methodname.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/IMethodMessage/Overview/imethodmessage_methodname.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IMethodMessage_MethodName/VB/imethodmessage_methodname.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodMessage/Overview/imethodmessage_methodname.vb" id="Snippet2"::: ]]> @@ -225,7 +225,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IMethodMessage_MethodName/CPP/imethodmessage_methodname.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/IMethodMessage/Overview/imethodmessage_methodname.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IMethodMessage_MethodName/VB/imethodmessage_methodname.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodMessage/Overview/imethodmessage_methodname.vb" id="Snippet2"::: ]]> @@ -266,7 +266,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IMethodMessage_LogicalCallContext/CPP/imethodmessage_logicalcallcontext.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/IMethodMessage/LogicalCallContext/imethodmessage_logicalcallcontext.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IMethodMessage_LogicalCallContext/VB/imethodmessage_logicalcallcontext.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodMessage/LogicalCallContext/imethodmessage_logicalcallcontext.vb" id="Snippet1"::: ]]> @@ -344,7 +344,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IMethodMessage_MethodName/CPP/imethodmessage_methodname.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/IMethodMessage/Overview/imethodmessage_methodname.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IMethodMessage_MethodName/VB/imethodmessage_methodname.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodMessage/Overview/imethodmessage_methodname.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.Remoting.Messaging/IMethodReturnMessage.xml b/xml/System.Runtime.Remoting.Messaging/IMethodReturnMessage.xml index d5bb3bd2047..eb3e54c7c0c 100644 --- a/xml/System.Runtime.Remoting.Messaging/IMethodReturnMessage.xml +++ b/xml/System.Runtime.Remoting.Messaging/IMethodReturnMessage.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IMethodReturnMessage_ReturnValue/CPP/imethodreturnmessage_returnvalue.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/IMethodReturnMessage/Overview/imethodreturnmessage_returnvalue.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IMethodReturnMessage_ReturnValue/VB/imethodreturnmessage_returnvalue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodReturnMessage/Overview/imethodreturnmessage_returnvalue.vb" id="Snippet1"::: ]]> @@ -81,7 +81,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IMethodReturnMessage_Exception/CPP/imethodreturnmessage_exception.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/IMethodReturnMessage/Exception/imethodreturnmessage_exception.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IMethodReturnMessage_Exception/VB/imethodreturnmessage_exception.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodReturnMessage/Exception/imethodreturnmessage_exception.vb" id="Snippet1"::: ]]> @@ -190,7 +190,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IMethodReturnMessage_ReturnValue/CPP/imethodreturnmessage_returnvalue.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/IMethodReturnMessage/Overview/imethodreturnmessage_returnvalue.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IMethodReturnMessage_ReturnValue/VB/imethodreturnmessage_returnvalue.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodReturnMessage/Overview/imethodreturnmessage_returnvalue.vb" id="Snippet2"::: ]]> @@ -237,7 +237,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IMethodReturnMessage_ReturnValue/CPP/imethodreturnmessage_returnvalue.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/IMethodReturnMessage/Overview/imethodreturnmessage_returnvalue.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IMethodReturnMessage_ReturnValue/VB/imethodreturnmessage_returnvalue.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodReturnMessage/Overview/imethodreturnmessage_returnvalue.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.Remoting.Messaging/ReturnMessage.xml b/xml/System.Runtime.Remoting.Messaging/ReturnMessage.xml index d5ffb76e4c8..05e2df889df 100644 --- a/xml/System.Runtime.Remoting.Messaging/ReturnMessage.xml +++ b/xml/System.Runtime.Remoting.Messaging/ReturnMessage.xml @@ -51,7 +51,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IMethodReturnMessage_ReturnValue/CPP/imethodreturnmessage_returnvalue.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/IMethodReturnMessage/Overview/imethodreturnmessage_returnvalue.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IMethodReturnMessage_ReturnValue/VB/imethodreturnmessage_returnvalue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodReturnMessage/Overview/imethodreturnmessage_returnvalue.vb" id="Snippet1"::: ]]> @@ -728,7 +728,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/IMethodReturnMessage_ReturnValue/CPP/imethodreturnmessage_returnvalue.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Messaging/IMethodReturnMessage/Overview/imethodreturnmessage_returnvalue.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/IMethodReturnMessage_ReturnValue/VB/imethodreturnmessage_returnvalue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Messaging/IMethodReturnMessage/Overview/imethodreturnmessage_returnvalue.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Remoting.Metadata/SoapFieldAttribute.xml b/xml/System.Runtime.Remoting.Metadata/SoapFieldAttribute.xml index 188efda3b77..2b05a559aa9 100644 --- a/xml/System.Runtime.Remoting.Metadata/SoapFieldAttribute.xml +++ b/xml/System.Runtime.Remoting.Metadata/SoapFieldAttribute.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapAttributes1/CPP/s.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Metadata/SoapFieldAttribute/Overview/s.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttributes1/VB/s.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Metadata/SoapFieldAttribute/Overview/s.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Remoting.Metadata/SoapTypeAttribute.xml b/xml/System.Runtime.Remoting.Metadata/SoapTypeAttribute.xml index d1992eff371..965ba2f4006 100644 --- a/xml/System.Runtime.Remoting.Metadata/SoapTypeAttribute.xml +++ b/xml/System.Runtime.Remoting.Metadata/SoapTypeAttribute.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapAttributes1/CPP/s.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Metadata/SoapFieldAttribute/Overview/s.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttributes1/VB/s.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Metadata/SoapFieldAttribute/Overview/s.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Remoting.MetadataServices/MetaData.xml b/xml/System.Runtime.Remoting.MetadataServices/MetaData.xml index 55f50d4b4bc..24ba3cdb460 100644 --- a/xml/System.Runtime.Remoting.MetadataServices/MetaData.xml +++ b/xml/System.Runtime.Remoting.MetadataServices/MetaData.xml @@ -89,7 +89,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MetaData.ConvertCodeSourceFileToAssemblyFile/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.MetadataServices/MetaData/ConvertCodeSourceFileToAssemblyFile/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MetaData.ConvertCodeSourceFileToAssemblyFile/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.MetadataServices/MetaData/ConvertCodeSourceFileToAssemblyFile/source.vb" id="Snippet1"::: ]]> @@ -364,7 +364,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MetaData.ConvertTypesToSchemaToFile/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.MetadataServices/MetaData/ConvertTypesToSchemaToFile/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MetaData.ConvertTypesToSchemaToFile/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.MetadataServices/MetaData/ConvertTypesToSchemaToFile/source.vb" id="Snippet1"::: ]]> @@ -451,7 +451,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MetaData.ConvertTypesToSchemaToStream/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.MetadataServices/MetaData/ConvertTypesToSchemaToStream/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MetaData.ConvertTypesToSchemaToStream/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.MetadataServices/MetaData/ConvertTypesToSchemaToStream/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Remoting.Proxies/ProxyAttribute.xml b/xml/System.Runtime.Remoting.Proxies/ProxyAttribute.xml index 20476f9271d..4e4138ce77c 100644 --- a/xml/System.Runtime.Remoting.Proxies/ProxyAttribute.xml +++ b/xml/System.Runtime.Remoting.Proxies/ProxyAttribute.xml @@ -50,7 +50,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/CPP/customproxy_sample.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/VB/customproxy_sample.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.vb" id="Snippet11"::: ]]> @@ -79,7 +79,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/CPP/customproxy_sample.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/VB/customproxy_sample.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.vb" id="Snippet11"::: ]]> @@ -121,7 +121,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/CPP/customproxy_sample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/VB/customproxy_sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.vb" id="Snippet1"::: ]]> @@ -176,7 +176,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/CPP/customproxy_sample.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/VB/customproxy_sample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.Remoting.Proxies/RealProxy.xml b/xml/System.Runtime.Remoting.Proxies/RealProxy.xml index 549458cb4a6..7afbd7114fd 100644 --- a/xml/System.Runtime.Remoting.Proxies/RealProxy.xml +++ b/xml/System.Runtime.Remoting.Proxies/RealProxy.xml @@ -49,7 +49,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ChannelServices_SyncDispatchMessage/CPP/channelservices_syncdispatchmessage_client.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Channels/ChannelServices/SyncDispatchMessage/channelservices_syncdispatchmessage_client.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ChannelServices_SyncDispatchMessage/VB/channelservices_syncdispatchmessage_client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Channels/ChannelServices/SyncDispatchMessage/channelservices_syncdispatchmessage_client.vb" id="Snippet1"::: ]]> @@ -90,7 +90,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/CPP/customproxy_sample.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/VB/customproxy_sample.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.vb" id="Snippet12"::: ]]> @@ -137,7 +137,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/CPP/customproxy_sample.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/VB/customproxy_sample.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.vb" id="Snippet10"::: ]]> @@ -256,7 +256,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/CPP/customproxy_sample.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/VB/customproxy_sample.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.vb" id="Snippet6"::: ]]> @@ -338,7 +338,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RealProxy_Sample/CPP/realproxy_sample.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Proxies/RealProxy/GetCOMIUnknown/realproxy_sample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RealProxy_Sample/VB/realproxy_sample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Proxies/RealProxy/GetCOMIUnknown/realproxy_sample.vb" id="Snippet2"::: ]]> @@ -381,7 +381,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/CPP/customproxy_sample.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/VB/customproxy_sample.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.vb" id="Snippet7"::: ]]> @@ -422,7 +422,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/CPP/customproxy_sample.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/VB/customproxy_sample.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.vb" id="Snippet10"::: ]]> @@ -469,7 +469,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/CPP/customproxy_sample.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/VB/customproxy_sample.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.vb" id="Snippet9"::: ]]> @@ -503,7 +503,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/CPP/customproxy_sample.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/VB/customproxy_sample.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.vb" id="Snippet8"::: ]]> @@ -592,7 +592,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/CPP/customproxy_sample.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/VB/customproxy_sample.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.vb" id="Snippet5"::: ]]> @@ -636,7 +636,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/CPP/customproxy_sample.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/VB/customproxy_sample.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.vb" id="Snippet4"::: ]]> @@ -678,7 +678,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RealProxy_Sample/CPP/realproxy_sample.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Proxies/RealProxy/GetCOMIUnknown/realproxy_sample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RealProxy_Sample/VB/realproxy_sample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Proxies/RealProxy/GetCOMIUnknown/realproxy_sample.vb" id="Snippet3"::: ]]> @@ -726,7 +726,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/CPP/customproxy_sample.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CustomProxy_Attribute_RealProxy/VB/customproxy_sample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Proxies/ProxyAttribute/Overview/customproxy_sample.vb" id="Snippet3"::: ]]> @@ -770,7 +770,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RealProxy_Sample/CPP/realproxy_sample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting.Proxies/RealProxy/GetCOMIUnknown/realproxy_sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RealProxy_Sample/VB/realproxy_sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting.Proxies/RealProxy/GetCOMIUnknown/realproxy_sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Remoting/ActivatedClientTypeEntry.xml b/xml/System.Runtime.Remoting/ActivatedClientTypeEntry.xml index 97c0e57c7b6..2082e959a2e 100644 --- a/xml/System.Runtime.Remoting/ActivatedClientTypeEntry.xml +++ b/xml/System.Runtime.Remoting/ActivatedClientTypeEntry.xml @@ -43,19 +43,19 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/System.Runtime.Remoting.ActivatedClientTypeEntry/CPP/activatedclienttypeentry_client.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/ActivatedClientTypeEntry/Overview/activatedclienttypeentry_client.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.ActivatedClientTypeEntry/VB/activatedclienttypeentry_client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/ActivatedClientTypeEntry/Overview/activatedclienttypeentry_client.vb" id="Snippet1"::: The following code example shows a server for this client: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/System.Runtime.Remoting.ActivatedClientTypeEntry/CPP/activatedclienttypeentry_server.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/ActivatedClientTypeEntry/Overview/activatedclienttypeentry_server.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.ActivatedClientTypeEntry/VB/activatedclienttypeentry_server.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/ActivatedClientTypeEntry/Overview/activatedclienttypeentry_server.vb" id="Snippet10"::: The following code example provides the remote object used by the client and the server: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/System.Runtime.Remoting.ActivatedClientTypeEntry/CPP/activatedclienttypeentry_share.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/ActivatedClientTypeEntry/Overview/activatedclienttypeentry_share.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.ActivatedClientTypeEntry/VB/activatedclienttypeentry_share.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/ActivatedClientTypeEntry/Overview/activatedclienttypeentry_share.vb" id="Snippet20"::: ]]> @@ -114,7 +114,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/System.Runtime.Remoting.ActivatedClientTypeEntry/CPP/activatedclienttypeentry_client.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/ActivatedClientTypeEntry/Overview/activatedclienttypeentry_client.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.ActivatedClientTypeEntry/VB/activatedclienttypeentry_client.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/ActivatedClientTypeEntry/Overview/activatedclienttypeentry_client.vb" id="Snippet2"::: ]]> @@ -175,7 +175,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/System.Runtime.Remoting.ActivatedClientTypeEntry/CPP/activatedclienttypeentry_client.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/ActivatedClientTypeEntry/Overview/activatedclienttypeentry_client.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.ActivatedClientTypeEntry/VB/activatedclienttypeentry_client.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/ActivatedClientTypeEntry/Overview/activatedclienttypeentry_client.vb" id="Snippet4"::: ]]> @@ -245,7 +245,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/System.Runtime.Remoting.ActivatedClientTypeEntry/CPP/activatedclienttypeentry_client.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/ActivatedClientTypeEntry/Overview/activatedclienttypeentry_client.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.ActivatedClientTypeEntry/VB/activatedclienttypeentry_client.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/ActivatedClientTypeEntry/Overview/activatedclienttypeentry_client.vb" id="Snippet3"::: ]]> @@ -280,7 +280,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/System.Runtime.Remoting.ActivatedClientTypeEntry/CPP/activatedclienttypeentry_client.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/ActivatedClientTypeEntry/Overview/activatedclienttypeentry_client.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.ActivatedClientTypeEntry/VB/activatedclienttypeentry_client.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/ActivatedClientTypeEntry/Overview/activatedclienttypeentry_client.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Runtime.Remoting/ActivatedServiceTypeEntry.xml b/xml/System.Runtime.Remoting/ActivatedServiceTypeEntry.xml index 31e20d0aa83..2a45699ac7e 100644 --- a/xml/System.Runtime.Remoting/ActivatedServiceTypeEntry.xml +++ b/xml/System.Runtime.Remoting/ActivatedServiceTypeEntry.xml @@ -41,7 +41,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ActivatedServiceTypeEntry_ObjectType_Client/CPP/activatedservicetypeentry_objecttype_server.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/ActivatedServiceTypeEntry/Overview/activatedservicetypeentry_objecttype_server.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ActivatedServiceTypeEntry_ObjectType_Client/VB/activatedservicetypeentry_objecttype_server.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/ActivatedServiceTypeEntry/Overview/activatedservicetypeentry_objecttype_server.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Remoting/IRemotingTypeInfo.xml b/xml/System.Runtime.Remoting/IRemotingTypeInfo.xml index b27e52ac440..2dd22ba5924 100644 --- a/xml/System.Runtime.Remoting/IRemotingTypeInfo.xml +++ b/xml/System.Runtime.Remoting/IRemotingTypeInfo.xml @@ -32,7 +32,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Remoting.ObjRef/CPP/client.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/IRemotingTypeInfo/Overview/client.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Remoting.ObjRef/VB/client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/IRemotingTypeInfo/Overview/client.vb" id="Snippet1"::: ]]> @@ -118,7 +118,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Remoting.ObjRef/CPP/client.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/IRemotingTypeInfo/Overview/client.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Remoting.ObjRef/VB/client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/IRemotingTypeInfo/Overview/client.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Remoting/ObjRef.xml b/xml/System.Runtime.Remoting/ObjRef.xml index 711202a58db..ea1ffcab202 100644 --- a/xml/System.Runtime.Remoting/ObjRef.xml +++ b/xml/System.Runtime.Remoting/ObjRef.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CreateObjRef2/CPP/example.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/ObjRef/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CreateObjRef2/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/ObjRef/Overview/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Remoting/ObjectHandle.xml b/xml/System.Runtime.Remoting/ObjectHandle.xml index 092892f112d..b70629d3dd7 100644 --- a/xml/System.Runtime.Remoting/ObjectHandle.xml +++ b/xml/System.Runtime.Remoting/ObjectHandle.xml @@ -65,7 +65,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ObjectHandle/CPP/objecthandleassembly.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/ObjectHandle/Overview/objecthandleassembly.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ObjectHandle/VB/objecthandleassembly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/ObjectHandle/Overview/objecthandleassembly.vb" id="Snippet1"::: ]]> @@ -188,7 +188,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ObjectHandle/CPP/objecthandleassembly.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/ObjectHandle/Overview/objecthandleassembly.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ObjectHandle/VB/objecthandleassembly.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/ObjectHandle/Overview/objecthandleassembly.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.Remoting/RemotingConfiguration.xml b/xml/System.Runtime.Remoting/RemotingConfiguration.xml index 704f057ad95..f9fe917e680 100644 --- a/xml/System.Runtime.Remoting/RemotingConfiguration.xml +++ b/xml/System.Runtime.Remoting/RemotingConfiguration.xml @@ -106,13 +106,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/CPP/server.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/server.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/VB/server.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/server.vb" id="Snippet2"::: The following code example demonstrates how to access an object remoted from a named application. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/CPP/client.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/client.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/VB/client.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/client.vb" id="Snippet6"::: ]]> @@ -172,7 +172,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration_Configure_Client/CPP/remotingconfiguration_configure_server.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingConfiguration/Configure/remotingconfiguration_configure_server.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_Configure_Client/VB/remotingconfiguration_configure_server.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/Configure/remotingconfiguration_configure_server.vb" id="Snippet1"::: ]]> @@ -392,7 +392,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration_GetRegisteredActivatedServer_Client/CPP/RemotingConfiguration_GetRegisteredActivatedService_server.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingConfiguration/GetRegisteredActivatedServiceTypes/remotingconfiguration_getregisteredactivatedservice_server.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_GetRegisteredActivatedServer_Client/VB/remotingconfiguration_getregisteredactivatedservice_server.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/GetRegisteredActivatedServiceTypes/remotingconfiguration_getregisteredactivatedservice_server.vb" id="Snippet2"::: ]]> @@ -443,7 +443,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration_GetRegisteredWellKnownClient_Client/CPP/remotingconfiguration_getregisteredwellknownclient_client.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingConfiguration/GetRegisteredWellKnownClientTypes/remotingconfiguration_getregisteredwellknownclient_client.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_GetRegisteredWellKnownClient_Client/VB/remotingconfiguration_getregisteredwellknownclient_client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/GetRegisteredWellKnownClientTypes/remotingconfiguration_getregisteredwellknownclient_client.vb" id="Snippet1"::: ]]> @@ -494,7 +494,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration_Configure_Client/CPP/remotingconfiguration_configure_server.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingConfiguration/Configure/remotingconfiguration_configure_server.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_Configure_Client/VB/remotingconfiguration_configure_server.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/Configure/remotingconfiguration_configure_server.vb" id="Snippet2"::: ]]> @@ -547,7 +547,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration_GetRegisteredActivatedServer_Client/CPP/RemotingConfiguration_GetRegisteredActivatedService_server.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingConfiguration/GetRegisteredActivatedServiceTypes/remotingconfiguration_getregisteredactivatedservice_server.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_GetRegisteredActivatedServer_Client/VB/remotingconfiguration_getregisteredactivatedservice_server.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/GetRegisteredActivatedServiceTypes/remotingconfiguration_getregisteredactivatedservice_server.vb" id="Snippet1"::: ]]> @@ -600,7 +600,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration_IsRemotelyActivatedClientType1_Client/CPP/remotingconfiguration_isremotelyactivatedclienttype1_client.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingConfiguration/IsRemotelyActivatedClientType/remotingconfiguration_isremotelyactivatedclienttype1_client.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_IsRemotelyActivatedClientType1_Client/VB/remotingconfiguration_isremotelyactivatedclienttype1_client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/IsRemotelyActivatedClientType/remotingconfiguration_isremotelyactivatedclienttype1_client.vb" id="Snippet1"::: ]]> @@ -646,7 +646,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration_IsRemotelyActivatedClientType2_Client/CPP/remotingconfiguration_isremotelyactivatedclienttype2_client.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingConfiguration/IsRemotelyActivatedClientType/remotingconfiguration_isremotelyactivatedclienttype2_client.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_IsRemotelyActivatedClientType2_Client/VB/remotingconfiguration_isremotelyactivatedclienttype2_client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/IsRemotelyActivatedClientType/remotingconfiguration_isremotelyactivatedclienttype2_client.vb" id="Snippet1"::: ]]> @@ -700,7 +700,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration_IsWellKnownClientType1_Client/CPP/remotingconfiguration_iswellknownclienttype1_client.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingConfiguration/IsWellKnownClientType/remotingconfiguration_iswellknownclienttype1_client.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_IsWellKnownClientType1_Client/VB/remotingconfiguration_iswellknownclienttype1_client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/IsWellKnownClientType/remotingconfiguration_iswellknownclienttype1_client.vb" id="Snippet1"::: ]]> @@ -746,7 +746,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration_IsWellKnownClientType2_Client/CPP/remotingconfiguration_iswellknownclienttype2_client.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingConfiguration/IsWellKnownClientType/remotingconfiguration_iswellknownclienttype2_client.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration_IsWellKnownClientType2_Client/VB/remotingconfiguration_iswellknownclienttype2_client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/IsWellKnownClientType/remotingconfiguration_iswellknownclienttype2_client.vb" id="Snippet1"::: ]]> @@ -884,7 +884,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration.ClientActivation/CPP/client.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingConfiguration/RegisterActivatedClientType/client.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ClientActivation/VB/client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/RegisterActivatedClientType/client.vb" id="Snippet1"::: ]]> @@ -996,13 +996,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration.ClientActivation/CPP/server.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingConfiguration/RegisterActivatedClientType/server.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ClientActivation/VB/server.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/RegisterActivatedClientType/server.vb" id="Snippet2"::: The following code example shows the service object registered in the sample code above. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration.ClientActivation/CPP/service.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingConfiguration/RegisterActivatedClientType/service.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ClientActivation/VB/service.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/RegisterActivatedClientType/service.vb" id="Snippet3"::: ]]> @@ -1111,13 +1111,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/CPP/client.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/client.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/VB/client.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/client.vb" id="Snippet5"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/CPP/client.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/client.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/VB/client.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/client.vb" id="Snippet6"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/CPP/client.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/client.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/VB/client.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/client.vb" id="Snippet7"::: ]]> @@ -1182,7 +1182,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/CreateObjRef2/CPP/example.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/ObjRef/Overview/example.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/CreateObjRef2/VB/example.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/ObjRef/Overview/example.vb" id="Snippet2"::: ]]> @@ -1243,19 +1243,19 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/CPP/server.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/server.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/VB/server.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/server.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/CPP/server.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/server.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/VB/server.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/server.vb" id="Snippet2"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/CPP/server.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/server.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/VB/server.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/server.vb" id="Snippet3"::: The following code example shows the service object registered in the sample code above. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/CPP/service.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/service.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingConfiguration.ServerActivation1/VB/service.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingConfiguration/ApplicationName/service.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Runtime.Remoting/RemotingServices.xml b/xml/System.Runtime.Remoting/RemotingServices.xml index 33ea4495884..5bbc117451b 100644 --- a/xml/System.Runtime.Remoting/RemotingServices.xml +++ b/xml/System.Runtime.Remoting/RemotingServices.xml @@ -98,7 +98,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingServices.BasicSample/CPP/basicclient.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingServices/Connect/basicclient.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.BasicSample/VB/basicclient.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/Connect/basicclient.vb" id="Snippet1"::: ]]> @@ -195,7 +195,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingServices.BasicSample/CPP/manualserver.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingServices/Connect/manualserver.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.BasicSample/VB/manualserver.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/Connect/manualserver.vb" id="Snippet2"::: ]]> @@ -249,7 +249,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingServices.ExecuteMessage/CPP/serviceclass.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingServices/ExecuteMessage/serviceclass.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.ExecuteMessage/VB/serviceclass.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/ExecuteMessage/serviceclass.vb" id="Snippet1"::: ]]> @@ -343,19 +343,19 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingServices.TimerSample/CPP/timerclient.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingServices/GetLifetimeService/timerclient.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.TimerSample/VB/timerclient.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/GetLifetimeService/timerclient.vb" id="Snippet1"::: To compile and run this example, you will need to compile and run a server, timerserver.exe, and compile a shared library, timerservice.dll. The source for timerserver.exe follows: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingServices/GetLifetimeService/timerserver.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.TimerSample/VB/timerserver.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/GetLifetimeService/timerserver.vb" id="Snippet2"::: The source for timerservice.dll follows: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingServices/GetLifetimeService/timerservice.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.TimerSample/VB/timerservice.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/GetLifetimeService/timerservice.vb" id="Snippet3"::: ]]> @@ -478,7 +478,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/System.Runtime.Remoting.RemotingServices/CPP/remotingservicessample.cpp" id="Snippet18"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingServices/GetObjectUri/remotingservicessample.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.RemotingServices/VB/remotingservicessample.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/GetObjectUri/remotingservicessample.vb" id="Snippet18"::: ]]> @@ -530,7 +530,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingServices.GetObjRefForProxy/CPP/client.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingServices/GetObjRefForProxy/client.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.GetObjRefForProxy/VB/client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/GetObjRefForProxy/client.vb" id="Snippet1"::: ]]> @@ -629,7 +629,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/System.Runtime.Remoting.RemotingServices/CPP/remotingservicessample.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingServices/GetObjectUri/remotingservicessample.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.RemotingServices/VB/remotingservicessample.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/GetObjectUri/remotingservicessample.vb" id="Snippet7"::: ]]> @@ -679,7 +679,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingServices.ExecuteMessage/CPP/serviceclass.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingServices/ExecuteMessage/serviceclass.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.ExecuteMessage/VB/serviceclass.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/ExecuteMessage/serviceclass.vb" id="Snippet1"::: ]]> @@ -757,7 +757,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingServices IsObject Snippets/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingServices/IsObjectOutOfAppDomain/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices IsObject Snippets/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/IsObjectOutOfAppDomain/class1.vb" id="Snippet1"::: ]]> @@ -806,7 +806,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingServices IsObject Snippets/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingServices/IsObjectOutOfAppDomain/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices IsObject Snippets/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/IsObjectOutOfAppDomain/class1.vb" id="Snippet1"::: ]]> @@ -857,7 +857,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/System.Runtime.Remoting.RemotingServices/CPP/remotingservicessample.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingServices/GetObjectUri/remotingservicessample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Runtime.Remoting.RemotingServices/VB/remotingservicessample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/GetObjectUri/remotingservicessample.vb" id="Snippet2"::: ]]> @@ -915,7 +915,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AsyncResult.NewExamples/CPP/ad.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingServices/IsTransparentProxy/ad.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AsyncResult.NewExamples/VB/ad.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/IsTransparentProxy/ad.vb" id="Snippet6"::: ]]> @@ -1083,7 +1083,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingServices.BasicSample/CPP/manualserver.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingServices/Connect/manualserver.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.BasicSample/VB/manualserver.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/Connect/manualserver.vb" id="Snippet2"::: ]]> @@ -1203,7 +1203,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/RemotingServices.SetObjectUriForMarshal/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/MarshalByRefObject/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RemotingServices.SetObjectUriForMarshal/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/MarshalByRefObject/Overview/source.vb" id="Snippet1"::: ]]> @@ -1269,7 +1269,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/RemotingServices.Unmarshal/CPP/client.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/RemotingServices/Unmarshal/client.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/RemotingServices.Unmarshal/VB/client.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/RemotingServices/Unmarshal/client.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.Remoting/WellKnownClientTypeEntry.xml b/xml/System.Runtime.Remoting/WellKnownClientTypeEntry.xml index 85a9920e37b..e7e1b3fcea4 100644 --- a/xml/System.Runtime.Remoting/WellKnownClientTypeEntry.xml +++ b/xml/System.Runtime.Remoting/WellKnownClientTypeEntry.xml @@ -39,7 +39,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/WellKnownClientTypeEntry_Client/CPP/wellknownclienttypeentry_client.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/WellKnownClientTypeEntry/Overview/wellknownclienttypeentry_client.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WellKnownClientTypeEntry_Client/VB/wellknownclienttypeentry_client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/WellKnownClientTypeEntry/Overview/wellknownclienttypeentry_client.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Remoting/WellKnownServiceTypeEntry.xml b/xml/System.Runtime.Remoting/WellKnownServiceTypeEntry.xml index 6e8840f1ffd..48bfb308791 100644 --- a/xml/System.Runtime.Remoting/WellKnownServiceTypeEntry.xml +++ b/xml/System.Runtime.Remoting/WellKnownServiceTypeEntry.xml @@ -41,7 +41,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/WellKnownServiceTypeEntry_Server/CPP/wellknownservicetypeentry_server.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Remoting/WellKnownServiceTypeEntry/Overview/wellknownservicetypeentry_server.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WellKnownServiceTypeEntry_Server/VB/wellknownservicetypeentry_server.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Remoting/WellKnownServiceTypeEntry/Overview/wellknownservicetypeentry_server.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Serialization.Formatters.Soap/SoapFormatter.xml b/xml/System.Runtime.Serialization.Formatters.Soap/SoapFormatter.xml index 34075c19380..93d90c69c68 100644 --- a/xml/System.Runtime.Serialization.Formatters.Soap/SoapFormatter.xml +++ b/xml/System.Runtime.Serialization.Formatters.Soap/SoapFormatter.xml @@ -46,7 +46,7 @@ TimeSpan objects are serialized according to the ISO 8601: 1998 section 5.5.3.2. @@ -92,7 +92,7 @@ TimeSpan objects are serialized according to the ISO 8601: 1998 section 5.5.3.2. ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapFormatter Example/CPP/soapformatter.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Serialization.Formatters.Soap/SoapFormatter/Overview/soapformatter.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapFormatter Example/VB/soapformatter.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Serialization.Formatters.Soap/SoapFormatter/Overview/soapformatter.vb" id="Snippet1"::: ]]> @@ -274,7 +274,7 @@ TimeSpan objects are serialized according to the ISO 8601: 1998 section 5.5.3.2. ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapFormatter Example/CPP/soapformatter.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Serialization.Formatters.Soap/SoapFormatter/Overview/soapformatter.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapFormatter Example/VB/soapformatter.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Serialization.Formatters.Soap/SoapFormatter/Overview/soapformatter.vb" id="Snippet1"::: ]]> @@ -412,7 +412,7 @@ TimeSpan objects are serialized according to the ISO 8601: 1998 section 5.5.3.2. ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapFormatter Example/CPP/soapformatter.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Serialization.Formatters.Soap/SoapFormatter/Overview/soapformatter.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapFormatter Example/VB/soapformatter.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Serialization.Formatters.Soap/SoapFormatter/Overview/soapformatter.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Serialization/SerializationInfo.xml b/xml/System.Runtime.Serialization/SerializationInfo.xml index e89b55a361f..108f469e093 100644 --- a/xml/System.Runtime.Serialization/SerializationInfo.xml +++ b/xml/System.Runtime.Serialization/SerializationInfo.xml @@ -2462,7 +2462,7 @@ End Sub The following code example demonstrates the use of the method: :::code language="csharp" source="~/snippets/csharp/System.Runtime.Serialization/SerializationInfo/GetValue/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic SerializationInfo.GetValue Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Serialization/SerializationInfo/GetValue/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Versioning/FrameworkName.xml b/xml/System.Runtime.Versioning/FrameworkName.xml index 0deb757a85b..488298c5413 100644 --- a/xml/System.Runtime.Versioning/FrameworkName.xml +++ b/xml/System.Runtime.Versioning/FrameworkName.xml @@ -689,7 +689,7 @@ The following example uses the equality operator to determine whether a object that represents the running version of .NET is equal to a supported version of .NET. Note that the two versions are not equal because they do not have identical version numbers. :::code language="csharp" source="~/snippets/csharp/System.Runtime.Versioning/FrameworkName/op_Equality/Operators1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.versioning.frameworkname.operators/vb/Operators1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Versioning/FrameworkName/op_Equality/Operators1.vb" id="Snippet1"::: ]]> @@ -758,7 +758,7 @@ The following example uses the equality operator to determine whether a object that represents the running version of .NET is equal to a supported version of .NET. Note that the two versions are not equal because they do not have identical version numbers. :::code language="csharp" source="~/snippets/csharp/System.Runtime.Versioning/FrameworkName/op_Equality/Operators1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.versioning.frameworkname.operators/vb/Operators1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Versioning/FrameworkName/op_Equality/Operators1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.Versioning/TargetFrameworkAttribute.xml b/xml/System.Runtime.Versioning/TargetFrameworkAttribute.xml index eba968d34be..6dc910edde4 100644 --- a/xml/System.Runtime.Versioning/TargetFrameworkAttribute.xml +++ b/xml/System.Runtime.Versioning/TargetFrameworkAttribute.xml @@ -64,12 +64,12 @@ The class provides an attribute that you can apply to an assembly to indicate the version of the .NET runtime against which the assembly was built. For example, the following example applies the `TargetFrameworkAttribute` to an assembly to indicate that it was built using .NET Framework 4. :::code language="csharp" source="~/snippets/csharp/System.Runtime.Versioning/TargetFrameworkAttribute/Overview/declare1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.versioning.targetframeworkattribute/vb/declare1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Versioning/TargetFrameworkAttribute/Overview/declare1.vb" id="Snippet1"::: The class constructor has a single parameter, `frameworkName`, that specifies the .NET version against which the assembly was built. This parameter maps to the property. In addition, the attribute can specify a property to provide a more descriptive .NET version string that is suitable for displaying to clients of the assembly. The following example applies the `TargetFrameworkAttribute` to an assembly and assigns both property values to indicate that the assembly was built using .NET Framework 4. :::code language="csharp" source="~/snippets/csharp/System.Runtime.Versioning/TargetFrameworkAttribute/Overview/declare2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.versioning.targetframeworkattribute/vb/declare2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Versioning/TargetFrameworkAttribute/Overview/declare2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime/GCSettings.xml b/xml/System.Runtime/GCSettings.xml index 3721cc43aa8..6239e417a61 100644 --- a/xml/System.Runtime/GCSettings.xml +++ b/xml/System.Runtime/GCSettings.xml @@ -121,7 +121,7 @@ For information about server garbage collection, see [Workstation and Server Gar The following example indicates whether the host computer is using server or workstation garbage collection. :::code language="csharp" source="~/snippets/csharp/System.Runtime/GCSettings/IsServerGC/isg.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/environment.IsServerGC/VB/isg.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime/GCSettings/IsServerGC/isg.vb" id="Snippet1"::: ]]> @@ -198,7 +198,7 @@ For information about server garbage collection, see [Workstation and Server Gar After the property is set to , the next full blocking garbage collection (and compaction of the LOH) occurs at an indeterminate future time. You can compact the LOH immediately by using code like the following: :::code language="csharp" source="~/snippets/csharp/System/GC/Collect/lohcompactionmode1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.gcsettings/vb/lohcompactionmode1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/GC/Collect/lohcompactionmode1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/DirectorySecurity.xml b/xml/System.Security.AccessControl/DirectorySecurity.xml index 928ee9b10e1..8f90066ec7d 100644 --- a/xml/System.Security.AccessControl/DirectorySecurity.xml +++ b/xml/System.Security.AccessControl/DirectorySecurity.xml @@ -61,7 +61,7 @@ The following code example uses the class to add and then remove an access control list (ACL) entry from a directory. You must supply a valid user or group account to run this example. :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/GetAccessControl/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IO.DiretoryInfo.GetAccessControl-SetAccessControl/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/GetAccessControl/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/EventWaitHandleAccessRule.xml b/xml/System.Security.AccessControl/EventWaitHandleAccessRule.xml index c3c2a7f5d37..4bce6927795 100644 --- a/xml/System.Security.AccessControl/EventWaitHandleAccessRule.xml +++ b/xml/System.Security.AccessControl/EventWaitHandleAccessRule.xml @@ -75,7 +75,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -204,7 +204,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -275,7 +275,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/EventWaitHandleRights.xml b/xml/System.Security.AccessControl/EventWaitHandleRights.xml index 8f82c489da1..2703b827802 100644 --- a/xml/System.Security.AccessControl/EventWaitHandleRights.xml +++ b/xml/System.Security.AccessControl/EventWaitHandleRights.xml @@ -55,7 +55,7 @@ > This example does not attach the security object to an object; see , method, and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/EventWaitHandleSecurity.xml b/xml/System.Security.AccessControl/EventWaitHandleSecurity.xml index 19559981051..a6ee291435c 100644 --- a/xml/System.Security.AccessControl/EventWaitHandleSecurity.xml +++ b/xml/System.Security.AccessControl/EventWaitHandleSecurity.xml @@ -92,7 +92,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -344,7 +344,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -567,7 +567,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.RemoveAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRule/source.vb" id="Snippet1"::: ]]> @@ -627,7 +627,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRuleAll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.RemoveAccessRuleAll/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRuleAll/source.vb" id="Snippet1"::: ]]> @@ -690,7 +690,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRuleSpecific/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.RemoveAccessRuleSpecific/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRuleSpecific/source.vb" id="Snippet1"::: ]]> @@ -899,7 +899,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/EventWaitHandleSecurity/ResetAccessRule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.ResetAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/ResetAccessRule/source.vb" id="Snippet1"::: ]]> @@ -961,7 +961,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/EventWaitHandleSecurity/SetAccessRule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.SetAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/SetAccessRule/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/FileSystemAuditRule.xml b/xml/System.Security.AccessControl/FileSystemAuditRule.xml index 32fb5ebb733..84450ecfcf3 100644 --- a/xml/System.Security.AccessControl/FileSystemAuditRule.xml +++ b/xml/System.Security.AccessControl/FileSystemAuditRule.xml @@ -68,7 +68,7 @@ The following code example uses the class to add and then remove an audit rule from a file. You must supply a valid user or group account to run this example. :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/FileSystemAuditRule/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AccessControl.FileSystemAuditRule/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/FileSystemAuditRule/Overview/sample.vb" id="Snippet1"::: ]]> @@ -186,7 +186,7 @@ The following code example uses the class to add and then remove an audit rule from a file. You must supply a valid user or group account to run this example. :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/FileSystemAuditRule/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AccessControl.FileSystemAuditRule/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/FileSystemAuditRule/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/FileSystemSecurity.xml b/xml/System.Security.AccessControl/FileSystemSecurity.xml index 3f039fd1bdc..97201c7bba2 100644 --- a/xml/System.Security.AccessControl/FileSystemSecurity.xml +++ b/xml/System.Security.AccessControl/FileSystemSecurity.xml @@ -331,7 +331,7 @@ Use the following .NET implementation-dependent methods to add or retrieve ACL i The following code example uses the method to add an audit rule to a file and uses the method to remove the audit rule from the file. You must supply a valid user or group account to run this example. :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/FileSystemAuditRule/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AccessControl.FileSystemAuditRule/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/FileSystemAuditRule/Overview/sample.vb" id="Snippet1"::: ]]> @@ -680,7 +680,7 @@ Use the following .NET implementation-dependent methods to add or retrieve ACL i The following code example uses the method to add an audit rule to a file and uses the method to remove the audit rule from the file. You must supply a valid user or group account to run this example. :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/FileSystemAuditRule/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AccessControl.FileSystemAuditRule/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/FileSystemAuditRule/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/MutexAccessRule.xml b/xml/System.Security.AccessControl/MutexAccessRule.xml index 394315f4d95..b9e0fd56a5c 100644 --- a/xml/System.Security.AccessControl/MutexAccessRule.xml +++ b/xml/System.Security.AccessControl/MutexAccessRule.xml @@ -75,7 +75,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/MutexAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/MutexAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -204,7 +204,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/MutexAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/MutexAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -275,7 +275,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/MutexAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/MutexAccessRule/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/MutexRights.xml b/xml/System.Security.AccessControl/MutexRights.xml index 97d91af430a..bbabd7d49b7 100644 --- a/xml/System.Security.AccessControl/MutexRights.xml +++ b/xml/System.Security.AccessControl/MutexRights.xml @@ -55,7 +55,7 @@ > This example does not attach the security object to a object; see , method, and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/MutexAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/MutexAccessRule/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/MutexSecurity.xml b/xml/System.Security.AccessControl/MutexSecurity.xml index d41fc144c3a..ad902cb9f7f 100644 --- a/xml/System.Security.AccessControl/MutexSecurity.xml +++ b/xml/System.Security.AccessControl/MutexSecurity.xml @@ -90,7 +90,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/MutexAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/MutexAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -404,7 +404,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/MutexAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/MutexAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -627,7 +627,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/MutexSecurity/RemoveAccessRule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.RemoveAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/MutexSecurity/RemoveAccessRule/source.vb" id="Snippet1"::: ]]> @@ -687,7 +687,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/MutexSecurity/RemoveAccessRuleAll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.RemoveAccessRuleAll/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/MutexSecurity/RemoveAccessRuleAll/source.vb" id="Snippet1"::: ]]> @@ -750,7 +750,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/MutexSecurity/RemoveAccessRuleSpecific/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.RemoveAccessRuleSpecific/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/MutexSecurity/RemoveAccessRuleSpecific/source.vb" id="Snippet1"::: ]]> @@ -959,7 +959,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/MutexSecurity/ResetAccessRule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.ResetAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/MutexSecurity/ResetAccessRule/source.vb" id="Snippet1"::: ]]> @@ -1021,7 +1021,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/MutexSecurity/SetAccessRule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.SetAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/MutexSecurity/SetAccessRule/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/RegistryAccessRule.xml b/xml/System.Security.AccessControl/RegistryAccessRule.xml index 0617c3aad02..3f6e1eb93cd 100644 --- a/xml/System.Security.AccessControl/RegistryAccessRule.xml +++ b/xml/System.Security.AccessControl/RegistryAccessRule.xml @@ -90,7 +90,7 @@ The program displays the rules in the object, and then uses the object to create a subkey. The program creates a child subkey and a grandchild subkey, and then displays the security for each subkey. Finally, the program deletes the test keys. :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/RegistryAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistryAccessRule.ctor2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/RegistryAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -221,7 +221,7 @@ The following code example creates registry access rules and adds them to a object, showing how rules that allow and deny rights remain separate, while compatible rules of the same kind are merged. :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/RegistryAccessRule/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/RegistryAccessRule/.ctor/source.vb" id="Snippet1"::: ]]> @@ -407,7 +407,7 @@ The program displays the rules in the object, and then uses the object to create a subkey. The program creates a child subkey and a grandchild subkey, and then displays the rules for each subkey. Finally, the program deletes the test keys. :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/RegistryAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistryAccessRule.ctor2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/RegistryAccessRule/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/RegistryRights.xml b/xml/System.Security.AccessControl/RegistryRights.xml index 49f5fd7735b..9e625ab07c8 100644 --- a/xml/System.Security.AccessControl/RegistryRights.xml +++ b/xml/System.Security.AccessControl/RegistryRights.xml @@ -51,7 +51,7 @@ This example works best if you use **RunAs** from the command line to run the Registry Editor and the sample code as a local user without administrator rights. For example, if you have defined a local user named TestUser, the command `runas /user:TestUser cmd` opens a command window from which you can run the Registry Editor and then the example code. :::code language="csharp" source="~/snippets/csharp/Microsoft.Win32/RegistryKey/SetAccessControl/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RegistrySecurity101/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/Microsoft.Win32/RegistryKey/SetAccessControl/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/RegistrySecurity.xml b/xml/System.Security.AccessControl/RegistrySecurity.xml index 5d0bad27ce7..8db7a84690a 100644 --- a/xml/System.Security.AccessControl/RegistrySecurity.xml +++ b/xml/System.Security.AccessControl/RegistrySecurity.xml @@ -114,7 +114,7 @@ > This example does not attach the security object to a object. The second example in this section attaches a security object, and so do the examples in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/RegistrySecurity/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.RemoveAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/Overview/source.vb" id="Snippet1"::: Example 2 @@ -123,7 +123,7 @@ The program displays the rules in the object, and then uses the object to create a subkey. The program creates a child subkey and a grandchild subkey, then displays the security for each subkey. Finally, the program deletes the test keys. :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/RegistryAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistryAccessRule.ctor2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/RegistryAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -393,7 +393,7 @@ A code example that demonstrates inheritance and propagation flags can be found in the class. :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/RegistryAccessRule/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/RegistryAccessRule/.ctor/source.vb" id="Snippet1"::: ]]> @@ -627,7 +627,7 @@ > This example does not attach the security object to a object. The second example in this section attaches a security object, and so do the examples in . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/RegistrySecurity/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.RemoveAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/Overview/source.vb" id="Snippet1"::: ]]> @@ -692,7 +692,7 @@ > This example does not attach the security object to a object. See the method and the method. :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/RegistrySecurity/RemoveAccessRuleAll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.RemoveAccessRuleAll/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/RemoveAccessRuleAll/source.vb" id="Snippet1"::: ]]> @@ -758,7 +758,7 @@ > This example does not attach the security object to a object. See the method and the method. :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/RegistrySecurity/RemoveAccessRuleSpecific/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.RemoveAccessRuleSpecific/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/RemoveAccessRuleSpecific/source.vb" id="Snippet1"::: ]]> @@ -976,7 +976,7 @@ > This example does not attach the security object to a object. See the method and the method. :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/RegistrySecurity/ResetAccessRule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.ResetAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/ResetAccessRule/source.vb" id="Snippet1"::: ]]> @@ -1039,7 +1039,7 @@ > This example does not attach the security object to a object. See the method and the method. :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/RegistrySecurity/SetAccessRule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.SetAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/SetAccessRule/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/SemaphoreAccessRule.xml b/xml/System.Security.AccessControl/SemaphoreAccessRule.xml index 4e3ecabf89d..5c8b0dce285 100644 --- a/xml/System.Security.AccessControl/SemaphoreAccessRule.xml +++ b/xml/System.Security.AccessControl/SemaphoreAccessRule.xml @@ -79,7 +79,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -214,7 +214,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -285,7 +285,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/SemaphoreRights.xml b/xml/System.Security.AccessControl/SemaphoreRights.xml index 6efec560122..f7b39b4d17b 100644 --- a/xml/System.Security.AccessControl/SemaphoreRights.xml +++ b/xml/System.Security.AccessControl/SemaphoreRights.xml @@ -61,7 +61,7 @@ > This example does not attach the security object to an object; see , method, and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/SemaphoreSecurity.xml b/xml/System.Security.AccessControl/SemaphoreSecurity.xml index a6e5953021b..902f18914f0 100644 --- a/xml/System.Security.AccessControl/SemaphoreSecurity.xml +++ b/xml/System.Security.AccessControl/SemaphoreSecurity.xml @@ -94,7 +94,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -401,7 +401,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -622,7 +622,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.RemoveAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRule/source.vb" id="Snippet1"::: ]]> @@ -682,7 +682,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRuleAll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.RemoveAccessRuleAll/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRuleAll/source.vb" id="Snippet1"::: ]]> @@ -745,7 +745,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRuleSpecific/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.RemoveAccessRuleSpecific/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRuleSpecific/source.vb" id="Snippet1"::: ]]> @@ -954,7 +954,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/SemaphoreSecurity/ResetAccessRule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.ResetAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/ResetAccessRule/source.vb" id="Snippet1"::: ]]> @@ -1016,7 +1016,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/SemaphoreSecurity/SetAccessRule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.SetAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/SetAccessRule/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Pkcs/SignedCms.xml b/xml/System.Security.Cryptography.Pkcs/SignedCms.xml index 2822b0cc995..97592fc2ac4 100644 --- a/xml/System.Security.Cryptography.Pkcs/SignedCms.xml +++ b/xml/System.Security.Cryptography.Pkcs/SignedCms.xml @@ -521,12 +521,12 @@ The following example shows the placement of among the steps necessary to verify the signatures on a message. In this example, the message content is not detached. The message content is included in the message. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/mpkcs_SignedCMS/cs/Program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/mpkcs_SignedCMS/vb/Program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Pkcs/SignedCms/CheckSignature/Program.vb" id="Snippet1"::: The following example shows the placement of among the steps necessary to verify the signatures on a message. In this example, the message content is detached, so the message content must verified independently of the message. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/mpkcs_SignedCMS/cs/Program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/mpkcs_SignedCMS/vb/Program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Pkcs/SignedCms/CheckSignature/Program.vb" id="Snippet2"::: ]]> @@ -701,12 +701,12 @@ The following permissions are required to access the signature key on .NET Frame The following example shows the steps to compute a signature on a message with message content that is not detached. In this case, the message content is included in the message. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/mpkcs_SignedCMS/cs/Program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/mpkcs_SignedCMS/vb/Program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Pkcs/SignedCms/CheckSignature/Program.vb" id="Snippet3"::: The following example shows the steps to compute a signature on a message with message content that is detached. In this case, the message content must be verified independently of the message. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/mpkcs_SignedCMS/cs/Program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/mpkcs_SignedCMS/vb/Program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Pkcs/SignedCms/CheckSignature/Program.vb" id="Snippet4"::: ]]> @@ -868,12 +868,12 @@ The following permissions are required to access the signature key on .NET Frame The following example shows the placement of the method in the process of verifying the signatures on a message. In this example, the message content is not detached, so the message content is included in the message. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/mpkcs_SignedCMS/cs/Program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/mpkcs_SignedCMS/vb/Program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Pkcs/SignedCms/CheckSignature/Program.vb" id="Snippet1"::: The following example shows the placement of the method in the process of verifying the signatures on a message. In this example, the message content is detached, so the message content must be verified independently of the message. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WindowsServer/mpkcs_SignedCMS/cs/Program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WindowsServer/mpkcs_SignedCMS/vb/Program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Pkcs/SignedCms/CheckSignature/Program.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/OpenFlags.xml b/xml/System.Security.Cryptography.X509Certificates/OpenFlags.xml index 88f96c12f83..5b2a5e829f6 100644 --- a/xml/System.Security.Cryptography.X509Certificates/OpenFlags.xml +++ b/xml/System.Security.Cryptography.X509Certificates/OpenFlags.xml @@ -69,7 +69,7 @@ The following code example opens an X.509 certificate store, adds and deletes certificates, and then closes the store. It assumes you have three certificates to add to and remove from a local store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/x509store2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/PublicKey.xml b/xml/System.Security.Cryptography.X509Certificates/PublicKey.xml index 3d8bf66fce2..7d532068d8d 100644 --- a/xml/System.Security.Cryptography.X509Certificates/PublicKey.xml +++ b/xml/System.Security.Cryptography.X509Certificates/PublicKey.xml @@ -70,12 +70,12 @@ The following example demonstrates how to use the public key from a object to encrypt a file. It also shows how to decrypt the encrypted file using the private key for that certificate. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509certificate2/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Overview/program.vb" id="Snippet1"::: The following example creates a command-line executable that takes a certificate file as an argument and prints various certificate properties to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Overview/certinfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CertInfo/VB/certinfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Overview/certinfo.vb" id="Snippet1"::: ]]> @@ -370,7 +370,7 @@ The following code example creates a command-line executable that takes a certificate file as an argument and prints various certificate properties to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Overview/certinfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CertInfo/VB/certinfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Overview/certinfo.vb" id="Snippet1"::: ]]> @@ -800,7 +800,7 @@ The following code example opens the current user certificate store, selects only active certificates, and then allows the user to select one or more certificates. The example then writes certificate information to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CertSelect/VB/certselect.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.vb" id="Snippet1"::: ]]> @@ -861,7 +861,7 @@ The following code example creates a command-line executable that takes a certificate file as an argument and prints various certificate properties to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Overview/certinfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CertInfo/VB/certinfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Overview/certinfo.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/StoreLocation.xml b/xml/System.Security.Cryptography.X509Certificates/StoreLocation.xml index 14019b9bf23..2ad3075be59 100644 --- a/xml/System.Security.Cryptography.X509Certificates/StoreLocation.xml +++ b/xml/System.Security.Cryptography.X509Certificates/StoreLocation.xml @@ -65,7 +65,7 @@ This enumeration is used with the diff --git a/xml/System.Security.Cryptography.X509Certificates/StoreName.xml b/xml/System.Security.Cryptography.X509Certificates/StoreName.xml index 9c78484a88d..8eddaae93cb 100644 --- a/xml/System.Security.Cryptography.X509Certificates/StoreName.xml +++ b/xml/System.Security.Cryptography.X509Certificates/StoreName.xml @@ -63,7 +63,7 @@ The following code example opens an X.509 certificate store, adds and deletes certificates, and then closes the store. It assumes you have three certificates to add to and remove from a local store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/StoreName/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509storename/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/StoreName/Overview/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X500DistinguishedName.xml b/xml/System.Security.Cryptography.X509Certificates/X500DistinguishedName.xml index 9f37ed8658f..86a6e35aec8 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X500DistinguishedName.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X500DistinguishedName.xml @@ -89,7 +89,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/x500.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X500DistinguishedName/VB/x500.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/x500.vb" id="Snippet1"::: ]]> @@ -158,7 +158,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/x500.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X500DistinguishedName/VB/x500.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/x500.vb" id="Snippet1"::: ]]> @@ -254,7 +254,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/x500.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X500DistinguishedName/VB/x500.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/x500.vb" id="Snippet1"::: ]]> @@ -312,7 +312,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/x500.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X500DistinguishedName/VB/x500.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/x500.vb" id="Snippet1"::: ]]> @@ -376,7 +376,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/x500.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X500DistinguishedName/VB/x500.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/x500.vb" id="Snippet1"::: ]]> @@ -436,7 +436,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/x500.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X500DistinguishedName/VB/x500.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/x500.vb" id="Snippet1"::: ]]> @@ -498,7 +498,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/x500.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X500DistinguishedName/VB/x500.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/x500.vb" id="Snippet1"::: ]]> @@ -597,7 +597,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/x500.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X500DistinguishedName/VB/x500.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/x500.vb" id="Snippet1"::: ]]> @@ -657,7 +657,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/x500.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X500DistinguishedName/VB/x500.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/x500.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X500DistinguishedNameFlags.xml b/xml/System.Security.Cryptography.X509Certificates/X500DistinguishedNameFlags.xml index 690d1fabdb6..43abb4d800e 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X500DistinguishedNameFlags.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X500DistinguishedNameFlags.xml @@ -70,7 +70,7 @@ The following code example shows how to use the `X500DistinguishedNameFlags` enumeration. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/x500.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X500DistinguishedName/VB/x500.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X500DistinguishedName/Overview/x500.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension.xml b/xml/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension.xml index c2ba652b3fc..e0bfcb1dfda 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension.xml @@ -70,7 +70,7 @@ The following code example demonstrates how to open a user's personal certificate store and display information about each certificate in the store. This example uses the class to display the information. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Extensions/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.vb" id="Snippet1"::: ]]> @@ -132,7 +132,7 @@ The following code example demonstrates how to open a user's personal certificate store and display information about each certificate in the store. This example uses the class to display the information. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Extensions/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.vb" id="Snippet1"::: ]]> @@ -302,7 +302,7 @@ The following code example demonstrates how to open a user's personal certificate store and display information about each certificate in the store. This example uses the class to display the information. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Extensions/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.vb" id="Snippet1"::: ]]> @@ -489,7 +489,7 @@ The following code example demonstrates how to open a user's personal certificate store and display information about each certificate in the store. This example uses the class to display the information. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Extensions/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.vb" id="Snippet1"::: ]]> @@ -550,7 +550,7 @@ The following code example demonstrates how to open a user's personal certificate store and display information about each certificate in the store. This example uses the class to display the information. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Extensions/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509Certificate.xml b/xml/System.Security.Cryptography.X509Certificates/X509Certificate.xml index 0d6e23e2cda..1bd4774baf2 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X509Certificate.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X509Certificate.xml @@ -113,7 +113,7 @@ The following example loads an X.509 certificate from a file, calls the method, and displays the results to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Certificate/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/Overview/example.vb" id="Snippet1"::: ]]> @@ -257,7 +257,7 @@ The following example loads an X.509 certificate file into an object, exports the certificate as a byte array, and then imports the byte array into another object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/.ctor/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Certificate.Import-Export/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/.ctor/sample.vb" id="Snippet1"::: ]]> @@ -488,7 +488,7 @@ The following example loads an X.509 certificate from a file, calls the method, and displays the results to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Certificate/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/Overview/example.vb" id="Snippet1"::: ]]> @@ -1359,7 +1359,7 @@ The following example creates an from a specified certification file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/CreateFromCertFile/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.ToString Method/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/CreateFromCertFile/example.vb" id="Snippet1"::: ]]> @@ -1659,7 +1659,7 @@ The following example compares two certificates for equality. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/Equals/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.Equals Method/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/Equals/example.vb" id="Snippet1"::: ]]> @@ -1740,7 +1740,7 @@ The following example compares two certificates for equality. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/Equals/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.Equals Method/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/Equals/example.vb" id="Snippet1"::: ]]> @@ -1825,7 +1825,7 @@ The following example loads an X.509 certificate file into an object, exports the certificate as a byte array, and then imports the byte array into another object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/.ctor/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Certificate.Import-Export/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/.ctor/sample.vb" id="Snippet1"::: ]]> @@ -2191,7 +2191,7 @@ The following example uses the method to fill an array of bytes with the hash value for an X.509 certificate. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/GetCertHash/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetCertHash Method/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetCertHash/example.vb" id="Snippet1"::: ]]> @@ -2305,7 +2305,7 @@ The following example uses the method to get an X.509 certificate hash value, convert it to a string, and display it to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/GetCertHashString/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetCertHashString Method/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetCertHashString/example.vb" id="Snippet1"::: ]]> @@ -2414,7 +2414,7 @@ The following example uses the method to get the effective date of a certificate and displays it to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/GetEffectiveDateString/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetEffectiveDateString Method/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetEffectiveDateString/example.vb" id="Snippet1"::: ]]> @@ -2479,7 +2479,7 @@ The following example uses the method to get the expiration date of a certificate and displays it to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/GetExpirationDateString/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetExpirationDateString Method/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetExpirationDateString/example.vb" id="Snippet1"::: ]]> @@ -2541,7 +2541,7 @@ The following example uses the method to get the format of a certificate and displays it to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/GetFormat/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetFormat Method/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetFormat/example.vb" id="Snippet1"::: ]]> @@ -2609,7 +2609,7 @@ The following example uses the method to return an integer representation of a certificate's hash code and displays it to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/GetHashCode/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetHashCode Method/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetHashCode/example.vb" id="Snippet1"::: ]]> @@ -2682,7 +2682,7 @@ The following example uses the method to return the certificate issuer's name and displays it to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/GetIssuerName/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetIssuerName Method/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetIssuerName/example.vb" id="Snippet1"::: ]]> @@ -2752,7 +2752,7 @@ The following example uses the method to get a certificate's key algorithm in string format and displays it to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/GetKeyAlgorithm/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetKeyAlgorithm Method/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetKeyAlgorithm/example.vb" id="Snippet1"::: ]]> @@ -2817,7 +2817,7 @@ The following example uses the method to return a certificate's key algorithm parameters as an array of bytes and displays it to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/GetKeyAlgorithmParameters/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetKeyAlgorithmParameters Method/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetKeyAlgorithmParameters/example.vb" id="Snippet1"::: ]]> @@ -2882,7 +2882,7 @@ The following example uses the method to return a certificate's key algorithm parameters in string format and displays it to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/GetKeyAlgorithmParametersString/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetKeyAlgorithmParametersString/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetKeyAlgorithmParametersString/example.vb" id="Snippet1"::: ]]> @@ -2956,7 +2956,7 @@ The following example uses the method to return the name of a certificate's principal and displays it to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/GetName/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetName Method/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetName/example.vb" id="Snippet1"::: ]]> @@ -3022,7 +3022,7 @@ This value corresponds to the contents of the `subjectPublicKey` field of the Su The following example uses the method to return a certificate's public key as an array of bytes and displays it to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/GetPublicKey/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetPublicKey Method/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetPublicKey/example.vb" id="Snippet1"::: ]]> @@ -3080,7 +3080,7 @@ This value corresponds to the contents of the `subjectPublicKey` field of the Su The following example uses the method to return a certificate's public key as a string and displays it to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/GetPublicKeyString/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetPublicKeyString Method/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetPublicKeyString/example.vb" id="Snippet1"::: ]]> @@ -3143,7 +3143,7 @@ The output of this method is equivalent to the output of the method to return a certificate's raw data as an array of bytes and displays it to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/GetRawCertData/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetRawCertData Method/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetRawCertData/example.vb" id="Snippet1"::: ]]> @@ -3198,7 +3198,7 @@ The output of this method is equivalent to the output of the method to return a certificate's raw data as a string and displays it to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/GetRawCertDataString/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetRawCertDataString Method/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetRawCertDataString/example.vb" id="Snippet1"::: ]]> @@ -3261,7 +3261,7 @@ The output of this method is equivalent to the output of the method to return a certificate's serial number as an array of bytes and displays it to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/GetSerialNumber/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetSerialNumber Method/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetSerialNumber/example.vb" id="Snippet1"::: ]]> @@ -3317,7 +3317,7 @@ The output of this method is equivalent to the output of the method to return a certificate's serial number as a string and displays it to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/GetSerialNumberString/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.GetSerialNumberString Method/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/GetSerialNumberString/example.vb" id="Snippet1"::: ]]> @@ -3545,7 +3545,7 @@ The output of this method is equivalent to the output of the method, and displays the results to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/Import/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Certificate.Import/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/Import/sample.vb" id="Snippet1"::: ]]> @@ -4277,7 +4277,7 @@ The output of this method is equivalent to the output of the method to display the value of a certificate to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/CreateFromCertFile/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.ToString Method/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/CreateFromCertFile/example.vb" id="Snippet1"::: ]]> @@ -4344,7 +4344,7 @@ The output of this method is equivalent to the output of the method to display the value of a certificate to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Certificate/CreateFromCertFile/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/X509Certificate.ToString Method/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Certificate/CreateFromCertFile/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509Certificate2.xml b/xml/System.Security.Cryptography.X509Certificates/X509Certificate2.xml index 52645139a32..7a2bec3aa33 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X509Certificate2.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X509Certificate2.xml @@ -80,12 +80,12 @@ The following example demonstrates how to use an object to encrypt and decrypt a file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509certificate2/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Overview/program.vb" id="Snippet1"::: The following example creates a command-line executable that takes a certificate file as an argument and prints various certificate properties to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Overview/certinfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CertInfo/VB/certinfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Overview/certinfo.vb" id="Snippet1"::: ]]> @@ -166,7 +166,7 @@ The following code example opens the current user certificate store, selects only active certificates, then allows the user to select one or more certificates. The example then writes certificate information to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CertSelect/VB/certselect.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.vb" id="Snippet1"::: ]]> @@ -1404,7 +1404,7 @@ If you create an @@ -2072,7 +2072,7 @@ The certificate is encoded according to the IETF RFC 7468 "strict" The following code example opens the current user certificate store, selects only active certificates, then allows the user to select one or more certificates. The example then writes certificate information to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CertSelect/VB/certselect.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.vb" id="Snippet1"::: ]]> @@ -2141,7 +2141,7 @@ The certificate is encoded according to the IETF RFC 7468 "strict" The following code example creates a command-line executable that takes a certificate file as an argument and prints various certificate properties to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Overview/certinfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CertInfo/VB/certinfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Overview/certinfo.vb" id="Snippet1"::: ]]> @@ -2223,7 +2223,7 @@ The certificate is encoded according to the IETF RFC 7468 "strict" The following code example opens the current user certificate store, selects only active certificates, then allows the user to select one or more certificates. The example then writes certificate information to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CertSelect/VB/certselect.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.vb" id="Snippet1"::: ]]> @@ -2601,7 +2601,7 @@ The certificate is encoded according to the IETF RFC 7468 "strict" The following code example opens the current user certificate store, selects only active certificates, then allows the user to select one or more certificates. The example then writes certificate information to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CertSelect/VB/certselect.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.vb" id="Snippet1"::: ]]> @@ -3026,7 +3026,7 @@ The certificate is encoded according to the IETF RFC 7468 "strict" The following code example creates a command-line executable that takes a certificate file as an argument and prints various certificate properties to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Overview/certinfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CertInfo/VB/certinfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Overview/certinfo.vb" id="Snippet1"::: ]]> @@ -3245,7 +3245,7 @@ The certificate is encoded according to the IETF RFC 7468 "strict" The following code example creates a command-line executable file that takes a certificate file as an argument and prints various certificate properties to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Overview/certinfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CertInfo/VB/certinfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Overview/certinfo.vb" id="Snippet1"::: ]]> @@ -3376,7 +3376,7 @@ The Subject Alternative Name extension or Subject Name could not be decoded. @@ -3437,7 +3437,7 @@ The Subject Alternative Name extension or Subject Name could not be decoded. @@ -3512,7 +3512,7 @@ The Subject Alternative Name extension or Subject Name could not be decoded. @@ -3580,7 +3580,7 @@ The Subject Alternative Name extension or Subject Name could not be decoded. @@ -3636,7 +3636,7 @@ The Subject Alternative Name extension or Subject Name could not be decoded. @@ -3792,7 +3792,7 @@ Unlike @@ -3852,7 +3852,7 @@ Unlike @@ -3913,7 +3913,7 @@ Unlike @@ -3976,7 +3976,7 @@ Unlike @@ -4050,7 +4050,7 @@ Unlike @@ -4117,7 +4117,7 @@ Unlike @@ -4232,7 +4232,7 @@ Unlike @@ -4293,7 +4293,7 @@ Unlike diff --git a/xml/System.Security.Cryptography.X509Certificates/X509Certificate2Collection.xml b/xml/System.Security.Cryptography.X509Certificates/X509Certificate2Collection.xml index 874cfff4477..1fd5f5056c0 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X509Certificate2Collection.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X509Certificate2Collection.xml @@ -82,7 +82,7 @@ The following code example opens the current user's personal certificate store, selects only valid certificates, allows the user to select a certificate, and then writes certificate and certificate chain information to the console. The output depends on the certificate the user selects. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CertSelect/VB/certselect.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.vb" id="Snippet1"::: ]]> @@ -155,7 +155,7 @@ The following code example opens the current user's personal certificate store, selects only valid certificates, allows the user to select a certificate, and then writes certificate and certificate chain information to the console. The output depends on the certificate the user selects. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CertSelect/VB/certselect.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.vb" id="Snippet1"::: ]]> @@ -255,7 +255,7 @@ The following code example opens the current user's personal certificate store, selects only valid certificates, allows the user to select a certificate, and then writes certificate and certificate chain information to the console. The output depends on the certificate you select. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CertSelect/VB/certselect.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.vb" id="Snippet1"::: ]]> @@ -310,7 +310,7 @@ The following code example opens the current user's personal certificate store, selects only valid certificates, allows the user to select a certificate, and then writes certificate and certificate chain information to the console. The output depends on the certificate the user selects. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CertSelect/VB/certselect.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.vb" id="Snippet1"::: ]]> @@ -374,7 +374,7 @@ The following code example opens an X.509 certificate store, adds and deletes certificates, and then closes the store. It assumes that you have three certificates to add to and remove from a local store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/x509store2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.vb" id="Snippet1"::: ]]> @@ -950,7 +950,7 @@ The following code example opens the current user's personal certificate store, finds only valid certificates, allows the user to select a certificate, and then writes certificate and certificate chain information to the console. The output depends on the certificate the user selects. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CertSelect/VB/certselect.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.vb" id="Snippet1"::: ]]> @@ -1876,7 +1876,7 @@ The following code example opens the current user's personal certificate store, selects only valid certificates, allows the user to select a certificate, and then writes certificate and certificate chain information to the console. The output depends on the certificate the user selects. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CertSelect/VB/certselect.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509Certificate2UI.xml b/xml/System.Security.Cryptography.X509Certificates/X509Certificate2UI.xml index ba72ac354a9..ab417ad6c57 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X509Certificate2UI.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X509Certificate2UI.xml @@ -49,7 +49,7 @@ The following code example demonstrates how to display user interface dialogs to select and view X.509 certificates. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CertSelect/VB/certselect.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.vb" id="Snippet1"::: ]]> @@ -147,7 +147,7 @@ The following code example demonstrates how to display user interface dialogs to select and view X.509 certificates. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CertSelect/VB/certselect.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.vb" id="Snippet1"::: ]]> @@ -292,7 +292,7 @@ The following code example demonstrates how to display user interface dialogs to select and view X.509 certificates. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CertSelect/VB/certselect.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509Chain.xml b/xml/System.Security.Cryptography.X509Certificates/X509Chain.xml index 6a66282b914..d7f85835ba2 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X509Chain.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X509Chain.xml @@ -84,7 +84,7 @@ The following code example opens the current user's personal certificate store, allows you to select a certificate, then writes certificate and certificate chain information to the console. The output depends on the certificate you select. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb" id="Snippet1"::: ]]> @@ -156,7 +156,7 @@ The following code example opens the current user's personal certificate store, allows you to select a certificate, then writes certificate and certificate chain information to the console. The output depends on the certificate you select. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb" id="Snippet3"::: ]]> @@ -221,7 +221,7 @@ The following code example opens the current user's personal certificate store, allows you to select a certificate, then writes certificate and certificate chain information to the console. The output depends on the certificate you select. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb" id="Snippet3"::: ]]> @@ -350,7 +350,7 @@ The following code example opens the current user's personal certificate store, allows you to select a certificate, then writes certificate and certificate chain information to the console. The output depends on the certificate you select. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb" id="Snippet3"::: ]]> @@ -474,7 +474,7 @@ The following code example demonstrates the ordering of chain elements: The following code example opens the current user's personal certificate store, allows you to select a certificate, then writes certificate and certificate chain information to the console. The output depends on the certificate you select. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb" id="Snippet4"::: ]]> @@ -534,7 +534,7 @@ The following code example demonstrates the ordering of chain elements: The following code example opens the current user's personal certificate store, allows you to select a certificate, then writes certificate and certificate chain information to the console. The output depends on the certificate you select. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509ChainElement.xml b/xml/System.Security.Cryptography.X509Certificates/X509ChainElement.xml index 8329426c5f2..260eeb09e4e 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X509ChainElement.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X509ChainElement.xml @@ -128,7 +128,7 @@ The following code example opens the current user's personal certificate store, allows the user to select a certificate, then writes certificate and certificate chain information to the console. The output depends on the certificate the user selects. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb" id="Snippet4"::: ]]> @@ -252,7 +252,7 @@ The following code example opens the current user's personal certificate store, allows the user to select a certificate, then writes certificate and certificate chain information to the console. The output depends on the certificate the user selects. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509ChainElementCollection.xml b/xml/System.Security.Cryptography.X509Certificates/X509ChainElementCollection.xml index 459f5f81618..d9b758f8258 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X509ChainElementCollection.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X509ChainElementCollection.xml @@ -85,7 +85,7 @@ The following code example opens the current user's personal certificate store, allows the user to select a certificate, and then writes certificate and certificate chain information to the console. The output depends on the certificate you select. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb" id="Snippet4"::: ]]> @@ -203,7 +203,7 @@ The following code example opens the current user's personal certificate store, allows the user to select a certificate, and then writes certificate and certificate chain information to the console. The output depends on the certificate you select. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb" id="Snippet4"::: ]]> @@ -317,7 +317,7 @@ The following code example opens the current user's personal certificate store, allows the user to select a certificate, and then writes certificate and certificate chain information to the console. The output depends on the certificate you select. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509ChainPolicy.xml b/xml/System.Security.Cryptography.X509Certificates/X509ChainPolicy.xml index 0a78e101a7c..7abfe736e46 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X509ChainPolicy.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X509ChainPolicy.xml @@ -70,7 +70,7 @@ The following example opens the current user's personal certificate store, allows the user to select a certificate, then writes certificate and certificate chain information to the console. The output depends on the certificate you select. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb" id="Snippet1"::: ]]> @@ -172,7 +172,7 @@ By default, this collection is empty. You can add additional object identifiers (OIDs) to the collection using the following code: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Chain/Overview/remarks.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/remarks.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/remarks.vb" id="Snippet5"::: @@ -180,7 +180,7 @@ The following example opens the current user's personal certificate store, allows the user to select a certificate, then writes certificate and certificate chain information to the console. The output depends on the certificate you select. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb" id="Snippet3"::: ]]> @@ -244,7 +244,7 @@ The following example opens the current user's personal certificate store, allows the user to select a certificate, then writes certificate and certificate chain information to the console. The output depends on the certificate you select. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb" id="Snippet3"::: ]]> @@ -534,7 +534,7 @@ The collection is respected only when @@ -601,7 +601,7 @@ The collection is respected only when @@ -770,7 +770,7 @@ When @@ -847,7 +847,7 @@ not with the time that the object was constructed. The following example opens the current user's personal certificate store, allows the user to select a certificate, then writes certificate and certificate chain information to the console. The output depends on the certificate you select. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509ChainStatus.xml b/xml/System.Security.Cryptography.X509Certificates/X509ChainStatus.xml index 7bdc8f2a52d..3afde5ca285 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X509ChainStatus.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X509ChainStatus.xml @@ -70,7 +70,7 @@ The following example opens the current user's personal certificate store, allows the user to select a certificate, then writes certificate and certificate chain information to the console. The output depends on the certificate you select. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb" id="Snippet3"::: ]]> @@ -144,7 +144,7 @@ The following example opens the current user's personal certificate store, allows the user to select a certificate, then writes certificate and certificate chain information to the console. The output depends on the certificate you select. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb" id="Snippet4"::: ]]> @@ -210,7 +210,7 @@ The following example opens the current user's personal certificate store, allows the user to select a certificate, then writes certificate and certificate chain information to the console. The output depends on the certificate you select. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509EnhancedKeyUsageExtension.xml b/xml/System.Security.Cryptography.X509Certificates/X509EnhancedKeyUsageExtension.xml index fc6c43a6b43..b29508e601e 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X509EnhancedKeyUsageExtension.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X509EnhancedKeyUsageExtension.xml @@ -70,7 +70,7 @@ The following code example demonstrates how to open a user's personal certificate store and display information about each certificate in the store. This example uses the class to display the information. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Extensions/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.vb" id="Snippet1"::: ]]> @@ -137,7 +137,7 @@ The following code example demonstrates how to open a user's personal certificate store and display information about each certificate in the store. This example uses the class to display the information. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Extensions/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.vb" id="Snippet1"::: ]]> @@ -344,7 +344,7 @@ The following code example demonstrates how to open a user's personal certificate store and display information about each certificate in the store. This example uses the class to display the information. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Extensions/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509Extension.xml b/xml/System.Security.Cryptography.X509Certificates/X509Extension.xml index cd1a0490e44..7a656c25bc7 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X509Extension.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X509Extension.xml @@ -82,7 +82,7 @@ The following code example demonstrates using the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Extensions/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.vb" id="Snippet1"::: ]]> @@ -155,7 +155,7 @@ The following code example demonstrates using the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Extensions/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.vb" id="Snippet1"::: ]]> @@ -218,7 +218,7 @@ The following code example demonstrates using the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Extensions/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.vb" id="Snippet1"::: ]]> @@ -283,7 +283,7 @@ The following code example demonstrates using the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Extensions/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.vb" id="Snippet1"::: ]]> @@ -396,7 +396,7 @@ The following code example demonstrates using the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Extensions/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.vb" id="Snippet1"::: ]]> @@ -503,7 +503,7 @@ The following code example demonstrates using the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Extensions/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.vb" id="Snippet1"::: ]]> @@ -578,7 +578,7 @@ The following code example demonstrates using the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Extensions/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509FindType.xml b/xml/System.Security.Cryptography.X509Certificates/X509FindType.xml index 57887bf1c24..872cec72a3a 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X509FindType.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X509FindType.xml @@ -65,7 +65,7 @@ The following example opens the current user's personal certificate store, finds only valid certificates, allows the user to select a certificate, and then writes certificate information to the console. The output depends on the certificate you select. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CertSelect/VB/certselect.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509KeyUsageExtension.xml b/xml/System.Security.Cryptography.X509Certificates/X509KeyUsageExtension.xml index 604b9453333..a28375f9b64 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X509KeyUsageExtension.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X509KeyUsageExtension.xml @@ -70,7 +70,7 @@ The following code example demonstrates how to open a user's personal certificate store and display information about each certificate in the store. This example uses the class to display the information. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Extensions/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.vb" id="Snippet1"::: ]]> @@ -132,7 +132,7 @@ The following code example demonstrates how to open a user's personal certificate store and display information about each certificate in the store. This example uses the class to display the information. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Extensions/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509NameType.xml b/xml/System.Security.Cryptography.X509Certificates/X509NameType.xml index b48ff4f3319..fd5fe72bd21 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X509NameType.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X509NameType.xml @@ -63,7 +63,7 @@ The following example opens the current user certificate store, selects only active certificates, then allows the user to select one or more certificates. The example then writes certificate information to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CertSelect/VB/certselect.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/PublicKey/Key/certselect.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509RevocationFlag.xml b/xml/System.Security.Cryptography.X509Certificates/X509RevocationFlag.xml index 581488a95f2..5d9d702fea7 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X509RevocationFlag.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X509RevocationFlag.xml @@ -63,7 +63,7 @@ The following example opens the current user's personal certificate store, allows the user to select a certificate, then writes certificate and certificate chain information to the console. The output depends on the certificate you select. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509RevocationMode.xml b/xml/System.Security.Cryptography.X509Certificates/X509RevocationMode.xml index 2ed709fd374..7075c7f9304 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X509RevocationMode.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X509RevocationMode.xml @@ -66,7 +66,7 @@ The following example opens the current user's personal certificate store, allows the user to select a certificate, then writes certificate and certificate chain information to the console. The output depends on the certificate you select. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509SelectionFlag.xml b/xml/System.Security.Cryptography.X509Certificates/X509SelectionFlag.xml index cb9f4460cf5..84af6e753cd 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X509SelectionFlag.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X509SelectionFlag.xml @@ -38,7 +38,7 @@ The following code example demonstrates how to use the selection flag with the method. This code example is part of a larger example provided for the class. The larger example opens the current user's personal certificate store, allows the user to select a certificate, then writes certificate and certificate chain information to the console. The output depends on the certificate the user selects. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509Store.xml b/xml/System.Security.Cryptography.X509Certificates/X509Store.xml index 948f8fadfaf..9b8edcae0ad 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X509Store.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X509Store.xml @@ -92,14 +92,14 @@ The example creates an object for each combination of standard name and standard location. It calls the method with the flag, which opens the physical store only if it already exists. If the physical store exists, the example uses the , , and properties to display the number of certificates in the store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/storenames1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/storenames1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/storenames1.vb" id="Snippet2"::: **Example 2** This example opens an X.509 certificate store, adds and deletes certificates, and then closes the store. It assumes that you have three certificates to add to and remove from a local store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/x509store2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.vb" id="Snippet1"::: ]]> @@ -172,7 +172,7 @@ The following code example opens an X.509 certificate store, adds and deletes certificates, and then closes the store. It assumes that you have three certificates to add to and remove from a local store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/x509store2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.vb" id="Snippet1"::: ]]> @@ -288,7 +288,7 @@ The following code example opens an X.509 certificate store, adds and deletes certificates, and then closes the store. It assumes that you have three certificates to add to and remove from a local store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/x509store2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.vb" id="Snippet1"::: ]]> @@ -352,7 +352,7 @@ The following code example opens an X.509 certificate store, adds and deletes certificates, and then closes the store. It assumes that you have three certificates to add to and remove from a local store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/x509store2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.vb" id="Snippet1"::: ]]> @@ -418,7 +418,7 @@ The following code example opens an X.509 certificate store, adds and deletes certificates, and then closes the store. It assumes that you have three certificates to add to and remove from a local store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/x509store2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.vb" id="Snippet1"::: ]]> @@ -480,7 +480,7 @@ The following code example opens an X.509 certificate store, adds and deletes certificates, and then closes the store. It assumes that you have three certificates to add to and remove from a local store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/x509store2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.vb" id="Snippet1"::: ]]> @@ -544,7 +544,7 @@ The following code example opens an X.509 certificate store, adds and deletes certificates, and then closes the store. It assumes that you have three certificates to add to and remove from a local store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/x509store2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.vb" id="Snippet1"::: ]]> @@ -694,7 +694,7 @@ The following code example opens an X.509 certificate store, adds and deletes certificates, and then closes the store. It assumes that you have three certificates to add to and remove from a local store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/x509store2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.vb" id="Snippet1"::: ]]> @@ -758,7 +758,7 @@ The following code example opens an X.509 certificate store, adds and deletes certificates, and then closes the store. It assumes that you have three certificates to add to and remove from a local store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/x509store2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.vb" id="Snippet1"::: ]]> @@ -829,14 +829,14 @@ The example creates an object for each combination of standard name and standard location. It calls the method with the flag, which opens the physical store only if it already exists. If the physical store exists, the example uses the , , and properties to display the number of certificates in the store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/storenames1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/storenames1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/storenames1.vb" id="Snippet2"::: **Example 2** This example opens an X.509 certificate store, adds and deletes certificates, and then closes the store. It assumes that you have three certificates to add to and remove from a local store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/x509store2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.vb" id="Snippet1"::: ]]> @@ -894,7 +894,7 @@ The following code example opens an X.509 certificate store, adds and deletes certificates, and then closes the store. It assumes that you have three certificates to add to and remove from a local store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/x509store2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.vb" id="Snippet1"::: ]]> @@ -1063,14 +1063,14 @@ The example creates an object for each combination of standard name and standard location. It calls the method with the flag, which opens the physical store only if it already exists. If the physical store exists, the example uses the , , and properties to display the number of certificates in the store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/storenames1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/storenames1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/storenames1.vb" id="Snippet2"::: **Example 2** This example opens an X.509 certificate store, adds and deletes certificates, and then closes the store. It assumes that you have three certificates to add to and remove from a local store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/x509store2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.vb" id="Snippet1"::: ]]> @@ -1149,14 +1149,14 @@ The example creates an object for each combination of standard name and standard location. It calls the method with the flag, which opens the physical store only if it already exists. If the physical store exists, the example uses the , , and properties to display the number of certificates in the store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/storenames1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/storenames1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/storenames1.vb" id="Snippet2"::: **Example 2** This example opens an X.509 certificate store, adds and deletes certificates, and then closes the store. It assumes that you have three certificates to add to and remove from a local store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/x509store2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.vb" id="Snippet1"::: ]]> @@ -1219,7 +1219,7 @@ The following code example opens an X.509 certificate store, adds and deletes certificates, and then closes the store. It assumes that you have three certificates to add to and remove from a local store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/x509store2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.vb" id="Snippet1"::: ]]> @@ -1285,7 +1285,7 @@ The following code example opens an X.509 certificate store, adds and deletes certificates, and then closes the store. It assumes that you have three certificates to add to and remove from a local store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/x509store2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.vb" id="Snippet1"::: ]]> @@ -1353,7 +1353,7 @@ The following code example opens an X.509 certificate store, adds and deletes certificates, and then closes the store. It assumes that you have three certificates to add to and remove from a local store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/x509store2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/OpenFlags/Overview/x509store2.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509SubjectKeyIdentifierExtension.xml b/xml/System.Security.Cryptography.X509Certificates/X509SubjectKeyIdentifierExtension.xml index 30df26d8537..c1f74cad92d 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X509SubjectKeyIdentifierExtension.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X509SubjectKeyIdentifierExtension.xml @@ -70,7 +70,7 @@ The following code example demonstrates how to open a user's personal certificate store and display information about each certificate in the store. This example uses the class to display the information. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Extensions/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.vb" id="Snippet1"::: ]]> @@ -132,7 +132,7 @@ The following code example demonstrates how to open a user's personal certificate store and display information about each certificate in the store. This example uses the class to display the information. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.X509Certificates.X509Extensions/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtension/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509VerificationFlags.xml b/xml/System.Security.Cryptography.X509Certificates/X509VerificationFlags.xml index 5e25f6e747a..73e1b50220f 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X509VerificationFlags.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X509VerificationFlags.xml @@ -69,7 +69,7 @@ The following example opens the current user's personal certificate store, allows the user to select a certificate, then writes certificate and certificate chain information to the console. The output depends on the certificate you select. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.X509Certificates/X509Chain/Overview/x509chaintest.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/CipherData.xml b/xml/System.Security.Cryptography.Xml/CipherData.xml index 5806fddd77b..d7751f64626 100644 --- a/xml/System.Security.Cryptography.Xml/CipherData.xml +++ b/xml/System.Security.Cryptography.Xml/CipherData.xml @@ -54,7 +54,7 @@ The following code example uses the class to create an `` element that contains a `` element, and then writes the XML to an XML file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/CipherData/Overview/encrypteddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/cryptgraphy.Xml.EncryptedData/VB/encrypteddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/CipherData/Overview/encrypteddata.vb" id="Snippet1"::: ]]> @@ -107,7 +107,7 @@ The following code example shows how to create a new instance of the class. The entire sample can be found in the class topic. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/CipherData/Overview/encrypteddata.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/cryptgraphy.Xml.EncryptedData/VB/encrypteddata.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/CipherData/Overview/encrypteddata.vb" id="Snippet2"::: ]]> @@ -158,7 +158,7 @@ The following code example shows how to create a new instance of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/CipherData/.ctor/encrypteddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/cryptography.Xml.EncryptedData2/VB/encrypteddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/CipherData/.ctor/encrypteddata.vb" id="Snippet1"::: ]]> @@ -209,7 +209,7 @@ The following code example shows how to create a new instance of the class using information. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/CipherData/.ctor/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/cryptography.Xml.CipherReference/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/CipherData/.ctor/example.vb" id="Snippet1"::: ]]> @@ -262,7 +262,7 @@ The `` element identifies a source that, when processed, yields The following code example shows how to create a new instance of the class using information. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/CipherData/.ctor/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/cryptography.Xml.CipherReference/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/CipherData/.ctor/example.vb" id="Snippet1"::: ]]> @@ -316,7 +316,7 @@ The `` element identifies a source that, when processed, yields The following code example shows how to create a new instance of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/CipherData/.ctor/encrypteddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/cryptography.Xml.EncryptedData2/VB/encrypteddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/CipherData/.ctor/encrypteddata.vb" id="Snippet1"::: ]]> @@ -367,7 +367,7 @@ The `` element identifies a source that, when processed, yields The following code example demonstrates how to create a new instance of the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/CipherData/Overview/encrypteddata.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/cryptgraphy.Xml.EncryptedData/VB/encrypteddata.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/CipherData/Overview/encrypteddata.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/CipherReference.xml b/xml/System.Security.Cryptography.Xml/CipherReference.xml index cb3b579d984..8f0190c3ab9 100644 --- a/xml/System.Security.Cryptography.Xml/CipherReference.xml +++ b/xml/System.Security.Cryptography.Xml/CipherReference.xml @@ -61,7 +61,7 @@ EncryptedXml exml = new EncryptedXml(doc, ev); The following code example creates a new instance of . :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/CipherData/.ctor/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/cryptography.Xml.CipherReference/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/CipherData/.ctor/example.vb" id="Snippet1"::: ]]> @@ -122,7 +122,7 @@ EncryptedXml exml = new EncryptedXml(doc, ev); The following code example creates a new instance of . :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/CipherData/.ctor/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/cryptography.Xml.CipherReference/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/CipherData/.ctor/example.vb" id="Snippet1"::: ]]> @@ -192,7 +192,7 @@ EncryptedXml exml = new EncryptedXml(doc, ev); The following code example creates a new instance of . :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/CipherData/.ctor/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/cryptography.Xml.CipherReference/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/CipherData/.ctor/example.vb" id="Snippet1"::: ]]> @@ -242,7 +242,7 @@ EncryptedXml exml = new EncryptedXml(doc, ev); The following code example creates a new instance of . :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/CipherData/.ctor/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/cryptography.Xml.CipherReference/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/CipherData/.ctor/example.vb" id="Snippet1"::: ]]> @@ -291,7 +291,7 @@ EncryptedXml exml = new EncryptedXml(doc, ev); The following code example shows one way to use the method. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/CipherReference/GetXml/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CipherReference2/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/CipherReference/GetXml/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/DSAKeyValue.xml b/xml/System.Security.Cryptography.Xml/DSAKeyValue.xml index 05769e99535..df09491ef79 100644 --- a/xml/System.Security.Cryptography.Xml/DSAKeyValue.xml +++ b/xml/System.Security.Cryptography.Xml/DSAKeyValue.xml @@ -56,12 +56,12 @@ The following code example demonstrates how to use the class in XML encryption to create a detached signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampledetached.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.DSAKeyValue_Detached/VB/exampledetached.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampledetached.vb" id="Snippet1"::: The following code example demonstrates how to use the class in XML encryption to create an envelope signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampleenvelope.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.DSAKeyValue_Envelope/VB/exampleenvelope.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampleenvelope.vb" id="Snippet1"::: ]]> @@ -161,10 +161,10 @@ The following code example demonstrates how to use the class in XML encryption. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampledetached.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.DSAKeyValue_Detached/VB/exampledetached.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampledetached.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampleenvelope.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.DSAKeyValue_Envelope/VB/exampleenvelope.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampleenvelope.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/DataObject.xml b/xml/System.Security.Cryptography.Xml/DataObject.xml index afbde94087d..7f24a769010 100644 --- a/xml/System.Security.Cryptography.Xml/DataObject.xml +++ b/xml/System.Security.Cryptography.Xml/DataObject.xml @@ -52,12 +52,12 @@ The following code example demonstrates how to generate an enveloping XML signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/DataObject/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/XMLDSIG Signing/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/DataObject/Overview/source.vb" id="Snippet1"::: The following code example demonstrates how to check an XML signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/DataObject/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/XMLDSIG Verification/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/DataObject/Overview/source1.vb" id="Snippet1"::: ]]> @@ -111,12 +111,12 @@ The following code example demonstrates how to generate an enveloping XML signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/DataObject/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/XMLDSIG Signing/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/DataObject/Overview/source.vb" id="Snippet1"::: The following code example demonstrates how to check an XML signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/DataObject/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/XMLDSIG Verification/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/DataObject/Overview/source1.vb" id="Snippet1"::: ]]> @@ -219,12 +219,12 @@ The following code example demonstrates how to generate an enveloping XML signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/DataObject/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/XMLDSIG Signing/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/DataObject/Overview/source.vb" id="Snippet1"::: The following code example demonstrates how to check an XML signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/DataObject/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/XMLDSIG Verification/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/DataObject/Overview/source1.vb" id="Snippet1"::: ]]> @@ -359,12 +359,12 @@ The following code example demonstrates how to generate an enveloping XML signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/DataObject/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/XMLDSIG Signing/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/DataObject/Overview/source.vb" id="Snippet1"::: The following code example demonstrates how to check an XML signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/DataObject/Overview/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/XMLDSIG Verification/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/DataObject/Overview/source1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/DataReference.xml b/xml/System.Security.Cryptography.Xml/DataReference.xml index 427c6f72f63..a635854cd4b 100644 --- a/xml/System.Security.Cryptography.Xml/DataReference.xml +++ b/xml/System.Security.Cryptography.Xml/DataReference.xml @@ -53,7 +53,7 @@ The following code example demonstrates how to use the class to encrypt and decrypt multiple XML elements using different session keys. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/DataReference/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.DataReference/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/DataReference/Overview/sample.vb" id="Snippet1"::: ]]> @@ -108,7 +108,7 @@ The following code example demonstrates how to use the class to encrypt and decrypt multiple XML elements using different session keys. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/DataReference/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.DataReference/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/DataReference/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/EncryptedData.xml b/xml/System.Security.Cryptography.Xml/EncryptedData.xml index c3a6c63927d..7c916b468d4 100644 --- a/xml/System.Security.Cryptography.Xml/EncryptedData.xml +++ b/xml/System.Security.Cryptography.Xml/EncryptedData.xml @@ -49,7 +49,7 @@ The following example demonstrates how to encrypt and decrypt an XML element by using the class. This example then displays various properties of the class to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedData/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedData/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedData/Overview/sample.vb" id="Snippet1"::: ]]> @@ -93,7 +93,7 @@ The following example demonstrates how to encrypt and decrypt an XML element by using the class. This example then displays various properties of the class to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedData/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedData/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedData/Overview/sample.vb" id="Snippet1"::: ]]> @@ -196,7 +196,7 @@ The following code example demonstrates how to encrypt and decrypt an XML element by using the class. This example then displays various properties of the class to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedData/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedData/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedData/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/EncryptedKey.xml b/xml/System.Security.Cryptography.Xml/EncryptedKey.xml index ea9a69975ed..9f3fffc3c19 100644 --- a/xml/System.Security.Cryptography.Xml/EncryptedKey.xml +++ b/xml/System.Security.Cryptography.Xml/EncryptedKey.xml @@ -51,7 +51,7 @@ The following example illustrates how to encrypt and decrypt an XML element by using the class. This example then displays the values of various properties of the class to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedKey/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedKey/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedKey/Overview/example.vb" id="Snippet1"::: ]]> @@ -95,7 +95,7 @@ The following example illustrates how to encrypt and decrypt an XML element by using the class. This example then displays the values of various properties of the class to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedKey/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedKey/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedKey/Overview/example.vb" id="Snippet1"::: ]]> @@ -245,7 +245,7 @@ The following example illustrates how to encrypt and decrypt an XML element by using the class. This example then displays the values of various properties of the class to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedKey/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedKey/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedKey/Overview/example.vb" id="Snippet1"::: ]]> @@ -348,7 +348,7 @@ The following example illustrates how to encrypt and decrypt an XML element by using the class. This example then displays the values of various properties of the class to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedKey/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedKey/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedKey/Overview/example.vb" id="Snippet1"::: ]]> @@ -398,7 +398,7 @@ The following example illustrates how to encrypt and decrypt an XML element by using the class. This example then displays the values of various properties of the class to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedKey/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedKey/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedKey/Overview/example.vb" id="Snippet1"::: ]]> @@ -446,7 +446,7 @@ The following example illustrates how to encrypt and decrypt an XML element by using the class. This example then displays the values of various properties of the class to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedKey/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedKey/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedKey/Overview/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/EncryptedReference.xml b/xml/System.Security.Cryptography.Xml/EncryptedReference.xml index a01fa5555a0..294912502b7 100644 --- a/xml/System.Security.Cryptography.Xml/EncryptedReference.xml +++ b/xml/System.Security.Cryptography.Xml/EncryptedReference.xml @@ -49,7 +49,7 @@ The following example uses the method in the class to write the XML values to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/CipherReference/GetXml/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CipherReference2/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/CipherReference/GetXml/example.vb" id="Snippet1"::: ]]> @@ -322,7 +322,7 @@ The following example uses the method in the class to write the XML values to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/CipherReference/GetXml/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CipherReference2/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/CipherReference/GetXml/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/EncryptedType.xml b/xml/System.Security.Cryptography.Xml/EncryptedType.xml index 80691edb680..ae9d381f46b 100644 --- a/xml/System.Security.Cryptography.Xml/EncryptedType.xml +++ b/xml/System.Security.Cryptography.Xml/EncryptedType.xml @@ -51,7 +51,7 @@ The following code example demonstrates how to encrypt and decrypt an XML element using the class that derives from the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedType/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML-EncryptedData - EncryptedType/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedType/Overview/sample.vb" id="Snippet1"::: ]]> @@ -95,7 +95,7 @@ The following code example demonstrates how to encrypt and decrypt an XML element using the class that derives from the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedType/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML-EncryptedData - EncryptedType/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedType/Overview/sample.vb" id="Snippet1"::: ]]> @@ -194,7 +194,7 @@ The following code example demonstrates how to encrypt and decrypt an XML element using the class that derives from the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedType/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML-EncryptedData - EncryptedType/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedType/Overview/sample.vb" id="Snippet1"::: ]]> @@ -244,7 +244,7 @@ The following code example demonstrates how to encrypt and decrypt an XML element using the class that derives from the class. This sample then displays various properties of the class to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedData/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedData/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedData/Overview/sample.vb" id="Snippet1"::: ]]> @@ -293,7 +293,7 @@ The following code example demonstrates how to encrypt and decrypt an XML element using the class that derives from the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedType/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML-EncryptedData - EncryptedType/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedType/Overview/sample.vb" id="Snippet1"::: ]]> @@ -347,7 +347,7 @@ The following code example demonstrates how to encrypt and decrypt an XML element using the class that derives from the class. This sample then displays various properties of the class to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedData/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedData/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedData/Overview/sample.vb" id="Snippet1"::: ]]> @@ -437,7 +437,7 @@ The following code example demonstrates how to encrypt and decrypt an XML element using the class that derives from the class. This sample then displays various properties of the class to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedData/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedData/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedData/Overview/sample.vb" id="Snippet1"::: ]]> @@ -491,7 +491,7 @@ The following code example demonstrates how to encrypt and decrypt an XML element using the class that derives from the class. This sample then displays various properties of the class to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedData/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedData/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedData/Overview/sample.vb" id="Snippet1"::: ]]> @@ -552,7 +552,7 @@ The following code example demonstrates how to encrypt and decrypt an XML element using the class that derives from the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedType/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML-EncryptedData - EncryptedType/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedType/Overview/sample.vb" id="Snippet1"::: ]]> @@ -602,7 +602,7 @@ The following code example demonstrates how to encrypt and decrypt an XML element using the class that derives from the class. This sample then displays various properties of the class to the console. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedData/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedData/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedData/Overview/sample.vb" id="Snippet1"::: ]]> @@ -651,7 +651,7 @@ The following code example demonstrates how to encrypt and decrypt an XML element using the class that derives from the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedType/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML-EncryptedData - EncryptedType/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedType/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/EncryptedXml.xml b/xml/System.Security.Cryptography.Xml/EncryptedXml.xml index 56e2a85f946..9176b04b863 100644 --- a/xml/System.Security.Cryptography.Xml/EncryptedXml.xml +++ b/xml/System.Security.Cryptography.Xml/EncryptedXml.xml @@ -65,27 +65,27 @@ The following code example demonstrates how to create a simple utility class that uses the algorithm to encrypt an XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.MainXMLEncDecryptDataOOP/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample.vb" id="Snippet1"::: The following code example demonstrates how to encrypt an XML document using a symmetric key. This example does not include any key information in the encrypted XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecryptData/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.vb" id="Snippet1"::: The following code example demonstrates how to encrypt an XML document using a symmetric key. This example embeds a key name in the encrypted XML document that the decrypting method uses to find the appropriate decryption key. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMapKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.vb" id="Snippet1"::: The following code example demonstrates how to encrypt an XML document using an asymmetric key. This example creates a symmetric session key to encrypt the document and then uses the asymmetric key to embed an encrypted version of the session key into the XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncImbedKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.vb" id="Snippet1"::: The following code example demonstrates how to encrypt an XML document using an X.509 certificate. This example creates a symmetric session key to encrypt the document and then uses the X.509 certificate to embed an encrypted version of the session key into the XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMapKeyX509/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample3.vb" id="Snippet1"::: ]]> @@ -105,22 +105,22 @@ The following code example demonstrates how to encrypt an XML document using a symmetric key. This example does not include any key information in the encrypted XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecryptData/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.vb" id="Snippet1"::: The following code example demonstrates how to encrypt an XML document using a symmetric key. This example embeds a key name in the encrypted XML document that the decrypting method uses to find the appropriate decryption key. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMapKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.vb" id="Snippet1"::: The following code example demonstrates how to encrypt an XML document using an asymmetric key. This example creates a symmetric session key to encrypt the document and then uses the asymmetric key to embed an encrypted version of the session key into the XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncImbedKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.vb" id="Snippet1"::: The following code example demonstrates how to encrypt an XML document using an X.509 certificate. This example creates a symmetric session key to encrypt the document and then uses the X.509 certificate to embed an encrypted version of the session key into the XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMapKeyX509/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample3.vb" id="Snippet1"::: ]]> @@ -174,22 +174,22 @@ The following code example demonstrates how to encrypt an XML document using a symmetric key. This example does not include any key information in the encrypted XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecryptData/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.vb" id="Snippet1"::: The following code example demonstrates how to encrypt an XML document using a symmetric key. This example embeds a key name in the encrypted XML document that the decrypting method uses to find the appropriate decryption key. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMapKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.vb" id="Snippet1"::: The following code example demonstrates how to encrypt an XML document using an asymmetric key. This example creates a symmetric session key to encrypt the document and then uses the asymmetric key to embed an encrypted version of the session key into the XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncImbedKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.vb" id="Snippet1"::: The following code example demonstrates how to encrypt an XML document using an X.509 certificate. This example creates a symmetric session key to encrypt the document and then uses the X.509 certificate to embed an encrypted version of the session key into the XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMapKeyX509/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample3.vb" id="Snippet1"::: ]]> @@ -247,12 +247,12 @@ The following code example demonstrates how to encrypt an XML document using a symmetric key. This example embeds a key name in the encrypted XML document that the decrypting method uses to find the appropriate decryption key. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMapKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.vb" id="Snippet1"::: The following code example demonstrates how to encrypt an XML document using an asymmetric key. This example creates a symmetric session key to encrypt the document and then uses the asymmetric key to embed an encrypted version of the session key into the XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncImbedKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.vb" id="Snippet1"::: ]]> @@ -367,7 +367,7 @@ The following code example demonstrates how to encrypt an XML document using a symmetric key. This example embeds a key name in the encrypted XML document that the decrypting method uses to find the appropriate decryption key. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/AddKeyNameMapping/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecrypt/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/AddKeyNameMapping/sample.vb" id="Snippet1"::: ]]> @@ -469,7 +469,7 @@ The following code example demonstrates how to encrypt an XML document using a symmetric key. This example does not include any key information in the encrypted XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecryptData/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.vb" id="Snippet1"::: ]]> @@ -539,12 +539,12 @@ The following code example demonstrates how to encrypt an XML document using an asymmetric key. This example creates a symmetric session key to encrypt the document and then uses the asymmetric key to embed an encrypted version of the session key into the XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncImbedKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.vb" id="Snippet1"::: The following code example demonstrates how to encrypt an XML document using an X.509 certificate. This example creates a symmetric session key to encrypt the document and then uses the X.509 certificate to embed an encrypted version of the session key into the XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMapKeyX509/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample3.vb" id="Snippet1"::: The following code example demonstrates how to decrypt a high level `` tag that contains another encrypted `` tag. @@ -844,12 +844,12 @@ The following code example demonstrates how to encrypt an XML document using a symmetric key. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/AddKeyNameMapping/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecrypt/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/AddKeyNameMapping/sample.vb" id="Snippet1"::: The following code example demonstrates how to encrypt an XML document using an X.509 certificate. This example creates a symmetric session key to encrypt the document and then uses the X.509 certificate to embed an encrypted version of the session key into the XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMapKeyX509/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample3.vb" id="Snippet1"::: ]]> @@ -917,7 +917,7 @@ The following code example demonstrates how to encrypt an XML document using an X.509 certificate. This example creates a symmetric session key to encrypt the document and then uses the X.509 certificate to embed an encrypted version of the session key into the XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMapKeyX509/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample3.vb" id="Snippet1"::: ]]> @@ -989,7 +989,7 @@ The following code example demonstrates how to encrypt an XML document using a symmetric key. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/AddKeyNameMapping/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecrypt/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/AddKeyNameMapping/sample.vb" id="Snippet1"::: ]]> @@ -1019,17 +1019,17 @@ The following code example demonstrates how to encrypt an XML document using a symmetric key. This example does not include any key information in the encrypted XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecryptData/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.vb" id="Snippet1"::: The following code example demonstrates how to encrypt an XML document using a symmetric key. This example embeds a key name in the encrypted XML document that the decrypting method uses to find the appropriate decryption key. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMapKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.vb" id="Snippet1"::: The following code example demonstrates how to encrypt an XML document using an asymmetric key. This example creates a symmetric session key to encrypt the document and then uses the asymmetric key to embed an encrypted version of the session key into the XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncImbedKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.vb" id="Snippet1"::: ]]> @@ -1083,17 +1083,17 @@ The following code example demonstrates how to encrypt an XML document using a symmetric key. This example does not include any key information in the encrypted XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecryptData/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.vb" id="Snippet1"::: The following code example demonstrates how to encrypt an XML document using a symmetric key. This example embeds a key name in the encrypted XML document that the decrypting method uses to find the appropriate decryption key. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMapKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.vb" id="Snippet1"::: The following code example demonstrates how to encrypt an XML document using an asymmetric key. This example creates a symmetric session key to encrypt the document and then uses the asymmetric key to embed an encrypted version of the session key into the XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncImbedKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.vb" id="Snippet1"::: ]]> @@ -1156,7 +1156,7 @@ The following code example demonstrates how to encrypt an XML document using a symmetric key. This example does not include any key information in the encrypted XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecryptData/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.vb" id="Snippet1"::: ]]> @@ -1186,7 +1186,7 @@ The following code example demonstrates how to encrypt an XML document using an asymmetric key. This example creates a symmetric session key to encrypt the document and then uses the asymmetric key to embed an encrypted version of the session key into the XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncImbedKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.vb" id="Snippet1"::: ]]> @@ -1298,7 +1298,7 @@ The following code example demonstrates how to encrypt an XML document using an asymmetric key. This example creates a symmetric session key to encrypt the document and then uses the asymmetric key to embed an encrypted version of the session key into the XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncImbedKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.vb" id="Snippet1"::: ]]> @@ -1663,7 +1663,7 @@ The value of the parameter is not a su The following code example demonstrates how to encrypt an XML document using a symmetric key. This example does not include any key information in the encrypted XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecryptData/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.vb" id="Snippet1"::: ]]> @@ -1724,7 +1724,7 @@ The value of the parameter is not a su The following code example demonstrates how to encrypt an XML document using a symmetric key. This example does not include any key information in the encrypted XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecryptData/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.vb" id="Snippet1"::: ]]> @@ -1894,7 +1894,7 @@ The value of the parameter is not a su The following code example demonstrates how to encrypt an XML document using a symmetric key. This example does not include any key information in the encrypted XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecryptData/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.vb" id="Snippet1"::: ]]> @@ -1980,7 +1980,7 @@ The value of the parameter is not a su The following code example demonstrates how to encrypt an XML document using a symmetric key. This example does not include any key information in the encrypted XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecryptData/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.vb" id="Snippet1"::: ]]> @@ -2066,7 +2066,7 @@ The value of the parameter is not a su The following code example demonstrates how to encrypt an XML document using a symmetric key. This example does not include any key information in the encrypted XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecryptData/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.vb" id="Snippet1"::: ]]> @@ -2113,7 +2113,7 @@ The value of the parameter is not a su The following code example demonstrates how to encrypt an XML document using a symmetric key. This example does not include any key information in the encrypted XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecryptData/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.vb" id="Snippet1"::: ]]> @@ -2199,7 +2199,7 @@ The value of the parameter is not a su The following code example demonstrates how to encrypt an XML document using a symmetric key. This example does not include any key information in the encrypted XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecryptData/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.vb" id="Snippet1"::: ]]> @@ -2324,7 +2324,7 @@ The value of the parameter is not a su The following code example demonstrates how to encrypt an XML document using an asymmetric key. This example creates a symmetric session key to encrypt the document and then uses the asymmetric key to embed an encrypted version of the session key into the XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncImbedKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.vb" id="Snippet1"::: ]]> @@ -2527,7 +2527,7 @@ The value of the parameter is not a su The following code example demonstrates how to encrypt an XML document using a symmetric key. This example does not include any key information in the encrypted XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecryptData/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/EncryptionMethod.xml b/xml/System.Security.Cryptography.Xml/EncryptionMethod.xml index 39dcd7d0cec..dea67ebe752 100644 --- a/xml/System.Security.Cryptography.Xml/EncryptionMethod.xml +++ b/xml/System.Security.Cryptography.Xml/EncryptionMethod.xml @@ -53,12 +53,12 @@ The following code example demonstrates how to create a simple utility class that uses the algorithm to encrypt an XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.MainXMLEncDecryptDataOOP/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample.vb" id="Snippet1"::: The following code example demonstrates how to encrypt an XML document using a symmetric key. This example does not include any key information in the encrypted XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecryptData/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.vb" id="Snippet1"::: ]]> @@ -154,12 +154,12 @@ The following code example demonstrates how to create a simple utility class that uses the algorithm to encrypt an XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.MainXMLEncDecryptDataOOP/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample.vb" id="Snippet1"::: The following code example demonstrates how to encrypt an XML document using a symmetric key. This example does not include any key information in the encrypted XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMinimalDecryptData/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample4.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/EncryptionProperty.xml b/xml/System.Security.Cryptography.Xml/EncryptionProperty.xml index e9ba7f535b0..bb5915be504 100644 --- a/xml/System.Security.Cryptography.Xml/EncryptionProperty.xml +++ b/xml/System.Security.Cryptography.Xml/EncryptionProperty.xml @@ -51,7 +51,7 @@ The following code example encrypts and decrypts an XML document. This code example creates an object that contains custom information about the element, and adds the object to the collection of the class. Finally, this code example displays information about the object and the collection. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptionProperty/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptionProperty/Overview/sample.vb" id="Snippet1"::: ]]> @@ -132,7 +132,7 @@ The following code example encrypts and decrypts an XML document. This code example creates an object that contains custom information about the element, and adds the object to the collection of the class. Finally, this code example displays information about the object and the collection. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptionProperty/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptionProperty/Overview/sample.vb" id="Snippet1"::: ]]> @@ -228,7 +228,7 @@ The following code example encrypts and decrypts an XML document. This code example creates an object that contains custom information about the element, and adds the object to the collection of the class. Finally, this code example displays information about the object and the collection. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptionProperty/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptionProperty/Overview/sample.vb" id="Snippet1"::: ]]> @@ -321,7 +321,7 @@ The following code example encrypts and decrypts an XML document. This code example creates an object that contains custom information about the element, and adds the object to the collection of the class. Finally, this code example displays information about the object and the collection. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptionProperty/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptionProperty/Overview/sample.vb" id="Snippet1"::: ]]> @@ -371,7 +371,7 @@ The following code example encrypts and decrypts an XML document. This code example creates an object that contains custom information about the element, and adds the object to the collection of the class. Finally, this code example displays information about the object and the collection. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptionProperty/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptionProperty/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/EncryptionPropertyCollection.xml b/xml/System.Security.Cryptography.Xml/EncryptionPropertyCollection.xml index 56e73fa6f5f..7146b761f7e 100644 --- a/xml/System.Security.Cryptography.Xml/EncryptionPropertyCollection.xml +++ b/xml/System.Security.Cryptography.Xml/EncryptionPropertyCollection.xml @@ -62,7 +62,7 @@ The following code example encrypts and decrypts an XML document. This code example creates an object that contains custom information about the element, and adds the object to the collection of the class. Finally, this code example displays information about the object and the collection. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptionProperty/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptionProperty/Overview/sample.vb" id="Snippet1"::: ]]> @@ -101,7 +101,7 @@ The following code example encrypts and decrypts an XML document. This code example creates an object that contains custom information about the element, and adds the object to the collection of the class. Finally, this code example displays information about the object and the collection. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptionProperty/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptionProperty/Overview/sample.vb" id="Snippet1"::: ]]> @@ -148,7 +148,7 @@ The following code example encrypts and decrypts an XML document. This code example creates an object that contains custom information about the element, and adds the object to the collection of the class. Finally, this code example displays information about the object and the collection. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptionProperty/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptionProperty/Overview/sample.vb" id="Snippet1"::: ]]> @@ -356,7 +356,7 @@ The following code example encrypts and decrypts an XML document. This code example creates an object that contains custom information about the element, and adds the object to the collection of the class. Finally, this code example displays information about the object and the collection. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptionProperty/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptionProperty/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/IRelDecryptor.xml b/xml/System.Security.Cryptography.Xml/IRelDecryptor.xml index ad4ebca78bb..bff1599a620 100644 --- a/xml/System.Security.Cryptography.Xml/IRelDecryptor.xml +++ b/xml/System.Security.Cryptography.Xml/IRelDecryptor.xml @@ -41,7 +41,7 @@ The following code example shows how to validate an XML digital signature using the interface and the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/IRelDecryptor/Overview/sample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlLicenseTransform/VB/sample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/IRelDecryptor/Overview/sample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/KeyInfo.xml b/xml/System.Security.Cryptography.Xml/KeyInfo.xml index bd8fb502b20..6f6a601b23b 100644 --- a/xml/System.Security.Cryptography.Xml/KeyInfo.xml +++ b/xml/System.Security.Cryptography.Xml/KeyInfo.xml @@ -58,22 +58,22 @@ The following code example uses the object when signing a resource represented by a Universal Resource Identifier (URI). This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: The following code example uses the object when signing an XML document. This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: The following code example uses the object when encrypting an XML document. This example embeds an encrypted key within the encrypted XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncImbedKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.vb" id="Snippet1"::: The following code example uses the object when encrypting an XML document. This example maps a name to a symmetric key to identify it to the decryption method. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMapKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.vb" id="Snippet1"::: ]]> @@ -113,22 +113,22 @@ The following code example uses the object when signing a resource represented by a Universal Resource Identifier (URI). This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: The following code example uses the object when signing an XML document. This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: The following code example uses the object when encrypting an XML document. This example embeds an encrypted key within the encrypted XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncImbedKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.vb" id="Snippet1"::: The following code example uses the object when encrypting an XML document. This example maps a name to a symmetric key to identify it to the decryption method. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMapKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.vb" id="Snippet1"::: ]]> @@ -175,22 +175,22 @@ The following code example uses the object when signing a resource represented by a Universal Resource Identifier (URI). This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: The following code example uses the object when signing an XML document. This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: The following code example uses the object when encrypting an XML document. This example embeds an encrypted key within the encrypted XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncImbedKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.vb" id="Snippet1"::: The following code example uses the object when encrypting an XML document. This example maps a name to a symmetric key to identify it to the decryption method. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMapKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/KeyInfoEncryptedKey.xml b/xml/System.Security.Cryptography.Xml/KeyInfoEncryptedKey.xml index 112fbb65b25..6eba703feef 100644 --- a/xml/System.Security.Cryptography.Xml/KeyInfoEncryptedKey.xml +++ b/xml/System.Security.Cryptography.Xml/KeyInfoEncryptedKey.xml @@ -57,7 +57,7 @@ The following code example demonstrates how to encrypt an XML document using an asymmetric key. This example creates a symmetric session key to encrypt the document and then uses the asymmetric key to embed an encrypted version of the session key into the XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncImbedKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.vb" id="Snippet1"::: ]]> @@ -77,7 +77,7 @@ The following code example demonstrates how to encrypt an XML document using an asymmetric key. This example creates a symmetric session key to encrypt the document and then uses the asymmetric key to embed an encrypted version of the session key into the XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncImbedKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.vb" id="Snippet1"::: ]]> @@ -156,7 +156,7 @@ The following code example demonstrates how to encrypt an XML document using an asymmetric key. This example creates a symmetric session key to encrypt the document and then uses the asymmetric key to embed an encrypted version of the session key into the XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncImbedKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/KeyInfoName.xml b/xml/System.Security.Cryptography.Xml/KeyInfoName.xml index 3a159f45db3..4759f9f757f 100644 --- a/xml/System.Security.Cryptography.Xml/KeyInfoName.xml +++ b/xml/System.Security.Cryptography.Xml/KeyInfoName.xml @@ -52,22 +52,22 @@ The following code example uses the object when signing a resource represented by a Universal Resource Identifier (URI). This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: The following code example uses the object when signing an XML document. This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: The following code example uses the object when encrypting an XML document. This example embeds an encrypted key within the encrypted XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncImbedKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.vb" id="Snippet1"::: The following code example uses the object when encrypting an XML document. This example maps a name to a symmetric key to identify it to the decryption method. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMapKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.vb" id="Snippet1"::: ]]> @@ -116,22 +116,22 @@ The following code example uses the object when signing a resource represented by a Universal Resource Identifier (URI). This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: The following code example uses the object when signing an XML document. This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: The following code example uses the object when encrypting an XML document. This example embeds an encrypted key within the encrypted XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncImbedKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.vb" id="Snippet1"::: The following code example uses the object when encrypting an XML document. This example maps a name to a symmetric key to identify it to the decryption method. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMapKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.vb" id="Snippet1"::: ]]> @@ -311,22 +311,22 @@ The following code example uses the object when signing a resource represented by a Universal Resource Identifier (URI). This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: The following code example uses the object when signing an XML document. This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: The following code example uses the object when encrypting an XML document. This example embeds an encrypted key within the encrypted XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncImbedKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample1.vb" id="Snippet1"::: The following code example uses the object when encrypting an XML document. This example maps a name to a symmetric key to identify it to the decryption method. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XMLEncMapKey/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/EncryptedXml/Overview/sample2.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/KeyInfoX509Data.xml b/xml/System.Security.Cryptography.Xml/KeyInfoX509Data.xml index d0b5883ce67..a7e9edc8c82 100644 --- a/xml/System.Security.Cryptography.Xml/KeyInfoX509Data.xml +++ b/xml/System.Security.Cryptography.Xml/KeyInfoX509Data.xml @@ -56,12 +56,12 @@ **Example #1** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreatedetached.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.KeyInfoX509Data_Detached/VB/examplecreatedetached.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreatedetached.vb" id="Snippet1"::: **Example #2** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreateenvelope.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.KeyInfoX509Data_Envelope/VB/examplecreateenvelope.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreateenvelope.vb" id="Snippet1"::: ]]> @@ -180,12 +180,12 @@ **Example #1** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreatedetached.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.KeyInfoX509Data_Detached/VB/examplecreatedetached.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreatedetached.vb" id="Snippet2"::: **Example #2** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreateenvelope.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.KeyInfoX509Data_Envelope/VB/examplecreateenvelope.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreateenvelope.vb" id="Snippet2"::: ]]> @@ -237,7 +237,7 @@ The following code example demonstrates how to use the object while signing and verifying an XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfoX509Data/.ctor/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.KeyInfoX509Data/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfoX509Data/.ctor/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/KeyReference.xml b/xml/System.Security.Cryptography.Xml/KeyReference.xml index 30b0cfab9e5..c6823477c16 100644 --- a/xml/System.Security.Cryptography.Xml/KeyReference.xml +++ b/xml/System.Security.Cryptography.Xml/KeyReference.xml @@ -55,7 +55,7 @@ The following code example demonstrates how to use a object while encrypting an XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyReference/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.Keyreference/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyReference/Overview/sample.vb" id="Snippet1"::: ]]> @@ -110,7 +110,7 @@ The following code example demonstrates how to use a object while encrypting an XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyReference/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.Keyreference/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyReference/Overview/sample.vb" id="Snippet1"::: ]]> @@ -160,7 +160,7 @@ The following code example demonstrates how to use a object while encrypting an XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyReference/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.Keyreference/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyReference/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/RSAKeyValue.xml b/xml/System.Security.Cryptography.Xml/RSAKeyValue.xml index 67faff9594e..94547fe891b 100644 --- a/xml/System.Security.Cryptography.Xml/RSAKeyValue.xml +++ b/xml/System.Security.Cryptography.Xml/RSAKeyValue.xml @@ -56,12 +56,12 @@ The following code example demonstrates how to generate and verify an enveloped XML signature using the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: The following code example demonstrates how to generate and verify a detached XML signature using the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: ]]> @@ -151,12 +151,12 @@ The following code example demonstrates how to generate and verify an enveloped XML signature using the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: The following code example demonstrates how to generate and verify a detached XML signature using the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/Reference.xml b/xml/System.Security.Cryptography.Xml/Reference.xml index 769d73b4fc3..d7f13d3ec3c 100644 --- a/xml/System.Security.Cryptography.Xml/Reference.xml +++ b/xml/System.Security.Cryptography.Xml/Reference.xml @@ -64,7 +64,7 @@ The following code example demonstrates how to generate and verify an enveloped XML signature using the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: ]]> @@ -113,12 +113,12 @@ The following code example demonstrates how to generate and verify an enveloped XML signature using the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: The following code example demonstrates how to generate and verify a detached XML signature using the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: ]]> @@ -209,7 +209,7 @@ The following code example uses the class to sign and verify an XML document using an envelope signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/Reference/.ctor/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.Signature - Envelope/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/Reference/.ctor/sample.vb" id="Snippet1"::: ]]> @@ -265,12 +265,12 @@ The following code example demonstrates how to generate and verify an enveloped XML signature using the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: The following code example demonstrates how to generate and verify a detached XML signature using the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: ]]> @@ -661,7 +661,7 @@ The following code example demonstrates how to generate and verify an enveloped XML signature using the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/Signature.xml b/xml/System.Security.Cryptography.Xml/Signature.xml index bbed1f0fa85..1c9588016d2 100644 --- a/xml/System.Security.Cryptography.Xml/Signature.xml +++ b/xml/System.Security.Cryptography.Xml/Signature.xml @@ -52,12 +52,12 @@ The following code example uses the class with the class to sign and verify an XML document using an envelope signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/Reference/.ctor/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.Signature - Envelope/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/Reference/.ctor/sample.vb" id="Snippet1"::: The following code example uses the class with the class to sign an object and verify an XML document using a detached signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/Signature/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/XMLDSIG - Signature - Detached/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/Signature/Overview/sample.vb" id="Snippet1"::: ]]> @@ -98,12 +98,12 @@ The following code example uses the class with the class to sign and verify an XML document using an envelope signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/Reference/.ctor/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.Signature - Envelope/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/Reference/.ctor/sample.vb" id="Snippet1"::: The following code example uses the class with the class to sign an object and verify an XML document using a detached signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/Signature/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/XMLDSIG - Signature - Detached/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/Signature/Overview/sample.vb" id="Snippet1"::: ]]> @@ -290,12 +290,12 @@ The following code example uses the class with the class to sign and verify an XML document using an envelope signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/Reference/.ctor/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.Signature - Envelope/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/Reference/.ctor/sample.vb" id="Snippet1"::: The following code example uses the class with the class to sign an object and verify an XML document using a detached signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/Signature/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/XMLDSIG - Signature - Detached/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/Signature/Overview/sample.vb" id="Snippet1"::: ]]> @@ -505,12 +505,12 @@ The following code example uses the class with the class to sign and verify an XML document using an envelope signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/Reference/.ctor/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.Signature - Envelope/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/Reference/.ctor/sample.vb" id="Snippet1"::: The following code example uses the class with the class to sign an object and verify an XML document using a detached signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/Signature/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/XMLDSIG - Signature - Detached/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/Signature/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/SignedXml.xml b/xml/System.Security.Cryptography.Xml/SignedXml.xml index 3a129ed803d..68383556c1f 100644 --- a/xml/System.Security.Cryptography.Xml/SignedXml.xml +++ b/xml/System.Security.Cryptography.Xml/SignedXml.xml @@ -44,12 +44,12 @@ The following code example shows how to sign and verify an entire XML document using an enveloped signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/Overview/exampleenvelope.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-AsymetricAlg-Envelope/VB/exampleenvelope.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/Overview/exampleenvelope.vb" id="Snippet1"::: The following code example shows how to sign and verify a single element of an XML document using an enveloping signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/Overview/sample.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.SignVerifyEnvelope - Specify Element/VB/sample.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/Overview/sample.vb" id="Snippet1"::: ]]> XML Signature Best Practices @@ -108,17 +108,17 @@ The following code example shows how to sign and verify a single element of an X The following code example shows how to sign and verify an entire XML document using an enveloped signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/Reference/.ctor/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.Signature - Envelope/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/Reference/.ctor/sample.vb" id="Snippet1"::: The following code example shows how to sign and verify a Uniform Resource Identifier (URI) addressable object using a detached signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/Signature/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/XMLDSIG - Signature - Detached/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/Signature/Overview/sample.vb" id="Snippet1"::: The following code example shows how to sign and verify a single element of an XML document using an enveloping signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.SignVerifyEnvelope - Specify Element/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/Overview/sample.vb" id="Snippet1"::: ]]> @@ -172,17 +172,17 @@ The following code example shows how to sign and verify a single element of an X The following code example shows how to sign and verify an entire XML document using an enveloped signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/Reference/.ctor/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.Signature - Envelope/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/Reference/.ctor/sample.vb" id="Snippet1"::: The following code example shows how to sign and verify a Uniform Resource Identifier (URI) addressable object using a detached signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/Signature/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/XMLDSIG - Signature - Detached/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/Signature/Overview/sample.vb" id="Snippet1"::: The following code example shows how to sign and verify a single element of an XML document using an enveloping signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.SignVerifyEnvelope - Specify Element/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/Overview/sample.vb" id="Snippet1"::: ]]> @@ -288,7 +288,7 @@ The following code example shows how to sign and verify a single element of an X The following code example computes and XML signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/AddObject/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml-AddObject-AddReference/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/AddObject/example.vb" id="Snippet1"::: ]]> @@ -344,17 +344,17 @@ The following code example shows how to sign and verify a single element of an X The following code example shows how to sign and verify an entire XML document using an enveloped signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/Reference/.ctor/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.Signature - Envelope/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/Reference/.ctor/sample.vb" id="Snippet1"::: The following code example shows how to sign and verify a Uniform Resource Identifier (URI) addressable object using a detached signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/Signature/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/XMLDSIG - Signature - Detached/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/Signature/Overview/sample.vb" id="Snippet1"::: The following code example shows how to sign and verify a single element of an XML document using an enveloping signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.SignVerifyEnvelope - Specify Element/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/Overview/sample.vb" id="Snippet1"::: ]]> @@ -416,17 +416,17 @@ The following code example shows how to sign and verify a single element of an X The following code example shows how to sign and verify an entire XML document using an enveloped signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/Overview/exampleenvelope.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-AsymetricAlg-Envelope/VB/exampleenvelope.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/Overview/exampleenvelope.vb" id="Snippet1"::: The following code example shows how to sign and verify a Uniform Resource Identifier (URI) addressable object using a detached signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/CheckSignature/exampledetached.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-AsymetricAlg-Detached/VB/exampledetached.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/exampledetached.vb" id="Snippet1"::: The following code example shows how to sign and verify a single element of an XML document using an enveloping signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.SignVerifyEnvelope - Specify Element/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/Overview/sample.vb" id="Snippet1"::: ]]> @@ -484,12 +484,12 @@ The following code example shows how to sign and verify a single element of an X The following code example shows how to sign and verify a Uniform Resource Identifier (URI) addressable object using a detached signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/CheckSignature/exampledetached.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-AsymetricAlg-Detached/VB/exampledetached.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/exampledetached.vb" id="Snippet1"::: The following code example shows how to sign and verify an entire XML document using an enveloped signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/Overview/exampleenvelope.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-AsymetricAlg-Envelope/VB/exampleenvelope.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/Overview/exampleenvelope.vb" id="Snippet1"::: ]]> @@ -548,12 +548,12 @@ The following code example shows how to sign and verify a single element of an X The following code example shows how to sign and verify a Uniform Resource Identifier (URI) addressable object using a detached signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigdetachedkeyedhashalg.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-KeyedHash-Detached/VB/xmldsigdetachedkeyedhashalg.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigdetachedkeyedhashalg.vb" id="Snippet1"::: The following code example shows how to sign and verify an entire XML document using an enveloping signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigenvkeyedhashalg.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-KeyedHash-Envelope/VB/xmldsigenvkeyedhashalg.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigenvkeyedhashalg.vb" id="Snippet1"::: ]]> @@ -635,7 +635,7 @@ The following code example shows how to sign and verify a single element of an X The following code example uses an X.509 certificate from a certificate store to sign and verify an XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/CheckSignature/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Security.Cryptography.Xml.SignedXml.CheckSignature/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/sample.vb" id="Snippet1"::: ]]> @@ -687,7 +687,7 @@ The following code example shows how to sign and verify a single element of an X The following code example shows how to sign and verify an entire XML document using an enveloping signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/CheckSignatureReturningKey/exampleenvelope.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXML_CheckReturnValue_Envelope/VB/exampleenvelope.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignatureReturningKey/exampleenvelope.vb" id="Snippet1"::: ]]> @@ -763,12 +763,12 @@ The following code example shows how to sign and verify a single element of an X The following code example shows how to sign and verify a Uniform Resource Identifier (URI) addressable object using a detached signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: The following code example shows how to sign and verify an entire XML document using an enveloping signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: ]]> @@ -831,12 +831,12 @@ The following code example shows how to sign and verify a single element of an X The following code example shows how to sign and verify a Uniform Resource Identifier (URI) addressable object using a detached signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigdetachedkeyedhashalg.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-KeyedHash-Detached/VB/xmldsigdetachedkeyedhashalg.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigdetachedkeyedhashalg.vb" id="Snippet1"::: The following code example shows how to sign and verify an entire XML document using an enveloping signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigenvkeyedhashalg.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-KeyedHash-Envelope/VB/xmldsigenvkeyedhashalg.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigenvkeyedhashalg.vb" id="Snippet1"::: ]]> @@ -1080,12 +1080,12 @@ The following code example shows how to sign and verify a single element of an X The following code example uses the object when signing a resource represented by a Universal Resource Identifier (URI). This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: The following code example uses the object when signing an XML document. This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: ]]> @@ -1142,7 +1142,7 @@ The following code example shows how to sign and verify a single element of an X The following code example shows how to use the method to verify an XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet3"::: ]]> @@ -1363,12 +1363,12 @@ The following code example shows how to sign and verify a single element of an X The following code example uses the property to sign and verify an entire XML document using an enveloped signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/Reference/.ctor/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.Signature - Envelope/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/Reference/.ctor/sample.vb" id="Snippet1"::: The following code example uses the property to sign and verify a Uniform Resource Identifier (URI) addressable object using a detached signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/Signature/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/XMLDSIG - Signature - Detached/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/Signature/Overview/sample.vb" id="Snippet1"::: ]]> @@ -1667,17 +1667,17 @@ The following code example shows how to sign and verify a single element of an X The following code example shows how to sign and verify an entire XML document using an enveloped signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/Overview/exampleenvelope.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-AsymetricAlg-Envelope/VB/exampleenvelope.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/Overview/exampleenvelope.vb" id="Snippet1"::: The following code example shows how to sign and verify a Uniform Resource Identifier (URI) addressable object using a detached signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/CheckSignature/exampledetached.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-AsymetricAlg-Detached/VB/exampledetached.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/exampledetached.vb" id="Snippet1"::: The following code example shows how to sign and verify a single element of an XML document using an enveloping signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.SignVerifyEnvelope - Specify Element/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/Overview/sample.vb" id="Snippet1"::: ]]> @@ -1814,7 +1814,7 @@ The following code example shows how to sign and verify a single element of an X The following code example demonstrates how to use members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigBase64Transform/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.vb" id="Snippet2"::: ]]> @@ -1869,7 +1869,7 @@ The following code example shows how to sign and verify a single element of an X The following code example demonstrates how to call members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigC14NTransform/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.vb" id="Snippet2"::: ]]> @@ -2109,7 +2109,7 @@ The following code example shows how to sign and verify a single element of an X The following code example demonstrates how to use members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.vb" id="Snippet2"::: ]]> @@ -2162,7 +2162,7 @@ The following code example shows how to sign and verify a single element of an X The following code example shows how to sign and verify an XML document using the class. This sample creates an envelope signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigExcC14NTransformUrl/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlDsigExcC14NTransform/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigExcC14NTransformUrl/example.vb" id="Snippet1"::: ]]> @@ -2215,7 +2215,7 @@ The following code example shows how to sign and verify a single element of an X The following code example shows how to sign and verify an XML document using the class. This sample creates an envelope signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigExcC14NWithCommentsTransformUrl/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlDsigExcC14NWithCommentsTransform/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigExcC14NWithCommentsTransformUrl/sample.vb" id="Snippet1"::: ]]> @@ -2746,7 +2746,7 @@ The following code example shows how to sign and verify a single element of an X The following code example demonstrates how to call members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXPathTransform/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.vb" id="Snippet2"::: ]]> @@ -2799,7 +2799,7 @@ The following code example shows how to sign and verify a single element of an X The following code example demonstrates how to use members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXsltTransform/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/X509IssuerSerial.xml b/xml/System.Security.Cryptography.Xml/X509IssuerSerial.xml index a2cd47c104b..14606543433 100644 --- a/xml/System.Security.Cryptography.Xml/X509IssuerSerial.xml +++ b/xml/System.Security.Cryptography.Xml/X509IssuerSerial.xml @@ -58,7 +58,7 @@ The following code example demonstrates how to sign and verify an XML document using an X.509 certificate from a certificate store. This example saves key information to the signed document using the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/X509IssuerSerial/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.X509IssuerSerial/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/X509IssuerSerial/Overview/sample.vb" id="Snippet1"::: ]]> @@ -116,7 +116,7 @@ The following code example demonstrates how to sign and verify an XML document using an X.509 certificate from a certificate store. This example saves key information to the signed document using the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/X509IssuerSerial/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.X509IssuerSerial/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/X509IssuerSerial/Overview/sample.vb" id="Snippet1"::: ]]> @@ -174,7 +174,7 @@ The following code example demonstrates how to sign and verify an XML document using an X.509 certificate from a certificate store. This example saves key information to the signed document using the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/X509IssuerSerial/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.X509IssuerSerial/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/X509IssuerSerial/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/XmlDsigBase64Transform.xml b/xml/System.Security.Cryptography.Xml/XmlDsigBase64Transform.xml index 686d1ddfc50..970e067a5a9 100644 --- a/xml/System.Security.Cryptography.Xml/XmlDsigBase64Transform.xml +++ b/xml/System.Security.Cryptography.Xml/XmlDsigBase64Transform.xml @@ -54,7 +54,7 @@ The following code example demonstrates how to use members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigBase64Transform/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.vb" id="Snippet2"::: ]]> @@ -94,7 +94,7 @@ The following code example demonstrates how to use the constructor. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigBase64Transform/VB/members.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.vb" id="Snippet1"::: ]]> @@ -189,7 +189,7 @@ The following code example demonstrates the use of the method to retrieve the output of the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigBase64Transform/VB/members.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.vb" id="Snippet7"::: ]]> @@ -242,7 +242,7 @@ The following code example demonstrates how to use the method to retrieve the output of the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigBase64Transform/VB/members.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.vb" id="Snippet8"::: ]]> @@ -292,7 +292,7 @@ The following code example demonstrates how to call the property to retrieve the valid input types for the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigBase64Transform/VB/members.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.vb" id="Snippet4"::: ]]> @@ -388,7 +388,7 @@ The following code example demonstrates how to call the method using the specified object as the input. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigBase64Transform/VB/members.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.vb" id="Snippet11"::: ]]> @@ -438,7 +438,7 @@ The following code example demonstrates how to call the property to retrieve the valid output types for the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigBase64Transform/VB/members.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/XmlDsigC14NTransform.xml b/xml/System.Security.Cryptography.Xml/XmlDsigC14NTransform.xml index 9cbdbf341a7..23fde5474d7 100644 --- a/xml/System.Security.Cryptography.Xml/XmlDsigC14NTransform.xml +++ b/xml/System.Security.Cryptography.Xml/XmlDsigC14NTransform.xml @@ -62,12 +62,12 @@ **Example #1** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: **Example #2** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigC14NTransform/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.vb" id="Snippet2"::: ]]> @@ -116,7 +116,7 @@ The following code example demonstrates how to use the constructor. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigC14NTransform/VB/members.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.vb" id="Snippet3"::: ]]> @@ -161,7 +161,7 @@ The following code example demonstrates how to use the constructor. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigC14NTransform/VB/members.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.vb" id="Snippet1"::: ]]> @@ -299,7 +299,7 @@ The following code example demonstrates how to use the method to retrieve the output of the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigC14NTransform/VB/members.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.vb" id="Snippet8"::: ]]> @@ -352,7 +352,7 @@ The following code example demonstrates how to use the method to retrieve the output of the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigC14NTransform/VB/members.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.vb" id="Snippet9"::: ]]> @@ -402,7 +402,7 @@ The following code example demonstrates how to call the property to retrieve the valid input types for the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigC14NTransform/VB/members.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.vb" id="Snippet5"::: ]]> @@ -498,7 +498,7 @@ The following code example demonstrates how to call the method using the specified object as the input. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigC14NTransform/VB/members.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.vb" id="Snippet12"::: ]]> @@ -548,7 +548,7 @@ The following code example demonstrates how to call the property to retrieve the valid output types for the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigC14NTransform/VB/members.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform.xml b/xml/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform.xml index 1ec9b4a66fc..d7eed8c7358 100644 --- a/xml/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform.xml +++ b/xml/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform.xml @@ -56,12 +56,12 @@ **Example #1** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampledetached.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.XmlDsigC14NWithCommentsTransform_Detached/VB/sampledetached.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampledetached.vb" id="Snippet1"::: **Example #2** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampleenvelope.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.XmlDsigC14NWithCommentsTransform_Envelope/VB/sampleenvelope.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampleenvelope.vb" id="Snippet1"::: ]]> @@ -103,12 +103,12 @@ **Example #1** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampledetached.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.XmlDsigC14NWithCommentsTransform_Detached/VB/sampledetached.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampledetached.vb" id="Snippet1"::: **Example #2** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampleenvelope.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.XmlDsigC14NWithCommentsTransform_Envelope/VB/sampleenvelope.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampleenvelope.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/XmlDsigEnvelopedSignatureTransform.xml b/xml/System.Security.Cryptography.Xml/XmlDsigEnvelopedSignatureTransform.xml index 5547f24110c..4edda74945c 100644 --- a/xml/System.Security.Cryptography.Xml/XmlDsigEnvelopedSignatureTransform.xml +++ b/xml/System.Security.Cryptography.Xml/XmlDsigEnvelopedSignatureTransform.xml @@ -58,12 +58,12 @@ **Example #1** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: **Example #2** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.vb" id="Snippet2"::: ]]> @@ -112,7 +112,7 @@ The following code example demonstrates how to use members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet2"::: ]]> @@ -157,7 +157,7 @@ The following code example demonstrates how to use the constructor with a value of `true` to include comments. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform/VB/members.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.vb" id="Snippet3"::: ]]> @@ -252,7 +252,7 @@ The following code example demonstrates how to use the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform/VB/members.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.vb" id="Snippet8"::: ]]> @@ -306,7 +306,7 @@ The following code example demonstrates how to use the method to retrieve the output of the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform/VB/members.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.vb" id="Snippet9"::: ]]> @@ -356,7 +356,7 @@ The following code example demonstrates how to call the property to retrieve the valid input types for the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform/VB/members.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.vb" id="Snippet5"::: ]]> @@ -408,7 +408,7 @@ The following code example demonstrates how to call the method using the specified object to configure the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform/VB/members.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.vb" id="Snippet11"::: ]]> @@ -460,7 +460,7 @@ The following code example demonstrates how to call the method using the specified object as the input. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigBase64Transform/VB/members.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.vb" id="Snippet12"::: ]]> @@ -511,7 +511,7 @@ The following code example demonstrates how to call the property to retrieve the valid output types for the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform/VB/members.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/XmlDsigExcC14NTransform.xml b/xml/System.Security.Cryptography.Xml/XmlDsigExcC14NTransform.xml index 1714e5398ee..6d67786529c 100644 --- a/xml/System.Security.Cryptography.Xml/XmlDsigExcC14NTransform.xml +++ b/xml/System.Security.Cryptography.Xml/XmlDsigExcC14NTransform.xml @@ -61,7 +61,7 @@ The following code example shows how to sign an XML document with the class using an envelope signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigExcC14NTransformUrl/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlDsigExcC14NTransform/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigExcC14NTransformUrl/example.vb" id="Snippet1"::: ]]> @@ -438,7 +438,7 @@ The following code example shows how to sign an XML document with the class using an envelope signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigExcC14NTransformUrl/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlDsigExcC14NTransform/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigExcC14NTransformUrl/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/XmlDsigExcC14NWithCommentsTransform.xml b/xml/System.Security.Cryptography.Xml/XmlDsigExcC14NWithCommentsTransform.xml index 64b4004f3d4..8b8122413d5 100644 --- a/xml/System.Security.Cryptography.Xml/XmlDsigExcC14NWithCommentsTransform.xml +++ b/xml/System.Security.Cryptography.Xml/XmlDsigExcC14NWithCommentsTransform.xml @@ -51,7 +51,7 @@ The following code example shows how to sign and verify an XML document using the class. This example creates an envelope signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigExcC14NWithCommentsTransformUrl/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlDsigExcC14NWithCommentsTransform/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigExcC14NWithCommentsTransformUrl/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/XmlDsigXPathTransform.xml b/xml/System.Security.Cryptography.Xml/XmlDsigXPathTransform.xml index 618d9b76351..69becb850df 100644 --- a/xml/System.Security.Cryptography.Xml/XmlDsigXPathTransform.xml +++ b/xml/System.Security.Cryptography.Xml/XmlDsigXPathTransform.xml @@ -58,12 +58,12 @@ **Example #1** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/XmlDsigXPathTransform/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlDsigXPathTransform/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigXPathTransform/Overview/sample.vb" id="Snippet1"::: **Example #2** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXPathTransform/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.vb" id="Snippet2"::: ]]> @@ -103,7 +103,7 @@ The following code example shows how to sign and verify an XML document using the class. This example creates an envelope signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/XmlDsigXPathTransform/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlDsigXPathTransform/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigXPathTransform/Overview/sample.vb" id="Snippet1"::: ]]> @@ -208,7 +208,7 @@ The following code example demonstrates how to use the method to retrieve the output of the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXPathTransform/VB/members.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.vb" id="Snippet8"::: ]]> @@ -263,7 +263,7 @@ The following code example demonstrates how to use the method to retrieve the output of the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXPathTransform/VB/members.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.vb" id="Snippet7"::: ]]> @@ -313,7 +313,7 @@ The following code example demonstrates how to call the property to retrieve the valid input types for the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXPathTransform/VB/members.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.vb" id="Snippet4"::: ]]> @@ -373,7 +373,7 @@ The following code example shows how to sign and verify an XML document using the class. This sample creates an envelope signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/XmlDsigXPathTransform/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlDsigXPathTransform/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigXPathTransform/Overview/sample.vb" id="Snippet1"::: ]]> @@ -432,7 +432,7 @@ The following code example demonstrates how to call the method using the specified object as the input. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXPathTransform/VB/members.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.vb" id="Snippet11"::: ]]> @@ -481,7 +481,7 @@ The following code example demonstrates how to call the property to retrieve the valid output types for the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXPathTransform/VB/members.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/XmlDsigXsltTransform.xml b/xml/System.Security.Cryptography.Xml/XmlDsigXsltTransform.xml index ba5cdc40671..771b039e153 100644 --- a/xml/System.Security.Cryptography.Xml/XmlDsigXsltTransform.xml +++ b/xml/System.Security.Cryptography.Xml/XmlDsigXsltTransform.xml @@ -62,12 +62,12 @@ **Example #1** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/XmlDsigXsltTransform/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlDsigXsltTransform/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigXsltTransform/Overview/sample.vb" id="Snippet1"::: **Example #2** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXsltTransform/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.vb" id="Snippet2"::: ]]> @@ -116,7 +116,7 @@ The following code example shows how to sign and verify an XML document using the class with an envelope signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/XmlDsigXsltTransform/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlDsigXsltTransform/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigXsltTransform/Overview/sample.vb" id="Snippet1"::: ]]> @@ -246,7 +246,7 @@ The following code example demonstrates how to use the method to retrieve the output of the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXsltTransform/VB/members.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.vb" id="Snippet8"::: ]]> @@ -299,7 +299,7 @@ The following code example demonstrates how to use the method to retrieve the output of the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXsltTransform/VB/members.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.vb" id="Snippet7"::: ]]> @@ -349,7 +349,7 @@ The following code example demonstrates how to call the property to retrieve the valid input types for the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXsltTransform/VB/members.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.vb" id="Snippet4"::: ]]> @@ -401,7 +401,7 @@ The following code example shows how to sign and verify an XML document using the class with an envelope signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/XmlDsigXsltTransform/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlDsigXsltTransform/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigXsltTransform/Overview/sample.vb" id="Snippet1"::: ]]> @@ -458,7 +458,7 @@ The following code example demonstrates how to call the method using the specified object as the input. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXsltTransform/VB/members.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.vb" id="Snippet11"::: ]]> @@ -507,7 +507,7 @@ The following code example demonstrates how to call the property to retrieve the valid output types for the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXsltTransform/VB/members.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/XmlLicenseTransform.xml b/xml/System.Security.Cryptography.Xml/XmlLicenseTransform.xml index 3bf337a922c..9d26e636dda 100644 --- a/xml/System.Security.Cryptography.Xml/XmlLicenseTransform.xml +++ b/xml/System.Security.Cryptography.Xml/XmlLicenseTransform.xml @@ -61,7 +61,7 @@ The following code example shows how to validate an XML digital signature using the interface and the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/IRelDecryptor/Overview/sample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlLicenseTransform/VB/sample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/IRelDecryptor/Overview/sample.vb" id="Snippet2"::: ]]> @@ -145,7 +145,7 @@ The following code example shows how to validate an XML digital signature using the interface and the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/IRelDecryptor/Overview/sample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.XmlLicenseTransform/VB/sample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/IRelDecryptor/Overview/sample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Cryptography/Aes.xml b/xml/System.Security.Cryptography/Aes.xml index f7778c64064..ec3af914f26 100644 --- a/xml/System.Security.Cryptography/Aes.xml +++ b/xml/System.Security.Cryptography/Aes.xml @@ -77,7 +77,7 @@ The following example demonstrates how to encrypt and decrypt sample data by using the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Aes/Overview/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/aessample/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Aes/Overview/program.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/aessample/fs/program.fs" id="Snippet1"::: ]]> @@ -133,7 +133,7 @@ The following example demonstrates how to encrypt and decrypt sample data using the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Aes/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/aessample/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Aes/Overview/program.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/aessample/fs/program.fs" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/AesCryptoServiceProvider.xml b/xml/System.Security.Cryptography/AesCryptoServiceProvider.xml index 1d32641f3a9..4e61ab8da1d 100644 --- a/xml/System.Security.Cryptography/AesCryptoServiceProvider.xml +++ b/xml/System.Security.Cryptography/AesCryptoServiceProvider.xml @@ -71,7 +71,7 @@ The following example demonstrates how to encrypt and decrypt sample data using the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AesCryptoServiceProvider/Overview/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/aescryptoservprovider/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AesCryptoServiceProvider/Overview/program.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/aescryptoservprovider/fs/program.fs" id="Snippet1"::: ]]> @@ -317,7 +317,7 @@ The following example shows how to use the method to decrypt an encrypted message. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AesCryptoServiceProvider/Overview/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/aescryptoservprovider/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AesCryptoServiceProvider/Overview/program.vb" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/aescryptoservprovider/fs/program.fs" id="Snippet3"::: ]]> @@ -477,7 +477,7 @@ The following example shows how to use the method to encrypt a message. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AesCryptoServiceProvider/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/aescryptoservprovider/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AesCryptoServiceProvider/Overview/program.vb" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/aescryptoservprovider/fs/program.fs" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Cryptography/AesManaged.xml b/xml/System.Security.Cryptography/AesManaged.xml index 065788b9995..e2ba0f5f2a2 100644 --- a/xml/System.Security.Cryptography/AesManaged.xml +++ b/xml/System.Security.Cryptography/AesManaged.xml @@ -83,7 +83,7 @@ The following example demonstrates how to encrypt and decrypt sample data using the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AesManaged/Overview/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/aesmanaged/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AesManaged/Overview/program.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/aesmanaged/fs/program.fs" id="Snippet1"::: ]]> @@ -298,7 +298,7 @@ The following example shows how to use the method to decrypt an encrypted message. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AesManaged/Overview/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/aesmanaged/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AesManaged/Overview/program.vb" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/aesmanaged/fs/program.fs" id="Snippet3"::: ]]> @@ -433,7 +433,7 @@ The following example shows how to use the method to encrypt a message. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AesManaged/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/aesmanaged/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AesManaged/Overview/program.vb" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/aesmanaged/fs/program.fs" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Cryptography/AsnEncodedData.xml b/xml/System.Security.Cryptography/AsnEncodedData.xml index 9a03018f897..83cb0858a15 100644 --- a/xml/System.Security.Cryptography/AsnEncodedData.xml +++ b/xml/System.Security.Cryptography/AsnEncodedData.xml @@ -70,7 +70,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb" id="Snippet1"::: ]]> @@ -136,7 +136,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb" id="Snippet1"::: ]]> @@ -271,7 +271,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb" id="Snippet1"::: ]]> @@ -337,7 +337,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb" id="Snippet1"::: ]]> @@ -434,7 +434,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb" id="Snippet1"::: ]]> @@ -537,7 +537,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb" id="Snippet1"::: ]]> @@ -610,7 +610,7 @@ extension.Format(true); The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb" id="Snippet1"::: ]]> @@ -679,7 +679,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb" id="Snippet1"::: ]]> @@ -744,7 +744,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/AsnEncodedDataCollection.xml b/xml/System.Security.Cryptography/AsnEncodedDataCollection.xml index b805bcd1b11..fe5b6bb6ee7 100644 --- a/xml/System.Security.Cryptography/AsnEncodedDataCollection.xml +++ b/xml/System.Security.Cryptography/AsnEncodedDataCollection.xml @@ -75,7 +75,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb" id="Snippet1"::: ]]> @@ -125,7 +125,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb" id="Snippet1"::: ]]> @@ -227,7 +227,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb" id="Snippet1"::: ]]> @@ -298,7 +298,7 @@ One of the OIDs is and the OIDs do not match. class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb" id="Snippet1"::: ]]> @@ -360,7 +360,7 @@ One of the OIDs is and the OIDs do not match. class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb" id="Snippet1"::: ]]> @@ -420,7 +420,7 @@ One of the OIDs is and the OIDs do not match. class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb" id="Snippet1"::: ]]> @@ -482,7 +482,7 @@ One of the OIDs is and the OIDs do not match. class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb" id="Snippet1"::: ]]> @@ -545,7 +545,7 @@ One of the OIDs is and the OIDs do not match. class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb" id="Snippet1"::: ]]> @@ -602,7 +602,7 @@ One of the OIDs is and the OIDs do not match. class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb" id="Snippet1"::: ]]> @@ -665,7 +665,7 @@ One of the OIDs is and the OIDs do not match. class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/AsnEncodedDataEnumerator.xml b/xml/System.Security.Cryptography/AsnEncodedDataEnumerator.xml index 8c093daad06..b484aba3fcf 100644 --- a/xml/System.Security.Cryptography/AsnEncodedDataEnumerator.xml +++ b/xml/System.Security.Cryptography/AsnEncodedDataEnumerator.xml @@ -72,7 +72,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb" id="Snippet1"::: ]]> @@ -135,7 +135,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb" id="Snippet1"::: ]]> @@ -203,7 +203,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb" id="Snippet1"::: ]]> @@ -266,7 +266,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.AsnEncodedData/VB/asnencodeddata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsnEncodedData/Overview/asnencodeddata.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/AsymmetricAlgorithm.xml b/xml/System.Security.Cryptography/AsymmetricAlgorithm.xml index 9cf1043c850..3768a7140f6 100644 --- a/xml/System.Security.Cryptography/AsymmetricAlgorithm.xml +++ b/xml/System.Security.Cryptography/AsymmetricAlgorithm.xml @@ -89,12 +89,12 @@ The following code example demonstrates how to implement a custom asymmetric algorithm inherited from the class. An additional class is provided to demonstrate how to use the custom class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb" id="Snippet2"::: Here's an additional class that demonstrates how to use the custom class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb" id="Snippet3"::: ]]> @@ -207,7 +207,7 @@ The following code example demonstrates how to call the method to release the resources of the current `customCrypto` object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb" id="Snippet1"::: ]]> @@ -291,7 +291,7 @@ This method is obsolete in .NET 5 and later versions. The following code example demonstrates how to implement the method in an extended class. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb" id="Snippet11"::: ]]> @@ -402,7 +402,7 @@ This method is obsolete in .NET 5 and later versions. The following code example demonstrates how to implement the method in an extended class. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb" id="Snippet12"::: ]]> @@ -1007,7 +1007,7 @@ This method is obsolete in .NET 5 and later versions. The following code example demonstrates how to implement the method to parse the specified XML string to populate the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb" id="Snippet4"::: ]]> @@ -1561,7 +1561,7 @@ The algorithm-specific key import failed. The following code example demonstrates how to override the property to return the name for the key exchange algorithm. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb" id="Snippet6"::: ]]> @@ -1622,7 +1622,7 @@ The algorithm-specific key import failed. The following code example demonstrates how to override the property to verify that it falls within the range identified in the local `keySizes` member variable. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb" id="Snippet9"::: ]]> @@ -1744,7 +1744,7 @@ The algorithm-specific key import failed. The following code example demonstrates how to call the property to retrieve the , , and properties. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb" id="Snippet10"::: ]]> @@ -1873,7 +1873,7 @@ The algorithm-specific key import failed. The following code example demonstrates how to override the property to return the name of the signature algorithm. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb" id="Snippet7"::: ]]> @@ -1980,7 +1980,7 @@ This member is an explicit interface member implementation. It can be used only The following code example demonstrates how to call the method to create an XML representation of the parameters in the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter.xml b/xml/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter.xml index 12b985b278c..006031bf499 100644 --- a/xml/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter.xml +++ b/xml/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter.xml @@ -81,7 +81,7 @@ The following example demonstrates how to extend the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/contosodeformatter.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.AsymmetricKeyExchangeDeformatter/VB/contosodeformatter.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/contosodeformatter.vb" id="Snippet1"::: ]]> @@ -198,7 +198,7 @@ The following code example demonstrates how to override the method to create an encrypted key exchange for the specified input data. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/contosodeformatter.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.AsymmetricKeyExchangeDeformatter/VB/contosodeformatter.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/contosodeformatter.vb" id="Snippet4"::: ]]> @@ -254,7 +254,7 @@ The following code example demonstrates how to override the property to disallow access to the parameters of the formatter. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/contosodeformatter.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.AsymmetricKeyExchangeDeformatter/VB/contosodeformatter.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/contosodeformatter.vb" id="Snippet3"::: ]]> @@ -317,7 +317,7 @@ The following code example demonstrates how to override the to set the public key for encryption operations. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/contosodeformatter.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.AsymmetricKeyExchangeDeformatter/VB/contosodeformatter.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/contosodeformatter.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography/CryptoAPITransform.xml b/xml/System.Security.Cryptography/CryptoAPITransform.xml index 53ff2b75f75..8e6d3ff40f1 100644 --- a/xml/System.Security.Cryptography/CryptoAPITransform.xml +++ b/xml/System.Security.Cryptography/CryptoAPITransform.xml @@ -39,7 +39,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/CPP/members.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoAPITransform/Overview/members.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/VB/members.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoAPITransform/Overview/members.vb" id="Snippet1"::: ]]> @@ -77,7 +77,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/CPP/members.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoAPITransform/Overview/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoAPITransform/Overview/members.vb" id="Snippet2"::: ]]> @@ -116,7 +116,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/CPP/members.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoAPITransform/Overview/members.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/VB/members.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoAPITransform/Overview/members.vb" id="Snippet3"::: ]]> @@ -164,7 +164,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/CPP/members.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoAPITransform/Overview/members.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/VB/members.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoAPITransform/Overview/members.vb" id="Snippet7"::: ]]> @@ -264,7 +264,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/CPP/members.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoAPITransform/Overview/members.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/VB/members.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoAPITransform/Overview/members.vb" id="Snippet4"::: ]]> @@ -332,7 +332,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/CPP/members.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoAPITransform/Overview/members.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/VB/members.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoAPITransform/Overview/members.vb" id="Snippet6"::: ]]> @@ -462,7 +462,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/CPP/members.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoAPITransform/Overview/members.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/VB/members.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoAPITransform/Overview/members.vb" id="Snippet8"::: ]]> @@ -522,7 +522,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/CPP/members.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoAPITransform/Overview/members.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/VB/members.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoAPITransform/Overview/members.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Security.Cryptography/CryptoConfig.xml b/xml/System.Security.Cryptography/CryptoConfig.xml index b450e7387b5..bc77cb1f302 100644 --- a/xml/System.Security.Cryptography/CryptoConfig.xml +++ b/xml/System.Security.Cryptography/CryptoConfig.xml @@ -116,7 +116,7 @@ The following code example demonstrates how to use members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoConfig/Overview/members.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoConfig/VB/members.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoConfig/Overview/members.vb" id="Snippet1"::: ]]> @@ -453,7 +453,7 @@ The following code example demonstrates how to call the method to create a new SHA-1 provider. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoConfig/Overview/members.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoConfig/VB/members.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoConfig/Overview/members.vb" id="Snippet4"::: ]]> @@ -549,7 +549,7 @@ The following code example demonstrates how to call the method to initialize a new RSA provider instance accessing the `TestContainer` key container. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoConfig/Overview/members.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoConfig/VB/members.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoConfig/Overview/members.vb" id="Snippet5"::: ]]> @@ -624,7 +624,7 @@ The following code example demonstrates how to call the method to encode the specified object identifier. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoConfig/Overview/members.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoConfig/VB/members.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoConfig/Overview/members.vb" id="Snippet6"::: ]]> @@ -705,7 +705,7 @@ The following code example demonstrates how to call the method to retrieve an object identifier (OID) from the string name of the SHA-1 algorithm. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoConfig/Overview/members.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoConfig/VB/members.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoConfig/Overview/members.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security.Cryptography/CryptographicException.xml b/xml/System.Security.Cryptography/CryptographicException.xml index 0bd492633e5..b7ddda3c40b 100644 --- a/xml/System.Security.Cryptography/CryptographicException.xml +++ b/xml/System.Security.Cryptography/CryptographicException.xml @@ -91,7 +91,7 @@ The following code example demonstrates how to use members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicException/VB/cryptographicexceptionmembers.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.vb" id="Snippet2"::: ]]> @@ -164,7 +164,7 @@ The following code example demonstrates how to construct a with no parameters. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicException/VB/cryptographicexceptionmembers.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.vb" id="Snippet1"::: ]]> @@ -237,7 +237,7 @@ The following code example demonstrates how to construct a using an error code for an . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicException/VB/cryptographicexceptionmembers.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.vb" id="Snippet3"::: ]]> @@ -303,7 +303,7 @@ The following code example demonstrates how to construct a using a custom error message. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicException/VB/cryptographicexceptionmembers.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.vb" id="Snippet4"::: ]]> @@ -440,7 +440,7 @@ The following code example demonstrates how to construct a using a custom error message and an inner exception. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicException/VB/cryptographicexceptionmembers.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.vb" id="Snippet5"::: ]]> @@ -524,7 +524,7 @@ The following code example demonstrates how to construct a using a time format and the current date. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicException/VB/cryptographicexceptionmembers.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Security.Cryptography/CryptographicUnexpectedOperationException.xml b/xml/System.Security.Cryptography/CryptographicUnexpectedOperationException.xml index 7386ae3ccac..63e54d05d40 100644 --- a/xml/System.Security.Cryptography/CryptographicUnexpectedOperationException.xml +++ b/xml/System.Security.Cryptography/CryptographicUnexpectedOperationException.xml @@ -79,7 +79,7 @@ The following code example demonstrates how to use members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicUnexpectedOperationException/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.vb" id="Snippet2"::: ]]> @@ -152,7 +152,7 @@ The following code example demonstrates how to construct a with no parameters. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicUnexpectedOperationException/VB/members.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.vb" id="Snippet1"::: ]]> @@ -217,7 +217,7 @@ The following code example demonstrates how to construct a using a custom error message. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicUnexpectedOperationException/VB/members.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.vb" id="Snippet3"::: ]]> @@ -353,7 +353,7 @@ The following code example demonstrates how to construct a using a custom error message and an inner exception. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicUnexpectedOperationException/VB/members.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.vb" id="Snippet4"::: ]]> @@ -429,7 +429,7 @@ The following code example demonstrates how to construct a using a time format and the current date. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicUnexpectedOperationException/VB/members.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography/CspKeyContainerInfo.xml b/xml/System.Security.Cryptography/CspKeyContainerInfo.xml index e7ea8795f50..3ea343a2614 100644 --- a/xml/System.Security.Cryptography/CspKeyContainerInfo.xml +++ b/xml/System.Security.Cryptography/CspKeyContainerInfo.xml @@ -79,7 +79,7 @@ The following code example creates a key container and retrieves information about that container. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RsaCryptoServiceProvider.CspKeyContainerInfo/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.vb" id="Snippet1"::: ]]> @@ -139,7 +139,7 @@ The following code example creates a key container and retrieves information about that container. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RsaCryptoServiceProvider.CspKeyContainerInfo/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.vb" id="Snippet1"::: ]]> @@ -200,7 +200,7 @@ The following code example creates a key container and retrieves information about that container. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RsaCryptoServiceProvider.CspKeyContainerInfo/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.vb" id="Snippet1"::: ]]> @@ -312,7 +312,7 @@ The following code example creates a key container and retrieves information about that container. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RsaCryptoServiceProvider.CspKeyContainerInfo/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.vb" id="Snippet1"::: ]]> @@ -379,7 +379,7 @@ The following code example creates a key container and retrieves information about that container. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RsaCryptoServiceProvider.CspKeyContainerInfo/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.vb" id="Snippet1"::: ]]> @@ -435,7 +435,7 @@ The following code example creates a key container and retrieves information about that container. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RsaCryptoServiceProvider.CspKeyContainerInfo/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.vb" id="Snippet1"::: ]]> @@ -498,7 +498,7 @@ The following code example creates a key container and retrieves information about that container. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RsaCryptoServiceProvider.CspKeyContainerInfo/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.vb" id="Snippet1"::: ]]> @@ -553,7 +553,7 @@ The following code example creates a key container and retrieves information about that container. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RsaCryptoServiceProvider.CspKeyContainerInfo/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.vb" id="Snippet1"::: ]]> @@ -614,7 +614,7 @@ The following code example creates a key container and retrieves information about that container. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RsaCryptoServiceProvider.CspKeyContainerInfo/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.vb" id="Snippet1"::: ]]> @@ -680,7 +680,7 @@ The following code example creates a key container and retrieves information about that container. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RsaCryptoServiceProvider.CspKeyContainerInfo/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.vb" id="Snippet1"::: ]]> @@ -739,7 +739,7 @@ The following code example creates a key container and retrieves information about that container. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RsaCryptoServiceProvider.CspKeyContainerInfo/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.vb" id="Snippet1"::: ]]> @@ -799,7 +799,7 @@ The following code example creates a key container and retrieves information about that container. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RsaCryptoServiceProvider.CspKeyContainerInfo/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.vb" id="Snippet1"::: ]]> @@ -860,7 +860,7 @@ The following code example creates a key container and retrieves information about that container. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RsaCryptoServiceProvider.CspKeyContainerInfo/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.vb" id="Snippet1"::: ]]> @@ -925,7 +925,7 @@ The following code example creates a key container and retrieves information about that container. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RsaCryptoServiceProvider.CspKeyContainerInfo/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/CspParameters.xml b/xml/System.Security.Cryptography/CspParameters.xml index 6724732f230..eef3e6293dc 100644 --- a/xml/System.Security.Cryptography/CspParameters.xml +++ b/xml/System.Security.Cryptography/CspParameters.xml @@ -86,12 +86,12 @@ The following code example creates a key container using the class and saves the key in the container. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CspParameters/Overview/capikey.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/capikey/VB/capikey.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CspParameters/Overview/capikey.vb" id="Snippet1"::: The following code example uses the class to select a Smart Card Cryptographic Service Provider. It then signs and verifies data using the smart card. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CspParameters/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.SmartCardCSP/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CspParameters/Overview/example.vb" id="Snippet1"::: ]]> @@ -160,7 +160,7 @@ The following code example creates a key container using the class and saves the key in the container. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CspParameters/Overview/capikey.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/capikey/VB/capikey.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CspParameters/Overview/capikey.vb" id="Snippet1"::: ]]> @@ -291,7 +291,7 @@ The following code example uses the class to select a Smart Card Cryptographic Service Provider. It then signs and verifies data using the smart card. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CspParameters/Overview/example.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.SmartCardCSP/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CspParameters/Overview/example.vb" id="Snippet1"::: ]]> @@ -615,7 +615,7 @@ The following code example creates a key container using the class and saves the key in the container. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CspParameters/Overview/capikey.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/capikey/VB/capikey.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CspParameters/Overview/capikey.vb" id="Snippet1"::: ]]> @@ -681,7 +681,7 @@ The following code example demonstrates how to use the enumeration to specify a key type for an object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CspParameters/KeyNumber/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.KeyNumber/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CspParameters/KeyNumber/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/DES.xml b/xml/System.Security.Cryptography/DES.xml index 27478190ef3..039565393b0 100644 --- a/xml/System.Security.Cryptography/DES.xml +++ b/xml/System.Security.Cryptography/DES.xml @@ -216,12 +216,12 @@ The following code example shows how to create and use a object to encrypt and decrypt data in a file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DES/Create/fileexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.DES.Create.File/VB/fileexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DES/Create/fileexample.vb" id="Snippet1"::: The following code example shows how to create and use a object to encrypt and decrypt data in memory. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DES/Create/memoryexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.DES.Create.Memory/VB/memoryexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DES/Create/memoryexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/DESCryptoServiceProvider.xml b/xml/System.Security.Cryptography/DESCryptoServiceProvider.xml index ee01056e361..65bb8457245 100644 --- a/xml/System.Security.Cryptography/DESCryptoServiceProvider.xml +++ b/xml/System.Security.Cryptography/DESCryptoServiceProvider.xml @@ -408,12 +408,12 @@ The following code example shows how to create and use a object to encrypt and decrypt data in a file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DESCryptoServiceProvider/CreateEncryptor/fileexample.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.DESCSP.CreateEncryptor.File/VB/fileexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DESCryptoServiceProvider/CreateEncryptor/fileexample.vb" id="Snippet1"::: The following code example shows how to create and use a object to encrypt and decrypt data in memory. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DESCryptoServiceProvider/CreateEncryptor/memoryexample.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.DESCSP.CreateEncryptor.Memory/VB/memoryexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DESCryptoServiceProvider/CreateEncryptor/memoryexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/DSASignatureDeformatter.xml b/xml/System.Security.Cryptography/DSASignatureDeformatter.xml index 47cf79eb74d..96e25d4265d 100644 --- a/xml/System.Security.Cryptography/DSASignatureDeformatter.xml +++ b/xml/System.Security.Cryptography/DSASignatureDeformatter.xml @@ -74,7 +74,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DSASignatureDeformatter/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureDeformatter/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DSASignatureDeformatter/Overview/sample.vb" id="Snippet1"::: ]]> @@ -133,7 +133,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DSASignatureDeformatter/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureDeformatter/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DSASignatureDeformatter/Overview/sample.vb" id="Snippet1"::: ]]> @@ -236,7 +236,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DSASignatureDeformatter/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureDeformatter/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DSASignatureDeformatter/Overview/sample.vb" id="Snippet1"::: ]]> @@ -350,7 +350,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DSASignatureDeformatter/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureDeformatter/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DSASignatureDeformatter/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/DSASignatureFormatter.xml b/xml/System.Security.Cryptography/DSASignatureFormatter.xml index a1557d332ad..34315502acc 100644 --- a/xml/System.Security.Cryptography/DSASignatureFormatter.xml +++ b/xml/System.Security.Cryptography/DSASignatureFormatter.xml @@ -74,7 +74,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DSASignatureFormatter/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureFormatter/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DSASignatureFormatter/Overview/sample.vb" id="Snippet1"::: ]]> @@ -178,7 +178,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DSASignatureFormatter/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureFormatter/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DSASignatureFormatter/Overview/sample.vb" id="Snippet1"::: ]]> @@ -242,7 +242,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DSASignatureFormatter/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureFormatter/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DSASignatureFormatter/Overview/sample.vb" id="Snippet1"::: ]]> @@ -305,7 +305,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DSASignatureFormatter/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureFormatter/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DSASignatureFormatter/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/DataProtectionScope.xml b/xml/System.Security.Cryptography/DataProtectionScope.xml index 5d8adf27985..10432daad0a 100644 --- a/xml/System.Security.Cryptography/DataProtectionScope.xml +++ b/xml/System.Security.Cryptography/DataProtectionScope.xml @@ -46,7 +46,7 @@ The following code example shows how to use data protection. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DataProtectionScope/Overview/dataprotectionsample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.DataProtectionSample/vb/dataprotectionsample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DataProtectionScope/Overview/dataprotectionsample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/DataProtector.xml b/xml/System.Security.Cryptography/DataProtector.xml index 5d26d400de0..ac5f95ef40b 100644 --- a/xml/System.Security.Cryptography/DataProtector.xml +++ b/xml/System.Security.Cryptography/DataProtector.xml @@ -29,12 +29,12 @@ The following example demonstrates how to create a data protector that uses a protection class with an option for extra entropy. By default, the class prepends the hash of the purpose properties to the data to be encrypted. You can turn that functionality off and use the hashed purpose as extra entropy when calling a data protector with an extra entropy option. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DataProtector/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/cryptography.dataprotector/vb/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DataProtector/Overview/class1.vb" id="Snippet1"::: The following example demonstrates a simple data protector that uses the functionality of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DataProtector/Overview/class11.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/cryptography.memoryprotector/vb/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DataProtector/Overview/class11.vb" id="Snippet1"::: ]]> @@ -174,7 +174,7 @@ The following example shows how to use the method to hash the purpose properties for use as extra entropy. It is part of a larger code example for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DataProtector/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/cryptography.dataprotector/vb/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DataProtector/Overview/class1.vb" id="Snippet3"::: ]]> @@ -311,7 +311,7 @@ The following example shows an implementation of the method. It is part of a larger code example for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DataProtector/Overview/class11.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/cryptography.memoryprotector/vb/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DataProtector/Overview/class11.vb" id="Snippet3"::: ]]> @@ -346,7 +346,7 @@ The following example shows an implementation of the method. It is part of a larger code example for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DataProtector/Overview/class11.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/cryptography.memoryprotector/vb/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DataProtector/Overview/class11.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Security.Cryptography/ECDiffieHellmanCng.xml b/xml/System.Security.Cryptography/ECDiffieHellmanCng.xml index 5d38c0485e7..5700db86595 100644 --- a/xml/System.Security.Cryptography/ECDiffieHellmanCng.xml +++ b/xml/System.Security.Cryptography/ECDiffieHellmanCng.xml @@ -75,7 +75,7 @@ The following example shows how to use the class to establish a key exchange and how to use that key to encrypt a message that can be sent over a public channel and decrypted by the receiver. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/ECDiffieHellmanCng/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ecdiffiehellmancng/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/ECDiffieHellmanCng/Overview/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/ECDsaCng.xml b/xml/System.Security.Cryptography/ECDsaCng.xml index 5a41b1b691b..d15e74694c7 100644 --- a/xml/System.Security.Cryptography/ECDsaCng.xml +++ b/xml/System.Security.Cryptography/ECDsaCng.xml @@ -65,7 +65,7 @@ When platform interop is not needed, you should use the class to sign a message and how to use the signature to verify that the message has not been altered. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/ECDsaCng/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ecdsacng/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/ECDsaCng/Overview/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/FromBase64Transform.xml b/xml/System.Security.Cryptography/FromBase64Transform.xml index c0da6af3a85..250f93543d5 100644 --- a/xml/System.Security.Cryptography/FromBase64Transform.xml +++ b/xml/System.Security.Cryptography/FromBase64Transform.xml @@ -79,7 +79,7 @@ The following example decodes a base 64-encoded file to an output text file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/FromBase64Transform/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.FromBase64Transform Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/FromBase64Transform/Overview/class1.vb" id="Snippet1"::: ]]> @@ -192,7 +192,7 @@ The following example decodes a base 64-encoded file to an output text file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/FromBase64Transform/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.FromBase64Transform Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/FromBase64Transform/Overview/class1.vb" id="Snippet1"::: ]]> @@ -763,7 +763,7 @@ For more information about Dispose and Finalize, see [Cleaning Up Unmanaged Reso The following example decrypts a base 64-encoded file to an output text file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/FromBase64Transform/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.FromBase64Transform Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/FromBase64Transform/Overview/class1.vb" id="Snippet1"::: ]]> @@ -846,7 +846,7 @@ For more information about Dispose and Finalize, see [Cleaning Up Unmanaged Reso The following example decrypts a base 64-encoded file to an output text file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/FromBase64Transform/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.FromBase64Transform Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/FromBase64Transform/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/HMACRIPEMD160.xml b/xml/System.Security.Cryptography/HMACRIPEMD160.xml index 4fa72c1ed10..3667c54e49b 100644 --- a/xml/System.Security.Cryptography/HMACRIPEMD160.xml +++ b/xml/System.Security.Cryptography/HMACRIPEMD160.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/HMACRIPEMD160/CPP/hmacripemd160.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/HMACRIPEMD160/Overview/hmacripemd160.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/HMACRIPEMD160/vb/hmacripemd160.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/HMACRIPEMD160/Overview/hmacripemd160.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/HMACSHA256.xml b/xml/System.Security.Cryptography/HMACSHA256.xml index 50b387c30d4..9cb54ad57e0 100644 --- a/xml/System.Security.Cryptography/HMACSHA256.xml +++ b/xml/System.Security.Cryptography/HMACSHA256.xml @@ -84,7 +84,7 @@ The following example shows how to sign a file by using the object and then how to verify the file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/HMACSHA256/Overview/hmacsha256.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/HMACSHA256/vb/hmacsha256.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/HMACSHA256/Overview/hmacsha256.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/HMACSHA384.xml b/xml/System.Security.Cryptography/HMACSHA384.xml index 15183f83b0d..9641b907f34 100644 --- a/xml/System.Security.Cryptography/HMACSHA384.xml +++ b/xml/System.Security.Cryptography/HMACSHA384.xml @@ -84,7 +84,7 @@ The following example shows how to sign a file by using the object, and then how to verify the file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/HMACSHA384/Overview/hmacsha384.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/HMACSHA384/vb/hmacsha384.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/HMACSHA384/Overview/hmacsha384.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/HMACSHA512.xml b/xml/System.Security.Cryptography/HMACSHA512.xml index 4e89afdeef0..64900f198b2 100644 --- a/xml/System.Security.Cryptography/HMACSHA512.xml +++ b/xml/System.Security.Cryptography/HMACSHA512.xml @@ -84,7 +84,7 @@ The following example shows how to sign a file by using the object and then how to verify the file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/HMACSHA512/Overview/hmacsha512.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/HMACSHA512/vb/hmacsha512.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/HMACSHA512/Overview/hmacsha512.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/HashAlgorithm.xml b/xml/System.Security.Cryptography/HashAlgorithm.xml index 0b9f8eb9754..a00cade3dc2 100644 --- a/xml/System.Security.Cryptography/HashAlgorithm.xml +++ b/xml/System.Security.Cryptography/HashAlgorithm.xml @@ -1576,7 +1576,7 @@ For more information about Dispose and Finalize, see [Cleaning Up Unmanaged Reso The following code examples use the method with the method to hash a string. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/HashAlgorithm/TransformBlock/sample.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.HashAlgorithm.TransformFinalBlock/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/HashAlgorithm/TransformBlock/sample.vb" id="Snippet1"::: ]]> @@ -1665,7 +1665,7 @@ For more information about Dispose and Finalize, see [Cleaning Up Unmanaged Reso The following code examples use the method with the method to hash a string. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/HashAlgorithm/TransformBlock/sample.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.HashAlgorithm.TransformFinalBlock/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/HashAlgorithm/TransformBlock/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/KeyNumber.xml b/xml/System.Security.Cryptography/KeyNumber.xml index e6abf96cba0..e0fb7359bf8 100644 --- a/xml/System.Security.Cryptography/KeyNumber.xml +++ b/xml/System.Security.Cryptography/KeyNumber.xml @@ -71,7 +71,7 @@ The following code example demonstrates how to use the enumeration to specify a key type for an object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CspParameters/KeyNumber/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.KeyNumber/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CspParameters/KeyNumber/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/KeySizes.xml b/xml/System.Security.Cryptography/KeySizes.xml index 59dc9a1c4bb..174d8c0d832 100644 --- a/xml/System.Security.Cryptography/KeySizes.xml +++ b/xml/System.Security.Cryptography/KeySizes.xml @@ -64,7 +64,7 @@ The following example shows the use of members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/KeySizes/Overview/members.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeySizes/VB/members.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/KeySizes/Overview/members.vb" id="Snippet1"::: ]]> @@ -124,7 +124,7 @@ The following code shows the use of the constructor. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/KeySizes/Overview/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeySizes/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/KeySizes/Overview/members.vb" id="Snippet2"::: ]]> @@ -179,7 +179,7 @@ The following code shows how to retrieve the use of the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/KeySizes/Overview/members.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeySizes/VB/members.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/KeySizes/Overview/members.vb" id="Snippet4"::: ]]> @@ -234,7 +234,7 @@ The following code shows how to retrieve the use of the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/KeySizes/Overview/members.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeySizes/VB/members.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/KeySizes/Overview/members.vb" id="Snippet3"::: ]]> @@ -289,7 +289,7 @@ The following code shows how to retrieve the use of the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/KeySizes/Overview/members.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeySizes/VB/members.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/KeySizes/Overview/members.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography/KeyedHashAlgorithm.xml b/xml/System.Security.Cryptography/KeyedHashAlgorithm.xml index 9272d121ace..e5442c8f50d 100644 --- a/xml/System.Security.Cryptography/KeyedHashAlgorithm.xml +++ b/xml/System.Security.Cryptography/KeyedHashAlgorithm.xml @@ -77,7 +77,7 @@ The following code example demonstrates how to derive from the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/KeyedHashAlgorithm/Overview/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/keyedhashalgorithm/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/KeyedHashAlgorithm/Overview/program.vb" id="Snippet1"::: ]]> @@ -482,7 +482,7 @@ Allows an to attempt to free resources and perfor The following code example demonstrates how to override the property to retrieve the key used in the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/KeyedHashAlgorithm/Key/contosokeyedhash.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeyedHashAlgorithm/VB/contosokeyedhash.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/KeyedHashAlgorithm/Key/contosokeyedhash.vb" id="Snippet22"::: ]]> diff --git a/xml/System.Security.Cryptography/MACTripleDES.xml b/xml/System.Security.Cryptography/MACTripleDES.xml index b5db233287a..5b18e58dd3a 100644 --- a/xml/System.Security.Cryptography/MACTripleDES.xml +++ b/xml/System.Security.Cryptography/MACTripleDES.xml @@ -40,7 +40,7 @@ The following example creates a MAC for a file named `input.txt`, which is located in the folder that contains the example executable. The MAC and the original text are written to a file named `encrypted.hsh` in the same folder. The signed file is then read, and the MAC is calculated for the text portion of the file and compared to the MAC that is included with the text. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/MACTripleDES/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MAC3DES/VB/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/MACTripleDES/Overview/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/MaskGenerationMethod.xml b/xml/System.Security.Cryptography/MaskGenerationMethod.xml index 6ddffd6e4ea..e2a63dc87c5 100644 --- a/xml/System.Security.Cryptography/MaskGenerationMethod.xml +++ b/xml/System.Security.Cryptography/MaskGenerationMethod.xml @@ -74,7 +74,7 @@ The following code example demonstrates how to derive from the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/MaskGenerationMethod/Overview/maskgenerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.MaskGenerationMethod/VB/maskgenerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/MaskGenerationMethod/Overview/maskgenerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/MemoryProtectionScope.xml b/xml/System.Security.Cryptography/MemoryProtectionScope.xml index a035bc233d9..72713c5106a 100644 --- a/xml/System.Security.Cryptography/MemoryProtectionScope.xml +++ b/xml/System.Security.Cryptography/MemoryProtectionScope.xml @@ -28,7 +28,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Cryptography.MemoryProtectionSample/CPP/memoryprotectionsample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/MemoryProtectionScope/Overview/memoryprotectionsample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.MemoryProtectionSample/vb/memoryprotectionsample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/MemoryProtectionScope/Overview/memoryprotectionsample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/Oid.xml b/xml/System.Security.Cryptography/Oid.xml index e780746ff09..c80e141b937 100644 --- a/xml/System.Security.Cryptography/Oid.xml +++ b/xml/System.Security.Cryptography/Oid.xml @@ -66,7 +66,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Oid/Overview/cryptography.oid.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.Oid/VB/cryptography.oid.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Oid/Overview/cryptography.oid.vb" id="Snippet1"::: ]]> @@ -134,7 +134,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Oid/Overview/cryptography.oid.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.Oid/VB/cryptography.oid.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Oid/Overview/cryptography.oid.vb" id="Snippet1"::: ]]> @@ -191,7 +191,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Oid/Overview/cryptography.oid.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.Oid/VB/cryptography.oid.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Oid/Overview/cryptography.oid.vb" id="Snippet1"::: ]]> @@ -256,7 +256,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Oid/Overview/cryptography.oid.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.Oid/VB/cryptography.oid.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Oid/Overview/cryptography.oid.vb" id="Snippet1"::: ]]> @@ -322,7 +322,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Oid/Overview/cryptography.oid.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.Oid/VB/cryptography.oid.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Oid/Overview/cryptography.oid.vb" id="Snippet1"::: ]]> @@ -383,7 +383,7 @@ In .NET 5 and later versions, this property is *init only*, meaning that its val The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Oid/Overview/cryptography.oid.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.Oid/VB/cryptography.oid.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Oid/Overview/cryptography.oid.vb" id="Snippet1"::: ]]> @@ -559,7 +559,7 @@ In .NET 5 and later versions, this property is *init only*, meaning that its val The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Oid/Overview/cryptography.oid.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.Oid/VB/cryptography.oid.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Oid/Overview/cryptography.oid.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/OidCollection.xml b/xml/System.Security.Cryptography/OidCollection.xml index a6c9eb0dd2e..ff1e0500391 100644 --- a/xml/System.Security.Cryptography/OidCollection.xml +++ b/xml/System.Security.Cryptography/OidCollection.xml @@ -75,7 +75,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Oid/Overview/cryptography.oid.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.Oid/VB/cryptography.oid.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Oid/Overview/cryptography.oid.vb" id="Snippet1"::: ]]> @@ -130,7 +130,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Oid/Overview/cryptography.oid.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.Oid/VB/cryptography.oid.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Oid/Overview/cryptography.oid.vb" id="Snippet1"::: ]]> @@ -193,7 +193,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Oid/Overview/cryptography.oid.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.Oid/VB/cryptography.oid.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Oid/Overview/cryptography.oid.vb" id="Snippet1"::: ]]> @@ -257,7 +257,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Oid/Overview/cryptography.oid.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.Oid/VB/cryptography.oid.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Oid/Overview/cryptography.oid.vb" id="Snippet1"::: ]]> @@ -314,7 +314,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Oid/Overview/cryptography.oid.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.Oid/VB/cryptography.oid.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Oid/Overview/cryptography.oid.vb" id="Snippet1"::: ]]> @@ -374,7 +374,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Oid/Overview/cryptography.oid.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.Oid/VB/cryptography.oid.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Oid/Overview/cryptography.oid.vb" id="Snippet1"::: ]]> @@ -436,7 +436,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Oid/Overview/cryptography.oid.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.Oid/VB/cryptography.oid.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Oid/Overview/cryptography.oid.vb" id="Snippet1"::: ]]> @@ -509,7 +509,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Oid/Overview/cryptography.oid.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.Oid/VB/cryptography.oid.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Oid/Overview/cryptography.oid.vb" id="Snippet1"::: ]]> @@ -579,7 +579,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Oid/Overview/cryptography.oid.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.Oid/VB/cryptography.oid.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Oid/Overview/cryptography.oid.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/OidEnumerator.xml b/xml/System.Security.Cryptography/OidEnumerator.xml index 77c0338b5b0..4d642bbed39 100644 --- a/xml/System.Security.Cryptography/OidEnumerator.xml +++ b/xml/System.Security.Cryptography/OidEnumerator.xml @@ -72,7 +72,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Oid/Overview/cryptography.oid.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.Oid/VB/cryptography.oid.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Oid/Overview/cryptography.oid.vb" id="Snippet1"::: ]]> @@ -135,7 +135,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Oid/Overview/cryptography.oid.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.Oid/VB/cryptography.oid.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Oid/Overview/cryptography.oid.vb" id="Snippet1"::: ]]> @@ -203,7 +203,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Oid/Overview/cryptography.oid.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.Oid/VB/cryptography.oid.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Oid/Overview/cryptography.oid.vb" id="Snippet1"::: ]]> @@ -266,7 +266,7 @@ The following code example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Oid/Overview/cryptography.oid.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.Oid/VB/cryptography.oid.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Oid/Overview/cryptography.oid.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/PasswordDeriveBytes.xml b/xml/System.Security.Cryptography/PasswordDeriveBytes.xml index cc4c935a6b9..eb27ef11621 100644 --- a/xml/System.Security.Cryptography/PasswordDeriveBytes.xml +++ b/xml/System.Security.Cryptography/PasswordDeriveBytes.xml @@ -80,7 +80,7 @@ The following code example creates a key from a password using the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/PasswordDeriveBytes/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.PasswordDerivedbytes/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/PasswordDeriveBytes/Overview/sample.vb" id="Snippet1"::: ]]> @@ -167,7 +167,7 @@ The following code example creates a key from a password using the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/PasswordDeriveBytes/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.PasswordDerivedbytes/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/PasswordDeriveBytes/Overview/sample.vb" id="Snippet1"::: ]]> @@ -316,7 +316,7 @@ The following code example creates a key from a password using the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/PasswordDeriveBytes/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.PasswordDerivedbytes/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/PasswordDeriveBytes/Overview/sample.vb" id="Snippet1"::: ]]> @@ -825,7 +825,7 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/PasswordDeriveBytes/Overview/sample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.PasswordDerivedbytes/VB/sample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/PasswordDeriveBytes/Overview/sample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Cryptography/ProtectedData.xml b/xml/System.Security.Cryptography/ProtectedData.xml index 474a9f8b576..501f9e65a16 100644 --- a/xml/System.Security.Cryptography/ProtectedData.xml +++ b/xml/System.Security.Cryptography/ProtectedData.xml @@ -61,7 +61,7 @@ If you use these methods during impersonation, you may receive the following err The following example shows how to use data protection. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DataProtectionScope/Overview/dataprotectionsample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.DataProtectionSample/vb/dataprotectionsample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DataProtectionScope/Overview/dataprotectionsample.vb" id="Snippet1"::: ]]> @@ -136,7 +136,7 @@ If you use these methods during impersonation, you may receive the following err The following example shows how to use data protection. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DataProtectionScope/Overview/dataprotectionsample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.DataProtectionSample/vb/dataprotectionsample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DataProtectionScope/Overview/dataprotectionsample.vb" id="Snippet1"::: ]]> @@ -356,7 +356,7 @@ If you use these methods during impersonation, you may receive the following err The following code example shows how to use data protection. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DataProtectionScope/Overview/dataprotectionsample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.DataProtectionSample/vb/dataprotectionsample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DataProtectionScope/Overview/dataprotectionsample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/ProtectedMemory.xml b/xml/System.Security.Cryptography/ProtectedMemory.xml index f1ec670c83b..54604ec9b23 100644 --- a/xml/System.Security.Cryptography/ProtectedMemory.xml +++ b/xml/System.Security.Cryptography/ProtectedMemory.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Cryptography.MemoryProtectionSample/CPP/memoryprotectionsample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/MemoryProtectionScope/Overview/memoryprotectionsample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.MemoryProtectionSample/vb/memoryprotectionsample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/MemoryProtectionScope/Overview/memoryprotectionsample.vb" id="Snippet1"::: ]]> @@ -86,7 +86,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Cryptography.MemoryProtectionSample/CPP/memoryprotectionsample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/MemoryProtectionScope/Overview/memoryprotectionsample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.MemoryProtectionSample/vb/memoryprotectionsample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/MemoryProtectionScope/Overview/memoryprotectionsample.vb" id="Snippet1"::: ]]> @@ -142,7 +142,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Cryptography.MemoryProtectionSample/CPP/memoryprotectionsample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/MemoryProtectionScope/Overview/memoryprotectionsample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.MemoryProtectionSample/vb/memoryprotectionsample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/MemoryProtectionScope/Overview/memoryprotectionsample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/RC2.xml b/xml/System.Security.Cryptography/RC2.xml index 420e9442aa6..5411e75f11c 100644 --- a/xml/System.Security.Cryptography/RC2.xml +++ b/xml/System.Security.Cryptography/RC2.xml @@ -221,12 +221,12 @@ The following example shows how to create and use an RC2 object to encrypt and decrypt data in a file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RC2/Create/fileexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RC2.Create.File/VB/fileexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RC2/Create/fileexample.vb" id="Snippet1"::: The following example shows how to create and use an RC2 object to encrypt and decrypt data in memory. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RC2/Create/memoryexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RC2.Create.Memory/VB/memoryexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RC2/Create/memoryexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/RC2CryptoServiceProvider.xml b/xml/System.Security.Cryptography/RC2CryptoServiceProvider.xml index 4425846e58a..1ec8ab34190 100644 --- a/xml/System.Security.Cryptography/RC2CryptoServiceProvider.xml +++ b/xml/System.Security.Cryptography/RC2CryptoServiceProvider.xml @@ -88,7 +88,7 @@ The following code example encrypts and then decrypts a string. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RC2CryptoServiceProvider Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.vb" id="Snippet1"::: ]]> @@ -153,7 +153,7 @@ The following code example encrypts and then decrypts a string. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RC2CryptoServiceProvider Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.vb" id="Snippet1"::: ]]> @@ -245,7 +245,7 @@ The following code example encrypts and then decrypts a string. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RC2CryptoServiceProvider Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.vb" id="Snippet1"::: ]]> @@ -348,7 +348,7 @@ The following code example encrypts and then decrypts a string. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RC2CryptoServiceProvider Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.vb" id="Snippet1"::: ]]> @@ -467,7 +467,7 @@ The following code example encrypts and then decrypts a string. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RC2CryptoServiceProvider Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.vb" id="Snippet1"::: ]]> @@ -529,7 +529,7 @@ The following code example encrypts and then decrypts a string. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RC2CryptoServiceProvider Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.vb" id="Snippet1"::: ]]> @@ -599,7 +599,7 @@ The following code example sets the property to `true`, and then encrypts and decrypts a value. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RC2CryptoServiceProvider/UseSalt/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RC2CryptoServiceProvider/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RC2CryptoServiceProvider/UseSalt/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/RIPEMD160.xml b/xml/System.Security.Cryptography/RIPEMD160.xml index 8a6ca9c6131..d29da5061c3 100644 --- a/xml/System.Security.Cryptography/RIPEMD160.xml +++ b/xml/System.Security.Cryptography/RIPEMD160.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/RIPEMD160/CPP/ripemd160.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RIPEMD160/Overview/ripemd160.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RIPEMD160/vb/ripemd160.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RIPEMD160/Overview/ripemd160.vb" id="Snippet1"::: ]]> @@ -76,7 +76,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/RIPEMD160/CPP/ripemd160.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RIPEMD160/Overview/ripemd160.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RIPEMD160/vb/ripemd160.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RIPEMD160/Overview/ripemd160.vb" id="Snippet1"::: ]]> @@ -132,7 +132,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/RIPEMD160/CPP/ripemd160.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RIPEMD160/Overview/ripemd160.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RIPEMD160/vb/ripemd160.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RIPEMD160/Overview/ripemd160.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/RIPEMD160Managed.xml b/xml/System.Security.Cryptography/RIPEMD160Managed.xml index da39e9b8b9d..d43284440dc 100644 --- a/xml/System.Security.Cryptography/RIPEMD160Managed.xml +++ b/xml/System.Security.Cryptography/RIPEMD160Managed.xml @@ -39,7 +39,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/RIPEMD160/CPP/ripemd160.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RIPEMD160/Overview/ripemd160.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RIPEMD160/vb/ripemd160.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RIPEMD160/Overview/ripemd160.vb" id="Snippet1"::: ]]> @@ -76,7 +76,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/RIPEMD160/CPP/ripemd160.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RIPEMD160/Overview/ripemd160.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RIPEMD160/vb/ripemd160.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RIPEMD160/Overview/ripemd160.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/RNGCryptoServiceProvider.xml b/xml/System.Security.Cryptography/RNGCryptoServiceProvider.xml index 19e856cab29..364559b6af1 100644 --- a/xml/System.Security.Cryptography/RNGCryptoServiceProvider.xml +++ b/xml/System.Security.Cryptography/RNGCryptoServiceProvider.xml @@ -83,7 +83,7 @@ The following code example shows how to create a random number with the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RNGCryptoServiceProvider/Overview/rngcsp.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RNGCSP/VB/rngcsp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RNGCryptoServiceProvider/Overview/rngcsp.vb" id="Snippet1"::: ]]> @@ -151,7 +151,7 @@ The following code example shows how to create a random number with the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RNGCryptoServiceProvider/Overview/rngcsp.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RNGCSP/VB/rngcsp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RNGCryptoServiceProvider/Overview/rngcsp.vb" id="Snippet1"::: ]]> @@ -472,7 +472,7 @@ The following code example shows how to create a random number with the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RNGCryptoServiceProvider/Overview/rngcsp.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RNGCSP/VB/rngcsp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RNGCryptoServiceProvider/Overview/rngcsp.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/RSACryptoServiceProvider.xml b/xml/System.Security.Cryptography/RSACryptoServiceProvider.xml index bed7b7993a9..164815b34aa 100644 --- a/xml/System.Security.Cryptography/RSACryptoServiceProvider.xml +++ b/xml/System.Security.Cryptography/RSACryptoServiceProvider.xml @@ -77,12 +77,12 @@ The following code example uses the class to encrypt a string into an array of bytes and then decrypt the bytes back into a string. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider/VB/sample.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample.vb" id="Snippet1"::: The following code example exports the key information created using the into an object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample1.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider.ExportParameters/VB/sample.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample1.vb" id="Snippet1"::: ]]> Cryptographic Services @@ -161,7 +161,7 @@ If no key is loaded via the class to encrypt a string into an array of bytes and then decrypt the bytes back into a string. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample.vb" id="Snippet1"::: ]]> @@ -236,7 +236,7 @@ If no key is loaded via the , generates a new key, and stores it in a key container. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/.ctor/example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.ctor-int32-2/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/.ctor/example1.vb" id="Snippet1"::: ]]> @@ -317,7 +317,7 @@ If no key is loaded via the object, generates a new key, and stores it in a key container. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/.ctor/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.ctor-csp/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/.ctor/example.vb" id="Snippet1"::: ]]> @@ -400,7 +400,7 @@ If no key is loaded via the , generates a new key, and stores it in a key container. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/.ctor/example2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.ctor-int32-csp/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/.ctor/example2.vb" id="Snippet1"::: ]]> @@ -484,7 +484,7 @@ If no key is loaded via the property. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RsaCryptoServiceProvider.CspKeyContainerInfo/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CspKeyContainerInfo/Overview/sample.vb" id="Snippet1"::: ]]> @@ -571,7 +571,7 @@ If no key is loaded via the class; however, the class may be preferable in large data operations. The encrypted value can be saved as an `nvarchar` data type in Microsoft SQL Server. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/Decrypt/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.Decrypt/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Decrypt/example.vb" id="Snippet1"::: ]]> @@ -853,7 +853,7 @@ If no key is loaded via the object to the value of a public key (sent by another party), generates a session key using the algorithm, and then encrypts the session key using the object. Using this scheme, the session key could be sent back to the owner of the private RSA key and the two parties could use the session key to exchange encrypted data. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/Encrypt/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider.Encrypt/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Encrypt/sample.vb" id="Snippet1"::: ]]> @@ -1121,7 +1121,7 @@ If no key is loaded via the into an object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider.ExportParameters/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample1.vb" id="Snippet1"::: ]]> @@ -1469,7 +1469,7 @@ If no key is loaded via the object into an object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/ImportParameters/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider.ImportParameters/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/ImportParameters/sample.vb" id="Snippet1"::: ]]> @@ -1717,7 +1717,7 @@ The supported RSA key sizes depend on the available cryptographic service provid The following code example creates an object and persists the key to a key container. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/PersistKeyInCsp/example.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.PersistKey/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/PersistKeyInCsp/example.vb" id="Snippet1"::: ]]> @@ -1918,7 +1918,7 @@ The supported RSA key sizes depend on the available cryptographic service provid The following code example signs and verifies data. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/SignData/example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.SignData2/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/SignData/example1.vb" id="Snippet1"::: ]]> @@ -1995,7 +1995,7 @@ The supported RSA key sizes depend on the available cryptographic service provid The following code example signs and verifies data. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/SignData/example2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.SignData3/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/SignData/example2.vb" id="Snippet1"::: ]]> @@ -2084,7 +2084,7 @@ The supported RSA key sizes depend on the available cryptographic service provid The following code example signs and verifies data. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/SignData/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.SignData1/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/SignData/example.vb" id="Snippet1"::: ]]> @@ -2181,7 +2181,7 @@ The supported RSA key sizes depend on the available cryptographic service provid The following code example encrypts some data, creates a hash of the encrypted data, and then signs hash with a digital signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/SignHash/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.RSACryptoServiceProvider ManualHash Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/SignHash/class1.vb" id="Snippet1"::: ]]> @@ -2311,7 +2311,7 @@ The supported RSA key sizes depend on the available cryptographic service provid The following code example creates an object and sets the static property to use the machine key store instead of the user profile key store. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/UseMachineKeyStore/example2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.RSACSP.UseMachineKey/VB/example2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/UseMachineKeyStore/example2.vb" id="Snippet2"::: ]]> @@ -2400,7 +2400,7 @@ The supported RSA key sizes depend on the available cryptographic service provid The following example shows how to use the method to verify a signature. This code example is part of a larger example provided for the method. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/SignHash/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.RSACryptoServiceProvider ManualHash Example/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/SignHash/class1.vb" id="Snippet2"::: ]]> @@ -2492,7 +2492,7 @@ The supported RSA key sizes depend on the available cryptographic service provid The following example shows how to use the method to verify a signature. This code example is part of a larger example provided for the method. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/SignHash/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.RSACryptoServiceProvider ManualHash Example/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/SignHash/class1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter.xml b/xml/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter.xml index 4c15b11062e..7cd7ccc82f3 100644 --- a/xml/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter.xml +++ b/xml/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter.xml @@ -81,7 +81,7 @@ The following example shows how to use the class to recreate an exchange key to be used to decrypt a message. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsaoaepkeyexchangedeformatter2/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Overview/program.vb" id="Snippet1"::: ]]> @@ -256,7 +256,7 @@ The following example shows how to use the method to recreate an exchange key from a message sender. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Overview/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsaoaepkeyexchangedeformatter2/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Overview/program.vb" id="Snippet3"::: ]]> @@ -320,7 +320,7 @@ The following code example demonstrates how to call the property to retrieve an XML representation of the parameters. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSAOAEPKeyExchangeDeformatter/VB/rsaencoder.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.vb" id="Snippet12"::: ]]> diff --git a/xml/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter.xml b/xml/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter.xml index be3d9c73af7..e4ffb63c9e2 100644 --- a/xml/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter.xml +++ b/xml/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter.xml @@ -81,7 +81,7 @@ The following example shows how to use the class to create an exchange key for a message recipient. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsaoaepkeyexchangedeformatter2/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Overview/program.vb" id="Snippet1"::: ]]> @@ -333,7 +333,7 @@ The following example shows how to use the method to create an exchange key for a message recipient. This code example is part of a larger example provided for the class :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1keyexchangeformatter2/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.vb" id="Snippet2"::: ]]> @@ -389,7 +389,7 @@ The following code example demonstrates how to set the property to an field. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSAOAEPKeyExchangeDeformatter/VB/rsaencoder.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.vb" id="Snippet7"::: ]]> @@ -445,7 +445,7 @@ The following code example demonstrates how to call the property to retrieve an XML representation of the parameters. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSAOAEPKeyExchangeDeformatter/VB/rsaencoder.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.vb" id="Snippet13"::: ]]> @@ -506,7 +506,7 @@ The following code example demonstrates how to set the property to a random number. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSAOAEPKeyExchangeDeformatter/VB/rsaencoder.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.vb" id="Snippet6"::: ]]> @@ -569,7 +569,7 @@ The following code example demonstrates how to use the method to set an key for decryption. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSAOAEPKeyExchangeDeformatter/VB/rsaencoder.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography/RSAPKCS1KeyExchangeDeformatter.xml b/xml/System.Security.Cryptography/RSAPKCS1KeyExchangeDeformatter.xml index 493717644f7..b54673718ce 100644 --- a/xml/System.Security.Cryptography/RSAPKCS1KeyExchangeDeformatter.xml +++ b/xml/System.Security.Cryptography/RSAPKCS1KeyExchangeDeformatter.xml @@ -81,7 +81,7 @@ The following example shows how to use the class to recreate an exchange key to be used to decrypt a message. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1keyexchangeformatter2/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.vb" id="Snippet1"::: ]]> @@ -256,7 +256,7 @@ The following example shows how to use the method to recreate an exchange key from a message sender. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1keyexchangeformatter2/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security.Cryptography/RSAPKCS1KeyExchangeFormatter.xml b/xml/System.Security.Cryptography/RSAPKCS1KeyExchangeFormatter.xml index 91531e2dbe0..6ee8a225ccc 100644 --- a/xml/System.Security.Cryptography/RSAPKCS1KeyExchangeFormatter.xml +++ b/xml/System.Security.Cryptography/RSAPKCS1KeyExchangeFormatter.xml @@ -81,7 +81,7 @@ The following example shows how to use the class to create an exchange key for a message recipient. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1keyexchangeformatter2/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.vb" id="Snippet1"::: ]]> @@ -335,7 +335,7 @@ The following example shows how to use the method to create an exchange key for a message recipient. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1keyexchangeformatter2/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Cryptography/RSAPKCS1SignatureDeformatter.xml b/xml/System.Security.Cryptography/RSAPKCS1SignatureDeformatter.xml index 0243172c2c5..1ce9b175e6d 100644 --- a/xml/System.Security.Cryptography/RSAPKCS1SignatureDeformatter.xml +++ b/xml/System.Security.Cryptography/RSAPKCS1SignatureDeformatter.xml @@ -78,7 +78,7 @@ The following example demonstrates how to use the method to verify a signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAPKCS1SignatureDeformatter/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signaturedeformatterexample/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAPKCS1SignatureDeformatter/Overview/program.vb" id="Snippet1"::: ]]> @@ -375,7 +375,7 @@ The following example demonstrates how to use the method to verify a signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAPKCS1SignatureDeformatter/Overview/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signaturedeformatterexample/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAPKCS1SignatureDeformatter/Overview/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/RSAPKCS1SignatureFormatter.xml b/xml/System.Security.Cryptography/RSAPKCS1SignatureFormatter.xml index c2c65ac21c9..f35cb84425d 100644 --- a/xml/System.Security.Cryptography/RSAPKCS1SignatureFormatter.xml +++ b/xml/System.Security.Cryptography/RSAPKCS1SignatureFormatter.xml @@ -78,7 +78,7 @@ The following example demonstrates how to create a PKCS #1 version 1.5 signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAPKCS1SignatureFormatter/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signatureformatterexample/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAPKCS1SignatureFormatter/Overview/program.vb" id="Snippet1"::: ]]> @@ -260,7 +260,7 @@ The following example demonstrates how to create a PKCS #1 version 1.5 signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAPKCS1SignatureFormatter/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signatureformatterexample/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAPKCS1SignatureFormatter/Overview/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/Rfc2898DeriveBytes.xml b/xml/System.Security.Cryptography/Rfc2898DeriveBytes.xml index 4b4c7fe5db2..1ad0564118e 100644 --- a/xml/System.Security.Cryptography/Rfc2898DeriveBytes.xml +++ b/xml/System.Security.Cryptography/Rfc2898DeriveBytes.xml @@ -83,7 +83,7 @@ The following code example uses the class to create two identical keys for the class. It then encrypts and decrypts some data using the keys. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Rfc2898DeriveBytes/Overview/rfc28981.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/rfc28981/vb/rfc28981.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Rfc2898DeriveBytes/Overview/rfc28981.vb" id="Snippet1"::: ]]> @@ -174,7 +174,7 @@ The following code example uses the class to create two identical keys for the class. It then encrypts and decrypts some data using the keys. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Rfc2898DeriveBytes/Overview/rfc28981.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/rfc28981/vb/rfc28981.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Rfc2898DeriveBytes/Overview/rfc28981.vb" id="Snippet1"::: ]]> @@ -412,7 +412,7 @@ For more information about PBKDF2, see [RFC 2898](https://www.rfc-editor.org/inf The following code example uses the class to create two identical keys for the class. It then encrypts and decrypts some data using the keys. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Rfc2898DeriveBytes/Overview/rfc28981.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/rfc28981/vb/rfc28981.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Rfc2898DeriveBytes/Overview/rfc28981.vb" id="Snippet1"::: ]]> @@ -889,7 +889,7 @@ For more information about PBKDF2, see [RFC 2898](https://www.rfc-editor.org/inf The following example shows how to use the method to get the key for an instance of . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Rfc2898DeriveBytes/Overview/rfc28981.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/rfc28981/vb/rfc28981.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Rfc2898DeriveBytes/Overview/rfc28981.vb" id="Snippet2"::: ]]> @@ -989,7 +989,7 @@ For more information about PBKDF2, see [RFC 2898](https://www.rfc-editor.org/inf The following example shows how to use the property to display the number of iterations used in the generation of the key. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Rfc2898DeriveBytes/Overview/rfc28981.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/rfc28981/vb/rfc28981.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Rfc2898DeriveBytes/Overview/rfc28981.vb" id="Snippet3"::: ]]> @@ -1408,7 +1408,7 @@ The `password` is converted to bytes using the UTF8 encoding. For other encoding The following example shows how to use the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/Rfc2898DeriveBytes/Overview/rfc28981.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/rfc28981/vb/rfc28981.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/Rfc2898DeriveBytes/Overview/rfc28981.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography/RijndaelManaged.xml b/xml/System.Security.Cryptography/RijndaelManaged.xml index e80da098c55..a2824c22c7c 100644 --- a/xml/System.Security.Cryptography/RijndaelManaged.xml +++ b/xml/System.Security.Cryptography/RijndaelManaged.xml @@ -85,7 +85,7 @@ The following example demonstrates how to encrypt and decrypt sample data using the `RijndaelManaged` class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RijndaelManaged/Overview/class1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RijndaelManaged Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RijndaelManaged/Overview/class1.vb" id="Snippet1"::: ]]> @@ -136,7 +136,7 @@ The following example creates a new instance of the `RijndaelManaged` class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RijndaelManaged/Overview/class1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RijndaelManaged Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RijndaelManaged/Overview/class1.vb" id="Snippet1"::: ]]> @@ -309,7 +309,7 @@ The following code example demonstrates how to use the method to decrypt messages encoded with the same signature parameter. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RijndaelManaged/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RijndaelManaged Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RijndaelManaged/Overview/class1.vb" id="Snippet1"::: ]]> @@ -436,7 +436,7 @@ The following code examples demonstrates how to encrypt a message using the `CreateEncryptor` method. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RijndaelManaged/Overview/class1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RijndaelManaged Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RijndaelManaged/Overview/class1.vb" id="Snippet1"::: ]]> @@ -579,7 +579,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RijndaelManaged/Overview/class1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RijndaelManaged Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RijndaelManaged/Overview/class1.vb" id="Snippet1"::: ]]> @@ -637,7 +637,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RijndaelManaged/Overview/class1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RijndaelManaged Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RijndaelManaged/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/SymmetricAlgorithm.xml b/xml/System.Security.Cryptography/SymmetricAlgorithm.xml index 2eb78c64ab3..6bedc94a2eb 100644 --- a/xml/System.Security.Cryptography/SymmetricAlgorithm.xml +++ b/xml/System.Security.Cryptography/SymmetricAlgorithm.xml @@ -654,7 +654,7 @@ We recommend that you specify the algorithm by calling the method. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/SymmetricAlgorithm/CreateEncryptor/encryptor.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm/vb/encryptor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/SymmetricAlgorithm/CreateEncryptor/encryptor.vb" id="Snippet1"::: ]]> @@ -2730,7 +2730,7 @@ Allows an to attempt to free resources and perfor The following example shows the value of for the symmetric algorithms. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/SymmetricAlgorithm/LegalBlockSizes/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm.blocksize/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/SymmetricAlgorithm/LegalBlockSizes/program.vb" id="Snippet1"::: ]]> @@ -2861,7 +2861,7 @@ Allows an to attempt to free resources and perfor The following example shows the value of for the AES symmetric algorithm. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/SymmetricAlgorithm/LegalBlockSizes/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm.blocksize/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/SymmetricAlgorithm/LegalBlockSizes/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/ToBase64Transform.xml b/xml/System.Security.Cryptography/ToBase64Transform.xml index d5f4e1d9c3b..db19bbbe1d9 100644 --- a/xml/System.Security.Cryptography/ToBase64Transform.xml +++ b/xml/System.Security.Cryptography/ToBase64Transform.xml @@ -79,7 +79,7 @@ The following code example demonstrates how to use members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/ToBase64Transform/Overview/members.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.ToBase64Transform/VB/members.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/ToBase64Transform/Overview/members.vb" id="Snippet1"::: ]]> @@ -178,7 +178,7 @@ The following code example demonstrates how to call the property to determine if the current transform can be reused. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/ToBase64Transform/Overview/members.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.ToBase64Transform/VB/members.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/ToBase64Transform/Overview/members.vb" id="Snippet3"::: ]]> @@ -237,7 +237,7 @@ The following code example demonstrates how to call the method to verify that multiple blocks can be transformed. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/ToBase64Transform/Overview/members.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.ToBase64Transform/VB/members.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/ToBase64Transform/Overview/members.vb" id="Snippet4"::: ]]> @@ -299,7 +299,7 @@ The following code example demonstrates how to call the method to free up unused resources by the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/ToBase64Transform/Overview/members.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.ToBase64Transform/VB/members.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/ToBase64Transform/Overview/members.vb" id="Snippet7"::: ]]> @@ -538,7 +538,7 @@ The following code example demonstrates how to call the property to retrieve the input block size of the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/ToBase64Transform/Overview/members.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.ToBase64Transform/VB/members.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/ToBase64Transform/Overview/members.vb" id="Snippet5"::: ]]> @@ -601,7 +601,7 @@ The following code example demonstrates how to call the property to create a new byte array with the size of the output block size. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/ToBase64Transform/Overview/members.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.ToBase64Transform/VB/members.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/ToBase64Transform/Overview/members.vb" id="Snippet6"::: ]]> @@ -726,7 +726,7 @@ For more information about `Dispose` and `Finalize`, see [Cleaning Up Unmanaged The following code example demonstrates how to call the method to iterate through `inputBytes` transforming by `blockSize`. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/ToBase64Transform/Overview/members.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.ToBase64Transform/VB/members.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/ToBase64Transform/Overview/members.vb" id="Snippet8"::: ]]> @@ -801,7 +801,7 @@ For more information about `Dispose` and `Finalize`, see [Cleaning Up Unmanaged The following code example demonstrates how to call the method to transform the final block of data. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/ToBase64Transform/Overview/members.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.ToBase64Transform/VB/members.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/ToBase64Transform/Overview/members.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Security.Cryptography/TripleDES.xml b/xml/System.Security.Cryptography/TripleDES.xml index 6bc20e33421..8516220b143 100644 --- a/xml/System.Security.Cryptography/TripleDES.xml +++ b/xml/System.Security.Cryptography/TripleDES.xml @@ -84,12 +84,12 @@ The following code example shows how to create and use a object to encrypt and decrypt data in a file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/TripleDES/Create/fileexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.3DES.Create.File/VB/fileexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/TripleDES/Overview/fileexample.vb" id="Snippet1"::: The following code example shows how to create and use a object to encrypt and decrypt data in memory. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/TripleDES/Create/memoryexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.3DES.Create.Memory/VB/memoryexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/TripleDES/Overview/memoryexample.vb" id="Snippet1"::: ]]> @@ -240,12 +240,12 @@ The following code example shows how to create and use a object to encrypt and decrypt data in a file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/TripleDES/Create/fileexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.3DES.Create.File/VB/fileexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/TripleDES/Overview/fileexample.vb" id="Snippet1"::: The following code example shows how to create and use a object to encrypt and decrypt data in memory. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/TripleDES/Create/memoryexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Cryptography.3DES.Create.Memory/VB/memoryexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/TripleDES/Overview/memoryexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Policy/Evidence.xml b/xml/System.Security.Policy/Evidence.xml index be1f7e1a0d2..12b7bce752b 100644 --- a/xml/System.Security.Policy/Evidence.xml +++ b/xml/System.Security.Policy/Evidence.xml @@ -89,7 +89,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet1"::: ]]> @@ -145,7 +145,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet15"::: ]]> @@ -195,7 +195,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet12"::: ]]> @@ -262,7 +262,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet3"::: ]]> @@ -382,7 +382,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet4"::: ]]> @@ -536,7 +536,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet2"::: ]]> @@ -673,7 +673,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet13"::: ]]> @@ -797,7 +797,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet6"::: ]]> @@ -868,7 +868,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet12"::: ]]> @@ -988,7 +988,7 @@ Console::WriteLine( "Does the copy equal the current evidence? {0}", myEvidence- :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet3"::: ]]> @@ -1121,7 +1121,7 @@ Console::WriteLine( "Does the copy equal the current evidence? {0}", myEvidence- :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet14"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet14"::: ]]> @@ -1231,7 +1231,7 @@ Console::WriteLine( "HashCode = {0}", myEvidence->GetHashCode() ); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet2"::: ]]> @@ -1448,7 +1448,7 @@ Console::WriteLine( "HashCode = {0}", myEvidence->GetHashCode() ); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet7"::: ]]> @@ -1515,7 +1515,7 @@ Console::WriteLine( "HashCode = {0}", myEvidence->GetHashCode() ); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet10"::: ]]> @@ -1584,7 +1584,7 @@ The results of executing the diff --git a/xml/System.Security.Policy/GacMembershipCondition.xml b/xml/System.Security.Policy/GacMembershipCondition.xml index b8d85b4ee9c..1202b24f1a7 100644 --- a/xml/System.Security.Policy/GacMembershipCondition.xml +++ b/xml/System.Security.Policy/GacMembershipCondition.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/CPP/gacmembershipcondition.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/GacInstalled/Equals/gacmembershipcondition.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb" id="Snippet1"::: ]]> @@ -116,7 +116,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/CPP/gacmembershipcondition.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/GacInstalled/Equals/gacmembershipcondition.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb" id="Snippet4"::: ]]> @@ -174,7 +174,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/CPP/gacmembershipcondition.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/GacInstalled/Equals/gacmembershipcondition.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb" id="Snippet3"::: ]]> @@ -228,7 +228,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/CPP/gacmembershipcondition.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/GacInstalled/Equals/gacmembershipcondition.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb" id="Snippet2"::: ]]> @@ -286,7 +286,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/CPP/gacmembershipcondition.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/GacInstalled/Equals/gacmembershipcondition.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb" id="Snippet5"::: ]]> @@ -352,7 +352,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/CPP/gacmembershipcondition.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/GacInstalled/Equals/gacmembershipcondition.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb" id="Snippet5"::: ]]> @@ -414,7 +414,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/CPP/gacmembershipcondition.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/GacInstalled/Equals/gacmembershipcondition.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb" id="Snippet6"::: ]]> @@ -469,7 +469,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/CPP/gacmembershipcondition.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/GacInstalled/Equals/gacmembershipcondition.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb" id="Snippet4"::: ]]> @@ -523,7 +523,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/CPP/gacmembershipcondition.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/GacInstalled/Equals/gacmembershipcondition.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb" id="Snippet5"::: ]]> @@ -587,7 +587,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/CPP/gacmembershipcondition.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/GacInstalled/Equals/gacmembershipcondition.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb" id="Snippet5"::: ]]> @@ -644,7 +644,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/CPP/gacmembershipcondition.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/GacInstalled/Equals/gacmembershipcondition.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Security.Policy/IApplicationTrustManager.xml b/xml/System.Security.Policy/IApplicationTrustManager.xml index 5e620964532..f27553cd33e 100644 --- a/xml/System.Security.Policy/IApplicationTrustManager.xml +++ b/xml/System.Security.Policy/IApplicationTrustManager.xml @@ -38,7 +38,7 @@ The following example shows a simple implementation of . :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/IApplicationTrustManager/Overview/customTrustManager.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.IApplicationTrustManager/VB/customtrustmanager.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/IApplicationTrustManager/Overview/customtrustmanager.vb" id="Snippet1"::: ]]> @@ -81,7 +81,7 @@ The following example shows an implementation of the method for a custom trust manager. This code example is part of a larger example provided for the interface. :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/IApplicationTrustManager/Overview/customTrustManager.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.IApplicationTrustManager/VB/customtrustmanager.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/IApplicationTrustManager/Overview/customtrustmanager.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Policy/PolicyLevel.xml b/xml/System.Security.Policy/PolicyLevel.xml index 9e4ebd188a0..5febc21bc68 100644 --- a/xml/System.Security.Policy/PolicyLevel.xml +++ b/xml/System.Security.Policy/PolicyLevel.xml @@ -1062,7 +1062,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.policy.policylevel/CPP/policylevel.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyLevel/Resolve/policylevel.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.policy.policylevel/VB/policylevel.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyLevel/Resolve/policylevel.vb" id="Snippet13"::: ]]> @@ -1225,7 +1225,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.policy.policylevel/CPP/policylevel.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyLevel/Resolve/policylevel.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.policy.policylevel/VB/policylevel.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyLevel/Resolve/policylevel.vb" id="Snippet15"::: ]]> diff --git a/xml/System.Security.Policy/PolicyStatement.xml b/xml/System.Security.Policy/PolicyStatement.xml index 70c03ce11e5..0bb591aee49 100644 --- a/xml/System.Security.Policy/PolicyStatement.xml +++ b/xml/System.Security.Policy/PolicyStatement.xml @@ -67,7 +67,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/CPP/members.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyStatement/Overview/members.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -133,7 +133,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/CPP/members.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyStatement/Overview/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -191,7 +191,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/CPP/members.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyStatement/Overview/members.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -237,7 +237,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/CPP/members.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyStatement/Overview/members.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb" id="Snippet4"::: ]]> @@ -288,7 +288,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/CPP/members.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyStatement/Overview/members.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb" id="Snippet13"::: ]]> @@ -335,7 +335,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/CPP/members.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyStatement/Overview/members.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb" id="Snippet9"::: ]]> @@ -403,7 +403,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/CPP/members.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyStatement/Overview/members.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb" id="Snippet10"::: ]]> @@ -471,7 +471,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/CPP/members.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyStatement/Overview/members.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb" id="Snippet7"::: ]]> @@ -581,7 +581,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/CPP/members.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyStatement/Overview/members.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb" id="Snippet12"::: ]]> @@ -637,7 +637,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/CPP/members.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyStatement/Overview/members.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb" id="Snippet5"::: ]]> @@ -703,7 +703,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/CPP/members.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyStatement/Overview/members.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Security.Principal/GenericIdentity.xml b/xml/System.Security.Principal/GenericIdentity.xml index b046a9a7a0f..fbf9ec1d07d 100644 --- a/xml/System.Security.Principal/GenericIdentity.xml +++ b/xml/System.Security.Principal/GenericIdentity.xml @@ -83,7 +83,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/CPP/genericidentitymembers.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/VB/genericidentitymembers.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.vb" id="Snippet1"::: ]]> @@ -194,7 +194,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/CPP/genericidentitymembers.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/VB/genericidentitymembers.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.vb" id="Snippet2"::: ]]> @@ -257,7 +257,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/CPP/genericidentitymembers.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/VB/genericidentitymembers.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.vb" id="Snippet3"::: ]]> @@ -321,7 +321,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/CPP/genericidentitymembers.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/VB/genericidentitymembers.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.vb" id="Snippet5"::: ]]> @@ -512,7 +512,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/CPP/genericidentitymembers.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/VB/genericidentitymembers.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Security.Principal/GenericPrincipal.xml b/xml/System.Security.Principal/GenericPrincipal.xml index 4ae7f3c8bc8..9fc821c8b7f 100644 --- a/xml/System.Security.Principal/GenericPrincipal.xml +++ b/xml/System.Security.Principal/GenericPrincipal.xml @@ -83,7 +83,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.GenericPrincipal2/CPP/genericprincipalmembers.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/GenericPrincipal/Overview/genericprincipalmembers.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericPrincipal2/VB/genericprincipalmembers.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/GenericPrincipal/Overview/genericprincipalmembers.vb" id="Snippet1"::: ]]> @@ -147,7 +147,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.GenericPrincipal2/CPP/genericprincipalmembers.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/GenericPrincipal/Overview/genericprincipalmembers.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericPrincipal2/VB/genericprincipalmembers.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/GenericPrincipal/Overview/genericprincipalmembers.vb" id="Snippet2"::: ]]> @@ -207,7 +207,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.GenericPrincipal2/CPP/genericprincipalmembers.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/GenericPrincipal/Overview/genericprincipalmembers.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericPrincipal2/VB/genericprincipalmembers.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/GenericPrincipal/Overview/genericprincipalmembers.vb" id="Snippet3"::: ]]> @@ -282,7 +282,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.GenericPrincipal2/CPP/genericprincipalmembers.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/GenericPrincipal/Overview/genericprincipalmembers.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericPrincipal2/VB/genericprincipalmembers.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/GenericPrincipal/Overview/genericprincipalmembers.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Security.Principal/WindowsAccountType.xml b/xml/System.Security.Principal/WindowsAccountType.xml index 49e31277e5f..4083863f133 100644 --- a/xml/System.Security.Principal/WindowsAccountType.xml +++ b/xml/System.Security.Principal/WindowsAccountType.xml @@ -51,7 +51,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Security.Principal/WindowsBuiltInRole.xml b/xml/System.Security.Principal/WindowsBuiltInRole.xml index 27f8636441d..deea6ad7036 100644 --- a/xml/System.Security.Principal/WindowsBuiltInRole.xml +++ b/xml/System.Security.Principal/WindowsBuiltInRole.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsBuiltInRole Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsBuiltInRole/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsBuiltInRole Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsBuiltInRole/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Principal/WindowsIdentity.xml b/xml/System.Security.Principal/WindowsIdentity.xml index a9dd49ec001..4a23ea83af0 100644 --- a/xml/System.Security.Principal/WindowsIdentity.xml +++ b/xml/System.Security.Principal/WindowsIdentity.xml @@ -91,7 +91,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -340,7 +340,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet4"::: ]]> @@ -545,7 +545,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet7"::: ]]> @@ -621,7 +621,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet17"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet17"::: ]]> @@ -1110,7 +1110,7 @@ Application code does not call this method; it is automatically invoked during g :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet15"::: ]]> @@ -1172,7 +1172,7 @@ Application code does not call this method; it is automatically invoked during g :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet13"::: ]]> @@ -1332,7 +1332,7 @@ Application code does not call this method; it is automatically invoked during g The following code example shows the use of the property to display the identity references for the groups the current user belongs to. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet20"::: ]]> @@ -1394,7 +1394,7 @@ Application code does not call this method; it is automatically invoked during g :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/WindowsIdentity Impersonation/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsIdentity/Impersonate/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/WindowsIdentity Impersonation/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsIdentity/Impersonate/source.vb" id="Snippet1"::: ]]> @@ -1458,7 +1458,7 @@ Application code does not call this method; it is automatically invoked during g The following example demonstrates how to obtain a Windows account token by calling the unmanaged Win32 `LogonUser` function, and how to use that token to impersonate another user and then revert to the original identity. :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsIdentity/Impersonate/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/windowsidentity impersonation2/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsIdentity/Impersonate/source1.vb" id="Snippet1"::: ]]> @@ -1523,7 +1523,7 @@ Application code does not call this method; it is automatically invoked during g The following code example shows the use of the property to display the impersonation level for the current user. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet21"::: ]]> @@ -1583,7 +1583,7 @@ Application code does not call this method; it is automatically invoked during g :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet9"::: ]]> @@ -1677,7 +1677,7 @@ Application code does not call this method; it is automatically invoked during g :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet12"::: ]]> @@ -1730,7 +1730,7 @@ Application code does not call this method; it is automatically invoked during g :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet11"::: ]]> @@ -1792,7 +1792,7 @@ Application code does not call this method; it is automatically invoked during g :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet8"::: ]]> @@ -1856,7 +1856,7 @@ Application code does not call this method; it is automatically invoked during g The following code example shows the use of the property to display the security identifier for the token owner. This code example is part of a larger example provided for the class :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet19"::: ]]> @@ -2363,7 +2363,7 @@ public class ImpersonationDemo :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet14"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet14"::: ]]> diff --git a/xml/System.Security.Principal/WindowsImpersonationContext.xml b/xml/System.Security.Principal/WindowsImpersonationContext.xml index da3ae107fea..2ca682166b4 100644 --- a/xml/System.Security.Principal/WindowsImpersonationContext.xml +++ b/xml/System.Security.Principal/WindowsImpersonationContext.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/WindowsIdentity Impersonation/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsIdentity/Impersonate/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/WindowsIdentity Impersonation/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsIdentity/Impersonate/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Principal/WindowsPrincipal.xml b/xml/System.Security.Principal/WindowsPrincipal.xml index 8205103b3e1..6687a941ccd 100644 --- a/xml/System.Security.Principal/WindowsPrincipal.xml +++ b/xml/System.Security.Principal/WindowsPrincipal.xml @@ -67,7 +67,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsBuiltInRole Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsBuiltInRole/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsBuiltInRole Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsBuiltInRole/Overview/source.vb" id="Snippet1"::: ]]> @@ -314,7 +314,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsBuiltInRole Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsBuiltInRole/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsBuiltInRole Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsBuiltInRole/Overview/source.vb" id="Snippet1"::: ]]> @@ -382,7 +382,7 @@ The following code example demonstrates the use of the method. The enumeration value is used to determine whether the current principal is an administrator. For the full code example, see the method. :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsBuiltInRole/Overview/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsBuiltInRole Example/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsBuiltInRole/Overview/source.vb" id="Snippet5"::: ]]> @@ -446,7 +446,7 @@ The following example uses the enumeration is used to determine whether the current principal is an . For the full code example, see the method. :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsBuiltInRole/Overview/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsBuiltInRole Example/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsBuiltInRole/Overview/source.vb" id="Snippet4"::: ]]> @@ -547,7 +547,7 @@ The strings `BUILTIN\Administrators` and `BUILTIN\Users` are used to determine whether the current principal is an administrator or a user. For the full code example, see the method. :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsBuiltInRole/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsBuiltInRole Example/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsBuiltInRole/Overview/source.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security/AllowPartiallyTrustedCallersAttribute.xml b/xml/System.Security/AllowPartiallyTrustedCallersAttribute.xml index a6766531af3..447032f1664 100644 --- a/xml/System.Security/AllowPartiallyTrustedCallersAttribute.xml +++ b/xml/System.Security/AllowPartiallyTrustedCallersAttribute.xml @@ -88,7 +88,7 @@ The following example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security/AllowPartiallyTrustedCallersAttribute/Overview/AllowPartiallyTrustedCallersAttribute.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AllowPartiallyTrustedCallersAttribute/VB/allowpartiallytrustedcallersattribute.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/AllowPartiallyTrustedCallersAttribute/Overview/allowpartiallytrustedcallersattribute.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security/HostSecurityManager.xml b/xml/System.Security/HostSecurityManager.xml index c39fd3810e6..d90f1cf7b33 100644 --- a/xml/System.Security/HostSecurityManager.xml +++ b/xml/System.Security/HostSecurityManager.xml @@ -59,7 +59,7 @@ The following example shows a very simple implementation of a . :::code language="csharp" source="~/snippets/csharp/System.Security/HostSecurityManager/Overview/customsecuritymanager.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.HostSecurityManager/VB/customsecuritymanager.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/HostSecurityManager/Overview/customsecuritymanager.vb" id="Snippet1"::: ]]> @@ -160,7 +160,7 @@ The following example shows how to override the method for a custom host security manager. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/HostSecurityManager/Overview/customsecuritymanager.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.HostSecurityManager/VB/customsecuritymanager.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/HostSecurityManager/Overview/customsecuritymanager.vb" id="Snippet3"::: ]]> @@ -278,7 +278,7 @@ The following example shows how to override the property for a custom host security manager. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/HostSecurityManager/Overview/customsecuritymanager.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.HostSecurityManager/VB/customsecuritymanager.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/HostSecurityManager/Overview/customsecuritymanager.vb" id="Snippet2"::: ]]> @@ -339,7 +339,7 @@ The following example shows how to override the method for a custom host security manager. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/HostSecurityManager/Overview/customsecuritymanager.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.HostSecurityManager/VB/customsecuritymanager.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/HostSecurityManager/Overview/customsecuritymanager.vb" id="Snippet6"::: ]]> @@ -591,7 +591,7 @@ The following example shows how to override the method for a custom host security manager. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/HostSecurityManager/Overview/customsecuritymanager.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.HostSecurityManager/VB/customsecuritymanager.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/HostSecurityManager/Overview/customsecuritymanager.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security/ISecurityEncodable.xml b/xml/System.Security/ISecurityEncodable.xml index 9b036063f58..628fbe57fee 100644 --- a/xml/System.Security/ISecurityEncodable.xml +++ b/xml/System.Security/ISecurityEncodable.xml @@ -90,7 +90,7 @@ This example shows how to define a permission class for use with code access security. All of the necessary permission interfaces are implemented. :::code language="csharp" source="~/snippets/csharp/System.Security/IPermission/Overview/Permission.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Permission/vb/permission.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/ISecurityEncodable/Overview/permission.vb" id="Snippet1"::: ]]> @@ -159,7 +159,7 @@ The following code example demonstrates implementing the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/IPermission/Overview/Permission.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Permission/vb/permission.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/ISecurityEncodable/Overview/permission.vb" id="Snippet6"::: ]]> @@ -227,7 +227,7 @@ The following code example demonstrates implementing the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/IPermission/Overview/Permission.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Permission/vb/permission.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/ISecurityEncodable/Overview/permission.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Security/SecureString.xml b/xml/System.Security/SecureString.xml index 863bda55620..c30ee283ffb 100644 --- a/xml/System.Security/SecureString.xml +++ b/xml/System.Security/SecureString.xml @@ -66,7 +66,7 @@ The following example demonstrates how to use a to secure a user's password for use as a credential to start a new process. :::code language="csharp" source="~/snippets/csharp/System.Security/SecureString/Overview/ctor4.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecureString.Ctor/vb/ctor4.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Security/SecureString/Overview/ctor4.vb" id="Snippet4"::: ]]> @@ -134,12 +134,12 @@ The following example demonstrates how to use a object. It then calls the method to add an array of characters to it. :::code language="csharp" source="~/snippets/csharp/System.Security/SecureString/Overview/Ctor2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecureString.Ctor/vb/ctor2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecureString/Overview/ctor2.vb" id="Snippet2"::: The following example creates a object from the value of a object. :::code language="csharp" source="~/snippets/csharp/System.Security/SecureString/Overview/Ctor3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecureString.Ctor/vb/Ctor3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecureString/Overview/Ctor3.vb" id="Snippet3"::: ]]> @@ -292,12 +292,12 @@ The following example demonstrates how to use a , , , , and methods affect the value of a object. :::code language="csharp" source="~/snippets/csharp/System.Security/SecureString/AppendChar/xat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecureString.xAt/VB/xat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecureString/AppendChar/xat.vb" id="Snippet1"::: The following example demonstrates how the and methods can be used to collect the characters in a password. :::code language="csharp" source="~/snippets/csharp/System.Security/SecureString/AppendChar/xchar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecureString.xChar/VB/xchar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecureString/AppendChar/xchar.vb" id="Snippet1"::: ]]> @@ -366,7 +366,7 @@ The following example demonstrates how to use a , , , , and methods affect the value of a object. :::code language="csharp" source="~/snippets/csharp/System.Security/SecureString/AppendChar/xat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecureString.xAt/VB/xat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecureString/AppendChar/xat.vb" id="Snippet1"::: ]]> @@ -569,7 +569,7 @@ The following example demonstrates how to use a , , , , and methods affect the value of a object. :::code language="csharp" source="~/snippets/csharp/System.Security/SecureString/AppendChar/xat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecureString.xAt/VB/xat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecureString/AppendChar/xat.vb" id="Snippet1"::: ]]> @@ -768,7 +768,7 @@ The following example demonstrates how to use a and methods can be used to collect the characters in a password. After the password is collected, it is made read-only. :::code language="csharp" source="~/snippets/csharp/System.Security/SecureString/AppendChar/xchar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecureString.xChar/VB/xchar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecureString/AppendChar/xchar.vb" id="Snippet1"::: ]]> @@ -844,12 +844,12 @@ The following example demonstrates how to use a , , , , and methods affect the value of a object. :::code language="csharp" source="~/snippets/csharp/System.Security/SecureString/AppendChar/xat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecureString.xAt/VB/xat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecureString/AppendChar/xat.vb" id="Snippet1"::: The following example demonstrates how the and methods can be used to collect the characters in a password. :::code language="csharp" source="~/snippets/csharp/System.Security/SecureString/AppendChar/xchar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecureString.xChar/VB/xchar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecureString/AppendChar/xchar.vb" id="Snippet1"::: ]]> @@ -930,7 +930,7 @@ The following example demonstrates how to use a , , , , and methods affect the value of a object. :::code language="csharp" source="~/snippets/csharp/System.Security/SecureString/AppendChar/xat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecureString.xAt/VB/xat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecureString/AppendChar/xat.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security/SecurityElement.xml b/xml/System.Security/SecurityElement.xml index d4b6ae814c5..cb2664a0e61 100644 --- a/xml/System.Security/SecurityElement.xml +++ b/xml/System.Security/SecurityElement.xml @@ -115,7 +115,7 @@ The following example shows the use of members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityElement/Overview/securityelementmembers.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecurityElementMembers/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityElement/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -191,7 +191,7 @@ The following code shows the use of the constructor to create a new object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityElement/Overview/securityelementmembers.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecurityElementMembers/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityElement/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -336,7 +336,7 @@ The following code shows the use of the method to add a name/value attribute to an XML element. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityElement/Overview/securityelementmembers.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecurityElementMembers/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityElement/Overview/Form1.vb" id="Snippet4"::: ]]> @@ -411,7 +411,7 @@ The following code shows the use of the method to add a child element to the XML element. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityElement/Overview/securityelementmembers.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecurityElementMembers/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityElement/Overview/Form1.vb" id="Snippet5"::: ]]> @@ -493,7 +493,7 @@ The following code shows the use of the method to find an attribute by name. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityElement/Overview/securityelementmembers.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecurityElementMembers/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityElement/Overview/Form1.vb" id="Snippet13"::: ]]> @@ -565,7 +565,7 @@ The following code shows the use of the property to get an attribute of an XML element. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityElement/Overview/securityelementmembers.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecurityElementMembers/VB/Form1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityElement/Overview/Form1.vb" id="Snippet15"::: ]]> @@ -634,7 +634,7 @@ The following code shows the use of the property to get the array of child elements of the XML element. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityElement/Overview/securityelementmembers.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecurityElementMembers/VB/Form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityElement/Overview/Form1.vb" id="Snippet14"::: ]]> @@ -780,7 +780,7 @@ The following code shows the use of the method to compare two XML elements. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityElement/Overview/securityelementmembers.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecurityElementMembers/VB/Form1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityElement/Overview/Form1.vb" id="Snippet22"::: ]]> @@ -865,7 +865,7 @@ The following code shows the use of the method to replace invalid XML characters in a string with their valid XML equivalent. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityElement/Overview/securityelementmembers.cs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecurityElementMembers/VB/Form1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityElement/Overview/Form1.vb" id="Snippet19"::: ]]> @@ -1019,7 +1019,7 @@ The following code shows the use of the method to determine whether a string is a valid attribute name. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityElement/Overview/securityelementmembers.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecurityElementMembers/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityElement/Overview/Form1.vb" id="Snippet6"::: ]]> @@ -1098,7 +1098,7 @@ The following code shows the use of the method to determine whether a string is a valid attribute value. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityElement/Overview/securityelementmembers.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecurityElementMembers/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityElement/Overview/Form1.vb" id="Snippet7"::: ]]> @@ -1177,7 +1177,7 @@ The following code shows the use of the method to determine whether a string is a valid attribute tag. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityElement/Overview/securityelementmembers.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecurityElementMembers/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityElement/Overview/Form1.vb" id="Snippet10"::: ]]> @@ -1256,7 +1256,7 @@ The following code shows the use of the method to determine whether a string is valid as XML element text. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityElement/Overview/securityelementmembers.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecurityElementMembers/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityElement/Overview/Form1.vb" id="Snippet9"::: ]]> @@ -1338,7 +1338,7 @@ The following code shows the use of the method to find a child by its tag name. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityElement/Overview/securityelementmembers.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecurityElementMembers/VB/Form1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityElement/Overview/Form1.vb" id="Snippet17"::: ]]> @@ -1411,7 +1411,7 @@ This method is equivalent to the following: :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityElement/SearchForTextOfTag/remarks.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.securityelement/vb/remarks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityElement/SearchForTextOfTag/remarks.vb" id="Snippet1"::: With XML as follows, `SearchForTextOfTag("second")` would return "text2". @@ -1426,7 +1426,7 @@ The following code shows the use of the method to find a child by its tag name and return the contained text. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityElement/Overview/securityelementmembers.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecurityElementMembers/VB/Form1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityElement/Overview/Form1.vb" id="Snippet18"::: ]]> @@ -1508,7 +1508,7 @@ The following code shows the use of the property to get the tag name of an XML element. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityElement/Overview/securityelementmembers.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecurityElementMembers/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityElement/Overview/Form1.vb" id="Snippet11"::: ]]> @@ -1579,7 +1579,7 @@ The following code shows the use of the property to get the text of an XML element. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityElement/Overview/securityelementmembers.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/SecurityElementMembers/VB/Form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityElement/Overview/Form1.vb" id="Snippet12"::: ]]> diff --git a/xml/System.Security/SecurityException.xml b/xml/System.Security/SecurityException.xml index 8b72059d32f..1e86b2490d5 100644 --- a/xml/System.Security/SecurityException.xml +++ b/xml/System.Security/SecurityException.xml @@ -77,7 +77,7 @@ A exception is thrown when a caller does not have the permissions required to access a resource. The following example instantiates a object that includes a object to allow access to UI objects and the Clipboard and a object to prevent registry access. The call to the method means that these permissions will apply regardless of the permissions assigned to the caller. As a result, the attempt to create a registry key throws a . :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityException/Overview/se_ex1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.securityexception.class/vb/se_ex1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityException/Overview/se_ex1.vb" id="Snippet1"::: uses the HRESULT COR_E_SECURITY, which has the value 0x8013150A. @@ -597,7 +597,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.SecurityException/CPP/form1.cpp" id="Snippet16"::: :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityException/.ctor/form1.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecurityException/VB/form1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityException/.ctor/form1.vb" id="Snippet16"::: ]]> @@ -793,7 +793,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.SecurityException/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityException/.ctor/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecurityException/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityException/.ctor/form1.vb" id="Snippet3"::: ]]> @@ -925,7 +925,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.SecurityException/CPP/form1.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityException/.ctor/form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecurityException/VB/form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityException/.ctor/form1.vb" id="Snippet12"::: ]]> @@ -1046,7 +1046,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.SecurityException/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityException/.ctor/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecurityException/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityException/.ctor/form1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.ServiceProcess/ServiceController.xml b/xml/System.ServiceProcess/ServiceController.xml index ae344cb2d8c..d0de22aec63 100644 --- a/xml/System.ServiceProcess/ServiceController.xml +++ b/xml/System.ServiceProcess/ServiceController.xml @@ -92,7 +92,7 @@ The following example demonstrates the use of the class to control the `SimpleService` service example. :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/ServiceController/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceControllerClass/VB/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/ServiceController/Overview/program.vb" id="Snippet1"::: ]]> @@ -167,7 +167,7 @@ The following example demonstrates the use of the constructor to create a object that is used to control a sample service. This example is part of a larger example that is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/ServiceController/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceControllerClass/VB/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/ServiceController/Overview/program.vb" id="Snippet2"::: ]]> @@ -263,7 +263,7 @@ The following example demonstrates the use of the property to determine whether a service can pause and continue. This example is part of a larger example that is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/ServiceController/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceControllerClass/VB/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/ServiceController/Overview/program.vb" id="Snippet2"::: ]]> @@ -315,7 +315,7 @@ The following example demonstrates the use of the property to determine whether a service provides a handler for a shutdown event. This example is part of a larger example that is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/ServiceController/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceControllerClass/VB/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/ServiceController/Overview/program.vb" id="Snippet2"::: ]]> @@ -367,7 +367,7 @@ The following example demonstrates the use of the property to determine whether a service provides a handler for a stop event. This example is part of a larger example that is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/ServiceController/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceControllerClass/VB/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/ServiceController/Overview/program.vb" id="Snippet2"::: ]]> @@ -450,7 +450,7 @@ The following example demonstrates the use of the method to continue a paused service. This example is part of a larger example that is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/ServiceController/Overview/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceControllerClass/VB/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/ServiceController/Overview/program.vb" id="Snippet5"::: ]]> @@ -510,7 +510,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ServiceController/CPP/servicecontroller.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceController/VB/servicecontroller.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.vb" id="Snippet3"::: ]]> @@ -575,7 +575,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ServiceController/CPP/servicecontroller.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceController/VB/servicecontroller.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.vb" id="Snippet3"::: ]]> @@ -704,7 +704,7 @@ The following code example shows the use of the method to execute custom commands in the `SimpleService` service example. :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/ServiceController/ExecuteCommand/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceContoller_ExecuteCommand/VB/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/ServiceController/ExecuteCommand/module1.vb" id="Snippet1"::: ]]> @@ -762,7 +762,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ServiceController/CPP/servicecontroller.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceController/VB/servicecontroller.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.vb" id="Snippet5"::: ]]> @@ -862,7 +862,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ServiceController/CPP/servicecontroller.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceController/VB/servicecontroller.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.vb" id="Snippet6"::: ]]> @@ -1014,7 +1014,7 @@ The following example demonstrates the use of the method to pause a service. This example is part of a larger example that is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/ServiceController/Overview/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceControllerClass/VB/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/ServiceController/Overview/program.vb" id="Snippet4"::: ]]> @@ -1063,7 +1063,7 @@ The following example demonstrates the use of the method to obtain the status of a service. The code instructs a service to pause, and then waits for the status to reflect the change. This example is part of a larger example that is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/ServiceController/Overview/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceControllerClass/VB/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/ServiceController/Overview/program.vb" id="Snippet4"::: ]]> @@ -1230,7 +1230,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ServiceController/CPP/servicecontroller.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceController/VB/servicecontroller.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.vb" id="Snippet4"::: ]]> @@ -1287,7 +1287,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ServiceController/CPP/servicecontroller.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceController/VB/servicecontroller.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.vb" id="Snippet5"::: ]]> @@ -1344,7 +1344,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ServiceController/CPP/servicecontroller.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceController/VB/servicecontroller.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.vb" id="Snippet1"::: ]]> @@ -1491,7 +1491,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ServiceController/CPP/servicecontroller.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceController/VB/servicecontroller.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.vb" id="Snippet2"::: ]]> @@ -1540,7 +1540,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ServiceController/CPP/servicecontroller.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceController/VB/servicecontroller.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.vb" id="Snippet2"::: ]]> @@ -1643,7 +1643,7 @@ If any other services depend on this one, you need to either pass `true` for :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ServiceController/CPP/servicecontroller.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceController/VB/servicecontroller.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceProcess/ServiceControllerStatus.xml b/xml/System.ServiceProcess/ServiceControllerStatus.xml index 70d6cae3b0a..374795030b4 100644 --- a/xml/System.ServiceProcess/ServiceControllerStatus.xml +++ b/xml/System.ServiceProcess/ServiceControllerStatus.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ServiceController/CPP/servicecontroller.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceController/VB/servicecontroller.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceProcess/ServiceInstaller.xml b/xml/System.ServiceProcess/ServiceInstaller.xml index 463b5c414ae..31dec5dff76 100644 --- a/xml/System.ServiceProcess/ServiceInstaller.xml +++ b/xml/System.ServiceProcess/ServiceInstaller.xml @@ -230,7 +230,7 @@ The following code example sets the installation properties for a new Windows service application. The example sets the service name, along with the display name and description. After assigning the installation properties for the service, the example adds the object to the collection. :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/ServiceInstaller/Description/simpleserviceinstaller.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceProcess_serviceinstaller/VB/service1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/ServiceInstaller/Description/service1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ServiceProcess/ServiceType.xml b/xml/System.ServiceProcess/ServiceType.xml index f7befcf4be7..ccfcfe645a9 100644 --- a/xml/System.ServiceProcess/ServiceType.xml +++ b/xml/System.ServiceProcess/ServiceType.xml @@ -59,7 +59,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ServiceController/CPP/servicecontroller.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceController/VB/servicecontroller.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/ServiceController/DependentServices/servicecontroller.vb" id="Snippet5"::: ]]> diff --git a/xml/System.ServiceProcess/SessionChangeDescription.xml b/xml/System.ServiceProcess/SessionChangeDescription.xml index 33ea3875543..961bf489e30 100644 --- a/xml/System.ServiceProcess/SessionChangeDescription.xml +++ b/xml/System.ServiceProcess/SessionChangeDescription.xml @@ -57,7 +57,7 @@ The following code example shows the use of the class in an implementation of the method in a class derived from . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/SessionChangeDescription/Overview/simpleservice.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceBase_Commands/VB/simpleservice.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/SessionChangeDescription/Overview/simpleservice.vb" id="Snippet9"::: ]]> @@ -311,7 +311,7 @@ The following code example shows the use of the property in an implementation of the method in a class derived from . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/SessionChangeDescription/Overview/simpleservice.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceBase_Commands/VB/simpleservice.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/SessionChangeDescription/Overview/simpleservice.vb" id="Snippet10"::: ]]> @@ -348,7 +348,7 @@ The following code example shows the use of the property in an implementation of the method in a class derived from . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/SessionChangeDescription/Overview/simpleservice.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceBase_Commands/VB/simpleservice.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/SessionChangeDescription/Overview/simpleservice.vb" id="Snippet10"::: ]]> diff --git a/xml/System.ServiceProcess/SessionChangeReason.xml b/xml/System.ServiceProcess/SessionChangeReason.xml index 76f20018214..8fa407f0339 100644 --- a/xml/System.ServiceProcess/SessionChangeReason.xml +++ b/xml/System.ServiceProcess/SessionChangeReason.xml @@ -41,7 +41,7 @@ The following code example shows the use of the enumeration in an implementation of the method in a class derived from . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ServiceProcess/SessionChangeDescription/Overview/simpleservice.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ServiceBase_Commands/VB/simpleservice.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.ServiceProcess/SessionChangeDescription/Overview/simpleservice.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Text.RegularExpressions/Capture.xml b/xml/System.Text.RegularExpressions/Capture.xml index d6d1a2ab34f..5195186e79b 100644 --- a/xml/System.Text.RegularExpressions/Capture.xml +++ b/xml/System.Text.RegularExpressions/Capture.xml @@ -69,7 +69,7 @@ The following example defines a regular expression that matches sentences that contain no punctuation except for a period ("."). :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Capture/Overview/example1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.capture.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Capture/Overview/example1.vb" id="Snippet1"::: The regular expression pattern `((\w+)[\s.])+` is defined as shown in the following table. Note that in this regular expression, a quantifier (+) is applied to the entire regular expression. @@ -308,7 +308,7 @@ The following example defines a regular expression that matches sentences that contain no punctuation except for a period ("."). The `Match.Value` property displays the result string, which consists of a matched sentence, for each match. The `Group.Value` property displays the result string for each capturing group; it consists of the last string captured by that capturing group. The property displays the result string for each capture. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Capture/Overview/example1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.capture.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Capture/Overview/example1.vb" id="Snippet1"::: The regular expression pattern `((\w+)[\s.])+` is defined as shown in the following table. Note that in this regular expression, a quantifier (+) is applied to the entire regular expression. @@ -324,7 +324,7 @@ The following example uses a regular expression pattern, `^([a-z]+)(\d+)*\.([a-z]+(\d)*)$`, to match a product number that consists of two parts separated by a period. Both parts consist of alphabetic characters followed by optional numbers. Because the first input string does not match the pattern, the value of the returned object's `Value` property is . Similarly, when the regular expression pattern is unable to match a capturing group, the value of the corresponding object's `Value` property is . :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Capture/Value/value1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.capture.value/vb/value1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Capture/Value/value1.vb" id="Snippet1"::: The regular expression pattern is defined as shown in the following table: diff --git a/xml/System.Text.RegularExpressions/CaptureCollection.xml b/xml/System.Text.RegularExpressions/CaptureCollection.xml index 16435a58a75..08fb4f69511 100644 --- a/xml/System.Text.RegularExpressions/CaptureCollection.xml +++ b/xml/System.Text.RegularExpressions/CaptureCollection.xml @@ -127,7 +127,7 @@ This regular expression pattern identifies the words in a sentence. The pattern defines a single capturing group that consists of one or more word characters followed by one or two non-word characters. The regular expression pattern uses the `+` quantifier to match one or more occurrences of this group. The output from this example shows that the object and the object returned by the `Match.Captures` property contain information about the same match. The second object, which corresponds to the only capturing group in the regular expression, identifies only the last captured string, whereas the object returned by the first capturing group's property includes all captured substrings. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/CaptureCollection/Overview/capturecollectionex1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.capturecollection/vb/capturecollectionex1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/CaptureCollection/Overview/capturecollectionex1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text.RegularExpressions/Group.xml b/xml/System.Text.RegularExpressions/Group.xml index 3613d589ee6..58cd6b153c0 100644 --- a/xml/System.Text.RegularExpressions/Group.xml +++ b/xml/System.Text.RegularExpressions/Group.xml @@ -79,7 +79,7 @@ In this regular expression pattern, the subpattern `(\w+?)` is designed to match multiple words within a sentence. However, the value of the object represents only the last match that `(\w+?)` captures, whereas the property returns a that represents all captured text. As the output shows, the for the second capturing group contains four objects. The last of these corresponds to the object. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Group/Overview/groupandcaptures1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.group.class/vb/groupandcaptures1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Group/Overview/groupandcaptures1.vb" id="Snippet1"::: ]]> @@ -134,12 +134,12 @@ If a quantifier is not applied to a capturing group, the collection returned by the property contains a single object that provides information about the same substring as the object. This is illustrated in the following example. It defines a regular expression, `\b(\w+)\b`, that extracts a single word from a sentence. The object captures the word "This", and the single object in the contains information about the same capture. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Group/Captures/captures1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.group.captures/vb/captures1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Group/Captures/captures1.vb" id="Snippet1"::: The real utility of the property occurs when a quantifier is applied to a capturing group so that the group captures multiple substrings in a single regular expression. In this case, the object contains information about the last captured substring, whereas the property contains information about all the substrings captured by the group. In the following example, the regular expression `\b(\w+\s*)+\.` matches an entire sentence that ends in a period. The group `(\w+\s*)+` captures the individual words in the collection. Because the collection contains information only about the last captured substring, it captures the last word in the sentence, "sentence". However, each word captured by the group is available from the collection returned by the property. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Group/Captures/captures2.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.group.captures/vb/captures2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Group/Captures/captures2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Text.RegularExpressions/GroupCollection.xml b/xml/System.Text.RegularExpressions/GroupCollection.xml index 01226c15790..63385f4fd1e 100644 --- a/xml/System.Text.RegularExpressions/GroupCollection.xml +++ b/xml/System.Text.RegularExpressions/GroupCollection.xml @@ -143,7 +143,7 @@ For each match, the contains three objects. The first object contains the string that matches the entire regular expression. The second object, which represents the first captured group, contains the product name. The third object, which represents the second captured group, contains the trademark or registered trademark symbol. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/GroupCollection/Overview/Example1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.GroupCollection/vb/Example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/GroupCollection/Overview/Example1.vb" id="Snippet1"::: ]]> @@ -253,7 +253,7 @@ The following example extracts each word from a sentence and captures it in a capturing group, The method is then used to copy the elements in each match's object to an array that contains the capturing groups from all matches. The individual captured words are then displayed to the console. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/GroupCollection/CopyTo/copyto1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.groupcollection.copyto/vb/copyto1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/GroupCollection/CopyTo/copyto1.vb" id="Snippet1"::: The regular expression is defined as follows: @@ -644,7 +644,7 @@ A collection that is read-only does not allow the addition or removal of element |`\k`|Match the string captured by the second capturing group.| :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/GroupCollection/Item/item3.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.groupcollection.item/vb/item3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/GroupCollection/Item/item3.vb" id="Snippet2"::: ]]> @@ -722,7 +722,7 @@ A collection that is read-only does not allow the addition or removal of element |`\k`|Match the string captured by the `letter` capturing group.| :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/GroupCollection/Item/item2.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.groupcollection.item/vb/item2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/GroupCollection/Item/item2.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text.RegularExpressions/Match.xml b/xml/System.Text.RegularExpressions/Match.xml index 5b96a920302..d3c0a1f8816 100644 --- a/xml/System.Text.RegularExpressions/Match.xml +++ b/xml/System.Text.RegularExpressions/Match.xml @@ -70,7 +70,7 @@ If the method fails to match the regular expression pattern, it returns a object that is equal to . You can use the property to determine whether the match was successful. The following example provides an illustration. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Match/Overview/Match1.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Match.Class/vb/Match1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Match/Overview/Match1.vb" id="Snippet1"::: If a pattern match is successful, the property contains the matched substring, the property indicates the zero-based starting position of the matched substring in the input string, and the property indicates the length of matched substring in the input string. @@ -96,14 +96,14 @@ The following examples use the regular expression `Console\.Write(Line)?`. The r The following example calls the method to retrieve all pattern matches in an input string. It then iterates the objects in the returned object to display information about each match. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Match/Overview/Match2.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Match.Class/vb/Match2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Match/Overview/Match2.vb" id="Snippet2"::: **Example 2** The following example calls the and methods to retrieve one match at a time. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Match/Overview/Match3.cs" interactive="try-dotnet" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Match.Class/vb/Match3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Match/Overview/Match3.vb" id="Snippet3"::: ]]> @@ -218,7 +218,7 @@ The following examples use the regular expression `Console\.Write(Line)?`. The r A regular expression pattern can include subexpressions, which are defined by enclosing a portion of the regular expression pattern in parentheses. Every such subexpression forms a group. The property provides access to information about those subexpression matches. For example, the regular expression pattern `(\d{3})-(\d{3}-\d{4})`, which matches North American telephone numbers, has two subexpressions. The first consists of the area code, which composes the first three digits of the telephone number. This group is captured by the first portion of the regular expression, `(\d{3})`. The second consists of the individual telephone number, which composes the last seven digits of the telephone number. This group is captured by the second portion of the regular expression, `(\d{3}-\d{4})`. These two groups can then be retrieved from the object that is returned by the property, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Match/Groups/groups1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.match.groups/vb/groups1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Match/Groups/groups1.vb" id="Snippet1"::: The object returned by the property is a zero-based collection object that always has at least one member. If the regular expression engine cannot find any matches in a particular input string, the property of the single object in the collection (the object at index 0) is set to `false` and the object's property is set to . If the regular expression engine can find a match, the first element of the object (the element at index 0) returned by the property contains a string that matches the entire regular expression pattern. Each subsequent element, from index one upward, represents a captured group, if the regular expression includes capturing groups. For more information, see the "Grouping Constructs and Regular Expression Objects" section of the [Grouping Constructs](/dotnet/standard/base-types/grouping-constructs-in-regular-expressions) article. @@ -228,7 +228,7 @@ The following examples use the regular expression `Console\.Write(Line)?`. The r The following example attempts to match a regular expression pattern against a sample string. The example uses the property to store information that is retrieved by the match for display to the console. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Match/Groups/snippet8.cs" interactive="try-dotnet" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/regex match, nextmatch, groups, captures/vb/snippet8.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Match/Groups/snippet8.vb" id="Snippet8"::: ]]> @@ -294,7 +294,7 @@ The following examples use the regular expression `Console\.Write(Line)?`. The r The following example uses the method to capture regular expression matches beyond the first match. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Match/Groups/snippet8.cs" interactive="try-dotnet" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/regex match, nextmatch, groups, captures/vb/snippet8.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Match/Groups/snippet8.vb" id="Snippet8"::: ]]> @@ -305,7 +305,7 @@ The following examples use the regular expression `Console\.Write(Line)?`. The r The following example provides an illustration. The regular expression pattern a* searches for zero or more occurrences of the letter "a" in the string "abaabb". As the output from the example shows, the search finds six matches. The first match attempt finds the first "a". The second match starts exactly where the first match ends, before the first b; it finds zero occurrences of "a" and returns an empty string. The third match does not begin exactly where the second match ended, because the second match returned an empty string. Instead, it begins one character later, after the first "b". The third match finds two occurrences of "a" and returns "aa". The fourth match attempt begins where the third match ended, before the second "b", and returns an empty string. The fifth match attempt again advances one character so that it begins before the third "b" and returns an empty string. The sixth match begins after the last "b" and returns an empty string again. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Match/NextMatch/nextmatch1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.match.nextmatch/vb/nextmatch1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Match/NextMatch/nextmatch1.vb" id="Snippet1"::: @@ -369,7 +369,7 @@ The following examples use the regular expression `Console\.Write(Line)?`. The r The following example replaces the hyphens that begin and end a parenthetical expression with parentheses. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Match/Result/result1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.match.result/vb/result1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Match/Result/result1.vb" id="Snippet1"::: The regular expression pattern `--(.+?)--` is interpreted as shown in the following table. diff --git a/xml/System.Text.RegularExpressions/MatchCollection.xml b/xml/System.Text.RegularExpressions/MatchCollection.xml index c35d6095551..48d32e44722 100644 --- a/xml/System.Text.RegularExpressions/MatchCollection.xml +++ b/xml/System.Text.RegularExpressions/MatchCollection.xml @@ -125,7 +125,7 @@ The following example illustrates the use of the class to interrogate a set of instances. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/MatchCollection/Overview/words.cs" interactive="try-dotnet" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Regex_Words/VB/words.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/MatchCollection/Overview/words.vb" id="Snippet0"::: ]]> @@ -306,7 +306,7 @@ The following example uses the property to determine whether the call to the method found any matches. If not, it indicates that no matches were found. Otherwise, it enumerates the matches and displays their value and the position in the input string at which they were found. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/MatchCollection/Count/countex1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.matchcollection.count/vb/countex1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/MatchCollection/Count/countex1.vb" id="Snippet1"::: The regular expression pattern `\d+` matches one or more decimal characters in an input string. @@ -550,7 +550,7 @@ A collection that is read-only does not allow the addition or removal of element The following example parses the first sentence of Nathaniel Hawthorne's *House of the Seven Gables* and returns a object that contains all words that begin with either an uppercase or lowercase "h". The property is then used to retrieve each word and display it to the console. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/MatchCollection/Item/RegEx_24804.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.MatchCollection.Item/vb/RegEx_24804.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/MatchCollection/Item/RegEx_24804.vb" id="Snippet1"::: The example produces the following output: diff --git a/xml/System.Text.RegularExpressions/MatchEvaluator.xml b/xml/System.Text.RegularExpressions/MatchEvaluator.xml index e26b38fa2f5..a409a320928 100644 --- a/xml/System.Text.RegularExpressions/MatchEvaluator.xml +++ b/xml/System.Text.RegularExpressions/MatchEvaluator.xml @@ -74,7 +74,7 @@ The following code example uses the delegate to replace every matched group of characters with the number of the match occurrence. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/MatchEvaluator/Overview/regexreplace.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.MatchEvaluator/VB/regexreplace.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/MatchEvaluator/Overview/regexreplace.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text.RegularExpressions/Regex.xml b/xml/System.Text.RegularExpressions/Regex.xml index 5d4b22dddc0..4e552f61f97 100644 --- a/xml/System.Text.RegularExpressions/Regex.xml +++ b/xml/System.Text.RegularExpressions/Regex.xml @@ -222,7 +222,7 @@ The following example illustrates how to use this constructor to instantiate a regular expression that matches any word that begins with the letters "a" or "t". :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/.ctor/constructors1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Constructors/vb/constructors1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/.ctor/constructors1.vb" id="Snippet1"::: Note that the regular expression pattern cannot match the word "The" at the beginning of the text, because comparisons are case-sensitive by default. For an example of case-insensitive comparison, see the constructor. @@ -368,7 +368,7 @@ The following example illustrates how to use this constructor to instantiate a regular expression that matches any word that begins with the letters "a" or "t". :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/.ctor/Constructors2.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Constructors/vb/Constructors2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/.ctor/Constructors2.vb" id="Snippet2"::: Note that the match collection includes the word "The" that begins the text because the `options` parameter has defined case-insensitive comparisons. @@ -470,7 +470,7 @@ The following example calls the constructor to instantiate a object with a time-out value of one second. The regular expression pattern `(a+)+$`, which matches one or more sequences of one or more "a" characters at the end of a line, is subject to excessive backtracking. If a is thrown, the example increases the time-out value up to the maximum value of three seconds. Otherwise, it abandons the attempt to match the pattern. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/.ctor/ctor1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ctor/vb/ctor1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/.ctor/ctor1.vb" id="Snippet1"::: ]]> @@ -965,12 +965,12 @@ The following example creates an assembly named RegexLib.dll. The assembly includes two compiled regular expressions. The first, `Utilities.RegularExpressions.DuplicatedString`, matches two identical contiguous words. The second, `Utilities.RegularExpressions.EmailAddress`, checks whether a string has the correct format to be an email address. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/Compile1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile1.vb" id="Snippet1"::: The regular expression that checks a string for duplicate words is then instantiated and used by the following example. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/Compile2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile2.vb" id="Snippet2"::: Successful compilation of this second example requires a reference to RegexLib.dll (the assembly created by the first example) to be added to the project. @@ -1088,14 +1088,14 @@ The following example creates an assembly named RegexLib.dll and applies the attribute to it. The assembly includes two compiled regular expressions. The first, `Utilities.RegularExpressions.DuplicatedString`, matches two identical contiguous words. The second, `Utilities.RegularExpressions.EmailAddress`, checks whether a string has the correct format to be an email address. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/Compile3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile3.vb" id="Snippet3"::: You can verify that the attribute has been applied to the assembly by examining its manifest with a reflection utility such as ILDasm. The regular expression that checks a string for duplicate words is then instantiated and used by the following example. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/Compile2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile2.vb" id="Snippet2"::: Successful compilation of this second example requires a reference to RegexLib.dll (the assembly created by the first example) to be added to the project. @@ -2288,12 +2288,12 @@ Each match won't actually happen until converts a string so that the regular expression engine will interpret any metacharacters that it may contain as character literals. For example, consider a regular expression that is designed to extract comments that are delimited by straight opening and closing brackets ([ and ]) from text. In the following example, the regular expression "[(.*?)]" is interpreted as a character class. Rather than matching comments embedded in the input text, the regular expression matches each opening or closing parenthesis, period, asterisk, or question mark. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Escape/Escape1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Escape/vb/Escape1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Escape/Escape1.vb" id="Snippet1"::: However, if the opening bracket is escaped by passing it to the method, the regular expression succeeds in matching comments that are embedded in the input string. The following example illustrates this. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Escape/Escape1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Escape/vb/Escape1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Escape/Escape1.vb" id="Snippet2"::: In a regular expression that is defined by using static text, characters that are to be interpreted literally rather than as metacharacters can be escaped by preceding them with a backslash symbol (\\) as well as by calling the method. In a regular expression that is defined dynamically using characters that are not known at design time, calling the method is particularly important to ensure that the regular expression engine interprets individual characters as literals rather than as metacharacters. @@ -2308,7 +2308,7 @@ Each match won't actually happen until method to ensure that they cannot be misinterpreted as metacharacters. In addition, the example explicitly checks whether the end comment symbol entered by the user is a closing bracket (]) or brace (}). If it is, a backslash character (\\) is prepended to the bracket or brace so that it is interpreted literally. Note that the example also uses the collection to display the comment only, rather than the comment together with its opening and closing comment symbols. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Escape/Escape3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Escape/vb/Escape3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Escape/Escape3.vb" id="Snippet3"::: ]]> @@ -2454,7 +2454,7 @@ Allows an to attempt to free resources and perfor The following example defines a general-purpose `ShowMatches` method that displays the names of regular expression groups and their matched text. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/GetGroupNames/getgroupnames1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.getgroupnames/vb/getgroupnames1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/GetGroupNames/getgroupnames1.vb" id="Snippet1"::: In this case, the regular expression pattern `\b(?\w+)\s?((\w+)\s)*(?\w+)?(?\p{Po})` is intended to parse a simple sentence, and to identify its first word, last word, and ending punctuation mark. The following table shows how the regular expression pattern is interpreted: @@ -2532,7 +2532,7 @@ Allows an to attempt to free resources and perfor The following example defines a regular expression, `\b((?\w+)\s*)+(?[.?!])`, that matches a sentence. The regular expression includes three capturing groups: an unnamed group that captures an individual word along with a space character that may follow it; a group named `word` that captures the individual words in the sentence; and a group named `end` that captures the punctuation that ends the sentence. The example calls the method to get the numbers of all capturing groups, and then displays their captured string. In addition, the method is used to indicate whether a particular numbered group corresponds to a named group. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/GetGroupNumbers/getgroupnumbers1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.getgroupnumbers/vb/getgroupnumbers1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/GetGroupNumbers/getgroupnumbers1.vb" id="Snippet1"::: The regular expression pattern is interpreted as shown in the following table. @@ -2613,7 +2613,7 @@ Allows an to attempt to free resources and perfor The following example defines a regular expression pattern that matches an address line containing a U.S. city name, state name, and zip code. The example uses the method to retrieve the names of capturing groups. It then uses these names to retrieve the corresponding captured groups for matches. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/GroupNameFromNumber/groupnamefromnumberex.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.groupnamefromnumber/vb/groupnamefromnumberex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/GroupNameFromNumber/groupnamefromnumberex.vb" id="Snippet1"::: The regular expression pattern is defined by the following expression: @@ -2982,7 +2982,7 @@ Allows an to attempt to free resources and perfor The following example illustrates the use of the method to determine whether a string is a valid part number. The regular expression assumes that the part number has a specific format that consists of three sets of characters separated by hyphens. The first set, which contains four characters, must consist of an alphanumeric character followed by two numeric characters followed by an alphanumeric character. The second set, which consists of three characters, must be numeric. The third set, which consists of four characters, must have three numeric characters followed by an alphanumeric character. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/IsMatch/ismatch2.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch2.vb" id="Snippet2"::: The regular expression pattern is: @@ -3165,7 +3165,7 @@ For more details about `startat`, see the Remarks section of method to determine whether a string is a valid part number. It searches for a part number that follows a colon (:) character in a string. The method is used to determine the position of the colon character, which is then passed to the method. The regular expression assumes that the part number has a specific format that consists of three sets of characters separated by hyphens. The first set, which contains four characters, must consist of an alphanumeric character followed by two numeric characters followed by an alphanumeric character. The second set, which consists of three characters, must be numeric. The third set, which consists of four characters, must have three numeric characters followed by an alphanumeric character. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/IsMatch/ismatch3.cs" interactive="try-dotnet" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch3.vb" id="Snippet3"::: The regular expression pattern is: @@ -3270,7 +3270,7 @@ For more details about `startat`, see the Remarks section of method to determine whether a string is a valid part number. The regular expression assumes that the part number has a specific format that consists of three sets of characters separated by hyphens. The first set, which contains four characters, must consist of an alphanumeric character followed by two numeric characters followed by an alphanumeric character. The second set, which consists of three characters, must be numeric. The third set, which consists of four characters, must have three numeric characters followed by an alphanumeric character. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/IsMatch/ismatch1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch1.vb" id="Snippet1"::: The regular expression pattern is: @@ -3436,7 +3436,7 @@ For more details about `startat`, see the Remarks section of method to determine whether a string is a valid part number. The regular expression assumes that the part number has a specific format that consists of three sets of characters separated by hyphens. The first set, which contains four characters, must consist of an alphanumeric character followed by two numeric characters followed by an alphanumeric character. The second set, which consists of three characters, must be numeric. The third set, which consists of four characters, must have three numeric characters followed by an alphanumeric character. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/IsMatch/ismatch4.cs" interactive="try-dotnet" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch4.vb" id="Snippet4"::: The regular expression pattern is: @@ -3615,7 +3615,7 @@ For more details about `startat`, see the Remarks section of method to determine whether a string is a valid part number. The regular expression assumes that the part number has a specific format that consists of three sets of characters separated by hyphens. The first set, which contains four characters, must consist of an alphanumeric character followed by two numeric characters followed by an alphanumeric character. The second set, which consists of three characters, must be numeric. The third set, which consists of four characters, must have three numeric characters followed by an alphanumeric character. Matching the regular expression pattern should involve minimal searching through the input string, so the method sets a time-out interval of 500 milliseconds. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/IsMatch/ismatch5.cs" interactive="try-dotnet" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch5.vb" id="Snippet5"::: The regular expression pattern is: @@ -3747,7 +3747,7 @@ For more details about `startat`, see the Remarks section of method to find the first word that contains at least one `z` character, and then calls the method to find any additional matches. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Match/match1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.match/vb/match1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Match/match1.vb" id="Snippet1"::: The regular expression pattern `\b\w*z+\w*\b` is interpreted as shown in the following table. @@ -4092,7 +4092,7 @@ For more details about `startat`, see the Remarks section of option to ensure that the regular expression locates words beginning with both an uppercase "a" and a lowercase "a". :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Match/match2.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.match/vb/match2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Match/match2.vb" id="Snippet2"::: The regular expression pattern `\ba\w*\b` is interpreted as shown in the following table. @@ -4232,7 +4232,7 @@ For more details about `startat`, see the Remarks section of a* searches for zero or more occurrences of the letter "a" in the string "abaabb". As the output from the example shows, the resulting object contains six objects. The first match attempt finds the first "a". The second match starts exactly where the first match ends, before the first b; it finds zero occurrences of "a" and returns an empty string. The third match does not begin exactly where the second match ended, because the second match returned an empty string. Instead, it begins one character later, after the first "b". The third match finds two occurrences of "a" and returns "aa". The fourth match attempt begins where the third match ended, before the second "b", and returns an empty string. The fifth match attempt again advances one character so that it begins before the third "b" and returns an empty string. The sixth match begins after the last "b" and returns an empty string again. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Matches/emptymatches1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/emptymatches1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/emptymatches1.vb" id="Snippet9"::: Regular Expression Language - Quick Reference @@ -4290,7 +4290,7 @@ For more details about `startat`, see the Remarks section of method is similar to the method, except that it returns information about all the matches found in the input string, instead of a single match. It is equivalent to the following code: :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Matches/matchespattern.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matchespattern.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matchespattern.vb" id="Snippet5"::: The collection includes only matches and terminates at the first non-match. @@ -4304,7 +4304,7 @@ For more details about `startat`, see the Remarks section of method to identify any words in a sentence that end in "es". :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Matches/matches1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches1.vb" id="Snippet1"::: The regular expression pattern `\b\w+es\b` is defined as shown in the following table. @@ -4377,7 +4377,7 @@ For more details about `startat`, see the Remarks section of method is similar to the method, except that it returns information about all the matches found in the input string, instead of a single match. It is equivalent to the following code: :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Matches/matchespattern.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matchespattern.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matchespattern.vb" id="Snippet6"::: The regular expression pattern for which the method searches is defined by the call to one of the class constructors. For more information about the elements that can form a regular expression pattern, see [Regular Expression Language - Quick Reference](/dotnet/standard/base-types/regular-expression-language-quick-reference). @@ -4393,7 +4393,7 @@ For more details about `startat`, see the Remarks section of method to find the first word in a sentence that ends in "es", and then calls the method to identify any additional words that end in "es". :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Matches/matches3.cs" interactive="try-dotnet" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches3.vb" id="Snippet3"::: The regular expression pattern `\b\w+es\b` is defined as shown in the following table. @@ -4475,7 +4475,7 @@ For more details about `startat`, see the Remarks section of method is similar to the method, except that it returns information about all the matches found in the input string, instead of a single match. It is equivalent to the following code: :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Matches/matchespattern.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matchespattern.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matchespattern.vb" id="Snippet7"::: The static `Matches` methods are equivalent to constructing a object with the specified regular expression pattern and calling the instance method `Matches`. @@ -4491,7 +4491,7 @@ For more details about `startat`, see the Remarks section of method to identify any word in a sentence that ends in "es". :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Matches/matches2.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches2.vb" id="Snippet2"::: The regular expression pattern `\b\w+es\b` is defined as shown in the following table. @@ -4577,7 +4577,7 @@ For more details about `startat`, see the Remarks section of method is similar to the method, except that it returns information about all the matches found in the input string, instead of a single match. It is equivalent to the following code: :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Matches/matchespattern.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matchespattern.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matchespattern.vb" id="Snippet8"::: The static `Matches` methods are equivalent to constructing a object with the specified regular expression pattern and calling the instance method `Matches`. @@ -4593,7 +4593,7 @@ For more details about `startat`, see the Remarks section of method to identify any word in a sentence that ends in "es", and then calls the method to perform a case-insensitive comparison of the pattern with the input string. As the output shows, the two methods return different results. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Matches/matches4.cs" interactive="try-dotnet" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches4.vb" id="Snippet4"::: The regular expression pattern `\b\w+es\b` is defined as shown in the following table. @@ -4681,7 +4681,7 @@ For more details about `startat`, see the Remarks section of method is similar to the method, except that it returns information about all the matches found in the input string, instead of a single match. It is equivalent to the following code: :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Matches/matchespattern.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matchespattern.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matchespattern.vb" id="Snippet10"::: The static `Matches` methods are equivalent to constructing a object with the specified regular expression pattern and calling the instance method `Matches`. @@ -4697,7 +4697,7 @@ For more details about `startat`, see the Remarks section of method to perform a case-sensitive comparison that matches any word in a sentence that ends in "es". It then calls the method to perform a case-insensitive comparison of the pattern with the input string. In both cases, the time-out interval is set to one second. As the output shows, the two methods return different results. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Matches/matches5.cs" interactive="try-dotnet" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches5.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches5.vb" id="Snippet11"::: The regular expression pattern `\b\w+es\b` is defined as shown in the following table. @@ -4780,7 +4780,7 @@ For more details about `startat`, see the Remarks section of object by calling the constructor; and you can set its value for all matching operations in an application domain by calling the method and providing a value for the "REGEX_DEFAULT_MATCH_TIMEOUT" property, as the following example illustrates. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/MatchTimeout/regexmatchtimeout1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matchtimeout/vb/regexmatchtimeout1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/MatchTimeout/regexmatchtimeout1.vb" id="Snippet1"::: If you do not explicitly set a time-out interval, the default value is used, and matching operations do not time out. @@ -4991,12 +4991,12 @@ For more details about `startat`, see the Remarks section of delegate. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Replace/syntax1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/syntax1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/syntax1.vb" id="Snippet1"::: Your custom method returns a string that replaces the matched input. @@ -5101,7 +5101,7 @@ For more details about `startat`, see the Remarks section of @@ -5184,7 +5184,7 @@ For more details about `startat`, see the Remarks section of @@ -5275,12 +5275,12 @@ For more details about `startat`, see the Remarks section of method to replace the local machine and drive names in a UNC path with a local file path. The regular expression uses the property to include the name of the local computer, and the method to include the names of the logical drives. To run the example successfully, you should replace the literal string "MyMachine" with your local machine name. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Replace/replace3.cs" interactive="try-dotnet" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace3.vb" id="Snippet3"::: The regular expression pattern is defined by the following expression: @@ -5388,7 +5388,7 @@ For more details about `startat`, see the Remarks section of delegate. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Replace/syntax1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/syntax1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/syntax1.vb" id="Snippet1"::: Your custom method returns a string that replaces the matched input. @@ -5402,7 +5402,7 @@ For more details about `startat`, see the Remarks section of delegate to call a method named `WordScramble` that scrambles the individual letters in the word. To do this, the `WordScramble` method creates an array that contains the characters in the match. It also creates a parallel array that it populates with random floating-point numbers. The arrays are sorted by calling the method, and the sorted array is provided as an argument to a class constructor. This newly created string is then returned by the `WordScramble` method. The regular expression pattern `\w+` matches one or more word characters; the regular expression engine will continue to add characters to the match until it encounters a non-word character, such as a white-space character. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Replace/replace5.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace5.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace5.vb" id="Snippet2"::: ]]> @@ -5487,7 +5487,7 @@ For more details about `startat`, see the Remarks section of delegate. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Replace/syntax1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/syntax1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/syntax1.vb" id="Snippet1"::: Your custom method returns a string that replaces the matched input. @@ -5501,7 +5501,7 @@ For more details about `startat`, see the Remarks section of method to reverse "i" and "e" in the matched string. The remaining words remain unchanged. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Replace/replace7.cs" interactive="try-dotnet" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace7.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace7.vb" id="Snippet11"::: The regular expression `\w*(ie|ei)\w*` is defined as shown in the following table. @@ -5598,7 +5598,7 @@ For more details about `startat`, see the Remarks section of method to match the first line of the string, and uses the `Match.Index` and `Match.Count` properties to determine the starting position of the second line. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Replace/replaceexample9.cs" interactive="try-dotnet" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replaceexample9.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replaceexample9.vb" id="Snippet9"::: The regular expression pattern `^.*$` is defined as shown in the following table. @@ -5703,7 +5703,7 @@ For more details about `startat`, see the Remarks section of method to replace the local machine and drive names in a UNC path with a local file path. The regular expression uses the property to include the name of the local computer, and the method to include the names of the logical drives. All regular expression string comparisons are case-insensitive. To run the example successfully, you should replace the literal string "MyMachine" with your local machine name. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Replace/replace4.cs" interactive="try-dotnet" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace4.vb" id="Snippet4"::: The regular expression pattern is defined by the following expression: @@ -5816,7 +5816,7 @@ For more details about `startat`, see the Remarks section of delegate. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Replace/syntax1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/syntax1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/syntax1.vb" id="Snippet1"::: Your custom method returns a string that replaces the matched input. @@ -5832,7 +5832,7 @@ For more details about `startat`, see the Remarks section of delegate to call a method named `WordScramble` that scrambles the individual letters in the word. To do this, the `WordScramble` method creates an array that contains the characters in the match. It also creates a parallel array that it populates with random floating-point numbers. The arrays are sorted by calling the method, and the sorted array is provided as an argument to a class constructor. This newly created string is then returned by the `WordScramble` method. The regular expression pattern `\w+` matches one or more word characters; the regular expression engine will continue to add characters to the match until it encounters a non-word character, such as a white-space character. The call to the method includes the option so that the comment in the regular expression pattern `\w+ # Matches all the characters in a word.` is ignored by the regular expression engine. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Replace/replace6.cs" interactive="try-dotnet" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace6.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace6.vb" id="Snippet10"::: ]]> @@ -5919,7 +5919,7 @@ For more details about `startat`, see the Remarks section of delegate. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Replace/syntax1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/syntax1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/syntax1.vb" id="Snippet1"::: Your custom method returns a string that replaces the matched input. @@ -6021,7 +6021,7 @@ For more details about `startat`, see the Remarks section of method to replace the local machine and drive names in a UNC path with a local file path. The regular expression uses the property to include the name of the local computer and the method to include the names of the logical drives. All regular expression string comparisons are case-insensitive, and any single replacement operation times out if a match cannot be found in 0.5 second. To run the example successfully, you should replace the literal string "MyMachine" with your local machine name. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Replace/replace12.cs" interactive="try-dotnet" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace12.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace12.vb" id="Snippet12"::: The regular expression pattern is defined by the following expression: @@ -6146,7 +6146,7 @@ For more details about `startat`, see the Remarks section of delegate. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Replace/syntax1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/syntax1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/syntax1.vb" id="Snippet1"::: Your custom method returns a string that replaces the matched input. @@ -6162,7 +6162,7 @@ For more details about `startat`, see the Remarks section of delegate to call a method named `WordScramble` that scrambles the individual letters in the word. To do this, the `WordScramble` method creates an array that contains the characters in the match. It also creates a parallel array that it populates with random floating-point numbers. The arrays are sorted by calling the method, and the sorted array is provided as an argument to a class constructor. This newly created string is then returned by the `WordScramble` method. The regular expression pattern `\w+` matches one or more word characters; the regular expression engine will continue to add characters to the match until it encounters a non-word character, such as a white-space character. The call to the method includes the option so that the comment in the regular expression pattern `\w+ # Matches all the characters in a word.` is ignored by the regular expression engine. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Replace/replace13.cs" interactive="try-dotnet" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace13.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace13.vb" id="Snippet13"::: ]]> @@ -6362,24 +6362,24 @@ For more details about `startat`, see the Remarks section of . :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Split/split21.cs" interactive="try-dotnet" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split21.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split21.vb" id="Snippet21"::: If capturing parentheses are used in a expression, any captured text is included in the resulting string array. For example, if you split the string "plum-pear" on a hyphen placed within capturing parentheses, the returned array includes a string element that contains the hyphen. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Split/split2.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split2.vb" id="Snippet2"::: If the regular expression pattern includes multiple sets of capturing parentheses, and a match isn't found within the first set of capturing parentheses, captured text from additional capturing parentheses is included in the returned array. If the regular expression can match the empty string, splits the string into an array of single-character strings because the empty string delimiter can be found at every location. For example: :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Split/split11.cs" interactive="try-dotnet" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split11.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split11.vb" id="Snippet11"::: Note that the returned array also includes an empty string at the beginning and end of the array. @@ -6450,21 +6450,21 @@ If the regular expression pattern includes multiple sets of capturing parenthese If multiple matches are adjacent to one another or if a match is found at the beginning or end of `input`, and the number of matches found is at least two less than `count`, an empty string is inserted into the array. That is, empty strings that result from adjacent matches or from matches at the beginning or end of the input string are counted in determining whether the number of matched substrings equals `count`. In the following example, the regular expression `/d+` is used to split an input string that includes one or more decimal digits into a maximum of three substrings. Because the beginning of the input string matches the regular expression pattern, the first array element contains , the second contains the first set of alphabetic characters in the input string, and the third contains the remainder of the string that follows the third match. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Split/split25.cs" interactive="try-dotnet" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split25.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split25.vb" id="Snippet25"::: If capturing parentheses are used in a regular expression, any captured text is included in the array of split strings. However, any array elements that contain captured text are not counted in determining whether the number of matches has reached `count`. For example, splitting the string "apple-apricot-plum-pear-banana" into a maximum of four substrings results in a seven-element array, as the following code shows. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Split/split4.cs" interactive="try-dotnet" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split4.vb" id="Snippet4"::: If the regular expression pattern includes multiple sets of capturing parentheses, and a match isn't found within the first set of capturing parentheses, captured text from additional capturing parentheses is included in the returned array. However, elements in the returned array that contain captured text are not counted in determining whether the number of matched substrings equals `count`. For example, in the following code, a regular expression uses two sets of capturing parentheses to extract the elements of a date from a date string. The first set of capturing parentheses captures the hyphen, and the second set captures the forward slash. The call to the method then specifies a maximum of two elements in the returned array. The method returns a three-element string array. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Split/split5.cs" interactive="try-dotnet" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split5.vb" id="Snippet5"::: If the regular expression can match the empty string, will split the string into an array of single-character strings because the empty string delimiter can be found at every location. The following example splits the string "characters" into as many elements as there are in the input string. Because the null string matches the beginning of the input string, a null string is inserted at the beginning of the returned array. This causes the tenth element to consist of the two characters at the end of the input string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split12.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split12.vb" id="Snippet12"::: The exception is thrown if the execution time of the split operation exceeds the time-out interval specified by the constructor. If you do not set a time-out interval when you call the constructor, the exception is thrown if the operation exceeds any time-out value established for the application domain in which the object is created. If no time-out is defined in the constructor call or in the application domain's properties, or if the time-out value is , no exception is thrown @@ -6545,24 +6545,24 @@ If the regular expression pattern includes multiple sets of capturing parenthese If multiple matches are adjacent to one another, an empty string is inserted into the array. For example, splitting a string on a single hyphen causes the returned array to include an empty string in the position where two adjacent hyphens are found, as the following code shows. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Split/split8.cs" interactive="try-dotnet" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split8.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split8.vb" id="Snippet8"::: If a match is found at the beginning or the end of the input string, an empty string is included at the beginning or the end of the returned array. The following example uses the regular expression pattern `\d+` to split an input string on numeric characters. Because the string begins and ends with matching numeric characters, the value of the first and last element of the returned array is . :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Split/split22.cs" interactive="try-dotnet" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split22.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split22.vb" id="Snippet22"::: If capturing parentheses are used in a expression, any captured text is included in the resulting string array. For example, if you split the string "plum-pear" on a hyphen placed within capturing parentheses, the returned array includes a string element that contains the hyphen. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Split/split9.cs" interactive="try-dotnet" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split9.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split9.vb" id="Snippet9"::: If the regular expression pattern includes multiple sets of capturing parentheses, and a match isn't found within the first set of capturing parentheses, captured text from additional capturing parentheses is included in the returned array. If the regular expression can match the empty string, will split the string into an array of single-character strings because the empty string delimiter can be found at every location. For example: :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Split/split13.cs" interactive="try-dotnet" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split13.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split13.vb" id="Snippet13"::: Note that the returned array also includes an empty string at the beginning and end of the array. @@ -6643,19 +6643,19 @@ For more details about `startat`, see the Remarks section of splits the string into an array of single-character strings because the empty string delimiter can be found at every location. The following example splits the string "characters" into as many elements as the input string contains, starting with the character "a". Because the null string matches the end of the input string, a null string is inserted at the end of the returned array. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Split/split14.cs" interactive="try-dotnet" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split14.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split14.vb" id="Snippet14"::: The exception is thrown if the execution time of the split operation exceeds the time-out interval specified by the constructor. If you do not set a time-out interval when you call the constructor, the exception is thrown if the operation exceeds any time-out value established for the application domain in which the object is created. If no time-out is defined in the constructor call or in the application domain's properties, or if the time-out value is , no exception is thrown @@ -6742,12 +6742,12 @@ For more details about `startat`, see the Remarks section of . :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Split/split24.cs" interactive="try-dotnet" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split24.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split24.vb" id="Snippet24"::: If capturing parentheses are used in a expression, any captured text is included in the resulting string array. For example, if you split the string "plum-pear" on a hyphen placed within capturing parentheses, the returned array includes a string element that contains the hyphen. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Split/split9.cs" interactive="try-dotnet" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split9.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split9.vb" id="Snippet9"::: However, when the regular expression pattern includes multiple sets of capturing parentheses, and a match is not found within the first set of capturing parentheses, captured text from additional capturing parentheses is included in the returned array. @@ -6842,12 +6842,12 @@ For more details about `startat`, see the Remarks section of . :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Split/split23.cs" interactive="try-dotnet" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split23.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split23.vb" id="Snippet23"::: If capturing parentheses are used in a expression, any captured text is included in the resulting string array. For example, if you split the string "plum-pear" on a hyphen placed within capturing parentheses, the returned array includes a string element that contains the hyphen. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Split/split9.cs" interactive="try-dotnet" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split9.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split9.vb" id="Snippet9"::: However, when the regular expression pattern includes multiple sets of capturing parentheses, and a match is not found within the first set of capturing parentheses, captured text from additional capturing parentheses is included in the returned array. diff --git a/xml/System.Text.RegularExpressions/RegexCompilationInfo.xml b/xml/System.Text.RegularExpressions/RegexCompilationInfo.xml index 2d3a3a3c1f9..73290edded6 100644 --- a/xml/System.Text.RegularExpressions/RegexCompilationInfo.xml +++ b/xml/System.Text.RegularExpressions/RegexCompilationInfo.xml @@ -128,12 +128,12 @@ In the first step, compile and execute the following code example. The constructor in the code example defines a compiled regular expression. The result of executing the code is an assembly named FishRegex.dll that contains a compiled regular expression type named `FishRegex`. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/genFishRegex.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.txt.rgxCompInfo/vb/genFishRegex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/genFishRegex.vb" id="Snippet1"::: In the second step, compile the following code example using a reference to FishRegex.dll, and then run the resulting executable file. The executable file matches a target string by using the `FishRegex` type, and displays the match, group, capture group, and index position of the matches in the target string. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/useFishRegex.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.txt.rgxCompInfo/vb/useFishRegex.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/useFishRegex.vb" id="Snippet2"::: ]]> @@ -216,7 +216,7 @@ The following example defines a single compiled regular expression named `DuplicateChars` that identifies two or more occurrences of the same character in an input string. The compiled regular expression has a default time-out of 2 seconds. When you execute the example, it creates a class library named RegexLib.dll that contains the compiled regular expression. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1.vb" id="Snippet1"::: The regular expression pattern `(\w)\1+` is defined as shown in the following table. @@ -228,7 +228,7 @@ The following example uses the `DuplicatedChars` regular expression to identify duplicate characters in a string array. When it calls the `DuplicatedChars` constructor, it changes the time-out interval to .5 seconds. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1a.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/vb/example1a.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1a.vb" id="Snippet2"::: ]]> @@ -361,7 +361,7 @@ The following example defines a single compiled regular expression named `DuplicateChars` that identifies two or more occurrences of the same character in an input string. The compiled regular expression has a default time-out of 2 seconds. When you execute the example, it creates a class library named RegexLib.dll that contains the compiled regular expression. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1.vb" id="Snippet1"::: The regular expression pattern `(\w)\1+` is defined as shown in the following table. @@ -373,7 +373,7 @@ The following example uses the `DuplicatedChars` regular expression to identify duplicate characters in a string array. When it calls the `DuplicatedChars` constructor, it changes the time-out interval to .5 seconds. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1a.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/vb/example1a.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1a.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Text.RegularExpressions/RegexMatchTimeoutException.xml b/xml/System.Text.RegularExpressions/RegexMatchTimeoutException.xml index 841537c7b75..8a1d8749852 100644 --- a/xml/System.Text.RegularExpressions/RegexMatchTimeoutException.xml +++ b/xml/System.Text.RegularExpressions/RegexMatchTimeoutException.xml @@ -87,7 +87,7 @@ The following example illustrates two possible approaches to handling the exception. A constant whose value is two seconds defines the maximum time-out interval. The method is initially called with a time-out interval of one second. Each exception causes the time-out interval to be increased by one second and results in another call to the method if the current time-out interval is less than the maximum time-out interval. However, if the current time-out interval exceeds the maximum time-out interval, the exception handler writes information to the event log and abandons the processing of the regular expression. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/RegexMatchTimeoutException/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexmatchtimeoutexception/vb/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/RegexMatchTimeoutException/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text.RegularExpressions/RegexOptions.xml b/xml/System.Text.RegularExpressions/RegexOptions.xml index 3c40cd3ed6e..d3e37b62f01 100644 --- a/xml/System.Text.RegularExpressions/RegexOptions.xml +++ b/xml/System.Text.RegularExpressions/RegexOptions.xml @@ -81,7 +81,7 @@ The following example defines two regular expressions that identify repeated words in text but that are instantiated using different `RegexOptions` values. The first regular expression is case-insensitive; case is ignored when determining whether a word is identical to the preceding word. The second regular expression is case-sensitive; a word must match the case of the preceding word exactly to be considered a duplicate. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/RegexOptions/Overview/RegexOptions.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.RegexOptions/vb/RegexOptions.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/RegexOptions/Overview/RegexOptions.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/ASCIIEncoding.xml b/xml/System.Text/ASCIIEncoding.xml index 0388da988b7..69418d89a90 100644 --- a/xml/System.Text/ASCIIEncoding.xml +++ b/xml/System.Text/ASCIIEncoding.xml @@ -82,7 +82,7 @@ The following example demonstrates how to encode Unicode characters into ASCII. Notice the loss of data that occurs when your application uses to encode Unicode characters outside of the ASCII range. :::code language="csharp" source="~/snippets/csharp/System.Text/ASCIIEncoding/Overview/snippet.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding Example/VB/snippet.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/ASCIIEncoding/Overview/snippet.vb" id="Snippet1"::: ]]> @@ -145,7 +145,7 @@ The following example demonstrates how to create a new instance and display the name of the encoding. :::code language="csharp" source="~/snippets/csharp/System.Text/ASCIIEncoding/.ctor/ctor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.ctor Example/VB/ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/ASCIIEncoding/.ctor/ctor.vb" id="Snippet1"::: ]]> @@ -267,7 +267,7 @@ The following example demonstrates how to use the method to return the number of bytes required to encode a string using . :::code language="csharp" source="~/snippets/csharp/System.Text/ASCIIEncoding/GetByteCount/getbytecount-string.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetByteCount2 Example/VB/getbytecount-string.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/ASCIIEncoding/GetByteCount/getbytecount-string.vb" id="Snippet1"::: ]]> @@ -434,7 +434,7 @@ The following example demonstrates how to use the method to return the number of bytes required to encode an array of Unicode characters using . :::code language="csharp" source="~/snippets/csharp/System.Text/ASCIIEncoding/GetByteCount/getbytecount-char[]-int32-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetByteCount1 Example/VB/getbytecount-char[]-int32-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/ASCIIEncoding/GetByteCount/getbytecount-char[]-int32-int32.vb" id="Snippet1"::: ]]> @@ -697,7 +697,7 @@ The following example demonstrates how to use the method to encode a range of characters from a string and store the encoded characters in a range of elements in a byte array. :::code language="csharp" source="~/snippets/csharp/System.Text/ASCIIEncoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetBytes1 Example/VB/getbytes-string-int32-int32-byte[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/ASCIIEncoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.vb" id="Snippet1"::: ]]> @@ -803,7 +803,7 @@ The following example demonstrates how to use the method to encode a range of elements from a Unicode character array and store the encoded bytes in a range of elements in a byte array. :::code language="csharp" source="~/snippets/csharp/System.Text/ASCIIEncoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetBytes2/VB/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/ASCIIEncoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: ]]> @@ -1035,7 +1035,7 @@ The following example demonstrates how to use the method to return the number of characters produced by decoding a range of elements in a byte array. :::code language="csharp" source="~/snippets/csharp/System.Text/ASCIIEncoding/GetCharCount/getcharcount-byte[]-int32-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/ASCIIEncoding/GetCharCount/getcharcount-byte[]-int32-int32.vb" id="Snippet1"::: ]]> @@ -1299,7 +1299,7 @@ The following example demonstrates how to decode a range of elements from a byte array and store the result in a set of elements in a Unicode character array. :::code language="csharp" source="~/snippets/csharp/System.Text/ASCIIEncoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/ASCIIEncoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb" id="Snippet1"::: ]]> @@ -1517,7 +1517,7 @@ The following example demonstrates how to use the method to calculate the bytes required to encode a specified number of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/ASCIIEncoding/GetMaxByteCount/getmaxbytecount-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/ASCIIEncoding/GetMaxByteCount/getmaxbytecount-int32.vb" id="Snippet1"::: ]]> @@ -1594,7 +1594,7 @@ The following example demonstrates how to use the method to calculate the maximum number of characters needed to decode a specified number of bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/ASCIIEncoding/GetMaxCharCount/getmaxcharcount-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/ASCIIEncoding/GetMaxCharCount/getmaxcharcount-int32.vb" id="Snippet1"::: ]]> @@ -1709,7 +1709,7 @@ The following example demonstrates how to use the method to convert a byte array into a . :::code language="csharp" source="~/snippets/csharp/System.Text/ASCIIEncoding/GetString/getstring-byte[].cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetString1 Example/VB/getstring-byte[].vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/ASCIIEncoding/GetString/getstring-byte[].vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/Decoder.xml b/xml/System.Text/Decoder.xml index fbd03d44835..72314fd3a16 100644 --- a/xml/System.Text/Decoder.xml +++ b/xml/System.Text/Decoder.xml @@ -147,7 +147,7 @@ The following example demonstrates the use of a to co The following example demonstrates two techniques for initializing a new instance. :::code language="csharp" source="~/snippets/csharp/System.Text/Decoder/.ctor/ctor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Decoder.ctor Example/VB/ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Decoder/.ctor/ctor.vb" id="Snippet1"::: ]]> @@ -435,7 +435,7 @@ The `completed` parameter can also be set to `false`, even though the `bytesUsed The following example uses the method to convert a file of UTF-16 characters to UTF-8. It then uses the method to convert the UTF-8 characters back to UTF-16 characters. :::code language="csharp" source="~/snippets/csharp/System.Text/Decoder/Convert/edCvt.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.txt.EncoderDecoder.convert/vb/edCvt.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Decoder/Convert/edCvt.vb" id="Snippet1"::: ]]> @@ -808,7 +808,7 @@ The following example uses the method to c The following code example demonstrates how to use the method to calculate the number of characters required to decode the specified range of bytes in the array. :::code language="csharp" source="~/snippets/csharp/System.Text/Decoder/GetCharCount/getcharcount-byte[]-int32-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Decoder.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Decoder/GetCharCount/getcharcount-byte[]-int32-int32.vb" id="Snippet1"::: ]]> @@ -1159,7 +1159,7 @@ The following example uses the method to c The following example demonstrates how to decode a range of elements from a byte array and store them in a Unicode character array. The method is used to calculate the number of characters needed to store the decoded elements in the array `bytes`. The method decodes the specified elements in the byte array and stores them in the new character array. :::code language="csharp" source="~/snippets/csharp/System.Text/Decoder/GetChars/getchars-byte[]-int32-int32-char[]-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Decoder.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Decoder/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/DecoderExceptionFallback.xml b/xml/System.Text/DecoderExceptionFallback.xml index e097ca870a0..baac2ad8bfd 100644 --- a/xml/System.Text/DecoderExceptionFallback.xml +++ b/xml/System.Text/DecoderExceptionFallback.xml @@ -80,7 +80,7 @@ The following code example demonstrates the and classes. :::code language="csharp" source="~/snippets/csharp/System.Text/DecoderExceptionFallback/Overview/fallDecExc.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackDecExc/vb/fallDecExc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/DecoderExceptionFallback/Overview/fallDecExc.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/DecoderFallbackException.xml b/xml/System.Text/DecoderFallbackException.xml index 5803a895783..3323f30d14c 100644 --- a/xml/System.Text/DecoderFallbackException.xml +++ b/xml/System.Text/DecoderFallbackException.xml @@ -75,7 +75,7 @@ The following code example demonstrates the and classes. :::code language="csharp" source="~/snippets/csharp/System.Text/DecoderExceptionFallback/Overview/fallDecExc.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackDecExc/vb/fallDecExc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/DecoderExceptionFallback/Overview/fallDecExc.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/DecoderReplacementFallback.xml b/xml/System.Text/DecoderReplacementFallback.xml index 15b72b4ef1d..89e7f3e3904 100644 --- a/xml/System.Text/DecoderReplacementFallback.xml +++ b/xml/System.Text/DecoderReplacementFallback.xml @@ -86,7 +86,7 @@ The following code example demonstrates the class. :::code language="csharp" source="~/snippets/csharp/System.Text/DecoderReplacementFallback/Overview/fallDecRpl.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackDecRpl/vb/fallDecRpl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/DecoderReplacementFallback/Overview/fallDecRpl.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/Encoder.xml b/xml/System.Text/Encoder.xml index 3b1b3d9c2e4..9781dc6a92d 100644 --- a/xml/System.Text/Encoder.xml +++ b/xml/System.Text/Encoder.xml @@ -86,7 +86,7 @@ A object maintains state information between successi The following example demonstrates how to convert an array of Unicode characters into blocks of bytes using a specified encoding. For comparison, the array of characters is first encoded using . Next, the array of characters is encoded using an . :::code language="csharp" source="~/snippets/csharp/System.Text/Encoder/Overview/snippet.cs" interactive="try-dotnet" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder Example/VB/snippet.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Text/Encoder/Overview/snippet.vb" id="Snippet1"::: ]]> @@ -148,7 +148,7 @@ The following example demonstrates how to convert an array of Unicode characters The following example demonstrates two techniques for initializing a new instance. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoder/.ctor/ctor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder.ctor Example/VB/ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoder/.ctor/ctor.vb" id="Snippet1"::: ]]> @@ -415,7 +415,7 @@ The following example demonstrates how to convert an array of Unicode characters The following example uses the method to convert a file of UTF-16 characters to UTF-8, then uses the method to convert the UTF-8 characters back to UTF-16 characters. :::code language="csharp" source="~/snippets/csharp/System.Text/Decoder/Convert/edCvt.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.txt.EncoderDecoder.convert/vb/edCvt.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Decoder/Convert/edCvt.vb" id="Snippet1"::: ]]> @@ -778,7 +778,7 @@ The following example demonstrates how to convert an array of Unicode characters The following code example demonstrates how to use the method to return the number of bytes required to encode an array of characters using a Unicode . :::code language="csharp" source="~/snippets/csharp/System.Text/Encoder/GetByteCount/getbytecount-char[]-int32-int32.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder.GetByteCount Example/VB/getbytecount-char[]-int32-int32.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Text/Encoder/GetByteCount/getbytecount-char[]-int32-int32.vb" id="Snippet1"::: ]]> @@ -1022,7 +1022,7 @@ If your application is to convert many segments of an input stream, consider usi The following example demonstrates how to encode a range of elements from a character array and store the encoded bytes in a range of elements in a byte array. The method is used to determine the size of the array required by . :::code language="csharp" source="~/snippets/csharp/System.Text/Encoder/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder.GetBytes Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoder/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/EncoderExceptionFallback.xml b/xml/System.Text/EncoderExceptionFallback.xml index cdb0158d924..f03c84a8a67 100644 --- a/xml/System.Text/EncoderExceptionFallback.xml +++ b/xml/System.Text/EncoderExceptionFallback.xml @@ -80,7 +80,7 @@ The following code example demonstrates the and classes. :::code language="csharp" source="~/snippets/csharp/System.Text/EncoderExceptionFallback/Overview/fallEncExc.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackEncExc/vb/fallEncExc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/EncoderExceptionFallback/Overview/fallEncExc.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/EncoderFallbackException.xml b/xml/System.Text/EncoderFallbackException.xml index 93dd2de32ee..c2c1441bfba 100644 --- a/xml/System.Text/EncoderFallbackException.xml +++ b/xml/System.Text/EncoderFallbackException.xml @@ -75,7 +75,7 @@ The following code example demonstrates the and classes. :::code language="csharp" source="~/snippets/csharp/System.Text/EncoderExceptionFallback/Overview/fallEncExc.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackEncExc/vb/fallEncExc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/EncoderExceptionFallback/Overview/fallEncExc.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/EncoderReplacementFallback.xml b/xml/System.Text/EncoderReplacementFallback.xml index faa3caf6761..254ca59855d 100644 --- a/xml/System.Text/EncoderReplacementFallback.xml +++ b/xml/System.Text/EncoderReplacementFallback.xml @@ -88,7 +88,7 @@ The following example demonstrates the class. :::code language="csharp" source="~/snippets/csharp/System.Text/EncoderReplacementFallback/Overview/fallEncRpl.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackEncRpl/vb/fallEncRpl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/EncoderReplacementFallback/Overview/fallEncRpl.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/Encoding.xml b/xml/System.Text/Encoding.xml index 9e36efb5add..0d9357ed830 100644 --- a/xml/System.Text/Encoding.xml +++ b/xml/System.Text/Encoding.xml @@ -92,7 +92,7 @@ The following example converts a string from one encoding to another. > The `byte[]` array is the only type in this example that contains the encoded data. The .NET `Char` and `String` types are themselves Unicode, so the call decodes the data back to Unicode. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/Overview/convert.cs" interactive="try-dotnet" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Convert Example/VB/convert.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/Overview/convert.vb" id="Snippet1"::: ]]> How to use character encoding classes in .NET @@ -353,14 +353,14 @@ The following example converts a string from one encoding to another. The object that is returned by this property might not have the appropriate behavior for your app. It uses replacement fallback to replace each string that it cannot encode and each byte that it cannot decode with a question mark ("?") character. Instead, you can call the method to instantiate an object whose fallback is either an or a , as the following example illustrates. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/ASCII/encoding.ascii2.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.ascii/vb/encoding.ascii2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/ASCII/encoding.ascii2.vb" id="Snippet1"::: ## Examples The following example demonstrates the effect of the ASCII encoding on characters that are outside the ASCII range. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/ASCII/ascii.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.ASCII Example/VB/ascii.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/ASCII/ascii.vb" id="Snippet1"::: ]]> @@ -421,7 +421,7 @@ The following example demonstrates the effect of the ASCII encoding on character The object that is returned by this property may not have the appropriate behavior for your app. It uses replacement fallback to replace each string that it cannot encode and each byte that it cannot decode with a question mark ("?") character. Instead, you can call the constructor to instantiate a big endian object whose fallback is either an or a , as the following example illustrates. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BigEndianUnicode/bigendianunicode1.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.BigEndianUnicode/VB/bigendianunicode1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/bigendianunicode1.vb" id="Snippet2"::: The returned object has , , and properties, which yield the name "unicodeFFFE". Although the UTF-16 big endian byte order mark is hexadecimal FEFF, the name "unicodeFFFE" was chosen because the byte order mark appears as hexadecimal FFFE on little endian Windows computers. @@ -429,12 +429,12 @@ The following example demonstrates the effect of the ASCII encoding on character The following example reads a text file with a UTF-16 encoding using the big endian byte order. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BigEndianUnicode/bigendianunicode.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.BigEndianUnicode/VB/bigendianunicode.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/bigendianunicode.vb" id="Snippet1"::: The following example determines the number of bytes required to encode a character array, encodes the characters, and displays the resulting bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetBytes_CharArr/VB/getbytes_chararr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.vb" id="Snippet1"::: ]]> @@ -501,7 +501,7 @@ The following example demonstrates the effect of the ASCII encoding on character The following example retrieves the different names for each encoding and displays the encodings with one or more names that are different from . It displays but does not compare against it. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BodyName/names.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Names/VB/names.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BodyName/names.vb" id="Snippet1"::: ]]> @@ -627,7 +627,7 @@ The following example demonstrates the effect of the ASCII encoding on character The following example retrieves the different names for each encoding and displays the encodings with one or more names that are different from . It displays but does not compare against it. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BodyName/names.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Names/VB/names.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BodyName/names.vb" id="Snippet1"::: ]]> @@ -703,7 +703,7 @@ The following example demonstrates the effect of the ASCII encoding on character The following example converts a Unicode-encoded string to an ASCII-encoded string. Because the ASCII encoding object returned by the property uses replacement fallback and the Pi character is not part of the ASCII character set, the Pi character is replaced with a question mark, as the output from the example shows. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/Overview/convert.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Convert Example/VB/convert.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/Overview/convert.vb" id="Snippet1"::: ]]> @@ -1112,7 +1112,7 @@ The returned 's and . It displays but does not compare against it. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BodyName/names.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Names/VB/names.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BodyName/names.vb" id="Snippet1"::: ]]> @@ -1188,7 +1188,7 @@ The returned 's and @@ -1277,7 +1277,7 @@ The returned 's and @@ -1423,7 +1423,7 @@ The returned 's and @@ -1610,7 +1610,7 @@ The returned 's and @@ -1700,7 +1700,7 @@ The returned 's and @@ -1787,7 +1787,7 @@ The returned 's and @@ -1874,7 +1874,7 @@ The returned 's and @@ -2034,7 +2034,7 @@ The returned 's and @@ -2124,7 +2124,7 @@ The returned 's and @@ -2319,7 +2319,7 @@ The returned 's and @@ -2432,7 +2432,7 @@ The returned 's and @@ -2545,7 +2545,7 @@ The returned 's and @@ -2793,12 +2793,12 @@ The returned 's and @@ -2906,7 +2906,7 @@ The returned 's and @@ -3070,7 +3070,7 @@ The returned 's and @@ -3293,12 +3293,12 @@ The returned 's and @@ -3552,7 +3552,7 @@ You can also supply a value of 0 for the `codepage` argument. Its precise behavi The following example gets two instances of the same encoding (one by code page and another by name), and checks their equality. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/Equals/equals.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Equals/VB/equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/Equals/equals.vb" id="Snippet1"::: ]]> @@ -3643,7 +3643,7 @@ In .NET 5 and later versions, the code page name `utf-7` is not supported. The following example gets two instances of the same encoding (one by code page and another by name), and checks their equality. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/Equals/equals.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Equals/VB/equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/Equals/equals.vb" id="Snippet1"::: ]]> @@ -3750,7 +3750,7 @@ You can also supply a value of 0 for the `codepage` argument. Its precise behavi The following example demonstrates the method. :::code language="csharp" source="~/snippets/csharp/System.Text/EncoderReplacementFallback/Overview/fallEncRpl.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackEncRpl/vb/fallEncRpl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/EncoderReplacementFallback/Overview/fallEncRpl.vb" id="Snippet1"::: ]]> @@ -3842,7 +3842,7 @@ In .NET 5 and later versions, the code page name `utf-7` is not supported. The following example demonstrates the method. :::code language="csharp" source="~/snippets/csharp/System.Text/EncoderReplacementFallback/Overview/fallEncRpl.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackEncRpl/vb/fallEncRpl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/EncoderReplacementFallback/Overview/fallEncRpl.vb" id="Snippet1"::: ]]> @@ -3924,7 +3924,7 @@ In .NET 5 and later versions, the code page name `utf-7` is not supported. The following example checks the values of the Boolean properties of each encoding. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/GetEncodings/isprops.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.IsProps/VB/isprops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/GetEncodings/isprops.vb" id="Snippet1"::: ]]> @@ -4050,7 +4050,7 @@ In .NET 5 and later versions, the code page name `utf-7` is not supported. The following example determines the number of bytes required to encode a character array, encodes the characters, and displays the resulting bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetBytes_CharArr/VB/getbytes_chararr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.vb" id="Snippet1"::: ]]> @@ -4139,7 +4139,7 @@ In .NET 5 and later versions, the code page name `utf-7` is not supported. The following example encodes a string into an array of bytes, and then decodes the bytes into an array of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/GetCharCount/getchars.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetChars/VB/getchars.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/GetCharCount/getchars.vb" id="Snippet1"::: ]]> @@ -4240,7 +4240,7 @@ In .NET 5 and later versions, the code page name `utf-7` is not supported. The following example determines the byte order of the encoding based on the preamble. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/GetPreamble/preamble.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetPreamble Example/VB/preamble.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/GetPreamble/preamble.vb" id="Snippet1"::: ]]> @@ -4315,7 +4315,7 @@ In .NET 5 and later versions, the code page name `utf-7` is not supported. The following example reads a UTF-8 encoded string from a binary file represented by a object. For files that are smaller than 2,048 bytes, it reads the contents of the entire file into a byte array and calls the method to perform the decoding. For larger files, it reads 2,048 bytes at a time into a byte array, calls the method to determine how many characters are contained in the array, and then calls the method to perform the decoding. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/GetString/getstring1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetString/VB/getstring1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/GetString/getstring1.vb" id="Snippet2"::: The example uses the following text, which should be saved to a UTF-8 encoded file named Utf8Example.txt. @@ -4556,7 +4556,7 @@ The goal is to save this file, then open and decode it as a binary stream. The following example reads a UTF-8 encoded string from a binary file that is represented by a object. For files that are smaller than 2,048 bytes, it reads the contents of the entire file into a byte array and calls the method to perform the decoding. For larger files, it reads 2,048 bytes at a time into a byte array, calls the method to determine how many characters are contained in the array, and then calls the method to perform the decoding. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/GetString/getstring2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetString/VB/getstring2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/GetString/getstring2.vb" id="Snippet3"::: The example uses the following text, which should be saved to a UTF-8 encoded file named Utf8Example.txt. @@ -4650,7 +4650,7 @@ The goal is to save this file, then open and decode it as a binary stream. The following example retrieves the different names for each encoding and displays the encodings with one or more names that are different from . It displays but does not compare against it. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BodyName/names.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Names/VB/names.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BodyName/names.vb" id="Snippet1"::: ]]> @@ -4840,7 +4840,7 @@ The goal is to save this file, then open and decode it as a binary stream. The following example checks the values of the Boolean properties of each encoding. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/GetEncodings/isprops.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.IsProps/VB/isprops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/GetEncodings/isprops.vb" id="Snippet1"::: ]]> @@ -4896,7 +4896,7 @@ The goal is to save this file, then open and decode it as a binary stream. The following example checks the values of the Boolean properties of each encoding. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/GetEncodings/isprops.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.IsProps/VB/isprops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/GetEncodings/isprops.vb" id="Snippet1"::: ]]> @@ -4952,7 +4952,7 @@ The goal is to save this file, then open and decode it as a binary stream. The following example checks the values of the Boolean properties of each encoding. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/GetEncodings/isprops.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.IsProps/VB/isprops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/GetEncodings/isprops.vb" id="Snippet1"::: ]]> @@ -5008,7 +5008,7 @@ The goal is to save this file, then open and decode it as a binary stream. The following example checks the values of the Boolean properties of each encoding. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/GetEncodings/isprops.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.IsProps/VB/isprops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/GetEncodings/isprops.vb" id="Snippet1"::: ]]> @@ -5126,7 +5126,7 @@ The goal is to save this file, then open and decode it as a binary stream. The following example checks the values of the Boolean properties of each encoding. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/GetEncodings/isprops.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.IsProps/VB/isprops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/GetEncodings/isprops.vb" id="Snippet1"::: ]]> @@ -5456,13 +5456,13 @@ Starting with .NET Framework 4.6, .NET Framework includes one encoding provider, The object that is returned by this property may not have the appropriate behavior for your app. It uses replacement fallback to replace each string that it cannot encode and each byte that it cannot decode with a question mark ("?") character. Instead, you can call the constructor to instantiate a little endian object whose fallback is either an or a , as the following example illustrates. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/Unicode/unicode1.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.unicode/vb/unicode1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/Unicode/unicode1.vb" id="Snippet2"::: ## Examples The following example determines the number of bytes required to encode a character array, encodes the characters, and displays the resulting bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetBytes_CharArr/VB/getbytes_chararr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.vb" id="Snippet1"::: ]]> @@ -5520,7 +5520,7 @@ Starting with .NET Framework 4.6, .NET Framework includes one encoding provider, The object that is returned by this property may not have the appropriate behavior for your app. It uses replacement fallback to replace each string that it cannot encode and each byte that it cannot decode with the Unicode REPLACEMENT CHARACTER (U+FFFE). Instead, you can call the constructor to instantiate a object whose fallback is either an or a , as the following example illustrates. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/UTF32/encoding.utf32.1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.utf32/vb/encoding.utf32.1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/UTF32/encoding.utf32.1.vb" id="Snippet1"::: For a discussion of little endian byte order, see . @@ -5530,7 +5530,7 @@ Starting with .NET Framework 4.6, .NET Framework includes one encoding provider, The following example determines the number of bytes required to encode a character array, encodes the characters, and displays the resulting bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetBytes_CharArr/VB/getbytes_chararr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.vb" id="Snippet1"::: ]]> @@ -5599,7 +5599,7 @@ Starting with .NET Framework 4.6, .NET Framework includes one encoding provider, The following example determines the number of bytes required to encode a character array, encodes the characters, and displays the resulting bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetBytes_CharArr/VB/getbytes_chararr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.vb" id="Snippet1"::: ]]> @@ -5670,7 +5670,7 @@ Starting with .NET Framework 4.6, .NET Framework includes one encoding provider, - It returns a object that uses replacement fallback to replace each string that it can't encode and each byte that it can't decode with a question mark ("?") character. Instead, you can call the constructor to instantiate a object whose fallback is either an or a , as the following example illustrates. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/UTF8/encoding.utf8.1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.utf8/vb/encoding.utf8.1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/UTF8/encoding.utf8.1.vb" id="Snippet1"::: ## Examples The following example defines an array that consists of the following characters: @@ -5690,7 +5690,7 @@ Starting with .NET Framework 4.6, .NET Framework includes one encoding provider, It displays the UTF-16 code units of each character and determines the number of bytes required by a UTF-8 encoder to encode the character array. It then encodes the characters and displays the resulting UTF-8-encoded bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/UTF8/example1.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.utf8/vb/example1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/UTF8/example1.vb" id="Snippet2"::: ]]> @@ -5768,12 +5768,12 @@ Starting with .NET Framework 4.6, .NET Framework includes one encoding provider, The following example includes the in an HTML header. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/WebName/webname.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.WebName/VB/webname.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/WebName/webname.vb" id="Snippet1"::: The following example retrieves the different names for each encoding and displays the encodings with one or more names that are different from . It displays but does not compare against it. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BodyName/names.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Names/VB/names.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BodyName/names.vb" id="Snippet1"::: ]]> @@ -5834,7 +5834,7 @@ Starting with .NET Framework 4.6, .NET Framework includes one encoding provider, The following example determines the Windows code page that most closely corresponds to each encoding. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/WindowsCodePage/codepage.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.CodePage/VB/codepage.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/WindowsCodePage/codepage.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/EncodingInfo.xml b/xml/System.Text/EncodingInfo.xml index 27af0549c49..faca3b5b930 100644 --- a/xml/System.Text/EncodingInfo.xml +++ b/xml/System.Text/EncodingInfo.xml @@ -67,7 +67,7 @@ The following example uses the method to retrieve an object for each encoding supported by the .NET Framework. It then displays the value of each encoding's , , and property and compares them with the corresponding names. :::code language="csharp" source="~/snippets/csharp/System.Text/EncodingInfo/Overview/encodinginfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.EncodingInfo/VB/encodinginfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/EncodingInfo/Overview/encodinginfo.vb" id="Snippet1"::: ]]> @@ -158,7 +158,7 @@ The following code example retrieves the different names for each encoding and compares them with the equivalent names. :::code language="csharp" source="~/snippets/csharp/System.Text/EncodingInfo/Overview/encodinginfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.EncodingInfo/VB/encodinginfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/EncodingInfo/Overview/encodinginfo.vb" id="Snippet1"::: ]]> @@ -214,7 +214,7 @@ The following code example retrieves the different names for each encoding and compares them with the equivalent names. :::code language="csharp" source="~/snippets/csharp/System.Text/EncodingInfo/Overview/encodinginfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.EncodingInfo/VB/encodinginfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/EncodingInfo/Overview/encodinginfo.vb" id="Snippet1"::: ]]> @@ -332,7 +332,7 @@ The following code example retrieves the different names for each encoding and compares them with the equivalent names. :::code language="csharp" source="~/snippets/csharp/System.Text/EncodingInfo/Overview/encodinginfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.EncodingInfo/VB/encodinginfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/EncodingInfo/Overview/encodinginfo.vb" id="Snippet1"::: ]]> @@ -440,7 +440,7 @@ The following code example retrieves the different names for each encoding and compares them with the equivalent names. :::code language="csharp" source="~/snippets/csharp/System.Text/EncodingInfo/Overview/encodinginfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.EncodingInfo/VB/encodinginfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/EncodingInfo/Overview/encodinginfo.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/StringBuilder.xml b/xml/System.Text/StringBuilder.xml index 84689eefd28..0a6c697943f 100644 --- a/xml/System.Text/StringBuilder.xml +++ b/xml/System.Text/StringBuilder.xml @@ -81,7 +81,7 @@ The following example shows how to call many of the methods defined by the @@ -160,7 +160,7 @@ The following example shows how to call many of the methods defined by the @@ -229,7 +229,7 @@ The following example shows how to call many of the methods defined by the @@ -294,7 +294,7 @@ The following example shows how to call many of the methods defined by the @@ -367,7 +367,7 @@ The following example shows how to call many of the methods defined by the @@ -446,7 +446,7 @@ The following example shows how to call many of the methods defined by the @@ -525,7 +525,7 @@ The following example shows how to call many of the methods defined by the @@ -605,7 +605,7 @@ The following example shows how to call many of the methods defined by the method calls the method to get the string representation of `value`. The capacity of this instance is adjusted as needed. @@ -672,7 +672,7 @@ The following example shows how to call many of the methods defined by the method calls the method to get the string representation of `value` for the current culture. To control the formatting of `value`, call the method. @@ -747,7 +747,7 @@ The following example shows how to call many of the methods defined by the method calls the method to get the string representation of `value` for the current culture. To control the formatting of `value`, call the method. @@ -965,7 +965,7 @@ The following example shows how to call many of the methods defined by the method calls the method to get the string representation of `value` for the current culture. To control the formatting of `value`, call the method. @@ -1034,7 +1034,7 @@ The following example shows how to call many of the methods defined by the method calls the method to get the string representation of `value` for the current culture. To control the formatting of `value`, call the method. @@ -1109,7 +1109,7 @@ The following example shows how to call many of the methods defined by the method calls the method to get the string representation of `value` for the current culture. To control the formatting of `value`, call the method. @@ -1178,7 +1178,7 @@ The following example shows how to call many of the methods defined by the method calls the to get the string representation of `value` for the current culture. To control the formatting of `value`, call the method. @@ -1261,7 +1261,7 @@ The following example shows how to call many of the methods defined by the method calls the method to get the string representation of `value`. If `value` is `null`, no changes are made to the object. @@ -1425,7 +1425,7 @@ The following example shows how to call many of the methods defined by the method calls the method to get the string representation of `value` for the current culture. To control the formatting of `value`, call the method. @@ -1494,7 +1494,7 @@ The following example shows how to call many of the methods defined by the method calls the method to get the string representation of `value` for the current culture. To control the formatting of `value`, call the method. @@ -1577,7 +1577,7 @@ The following example shows how to call many of the methods defined by the method calls the method to get the string representation of `value`. To control the formatting of `value`, call the method. @@ -1816,7 +1816,7 @@ The following example shows how to call many of the methods defined by the calls the method to get the string representation of `value` for the current culture. To control the formatting of `value`, call the method. @@ -1891,7 +1891,7 @@ The following example shows how to call many of the methods defined by the method calls the method to get the string representation of `value` for the current culture. To control the formatting of `value`, call the method. @@ -1968,7 +1968,7 @@ The following example shows how to call many of the methods defined by the @@ -2620,7 +2620,7 @@ The following example shows how to call many of the methods defined by the @@ -2823,7 +2823,7 @@ The index of a format item is less than 0 (zero), or greater than or equal to th :::code language="csharp" source="~/snippets/csharp/System.Text/StringBuilder/AppendFormat/appendformat1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Text/StringBuilder/AppendFormat/appendformat1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.stringbuilder.appendformat/vb/appendformat1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/StringBuilder/AppendFormat/appendformat1.vb" id="Snippet2"::: ]]> @@ -2977,13 +2977,13 @@ The index of a format item is less than 0 (zero), or greater than or equal to th :::code language="csharp" source="~/snippets/csharp/System.Text/StringBuilder/AppendFormat/appfmt.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Text/StringBuilder/AppendFormat/appfmt.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stringbuilder.appendformat/VB/appfmt.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/StringBuilder/AppendFormat/appfmt.vb" id="Snippet1"::: The following example defines a custom implementation named `CustomerFormatter` that formats a 10-digit customer number with hyphens after the fourth and seventh digits. It is passed to the method to create a string that includes the formatted customer number and customer name. :::code language="csharp" source="~/snippets/csharp/System.Text/StringBuilder/AppendFormat/customernumberformatter1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Text/StringBuilder/AppendFormat/customernumberformatter1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.stringbuilder.appendformat/vb/customernumberformatter1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/StringBuilder/AppendFormat/customernumberformatter1.vb" id="Snippet1"::: ]]> @@ -3313,7 +3313,7 @@ The index of a format item is less than 0 (zero), or greater than or equal to th :::code language="csharp" source="~/snippets/csharp/System.Text/StringBuilder/AppendFormat/appfmt.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Text/StringBuilder/AppendFormat/appfmt.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stringbuilder.appendformat/VB/appfmt.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/StringBuilder/AppendFormat/appfmt.vb" id="Snippet1"::: ]]> @@ -3444,7 +3444,7 @@ The index of a format item is less than 0 (zero), or greater than or equal to th :::code language="csharp" source="~/snippets/csharp/System.Text/StringBuilder/AppendFormat/appendformat2.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Text/StringBuilder/AppendFormat/appendformat2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.stringbuilder.appendformat/vb/appendformat2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/StringBuilder/AppendFormat/appendformat2.vb" id="Snippet3"::: ]]> @@ -3568,7 +3568,7 @@ The index of a format item is less than 0 (zero), or greater than or equal to th :::code language="csharp" source="~/snippets/csharp/System.Text/StringBuilder/AppendFormat/appfmt.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Text/StringBuilder/AppendFormat/appfmt.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stringbuilder.appendformat/VB/appfmt.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/StringBuilder/AppendFormat/appfmt.vb" id="Snippet1"::: ]]> @@ -3701,7 +3701,7 @@ The index of a format item is less than 0 (zero), or greater than or equal to th :::code language="csharp" source="~/snippets/csharp/System.Text/StringBuilder/AppendFormat/appendformat3.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Text/StringBuilder/AppendFormat/appendformat3.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.stringbuilder.appendformat/vb/appendformat3.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/StringBuilder/AppendFormat/appendformat3.vb" id="Snippet4"::: ]]> @@ -4569,7 +4569,7 @@ The index of a format item is less than 0 (zero), or greater than or equal to th :::code language="csharp" source="~/snippets/csharp/System.Text/StringBuilder/AppendLine/al.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Text/StringBuilder/AppendLine/al.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stringbuilder.appendline/VB/al.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/StringBuilder/AppendLine/al.vb" id="Snippet1"::: ]]> @@ -4812,7 +4812,7 @@ The index of a format item is less than 0 (zero), or greater than or equal to th :::code language="csharp" source="~/snippets/csharp/System.Text/StringBuilder/Capacity/cap.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Text/StringBuilder/Capacity/cap.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stringbuilder.ensurecapacity/VB/cap.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/StringBuilder/Capacity/cap.vb" id="Snippet1"::: ]]> @@ -4877,7 +4877,7 @@ The `index` parameter is the position of a character within the @@ -4943,7 +4943,7 @@ The following example instantiates a object wit :::code language="csharp" source="~/snippets/csharp/System.Text/StringBuilder/Clear/clear1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Text/StringBuilder/Clear/clear1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.stringbuilder.clear/vb/clear1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Text/StringBuilder/Clear/clear1.vb" id="Snippet1"::: ]]> @@ -5075,7 +5075,7 @@ The following example instantiates a object wit :::code language="csharp" source="~/snippets/csharp/System.Text/StringBuilder/CopyTo/ct2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Text/StringBuilder/CopyTo/ct2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stringbuilder.copyto2/VB/ct2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/StringBuilder/CopyTo/ct2.vb" id="Snippet1"::: ]]> @@ -5154,7 +5154,7 @@ The following example instantiates a object wit :::code language="csharp" source="~/snippets/csharp/System.Text/StringBuilder/Capacity/cap.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Text/StringBuilder/Capacity/cap.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stringbuilder.ensurecapacity/VB/cap.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/StringBuilder/Capacity/cap.vb" id="Snippet1"::: ]]> @@ -5283,7 +5283,7 @@ The `Equals` method performs an ordinal comparison to determine whether the char :::code language="csharp" source="~/snippets/csharp/System.Text/StringBuilder/Capacity/cap.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Text/StringBuilder/Capacity/cap.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stringbuilder.ensurecapacity/VB/cap.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/StringBuilder/Capacity/cap.vb" id="Snippet1"::: ]]> @@ -5374,7 +5374,7 @@ foreach (ReadOnlyMemory chunk in sb.GetChunks()) :::code language="csharp" source="~/snippets/csharp/System.Text/StringBuilder/Insert/insert.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Text/StringBuilder/Insert/insert.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stringbuilder.insert/VB/insert.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/StringBuilder/Insert/insert.vb" id="Snippet1"::: ]]> @@ -6788,7 +6788,7 @@ The existing characters are shifted to make room for the character sequence in t :::code language="csharp" source="~/snippets/csharp/System.Text/StringBuilder/Capacity/cap.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Text/StringBuilder/Capacity/cap.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stringbuilder.ensurecapacity/VB/cap.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/StringBuilder/Capacity/cap.vb" id="Snippet1"::: ]]> @@ -6919,7 +6919,7 @@ In .NET Core and in the .NET Framework 4.0 and later versions, when you instanti :::code language="csharp" source="~/snippets/csharp/System.Text/StringBuilder/Remove/remove.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Text/StringBuilder/Remove/remove.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stringbuilder.remove/VB/remove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/StringBuilder/Remove/remove.vb" id="Snippet1"::: ]]> @@ -6946,7 +6946,7 @@ In .NET Core and in the .NET Framework 4.0 and later versions, when you instanti :::code language="csharp" source="~/snippets/csharp/System.Text/StringBuilder/Replace/replace.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Text/StringBuilder/Replace/replace.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stringbuilder.replace/VB/replace.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/StringBuilder/Replace/replace.vb" id="Snippet1"::: ]]> @@ -7475,7 +7475,7 @@ In .NET Core and in the .NET Framework 4.0 and later versions, when you instanti :::code language="csharp" source="~/snippets/csharp/System.Text/StringBuilder/Overview/StringBuilder.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Text/StringBuilder/Overview/StringBuilder.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StringBuilder/VB/StringBuilder.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/StringBuilder/Overview/StringBuilder.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Text/UTF32Encoding.xml b/xml/System.Text/UTF32Encoding.xml index bd7e337ce73..1e0192154ee 100644 --- a/xml/System.Text/UTF32Encoding.xml +++ b/xml/System.Text/UTF32Encoding.xml @@ -106,17 +106,17 @@ The following example demonstrates the behavior of objects with and without error detection enabled. It creates a byte array whose last four bytes represent an invalid surrogate pair; the high surrogate U+D8FF is followed by an U+01FF, which is outside the range of low surrogates (0xDC00 through 0xDFFF). Without error detection, the UTF32 decoder uses replacement fallback to replace the invalid surrogate pair with REPLACEMENT CHARACTER (U+FFFD). :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/Overview/errordetection.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.ErrorDetection/VB/ErrorDetection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/Overview/ErrorDetection.vb" id="Snippet1"::: The following example encodes a string of Unicode characters into a byte array by using a object. The byte array is then decoded into a string to demonstrate that there is no loss of data. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/Overview/snippet.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.class/vb/snippet.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/Overview/snippet.vb" id="Snippet1"::: The following example uses the same string as the previous one, except that it writes the encoded bytes to a file and prefixes the byte stream with a byte order mark (BOM). It then reads the file in two different ways: as a text file by using a object; and as a binary file. As you would expect, neither newly-read string includes the BOM. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/Overview/bom1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.class/vb/bom1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/Overview/bom1.vb" id="Snippet2"::: ]]> @@ -190,7 +190,7 @@ The following example retrieves and displays the byte order mark for different instances. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/.ctor/getpreamble.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetPreamble/VB/GetPreamble.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/.ctor/GetPreamble.vb" id="Snippet1"::: ]]> @@ -251,7 +251,7 @@ The following example retrieves and displays the byte order mark for different instances. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/.ctor/getpreamble.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetPreamble/VB/GetPreamble.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/.ctor/GetPreamble.vb" id="Snippet1"::: ]]> @@ -316,7 +316,7 @@ The following example demonstrates the behavior of , both with error detection enabled and without. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/Overview/errordetection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.ErrorDetection/VB/ErrorDetection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/Overview/ErrorDetection.vb" id="Snippet1"::: ]]> @@ -394,7 +394,7 @@ The following example creates objects using different parameter values and then checks them for equality. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/Equals/equals.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.Equals/VB/equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/Equals/equals.vb" id="Snippet1"::: ]]> @@ -476,7 +476,7 @@ The following example calls the and methods to calculate the maximum and actual number of bytes required to encode a string. It also displays the actual number of bytes required to store a byte stream with a byte order mark. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetByteCount/getbytecount1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getbytecount/vb/getbytecount1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetByteCount/getbytecount1.vb" id="Snippet1"::: ]]> @@ -646,7 +646,7 @@ The following example populates an array with a Latin uppercase and lowercase characters and calls the method to determine the number of bytes needed to encode the Latin lowercase characters. It then displays this information along with the total number of bytes needed if a byte order mark is added. It compares this number with the value returned by the method, which indicates maximum number of bytes needed to encode the Latin lowercase characters. The following example populates an array with a combination of Greek and Cyrillic characters and calls the method to determine the number of bytes needed to encode the Cyrillic characters. It then displays this information along with the total number of bytes needed if a byte order mark is added. It compares this number with the value returned by the method, which indicates maximum number of bytes needed to encode the Cyrillic characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetByteCount/getbytecount2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getbytecount/vb/getbytecount2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetByteCount/getbytecount2.vb" id="Snippet2"::: ]]> @@ -851,7 +851,7 @@ The following example determines the number of bytes required to encode three characters from a character array, then encodes the characters and displays the resulting bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetBytes/getbytes_chararr.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetBytes_CharArr/VB/GetBytes_CharArr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetBytes/GetBytes_CharArr.vb" id="Snippet1"::: ]]> @@ -959,7 +959,7 @@ The following example determines the number of bytes required to encode a string, then encodes the string and displays the resulting bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetBytes/getbytes_string.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetBytes_String/VB/GetBytes_String.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetBytes/GetBytes_String.vb" id="Snippet1"::: ]]> @@ -1152,7 +1152,7 @@ The following example encodes a string into an array of bytes, and then decodes the bytes into an array of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetCharCount/getchars.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetChars/VB/GetChars.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetCharCount/GetChars.vb" id="Snippet1"::: ]]> @@ -1358,7 +1358,7 @@ The following example encodes a string into an array of bytes, and then decodes the bytes into an array of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetCharCount/getchars.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetChars/VB/GetChars.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetCharCount/GetChars.vb" id="Snippet1"::: ]]> @@ -1447,7 +1447,7 @@ The following example uses an encoder and a decoder to encode a string into an array of bytes, and then decode the bytes into an array of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetDecoder/encdec.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.EncDec/VB/EncDec.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetDecoder/EncDec.vb" id="Snippet1"::: ]]> @@ -1512,7 +1512,7 @@ The following example uses an encoder and a decoder to encode a string into an array of bytes, and then decode the bytes into an array of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetDecoder/encdec.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.EncDec/VB/EncDec.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetDecoder/EncDec.vb" id="Snippet1"::: ]]> @@ -1627,7 +1627,7 @@ The following example determines the number of bytes required to encode a string, then encodes the string and displays the resulting bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetBytes/getbytes_string.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetBytes_String/VB/GetBytes_String.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetBytes/GetBytes_String.vb" id="Snippet1"::: ]]> @@ -1708,7 +1708,7 @@ The following example encodes a string into an array of bytes, and then decodes the bytes into an array of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetCharCount/getchars.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetChars/VB/GetChars.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetCharCount/GetChars.vb" id="Snippet1"::: ]]> @@ -1801,12 +1801,12 @@ The following code example retrieves and displays the byte order mark for different instances. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/.ctor/getpreamble.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetPreamble/VB/GetPreamble.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/.ctor/GetPreamble.vb" id="Snippet1"::: The following example instantiates two objects, the first of which does not provide a BOM and the second of which does. It then calls the method to write the BOM to a file before writing a UTF-32-encoded string. As the output from the example shows, the file that saves the bytes from the second encoder has four more bytes that the first. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/.ctor/getpreamble1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetPreamble/VB/getpreamble1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/.ctor/getpreamble1.vb" id="Snippet2"::: You can also compare the files by using the `fc` command in a console window, or you can inspect the files in a text editor that includes a Hex View mode. Note that when the file is opened in an editor that supports UTF-32, the BOM is not displayed. @@ -1882,12 +1882,12 @@ The following example encodes a string into two arrays of bytes, one in little-endian order and the other in big-endian order. It then decodes the bytes back into a string. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetString/getstring.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getstring/VB/GetString.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetString/GetString.vb" id="Snippet1"::: The following example initializes an array by calling the method to determine exactly how many bytes are required for an encoded string and then adding the size of the byte order mark (BOM). The example then calls the method to store the BOM to the array before calling the method to store the encoded bytes to the array. The example then calls the method to decode the string. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetString/GetString1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getstring/VB/GetString1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetString/GetString1.vb" id="Snippet2"::: Note that in this case the decoded string differs from the original string, since it begins with a 32-bit byte order mark U+FFFE U+0000. This means that the two strings will compare as unequal, and that if the string is output, the BOM will be displayed as the replacement character "?". diff --git a/xml/System.Text/UTF7Encoding.xml b/xml/System.Text/UTF7Encoding.xml index 91ee5e3f7d1..347fd50cedf 100644 --- a/xml/System.Text/UTF7Encoding.xml +++ b/xml/System.Text/UTF7Encoding.xml @@ -87,7 +87,7 @@ The following code example demonstrates how to use a to encode a string of Unicode characters and store them in a byte array. Notice that when the byte array is decoded back to a string, no data is lost. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/Overview/snippet.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding Example/VB/snippet.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/Overview/snippet.vb" id="Snippet1"::: ]]> @@ -164,7 +164,7 @@ The following code example demonstrates how to create a new instance and display the name of the encoding. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/.ctor/ctor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.ctor1 Example/VB/ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/.ctor/ctor.vb" id="Snippet1"::: ]]> @@ -231,7 +231,7 @@ The following code example demonstrates how to create a new instance that allows optional characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/.ctor/ctor-boolean.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.ctor2 Example/VB/ctor-boolean.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/.ctor/ctor-boolean.vb" id="Snippet1"::: ]]> @@ -380,7 +380,7 @@ The following code example demonstrates how to use the method to return the number of bytes required to encode a character array. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/GetByteCount/getbytecount-char[]-int32-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetByteCount Example/VB/getbytecount-char[]-int32-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/GetByteCount/getbytecount-char[]-int32-int32.vb" id="Snippet1"::: ]]> @@ -545,7 +545,7 @@ The following code example demonstrates how to use the method to return the number of bytes required to encode an array of Unicode characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/GetByteCount/getbytecount-char[]-int32-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetByteCount Example/VB/getbytecount-char[]-int32-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/GetByteCount/getbytecount-char[]-int32-int32.vb" id="Snippet1"::: ]]> @@ -749,7 +749,7 @@ The following code example demonstrates how to use the method to encode a range of characters from a and store the encoded bytes in a range of elements in a byte array. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetBytes Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: ]]> @@ -858,7 +858,7 @@ The following code example demonstrates how to use the method to encode a range of elements from a Unicode character array, and store the encoded bytes in a range of elements in a byte array. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetBytes Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: ]]> @@ -1048,7 +1048,7 @@ The following code example demonstrates how to use the method to return the number of characters produced by decoding a range of elements in a byte array. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetCharCount/getcharcount-byte[]-int32-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetCharCount/getcharcount-byte[]-int32-int32.vb" id="Snippet1"::: ]]> @@ -1253,7 +1253,7 @@ The following code example demonstrates how to use the method to decode a range of elements in a byte array and store the result in a character array. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb" id="Snippet1"::: ]]> @@ -1338,7 +1338,7 @@ The following code example demonstrates how to use the method to obtain a decoder to convert the UTF-7 encoded bytes into a sequence of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/GetDecoder/getdecoder-.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetDecoder Example/VB/getdecoder-.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/GetDecoder/getdecoder-.vb" id="Snippet1"::: ]]> @@ -1402,7 +1402,7 @@ The following code example demonstrates how to use the method to obtain an encoder to convert a sequence of characters into a UTF-7 encoded sequence of bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/GetEncoder/getencoder-.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetEncoder Example/VB/getencoder-.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/GetEncoder/getencoder-.vb" id="Snippet1"::: ]]> @@ -1532,7 +1532,7 @@ The following code example demonstrates how to use the method to return the maximum number of bytes required to encode a specified number of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/GetMaxByteCount/getmaxbytecount-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/GetMaxByteCount/getmaxbytecount-int32.vb" id="Snippet1"::: ]]> @@ -1616,7 +1616,7 @@ The following code example demonstrates how to use the method to return the maximum number of characters produced by decoding a specified number of bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/GetMaxCharCount/getmaxcharcount-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/GetMaxCharCount/getmaxcharcount-int32.vb" id="Snippet1"::: ]]> @@ -1708,7 +1708,7 @@ The following code example encodes a string into an array of bytes, and then decodes the bytes back into a string. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/GetString/getstring.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.getstring/VB/getstring.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/GetString/getstring.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/UTF8Encoding.xml b/xml/System.Text/UTF8Encoding.xml index e3a9db1f65a..1f87cf5444a 100644 --- a/xml/System.Text/UTF8Encoding.xml +++ b/xml/System.Text/UTF8Encoding.xml @@ -96,12 +96,12 @@ The following example uses a object to encode a string of Unicode characters and store them in a byte array. The Unicode string includes two characters, Pi (U+03A0) and Sigma (U+03A3), that are outside the ASCII character range. When the encoded byte array is decoded back to a string, the Pi and Sigma characters are still present. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/Overview/snippet.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding Example/VB/snippet.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/Overview/snippet.vb" id="Snippet1"::: The following example uses the same string as the previous example, except that it writes the encoded bytes to a file and prefixes the byte stream with a byte order mark (BOM). It then reads the file in two different ways: as a text file by using a object; and as a binary file. As you would expect, neither newly-read string includes the BOM. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/Overview/bom1.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding Example/VB/bom1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/Overview/bom1.vb" id="Snippet2"::: ]]> @@ -172,7 +172,7 @@ The following example creates a new instance and displays its name. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/.ctor/ctor.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.ctor1 Example/VB/ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/.ctor/ctor.vb" id="Snippet1"::: ]]> @@ -237,7 +237,7 @@ The following example creates a new instance and specifies that a Unicode byte order mark prefix should be emitted by the method. The method then returns the Unicode byte order mark prefix. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/.ctor/ctor-boolean.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.ctor2 Example/VB/ctor-boolean.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/.ctor/ctor-boolean.vb" id="Snippet1"::: ]]> @@ -305,7 +305,7 @@ The following example creates a new instance, specifying that the method should not emit a Unicode byte order mark prefix, and an exception should be thrown when an invalid encoding is detected. The behavior of this constructor is compared to the default constructor, which does not throw an exception when an invalid encoding is detected. The two instances encode a character array that contains two high surrogates (U+D801 and U+D802) in a row, which is an invalid character sequence; a high surrogate should always be followed by a low surrogate. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/.ctor/ctor-boolean-boolean.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.ctor3 Example/VB/ctor-boolean-boolean.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/.ctor/ctor-boolean-boolean.vb" id="Snippet1"::: ]]> @@ -383,7 +383,7 @@ The following example uses the method to test whether the current object is equal to a different object. Four objects are created and compared and the results of the comparisons are displayed. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/Equals/equals-object.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.Equals Example/VB/equals-object.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/Equals/equals-object.vb" id="Snippet1"::: ]]> @@ -523,7 +523,7 @@ The following example calls the and methods to calculate the maximum and actual number of bytes required to encode a string. It also displays the actual number of bytes required to store a byte stream with a byte order mark. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetByteCount/getbytecount1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getbytecount/vb/getbytecount1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetByteCount/getbytecount1.vb" id="Snippet1"::: ]]> @@ -699,7 +699,7 @@ The following example populates an array with a Latin uppercase and lowercase characters and calls the method to determine the number of bytes needed to encode the Latin lowercase characters. It then displays this information along with the total number of bytes needed if a byte order mark is added. It compares this number with the value returned by the method, which indicates maximum number of bytes needed to encode the Latin lowercase characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetByteCount/getbytecount2.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getbytecount/vb/getbytecount2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetByteCount/getbytecount2.vb" id="Snippet2"::: ]]> @@ -994,7 +994,7 @@ The following example uses the method to encode a range of characters from a string and stores the encoded bytes in a range of elements in a byte array. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetBytes3 Example/VB/getbytes-string-int32-int32-byte[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.vb" id="Snippet1"::: ]]> @@ -1105,7 +1105,7 @@ The following example uses the method to encode a range of elements from a Unicode character array and store the encoded bytes in a range of elements in a byte array. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetBytes1 Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: ]]> @@ -1351,7 +1351,7 @@ The following example uses the method to return the number of characters produced by decoding a range of elements in a byte array. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetCharCount/getcharcount-byte[]-int32-int32.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetCharCount/getcharcount-byte[]-int32-int32.vb" id="Snippet1"::: ]]> @@ -1616,7 +1616,7 @@ The following example uses the method to decode a range of elements in a byte array and store the result in a character array. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb" id="Snippet1"::: ]]> @@ -1707,7 +1707,7 @@ The following example uses the method to obtain a UTF-8 decoder. The decoder converts a sequence of bytes into a sequence of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetDecoder/getdecoder-.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetDecoder Example/VB/getdecoder-.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetDecoder/getdecoder-.vb" id="Snippet1"::: ]]> @@ -1774,7 +1774,7 @@ The following example uses the method to obtain an encoder to convert a sequence of characters into a UTF-8 encoded sequence of bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetEncoder/getencoder-.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetEncoder Example/VB/getencoder-.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetEncoder/getencoder-.vb" id="Snippet1"::: ]]> @@ -1833,7 +1833,7 @@ The following example uses the method to return a hash code for instances. Notice that the hash code returned by this method depends on the constructor used to create the object. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetHashCode/gethashcode-.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetHashCode Example/VB/gethashcode-.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetHashCode/gethashcode-.vb" id="Snippet1"::: ]]> @@ -1905,7 +1905,7 @@ The following example uses the method to return the maximum number of bytes required to encode a specified number of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetMaxByteCount/getmaxbytecount-int32.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetMaxByteCount/getmaxbytecount-int32.vb" id="Snippet1"::: ]]> @@ -1990,7 +1990,7 @@ The following example uses the method to return the maximum number of characters produced by decoding a specified number of bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetMaxCharCount/getmaxcharcount-int32.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetMaxCharCount/getmaxcharcount-int32.vb" id="Snippet1"::: ]]> @@ -2081,12 +2081,12 @@ The following example uses the method to return the Unicode byte order mark encoded in UTF-8 format. Notice that the parameterless constructor for does not provide a preamble. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetPreamble/getpreamble-.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetPreamble Example/VB/getpreamble-.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetPreamble/getpreamble-.vb" id="Snippet1"::: The following example instantiates two objects, the first by calling the parameterless constructor, which does not provide a BOM, and the second by calling the constructor with its `encoderShouldEmitUTF8Identifier` argument set to `true`. It then calls the method to write the BOM to a file before writing a UF8-encoded string. As the console output from the example shows, the file that saves the bytes from the second encoder has three more bytes than the first. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetPreamble/getpreamble1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getpreamble/vb/getpreamble1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetPreamble/getpreamble1.vb" id="Snippet1"::: You can also compare the files by using the `fc` command in a console window, or you can inspect the files in a text editor that includes a Hex View mode. Note that when the file is opened in an editor that supports UTF-8, the BOM is not displayed. @@ -2167,7 +2167,7 @@ The following example initializes an array by calling the method to determine exactly how many bytes are required for an encoded string and then adding the size of the byte order mark (BOM). The example then calls the method to store the BOM to the array before calling the method to store the encoded bytes to the array. The example then calls the method to decode the string. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetString/getstring1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getstring/vb/getstring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetString/getstring1.vb" id="Snippet1"::: Note that in this case the decoded string differs from the original string, since it begins with a 16-bit byte order mark U+FFFD. This means that the two strings will compare as unequal, and that if the string is output, the BOM will be displayed as the replacement character "?". To remove the BOM at the beginning of the string, you can call the method. diff --git a/xml/System.Text/UnicodeEncoding.xml b/xml/System.Text/UnicodeEncoding.xml index 693bc5db7d7..39d51d49e6f 100644 --- a/xml/System.Text/UnicodeEncoding.xml +++ b/xml/System.Text/UnicodeEncoding.xml @@ -114,12 +114,12 @@ The following example demonstrates how to encode a string of Unicode characters into a byte array by using a object. The byte array is decoded into a string to demonstrate that there is no loss of data. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/Overview/snippet.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding Example/VB/snippet.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/Overview/snippet.vb" id="Snippet1"::: The following example uses the same string as the previous one, except that it writes the encoded bytes to a file and prefixes the byte stream with a byte order mark (BOM). It then reads the file in two different ways: as a text file by using a object; and as a binary file. As you would expect, neither newly-read string includes the BOM. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/Overview/bom1.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding Example/VB/bom1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/Overview/bom1.vb" id="Snippet2"::: ]]> @@ -195,7 +195,7 @@ The following example demonstrates how to create a new instance and display the name of the encoding. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/.ctor/ctor.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.ctor Example/VB/ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/.ctor/ctor.vb" id="Snippet1"::: ]]> @@ -262,7 +262,7 @@ The following example demonstrates how to create a new instance specifying whether to support little endian or big endian byte ordering and the Unicode byte order mark. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/.ctor/ctor-boolean-boolean.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.ctor2 Example/VB/ctor-boolean-boolean.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/.ctor/ctor-boolean-boolean.vb" id="Snippet1"::: ]]> @@ -330,7 +330,7 @@ The following example demonstrates the behavior of , both with error detection enabled and without. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/.ctor/errordetection.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.ErrorDetection/VB/errordetection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/.ctor/errordetection.vb" id="Snippet1"::: ]]> @@ -387,7 +387,7 @@ The following example demonstrates how to return the value of and display it. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/CharSize/charsize.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.CharSize Example/VB/charsize.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/CharSize/charsize.vb" id="Snippet1"::: ]]> @@ -466,7 +466,7 @@ The following example demonstrates how to use the method to test whether the current object is equal to a different object. Five objects are created and compared, and the results of the comparisons are displayed. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/.ctor/ctor-boolean-boolean.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.ctor2 Example/VB/ctor-boolean-boolean.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/.ctor/ctor-boolean-boolean.vb" id="Snippet1"::: ]]> @@ -552,7 +552,7 @@ The following example calls the and methods to calculate the maximum and actual number of bytes required to encode a string. It also displays the actual number of bytes required to store a byte stream with a byte order mark. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetByteCount/getbytecount1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.unicodeencoding.getbytecount/vb/getbytecount1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetByteCount/getbytecount1.vb" id="Snippet1"::: ]]> @@ -728,7 +728,7 @@ The following example populates an array with a Latin uppercase and lowercase characters and calls the method to determine the number of bytes needed to encode the Latin lowercase characters. It then displays this information along with the total number of bytes needed if a byte order mark is added. It compares this number with the value returned by the method, which indicates maximum number of bytes needed to encode the Latin lowercase characters. The following example populates an array with a combination of Greek and Cyrillic characters and calls the method to determine the number of bytes needed to encode the Cyrillic characters. It then displays this information along with the total number of bytes needed if a byte order mark is added. It compares this number with the value returned by the method, which indicates maximum number of bytes needed to encode the Cyrillic characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetByteCount/getbytecount2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.unicodeencoding.getbytecount/vb/getbytecount2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetByteCount/getbytecount2.vb" id="Snippet2"::: ]]> @@ -971,7 +971,7 @@ The following example demonstrates how to use the method to encode a range of characters from a and store the encoded bytes in a range of elements in a byte array. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetBytes3 Example/VB/getbytes-string-int32-int32-byte[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.vb" id="Snippet1"::: ]]> @@ -1081,7 +1081,7 @@ The following example demonstrates how to encode a range of elements from a Unicode character array and store the encoded bytes in a range of elements in a byte array. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetBytes1 Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: ]]> @@ -1279,7 +1279,7 @@ The following example demonstrates how to use the method to return the number of characters produced by decoding a range of elements in a byte array using . :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetCharCount/getcharcount-byte[]-int32-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetCharCount/getcharcount-byte[]-int32-int32.vb" id="Snippet1"::: ]]> @@ -1490,7 +1490,7 @@ The following example demonstrates how to use the method to decode a range of elements in a byte array and store the result in a character array. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb" id="Snippet1"::: ]]> @@ -1581,7 +1581,7 @@ The following example uses an encoder and a decoder to encode a string into an array of bytes, and then decode the bytes into an array of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetDecoder/encdec.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.EncDec/VB/encdec.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetDecoder/encdec.vb" id="Snippet1"::: ]]> @@ -1653,7 +1653,7 @@ The following example uses an encoder and a decoder to encode a string into an array of bytes, and then decode the bytes into an array of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetDecoder/encdec.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.EncDec/VB/encdec.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetDecoder/encdec.vb" id="Snippet1"::: ]]> @@ -1774,7 +1774,7 @@ The following example demonstrates how to use the method to return the maximum number of bytes required to encode a specified number of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetMaxByteCount/getmaxbytecount-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetMaxByteCount/getmaxbytecount-int32.vb" id="Snippet1"::: ]]> @@ -1859,7 +1859,7 @@ The following example demonstrates how to use the method to return the maximum number of characters produced by decoding a specified number of bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetMaxCharCount/getmaxcharcount-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetMaxCharCount/getmaxcharcount-int32.vb" id="Snippet1"::: ]]> @@ -1954,12 +1954,12 @@ The following example demonstrates how to use the method to retrieve the Unicode byte order mark in big endian or little endian byte order for an instance of a . :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetPreamble/getpreamble-.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetPreamble Example/VB/getpreamble-.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetPreamble/getpreamble-.vb" id="Snippet1"::: The following example instantiates two objects, the first of which does not provide a BOM, and the second of which does. It then calls the method to write the BOM to a file before writing a Unicode-encoded string. As the console output from the example shows, the file that saves the bytes from the second encoder has three more bytes than the first. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetPreamble/GetPreamble1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Text.UnicodeEncoding.GetPreamble/vb/GetPreamble1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetPreamble/GetPreamble1.vb" id="Snippet1"::: You can also compare the files by using the `fc` command in a console window, or you can inspect the files in a text editor that includes a Hex View mode. Note that when the file is opened in an editor that supports UTF-16 encoding, the BOM is not displayed. @@ -2040,7 +2040,7 @@ The following example initializes an array by calling the method to determine exactly how many bytes are required for an encoded string and then adding the size of the byte order mark (BOM). The example then calls the method to store the BOM to the array before calling the method to store the encoded bytes to the array. The example then calls the method to decode the string. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetString/getstring1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getstring/vb/getstring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetString/getstring1.vb" id="Snippet1"::: Note that in this case the decoded string differs from the original string, since it begins with a 16-bit byte order mark U+FFFD. This means that the two strings will compare as unequal, and that if the string is output, the BOM will be displayed as the replacement character "?". To remove the BOM at the beginning of the string, you can call the method. diff --git a/xml/System.Threading.Tasks/Parallel.xml b/xml/System.Threading.Tasks/Parallel.xml index 88a84869ed3..98fe3bcd4c6 100644 --- a/xml/System.Threading.Tasks/Parallel.xml +++ b/xml/System.Threading.Tasks/Parallel.xml @@ -58,7 +58,7 @@ This example demonstrates several approaches to implementing a parallel loop using multiple language constructs. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/Overview/parallelintro.cs" id="Snippet07"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelintro.vb" id="Snippet07"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelintro.vb" id="Snippet07"::: ]]> @@ -147,7 +147,7 @@ The following example executes up to 100 iterations of a loop in parallel. Each iteration pauses for a random interval from 1 to 1,000 milliseconds. A randomly generated value determines on which iteration of the loop the method is called. As the output from the example shows, no iterations whose index is greater than the property value start after the call to the method. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/For/break1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/break1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/For/break1.vb" id="Snippet2"::: Because iterations of the loop are still likely to be executing when the method is called, each iteration calls the property to check whether another iteration has called the method. If the property value is `true`, the iteration checks the value of the property and, if it is greater than the current iteration's index value, returns immediately. @@ -217,7 +217,7 @@ The following example uses the method for 100 invocations of a delegate that generates random byte values and computes their sum. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/For/for1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel.for/vb/for1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/For/for1.vb" id="Snippet1"::: ]]> @@ -479,7 +479,7 @@ The following example shows how to cancel a parallel loop: :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/Overview/parallelforcancel.cs" id="Snippet05"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelforcancel.vb" id="Snippet05"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelforcancel.vb" id="Snippet05"::: ]]> @@ -554,7 +554,7 @@ The following example shows how to use the method with a object: :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/Overview/parallelfor.cs" id="Snippet03"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelfor.vb" id="Snippet03"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelfor.vb" id="Snippet03"::: ]]> @@ -629,7 +629,7 @@ The following example shows how to use to specify a custom task scheduler: :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/Overview/parallelforwithscheduler.cs" id="Snippet06"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelforwithscheduler.vb" id="Snippet06"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelforwithscheduler.vb" id="Snippet06"::: ]]> @@ -899,7 +899,7 @@ The following example uses thread-local variables to compute the sum of the results of many lengthy operations. This example limits the degree of parallelism to four. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/Overview/threadlocalforwithoptions.cs" id="Snippet04"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/threadlocalforwithoptions.vb" id="Snippet04"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/threadlocalforwithoptions.vb" id="Snippet04"::: ]]> @@ -1392,7 +1392,7 @@ The following example shows how to implement a range partitioner for use with : :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/ForEachTSource/rangepartitioner.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel_rangepartitioners/vb/rangepart.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/ForEachTSource/rangepart.vb" id="Snippet01"::: ]]> @@ -1619,7 +1619,7 @@ The following example uses the method to count the number of vowels and non-white-space characters in a text file. In this case, the value returned by the method is ignored. Note that, because operations can run in parallel, you must ensure that incrementing the counter variables is an atomic operation, and that multiple threads do not attempt to access the counter variables simultaneously. For this purpose, the example uses the `lock` statement (in C#) and the `SyncLock` statement (in Visual Basic). :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/ForEachTSource/foreach1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel.foreach/vb/foreach1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/ForEachTSource/foreach1.vb" id="Snippet1"::: ]]> @@ -2488,7 +2488,7 @@ The following example shows how to use a method with local state: :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/Overview/parallelforeach.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelforeach.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelforeach.vb" id="Snippet02"::: ]]> @@ -3333,7 +3333,7 @@ The operation will execute at most oper This example demonstrates how to use the method with other methods, anonymous delegates, and lambda expressions. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/Overview/parallelinvoke.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelinvoke.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelinvoke.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Threading.Tasks/ParallelLoopState.xml b/xml/System.Threading.Tasks/ParallelLoopState.xml index 9a1a1d0ca6f..7561dee844c 100644 --- a/xml/System.Threading.Tasks/ParallelLoopState.xml +++ b/xml/System.Threading.Tasks/ParallelLoopState.xml @@ -74,7 +74,7 @@ The following example executes up to 100 iterations of a loop in parallel. Each iteration pauses for a random interval from 1 to 1,000 milliseconds. A randomly generated value determines on which iteration of the loop the method is called. As the output from the example shows, no iterations whose index is greater than the property value start after the call to the method. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/For/break1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/break1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/For/break1.vb" id="Snippet2"::: Because iterations of the loop are still likely to be executing when the method is called, each iteration calls the property to check whether another iteration has called the method. If the property value is `true`, the iteration checks the value of the property and, if it is greater than the current iteration's index value, returns immediately. @@ -142,7 +142,7 @@ The following example executes up to 100 iterations of a loop in parallel. Each iteration pauses for a random interval from 1 to 1,000 milliseconds. A randomly generated value determines on which iteration of the loop the method is called. As the output from the example shows, no iterations whose index is greater than the property value start after the call to the method. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/For/break1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/break1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/For/break1.vb" id="Snippet2"::: Because iterations of the loop are still likely to be executing when the method is called, each iteration calls the property to check whether another iteration has called the method. If the property value is `true`, the iteration checks the value of the property and, if it is greater than the current iteration's index value, returns immediately. @@ -244,7 +244,7 @@ The following example executes up to 10,000 iterations of a loop in parallel. Each iteration pauses for a random interval from 1 to 1,000 milliseconds. A randomly generated value determines on which iteration of the loop the method is called. Because iterations of the loop are still likely to be executing when the method is called, the lambda expression calls the method to check whether another iteration has called the method. If it returns `true`, the iteration returns immediately. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/For/stop1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/stop1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/For/stop1.vb" id="Snippet1"::: ]]> @@ -307,7 +307,7 @@ The following example executes up to 100 iterations of a loop in parallel. Each iteration pauses for a random interval from 1 to 1,000 milliseconds. A randomly generated value determines on which iteration of the loop the method is called. This prevents iterations whose index is greater than the property value from starting after the call to the method, but it does not affect any iterations that have already begun executing. To prevent these from completing, each iteration calls the method to check whether another iteration has called the method. If so, the iteration checks the value of the property and, if it is greater than the current iteration's index value, returns immediately. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/For/break1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/break1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/For/break1.vb" id="Snippet2"::: Note that, because the value is out of scope outside of the parallel loop, you must assign it to a variable that is visible outside of the loop if you want to preserve its value. @@ -377,7 +377,7 @@ The following example executes up to 100 iterations of a loop in parallel. Each iteration pauses for a random interval from 1 to 1,000 milliseconds. A randomly generated value determines on which iteration of the loop the method is called. This prevents iterations whose index is greater than the property value from starting after the call to the method, but it does not affect any iterations that have already begun executing. To prevent these from completing, each iteration calls the method to check whether another iteration has called the method. If so, the iteration checks the value of the property and, if it is greater than the current iteration's index value, returns immediately. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/For/break1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/break1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/For/break1.vb" id="Snippet2"::: ]]> @@ -439,7 +439,7 @@ The following example executes up to 10,000 iterations of a loop in parallel. Each iteration pauses for a random interval from 1 to 1,000 milliseconds. A randomly generated value determines on which iteration of the loop the method is called. As the output from the example shows, no iterations execute after the call to the method. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/For/stop1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/stop1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/For/stop1.vb" id="Snippet1"::: Because iterations of the loop are still likely to be executing when the method is called, each iteration calls the method to check whether another iteration has called the method. If it returns `true`, the iteration returns immediately. diff --git a/xml/System.Threading.Tasks/Task.xml b/xml/System.Threading.Tasks/Task.xml index dd52953287a..a7f3c619fd8 100644 --- a/xml/System.Threading.Tasks/Task.xml +++ b/xml/System.Threading.Tasks/Task.xml @@ -158,13 +158,13 @@ :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/ctor1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/ctor1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/ctor1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/ctor1.vb" id="Snippet1"::: The following example is identical, except that it used the method to instantiate and run the task in a single operation. The method returns the object that represents the task. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/run2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/run2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run2.vb" id="Snippet1"::: ]]> @@ -228,7 +228,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/run4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/run4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/run4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run4.vb" id="Snippet4"::: ]]> @@ -353,7 +353,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/startnew3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/startnew3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/startnew3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/startnew3.vb" id="Snippet3"::: ]]> @@ -903,7 +903,7 @@ When an asynchronous method awaits a directly :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/ContinueWith/continuewith1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/ContinueWith/continuewith1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.continuewith/vb/continuewith1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/ContinueWith/continuewith1.vb" id="Snippet1"::: Because a console application may terminate before the continuation task executes, the method is called to ensure that the continuation finishes executing before the example ends. @@ -1688,7 +1688,7 @@ End Sub :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Overview/continuationsimple.cs" id="Snippet03"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Overview/continuationsimple.fs" id="Snippet03"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/continuationsimple.vb" id="Snippet03"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/continuationsimple.vb" id="Snippet03"::: ]]> @@ -2290,7 +2290,7 @@ End Sub :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Overview/continuationoptions.cs" id="Snippet04"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Overview/continuationoptions.fs" id="Snippet04"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/continuationoptions.vb" id="Snippet04"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/continuationoptions.vb" id="Snippet04"::: ]]> @@ -2562,13 +2562,13 @@ End Sub :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Delay/delay5.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Delay/delay5.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay5.vb" id="Snippet5"::: - Sometime while the task is executing. In this case, the call to the method executes as a child task within a task, as the following example shows. Note that since the task that calls the method executes asynchronously, the parent task must wait for it to complete by using the `await` keyword. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Delay/delay5.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Delay/delay5.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay5.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay5.vb" id="Snippet7"::: After the specified time delay, the task is completed in the state. @@ -2584,7 +2584,7 @@ End Sub :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Delay/delay1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Delay/delay1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay1.vb" id="Snippet1"::: ]]> @@ -2656,7 +2656,7 @@ End Sub :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Delay/delay2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Delay/delay2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay2.vb" id="Snippet2"::: ]]> @@ -2733,7 +2733,7 @@ End Sub :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Delay/delay3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Delay/delay3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay3.vb" id="Snippet3"::: ]]> @@ -2810,7 +2810,7 @@ End Sub :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Delay/delay4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Delay/delay4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay4.vb" id="Snippet4"::: Note that this example includes a potential race condition: it depends on the task asynchronously executing the delay when the token is cancelled. Although the 1.5 second delay from the call to the method makes that assumption likely, it is nevertheless possible that the call to the method could return before the token is cancelled. In that case, the example produces the following output: @@ -3164,7 +3164,7 @@ Task t Status: RanToCompletion, Result: 42 :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Factory/factory1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Factory/factory1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.factory/vb/factory1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Factory/factory1.vb" id="Snippet1"::: ]]> @@ -3400,7 +3400,7 @@ Task t Status: RanToCompletion, Result: 42 :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/FromExceptionTResult/fromresult1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/FromExceptionTResult/fromresult1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.fromresult/vb/fromresult1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/FromExceptionTResult/fromresult1.vb" id="Snippet1"::: ]]> @@ -3478,7 +3478,7 @@ Starting in .NET 6, for some `TResult` types and some result values, this method :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/FromExceptionTResult/fromresult1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/FromExceptionTResult/fromresult1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.fromresult/vb/fromresult1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/FromExceptionTResult/fromresult1.vb" id="Snippet1"::: ]]> @@ -3911,13 +3911,13 @@ This method is intended for compiler use rather than use directly in code. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/Run11.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/Run11.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run11.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run11.vb" id="Snippet11"::: The following example is similar to the previous one, except that it uses a lambda expression to define the code that the task is to execute. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/run6.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/run6.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run6.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run6.vb" id="Snippet3"::: The examples show that the asynchronous task executes on a different thread than the main application thread. @@ -3927,7 +3927,7 @@ This method is intended for compiler use rather than use directly in code. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/run2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/run2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run2.vb" id="Snippet1"::: ]]> @@ -4068,7 +4068,7 @@ This method is intended for compiler use rather than use directly in code. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/run41.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/run41.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run41.vb" id="Snippet4"::: ]]> @@ -4303,7 +4303,7 @@ This method is intended for compiler use rather than use directly in code. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/run31.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/run31.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run31.vb" id="Snippet2"::: The regular expression `\p{P}*\s+` matches zero, one, or more punctuation characters followed by one or more white-space characters. It assumes that the total number of matches equals the approximate word count. @@ -4474,7 +4474,7 @@ This method is intended for compiler use rather than use directly in code. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/Run7.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/Run7.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run7.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run7.vb" id="Snippet7"::: Instead of using the property to examine exceptions, the example iterates all tasks to determine which have completed successfully and which have been cancelled. For those that have completed, it displays the value returned by the task. @@ -4482,7 +4482,7 @@ This method is intended for compiler use rather than use directly in code. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/Run28.cs" id="Snippet28"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/Run28.fs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run28.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run28.vb" id="Snippet28"::: The example still must handle the exception, since any tasks that have not started when cancellation is requested still throw an exception. @@ -4562,7 +4562,7 @@ This method is intended for compiler use rather than use directly in code. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/RunSynchronously/runsynchronously1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/RunSynchronously/runsynchronously1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.runsynchronously/vb/runsynchronously1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/RunSynchronously/runsynchronously1.vb" id="Snippet1"::: ]]> @@ -4700,7 +4700,7 @@ This method is intended for compiler use rather than use directly in code. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Start/Start1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Start/Start1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.start/vb/Start1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Start/Start1.vb" id="Snippet1"::: ]]> @@ -4826,7 +4826,7 @@ This method is intended for compiler use rather than use directly in code. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/Run7.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/Run7.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run7.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run7.vb" id="Snippet7"::: ]]> @@ -5005,7 +5005,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Wait/wait1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Wait/wait1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/wait1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Wait/wait1.vb" id="Snippet1"::: ]]> @@ -5083,7 +5083,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Wait/Wait5.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Wait/Wait5.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/Wait5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Wait/Wait5.vb" id="Snippet5"::: ]]> @@ -5159,7 +5159,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Wait/wait3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Wait/wait3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/wait3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Wait/wait3.vb" id="Snippet3"::: ]]> @@ -5237,7 +5237,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Wait/Wait6.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Wait/Wait6.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/Wait6.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Wait/Wait6.vb" id="Snippet6"::: ]]> @@ -5327,7 +5327,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Wait/wait4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Wait/wait4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/wait4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Wait/wait4.vb" id="Snippet4"::: Note that the precise output from the example depends on whether the wait was canceled because of the cancellation token or because the timeout interval elapsed. @@ -5535,7 +5535,7 @@ An exception was thrown during :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Overview/waitall.cs" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Overview/waitall.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/waitall.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/waitall.vb" id="Snippet02"::: ]]> @@ -5952,7 +5952,7 @@ An exception was thrown during :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/WaitAny/WaitAny1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/WaitAny/WaitAny1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Tasks.Task.WaitAny/vb/WaitAny1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/WaitAny/WaitAny1.vb" id="Snippet1"::: ]]> @@ -6465,7 +6465,7 @@ An exception was thrown during :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/WhenAll/WhenAll4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/WhenAll/WhenAll4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.whenall/vb/WhenAll4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/WhenAll/WhenAll4.vb" id="Snippet4"::: ]]> @@ -6609,7 +6609,7 @@ An exception was thrown during :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/WhenAll/WhenAll3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/WhenAll/WhenAll3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.whenall/vb/WhenAll3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/WhenAll/WhenAll3.vb" id="Snippet3"::: ]]> @@ -6694,7 +6694,7 @@ An exception was thrown during :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/WhenAll/whenall1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/WhenAll/whenall1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.whenall/vb/whenall1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/WhenAll/whenall1.vb" id="Snippet1"::: In this case, the ten individual tasks are stored in a object. implements the interface. @@ -6860,7 +6860,7 @@ An exception was thrown during :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/WhenAll/whenall2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/WhenAll/whenall2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.whenall/vb/whenall2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/WhenAll/whenall2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Threading.Tasks/TaskCompletionSource`1.xml b/xml/System.Threading.Tasks/TaskCompletionSource`1.xml index a90b0a080b7..5ee6e70bebe 100644 --- a/xml/System.Threading.Tasks/TaskCompletionSource`1.xml +++ b/xml/System.Threading.Tasks/TaskCompletionSource`1.xml @@ -82,7 +82,7 @@ The following example shows how to use a : :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskCompletionSourceTResult/Overview/taskcompletionsource.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskcompletionsource/vb/taskcompletionsource.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/TaskCompletionSourceTResult/Overview/taskcompletionsource.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Threading.Tasks/TaskExtensions.xml b/xml/System.Threading.Tasks/TaskExtensions.xml index 91249d1e400..f369fe705dc 100644 --- a/xml/System.Threading.Tasks/TaskExtensions.xml +++ b/xml/System.Threading.Tasks/TaskExtensions.xml @@ -124,7 +124,7 @@ The following example shows how to unwrap a task: :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskExtensions/Unwrap/unwrap.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskextensions/vb/unwrap.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/TaskExtensions/Unwrap/unwrap.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Threading.Tasks/TaskFactory.xml b/xml/System.Threading.Tasks/TaskFactory.xml index 8d6c0a468cb..d42e4a9cff9 100644 --- a/xml/System.Threading.Tasks/TaskFactory.xml +++ b/xml/System.Threading.Tasks/TaskFactory.xml @@ -98,7 +98,7 @@ The following example uses the static property to make two calls to the method. The first populates an array with the names of files in the user's MyDocuments directory, while the second populates an array with the names of subdirectories of the user's MyDocuments directory. It then calls the method, which displays information about the number of files and directories in the two arrays after the first two tasks have completed execution. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Factory/factory1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.factory/vb/factory1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Factory/factory1.vb" id="Snippet1"::: ]]> @@ -578,7 +578,7 @@ The following example launches separate tasks that use a regular expression to count the number of words in a set of text files. The method is used to launch a task that displays the total word count when all the antecedent tasks have completed. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskFactory/ContinueWhenAll/continuewhenall1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.continuewhenall/vb/continuewhenall1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/TaskFactory/ContinueWhenAll/continuewhenall1.vb" id="Snippet1"::: The call to the continuation task's method does not allow it to handle exceptions thrown by the antecedent tasks, so the example examines the property of each antecedent task to determine whether the task succeeded. @@ -656,7 +656,7 @@ This method executes the `continuationAction` delegate when all tasks in the `ta The following example creates a cancellation token, which it passes to separate tasks that use a regular expression to count the number of words in a set of text files. The cancellation token is set if a file cannot be found. The `ContinueWhenAll(Task[], Action{Task[]}, CancellationToken)` method is used to launch a task that displays the total word count when all the antecedent tasks have completed. If the cancellation token is set, which indicates that one or more tasks have been cancelled, it handles the exception and displays an error message. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskFactory/ContinueWhenAll/continuewhenall2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.continuewhenall/vb/continuewhenall2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/TaskFactory/ContinueWhenAll/continuewhenall2.vb" id="Snippet2"::: ]]> @@ -1893,7 +1893,7 @@ The NotOn\* and OnlyOn\* , The following example shows how to use `ContinueWhenAny` and `ContinueWhenAll`: :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Overview/continuewhenmulti.cs" id="Snippet05"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/continuewhenmulti.vb" id="Snippet05"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/continuewhenmulti.vb" id="Snippet05"::: ]]> @@ -5574,7 +5574,7 @@ The NotOn\* and OnlyOn\* , The following example uses the method to repeatedly invoke an delegate that generates a random number, interprets it as a Unicode code point, converts it to a UTF16-encoded code unit, and displays information about the resulting character or characters. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskFactory/StartNew/startnew1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew1.vb" id="Snippet1"::: ]]> @@ -5645,7 +5645,7 @@ The NotOn\* and OnlyOn\* , The following example calls the method to create a task that iterates the files in the C:\Windows\System32 directory. The lambda expression calls the method to add information about each file to a object. Each detached nested task invoked by the loop checks the state of the cancellation token and, if cancellation is requested, calls the method. The method throws an exception that is handled in a `catch` block when the calling thread calls the method. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskFactory/StartNew/startnew2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew2.vb" id="Snippet2"::: ]]> @@ -5799,7 +5799,7 @@ The NotOn\* and OnlyOn\* , The following example defines an array of 6-letter words. Each word is then passed to an delegate, which scrambles the word and displays the original word and its scrambled version. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskFactory/StartNew/startnew3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew3.vb" id="Snippet3"::: Note that the example initializes a single random number generator, which is protected by a lock. For the need of a lock, see "The System.Random class and thread safety" in the class topic. @@ -5889,7 +5889,7 @@ The NotOn\* and OnlyOn\* , The following example defines an array of 6-letter words. Each word is then passed to an delegate, which scrambles the word and displays the original word and its scrambled version. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskFactory/StartNew/startnew4.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew4.vb" id="Snippet4"::: Note that the example initializes a single random number generator, which is protected by a lock. For the need of a lock, see "The System.Random class and thread safety" in the class topic. To handle the possibility of corruption of the random number generator, a cancellation token is passed to task. If two random numbers equal zero, the method assumes that the random number generator is corrupted and sets the cancellation token. Before sorting the `chars` array that contains the six characters in a word, the method calls the method to throw an if the token has been canceled. @@ -6223,7 +6223,7 @@ The NotOn\* and OnlyOn\* , The following example is a simple addition app that generates two random numbers and prompts the user to enter their sum. It then indicates whether the answer is correct or, if the user's response is not a valid number, prompts the user to re-enter a valid number. The is used to create the objects that return the random numbers to add. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/run5.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run5.vb" id="Snippet5"::: ]]> @@ -6381,7 +6381,7 @@ The NotOn\* and OnlyOn\* , The following example uses two tasks to compute the Fibonacci sequence ending in F100 = F100-1 + F100-2 with seed values F1= 1, F2 = 1 and F1 = 0, F2= 1. Approximately half of the time, a cancellation token is set as the operations execute. The output from the example shows the result if the two tasks complete successfully and if the token is cancelled. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/Run9.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run9.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run9.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Threading.Tasks/TaskFactory`1.xml b/xml/System.Threading.Tasks/TaskFactory`1.xml index 5644e270b49..7587fd12ef2 100644 --- a/xml/System.Threading.Tasks/TaskFactory`1.xml +++ b/xml/System.Threading.Tasks/TaskFactory`1.xml @@ -106,7 +106,7 @@ The following example uses the static property to make two calls to the method. The first task returns a string array that is populated with the names of files in the user's MyDocuments directory, while the second returns a string array that is populated with the names of subdirectories of the user's MyDocuments directory. It then calls the method, which displays information about the number of files and directories in the arrays returned by the two tasks after they have completed execution. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Factory/factory2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.factory/vb/factory2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Factory/factory2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Threading.Tasks/TaskStatus.xml b/xml/System.Threading.Tasks/TaskStatus.xml index e39e6ddf596..8598991b519 100644 --- a/xml/System.Threading.Tasks/TaskStatus.xml +++ b/xml/System.Threading.Tasks/TaskStatus.xml @@ -67,7 +67,7 @@ The following example creates 20 tasks that will loop until a counter is incremented to a value of 2 million. When the first 10 tasks reach 2 million, the cancellation token is cancelled, and any tasks whose counters have not reached 2 million are cancelled. The example then examines the property of each task to indicate whether the task has completed successfully or been cancelled. For those that have completed, it displays the value returned by the task. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/Run7.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run7.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run7.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Threading.Tasks/Task`1.xml b/xml/System.Threading.Tasks/Task`1.xml index c8bf1229437..27740fa8353 100644 --- a/xml/System.Threading.Tasks/Task`1.xml +++ b/xml/System.Threading.Tasks/Task`1.xml @@ -90,12 +90,12 @@ instances may be created in a variety of ways. The most common approach, which is available starting with .NET Framework 4.5, is to call the static or method. These methods provide a simple way to start a task by using default values and without acquiring additional parameters. The following example uses the method to start a task that loops and then displays the number of loop iterations: :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskTResult/Overview/run1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1/vb/run1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/TaskTResult/Overview/run1.vb" id="Snippet6"::: An alternative, and the most common way to start a task in .NET Framework 4, is to call the static or method. The property returns a object, and the property returns a object. Overloads of their `StartNew` method let you pass arguments, define task creation options, and specify a task scheduler. The following example uses the method to start a task. It is functionally equivalent to the code in the previous example. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskTResult/Overview/startnew1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1/vb/startnew1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/TaskTResult/Overview/startnew1.vb" id="Snippet7"::: For more complete examples, see [Task-based Asynchronous Programming](https://learn.microsoft.com/dotnet/standard/parallel-programming/task-based-asynchronous-programming). @@ -183,7 +183,7 @@ For operations that do not return a value, you use the method to launch each task. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/run3.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/run3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run3.vb" id="Snippet2"::: The regular expression pattern `\p{P}*\s+` matches zero, one, or more punctuation characters followed by one or more white-space characters. It assumes that the total number of matches equals the approximate word count. @@ -811,7 +811,7 @@ For operations that do not return a value, you use the @@ -896,7 +896,7 @@ For operations that do not return a value, you use the 1 to n10) of that number. A continuation task is then responsible for displaying the exponents. It is passed both the antecedent and the original number whose exponents the antecedent generates. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskTResult/ContinueWith/continuewith3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1.continuewith/vb/continuewith3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/TaskTResult/ContinueWith/continuewith3.vb" id="Snippet3"::: ]]> @@ -965,7 +965,7 @@ For operations that do not return a value, you use the object is used to define a timeout value of 100 milliseconds. If the event fires, the method is called, and the cancellation token is used to request cancellation of the tasks. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskTResult/ContinueWith/continue1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1.continuewith/vb/continue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/TaskTResult/ContinueWith/continue1.vb" id="Snippet1"::: Typically, supplying a value of about 100,000 causes the timeout interval to expire and the event to fire, and the cancellation request to be set. @@ -2499,7 +2499,7 @@ This method is intended for compiler use rather than use directly in code. The following example is a command-line utility that calculates the number of bytes in the files in each directory whose name is passed as a command-line argument. If the directory contains files, it executes a lambda expression that instantiates a object for each file in the directory and retrieves the value of its property. If a directory contains no files, it simply calls the method to create a task whose property is zero (0). When the tasks finish, the total number of bytes in all a directory's files is available from the property. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/FromExceptionTResult/fromresult1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.fromresult/vb/fromresult1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/FromExceptionTResult/fromresult1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/AbandonedMutexException.xml b/xml/System.Threading/AbandonedMutexException.xml index 3b4e5fb73f8..fc447f0c84a 100644 --- a/xml/System.Threading/AbandonedMutexException.xml +++ b/xml/System.Threading/AbandonedMutexException.xml @@ -85,7 +85,7 @@ > The call to the method is interrupted by one of the abandoned mutexes. The other abandoned mutex could still cause an to be thrown by subsequent wait methods. :::code language="csharp" source="~/snippets/csharp/System.Threading/AbandonedMutexException/Overview/koax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.AbandonedMutexException/VB/koax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/AbandonedMutexException/Overview/koax.vb" id="Snippet1"::: ]]> @@ -654,7 +654,7 @@ > The call to is interrupted by one of the abandoned mutexes. The other abandoned mutex could still cause an to be thrown by subsequent wait methods. :::code language="csharp" source="~/snippets/csharp/System.Threading/AbandonedMutexException/Overview/koax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.AbandonedMutexException/VB/koax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/AbandonedMutexException/Overview/koax.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ApartmentState.xml b/xml/System.Threading/ApartmentState.xml index f2899077d78..d70ee7a8bfb 100644 --- a/xml/System.Threading/ApartmentState.xml +++ b/xml/System.Threading/ApartmentState.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Threading.Thread.ApartmentState/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ApartmentState/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.ApartmentState/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ApartmentState/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/AsyncLocal`1.xml b/xml/System.Threading/AsyncLocal`1.xml index 3b04108cfb8..c5be8ab009c 100644 --- a/xml/System.Threading/AsyncLocal`1.xml +++ b/xml/System.Threading/AsyncLocal`1.xml @@ -73,7 +73,7 @@ The following example uses the class to persist a string value across an asynchronous flow. It also contrasts the use of with . :::code language="csharp" source="~/snippets/csharp/System.Threading/AsyncLocalT/Overview/Example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.asynclocal/vb/Example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/AsyncLocalT/Overview/Example1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/AutoResetEvent.xml b/xml/System.Threading/AutoResetEvent.xml index 51552ecfdde..487c11042d5 100644 --- a/xml/System.Threading/AutoResetEvent.xml +++ b/xml/System.Threading/AutoResetEvent.xml @@ -91,7 +91,7 @@ The following example shows how to use to After the threads are released from the first , they wait on another that was created in the non-signaled state. All three threads block, so the method must be called three times to release them all. :::code language="csharp" source="~/snippets/csharp/System.Threading/AutoResetEvent/Overview/simplerisbetter.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.AutoResetEvent/VB/simplerisbetter.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/AutoResetEvent/Overview/simplerisbetter.vb" id="Snippet3"::: ]]> @@ -161,7 +161,7 @@ After the threads are released from the first method, to give the second thread a chance to execute. Otherwise, on a single-processor computer `Main` would write many values between any two read operations. :::code language="csharp" source="~/snippets/csharp/System.Threading/AutoResetEvent/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.AutoResetEvent/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/AutoResetEvent/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/Barrier.xml b/xml/System.Threading/Barrier.xml index 0753c2e5cca..154fec6cbcb 100644 --- a/xml/System.Threading/Barrier.xml +++ b/xml/System.Threading/Barrier.xml @@ -70,7 +70,7 @@ The following example shows how to use a barrier: :::code language="csharp" source="~/snippets/csharp/System.Threading/Barrier/Overview/barrier.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.barrier/vb/barrier.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Barrier/Overview/barrier.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Threading/CancellationToken.xml b/xml/System.Threading/CancellationToken.xml index f0daba61101..a51c4f245cd 100644 --- a/xml/System.Threading/CancellationToken.xml +++ b/xml/System.Threading/CancellationToken.xml @@ -99,7 +99,7 @@ To handle the possible cancellation of the operation, the example instantiates a object that generates a cancellation token that's passed to a object. In turn, the object passes the cancellation token to each of the tasks responsible for collecting readings for a particular instrument. The method is called to ensure that the mean is computed only after all readings have been gathered successfully. If a task has not completed because it was cancelled, the method throws an exception. :::code language="csharp" source="~/snippets/csharp/System.Threading/CancellationToken/Overview/cancel1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.cancellationtokensource.class/vb/cancel1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/CancellationToken/Overview/cancel1.vb" id="Snippet1"::: ]]> @@ -484,7 +484,7 @@ Two cancellation tokens are equal if any one of the following conditions is true The following is a simple example that executes a server process until the property returns `true`. :::code language="csharp" source="~/snippets/csharp/System.Threading/CancellationToken/IsCancellationRequested/cancellation.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Tasks.CancellationToken.IsCancellationRequested/vb/cancelthreads.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/CancellationToken/IsCancellationRequested/cancelthreads.vb" id="Snippet12"::: The example instantiates a object, which controls access to the cancellation token. It then defines two thread procedures. The first is defined as a lambda expression that pools the keyboard and, when the "C" key is pressed, calls to set the cancellation token to the cancelled state. The second is a parameterized method, `ServerClass.StaticMethod`, that executes a loop until the property is `true`. diff --git a/xml/System.Threading/CancellationTokenSource.xml b/xml/System.Threading/CancellationTokenSource.xml index b62fbed9390..a470c54577f 100644 --- a/xml/System.Threading/CancellationTokenSource.xml +++ b/xml/System.Threading/CancellationTokenSource.xml @@ -106,7 +106,7 @@ To handle the possible cancellation of the operation, the example instantiates a object that generates a cancellation token which is passed to a object. The object in turn passes the cancellation token to each of the tasks responsible for collecting readings for a particular instrument. The method is called to ensure that the mean is computed only after all readings have been gathered successfully. If a task has not completed because it has been cancelled, the call to the method throws an exception. :::code language="csharp" source="~/snippets/csharp/System.Threading/CancellationToken/Overview/cancel1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.cancellationtokensource.class/vb/cancel1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/CancellationToken/Overview/cancel1.vb" id="Snippet1"::: ]]> @@ -397,7 +397,7 @@ To handle the possible cancellation of the operation, the example instantiates a object that generates a cancellation token which is passed to a object. The object in turn passes the cancellation token to each of the tasks responsible for collecting readings for a particular instrument. The method is called to ensure that the mean is computed only after all readings have been gathered successfully. If a task has not because it has been cancelled, the call to the method throws an exception. :::code language="csharp" source="~/snippets/csharp/System.Threading/CancellationToken/Overview/cancel1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.cancellationtokensource.class/vb/cancel1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/CancellationToken/Overview/cancel1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/CountdownEvent.xml b/xml/System.Threading/CountdownEvent.xml index f5ca4351e50..e1fc1f296a9 100644 --- a/xml/System.Threading/CountdownEvent.xml +++ b/xml/System.Threading/CountdownEvent.xml @@ -66,7 +66,7 @@ The following example shows how to use a `CountdownEvent`: :::code language="csharp" source="~/snippets/csharp/System.Threading/CountdownEvent/Overview/countdownevent.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.countdownevent/vb/countdownevent.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/CountdownEvent/Overview/countdownevent.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Threading/EventResetMode.xml b/xml/System.Threading/EventResetMode.xml index af5936640d0..23253de4777 100644 --- a/xml/System.Threading/EventResetMode.xml +++ b/xml/System.Threading/EventResetMode.xml @@ -59,7 +59,7 @@ The example starts five threads and allows them to block on an created with the AutoReset flag, then releases one thread each time the user presses the ENTER key. The example then queues another five threads and releases them all using an created with the ManualReset flag. :::code language="csharp" source="~/snippets/csharp/System.Threading/EventResetMode/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.SignalAndWait/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/EventResetMode/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/EventWaitHandle.xml b/xml/System.Threading/EventWaitHandle.xml index 0f063d873ce..aa3f1df00e6 100644 --- a/xml/System.Threading/EventWaitHandle.xml +++ b/xml/System.Threading/EventWaitHandle.xml @@ -84,7 +84,7 @@ The class allows threads to communicate The example starts five threads and allows them to block on an created with the flag, then releases one thread each time the user presses the Enter key. The example then queues another five threads and releases them all using an created with the flag. :::code language="csharp" source="~/snippets/csharp/System.Threading/EventResetMode/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.SignalAndWait/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/EventResetMode/Overview/source.vb" id="Snippet1"::: ]]> @@ -167,7 +167,7 @@ The class allows threads to communicate The example starts five threads and allows them to block on an created with the flag, then releases one thread each time the user presses the Enter key. The example then queues another five threads and releases them all using an created with the flag. :::code language="csharp" source="~/snippets/csharp/System.Threading/EventResetMode/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.SignalAndWait/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/EventResetMode/Overview/source.vb" id="Snippet1"::: ]]> @@ -461,7 +461,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, the event is opened with the rights required to wait on it and signal it. If you run the compiled example from a third command window, the example runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/EventWaitHandle/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.EventWaitHandle.ctor named 5/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/EventWaitHandle/.ctor/source.vb" id="Snippet1"::: ]]> @@ -569,7 +569,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions have been read, using the method, and changed, the event is opened with the rights required to wait on it and signal it. If you run the compiled example from a third command window, the example runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/EventWaitHandle/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.EventWaitHandle.ctor named 5/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/EventWaitHandle/.ctor/source.vb" id="Snippet1"::: ]]> @@ -747,7 +747,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, the event is opened with the rights required to wait on it and signal it. If you run the compiled example from a third command window, the example runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/EventWaitHandle/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.EventWaitHandle.ctor named 5/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/EventWaitHandle/.ctor/source.vb" id="Snippet1"::: ]]> @@ -927,7 +927,7 @@ There was some other error. The `HResult` property may provide more information. The example starts five threads and allows them to block on an created with the flag, then releases one thread each time the user presses the Enter key. The example then queues another five threads and releases them all using an created with the flag. :::code language="csharp" source="~/snippets/csharp/System.Threading/EventResetMode/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.SignalAndWait/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/EventResetMode/Overview/source.vb" id="Snippet1"::: ]]> @@ -985,7 +985,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, using the method, the event is opened with the rights required to wait on it and signal it. If you run the compiled example from a third command window, the example runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/EventWaitHandle/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.EventWaitHandle.ctor named 5/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/EventWaitHandle/.ctor/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/Interlocked.xml b/xml/System.Threading/Interlocked.xml index 85fb1ee7f2d..9c97cae3482 100644 --- a/xml/System.Threading/Interlocked.xml +++ b/xml/System.Threading/Interlocked.xml @@ -84,7 +84,7 @@ The following code example shows a thread-safe resource locking mechanism. :::code language="csharp" source="~/snippets/csharp/System.Threading/Interlocked/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked.Exchange Int32 Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Interlocked/Overview/class1.vb" id="Snippet1"::: ]]> @@ -614,7 +614,7 @@ In the thread-safe method, the initial value of the running total is saved, and then the method is used to exchange the newly computed total with the old total. If the return value is not equal to the saved value of the running total, then another thread has updated the total in the meantime. In that case, the attempt to update the running total must be repeated. :::code language="csharp" source="~/snippets/csharp/System.Threading/Interlocked/CompareExchange/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange Double/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Interlocked/CompareExchange/source.vb" id="Snippet1"::: ]]> @@ -731,7 +731,7 @@ > The method provides a more convenient way to accumulate thread-safe running totals for integers. :::code language="csharp" source="~/snippets/csharp/System.Threading/Interlocked/CompareExchange/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange0/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Interlocked/CompareExchange/source2.vb" id="Snippet1"::: ]]> @@ -1069,7 +1069,7 @@ If `comparand` and the object in `location1` are equal by reference, then `value In the thread-safe method, the initial value of the running total is saved, and then the method is used to exchange the newly computed total with the old total. If the return value is not equal to the saved value of the running total, then another thread has updated the total in the meantime. In that case, the attempt to update the running total must be repeated. :::code language="csharp" source="~/snippets/csharp/System.Threading/Interlocked/CompareExchange/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange Single/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Interlocked/CompareExchange/source1.vb" id="Snippet1"::: ]]> @@ -1430,12 +1430,12 @@ If `comparand` and the value in `location1` are equal by reference, then `value` The following example determines how many random numbers that range from 0 to 1,000 are required to generate 1,000 random numbers with a midpoint value. To keep track of the number of midpoint values, a variable, `midpointCount`, is set equal to 1,000 and decremented each time the random number generator returns a midpoint value. Because three threads generate the random numbers, the method is called to ensure that multiple threads don't update `midpointCount` concurrently. Note that a lock is also used to protect the random number generator, and that a object is used to ensure that the `Main` method doesn't finish execution before the three threads. :::code language="csharp" source="~/snippets/csharp/System.Threading/Interlocked/Decrement/decrement1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.interlocked.decrement/vb/decrement1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Interlocked/Decrement/decrement1.vb" id="Snippet1"::: The following example is similar to the previous one, except that it uses the class instead of a thread procedure to generate 50,000 random midpoint integers. In this example, a lambda expression replaces the `GenerateNumbers` thread procedure, and the call to the method eliminates the need for the object. :::code language="csharp" source="~/snippets/csharp/System.Threading/Interlocked/Decrement/decrement2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.interlocked.decrement/vb/decrement2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Interlocked/Decrement/decrement2.vb" id="Snippet2"::: ]]> @@ -1799,7 +1799,7 @@ If `comparand` and the value in `location1` are equal by reference, then `value` The following code example shows a thread-safe resource locking mechanism. :::code language="csharp" source="~/snippets/csharp/System.Threading/Interlocked/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked.Exchange Int32 Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Interlocked/Overview/class1.vb" id="Snippet1"::: ]]> @@ -2447,12 +2447,12 @@ If `comparand` and the value in `location1` are equal by reference, then `value` The following example determines how many random numbers that range from 0 to 1,000 are required to generate 1,000 random numbers with a midpoint value. To keep track of the number of midpoint values, a variable, `midpointCount`, is set equal to 0 and incremented each time the random number generator returns a midpoint value until it reaches 10,000. Because three threads generate the random numbers, the method is called to ensure that multiple threads don't update `midpointCount` concurrently. Note that a lock is also used to protect the random number generator, and that a object is used to ensure that the `Main` method doesn't finish execution before the three threads. :::code language="csharp" source="~/snippets/csharp/System.Threading/Interlocked/Increment/increment3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.interlocked.increment2/vb/Increment3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Interlocked/Increment/Increment3.vb" id="Snippet3"::: The following example is similar to the previous one, except that it uses the class instead of a thread procedure to generate 50,000 random midpoint integers. In this example, a lambda expression replaces the `GenerateNumbers` thread procedure, and the call to the method eliminates the need for the object. :::code language="csharp" source="~/snippets/csharp/System.Threading/Interlocked/Increment/increment4.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.interlocked.increment2/vb/Increment4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Interlocked/Increment/Increment4.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Threading/LockCookie.xml b/xml/System.Threading/LockCookie.xml index a670352bd16..9e1e19debe1 100644 --- a/xml/System.Threading/LockCookie.xml +++ b/xml/System.Threading/LockCookie.xml @@ -71,11 +71,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Threading/LockRecursionException.xml b/xml/System.Threading/LockRecursionException.xml index 8f04f897c9c..f00f5aa8aa4 100644 --- a/xml/System.Threading/LockRecursionException.xml +++ b/xml/System.Threading/LockRecursionException.xml @@ -83,7 +83,7 @@ The following example shows two causes of when using the class. The program creates a by using the parameterless constructor, which disallows recursion. The program then starts a thread that enters the lock in read mode. The thread tries to enter the lock recursively in read mode, and catches the resulting exception. Finally, the thread tries to enter write mode, which would create a potential for deadlocks. The thread catches the resulting exception. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockRecursionException/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionException/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockRecursionException/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/LockRecursionPolicy.xml b/xml/System.Threading/LockRecursionPolicy.xml index 56f56d3638a..52a11c8c5be 100644 --- a/xml/System.Threading/LockRecursionPolicy.xml +++ b/xml/System.Threading/LockRecursionPolicy.xml @@ -64,7 +64,7 @@ In the second scenario, the thread enters the lock in read mode and then tries to enter the lock in write mode. is thrown regardless of the lock recursion policy. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockRecursionPolicy/Overview/example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionPolicy/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockRecursionPolicy/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ManualResetEvent.xml b/xml/System.Threading/ManualResetEvent.xml index f652f645054..c04387d5c50 100644 --- a/xml/System.Threading/ManualResetEvent.xml +++ b/xml/System.Threading/ManualResetEvent.xml @@ -90,7 +90,7 @@ Pressing the **Enter** key again causes the example to call the method and to start one more thread, which blocks when it calls . Pressing the **Enter** key one final time calls to release the last thread, and the program ends. :::code language="csharp" source="~/snippets/csharp/System.Threading/ManualResetEvent/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ManualResetEvent/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ManualResetEvent/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ManualResetEventSlim.xml b/xml/System.Threading/ManualResetEventSlim.xml index c0ae8797c0d..e386f70c058 100644 --- a/xml/System.Threading/ManualResetEventSlim.xml +++ b/xml/System.Threading/ManualResetEventSlim.xml @@ -72,7 +72,7 @@ The following example shows how to use a . :::code language="csharp" source="~/snippets/csharp/System.Threading/ManualResetEventSlim/Overview/mres.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.manualreseteventslim/vb/mres.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ManualResetEventSlim/Overview/mres.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Threading/Monitor.xml b/xml/System.Threading/Monitor.xml index 2dcb4b80a36..58e1d3a3091 100644 --- a/xml/System.Threading/Monitor.xml +++ b/xml/System.Threading/Monitor.xml @@ -145,7 +145,7 @@ The following example demonstrates how to use the `Enter` method. :::code language="csharp" source="~/snippets/csharp/System.Threading/Monitor/Enter/monitor2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MonitorExmpl2/VB/monitor2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Monitor/Enter/monitor2.vb" id="Snippet1"::: ]]> @@ -228,7 +228,7 @@ The following code shows the basic pattern for using the method overload. This overload always sets the value of the variable that is passed to the `ref` parameter (`ByRef` in Visual Basic) `lockTaken`, even if the method throws an exception, so the value of the variable is a reliable way to test whether the lock has to be released. :::code language="csharp" source="~/snippets/csharp/System.Threading/Monitor/Enter/example.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.monitor.enter/vb/example.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Monitor/Enter/example.vb" id="Snippet2"::: ]]> @@ -303,7 +303,7 @@ The following example demonstrates how to use the `Exit` method. :::code language="csharp" source="~/snippets/csharp/System.Threading/Monitor/Enter/monitor2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MonitorExmpl2/VB/monitor2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Monitor/Enter/monitor2.vb" id="Snippet1"::: ]]> @@ -628,7 +628,7 @@ To ensure that the thread does not enter the critical section, you should examine the method's return value and execute code in the critical section only if its return value is `true`. The following code fragment shows the pattern used to call this method. Note that you should call in a `finally` block to ensure that the calling thread releases its lock on the critical section if an exception occurs. :::code language="csharp" source="~/snippets/csharp/System.Threading/Monitor/TryEnter/pattern1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Monitor.TryEnter/vb/pattern1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Monitor/TryEnter/pattern1.vb" id="Snippet1"::: @@ -636,7 +636,7 @@ The following code example demonstrates how to use the `TryEnter` method. :::code language="csharp" source="~/snippets/csharp/System.Threading/Monitor/Enter/monitor2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MonitorExmpl2/VB/monitor2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Monitor/Enter/monitor2.vb" id="Snippet1"::: ]]> @@ -714,7 +714,7 @@ To ensure that the thread does not enter the critical section, you should examine the value of `lockTaken` and execute code in the critical section only if its value is `true`. The following code fragment shows the pattern used to call this method. Note that you should call in a `finally` block to ensure that the calling thread releases its lock on the critical section if an exception occurs. :::code language="csharp" source="~/snippets/csharp/System.Threading/Monitor/TryEnter/pattern1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Monitor.TryEnter/vb/pattern1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Monitor/TryEnter/pattern1.vb" id="Snippet2"::: @@ -722,7 +722,7 @@ The following code shows the basic pattern for using the method overload. This overload always sets the value of the variable that is passed to the `ref` parameter (`ByRef` in Visual Basic) `lockTaken`, even if the method throws an exception, so the value of the variable is a reliable way to test whether the lock has to be released. :::code language="csharp" source="~/snippets/csharp/System.Threading/Monitor/Enter/example.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.monitor.enter/vb/example.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Monitor/Enter/example.vb" id="Snippet3"::: ]]> @@ -795,7 +795,7 @@ To ensure that the thread does not enter the critical section, you should examine the method's return value and execute code in the critical section only if its return value is `true`. The following code fragment shows the pattern used to call this method. Note that you should call in a `finally` block to ensure that the calling thread releases its lock on the critical section if an exception occurs. :::code language="csharp" source="~/snippets/csharp/System.Threading/Monitor/TryEnter/pattern1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Monitor.TryEnter/vb/pattern1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Monitor/TryEnter/pattern1.vb" id="Snippet3"::: ]]> @@ -865,7 +865,7 @@ To ensure that the thread does not enter the critical section, you should examine the method's return value and execute code in the critical section only if its return value is `true`. The following code fragment shows the pattern used to call this method. Note that you should call in a `finally` block to ensure that the calling thread releases its lock on the critical section if an exception occurs. :::code language="csharp" source="~/snippets/csharp/System.Threading/Monitor/TryEnter/pattern1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Monitor.TryEnter/vb/pattern1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Monitor/TryEnter/pattern1.vb" id="Snippet5"::: ]]> @@ -944,7 +944,7 @@ To ensure that the thread does not enter the critical section, you should examine the value of `lockTaken` and execute code in the critical section only if its value is `true`. The following code fragment shows the pattern used to call this method. Note that you should call in a `finally` block to ensure that the calling thread releases its lock on the critical section if an exception occurs. :::code language="csharp" source="~/snippets/csharp/System.Threading/Monitor/TryEnter/pattern1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Monitor.TryEnter/vb/pattern1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Monitor/TryEnter/pattern1.vb" id="Snippet4"::: @@ -952,7 +952,7 @@ The following code shows the basic pattern for using the method overload. This overload always sets the value of the variable that is passed to the `ref` parameter (`ByRef` in Visual Basic) `lockTaken`, even if the method throws an exception, so the value of the variable is a reliable way to test whether the lock has to be released. :::code language="csharp" source="~/snippets/csharp/System.Threading/Monitor/Enter/example.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.monitor.enter/vb/example.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Monitor/Enter/example.vb" id="Snippet4"::: ]]> @@ -1027,7 +1027,7 @@ To ensure that the thread does not enter the critical section, you should examine the value of `lockTaken` and execute code in the critical section only if its value is `true`. The following code fragment shows the pattern used to call this method. Note that you should call in a `finally` block to ensure that the calling thread releases its lock on the critical section if an exception occurs. :::code language="csharp" source="~/snippets/csharp/System.Threading/Monitor/TryEnter/pattern1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Monitor.TryEnter/vb/pattern1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Monitor/TryEnter/pattern1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Threading/Mutex.xml b/xml/System.Threading/Mutex.xml index cfa5a042c66..f1f120679f4 100644 --- a/xml/System.Threading/Mutex.xml +++ b/xml/System.Threading/Mutex.xml @@ -101,12 +101,12 @@ This example shows how a local object is used to synchronize access to a protected resource. Because each calling thread is blocked until it acquires ownership of the mutex, it must call the method to release ownership of the mutex. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/Overview/example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.mutex.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/Overview/example1.vb" id="Snippet1"::: In the following example, each thread calls the method to acquire the mutex. If the time-out interval elapses, the method returns `false`, and the thread neither acquires the mutex nor gains access to the resource the mutex protects. The method is called only by the thread that acquires the mutex. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/Overview/example2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.mutex.class/vb/example2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/Overview/example2.vb" id="Snippet2"::: ]]> @@ -186,7 +186,7 @@ The following code example shows how a local object is used to synchronize access to a protected resource. The thread that creates the mutex does not own it initially. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/.ctor/class13.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex Default Ctor Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/.ctor/class13.vb" id="Snippet1"::: ]]> @@ -252,7 +252,7 @@ The following code example shows how a local object is used to synchronize access to a protected resource. The thread that creates the owns it initially. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/.ctor/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex 1Arg Ctor Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/.ctor/class1.vb" id="Snippet1"::: ]]> @@ -348,7 +348,7 @@ The constructor overload used in this example cannot tell the calling thread whether initial ownership of the named mutex was granted. You should not use this constructor to request initial ownership unless you can be certain that the thread will create the named mutex. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/.ctor/class11.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex 2Arg Ctor Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/.ctor/class11.vb" id="Snippet1"::: ]]> @@ -483,7 +483,7 @@ There was some other error. The `HResult` property may provide more information. The following code example shows how a named mutex is used to signal between processes or threads. Run this program from two or more command windows. Each process creates a object that represents the named mutex "MyMutex". The named mutex is a system object. In this example, its lifetime is bounded by the lifetimes of the objects that represent it. The named mutex is created when the first process creates its local object, and destroyed when all the objects that represent it have been released. The named mutex is initially owned by the first process. The second process and any subsequent processes wait for earlier processes to release the named mutex. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/.ctor/class12.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex 3Arg Ctor Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/.ctor/class12.vb" id="Snippet1"::: ]]> @@ -620,7 +620,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, the mutex is opened with the rights required to enter and release it. If you run the compiled example from a third command window, it runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex.ctor named 4/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/.ctor/source.vb" id="Snippet1"::: ]]> @@ -724,7 +724,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, the mutex is opened with the rights required to enter and release it. If you run the compiled example from a third command window, it runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex.ctor named 4/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/.ctor/source.vb" id="Snippet1"::: ]]> @@ -825,7 +825,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, the mutex is opened with the rights required to enter and release it. If you run the compiled example from a third command window, it runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex.ctor named 4/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/.ctor/source.vb" id="Snippet1"::: ]]> @@ -914,7 +914,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, the mutex is opened with the rights required to enter and release it. If you run the compiled example from a third command window, it runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex.ctor named 4/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/.ctor/source.vb" id="Snippet1"::: ]]> @@ -1028,7 +1028,7 @@ There was some other error. The `HResult` property may provide more information. Whenever a thread acquires a mutex (for example, by calling its method), it must subsequently call to relinquish ownership of the mutex and unblock other threads that are trying to gain ownership of the mutex. If the attempt to get ownership of the mutex fails (for example, when a call to the method with a `millisecondsTimeout` or a `timeout` parameter returns `false` because the request times out), the thread shouldn't call , In this case, the thread should also not be allowed to access the resource protected by the mutex, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/Overview/example2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.mutex.class/vb/example2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/Overview/example2.vb" id="Snippet2"::: A thread that owns a mutex can specify the same mutex in repeated wait function calls without blocking its execution. The number of calls is kept by the common language runtime. The thread must call the same number of times to release ownership of the mutex. @@ -1045,7 +1045,7 @@ There was some other error. The `HResult` property may provide more information. The following example shows how a local object is used to synchronize access to a protected resource. The thread that creates the mutex does not own it initially. The method is used to release the mutex when it is no longer needed. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/.ctor/class13.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex Default Ctor Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/.ctor/class13.vb" id="Snippet1"::: ]]> @@ -1108,7 +1108,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, the mutex is opened with the rights required to enter and release it. If you run the compiled example from a third command window, it runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex.ctor named 4/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/.ctor/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ParameterizedThreadStart.xml b/xml/System.Threading/ParameterizedThreadStart.xml index 5b39bd19359..d43cdf41b30 100644 --- a/xml/System.Threading/ParameterizedThreadStart.xml +++ b/xml/System.Threading/ParameterizedThreadStart.xml @@ -89,7 +89,7 @@ > The Visual Basic and C# compilers infer the delegate from the signatures of the `DoWork` and `DoMoreWork` methods, and call the correct constructor. Thus, there is no explicit constructor call in the code. :::code language="csharp" source="~/snippets/csharp/System.Threading/ParameterizedThreadStart/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ParameterizedThreadStart/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ParameterizedThreadStart/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ReaderWriterLock.xml b/xml/System.Threading/ReaderWriterLock.xml index b596e6bf407..dfa145d0fa3 100644 --- a/xml/System.Threading/ReaderWriterLock.xml +++ b/xml/System.Threading/ReaderWriterLock.xml @@ -98,7 +98,7 @@ The following example demonstrates how to use a to protect a shared resource, an integer value named `resource`, that is read concurrently and written exclusively by multiple threads. Note that the is declared at the class level so that it is visible to all threads. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet1"::: ]]> @@ -156,9 +156,9 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> @@ -250,11 +250,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> @@ -420,11 +420,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> @@ -573,11 +573,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> @@ -651,11 +651,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> @@ -765,7 +765,7 @@ The following code example demonstrates how to use `IsReaderLockHeld` to avoid deadlocks. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLock/IsReaderLockHeld/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock.IsWriterLockHeld/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLock/IsReaderLockHeld/source.vb" id="Snippet1"::: ]]> @@ -829,7 +829,7 @@ The following code example demonstrates that when an attempt is made to acquire a reader lock on a thread that has a writer lock, `ReaderWriterLock` does not grant the reader lock but instead increments the lock count on the writer lock. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLock/IsReaderLockHeld/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock.IsWriterLockHeld/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLock/IsReaderLockHeld/source.vb" id="Snippet1"::: ]]> @@ -896,11 +896,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> @@ -973,11 +973,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> @@ -1051,11 +1051,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> @@ -1136,11 +1136,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> @@ -1234,11 +1234,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> @@ -1383,11 +1383,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Threading/ReaderWriterLockSlim.xml b/xml/System.Threading/ReaderWriterLockSlim.xml index 337ad09528b..5c0b68c5cf9 100644 --- a/xml/System.Threading/ReaderWriterLockSlim.xml +++ b/xml/System.Threading/ReaderWriterLockSlim.xml @@ -127,16 +127,16 @@ The example uses the parameterless constructor to create the lock, so recursion is not allowed. Programming the is simpler and less prone to error when the lock does not allow recursion. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/classexample1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/classexample1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/classexample1.vb" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/classexample1.cs" id="Snippet12"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/classexample1.vb" id="Snippet12"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/classexample1.vb" id="Snippet12"::: The following code then uses the `SynchronizedCache` object to store a dictionary of vegetable names. It creates three tasks. The first writes the names of vegetables stored in an array to a `SynchronizedCache` instance. The second and third task display the names of the vegetables, the first in ascending order (from low index to high index), the second in descending order. The final task searches for the string "cucumber" and, when it finds it, calls the method to substitute the string "green bean". :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/classexample1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/classexample1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/classexample1.vb" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/classexample1.cs" id="Snippet13"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/classexample1.vb" id="Snippet13"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/classexample1.vb" id="Snippet13"::: ]]> @@ -205,16 +205,16 @@ In the second scenario, the thread enters read mode and then tries to enter write mode. is thrown regardless of the lock recursion policy. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockRecursionPolicy/Overview/ClassExample1.cs" id="Snippet11"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionPolicy/vb/ClassExample1.vb" id="Snippet11"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockRecursionPolicy/Overview/ClassExample1.vb" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockRecursionPolicy/Overview/ClassExample1.cs" id="Snippet12"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionPolicy/vb/ClassExample1.vb" id="Snippet12"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockRecursionPolicy/Overview/ClassExample1.vb" id="Snippet12"::: The following code then uses the `SynchronizedCache` object to store a dictionary of vegetable names. It creates three tasks. The first writes the names of vegetables stored in an array to a `SynchronizedCache` instance. The second and third task display the names of the vegetables, the first in ascending order (from low index to high index), the second in descending order. The final task searches for the string "cucumber" and, when it finds it, calls the method to substitute the string "green bean". :::code language="csharp" source="~/snippets/csharp/System.Threading/LockRecursionPolicy/Overview/ClassExample1.cs" id="Snippet11"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionPolicy/vb/ClassExample1.vb" id="Snippet11"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockRecursionPolicy/Overview/ClassExample1.vb" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockRecursionPolicy/Overview/ClassExample1.cs" id="Snippet13"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionPolicy/vb/ClassExample1.vb" id="Snippet13"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockRecursionPolicy/Overview/ClassExample1.vb" id="Snippet13"::: ]]> @@ -275,11 +275,11 @@ The following example shows how to use the property to generate an event log entry if the number of threads in read mode exceeds a threshold. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet11"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet11"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet11"::: ]]> @@ -418,9 +418,9 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet3"::: ]]> @@ -502,11 +502,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet10"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet10"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet10"::: ]]> @@ -580,9 +580,9 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet4"::: ]]> @@ -653,9 +653,9 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet3"::: ]]> @@ -721,11 +721,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet10"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet10"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet10"::: ]]> @@ -787,9 +787,9 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet4"::: ]]> @@ -848,9 +848,9 @@ The following example shows how to use the property to generate an assert if the current thread has entered read mode unexpectedly. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet21"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet21"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet21"::: ]]> @@ -908,9 +908,9 @@ The following example shows how to use the property to generate an assert if the current thread has entered upgradeable mode unexpectedly. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet22"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet22"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet22"::: ]]> @@ -968,9 +968,9 @@ The following example shows how to use the property to generate an assert if the current thread has entered write mode unexpectedly. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet23"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet23"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet23"::: ]]> @@ -1574,9 +1574,9 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet5"::: ]]> @@ -1724,9 +1724,9 @@ The following example shows how to use the property to generate an event log entry if the number of threads that are blocked, waiting to enter read mode, exceeds a threshold. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet31"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet31"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet31"::: ]]> @@ -1789,9 +1789,9 @@ The following example shows how to use the property to generate an event log entry if the number of threads that are blocked, waiting to enter upgradeable mode, exceeds a threshold. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet33"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet33"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet33"::: ]]> @@ -1854,9 +1854,9 @@ The following example shows how to use the property to generate an event log entry if the number of threads that are blocked, waiting to enter write mode, exceeds a threshold. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet32"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet32"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet32"::: ]]> diff --git a/xml/System.Threading/RegisteredWaitHandle.xml b/xml/System.Threading/RegisteredWaitHandle.xml index ed83f43c047..828c661783f 100644 --- a/xml/System.Threading/RegisteredWaitHandle.xml +++ b/xml/System.Threading/RegisteredWaitHandle.xml @@ -75,7 +75,7 @@ When the main thread signals the by calling its method, the delegate is invoked. The `WaitProc` method tests to determine whether a time-out occurred. If the callback was invoked because the wait handle was signaled, the `WaitProc` method unregisters the , stopping additional callbacks. In the case of a time-out, the task continues to wait. The `WaitProc` method ends by printing a message to the console. :::code language="csharp" source="~/snippets/csharp/System.Threading/RegisteredWaitHandle/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool RegisterWaitForSingleObject0/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/RegisteredWaitHandle/Overview/source.vb" id="Snippet1"::: ]]> @@ -185,7 +185,7 @@ When the main thread signals the by calling its method, the delegate is invoked. The `WaitProc` method tests to determine whether a time-out occurred. If the callback was invoked because the wait handle was signaled, the `WaitProc` method unregisters the , stopping additional callbacks. In the case of a time-out, the task continues to wait. The `WaitProc` method ends by printing a message to the console. :::code language="csharp" source="~/snippets/csharp/System.Threading/RegisteredWaitHandle/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool RegisterWaitForSingleObject0/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/RegisteredWaitHandle/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/Semaphore.xml b/xml/System.Threading/Semaphore.xml index 2ca6f2c6f56..fa1d8b86095 100644 --- a/xml/System.Threading/Semaphore.xml +++ b/xml/System.Threading/Semaphore.xml @@ -82,7 +82,7 @@ The following code example creates a semaphore with a maximum count of three and an initial count of zero. The example starts five threads, which block waiting for the semaphore. The main thread uses the method overload to increase the semaphore count to its maximum, allowing three threads to enter the semaphore. Each thread uses the method to wait for one second, to simulate work, and then calls the method overload to release the semaphore. Each time the semaphore is released, the previous semaphore count is displayed. Console messages track semaphore use. The simulated work interval is increased slightly for each thread, to make the output easier to read. :::code language="csharp" source="~/snippets/csharp/System.Threading/Semaphore/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Semaphore/Overview/source.vb" id="Snippet1"::: ]]> @@ -167,7 +167,7 @@ The following example creates a semaphore with a maximum count of three and an initial count of zero. The example starts five threads, which block waiting for the semaphore. The main thread uses the method overload to increase the semaphore count to its maximum, allowing three threads to enter the semaphore. Each thread uses the method to wait for one second, to simulate work, and then calls the method overload to release the semaphore. Each time the semaphore is released, the previous semaphore count is displayed. Console messages track semaphore use. The simulated work interval is increased slightly for each thread, to make the output easier to read. :::code language="csharp" source="~/snippets/csharp/System.Threading/Semaphore/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Semaphore/Overview/source.vb" id="Snippet1"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates the cross-process behavior of a named semaphore. The example creates a named semaphore with a maximum count of five and an initial count of five. The program makes three calls to the method. Thus, if you run the compiled example from two command windows, the second copy will block on the third call to . Release one or more entries in the first copy of the program to unblock the second. :::code language="csharp" source="~/snippets/csharp/System.Threading/Semaphore/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 3/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Semaphore/.ctor/source.vb" id="Snippet1"::: ]]> @@ -366,7 +366,7 @@ There was some other error. The `HResult` property may provide more information. The following code example demonstrates the cross-process behavior of a named semaphore. The example creates a named semaphore with a maximum count of five and an initial count of two. That is, it reserves three entries for the thread that calls the constructor. If `createNew` is `false`, the program makes three calls to the method. Thus, if you run the compiled example from two command windows, the second copy will block on the third call to . Release one or more entries in the first copy of the program to unblock the second. :::code language="csharp" source="~/snippets/csharp/System.Threading/Semaphore/.ctor/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 4/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Semaphore/.ctor/source1.vb" id="Snippet1"::: ]]> @@ -498,7 +498,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, the semaphore is opened with the rights required to enter and release. If you run the compiled example from a third command window, it runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/Semaphore/.ctor/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 5a/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Semaphore/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -611,7 +611,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, the semaphore is opened with the rights required to enter and release. If you run the compiled example from a third command window, it runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/Semaphore/.ctor/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 5a/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Semaphore/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -716,7 +716,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, the semaphore is opened with the rights required to enter and release it. If you run the compiled example from a third command window, it runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/Semaphore/.ctor/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 5a/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Semaphore/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -798,7 +798,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, the semaphore is opened with the rights required to enter and release it. If you run the compiled example from a third command window, it runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/Semaphore/.ctor/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 5a/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Semaphore/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -945,7 +945,7 @@ There was some other error. The `HResult` property may provide more information. Each time the semaphore is released, the previous semaphore count is displayed. Console messages track semaphore use. The simulated work interval is increased slightly for each thread, to make the output easier to read. :::code language="csharp" source="~/snippets/csharp/System.Threading/Semaphore/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Semaphore/Overview/source.vb" id="Snippet1"::: ]]> @@ -1027,7 +1027,7 @@ There was some other error. The `HResult` property may provide more information. Each time the semaphore is released, the previous semaphore count is displayed. Console messages track semaphore use. The simulated work interval is increased slightly for each thread, to make the output easier to read. :::code language="csharp" source="~/snippets/csharp/System.Threading/Semaphore/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Semaphore/Overview/source.vb" id="Snippet1"::: ]]> @@ -1092,7 +1092,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, using the method, the semaphore is opened with the rights required to enter and release. If you run the compiled example from a third command window, it runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/Semaphore/.ctor/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 5a/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Semaphore/.ctor/source2.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/SemaphoreFullException.xml b/xml/System.Threading/SemaphoreFullException.xml index dbaa17f81ab..e5e515c2827 100644 --- a/xml/System.Threading/SemaphoreFullException.xml +++ b/xml/System.Threading/SemaphoreFullException.xml @@ -94,7 +94,7 @@ The following code example shows how a programming error in one thread can lead to a in another thread: Two threads enter a semaphore. The second thread releases the semaphore twice, while the first thread is still executing its task. When the first thread finishes and releases the semaphore, the semaphore count is already full and an exception is thrown. :::code language="csharp" source="~/snippets/csharp/System.Threading/SemaphoreFullException/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.SemaphoreFullException/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/SemaphoreFullException/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/SemaphoreSlim.xml b/xml/System.Threading/SemaphoreSlim.xml index 0ea58881bda..76112dc2704 100644 --- a/xml/System.Threading/SemaphoreSlim.xml +++ b/xml/System.Threading/SemaphoreSlim.xml @@ -92,7 +92,7 @@ SemaphoreSlim.Release() The following example creates a semaphore with a maximum count of three threads and an initial count of zero threads. The example starts five tasks, all of which block waiting for the semaphore. The main thread calls the overload to increase the semaphore count to its maximum, which allows three tasks to enter the semaphore. Each time the semaphore is released, the previous semaphore count is displayed. Console messages track semaphore use. The simulated work interval is increased slightly for each thread to make the output easier to read. :::code language="csharp" source="~/snippets/csharp/System.Threading/SemaphoreSlim/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.semaphoreslim/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/SemaphoreSlim/Overview/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/SpinLock.xml b/xml/System.Threading/SpinLock.xml index 64b3deec9a3..435cf2ba140 100644 --- a/xml/System.Threading/SpinLock.xml +++ b/xml/System.Threading/SpinLock.xml @@ -88,7 +88,7 @@ The following example shows how to use a : :::code language="csharp" source="~/snippets/csharp/System.Threading/SpinLock/Overview/spinlock.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.spinlock/vb/spinlock.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/SpinLock/Overview/spinlock.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Threading/SpinWait.xml b/xml/System.Threading/SpinWait.xml index 267d8c9b1b8..c752313125a 100644 --- a/xml/System.Threading/SpinWait.xml +++ b/xml/System.Threading/SpinWait.xml @@ -64,7 +64,7 @@ The following example shows how to use a : :::code language="csharp" source="~/snippets/csharp/System.Threading/SpinWait/Overview/spinwait.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.spinwait/vb/spinwait.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/SpinWait/Overview/spinwait.vb" id="Snippet01"::: ]]> @@ -216,7 +216,7 @@ The following is an example of using SpinWait in a simple lock-free stack implementation. (This is just an example. If an efficient, thread-safe stack is needed, consider using ConcurrentStack.) :::code language="csharp" source="~/snippets/csharp/System.Threading/SpinWait/Overview/reset.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.spinwait/vb/reset.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/SpinWait/Overview/reset.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Threading/Thread.xml b/xml/System.Threading/Thread.xml index 53841a6e077..d69590945fe 100644 --- a/xml/System.Threading/Thread.xml +++ b/xml/System.Threading/Thread.xml @@ -157,7 +157,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Threading/ParameterizedThreadStart/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/ParameterizedThreadStart/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ParameterizedThreadStart/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ParameterizedThreadStart/Overview/source.vb" id="Snippet1"::: ]]> @@ -228,13 +228,13 @@ :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/.ctor/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/.ctor/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.ctor/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/.ctor/source.vb" id="Snippet1"::: The following code example shows how to create a thread that executes an instance method. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/.ctor/source1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/.ctor/source1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.ctor2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/.ctor/source1.vb" id="Snippet1"::: ]]> @@ -600,7 +600,7 @@ This method is obsolete. On .NET 5 and later versions, calling this method produ :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Abort/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/Abort/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Abort2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Abort/source.vb" id="Snippet1"::: ]]> @@ -675,7 +675,7 @@ This method is obsolete. On .NET 5 and later versions, calling this method produ :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateDataSlot/source1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateDataSlot/source1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DoNotUseDataSlots/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source1.vb" id="Snippet1"::: **Second Example** @@ -683,7 +683,7 @@ This method is obsolete. On .NET 5 and later versions, calling this method produ :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateDataSlot/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateDataSlot/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DataSlot/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source.vb" id="Snippet1"::: ]]> @@ -759,7 +759,7 @@ This method is obsolete. On .NET 5 and later versions, calling this method produ :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateDataSlot/source1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateDataSlot/source1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DoNotUseDataSlots/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source1.vb" id="Snippet1"::: **Second Example** @@ -770,7 +770,7 @@ This method is obsolete. On .NET 5 and later versions, calling this method produ :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateNamedDataSlot/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateNamedDataSlot/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.NamedDataSlot/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateNamedDataSlot/source.vb" id="Snippet1"::: ]]> @@ -851,7 +851,7 @@ You can specify the COM threading model for a C++ application using the [/CLRTHR :::code language="csharp" source="~/snippets/csharp/System.Threading/ApartmentState/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/ApartmentState/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.ApartmentState/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ApartmentState/Overview/source.vb" id="Snippet1"::: ]]> @@ -925,7 +925,7 @@ You can specify the COM threading model for a C++ application using the [/CLRTHR :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/BeginCriticalRegion/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/BeginCriticalRegion/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.BeginCriticalRegion/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/BeginCriticalRegion/source.vb" id="Snippet1"::: ]]> @@ -994,7 +994,7 @@ You can specify the COM threading model for a C++ application using the [/CLRTHR :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/BeginThreadAffinity/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/BeginThreadAffinity/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.BeginThreadAffinity/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/BeginThreadAffinity/source.vb" id="Snippet1"::: ]]> @@ -1103,7 +1103,7 @@ You can specify the COM threading model for a C++ application using the [/CLRTHR :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/CurrentCulture/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/CurrentCulture/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Culture/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/CurrentCulture/source.vb" id="Snippet1"::: ]]> @@ -1176,7 +1176,7 @@ You can specify the COM threading model for a C++ application using the [/CLRTHR :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/CurrentPrincipal/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/CurrentPrincipal/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.CurrentPrincipal/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/CurrentPrincipal/source.vb" id="Snippet1"::: ]]> @@ -1244,7 +1244,7 @@ You can specify the COM threading model for a C++ application using the [/CLRTHR :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/CurrentThread/currentthread2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/CurrentThread/currentthread2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.currentthread/vb/currentthread2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/CurrentThread/currentthread2.vb" id="Snippet1"::: Each child task generates 1 million random numbers between 1 and 1 million and returns their mean. The parent task calls the method to ensure that the child tasks have completed before displaying the mean returned by each task and calculating the mean of means. @@ -1319,13 +1319,13 @@ You can specify the COM threading model for a C++ application using the [/CLRTHR :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/CurrentUICulture/CurrentUICulture1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/CurrentUICulture/CurrentUICulture1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Thread.CurrentUICulture/vb/CurrentUICulture1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/CurrentUICulture/CurrentUICulture1.vb" id="Snippet1"::: The following code example shows the threading statement that allows the user interface of a Windows Forms to display in the culture that is set in Control Panel. Additional code is needed. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/CurrentCulture/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/CurrentCulture/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Culture/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/CurrentCulture/source.vb" id="Snippet1"::: ]]> @@ -1462,7 +1462,7 @@ You can specify the COM threading model for a C++ application using the [/CLRTHR :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/BeginCriticalRegion/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/BeginCriticalRegion/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.BeginCriticalRegion/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/BeginCriticalRegion/source.vb" id="Snippet1"::: ]]> @@ -1531,7 +1531,7 @@ You can specify the COM threading model for a C++ application using the [/CLRTHR :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/BeginThreadAffinity/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/BeginThreadAffinity/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.BeginThreadAffinity/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/BeginThreadAffinity/source.vb" id="Snippet1"::: ]]> @@ -1721,7 +1721,7 @@ You can specify the COM threading model for a C++ application using the [/CLRTHR :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateDataSlot/source1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateDataSlot/source1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DoNotUseDataSlots/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source1.vb" id="Snippet1"::: **Second Example** @@ -1729,7 +1729,7 @@ You can specify the COM threading model for a C++ application using the [/CLRTHR :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateNamedDataSlot/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateNamedDataSlot/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.NamedDataSlot/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateNamedDataSlot/source.vb" id="Snippet1"::: ]]> @@ -1794,7 +1794,7 @@ You can specify the COM threading model for a C++ application using the [/CLRTHR :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/GetApartmentState/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/GetApartmentState/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Thread.GetSetTrySetApartmentState/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/GetApartmentState/source.vb" id="Snippet1"::: ]]> @@ -1981,7 +1981,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateDataSlot/source1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateDataSlot/source1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DoNotUseDataSlots/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source1.vb" id="Snippet1"::: **Second Example** @@ -1989,7 +1989,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateDataSlot/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateDataSlot/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DataSlot/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source.vb" id="Snippet1"::: ]]> @@ -2051,7 +2051,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/GetDomain/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/GetDomain/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Domain/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/GetDomain/source.vb" id="Snippet1"::: ]]> @@ -2110,7 +2110,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/GetDomain/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/GetDomain/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Domain/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/GetDomain/source.vb" id="Snippet1"::: ]]> @@ -2233,7 +2233,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateDataSlot/source1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateDataSlot/source1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DoNotUseDataSlots/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source1.vb" id="Snippet1"::: **Second Example** @@ -2241,7 +2241,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateNamedDataSlot/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateNamedDataSlot/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.NamedDataSlot/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateNamedDataSlot/source.vb" id="Snippet1"::: ]]> @@ -2306,7 +2306,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Interrupt/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/Interrupt/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Interrupt/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Interrupt/source.vb" id="Snippet1"::: ]]> @@ -2440,7 +2440,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/IsBackground/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/IsBackground/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.IsBackground/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/IsBackground/source.vb" id="Snippet1"::: ]]> @@ -2504,7 +2504,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/IsThreadPoolThread/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/IsThreadPoolThread/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.IsThreadPoolThread/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/IsThreadPoolThread/source.vb" id="Snippet1"::: ]]> @@ -2575,7 +2575,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Join/join1a.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/Join/join1a.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.join/vb/join1a.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Join/join1a.vb" id="Snippet1"::: If the thread has already terminated when is called, the method returns immediately. @@ -2649,7 +2649,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Join/join1b.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/Join/join1b.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.join/vb/join1b.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Join/join1b.vb" id="Snippet2"::: If is specified for the `millisecondsTimeout` parameter, this method behaves identically to the method overload, except for the return value. @@ -2718,7 +2718,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Join/join1c.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/Join/join1c.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.join/vb/join1c.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Join/join1c.vb" id="Snippet3"::: If is specified for `timeout`, this method behaves identically to the method overload, except for the return value. @@ -2731,7 +2731,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Join/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/Join/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Timespan/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Join/source.vb" id="Snippet1"::: ]]> @@ -2988,7 +2988,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Priority/Example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/Priority/Example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.ThreadPriority/vb/Example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Priority/Example1.vb" id="Snippet1"::: ]]> @@ -3207,7 +3207,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/GetApartmentState/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/GetApartmentState/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Thread.GetSetTrySetApartmentState/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/GetApartmentState/source.vb" id="Snippet1"::: ]]> @@ -3360,7 +3360,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateDataSlot/source1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateDataSlot/source1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DoNotUseDataSlots/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source1.vb" id="Snippet1"::: **Second Example** @@ -3368,7 +3368,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateNamedDataSlot/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateNamedDataSlot/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.NamedDataSlot/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateNamedDataSlot/source.vb" id="Snippet1"::: ]]> @@ -3455,7 +3455,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Sleep/example.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/Sleep/example.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/thread.sleep/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Sleep/example.vb" id="Snippet1"::: ]]> @@ -3524,7 +3524,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Sleep/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/Sleep/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/thread.sleep_timespan/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Sleep/example1.vb" id="Snippet1"::: ]]> @@ -3674,7 +3674,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Start/threadstart.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/Start/threadstart.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ThreadStart/VB/threadstart.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Start/threadstart.vb" id="Snippet1"::: ]]> @@ -3751,7 +3751,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/ParameterizedThreadStart/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/ParameterizedThreadStart/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ParameterizedThreadStart/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ParameterizedThreadStart/Overview/source.vb" id="Snippet1"::: ]]> @@ -4096,7 +4096,7 @@ When you call the `Suspend` method on a thread, the system notes that a thread s :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/ThreadState/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/ThreadState/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.threadstate/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/ThreadState/source.vb" id="Snippet1"::: ]]> @@ -4168,7 +4168,7 @@ When you call the `Suspend` method on a thread, the system notes that a thread s :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/GetApartmentState/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/GetApartmentState/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Thread.GetSetTrySetApartmentState/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/GetApartmentState/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ThreadAbortException.xml b/xml/System.Threading/ThreadAbortException.xml index 71e607515ff..d7fd45f55ee 100644 --- a/xml/System.Threading/ThreadAbortException.xml +++ b/xml/System.Threading/ThreadAbortException.xml @@ -79,7 +79,7 @@ The following example demonstrates aborting a thread. The thread that receives the `ThreadAbortException` uses the method to cancel the abort request and continue executing. :::code language="csharp" source="~/snippets/csharp/System.Threading/ThreadAbortException/Overview/threadabex.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ThreadAbEx/VB/threadabex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ThreadAbortException/Overview/threadabex.vb" id="Snippet1"::: This code produces the following output: @@ -157,7 +157,7 @@ Main ending. The following code example shows how to pass information to a thread that is being aborted. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Abort/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Abort2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Abort/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ThreadInterruptedException.xml b/xml/System.Threading/ThreadInterruptedException.xml index 9f28dc2132e..7778410e87d 100644 --- a/xml/System.Threading/ThreadInterruptedException.xml +++ b/xml/System.Threading/ThreadInterruptedException.xml @@ -74,7 +74,7 @@ The following code example shows the behavior of a running thread when it is interrupted and subsequently gets blocked. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Interrupt/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Interrupt/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Interrupt/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ThreadLocal`1.xml b/xml/System.Threading/ThreadLocal`1.xml index 4bc41a9a604..acdba4cda1e 100644 --- a/xml/System.Threading/ThreadLocal`1.xml +++ b/xml/System.Threading/ThreadLocal`1.xml @@ -84,7 +84,7 @@ The following example shows how to use : :::code language="csharp" source="~/snippets/csharp/System.Threading/ThreadLocalT/Overview/threadlocal.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.threadlocal/vb/threadlocal.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ThreadLocalT/Overview/threadlocal.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Threading/ThreadPool.xml b/xml/System.Threading/ThreadPool.xml index 14fee295f78..962634ac0f1 100644 --- a/xml/System.Threading/ThreadPool.xml +++ b/xml/System.Threading/ThreadPool.xml @@ -109,7 +109,7 @@ In the following example, the main application thread queues a method named `ThreadProc` to execute on a thread pool thread, sleeps for one second, and then exits. The `ThreadProc` method simply displays a message. :::code language="csharp" source="~/snippets/csharp/System.Threading/ThreadPool/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool QueueUserWorkItem0/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ThreadPool/Overview/source.vb" id="Snippet1"::: If you comment out the call to the method, the main thread exits before method runs on the thread pool thread. The thread pool uses background threads, which do not keep the application running if all foreground threads have terminated. (This is a simple example of a race condition.) @@ -373,7 +373,7 @@ If a thread pool implementation may have different types of work items, the coun The following example displays the number of worker threads and I/O threads available when a simple app is started. :::code language="csharp" source="~/snippets/csharp/System.Threading/ThreadPool/GetAvailableThreads/Example2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool.GetAvailableThreads/VB/Example2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ThreadPool/GetAvailableThreads/Example2.vb" id="Snippet2"::: ]]> @@ -450,7 +450,7 @@ If a thread pool implementation may have different types of work items, the coun The following code example shows how to retrieve a count of the maximum and available number of threads in the thread pool. A work item is queued that uses `FileStream` to asynchronously write to two files. The callback methods are timed to overlap. A worker thread handles the work item and, depending on the speed and number of processors on the computer, one or two completion port threads handle the write operations. :::code language="csharp" source="~/snippets/csharp/System.Threading/ThreadPool/GetAvailableThreads/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool.GetAvailableThreads/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ThreadPool/GetAvailableThreads/source.vb" id="Snippet1"::: ]]> @@ -524,7 +524,7 @@ If a thread pool implementation may have different types of work items, the coun The following example sets the minimum number of worker threads to four, and preserves the original value for the minimum number of asynchronous I/O completion threads. :::code language="csharp" source="~/snippets/csharp/System.Threading/ThreadPool/GetMinThreads/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool.GetSetMinThreads/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ThreadPool/GetMinThreads/source.vb" id="Snippet1"::: ]]> @@ -645,7 +645,7 @@ The method overload to queue a task, which is represented by the `ThreadProc` method, to execute when a thread becomes available. No task information is supplied with this overload. Therefore, the information that is available to the `ThreadProc` method is limited to the object the method belongs to. :::code language="csharp" source="~/snippets/csharp/System.Threading/ThreadPool/Overview/source.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool QueueUserWorkItem0/VB/source.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ThreadPool/Overview/source.vb" id="Snippet1"::: ]]> @@ -729,7 +729,7 @@ The following example uses the class during construction. Each object signals the provided event object when its calculation is complete, which allows the primary thread to block execution with until all five `Fibonacci` objects have calculated a result. The `Main` method then displays each `Fibonacci` result. :::code language="csharp" source="~/snippets/csharp/System.Threading/ThreadPool/QueueUserWorkItem/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool QueueUserWorkItem1/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ThreadPool/QueueUserWorkItem/source.vb" id="Snippet1"::: ]]> @@ -1204,7 +1204,7 @@ The following example uses the by calling its method, the delegate is invoked. The `WaitProc` method tests to determine whether a time-out occurred. If the callback was invoked because the wait handle was signaled, the `WaitProc` method unregisters the , stopping additional callbacks. In the case of a time-out, the task continues to wait. The `WaitProc` method ends by printing a message to the console. :::code language="csharp" source="~/snippets/csharp/System.Threading/RegisteredWaitHandle/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool RegisterWaitForSingleObject0/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/RegisteredWaitHandle/Overview/source.vb" id="Snippet1"::: ]]> @@ -1367,7 +1367,7 @@ The following example uses the diff --git a/xml/System.Threading/ThreadPriority.xml b/xml/System.Threading/ThreadPriority.xml index 122aeb642c7..673937d4ab9 100644 --- a/xml/System.Threading/ThreadPriority.xml +++ b/xml/System.Threading/ThreadPriority.xml @@ -71,7 +71,7 @@ The following code example shows the result of changing the priority of a thread. Three threads are created, the priority of one thread is set to BelowNormal, and the priority of a second is set to AboveNormal. Each thread increments a variable in a `while` loop and runs for a set time. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Priority/Example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.ThreadPriority/vb/Example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Priority/Example1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ThreadStart.xml b/xml/System.Threading/ThreadStart.xml index a86b13cb047..c5378eccb27 100644 --- a/xml/System.Threading/ThreadStart.xml +++ b/xml/System.Threading/ThreadStart.xml @@ -68,7 +68,7 @@ For another simple example that demonstrates how to create a delegate, see the method overload. For more information about thread creation, see [Creating Threads and Passing Data at Start Time](/dotnet/standard/threading/creating-threads-and-passing-data-at-start-time). :::code language="csharp" source="~/snippets/csharp/System.Threading/ThreadStart/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadStart2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ThreadStart/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ThreadStateException.xml b/xml/System.Threading/ThreadStateException.xml index 84b795296c1..ec6e9347d04 100644 --- a/xml/System.Threading/ThreadStateException.xml +++ b/xml/System.Threading/ThreadStateException.xml @@ -81,7 +81,7 @@ The following example demonstrates an error that causes the system to throw a `ThreadStateException`. :::code language="csharp" source="~/snippets/csharp/System.Threading/ThreadStateException/Overview/threadstex.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ThreadStEx/VB/threadstex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ThreadStateException/Overview/threadstex.vb" id="Snippet1"::: This code produces the following output: diff --git a/xml/System.Threading/Timeout.xml b/xml/System.Threading/Timeout.xml index 7bc685a9ffa..240b80637d3 100644 --- a/xml/System.Threading/Timeout.xml +++ b/xml/System.Threading/Timeout.xml @@ -71,7 +71,7 @@ The following example shows a thread going to sleep for an infinite time and subsequently being woken up. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Interrupt/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Interrupt/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Interrupt/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/Timer.xml b/xml/System.Threading/Timer.xml index aff33bbd1b8..50081c773ac 100644 --- a/xml/System.Threading/Timer.xml +++ b/xml/System.Threading/Timer.xml @@ -144,7 +144,7 @@ The following example defines a `StatusChecker` class that includes a `CheckStat The application thread creates the timer, which waits one second and then executes the `CheckStatus` callback method every 250 milliseconds. The application thread then blocks until the object is signaled. When the `CheckStatus` callback method executes `maxCount` times, it calls the `AutoResetEvent.Set` method to set the state of the object to signaled. The first time this happens, the application thread calls the method so that the callback method now executes every half second. It once again blocks until the object is signaled. When this happens, the timer is destroyed by calling its method, and the application terminates. :::code language="csharp" source="~/snippets/csharp/System.Threading/Timer/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Timer/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Timer/Overview/source.vb" id="Snippet1"::: ]]> @@ -315,7 +315,7 @@ The following example defines a `StatusChecker` class that includes a `CheckStat The following code example shows how to create a `TimerCallback` delegate and initialize a new instance of the `Timer` class. :::code language="csharp" source="~/snippets/csharp/System.Threading/Timer/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Timer/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Timer/Overview/source.vb" id="Snippet1"::: ]]> @@ -490,7 +490,7 @@ The following example defines a `StatusChecker` class that includes a `CheckStat The following code example shows how to create a `TimerCallback` delegate and initialize a new instance of the `Timer` class. :::code language="csharp" source="~/snippets/csharp/System.Threading/Timer/.ctor/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Timer2/VB/source2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Timer/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -706,7 +706,7 @@ The following example defines a `StatusChecker` class that includes a `CheckStat The following code example demonstrates how to start a `Timer` and, after a set number of invocations, change its period. :::code language="csharp" source="~/snippets/csharp/System.Threading/Timer/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Timer/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Timer/Overview/source.vb" id="Snippet1"::: ]]> @@ -864,7 +864,7 @@ The following example defines a `StatusChecker` class that includes a `CheckStat The following code example demonstrates how to start a `Timer` and, after a set number of invocations, change its period. :::code language="csharp" source="~/snippets/csharp/System.Threading/Timer/.ctor/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Timer2/VB/source2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Timer/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -1020,7 +1020,7 @@ The following example defines a `StatusChecker` class that includes a `CheckStat The following code example shows how to free the resources held by a `Timer`. :::code language="csharp" source="~/snippets/csharp/System.Threading/Timer/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Timer/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Timer/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/TimerCallback.xml b/xml/System.Threading/TimerCallback.xml index f22998f9673..34f0583900c 100644 --- a/xml/System.Threading/TimerCallback.xml +++ b/xml/System.Threading/TimerCallback.xml @@ -84,7 +84,7 @@ The following code example shows how to create the delegate used with the `Timer` class. :::code language="csharp" source="~/snippets/csharp/System.Threading/Timer/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Timer/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Timer/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/WaitHandle.xml b/xml/System.Threading/WaitHandle.xml index 1220f1d9825..371b4afc77c 100644 --- a/xml/System.Threading/WaitHandle.xml +++ b/xml/System.Threading/WaitHandle.xml @@ -110,7 +110,7 @@ The following code example shows how two threads can do background tasks while the Main thread waits for the tasks to complete using the static and methods of the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/WaitHandle/Overview/WaitHandle.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/WaitHandle/VB/WaitHandle.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/WaitHandle/Overview/WaitHandle.vb" id="Snippet1"::: ]]> @@ -656,7 +656,7 @@ Application code does not call this method; it is automatically invoked during g The example starts five threads, allows them to block on an created with the flag, and then releases one thread each time the user presses the ENTER key. The example then queues another five threads and releases them all using an created with the flag. :::code language="csharp" source="~/snippets/csharp/System.Threading/EventResetMode/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.SignalAndWait/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/EventResetMode/Overview/source.vb" id="Snippet1"::: ]]> @@ -958,7 +958,7 @@ Calling `Dispose` allows the resources used by the @@ -1247,7 +1247,7 @@ The method returns when the wait t The following code example shows how to use the thread pool to asynchronously create and write to a group of files. Each write operation is queued as a work item and signals when it is finished. The main thread waits for all the items to signal and then exits. :::code language="csharp" source="~/snippets/csharp/System.Threading/WaitHandle/WaitAll/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAll2/VB/source2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/WaitHandle/WaitAll/source2.vb" id="Snippet1"::: ]]> @@ -1344,7 +1344,7 @@ The maximum value for `timeout` is @@ -1463,7 +1463,7 @@ The maximum value for `timeout` is method. :::code language="csharp" source="~/snippets/csharp/System.Threading/WaitHandle/Overview/WaitHandle.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/WaitHandle/VB/WaitHandle.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/WaitHandle/Overview/WaitHandle.vb" id="Snippet1"::: ]]> @@ -1729,7 +1729,7 @@ The maximum number of the wait handles is 64, and 63 if the current thread is in The following code example demonstrates how to use the thread pool to simultaneously search for a file on multiple disks. For space considerations, only the root directory of each disk is searched. :::code language="csharp" source="~/snippets/csharp/System.Threading/WaitHandle/WaitAny/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAny2/VB/source2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/WaitHandle/WaitAny/source2.vb" id="Snippet1"::: ]]> @@ -1823,7 +1823,7 @@ The maximum value for `timeout` is @@ -1922,7 +1922,7 @@ The maximum value for `timeout` is @@ -1995,7 +1995,7 @@ The maximum value for `timeout` is @@ -2144,7 +2144,7 @@ Override this method to customize the behavior of derived classes. The following example shows how the method overload behaves when it is called within a synchronization domain. First, a thread waits with `exitContext` set to `false` and blocks until the wait timeout expires. A second thread executes after the first thread terminates and waits with `exitContext` set to `true`. The call to signal the wait handle for this second thread is not blocked, and the thread completes before the wait timeout. :::code language="csharp" source="~/snippets/csharp/System.Threading/WaitHandle/WaitOne/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.waithandle.waitone4/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/WaitHandle/WaitOne/source.vb" id="Snippet1"::: ]]> @@ -2222,7 +2222,7 @@ The maximum value for `timeout` is @@ -2291,7 +2291,7 @@ The maximum value for `timeout` is diff --git a/xml/System.Threading/WaitOrTimerCallback.xml b/xml/System.Threading/WaitOrTimerCallback.xml index 5dd2183010b..7dd3f9aa2fa 100644 --- a/xml/System.Threading/WaitOrTimerCallback.xml +++ b/xml/System.Threading/WaitOrTimerCallback.xml @@ -90,7 +90,7 @@ When the main thread signals the by calling its method, the delegate is invoked. The `WaitProc` method tests to determine whether a timeout occurred. If the callback was invoked because the wait handle was signaled, the `WaitProc` method unregisters the , stopping further callbacks. In the case of a timeout, the task continues waiting. The `WaitProc` method ends by printing a message to the console. :::code language="csharp" source="~/snippets/csharp/System.Threading/RegisteredWaitHandle/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool RegisterWaitForSingleObject0/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/RegisteredWaitHandle/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Timers/ElapsedEventArgs.xml b/xml/System.Timers/ElapsedEventArgs.xml index 202ba284e33..2bf469b5a39 100644 --- a/xml/System.Timers/ElapsedEventArgs.xml +++ b/xml/System.Timers/ElapsedEventArgs.xml @@ -55,7 +55,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Timers/ElapsedEventArgs/Overview/timer1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Timers/ElapsedEventArgs/Overview/timer1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer1.vb" id="Snippet1"::: ]]> @@ -143,7 +143,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Timers/ElapsedEventArgs/Overview/timer1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Timers/ElapsedEventArgs/Overview/timer1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Timers/Timer.xml b/xml/System.Timers/Timer.xml index 70656b6adad..b7999d990da 100644 --- a/xml/System.Timers/Timer.xml +++ b/xml/System.Timers/Timer.xml @@ -89,7 +89,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Timers/ElapsedEventArgs/Overview/AsyncHandlerEx1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Timers/ElapsedEventArgs/Overview/AsyncHandlerEx1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/AsyncHandlerEx1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/AsyncHandlerEx1.vb" id="Snippet3"::: If the property is `null`, the event is raised on a thread. If processing of the event lasts longer than , the event might be raised again on another thread. In this situation, the event handler should be reentrant. @@ -115,7 +115,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Timers/ElapsedEventArgs/Overview/timer2a.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Timers/ElapsedEventArgs/Overview/timer2a.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer2a.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer2a.vb" id="Snippet2"::: ]]> @@ -191,7 +191,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Timers/ElapsedEventArgs/Overview/timer1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Timers/ElapsedEventArgs/Overview/timer1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer1.vb" id="Snippet1"::: ]]> @@ -252,7 +252,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Timers/ElapsedEventArgs/Overview/AsyncHandlerEx1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Timers/ElapsedEventArgs/Overview/AsyncHandlerEx1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/AsyncHandlerEx1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/AsyncHandlerEx1.vb" id="Snippet3"::: ]]> @@ -589,7 +589,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Timers/ElapsedEventArgs/Overview/timer1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Timers/ElapsedEventArgs/Overview/timer1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer1.vb" id="Snippet1"::: ]]> @@ -679,7 +679,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Timers/ElapsedEventArgs/Overview/timer1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Timers/ElapsedEventArgs/Overview/timer1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer1.vb" id="Snippet1"::: ]]> @@ -821,7 +821,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Timers/Timer/Interval/interval2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Timers/Timer/Interval/interval2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer.interval/vb/interval2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/Timer/Interval/interval2.vb" id="Snippet1"::: If your app requires greater resolution than that offered by the class or the system clock, use the high-resolution multimedia timers; see [How to: Use the High-Resolution Timer](https://msdn.microsoft.com/library/aa964692.aspx). @@ -839,7 +839,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Timers/ElapsedEventArgs/Overview/timer1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Timers/ElapsedEventArgs/Overview/timer1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer1.vb" id="Snippet1"::: ]]> @@ -1027,7 +1027,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Timers/ElapsedEventArgs/Overview/timer2a.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Timers/ElapsedEventArgs/Overview/timer2a.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer2a.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer2a.vb" id="Snippet2"::: The following code example shows one way to prevent the thread that calls the method from continuing until a currently executing event ends, and also to prevent two events from executing the event handler at the same time (often referred to as reentrancy). @@ -1039,7 +1039,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Timers/Timer/Stop/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Timers/Timer/Stop/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Timer.Stop/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/Timer/Stop/source.vb" id="Snippet1"::: ]]> @@ -1122,7 +1122,7 @@ The following example is a Windows Forms app that serves as a very simple text file editor. When the text in the text box has not been saved, the app asks the user at one-minute intervals whether they want to save the contents of the text box. To do this, the property is set to one minute (60,000 milliseconds), and the property is set to the object. :::code language="csharp" source="~/snippets/csharp/System.Timers/Timer/SynchronizingObject/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Timers.Timer.SynchronizingObject/vb/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/Timer/SynchronizingObject/Form1.vb" id="Snippet1"::: The example requires that you add the following controls to the form: diff --git a/xml/System.Transactions/TransactionScope.xml b/xml/System.Transactions/TransactionScope.xml index 1f82d4a2e7c..949cfb3db91 100644 --- a/xml/System.Transactions/TransactionScope.xml +++ b/xml/System.Transactions/TransactionScope.xml @@ -81,7 +81,7 @@ The following example demonstrates how to use the class to define a block of code to participate in a transaction. :::code language="csharp" source="~/snippets/csharp/System.Transactions/TransactionScope/Overview/ScopeWithSQL.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/TransactionScope/vb/ScopeWithSQL.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Transactions/TransactionScope/Overview/ScopeWithSQL.vb" id="Snippet1"::: ]]> @@ -770,7 +770,7 @@ When you use the `transactionOptions` parameter to specify an class to define a block of code to participate in a transaction. :::code language="csharp" source="~/snippets/csharp/System.Transactions/TransactionScope/Overview/ScopeWithSQL.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/TransactionScope/vb/ScopeWithSQL.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Transactions/TransactionScope/Overview/ScopeWithSQL.vb" id="Snippet1"::: ]]> @@ -836,7 +836,7 @@ When you use the `transactionOptions` parameter to specify an class to define a block of code to participate in a transaction. :::code language="csharp" source="~/snippets/csharp/System.Transactions/TransactionScope/Overview/ScopeWithSQL.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/TransactionScope/vb/ScopeWithSQL.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Transactions/TransactionScope/Overview/ScopeWithSQL.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.ClientServices.Providers/ClientFormsAuthenticationCredentials.xml b/xml/System.Web.ClientServices.Providers/ClientFormsAuthenticationCredentials.xml index b37a4741b78..2b4e2dfbc08 100644 --- a/xml/System.Web.ClientServices.Providers/ClientFormsAuthenticationCredentials.xml +++ b/xml/System.Web.ClientServices.Providers/ClientFormsAuthenticationCredentials.xml @@ -28,7 +28,7 @@ The following example code demonstrates how to implement the method, which returns an instance of this class. In this example, the method is part of a login dialog box class. The method displays the dialog box, and then returns a instance initialized with the user-specified values. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Login.cs" id="Snippet210"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Login.vb" id="Snippet210"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Login.vb" id="Snippet210"::: ]]> @@ -78,7 +78,7 @@ The following example code demonstrates how to implement the method, which returns an instance of this class. In this example, the method is part of a login dialog box class. The method displays the dialog box, and then returns a instance initialized with the user-specified values. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Login.cs" id="Snippet210"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Login.vb" id="Snippet210"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Login.vb" id="Snippet210"::: ]]> diff --git a/xml/System.Web.ClientServices.Providers/ClientFormsAuthenticationMembershipProvider.xml b/xml/System.Web.ClientServices.Providers/ClientFormsAuthenticationMembershipProvider.xml index 77f36a936fd..7b87d95c461 100644 --- a/xml/System.Web.ClientServices.Providers/ClientFormsAuthenticationMembershipProvider.xml +++ b/xml/System.Web.ClientServices.Providers/ClientFormsAuthenticationMembershipProvider.xml @@ -38,7 +38,7 @@ The following example code demonstrates how to use this method to validate the user by using an implementation. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet306"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet306"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet306"::: ]]> @@ -668,7 +668,7 @@ The following example code demonstrates how to use this method to log out the user. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Form1.cs" id="Snippet070"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Form1.vb" id="Snippet070"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Form1.vb" id="Snippet070"::: ]]> @@ -994,7 +994,7 @@ The following example code demonstrates how to use this property to programmatically set the authentication service location. When you set the service location programmatically, you must specify the complete service URI, which will always end with "Authentication_JSON_AppService.axd". :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet301"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet301"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet301"::: ]]> @@ -1105,7 +1105,7 @@ The following example code demonstrates how to use this event to display the user name in the title bar of a form. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet305"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet305"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet305"::: ]]> @@ -1170,7 +1170,7 @@ The following example code demonstrates how to use this method to validate the user by using an implementation. This example requires that you to configure your application to use a credentials provider. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet306"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet306"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet306"::: ]]> @@ -1223,7 +1223,7 @@ The following example code demonstrates how to use this method to validate the user by using login controls in your application code. This example requires a control named `usernameTextBox`, a control named `passwordTextBox`, and a control named `rememberMeCheckBox`. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet307"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet307"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet307"::: ]]> @@ -1274,7 +1274,7 @@ The following example code demonstrates how to use this method to validate the user through an authentication service at a specified location. The user credentials are retrieved from login controls in your application code. This example requires a control named `usernameTextBox` and a control named `passwordTextBox`. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet308"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet308"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet308"::: ]]> diff --git a/xml/System.Web.ClientServices.Providers/ClientRoleProvider.xml b/xml/System.Web.ClientServices.Providers/ClientRoleProvider.xml index 739dc53dbce..996e4859358 100644 --- a/xml/System.Web.ClientServices.Providers/ClientRoleProvider.xml +++ b/xml/System.Web.ClientServices.Providers/ClientRoleProvider.xml @@ -38,7 +38,7 @@ The following example code demonstrates how to use this property to programmatically set the roles service location. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet302"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet302"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet302"::: ]]> @@ -280,7 +280,7 @@ The following example code demonstrates how to use this method to determine whether the user login has expired before testing role membership. This code assumes that all valid users are associated with one or more roles. In this case, the method will not return any roles for a previously-authenticated user whose login has expired. If the user login has expired, this code displays the login dialog box. Otherwise, it calls the method to determine whether the user is in the "manager" role. The restricted code is in a `PerformManagerTask` method, which is not provided. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet321"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet321"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet321"::: ]]> @@ -424,7 +424,7 @@ The following example code demonstrates how to access this method directly to determine whether the user is in a particular role. This code first tests whether the user login has expired. An explicit reference is required to call the method, so the same reference is used to call the method. If the user is in the "manager" role, this code calls a `PerformManagerTask` method, which is not provided. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet321"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet321"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet321"::: ]]> @@ -506,7 +506,7 @@ The following example code demonstrates how to use this method to reset the local roles cache. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet314"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet314"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet314"::: ]]> @@ -581,7 +581,7 @@ The following example code demonstrates how to use this property to programmatically set the roles service location. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet302"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet302"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet302"::: ]]> diff --git a/xml/System.Web.ClientServices.Providers/ClientSettingsProvider.xml b/xml/System.Web.ClientServices.Providers/ClientSettingsProvider.xml index 48257a30ffc..12f6cef9512 100644 --- a/xml/System.Web.ClientServices.Providers/ClientSettingsProvider.xml +++ b/xml/System.Web.ClientServices.Providers/ClientSettingsProvider.xml @@ -46,7 +46,7 @@ The following example code demonstrates how to use this event to display a list of settings that were not successfully saved. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet304"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet304"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet304"::: ]]> @@ -379,7 +379,7 @@ The following example code demonstrates how to use this property to programmatically set the Web settings service location. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet303"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet303"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet303"::: ]]> @@ -453,7 +453,7 @@ The following example code demonstrates how to use this event to display a list of settings that were not successfully saved. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet304"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet304"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet304"::: ]]> diff --git a/xml/System.Web.ClientServices.Providers/ClientWindowsAuthenticationMembershipProvider.xml b/xml/System.Web.ClientServices.Providers/ClientWindowsAuthenticationMembershipProvider.xml index e5acc9f55cb..8a9bae95594 100644 --- a/xml/System.Web.ClientServices.Providers/ClientWindowsAuthenticationMembershipProvider.xml +++ b/xml/System.Web.ClientServices.Providers/ClientWindowsAuthenticationMembershipProvider.xml @@ -34,7 +34,7 @@ The following example code demonstrates how to use this method to authenticate a user by using Windows authentication. In this example, the value of the `static` property is cast to a instance. This makes sure that a will be thrown if you accidentally test this code by using another membership provider. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet309"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet309"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet309"::: ]]> @@ -587,7 +587,7 @@ The following example code demonstrates how to use this method to log out the user. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet310"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet310"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet310"::: ]]> @@ -957,7 +957,7 @@ The following example code demonstrates how to use this method to authenticate a user by using Windows authentication. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet309"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet309"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet309"::: ]]> diff --git a/xml/System.Web.ClientServices.Providers/IClientFormsAuthenticationCredentialsProvider.xml b/xml/System.Web.ClientServices.Providers/IClientFormsAuthenticationCredentialsProvider.xml index a29b48c2eff..9868ebf64b5 100644 --- a/xml/System.Web.ClientServices.Providers/IClientFormsAuthenticationCredentialsProvider.xml +++ b/xml/System.Web.ClientServices.Providers/IClientFormsAuthenticationCredentialsProvider.xml @@ -23,7 +23,7 @@ The following example code demonstrates how to implement the method, which is the only member in this interface. In this example, the method is part of a login dialog box class. This method displays the dialog box, and then returns a instance initialized with the user-specified values. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Login.cs" id="Snippet210"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Login.vb" id="Snippet210"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Login.vb" id="Snippet210"::: ]]> @@ -65,7 +65,7 @@ The following example code demonstrates how to implement the method. In this example, the method is part of a login dialog box class. This method displays the dialog box, and then returns a instance initialized with the user-specified values. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Login.cs" id="Snippet210"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Login.vb" id="Snippet210"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Login.vb" id="Snippet210"::: ]]> diff --git a/xml/System.Web.ClientServices.Providers/SettingsSavedEventArgs.xml b/xml/System.Web.ClientServices.Providers/SettingsSavedEventArgs.xml index f358154594d..621c0fb9ddb 100644 --- a/xml/System.Web.ClientServices.Providers/SettingsSavedEventArgs.xml +++ b/xml/System.Web.ClientServices.Providers/SettingsSavedEventArgs.xml @@ -32,7 +32,7 @@ The following example code demonstrates how to use this class to display a list of settings that were not successfully saved. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet304"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet304"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet304"::: ]]> @@ -107,7 +107,7 @@ The following example code demonstrates how to use this property to display a list of settings that were not successfully saved. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet304"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet304"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet304"::: ]]> diff --git a/xml/System.Web.ClientServices.Providers/UserValidatedEventArgs.xml b/xml/System.Web.ClientServices.Providers/UserValidatedEventArgs.xml index 00c4b865a58..ba677bb7dc4 100644 --- a/xml/System.Web.ClientServices.Providers/UserValidatedEventArgs.xml +++ b/xml/System.Web.ClientServices.Providers/UserValidatedEventArgs.xml @@ -30,7 +30,7 @@ The following example code demonstrates how to use this class to display the user name in the title bar of a form. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet305"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet305"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet305"::: ]]> @@ -103,7 +103,7 @@ The following example code demonstrates how to use this property to display the user name in the title bar of a form. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet305"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet305"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet305"::: ]]> diff --git a/xml/System.Web.ClientServices/ClientFormsIdentity.xml b/xml/System.Web.ClientServices/ClientFormsIdentity.xml index 64576659841..2ea77909c2c 100644 --- a/xml/System.Web.ClientServices/ClientFormsIdentity.xml +++ b/xml/System.Web.ClientServices/ClientFormsIdentity.xml @@ -42,7 +42,7 @@ > The method is for convenience only. Because it does not have a return value, it cannot indicate whether revalidation has failed. Revalidation can fail, for example, if the user credentials have changed on the server. In this case, you might want to include code that explicitly validates users after a service call fails. For more information, see the Accessing Web Settings section in [Walkthrough: Using Client Application Services](/dotnet/framework/common-client-technologies/walkthrough-using-client-application-services). :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet315"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet315"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet315"::: ]]> @@ -168,7 +168,7 @@ The following example code demonstrates how to use this property through an reference to determine whether a user is currently authenticated for client application services. This example assumes that the application is in the default configuration where users are not required to log in again when the authentication cookie expires. Otherwise, the might indicate that the user login has expired. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet312"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet312"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet312"::: ]]> @@ -307,7 +307,7 @@ The following example code demonstrates how to use this property through an reference to determine whether a user is currently authenticated for client application services. This example assumes that the application is in the default configuration where users are not required to log in again when the authentication cookie expires. Otherwise, the might indicate that the user login has expired. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet312"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet312"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet312"::: ]]> @@ -415,7 +415,7 @@ The following example code demonstrates how to use this method to silently revalidate a user when the application leaves the offline state. In this example, a event handler updates the offline status to match the check box value. If the user sets the application to the online state, the event handler attempts to revalidate the user. However, if the authentication server is unavailable, the event handler returns the application to the offline state. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet315"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet315"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet315"::: ]]> diff --git a/xml/System.Web.ClientServices/ClientRolePrincipal.xml b/xml/System.Web.ClientServices/ClientRolePrincipal.xml index f0fa809f10d..c522a6d6c98 100644 --- a/xml/System.Web.ClientServices/ClientRolePrincipal.xml +++ b/xml/System.Web.ClientServices/ClientRolePrincipal.xml @@ -34,7 +34,7 @@ The following example code demonstrates how to use this class to display a button only when the user is in the "manager" role. This example requires a named `managerOnlyButton` with an initial property value of `false`. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet313"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet313"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet313"::: ]]> @@ -178,7 +178,7 @@ The following example code demonstrates how to use this method to display a button only when the user is in the "manager" role. This example requires a named `managerOnlyButton` with an initial property value of `false`. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet313"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet313"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet313"::: ]]> diff --git a/xml/System.Web.ClientServices/ConnectivityStatus.xml b/xml/System.Web.ClientServices/ConnectivityStatus.xml index df921b563cf..c9f98162ebd 100644 --- a/xml/System.Web.ClientServices/ConnectivityStatus.xml +++ b/xml/System.Web.ClientServices/ConnectivityStatus.xml @@ -28,7 +28,7 @@ The following example code demonstrates how to use this class to update the offline status depending on a check box value. In this example, a event handler updates the offline status. If the user sets the application to the online state, the event handler attempts to revalidate the user. However, if the authentication server is unavailable, the event handler returns the application to the offline state. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet315"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet315"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet315"::: ]]> @@ -68,7 +68,7 @@ The following example code demonstrates how to use this property to update the offline status depending on a check box value. In this example, a event handler updates the offline status. If the user sets the application to the online state, the event handler attempts to revalidate the user. However, if the authentication server is unavailable, the event handler returns the application to the offline state. :::code language="csharp" source="~/snippets/csharp/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.cs" id="Snippet315"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClientApplicationServices/VB/Class1.vb" id="Snippet315"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.ClientServices/ClientFormsIdentity/Overview/Class1.vb" id="Snippet315"::: ]]> diff --git a/xml/System.Web.Services.Configuration/XmlFormatExtensionAttribute.xml b/xml/System.Web.Services.Configuration/XmlFormatExtensionAttribute.xml index 4afc8616582..c17ca93057c 100644 --- a/xml/System.Web.Services.Configuration/XmlFormatExtensionAttribute.xml +++ b/xml/System.Web.Services.Configuration/XmlFormatExtensionAttribute.xml @@ -58,7 +58,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.vb" id="Snippet1"::: ]]> @@ -144,7 +144,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.vb" id="Snippet2"::: ]]> @@ -340,7 +340,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.vb" id="Snippet2"::: ]]> @@ -405,7 +405,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.vb" id="Snippet2"::: ]]> @@ -445,7 +445,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Web.Services.Configuration/XmlFormatExtensionPointAttribute.xml b/xml/System.Web.Services.Configuration/XmlFormatExtensionPointAttribute.xml index 176442070b2..38680cdaf22 100644 --- a/xml/System.Web.Services.Configuration/XmlFormatExtensionPointAttribute.xml +++ b/xml/System.Web.Services.Configuration/XmlFormatExtensionPointAttribute.xml @@ -58,7 +58,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Configuration/XmlFormatExtensionPrefixAttribute.xml b/xml/System.Web.Services.Configuration/XmlFormatExtensionPrefixAttribute.xml index b5f00b87f67..9d5a27f91bf 100644 --- a/xml/System.Web.Services.Configuration/XmlFormatExtensionPrefixAttribute.xml +++ b/xml/System.Web.Services.Configuration/XmlFormatExtensionPrefixAttribute.xml @@ -58,7 +58,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.vb" id="Snippet1"::: ]]> @@ -140,7 +140,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.vb" id="Snippet2"::: ]]> @@ -180,7 +180,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.vb" id="Snippet2"::: ]]> @@ -220,7 +220,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Configuration/XmlFormatExtensionAttribute/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Web.Services.Description/Binding.xml b/xml/System.Web.Services.Description/Binding.xml index 4a300d13065..f985dd6e55d 100644 --- a/xml/System.Web.Services.Description/Binding.xml +++ b/xml/System.Web.Services.Description/Binding.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/BindingCollectionsample1/CPP/bindingcollectionsample1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/Binding/Overview/bindingcollectionsample1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/BindingCollectionsample1/VB/bindingcollectionsample1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/Binding/Overview/bindingcollectionsample1.vb" id="Snippet3"::: ]]> @@ -135,7 +135,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/BindingCollectionSample2/CPP/bindingcollectionsample2.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/Binding/Extensions/bindingcollectionsample2.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/BindingCollectionSample2/VB/bindingcollectionsample2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/Binding/Extensions/bindingcollectionsample2.vb" id="Snippet4"::: ]]> @@ -214,10 +214,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/BindingCollectionSample2/CPP/bindingcollectionsample2.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/Binding/Extensions/bindingcollectionsample2.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/BindingCollectionSample2/VB/bindingcollectionsample2.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/Binding/Extensions/bindingcollectionsample2.vb" id="Snippet5"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/BindingCollectionSample2/CPP/bindingcollectionsample2.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/Binding/Extensions/bindingcollectionsample2.cs" id="Snippet8"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/BindingCollectionSample2/VB/bindingcollectionsample2.vb" id="Snippet8"::: +:::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/Binding/Extensions/bindingcollectionsample2.vb" id="Snippet8"::: ]]> @@ -303,7 +303,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/BindingCollectionSample2/CPP/bindingcollectionsample2.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/Binding/Extensions/bindingcollectionsample2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/BindingCollectionSample2/VB/bindingcollectionsample2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/Binding/Extensions/bindingcollectionsample2.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Web.Services.Description/BindingCollection.xml b/xml/System.Web.Services.Description/BindingCollection.xml index 72c2bf33e7d..14d982daf5d 100644 --- a/xml/System.Web.Services.Description/BindingCollection.xml +++ b/xml/System.Web.Services.Description/BindingCollection.xml @@ -79,7 +79,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/BindingCollectionsample3/CPP/bindingcollectionsample3.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/BindingCollection/Add/bindingcollectionsample3.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/BindingCollectionsample3/VB/bindingcollectionsample3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/BindingCollection/Add/bindingcollectionsample3.vb" id="Snippet2"::: ]]> @@ -125,7 +125,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/BindingCollectionsample3/CPP/bindingcollectionsample3.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/BindingCollection/Add/bindingcollectionsample3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/BindingCollectionsample3/VB/bindingcollectionsample3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/BindingCollection/Add/bindingcollectionsample3.vb" id="Snippet3"::: ]]> @@ -171,7 +171,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/BindingCollectionsample1/CPP/bindingcollectionsample1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/Binding/Overview/bindingcollectionsample1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/BindingCollectionsample1/VB/bindingcollectionsample1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/Binding/Overview/bindingcollectionsample1.vb" id="Snippet2"::: ]]> @@ -252,7 +252,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/BindingCollectionsample3/CPP/bindingcollectionsample3.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/BindingCollection/Add/bindingcollectionsample3.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/BindingCollectionsample3/VB/bindingcollectionsample3.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/BindingCollection/Add/bindingcollectionsample3.vb" id="Snippet4"::: ]]> @@ -307,7 +307,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/BindingCollectionSample2/CPP/bindingcollectionsample2.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/Binding/Extensions/bindingcollectionsample2.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/BindingCollectionSample2/VB/bindingcollectionsample2.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/Binding/Extensions/bindingcollectionsample2.vb" id="Snippet6"::: ]]> @@ -362,7 +362,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/BindingCollectionsample1/CPP/bindingcollectionsample1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/Binding/Overview/bindingcollectionsample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/BindingCollectionsample1/VB/bindingcollectionsample1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/Binding/Overview/bindingcollectionsample1.vb" id="Snippet1"::: ]]> @@ -414,7 +414,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/BindingCollectionsample1/CPP/bindingcollectionsample1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/Binding/Overview/bindingcollectionsample1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/BindingCollectionsample1/VB/bindingcollectionsample1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/Binding/Overview/bindingcollectionsample1.vb" id="Snippet3"::: ]]> @@ -465,7 +465,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/BindingCollectionsample3/CPP/bindingcollectionsample3.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/BindingCollection/Add/bindingcollectionsample3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/BindingCollectionsample3/VB/bindingcollectionsample3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/BindingCollection/Add/bindingcollectionsample3.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Description/DocumentableItem.xml b/xml/System.Web.Services.Description/DocumentableItem.xml index eaf49d3d802..1db782acb46 100644 --- a/xml/System.Web.Services.Description/DocumentableItem.xml +++ b/xml/System.Web.Services.Description/DocumentableItem.xml @@ -142,7 +142,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DocumentableItemsample/CPP/documentableitemsample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/DocumentableItem/Documentation/documentableitemsample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DocumentableItemsample/VB/documentableitemsample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/DocumentableItem/Documentation/documentableitemsample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Description/FaultBinding.xml b/xml/System.Web.Services.Description/FaultBinding.xml index a880199d92e..3fe073665c1 100644 --- a/xml/System.Web.Services.Description/FaultBinding.xml +++ b/xml/System.Web.Services.Description/FaultBinding.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/FaultBindingCollection_Add/CPP/faultbindingcollection_add.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/FaultBinding/Overview/faultbindingcollection_add.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/FaultBindingCollection_Add/VB/faultbindingcollection_add.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/FaultBinding/Overview/faultbindingcollection_add.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Description/FaultBindingCollection.xml b/xml/System.Web.Services.Description/FaultBindingCollection.xml index 0f0b48ceb4e..48f90ecbf6a 100644 --- a/xml/System.Web.Services.Description/FaultBindingCollection.xml +++ b/xml/System.Web.Services.Description/FaultBindingCollection.xml @@ -36,7 +36,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Importsample/CPP/importsample.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Overview/importsample.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Importsample/VB/importsample.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Overview/importsample.vb" id="Snippet4"::: ]]> @@ -82,7 +82,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/FaultBindingCollection_Add/CPP/faultbindingcollection_add.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/FaultBinding/Overview/faultbindingcollection_add.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/FaultBindingCollection_Add/VB/faultbindingcollection_add.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/FaultBinding/Overview/faultbindingcollection_add.vb" id="Snippet1"::: ]]> @@ -130,7 +130,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/FaultBindingCollection_Remove/CPP/faultbindingcollection_remove.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Contains/faultbindingcollection_remove.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/FaultBindingCollection_Remove/VB/faultbindingcollection_remove.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Contains/faultbindingcollection_remove.vb" id="Snippet4"::: ]]> @@ -178,7 +178,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/FaultBindingCollection_Remove/CPP/faultbindingcollection_remove.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Contains/faultbindingcollection_remove.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/FaultBindingCollection_Remove/VB/faultbindingcollection_remove.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Contains/faultbindingcollection_remove.vb" id="Snippet2"::: ]]> @@ -261,7 +261,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/FaultBindingCollection_Remove/CPP/faultbindingcollection_remove.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Contains/faultbindingcollection_remove.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/FaultBindingCollection_Remove/VB/faultbindingcollection_remove.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Contains/faultbindingcollection_remove.vb" id="Snippet5"::: ]]> @@ -318,7 +318,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/FaultBindingCollection_Remove/CPP/faultbindingcollection_remove.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Contains/faultbindingcollection_remove.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/FaultBindingCollection_Remove/VB/faultbindingcollection_remove.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Contains/faultbindingcollection_remove.vb" id="Snippet3"::: ]]> @@ -375,7 +375,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/FaultBindingCollection_Add/CPP/faultbindingcollection_add.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/FaultBinding/Overview/faultbindingcollection_add.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/FaultBindingCollection_Add/VB/faultbindingcollection_add.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/FaultBinding/Overview/faultbindingcollection_add.vb" id="Snippet1"::: ]]> @@ -427,7 +427,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/FaultBindingCollection_Item/CPP/faultbindingcollection_item.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Item/faultbindingcollection_item.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/FaultBindingCollection_Item/VB/faultbindingcollection_item.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Item/faultbindingcollection_item.vb" id="Snippet1"::: ]]> @@ -480,7 +480,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/FaultBindingCollection_Remove/CPP/faultbindingcollection_remove.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Contains/faultbindingcollection_remove.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/FaultBindingCollection_Remove/VB/faultbindingcollection_remove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Contains/faultbindingcollection_remove.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Description/HttpAddressBinding.xml b/xml/System.Web.Services.Description/HttpAddressBinding.xml index 8423baa9a20..23e50f9b974 100644 --- a/xml/System.Web.Services.Description/HttpAddressBinding.xml +++ b/xml/System.Web.Services.Description/HttpAddressBinding.xml @@ -47,7 +47,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/WebServices_HttpBinding/CPP/httpbinding.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/HttpAddressBinding/Overview/httpbinding.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebServices_HttpBinding/VB/httpbinding.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/HttpAddressBinding/Overview/httpbinding.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Web.Services.Description/HttpBinding.xml b/xml/System.Web.Services.Description/HttpBinding.xml index 9a19e7db6ca..13030df568d 100644 --- a/xml/System.Web.Services.Description/HttpBinding.xml +++ b/xml/System.Web.Services.Description/HttpBinding.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/WebServices_HttpBinding/CPP/httpbinding.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/HttpAddressBinding/Overview/httpbinding.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/WebServices_HttpBinding/VB/httpbinding.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/HttpAddressBinding/Overview/httpbinding.vb" id="Snippet1"::: ]]> @@ -128,7 +128,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/HttpBinding_HttpBinding/CPP/httpbinding_ctor.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/HttpBinding/Namespace/httpbinding_ctor.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpBinding_HttpBinding/VB/httpbinding_ctor.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/HttpBinding/Namespace/httpbinding_ctor.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Web.Services.Description/Import.xml b/xml/System.Web.Services.Description/Import.xml index 7769e3005fd..c2bcf33d570 100644 --- a/xml/System.Web.Services.Description/Import.xml +++ b/xml/System.Web.Services.Description/Import.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Importsample/CPP/importsample.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Overview/importsample.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Importsample/VB/importsample.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Overview/importsample.vb" id="Snippet7"::: ]]> @@ -161,7 +161,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Importsample/CPP/importsample.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Overview/importsample.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Importsample/VB/importsample.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Overview/importsample.vb" id="Snippet4"::: ]]> @@ -208,7 +208,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Importsample/CPP/importsample.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Overview/importsample.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Importsample/VB/importsample.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Overview/importsample.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Web.Services.Description/ImportCollection.xml b/xml/System.Web.Services.Description/ImportCollection.xml index 12a392215e0..28f0d232240 100644 --- a/xml/System.Web.Services.Description/ImportCollection.xml +++ b/xml/System.Web.Services.Description/ImportCollection.xml @@ -43,7 +43,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ImportCollection_6/CPP/importcollection_6.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ImportCollection/Overview/importcollection_6.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ImportCollection_6/VB/importcollection_6.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ImportCollection/Overview/importcollection_6.vb" id="Snippet1"::: ]]> @@ -91,7 +91,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Importsample/CPP/importsample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Overview/importsample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Importsample/VB/importsample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Overview/importsample.vb" id="Snippet1"::: ]]> @@ -139,7 +139,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ImportCollection_6/CPP/importcollection_6.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ImportCollection/Overview/importcollection_6.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ImportCollection_6/VB/importcollection_6.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ImportCollection/Overview/importcollection_6.vb" id="Snippet4"::: ]]> @@ -187,7 +187,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ImportCollection_6/CPP/importcollection_6.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ImportCollection/Overview/importcollection_6.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ImportCollection_6/VB/importcollection_6.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ImportCollection/Overview/importcollection_6.vb" id="Snippet3"::: ]]> @@ -234,7 +234,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ImportCollection_6/CPP/importcollection_6.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ImportCollection/Overview/importcollection_6.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ImportCollection_6/VB/importcollection_6.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ImportCollection/Overview/importcollection_6.vb" id="Snippet5"::: ]]> @@ -291,7 +291,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Importsample/CPP/importsample.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/FaultBindingCollection/Overview/importsample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Importsample/VB/importsample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/FaultBindingCollection/Overview/importsample.vb" id="Snippet2"::: ]]> @@ -343,7 +343,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ImportCollection_6/CPP/importcollection_6.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ImportCollection/Overview/importcollection_6.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ImportCollection_6/VB/importcollection_6.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ImportCollection/Overview/importcollection_6.vb" id="Snippet2"::: ]]> @@ -396,7 +396,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ImportCollection_6/CPP/importcollection_6.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ImportCollection/Overview/importcollection_6.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ImportCollection_6/VB/importcollection_6.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ImportCollection/Overview/importcollection_6.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Web.Services.Description/InputBinding.xml b/xml/System.Web.Services.Description/InputBinding.xml index cf5fd6c78f3..678071307cb 100644 --- a/xml/System.Web.Services.Description/InputBinding.xml +++ b/xml/System.Web.Services.Description/InputBinding.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DescriptionNamespaceSample1/CPP/descriptionnamespacesample1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DescriptionNamespaceSample1/VB/descriptionnamespacesample1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Web.Services.Description/Message.xml b/xml/System.Web.Services.Description/Message.xml index 1fab22b467b..230110003df 100644 --- a/xml/System.Web.Services.Description/Message.xml +++ b/xml/System.Web.Services.Description/Message.xml @@ -55,7 +55,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DescriptionNamespaceSample1/CPP/descriptionnamespacesample1.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DescriptionNamespaceSample1/VB/descriptionnamespacesample1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.vb" id="Snippet13"::: ]]> @@ -167,7 +167,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message_Samples3/CPP/message_samples3.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/Message/FindPartByName/message_samples3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message_Samples3/VB/message_samples3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/Message/FindPartByName/message_samples3.vb" id="Snippet3"::: ]]> @@ -215,7 +215,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Message_Samples3/CPP/message_samples3.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/Message/FindPartByName/message_samples3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Message_Samples3/VB/message_samples3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/Message/FindPartByName/message_samples3.vb" id="Snippet1"::: ]]> @@ -295,7 +295,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DescriptionNamespaceSample1/CPP/descriptionnamespacesample1.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DescriptionNamespaceSample1/VB/descriptionnamespacesample1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.vb" id="Snippet13"::: ]]> diff --git a/xml/System.Web.Services.Description/MessageBinding.xml b/xml/System.Web.Services.Description/MessageBinding.xml index 27ec6aa04af..402e3176792 100644 --- a/xml/System.Web.Services.Description/MessageBinding.xml +++ b/xml/System.Web.Services.Description/MessageBinding.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageBinding_sample/CPP/messagebinding_sample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MessageBinding/Overview/messagebinding_sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageBinding_sample/VB/messagebinding_sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MessageBinding/Overview/messagebinding_sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Description/MessageCollection.xml b/xml/System.Web.Services.Description/MessageCollection.xml index 3c014d77996..e99bdefb9ae 100644 --- a/xml/System.Web.Services.Description/MessageCollection.xml +++ b/xml/System.Web.Services.Description/MessageCollection.xml @@ -36,7 +36,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DescriptionNamespaceSample1/CPP/descriptionnamespacesample1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DescriptionNamespaceSample1/VB/descriptionnamespacesample1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.vb" id="Snippet9"::: ]]> @@ -81,7 +81,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DescriptionNamespaceSample1/CPP/descriptionnamespacesample1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DescriptionNamespaceSample1/VB/descriptionnamespacesample1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.vb" id="Snippet7"::: ]]> @@ -129,7 +129,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageCollection/CPP/messagecollection.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MessageCollection/Contains/messagecollection.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageCollection/VB/messagecollection.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MessageCollection/Contains/messagecollection.vb" id="Snippet4"::: ]]> @@ -177,7 +177,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageCollection/CPP/messagecollection.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MessageCollection/Contains/messagecollection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageCollection/VB/messagecollection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MessageCollection/Contains/messagecollection.vb" id="Snippet1"::: ]]> @@ -260,7 +260,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageCollection/CPP/messagecollection.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MessageCollection/Contains/messagecollection.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageCollection/VB/messagecollection.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MessageCollection/Contains/messagecollection.vb" id="Snippet5"::: ]]> @@ -315,7 +315,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DescriptionNamespaceSample1/CPP/descriptionnamespacesample1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DescriptionNamespaceSample1/VB/descriptionnamespacesample1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.vb" id="Snippet8"::: ]]> @@ -377,7 +377,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageCollection/CPP/messagecollection.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MessageCollection/Contains/messagecollection.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageCollection/VB/messagecollection.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MessageCollection/Contains/messagecollection.vb" id="Snippet2"::: ]]> @@ -424,7 +424,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageCollection/CPP/messagecollection.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MessageCollection/Contains/messagecollection.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageCollection/VB/messagecollection.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MessageCollection/Contains/messagecollection.vb" id="Snippet3"::: ]]> @@ -477,7 +477,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessageCollection/CPP/messagecollection.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MessageCollection/Contains/messagecollection.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessageCollection/VB/messagecollection.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MessageCollection/Contains/messagecollection.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Web.Services.Description/MessagePart.xml b/xml/System.Web.Services.Description/MessagePart.xml index a1d6c8b7089..a5642364f6a 100644 --- a/xml/System.Web.Services.Description/MessagePart.xml +++ b/xml/System.Web.Services.Description/MessagePart.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DescriptionNamespaceSample1/CPP/descriptionnamespacesample1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DescriptionNamespaceSample1/VB/descriptionnamespacesample1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.vb" id="Snippet10"::: ]]> @@ -136,7 +136,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DescriptionNamespaceSample1/CPP/descriptionnamespacesample1.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DescriptionNamespaceSample1/VB/descriptionnamespacesample1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.vb" id="Snippet11"::: ]]> @@ -216,7 +216,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessagePartCollection/CPP/messagepartcollection.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MessagePart/Message/messagepartcollection.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessagePartCollection/VB/messagepartcollection.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MessagePart/Message/messagepartcollection.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Web.Services.Description/MessagePartCollection.xml b/xml/System.Web.Services.Description/MessagePartCollection.xml index fd1ef0a7476..7b0b6395944 100644 --- a/xml/System.Web.Services.Description/MessagePartCollection.xml +++ b/xml/System.Web.Services.Description/MessagePartCollection.xml @@ -43,7 +43,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessagePartCollection/CPP/messagepartcollection.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MessagePart/Message/messagepartcollection.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessagePartCollection/VB/messagepartcollection.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MessagePart/Message/messagepartcollection.vb" id="Snippet8"::: ]]> @@ -89,7 +89,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DescriptionNamespaceSample1/CPP/descriptionnamespacesample1.cpp" id="Snippet14"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DescriptionNamespaceSample1/VB/descriptionnamespacesample1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.vb" id="Snippet14"::: ]]> @@ -137,7 +137,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessagePartCollection/CPP/messagepartcollection.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MessagePart/Message/messagepartcollection.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessagePartCollection/VB/messagepartcollection.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MessagePart/Message/messagepartcollection.vb" id="Snippet5"::: ]]> @@ -185,7 +185,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessagePartCollection/CPP/messagepartcollection.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MessagePart/Message/messagepartcollection.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessagePartCollection/VB/messagepartcollection.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MessagePart/Message/messagepartcollection.vb" id="Snippet3"::: ]]> @@ -268,7 +268,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessagePartCollection/CPP/messagepartcollection.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MessagePart/Message/messagepartcollection.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessagePartCollection/VB/messagepartcollection.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MessagePart/Message/messagepartcollection.vb" id="Snippet6"::: ]]> @@ -323,7 +323,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DescriptionNamespaceSample1/CPP/descriptionnamespacesample1.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DescriptionNamespaceSample1/VB/descriptionnamespacesample1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.vb" id="Snippet15"::: ]]> @@ -380,7 +380,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessagePartCollection/CPP/messagepartcollection.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MessagePart/Message/messagepartcollection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessagePartCollection/VB/messagepartcollection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MessagePart/Message/messagepartcollection.vb" id="Snippet1"::: ]]> @@ -425,7 +425,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessagePartCollection/CPP/messagepartcollection.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MessagePart/Message/messagepartcollection.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessagePartCollection/VB/messagepartcollection.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MessagePart/Message/messagepartcollection.vb" id="Snippet4"::: ]]> @@ -478,7 +478,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MessagePartCollection/CPP/messagepartcollection.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MessagePart/Message/messagepartcollection.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MessagePartCollection/VB/messagepartcollection.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MessagePart/Message/messagepartcollection.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Web.Services.Description/MimeContentBinding.xml b/xml/System.Web.Services.Description/MimeContentBinding.xml index 347258b8b12..c1b1cd64ab9 100644 --- a/xml/System.Web.Services.Description/MimeContentBinding.xml +++ b/xml/System.Web.Services.Description/MimeContentBinding.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimeContentBinding_Part_4/CPP/mimecontentbinding_part_4.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimeContentBinding/Overview/mimecontentbinding_part_4.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimeContentBinding_Part_4/VB/mimecontentbinding_part_4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimeContentBinding/Overview/mimecontentbinding_part_4.vb" id="Snippet4"::: ]]> @@ -121,7 +121,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimeContentBinding_Part_4/CPP/mimecontentbinding_part_4.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimeContentBinding/Overview/mimecontentbinding_part_4.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimeContentBinding_Part_4/VB/mimecontentbinding_part_4.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimeContentBinding/Overview/mimecontentbinding_part_4.vb" id="Snippet3"::: ]]> @@ -172,7 +172,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimeContentBinding_Part_4/CPP/mimecontentbinding_part_4.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimeContentBinding/Overview/mimecontentbinding_part_4.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimeContentBinding_Part_4/VB/mimecontentbinding_part_4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimeContentBinding/Overview/mimecontentbinding_part_4.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Web.Services.Description/MimeMultipartRelatedBinding.xml b/xml/System.Web.Services.Description/MimeMultipartRelatedBinding.xml index 53eee52d237..d4a6f8338b5 100644 --- a/xml/System.Web.Services.Description/MimeMultipartRelatedBinding.xml +++ b/xml/System.Web.Services.Description/MimeMultipartRelatedBinding.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimeMultiPartRelatedBinding_Parts_2/CPP/mimemultipartrelatedbinding_parts_2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimeMultipartRelatedBinding/Overview/mimemultipartrelatedbinding_parts_2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimeMultiPartRelatedBinding_Parts_2/VB/mimemultipartrelatedbinding_parts_2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimeMultipartRelatedBinding/Overview/mimemultipartrelatedbinding_parts_2.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Description/MimePart.xml b/xml/System.Web.Services.Description/MimePart.xml index b93cbf3e8b8..618dac5fe51 100644 --- a/xml/System.Web.Services.Description/MimePart.xml +++ b/xml/System.Web.Services.Description/MimePart.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimePart_3/CPP/mimepart_3.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimePart/Overview/mimepart_3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimePart_3/VB/mimepart_3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimePart/Overview/mimepart_3.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Description/MimePartCollection.xml b/xml/System.Web.Services.Description/MimePartCollection.xml index ff09818d07c..1e85e270ddf 100644 --- a/xml/System.Web.Services.Description/MimePartCollection.xml +++ b/xml/System.Web.Services.Description/MimePartCollection.xml @@ -45,7 +45,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimePartCollection_1/CPP/mimepartcollection_1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimePartCollection/Overview/mimepartcollection_1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimePartCollection_1/VB/mimepartcollection_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimePartCollection/Overview/mimepartcollection_1.vb" id="Snippet1"::: ]]> @@ -120,7 +120,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimePartCollection_8/CPP/mimepartcollection_8.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimePartCollection/Add/mimepartcollection_8.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimePartCollection_8/VB/mimepartcollection_8.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimePartCollection/Add/mimepartcollection_8.vb" id="Snippet5"::: ]]> @@ -168,7 +168,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimePartCollection_8/CPP/mimepartcollection_8.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimePartCollection/Add/mimepartcollection_8.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimePartCollection_8/VB/mimepartcollection_8.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimePartCollection/Add/mimepartcollection_8.vb" id="Snippet6"::: ]]> @@ -216,7 +216,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimePartCollection_8/CPP/mimepartcollection_8.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimePartCollection/Add/mimepartcollection_8.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimePartCollection_8/VB/mimepartcollection_8.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimePartCollection/Add/mimepartcollection_8.vb" id="Snippet7"::: ]]> @@ -263,7 +263,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimePartCollection_8/CPP/mimepartcollection_8.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimePartCollection/Add/mimepartcollection_8.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimePartCollection_8/VB/mimepartcollection_8.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimePartCollection/Add/mimepartcollection_8.vb" id="Snippet4"::: ]]> @@ -320,7 +320,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimePartCollection_8/CPP/mimepartcollection_8.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimePartCollection/Add/mimepartcollection_8.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimePartCollection_8/VB/mimepartcollection_8.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimePartCollection/Add/mimepartcollection_8.vb" id="Snippet3"::: ]]> @@ -372,7 +372,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimePartCollection_8/CPP/mimepartcollection_8.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimePartCollection/Add/mimepartcollection_8.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimePartCollection_8/VB/mimepartcollection_8.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimePartCollection/Add/mimepartcollection_8.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Web.Services.Description/MimeTextBinding.xml b/xml/System.Web.Services.Description/MimeTextBinding.xml index 470033f85ca..ca8b84b7673 100644 --- a/xml/System.Web.Services.Description/MimeTextBinding.xml +++ b/xml/System.Web.Services.Description/MimeTextBinding.xml @@ -51,7 +51,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimeText_Binding_Match_8/CPP/mimetext_binding_match_8.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimeTextBinding/Overview/mimetext_binding_match_8.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimeText_Binding_Match_8/VB/mimetext_binding_match_8.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimeTextBinding/Overview/mimetext_binding_match_8.vb" id="Snippet1"::: ]]> @@ -133,7 +133,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimeText_Binding_Match_8/CPP/mimetext_binding_match_8.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimeTextBinding/Overview/mimetext_binding_match_8.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimeText_Binding_Match_8/VB/mimetext_binding_match_8.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimeTextBinding/Overview/mimetext_binding_match_8.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Web.Services.Description/MimeTextMatch.xml b/xml/System.Web.Services.Description/MimeTextMatch.xml index d021f8f4386..58a4af36d5a 100644 --- a/xml/System.Web.Services.Description/MimeTextMatch.xml +++ b/xml/System.Web.Services.Description/MimeTextMatch.xml @@ -43,7 +43,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimeText_Binding_Match_8/CPP/mimetext_binding_match_8.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimeTextBinding/Overview/mimetext_binding_match_8.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimeText_Binding_Match_8/VB/mimetext_binding_match_8.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimeTextBinding/Overview/mimetext_binding_match_8.vb" id="Snippet1"::: ]]> @@ -127,7 +127,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimeTextMatch_5/CPP/mimetextmatch_5.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimeTextMatch/Capture/mimetextmatch_5.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimeTextMatch_5/VB/mimetextmatch_5.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimeTextMatch/Capture/mimetextmatch_5.vb" id="Snippet2"::: ]]> @@ -184,7 +184,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimeTextMatch_5/CPP/mimetextmatch_5.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimeTextMatch/Capture/mimetextmatch_5.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimeTextMatch_5/VB/mimetextmatch_5.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimeTextMatch/Capture/mimetextmatch_5.vb" id="Snippet3"::: ]]> @@ -233,7 +233,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimeText_Binding_Match_8/CPP/mimetext_binding_match_8.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimeTextBinding/Overview/mimetext_binding_match_8.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimeText_Binding_Match_8/VB/mimetext_binding_match_8.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimeTextBinding/Overview/mimetext_binding_match_8.vb" id="Snippet7"::: ]]> @@ -280,7 +280,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimeText_Binding_Match_8/CPP/mimetext_binding_match_8.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimeTextBinding/Overview/mimetext_binding_match_8.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimeText_Binding_Match_8/VB/mimetext_binding_match_8.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimeTextBinding/Overview/mimetext_binding_match_8.vb" id="Snippet8"::: ]]> @@ -327,7 +327,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimeText_Binding_Match_8/CPP/mimetext_binding_match_8.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimeTextBinding/Overview/mimetext_binding_match_8.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimeText_Binding_Match_8/VB/mimetext_binding_match_8.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimeTextBinding/Overview/mimetext_binding_match_8.vb" id="Snippet4"::: ]]> @@ -379,7 +379,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimeText_Binding_Match_8/CPP/mimetext_binding_match_8.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimeTextBinding/Overview/mimetext_binding_match_8.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimeText_Binding_Match_8/VB/mimetext_binding_match_8.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimeTextBinding/Overview/mimetext_binding_match_8.vb" id="Snippet6"::: ]]> @@ -433,7 +433,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimeTextMatch_5/CPP/mimetextmatch_5.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimeTextMatch/Capture/mimetextmatch_5.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimeTextMatch_5/VB/mimetextmatch_5.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimeTextMatch/Capture/mimetextmatch_5.vb" id="Snippet4"::: ]]> @@ -490,7 +490,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimeTextMatch_5/CPP/mimetextmatch_5.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimeTextMatch/Capture/mimetextmatch_5.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimeTextMatch_5/VB/mimetextmatch_5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimeTextMatch/Capture/mimetextmatch_5.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Web.Services.Description/MimeTextMatchCollection.xml b/xml/System.Web.Services.Description/MimeTextMatchCollection.xml index d4a45d77bfb..3013af8db57 100644 --- a/xml/System.Web.Services.Description/MimeTextMatchCollection.xml +++ b/xml/System.Web.Services.Description/MimeTextMatchCollection.xml @@ -43,7 +43,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/CPP/mimetext_match_matchcoll_9.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimeTextMatchCollection/Overview/mimetext_match_matchcoll_9.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/VB/mimetext_match_matchcoll_9.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimeTextMatchCollection/Overview/mimetext_match_matchcoll_9.vb" id="Snippet1"::: ]]> @@ -118,7 +118,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/CPP/mimetext_match_matchcoll_9.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimeTextMatchCollection/Overview/mimetext_match_matchcoll_9.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/VB/mimetext_match_matchcoll_9.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimeTextMatchCollection/Overview/mimetext_match_matchcoll_9.vb" id="Snippet4"::: ]]> @@ -166,7 +166,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/CPP/mimetext_match_matchcoll_9.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimeTextMatchCollection/Overview/mimetext_match_matchcoll_9.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/VB/mimetext_match_matchcoll_9.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimeTextMatchCollection/Overview/mimetext_match_matchcoll_9.vb" id="Snippet3"::: ]]> @@ -214,7 +214,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/CPP/mimetext_match_matchcoll_9.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimeTextMatchCollection/Overview/mimetext_match_matchcoll_9.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/VB/mimetext_match_matchcoll_9.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimeTextMatchCollection/Overview/mimetext_match_matchcoll_9.vb" id="Snippet5"::: ]]> @@ -261,7 +261,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/CPP/mimetext_match_matchcoll_9.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimeTextMatchCollection/Overview/mimetext_match_matchcoll_9.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/VB/mimetext_match_matchcoll_9.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimeTextMatchCollection/Overview/mimetext_match_matchcoll_9.vb" id="Snippet8"::: ]]> @@ -318,7 +318,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/CPP/mimetext_match_matchcoll_9.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimeTextMatchCollection/Overview/mimetext_match_matchcoll_9.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/VB/mimetext_match_matchcoll_9.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimeTextMatchCollection/Overview/mimetext_match_matchcoll_9.vb" id="Snippet9"::: ]]> @@ -370,7 +370,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/CPP/mimetext_match_matchcoll_9.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimeTextMatchCollection/Overview/mimetext_match_matchcoll_9.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/VB/mimetext_match_matchcoll_9.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimeTextMatchCollection/Overview/mimetext_match_matchcoll_9.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Web.Services.Description/MimeXmlBinding.xml b/xml/System.Web.Services.Description/MimeXmlBinding.xml index 717ca66bc95..31dba6bbbeb 100644 --- a/xml/System.Web.Services.Description/MimeXmlBinding.xml +++ b/xml/System.Web.Services.Description/MimeXmlBinding.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimeXmlBinding_Part_3/CPP/mimexmlbinding_part_3.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimeXmlBinding/Overview/mimexmlbinding_part_3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimeXmlBinding_Part_3/VB/mimexmlbinding_part_3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/MimeXmlBinding/Overview/mimexmlbinding_part_3.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Description/Operation.xml b/xml/System.Web.Services.Description/Operation.xml index 2880869a0fd..6463ec7afa1 100644 --- a/xml/System.Web.Services.Description/Operation.xml +++ b/xml/System.Web.Services.Description/Operation.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Operation_5/CPP/operation_5.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/Operation/Overview/operation_5.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Operation_5/VB/operation_5.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/Operation/Overview/operation_5.vb" id="Snippet1"::: ]]> @@ -168,7 +168,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Operation_Faults/CPP/operation_faults.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/Operation/Faults/operation_faults.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Operation_Faults/VB/operation_faults.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/Operation/Faults/operation_faults.vb" id="Snippet1"::: ]]> @@ -216,7 +216,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Operation_IsBoundBy/CPP/operation_isboundby.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/Operation/IsBoundBy/operation_isboundby.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Operation_IsBoundBy/VB/operation_isboundby.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/Operation/IsBoundBy/operation_isboundby.vb" id="Snippet1"::: ]]> @@ -272,7 +272,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Operation_5/CPP/operation_5.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/Operation/Overview/operation_5.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Operation_5/VB/operation_5.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/Operation/Overview/operation_5.vb" id="Snippet3"::: ]]> @@ -354,7 +354,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Operation_2/CPP/operation_2.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/Operation/ParameterOrder/operation_2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Operation_2/VB/operation_2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/Operation/ParameterOrder/operation_2.vb" id="Snippet2"::: ]]> @@ -422,7 +422,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Operation_2/CPP/operation_2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/Operation/ParameterOrder/operation_2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Operation_2/VB/operation_2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/Operation/ParameterOrder/operation_2.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Description/OperationBinding.xml b/xml/System.Web.Services.Description/OperationBinding.xml index 61e4e80893a..d5ed2fe5f65 100644 --- a/xml/System.Web.Services.Description/OperationBinding.xml +++ b/xml/System.Web.Services.Description/OperationBinding.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationBinding_OperationBinding/CPP/operationbinding_operationbinding.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationBinding/Overview/operationbinding_operationbinding.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationBinding_OperationBinding/VB/operationbinding_operationbinding.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationBinding/Overview/operationbinding_operationbinding.vb" id="Snippet1"::: ]]> @@ -129,7 +129,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationBinding_OperationBinding/CPP/operationbinding_operationbinding.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationBinding/Overview/operationbinding_operationbinding.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationBinding_OperationBinding/VB/operationbinding_operationbinding.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationBinding/Overview/operationbinding_operationbinding.vb" id="Snippet5"::: ]]> @@ -185,7 +185,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationBinding_OperationBinding/CPP/operationbinding_operationbinding.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationBinding/Overview/operationbinding_operationbinding.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationBinding_OperationBinding/VB/operationbinding_operationbinding.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationBinding/Overview/operationbinding_operationbinding.vb" id="Snippet6"::: ]]> @@ -232,7 +232,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationBinding_OperationBinding/CPP/operationbinding_operationbinding.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationBinding/Overview/operationbinding_operationbinding.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationBinding_OperationBinding/VB/operationbinding_operationbinding.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationBinding/Overview/operationbinding_operationbinding.vb" id="Snippet6"::: ]]> @@ -284,7 +284,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationBinding_OperationBinding/CPP/operationbinding_operationbinding.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationBinding/Overview/operationbinding_operationbinding.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationBinding_OperationBinding/VB/operationbinding_operationbinding.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationBinding/Overview/operationbinding_operationbinding.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Web.Services.Description/OperationBindingCollection.xml b/xml/System.Web.Services.Description/OperationBindingCollection.xml index 42441e38cf0..1a1e4f1ba5f 100644 --- a/xml/System.Web.Services.Description/OperationBindingCollection.xml +++ b/xml/System.Web.Services.Description/OperationBindingCollection.xml @@ -41,7 +41,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/CPP/operationbindingcollection_operationbindingcollection.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationBindingCollection/Overview/operationbindingcollection_operationbindingcollection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/VB/operationbindingcollection_operationbindingcollection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationBindingCollection/Overview/operationbindingcollection_operationbindingcollection.vb" id="Snippet1"::: ]]> @@ -88,7 +88,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/CPP/operationbindingcollection_operationbindingcollection.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationBindingCollection/Overview/operationbindingcollection_operationbindingcollection.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/VB/operationbindingcollection_operationbindingcollection.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationBindingCollection/Overview/operationbindingcollection_operationbindingcollection.vb" id="Snippet3"::: ]]> @@ -136,7 +136,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/CPP/operationbindingcollection_operationbindingcollection.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationBindingCollection/Overview/operationbindingcollection_operationbindingcollection.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/VB/operationbindingcollection_operationbindingcollection.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationBindingCollection/Overview/operationbindingcollection_operationbindingcollection.vb" id="Snippet2"::: ]]> @@ -184,7 +184,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/CPP/operationbindingcollection_operationbindingcollection.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationBindingCollection/Overview/operationbindingcollection_operationbindingcollection.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/VB/operationbindingcollection_operationbindingcollection.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationBindingCollection/Overview/operationbindingcollection_operationbindingcollection.vb" id="Snippet8"::: ]]> @@ -231,7 +231,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/CPP/operationbindingcollection_operationbindingcollection.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationBindingCollection/Overview/operationbindingcollection_operationbindingcollection.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/VB/operationbindingcollection_operationbindingcollection.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationBindingCollection/Overview/operationbindingcollection_operationbindingcollection.vb" id="Snippet7"::: ]]> @@ -288,7 +288,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/CPP/operationbindingcollection_operationbindingcollection.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationBindingCollection/Overview/operationbindingcollection_operationbindingcollection.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/VB/operationbindingcollection_operationbindingcollection.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationBindingCollection/Overview/operationbindingcollection_operationbindingcollection.vb" id="Snippet6"::: ]]> @@ -335,7 +335,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/CPP/operationbindingcollection_operationbindingcollection.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationBindingCollection/Overview/operationbindingcollection_operationbindingcollection.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/VB/operationbindingcollection_operationbindingcollection.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationBindingCollection/Overview/operationbindingcollection_operationbindingcollection.vb" id="Snippet4"::: ]]> @@ -388,7 +388,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/CPP/operationbindingcollection_operationbindingcollection.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationBindingCollection/Overview/operationbindingcollection_operationbindingcollection.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationBindingCollection_OperationBindingCollection/VB/operationbindingcollection_operationbindingcollection.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationBindingCollection/Overview/operationbindingcollection_operationbindingcollection.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Web.Services.Description/OperationCollection.xml b/xml/System.Web.Services.Description/OperationCollection.xml index c167cb0c1bb..d2e1e62c124 100644 --- a/xml/System.Web.Services.Description/OperationCollection.xml +++ b/xml/System.Web.Services.Description/OperationCollection.xml @@ -43,7 +43,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationCollection_Methods/CPP/operationcollection_methods.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationCollection/Overview/operationcollection_methods.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationCollection_Methods/VB/operationcollection_methods.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationCollection/Overview/operationcollection_methods.vb" id="Snippet1"::: ]]> @@ -90,7 +90,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationCollection_Methods/CPP/operationcollection_methods.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationCollection/Overview/operationcollection_methods.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationCollection_Methods/VB/operationcollection_methods.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationCollection/Overview/operationcollection_methods.vb" id="Snippet2"::: ]]> @@ -138,7 +138,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationCollection_Methods/CPP/operationcollection_methods.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationCollection/Overview/operationcollection_methods.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationCollection_Methods/VB/operationcollection_methods.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationCollection/Overview/operationcollection_methods.vb" id="Snippet3"::: ]]> @@ -186,7 +186,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationCollection_Methods/CPP/operationcollection_methods.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationCollection/Overview/operationcollection_methods.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationCollection_Methods/VB/operationcollection_methods.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationCollection/Overview/operationcollection_methods.vb" id="Snippet8"::: ]]> @@ -233,7 +233,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationCollection_Methods/CPP/operationcollection_methods.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationCollection/Overview/operationcollection_methods.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationCollection_Methods/VB/operationcollection_methods.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationCollection/Overview/operationcollection_methods.vb" id="Snippet4"::: ]]> @@ -290,7 +290,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationCollection_Methods/CPP/operationcollection_methods.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationCollection/Overview/operationcollection_methods.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationCollection_Methods/VB/operationcollection_methods.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationCollection/Overview/operationcollection_methods.vb" id="Snippet6"::: ]]> @@ -337,7 +337,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationCollection_Methods/CPP/operationcollection_methods.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationCollection/Overview/operationcollection_methods.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationCollection_Methods/VB/operationcollection_methods.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationCollection/Overview/operationcollection_methods.vb" id="Snippet7"::: ]]> @@ -390,7 +390,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationCollection_Methods/CPP/operationcollection_methods.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationCollection/Overview/operationcollection_methods.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationCollection_Methods/VB/operationcollection_methods.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationCollection/Overview/operationcollection_methods.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Web.Services.Description/OperationFault.xml b/xml/System.Web.Services.Description/OperationFault.xml index 9a3865b51cc..d1fb95eac91 100644 --- a/xml/System.Web.Services.Description/OperationFault.xml +++ b/xml/System.Web.Services.Description/OperationFault.xml @@ -51,7 +51,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationFault_OperationFault/CPP/operationfault_operationfault.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationFault/Overview/operationfault_operationfault.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationFault_OperationFault/VB/operationfault_operationfault.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationFault/Overview/operationfault_operationfault.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Description/OperationFaultCollection.xml b/xml/System.Web.Services.Description/OperationFaultCollection.xml index 529643186e9..bc8ec51d71c 100644 --- a/xml/System.Web.Services.Description/OperationFaultCollection.xml +++ b/xml/System.Web.Services.Description/OperationFaultCollection.xml @@ -41,7 +41,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationFaultCollection_7/CPP/operationfaultcollection_7.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Overview/operationfaultcollection_7.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationFaultCollection_7/VB/operationfaultcollection_7.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Overview/operationfaultcollection_7.vb" id="Snippet1"::: ]]> @@ -86,7 +86,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationFaultCollection_Add/CPP/operationfaultcollection_add.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Add/operationfaultcollection_add.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationFaultCollection_Add/VB/operationfaultcollection_add.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Add/operationfaultcollection_add.vb" id="Snippet1"::: ]]> @@ -132,7 +132,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationFaultCollection_7/CPP/operationfaultcollection_7.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Overview/operationfaultcollection_7.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationFaultCollection_7/VB/operationfaultcollection_7.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Overview/operationfaultcollection_7.vb" id="Snippet2"::: ]]> @@ -178,7 +178,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationFaultCollection_7/CPP/operationfaultcollection_7.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Overview/operationfaultcollection_7.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationFaultCollection_7/VB/operationfaultcollection_7.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Overview/operationfaultcollection_7.vb" id="Snippet3"::: ]]> @@ -259,7 +259,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationFaultCollection_7/CPP/operationfaultcollection_7.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Overview/operationfaultcollection_7.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationFaultCollection_7/VB/operationfaultcollection_7.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Overview/operationfaultcollection_7.vb" id="Snippet4"::: ]]> @@ -314,7 +314,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationFaultCollection_7/CPP/operationfaultcollection_7.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Overview/operationfaultcollection_7.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationFaultCollection_7/VB/operationfaultcollection_7.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Overview/operationfaultcollection_7.vb" id="Snippet5"::: ]]> @@ -369,7 +369,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationFaultCollection_7/CPP/operationfaultcollection_7.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Overview/operationfaultcollection_7.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationFaultCollection_7/VB/operationfaultcollection_7.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Overview/operationfaultcollection_7.vb" id="Snippet6"::: ]]> @@ -414,7 +414,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationFaultCollection_Item/CPP/operationfaultcollection_item.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Item/operationfaultcollection_item.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationFaultCollection_Item/VB/operationfaultcollection_item.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Item/operationfaultcollection_item.vb" id="Snippet1"::: ]]> @@ -465,7 +465,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationFaultCollection_7/CPP/operationfaultcollection_7.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationFaultCollection/Overview/operationfaultcollection_7.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationFaultCollection_7/VB/operationfaultcollection_7.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationFaultCollection/Overview/operationfaultcollection_7.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Web.Services.Description/OperationFlow.xml b/xml/System.Web.Services.Description/OperationFlow.xml index e0c6cdf0bbb..7b119d12315 100644 --- a/xml/System.Web.Services.Description/OperationFlow.xml +++ b/xml/System.Web.Services.Description/OperationFlow.xml @@ -42,7 +42,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationFlow_Enum/CPP/operationflow_enum.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationFlow/Overview/operationflow_enum.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationFlow_Enum/VB/operationflow_enum.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationFlow/Overview/operationflow_enum.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Description/OperationInput.xml b/xml/System.Web.Services.Description/OperationInput.xml index 1805d9cddf5..6370f5c4907 100644 --- a/xml/System.Web.Services.Description/OperationInput.xml +++ b/xml/System.Web.Services.Description/OperationInput.xml @@ -49,7 +49,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationInput_OperationInput/CPP/operationinput_operationinput.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationInput/Overview/operationinput_operationinput.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationInput_OperationInput/VB/operationinput_operationinput.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationInput/Overview/operationinput_operationinput.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Description/OperationMessage.xml b/xml/System.Web.Services.Description/OperationMessage.xml index ba4b0593ac4..dbc91960dc7 100644 --- a/xml/System.Web.Services.Description/OperationMessage.xml +++ b/xml/System.Web.Services.Description/OperationMessage.xml @@ -53,7 +53,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationMessage_Properties/CPP/operationmessage_properties.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationMessage/Overview/operationmessage_properties.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationMessage_Properties/VB/operationmessage_properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationMessage/Overview/operationmessage_properties.vb" id="Snippet1"::: ]]> @@ -128,7 +128,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationMessage_Properties/CPP/operationmessage_properties.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationMessage/Overview/operationmessage_properties.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationMessage_Properties/VB/operationmessage_properties.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationMessage/Overview/operationmessage_properties.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Web.Services.Description/OperationMessageCollection.xml b/xml/System.Web.Services.Description/OperationMessageCollection.xml index 947ce63abf1..f8cc888a9fb 100644 --- a/xml/System.Web.Services.Description/OperationMessageCollection.xml +++ b/xml/System.Web.Services.Description/OperationMessageCollection.xml @@ -41,7 +41,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationMessageCollection_Sample/CPP/operationmessagecollection_sample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationMessageCollection_Sample/VB/operationmessagecollection_sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.vb" id="Snippet1"::: ]]> @@ -86,7 +86,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationMessageCollection_Sample/CPP/operationmessagecollection_sample.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationMessageCollection_Sample/VB/operationmessagecollection_sample.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.vb" id="Snippet4"::: ]]> @@ -132,7 +132,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationMessageCollection_Sample/CPP/operationmessagecollection_sample.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationMessageCollection_Sample/VB/operationmessagecollection_sample.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.vb" id="Snippet5"::: ]]> @@ -178,7 +178,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationMessageCollection_Sample/CPP/operationmessagecollection_sample.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationMessageCollection_Sample/VB/operationmessagecollection_sample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.vb" id="Snippet3"::: ]]> @@ -219,7 +219,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationMessageCollection_Sample/CPP/operationmessagecollection_sample.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationMessageCollection_Sample/VB/operationmessagecollection_sample.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.vb" id="Snippet9"::: ]]> @@ -264,7 +264,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationMessageCollection_Sample/CPP/operationmessagecollection_sample.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationMessageCollection_Sample/VB/operationmessagecollection_sample.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.vb" id="Snippet6"::: ]]> @@ -305,7 +305,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationMessageCollection_Sample/CPP/operationmessagecollection_sample.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationMessageCollection_Sample/VB/operationmessagecollection_sample.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.vb" id="Snippet10"::: ]]> @@ -360,7 +360,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationMessageCollection_Sample/CPP/operationmessagecollection_sample.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationMessageCollection_Sample/VB/operationmessagecollection_sample.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.vb" id="Snippet8"::: ]]> @@ -405,7 +405,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationMessageCollection_Sample/CPP/operationmessagecollection_sample.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationMessageCollection_Sample/VB/operationmessagecollection_sample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.vb" id="Snippet2"::: ]]> @@ -557,7 +557,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationMessageCollection_Sample/CPP/operationmessagecollection_sample.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationMessageCollection_Sample/VB/operationmessagecollection_sample.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.vb" id="Snippet11"::: ]]> @@ -608,7 +608,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationMessageCollection_Sample/CPP/operationmessagecollection_sample.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationMessageCollection_Sample/VB/operationmessagecollection_sample.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationMessageCollection/Overview/operationmessagecollection_sample.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Web.Services.Description/OperationOutput.xml b/xml/System.Web.Services.Description/OperationOutput.xml index 94ad38e450c..79f170bfe37 100644 --- a/xml/System.Web.Services.Description/OperationOutput.xml +++ b/xml/System.Web.Services.Description/OperationOutput.xml @@ -49,7 +49,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/OperationOutput_OperationOutput/CPP/operationoutput_operationoutput.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/OperationOutput/Overview/operationoutput_operationoutput.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/OperationOutput_OperationOutput/VB/operationoutput_operationoutput.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/OperationOutput/Overview/operationoutput_operationoutput.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Description/OutputBinding.xml b/xml/System.Web.Services.Description/OutputBinding.xml index 1a37932d07c..b10b9c88639 100644 --- a/xml/System.Web.Services.Description/OutputBinding.xml +++ b/xml/System.Web.Services.Description/OutputBinding.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DescriptionNamespaceSample1/CPP/descriptionnamespacesample1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DescriptionNamespaceSample1/VB/descriptionnamespacesample1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/InputBinding/Overview/descriptionnamespacesample1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Web.Services.Description/Port.xml b/xml/System.Web.Services.Description/Port.xml index ecf0b305c0a..f29d35691e8 100644 --- a/xml/System.Web.Services.Description/Port.xml +++ b/xml/System.Web.Services.Description/Port.xml @@ -57,7 +57,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/PortClass/CPP/portclass.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/Port/Overview/portclass.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/PortClass/VB/portclass.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/Port/Overview/portclass.vb" id="Snippet1"::: ]]> @@ -138,7 +138,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/PortClass/CPP/portclass.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/Port/Overview/portclass.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/PortClass/VB/portclass.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/Port/Overview/portclass.vb" id="Snippet2"::: ]]> @@ -188,7 +188,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/PortClass/CPP/portclass.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/Port/Overview/portclass.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/PortClass/VB/portclass.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/Port/Overview/portclass.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Web.Services.Description/PortCollection.xml b/xml/System.Web.Services.Description/PortCollection.xml index a0f262e2d05..975873ae3f6 100644 --- a/xml/System.Web.Services.Description/PortCollection.xml +++ b/xml/System.Web.Services.Description/PortCollection.xml @@ -36,7 +36,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/PortCollection_Item/CPP/portcollection_item.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/PortCollection/Overview/portcollection_item.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/PortCollection_Item/VB/portcollection_item.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/PortCollection/Overview/portcollection_item.vb" id="Snippet1"::: ]]> @@ -81,7 +81,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/PortCollection_Add/CPP/portcollection_add.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/PortCollection/Add/portcollection_add.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/PortCollection_Add/VB/portcollection_add.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/PortCollection/Add/portcollection_add.vb" id="Snippet2"::: ]]> @@ -127,7 +127,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/PortCollection_Add/CPP/portcollection_add.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/PortCollection/Add/portcollection_add.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/PortCollection_Add/VB/portcollection_add.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/PortCollection/Add/portcollection_add.vb" id="Snippet2"::: ]]> @@ -173,7 +173,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/PortCollection_CopyTo/CPP/portcollection_copyto.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/PortCollection/CopyTo/portcollection_copyto.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/PortCollection_CopyTo/VB/portcollection_copyto.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/PortCollection/CopyTo/portcollection_copyto.vb" id="Snippet3"::: ]]> @@ -254,7 +254,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/PortCollection_CopyTo/CPP/portcollection_copyto.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/PortCollection/CopyTo/portcollection_copyto.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/PortCollection_CopyTo/VB/portcollection_copyto.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/PortCollection/CopyTo/portcollection_copyto.vb" id="Snippet2"::: ]]> @@ -309,7 +309,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/PortCollection_CopyTo/CPP/portcollection_copyto.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/PortCollection/CopyTo/portcollection_copyto.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/PortCollection_CopyTo/VB/portcollection_copyto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/PortCollection/CopyTo/portcollection_copyto.vb" id="Snippet1"::: ]]> @@ -369,7 +369,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/PortCollection_Item/CPP/portcollection_item.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/PortCollection/Overview/portcollection_item.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/PortCollection_Item/VB/portcollection_item.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/PortCollection/Overview/portcollection_item.vb" id="Snippet4"::: ]]> @@ -414,7 +414,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/PortCollection_Item/CPP/portcollection_item.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/PortCollection/Overview/portcollection_item.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/PortCollection_Item/VB/portcollection_item.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/PortCollection/Overview/portcollection_item.vb" id="Snippet3"::: ]]> @@ -465,7 +465,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/PortCollection_Item/CPP/portcollection_item.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/PortCollection/Overview/portcollection_item.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/PortCollection_Item/VB/portcollection_item.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/PortCollection/Overview/portcollection_item.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Web.Services.Description/PortType.xml b/xml/System.Web.Services.Description/PortType.xml index 8c221c00359..b0e9babd843 100644 --- a/xml/System.Web.Services.Description/PortType.xml +++ b/xml/System.Web.Services.Description/PortType.xml @@ -53,7 +53,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/PortType_Class/CPP/porttype_class.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/PortType/Overview/porttype_class.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/PortType_Class/VB/porttype_class.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/PortType/Overview/porttype_class.vb" id="Snippet1"::: ]]> @@ -195,7 +195,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/PortType/CPP/porttype.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/PortType/Operations/porttype.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/PortType/VB/porttype.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/PortType/Operations/porttype.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Description/PortTypeCollection.xml b/xml/System.Web.Services.Description/PortTypeCollection.xml index cd2777b9c4f..a626c748bb0 100644 --- a/xml/System.Web.Services.Description/PortTypeCollection.xml +++ b/xml/System.Web.Services.Description/PortTypeCollection.xml @@ -36,7 +36,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_Class/CPP/porttypecollection_class.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/PortTypeCollection/Overview/porttypecollection_class.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_Class/VB/porttypecollection_class.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Overview/porttypecollection_class.vb" id="Snippet1"::: ]]> @@ -81,7 +81,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_1/CPP/porttypecollection_1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/PortTypeCollection/Add/porttypecollection_1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_1/VB/porttypecollection_1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Add/porttypecollection_1.vb" id="Snippet3"::: ]]> @@ -127,7 +127,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_2/CPP/porttypecollection_2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/PortTypeCollection/Contains/porttypecollection_2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_2/VB/porttypecollection_2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Contains/porttypecollection_2.vb" id="Snippet1"::: ]]> @@ -173,7 +173,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_CopyTo/CPP/porttypecollection_copyto.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/PortTypeCollection/CopyTo/porttypecollection_copyto.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_CopyTo/VB/porttypecollection_copyto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/CopyTo/porttypecollection_copyto.vb" id="Snippet1"::: ]]> @@ -254,7 +254,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_2/CPP/porttypecollection_2.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/PortTypeCollection/Contains/porttypecollection_2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_2/VB/porttypecollection_2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Contains/porttypecollection_2.vb" id="Snippet3"::: ]]> @@ -309,7 +309,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_2/CPP/porttypecollection_2.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/PortTypeCollection/Contains/porttypecollection_2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_2/VB/porttypecollection_2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Contains/porttypecollection_2.vb" id="Snippet2"::: ]]> @@ -369,7 +369,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_1/CPP/porttypecollection_1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/PortTypeCollection/Add/porttypecollection_1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_1/VB/porttypecollection_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Add/porttypecollection_1.vb" id="Snippet1"::: ]]> @@ -414,7 +414,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_2/CPP/porttypecollection_2.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/PortTypeCollection/Contains/porttypecollection_2.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_2/VB/porttypecollection_2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Contains/porttypecollection_2.vb" id="Snippet4"::: ]]> @@ -466,7 +466,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/PortTypeCollection_1/CPP/porttypecollection_1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/PortTypeCollection/Add/porttypecollection_1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/PortTypeCollection_1/VB/porttypecollection_1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/PortTypeCollection/Add/porttypecollection_1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Web.Services.Description/Service.xml b/xml/System.Web.Services.Description/Service.xml index 00ec2cb3f7b..01f4428b7fe 100644 --- a/xml/System.Web.Services.Description/Service.xml +++ b/xml/System.Web.Services.Description/Service.xml @@ -53,7 +53,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceClass/CPP/serviceclass.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/Service/Overview/serviceclass.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceClass/VB/serviceclass.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/Service/Overview/serviceclass.vb" id="Snippet1"::: ]]> @@ -131,7 +131,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Service_Class4/CPP/service_class.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/Service/Extensions/service_class.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Service_Class4/VB/service_class.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/Service/Extensions/service_class.vb" id="Snippet2"::: ]]> @@ -208,7 +208,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Service_Class4/CPP/service_class.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/Service/Extensions/service_class.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Service_Class4/VB/service_class.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/Service/Extensions/service_class.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Description/ServiceCollection.xml b/xml/System.Web.Services.Description/ServiceCollection.xml index a075e0f9230..bac669f9e1c 100644 --- a/xml/System.Web.Services.Description/ServiceCollection.xml +++ b/xml/System.Web.Services.Description/ServiceCollection.xml @@ -79,7 +79,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceCollection_Item/CPP/servicecollection_item.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceCollection/Add/servicecollection_item.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_Item/VB/servicecollection_item.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Add/servicecollection_item.vb" id="Snippet6"::: ]]> @@ -125,7 +125,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceCollection_CopyTo/CPP/servicecollection_copyto.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceCollection/Contains/servicecollection_copyto.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_CopyTo/VB/servicecollection_copyto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Contains/servicecollection_copyto.vb" id="Snippet1"::: ]]> @@ -171,7 +171,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceCollection_CopyTo/CPP/servicecollection_copyto.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceCollection/Contains/servicecollection_copyto.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_CopyTo/VB/servicecollection_copyto.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Contains/servicecollection_copyto.vb" id="Snippet3"::: ]]> @@ -252,7 +252,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceCollection_CopyTo/CPP/servicecollection_copyto.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceCollection/Contains/servicecollection_copyto.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_CopyTo/VB/servicecollection_copyto.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Contains/servicecollection_copyto.vb" id="Snippet2"::: ]]> @@ -307,7 +307,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Read/CPP/servicedescription_read.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceCollection/Insert/servicedescription_read.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Read/VB/servicedescription_read.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Insert/servicedescription_read.vb" id="Snippet3"::: ]]> @@ -367,7 +367,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceCollection_Item/CPP/servicecollection_item.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceCollection/Add/servicecollection_item.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_Item/VB/servicecollection_item.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Add/servicecollection_item.vb" id="Snippet3"::: ]]> @@ -412,7 +412,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Read/CPP/servicedescription_read.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceCollection/Insert/servicedescription_read.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Read/VB/servicedescription_read.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Insert/servicedescription_read.vb" id="Snippet2"::: ]]> @@ -463,7 +463,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceCollection_Item/CPP/servicecollection_item.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceCollection/Add/servicecollection_item.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_Item/VB/servicecollection_item.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Add/servicecollection_item.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Web.Services.Description/ServiceDescription.xml b/xml/System.Web.Services.Description/ServiceDescription.xml index 87bb7699959..c2fe67e59d9 100644 --- a/xml/System.Web.Services.Description/ServiceDescription.xml +++ b/xml/System.Web.Services.Description/ServiceDescription.xml @@ -61,7 +61,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescription/CPP/servicedescription.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescription/Overview/servicedescription.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription/VB/servicedescription.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Overview/servicedescription.vb" id="Snippet1"::: ]]> @@ -141,7 +141,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Bindings/CPP/servicedescription_bindings.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescription/Bindings/servicedescription_bindings.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Bindings/VB/servicedescription_bindings.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Bindings/servicedescription_bindings.vb" id="Snippet1"::: ]]> @@ -187,7 +187,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_PortTypes_2/CPP/servicedescription_porttypes_2.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescription/CanRead/servicedescription_porttypes_2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_PortTypes_2/VB/servicedescription_porttypes_2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/CanRead/servicedescription_porttypes_2.vb" id="Snippet2"::: ]]> @@ -237,7 +237,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Extensions_RetrieveUrl/CPP/servicedescription_extensions_2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescription/Extensions/servicedescription_extensions_2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Extensions_RetrieveUrl/VB/servicedescription_extensions_2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Extensions/servicedescription_extensions_2.vb" id="Snippet1"::: ]]> @@ -289,7 +289,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Imports_Service/CPP/servicedescription_imports.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescription/Imports/servicedescription_imports.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Imports_Service/VB/servicedescription_imports.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Imports/servicedescription_imports.vb" id="Snippet1"::: ]]> @@ -341,7 +341,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Constructor_4/CPP/servicedescription_constructor_4.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescription/Messages/servicedescription_constructor_4.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Constructor_4/VB/servicedescription_constructor_4.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Messages/servicedescription_constructor_4.vb" id="Snippet3"::: ]]> @@ -411,7 +411,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Namespace/CPP/servicedescription_namespace.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescription/Namespace/servicedescription_namespace.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Namespace/VB/servicedescription_namespace.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Namespace/servicedescription_namespace.vb" id="Snippet1"::: ]]> @@ -463,7 +463,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_PortTypes_2/CPP/servicedescription_porttypes_2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescription/CanRead/servicedescription_porttypes_2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_PortTypes_2/VB/servicedescription_porttypes_2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/CanRead/servicedescription_porttypes_2.vb" id="Snippet1"::: ]]> @@ -518,7 +518,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Read2/CPP/servicedescription_read2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescription/Read/servicedescription_read2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Read2/VB/servicedescription_read2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Read/servicedescription_read2.vb" id="Snippet1"::: ]]> @@ -563,7 +563,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Read1/CPP/servicedescription_read1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescription/Read/servicedescription_read1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Read1/VB/servicedescription_read1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Read/servicedescription_read1.vb" id="Snippet1"::: ]]> @@ -608,7 +608,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Constructor_4/CPP/servicedescription_constructor_4.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescription/Messages/servicedescription_constructor_4.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Constructor_4/VB/servicedescription_constructor_4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Messages/servicedescription_constructor_4.vb" id="Snippet2"::: ]]> @@ -653,7 +653,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Read/CPP/servicedescription_read.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceCollection/Insert/servicedescription_read.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Read/VB/servicedescription_read.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Insert/servicedescription_read.vb" id="Snippet1"::: ]]> @@ -848,7 +848,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Extensions_RetrieveUrl/CPP/servicedescription_extensions_2.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescription/Extensions/servicedescription_extensions_2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Extensions_RetrieveUrl/VB/servicedescription_extensions_2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Extensions/servicedescription_extensions_2.vb" id="Snippet2"::: ]]> @@ -1015,7 +1015,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceCollection_Item/CPP/servicecollection_item.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceCollection/Add/servicecollection_item.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_Item/VB/servicecollection_item.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Add/servicecollection_item.vb" id="Snippet4"::: ]]> @@ -1062,7 +1062,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceCollection_Item/CPP/servicecollection_item.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceCollection/Add/servicecollection_item.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_Item/VB/servicecollection_item.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Add/servicecollection_item.vb" id="Snippet5"::: ]]> @@ -1114,7 +1114,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Types/CPP/servicedescription_types.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescription/Types/servicedescription_types.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Types/VB/servicedescription_types.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Types/servicedescription_types.vb" id="Snippet1"::: ]]> @@ -1205,7 +1205,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescription_Types/CPP/servicedescription_types.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescription/Types/servicedescription_types.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescription_Types/VB/servicedescription_types.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescription/Types/servicedescription_types.vb" id="Snippet2"::: ]]> @@ -1284,7 +1284,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceCollection_Item/CPP/servicecollection_item.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceCollection/Add/servicecollection_item.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceCollection_Item/VB/servicecollection_item.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceCollection/Add/servicecollection_item.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Description/ServiceDescriptionBaseCollection.xml b/xml/System.Web.Services.Description/ServiceDescriptionBaseCollection.xml index bebf5cb960d..65d794bba08 100644 --- a/xml/System.Web.Services.Description/ServiceDescriptionBaseCollection.xml +++ b/xml/System.Web.Services.Description/ServiceDescriptionBaseCollection.xml @@ -36,7 +36,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionBaseCollection/CPP/servicedescriptionbasecollection.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionBaseCollection/Overview/servicedescriptionbasecollection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionBaseCollection/VB/servicedescriptionbasecollection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionBaseCollection/Overview/servicedescriptionbasecollection.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Description/ServiceDescriptionCollection.xml b/xml/System.Web.Services.Description/ServiceDescriptionCollection.xml index 9610046b17a..799a883967c 100644 --- a/xml/System.Web.Services.Description/ServiceDescriptionCollection.xml +++ b/xml/System.Web.Services.Description/ServiceDescriptionCollection.xml @@ -36,7 +36,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection/CPP/servicedescriptioncollection.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/Overview/servicedescriptioncollection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection/VB/servicedescriptioncollection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/Overview/servicedescriptioncollection.vb" id="Snippet1"::: ]]> @@ -73,7 +73,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_Constructor_Add_Item/CPP/sdcollection_constructor_add_item.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/.ctor/servicedescriptioncollection_constructor_add_item.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Constructor_Add_Item/VB/servicedescriptioncollection_constructor_add_item.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/.ctor/servicedescriptioncollection_constructor_add_item.vb" id="Snippet1"::: ]]> @@ -118,7 +118,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_Constructor_Add_Item/CPP/sdcollection_constructor_add_item.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/.ctor/servicedescriptioncollection_constructor_add_item.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Constructor_Add_Item/VB/servicedescriptioncollection_constructor_add_item.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/.ctor/servicedescriptioncollection_constructor_add_item.vb" id="Snippet2"::: ]]> @@ -163,7 +163,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/Contains/servicedescriptioncollection_contains_indexof_remove.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Contains_IndexOf_Remove/VB/servicedescriptioncollection_contains_indexof_remove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/Contains/servicedescriptioncollection_contains_indexof_remove.vb" id="Snippet1"::: ]]> @@ -209,7 +209,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_Insert_Item_CopyTo/CPP/sdcollection_insert_item_copyto.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/CopyTo/servicedescriptioncollection_insert_item_copyto.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Insert_Item_CopyTo/VB/servicedescriptioncollection_insert_item_copyto.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/CopyTo/servicedescriptioncollection_insert_item_copyto.vb" id="Snippet3"::: ]]> @@ -254,7 +254,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_GetBinding/CPP/servicedescriptioncollection_getbinding.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetBinding/servicedescriptioncollection_getbinding.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetBinding/VB/servicedescriptioncollection_getbinding.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetBinding/servicedescriptioncollection_getbinding.vb" id="Snippet1"::: ]]> @@ -336,7 +336,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_GetMessage/CPP/servicedescriptioncollection_getmessage.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetMessage/servicedescriptioncollection_getmessage.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetMessage/VB/servicedescriptioncollection_getmessage.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetMessage/servicedescriptioncollection_getmessage.vb" id="Snippet1"::: ]]> @@ -382,7 +382,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_GetPortType/CPP/servicedescriptioncollection_getporttype.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetPortType/servicedescriptioncollection_getporttype.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetPortType/VB/servicedescriptioncollection_getporttype.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetPortType/servicedescriptioncollection_getporttype.vb" id="Snippet1"::: ]]> @@ -428,7 +428,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_GetService/CPP/servicedescriptioncollection_getservice.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/GetService/servicedescriptioncollection_getservice.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_GetService/VB/servicedescriptioncollection_getservice.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/GetService/servicedescriptioncollection_getservice.vb" id="Snippet1"::: ]]> @@ -473,7 +473,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/Contains/servicedescriptioncollection_contains_indexof_remove.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Contains_IndexOf_Remove/VB/servicedescriptioncollection_contains_indexof_remove.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/Contains/servicedescriptioncollection_contains_indexof_remove.vb" id="Snippet2"::: ]]> @@ -528,7 +528,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_Insert_Item_CopyTo/CPP/sdcollection_insert_item_copyto.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/CopyTo/servicedescriptioncollection_insert_item_copyto.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Insert_Item_CopyTo/VB/servicedescriptioncollection_insert_item_copyto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/CopyTo/servicedescriptioncollection_insert_item_copyto.vb" id="Snippet1"::: ]]> @@ -588,7 +588,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_Constructor_Add_Item/CPP/sdcollection_constructor_add_item.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/.ctor/servicedescriptioncollection_constructor_add_item.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Constructor_Add_Item/VB/servicedescriptioncollection_constructor_add_item.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/.ctor/servicedescriptioncollection_constructor_add_item.vb" id="Snippet3"::: ]]> @@ -633,7 +633,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionCollection_Insert_Item_CopyTo/CPP/sdcollection_insert_item_copyto.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/CopyTo/servicedescriptioncollection_insert_item_copyto.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Insert_Item_CopyTo/VB/servicedescriptioncollection_insert_item_copyto.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/CopyTo/servicedescriptioncollection_insert_item_copyto.vb" id="Snippet2"::: ]]> @@ -719,7 +719,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionCollection/Contains/servicedescriptioncollection_contains_indexof_remove.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionCollection_Contains_IndexOf_Remove/VB/servicedescriptioncollection_contains_indexof_remove.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionCollection/Contains/servicedescriptioncollection_contains_indexof_remove.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection.xml b/xml/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection.xml index 6e3bf5ce339..ba8801ae1db 100644 --- a/xml/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection.xml +++ b/xml/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection.xml @@ -41,7 +41,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/CPP/servicedescriptionformatextension_13.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/VB/servicedescriptionformatextension_13.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.vb" id="Snippet1"::: ]]> @@ -87,7 +87,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/CPP/servicedescriptionformatextension_13.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/VB/servicedescriptionformatextension_13.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.vb" id="Snippet2"::: ]]> @@ -132,7 +132,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/CPP/servicedescriptionformatextension_13.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/VB/servicedescriptionformatextension_13.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.vb" id="Snippet3"::: ]]> @@ -178,7 +178,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/CPP/servicedescriptionformatextension_13.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/VB/servicedescriptionformatextension_13.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.vb" id="Snippet10"::: ]]> @@ -224,7 +224,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/CPP/servicedescriptionformatextension_13.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/VB/servicedescriptionformatextension_13.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.vb" id="Snippet9"::: ]]> @@ -329,7 +329,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/CPP/servicedescriptionformatextension_13.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/VB/servicedescriptionformatextension_13.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.vb" id="Snippet5"::: ]]> @@ -391,7 +391,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/CPP/servicedescriptionformatextension_13.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/VB/servicedescriptionformatextension_13.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.vb" id="Snippet6"::: ]]> @@ -483,7 +483,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/CPP/servicedescriptionformatextension_13.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/VB/servicedescriptionformatextension_13.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.vb" id="Snippet11"::: ]]> @@ -538,7 +538,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/CPP/servicedescriptionformatextension_13.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/VB/servicedescriptionformatextension_13.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.vb" id="Snippet13"::: ]]> @@ -594,7 +594,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/CPP/servicedescriptionformatextension_13.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/VB/servicedescriptionformatextension_13.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.vb" id="Snippet7"::: ]]> @@ -640,7 +640,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/CPP/servicedescriptionformatextension_13.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/VB/servicedescriptionformatextension_13.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.vb" id="Snippet8"::: ]]> @@ -685,7 +685,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/CPP/servicedescriptionformatextension_13.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/VB/servicedescriptionformatextension_13.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.vb" id="Snippet4"::: ]]> @@ -764,7 +764,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/CPP/servicedescriptionformatextension_13.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionFormatExtension_13/VB/servicedescriptionformatextension_13.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection/Overview/servicedescriptionformatextension_13.vb" id="Snippet12"::: ]]> diff --git a/xml/System.Web.Services.Description/ServiceDescriptionImportStyle.xml b/xml/System.Web.Services.Description/ServiceDescriptionImportStyle.xml index 0c47d1a21d9..1beb524a03a 100644 --- a/xml/System.Web.Services.Description/ServiceDescriptionImportStyle.xml +++ b/xml/System.Web.Services.Description/ServiceDescriptionImportStyle.xml @@ -28,7 +28,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionImportStyle_Client/CPP/servicedescriptionimportstyle_client.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionImportStyle/Overview/servicedescriptionimportstyle_client.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionImportStyle_Client/VB/servicedescriptionimportstyle_client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionImportStyle/Overview/servicedescriptionimportstyle_client.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Description/ServiceDescriptionImportWarnings.xml b/xml/System.Web.Services.Description/ServiceDescriptionImportWarnings.xml index cf50bdeb2e4..01e578c3d14 100644 --- a/xml/System.Web.Services.Description/ServiceDescriptionImportWarnings.xml +++ b/xml/System.Web.Services.Description/ServiceDescriptionImportWarnings.xml @@ -28,7 +28,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ServiceDescriptionImportWarnings_Enum/CPP/servicedescriptionimportwarnings_enum.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/ServiceDescriptionImportWarnings/Overview/servicedescriptionimportwarnings_enum.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ServiceDescriptionImportWarnings_Enum/VB/servicedescriptionimportwarnings_enum.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/ServiceDescriptionImportWarnings/Overview/servicedescriptionimportwarnings_enum.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Description/SoapAddressBinding.xml b/xml/System.Web.Services.Description/SoapAddressBinding.xml index 09ddf30cee3..222b36b66c8 100644 --- a/xml/System.Web.Services.Description/SoapAddressBinding.xml +++ b/xml/System.Web.Services.Description/SoapAddressBinding.xml @@ -47,7 +47,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapOperationBinding/CPP/soapoperationbinding.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapAddressBinding/Overview/soapoperationbinding.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapOperationBinding/VB/soapoperationbinding.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapAddressBinding/Overview/soapoperationbinding.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Web.Services.Description/SoapBinding.xml b/xml/System.Web.Services.Description/SoapBinding.xml index b7ae1a4ad7c..bff750d6928 100644 --- a/xml/System.Web.Services.Description/SoapBinding.xml +++ b/xml/System.Web.Services.Description/SoapBinding.xml @@ -57,7 +57,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapOperationBinding/CPP/soapoperationbinding.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapAddressBinding/Overview/soapoperationbinding.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapOperationBinding/VB/soapoperationbinding.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapAddressBinding/Overview/soapoperationbinding.vb" id="Snippet1"::: ]]> @@ -131,7 +131,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapOperationBinding/CPP/soapoperationbinding.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapAddressBinding/Overview/soapoperationbinding.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapOperationBinding/VB/soapoperationbinding.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapAddressBinding/Overview/soapoperationbinding.vb" id="Snippet5"::: ]]> @@ -176,7 +176,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapBodyBinding_Parts/CPP/soapbodybinding_parts.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapBinding/Namespace/soapbodybinding_parts.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapBodyBinding_Parts/VB/soapbodybinding_parts.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Namespace/soapbodybinding_parts.vb" id="Snippet1"::: ]]> @@ -262,7 +262,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapBinding_SoapOperationBinding/CPP/soapprotocol.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapBinding/Style/soapprotocol.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapBinding_SoapOperationBinding/VB/soapprotocol.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/soapprotocol.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Web.Services.Description/SoapBindingStyle.xml b/xml/System.Web.Services.Description/SoapBindingStyle.xml index 7b1c03642cb..69ffd252622 100644 --- a/xml/System.Web.Services.Description/SoapBindingStyle.xml +++ b/xml/System.Web.Services.Description/SoapBindingStyle.xml @@ -40,7 +40,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapBinding_SoapOperationBinding/CPP/soapprotocol.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapBinding/Style/soapprotocol.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapBinding_SoapOperationBinding/VB/soapprotocol.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/soapprotocol.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Web.Services.Description/SoapBodyBinding.xml b/xml/System.Web.Services.Description/SoapBodyBinding.xml index 06284c9b50e..ad22540d51d 100644 --- a/xml/System.Web.Services.Description/SoapBodyBinding.xml +++ b/xml/System.Web.Services.Description/SoapBodyBinding.xml @@ -49,7 +49,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapOperationBinding/CPP/soapoperationbinding.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapAddressBinding/Overview/soapoperationbinding.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapOperationBinding/VB/soapoperationbinding.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapAddressBinding/Overview/soapoperationbinding.vb" id="Snippet3"::: ]]> @@ -133,7 +133,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapBindingStyle_Rpc/CPP/soapbindingstyle_rpc.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/Encoding/soapbindingstyle_rpc.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapBindingStyle_Rpc/VB/soapbindingstyle_rpc.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/Encoding/soapbindingstyle_rpc.vb" id="Snippet3"::: ]]> @@ -189,7 +189,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapBindingStyle_Rpc/CPP/soapbindingstyle_rpc.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/Encoding/soapbindingstyle_rpc.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapBindingStyle_Rpc/VB/soapbindingstyle_rpc.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/Encoding/soapbindingstyle_rpc.vb" id="Snippet4"::: ]]> @@ -243,7 +243,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapBodyBinding_Parts/CPP/soapbodybinding_parts.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapBinding/Namespace/soapbodybinding_parts.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapBodyBinding_Parts/VB/soapbodybinding_parts.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Namespace/soapbodybinding_parts.vb" id="Snippet1"::: ]]> @@ -301,7 +301,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapFaultBinding_ctor/CPP/soapfaultbinding_ctor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapFaultBinding_ctor/VB/soapfaultbinding_ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Description/SoapFaultBinding.xml b/xml/System.Web.Services.Description/SoapFaultBinding.xml index 8f3a16a51f4..f07a849c334 100644 --- a/xml/System.Web.Services.Description/SoapFaultBinding.xml +++ b/xml/System.Web.Services.Description/SoapFaultBinding.xml @@ -49,7 +49,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapFaultBinding/CPP/soapfaultbinding.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapFaultBinding/Overview/soapfaultbinding.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapFaultBinding/VB/soapfaultbinding.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapFaultBinding/Overview/soapfaultbinding.vb" id="Snippet1"::: ]]> @@ -133,7 +133,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapFaultBinding_ctor/CPP/soapfaultbinding_ctor.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapFaultBinding_ctor/VB/soapfaultbinding_ctor.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.vb" id="Snippet4"::: ]]> @@ -222,7 +222,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapFaultBinding_ctor/CPP/soapfaultbinding_ctor.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapFaultBinding_ctor/VB/soapfaultbinding_ctor.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.vb" id="Snippet5"::: ]]> @@ -273,7 +273,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapFaultBinding_ctor/CPP/soapfaultbinding_ctor.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapFaultBinding_ctor/VB/soapfaultbinding_ctor.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapBodyBinding/PartsString/soapfaultbinding_ctor.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Web.Services.Description/SoapHeaderBinding.xml b/xml/System.Web.Services.Description/SoapHeaderBinding.xml index f7bd1a2e21a..a97f5e470b7 100644 --- a/xml/System.Web.Services.Description/SoapHeaderBinding.xml +++ b/xml/System.Web.Services.Description/SoapHeaderBinding.xml @@ -47,7 +47,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapHeaderBinding/CPP/soapheaderbinding.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Overview/soapheaderbinding.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderBinding/VB/soapheaderbinding.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Overview/soapheaderbinding.vb" id="Snippet1"::: ]]> @@ -218,7 +218,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapHeaderBinding_MapToProperty/CPP/soapheaderbinding_maptoproperty.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/soapheaderbinding_maptoproperty.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderBinding_MapToProperty/VB/soapheaderbinding_maptoproperty.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/MapToProperty/soapheaderbinding_maptoproperty.vb" id="Snippet1"::: ]]> @@ -270,7 +270,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapHeaderBinding_Use/CPP/soapheaderbinding_use.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Message/soapheaderbinding_use.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderBinding_Use/VB/soapheaderbinding_use.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Message/soapheaderbinding_use.vb" id="Snippet2"::: ]]> @@ -370,7 +370,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapHeaderBinding_Use/CPP/soapheaderbinding_use.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapHeaderBinding/Message/soapheaderbinding_use.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderBinding_Use/VB/soapheaderbinding_use.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapHeaderBinding/Message/soapheaderbinding_use.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Web.Services.Description/SoapOperationBinding.xml b/xml/System.Web.Services.Description/SoapOperationBinding.xml index 6ad9025deca..e83d4266aeb 100644 --- a/xml/System.Web.Services.Description/SoapOperationBinding.xml +++ b/xml/System.Web.Services.Description/SoapOperationBinding.xml @@ -49,7 +49,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapOperationBinding/CPP/soapoperationbinding.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapAddressBinding/Overview/soapoperationbinding.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapOperationBinding/VB/soapoperationbinding.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapAddressBinding/Overview/soapoperationbinding.vb" id="Snippet2"::: ]]> @@ -129,7 +129,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapBinding_SoapOperationBinding/CPP/soapprotocol.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/SoapBinding/Style/soapprotocol.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapBinding_SoapOperationBinding/VB/soapprotocol.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Description/SoapBinding/Style/soapprotocol.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Web.Services.Discovery/ContractReference.xml b/xml/System.Web.Services.Discovery/ContractReference.xml index 9413fc36905..8ceaa343f3b 100644 --- a/xml/System.Web.Services.Discovery/ContractReference.xml +++ b/xml/System.Web.Services.Discovery/ContractReference.xml @@ -37,7 +37,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ContractReference/CPP/contractreference.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/ContractReference/Overview/contractreference.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ContractReference/VB/contractreference.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/Overview/contractreference.vb" id="Snippet1"::: ]]> @@ -87,7 +87,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ContractReference_Reference/CPP/contractreference_ref.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/ContractReference/.ctor/contractreference_ref.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_Reference/VB/contractreference_ref.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/.ctor/contractreference_ref.vb" id="Snippet1"::: ]]> @@ -130,7 +130,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ContractReference_ctor1/CPP/contractreference_ctor1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/ContractReference/.ctor/contractreference_ctor1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_ctor1/VB/contractreference_ctor1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/.ctor/contractreference_ctor1.vb" id="Snippet1"::: ]]> @@ -176,7 +176,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ContractReference_ctor2/CPP/contractreference_ctor2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/ContractReference/.ctor/contractreference_ctor2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_ctor2/VB/contractreference_ctor2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/.ctor/contractreference_ctor2.vb" id="Snippet1"::: ]]> @@ -214,7 +214,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ContractReference_Contract/CPP/contractreference_contract.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/ContractReference/Contract/contractreference_contract.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_Contract/VB/contractreference_contract.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/Contract/contractreference_contract.vb" id="Snippet1"::: ]]> @@ -256,7 +256,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ContractReference_DefaultFileName/CPP/contractreference_defaultfilename.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/ContractReference/DefaultFilename/contractreference_defaultfilename.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_DefaultFileName/VB/contractreference_defaultfilename.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/DefaultFilename/contractreference_defaultfilename.vb" id="Snippet1"::: ]]> @@ -306,7 +306,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ContractReference_Reference/CPP/contractreference_ref.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/ContractReference/.ctor/contractreference_ref.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_Reference/VB/contractreference_ref.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/.ctor/contractreference_ref.vb" id="Snippet3"::: ]]> @@ -345,7 +345,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ContractReference_Reference/CPP/contractreference_ref.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/ContractReference/.ctor/contractreference_ref.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_Reference/VB/contractreference_ref.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/.ctor/contractreference_ref.vb" id="Snippet4"::: ]]> @@ -382,7 +382,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ContractReference_ReadDocument/CPP/contractreference_readdocument.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/ContractReference/ReadDocument/contractreference_readdocument.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_ReadDocument/VB/contractreference_readdocument.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/ReadDocument/contractreference_readdocument.vb" id="Snippet1"::: ]]> @@ -436,7 +436,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ContractReference_Reference/CPP/contractreference_ref.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/ContractReference/.ctor/contractreference_ref.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_Reference/VB/contractreference_ref.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/.ctor/contractreference_ref.vb" id="Snippet2"::: ]]> @@ -524,7 +524,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ContractReference_DefaultFileName/CPP/contractreference_defaultfilename.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/ContractReference/DefaultFilename/contractreference_defaultfilename.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_DefaultFileName/VB/contractreference_defaultfilename.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/DefaultFilename/contractreference_defaultfilename.vb" id="Snippet2"::: ]]> @@ -562,7 +562,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/ContractReference_WriteDocument/CPP/contractreference_writedocument.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/ContractReference/WriteDocument/contractreference_writedocument.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/ContractReference_WriteDocument/VB/contractreference_writedocument.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/ContractReference/WriteDocument/contractreference_writedocument.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Discovery/DiscoveryClientDocumentCollection.xml b/xml/System.Web.Services.Discovery/DiscoveryClientDocumentCollection.xml index 1794fbf0ad3..88d834a393b 100644 --- a/xml/System.Web.Services.Discovery/DiscoveryClientDocumentCollection.xml +++ b/xml/System.Web.Services.Discovery/DiscoveryClientDocumentCollection.xml @@ -31,7 +31,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientDocumentCollection2/CPP/discoveryclientdocumentcollection.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientDocumentCollection/Overview/discoveryclientdocumentcollection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientDocumentCollection2/VB/discoveryclientdocumentcollection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientDocumentCollection/Overview/discoveryclientdocumentcollection.vb" id="Snippet1"::: ]]> @@ -91,7 +91,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientDocumentCollection_ctor/CPP/discoveryclientdocumentcollection_ctor.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientDocumentCollection/Add/discoveryclientdocumentcollection_ctor.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientDocumentCollection_ctor/VB/discoveryclientdocumentcollection_ctor.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientDocumentCollection/Add/discoveryclientdocumentcollection_ctor.vb" id="Snippet2"::: ]]> @@ -134,7 +134,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientDocumentCollection_Keys/CPP/discoveryclientdocumentcollection_keys.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientDocumentCollection/Contains/discoveryclientdocumentcollection_keys.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientDocumentCollection_Keys/VB/discoveryclientdocumentcollection_keys.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientDocumentCollection/Contains/discoveryclientdocumentcollection_keys.vb" id="Snippet3"::: ]]> @@ -175,7 +175,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientDocumentCollection_ctor/CPP/discoveryclientdocumentcollection_ctor.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientDocumentCollection/Add/discoveryclientdocumentcollection_ctor.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientDocumentCollection_ctor/VB/discoveryclientdocumentcollection_ctor.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientDocumentCollection/Add/discoveryclientdocumentcollection_ctor.vb" id="Snippet4"::: ]]> @@ -211,7 +211,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientDocumentCollection_Keys/CPP/discoveryclientdocumentcollection_keys.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientDocumentCollection/Contains/discoveryclientdocumentcollection_keys.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientDocumentCollection_Keys/VB/discoveryclientdocumentcollection_keys.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientDocumentCollection/Contains/discoveryclientdocumentcollection_keys.vb" id="Snippet1"::: ]]> @@ -249,7 +249,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientDocumentCollection_ctor/CPP/discoveryclientdocumentcollection_ctor.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientDocumentCollection/Add/discoveryclientdocumentcollection_ctor.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientDocumentCollection_ctor/VB/discoveryclientdocumentcollection_ctor.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientDocumentCollection/Add/discoveryclientdocumentcollection_ctor.vb" id="Snippet3"::: ]]> @@ -286,7 +286,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientDocumentCollection_Keys/CPP/discoveryclientdocumentcollection_keys.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientDocumentCollection/Contains/discoveryclientdocumentcollection_keys.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientDocumentCollection_Keys/VB/discoveryclientdocumentcollection_keys.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientDocumentCollection/Contains/discoveryclientdocumentcollection_keys.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Web.Services.Discovery/DiscoveryClientProtocol+DiscoveryClientResultsFile.xml b/xml/System.Web.Services.Discovery/DiscoveryClientProtocol+DiscoveryClientResultsFile.xml index 235df70ccce..0898352fc15 100644 --- a/xml/System.Web.Services.Discovery/DiscoveryClientProtocol+DiscoveryClientResultsFile.xml +++ b/xml/System.Web.Services.Discovery/DiscoveryClientProtocol+DiscoveryClientResultsFile.xml @@ -29,7 +29,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientResultsFile_Results/CPP/discoveryclientresultsfile_results.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientProtocol+DiscoveryClientResultsFile/Overview/discoveryclientresultsfile_results.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResultsFile_Results/VB/discoveryclientresultsfile_results.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol+DiscoveryClientResultsFile/Overview/discoveryclientresultsfile_results.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Discovery/DiscoveryClientProtocol.xml b/xml/System.Web.Services.Discovery/DiscoveryClientProtocol.xml index 61b0a9ea687..9c336b51f04 100644 --- a/xml/System.Web.Services.Discovery/DiscoveryClientProtocol.xml +++ b/xml/System.Web.Services.Discovery/DiscoveryClientProtocol.xml @@ -96,7 +96,7 @@ ## Examples [!code-cpp[DiscoveryClientProtocol_AdditionalInformation#1](~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientProtocol_AdditionalInformation/CPP/discoveryclientprotocol_additionalinformation.cpp#1)] [!code-csharp[DiscoveryClientProtocol_AdditionalInformation#1](~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientProtocol/AdditionalInformation/discoveryclientprotocol_additionalinformation.cs#1)] - [!code-vb[DiscoveryClientProtocol_AdditionalInformation#1](~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientProtocol_AdditionalInformation/VB/discoveryclientprotocol_additionalinformation.vb#1)] + [!code-vb[DiscoveryClientProtocol_AdditionalInformation#1](~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol/AdditionalInformation/discoveryclientprotocol_additionalinformation.vb#1)] ]]> @@ -280,7 +280,7 @@ ## Examples [!code-cpp[DiscoveryClientProtocol_Download#2](~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientProtocol_Download/CPP/discoveryclientprotocol_download.cpp#2)] [!code-csharp[DiscoveryClientProtocol_Download#2](~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientProtocol/Download/discoveryclientprotocol_download.cs#2)] - [!code-vb[DiscoveryClientProtocol_Download#2](~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientProtocol_Download/VB/discoveryclientprotocol_download.vb#2)] + [!code-vb[DiscoveryClientProtocol_Download#2](~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol/Download/discoveryclientprotocol_download.vb#2)] ]]> @@ -319,7 +319,7 @@ ## Examples [!code-cpp[DiscoveryClientProtocol_Download2#1](~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientProtocol_Download2/CPP/discoveryclientprotocol_download.cpp#1)] [!code-csharp[DiscoveryClientProtocol_Download2#1](~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientProtocol/Download/discoveryclientprotocol_download1.cs#1)] - [!code-vb[DiscoveryClientProtocol_Download2#1](~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientProtocol_Download2/VB/discoveryclientprotocol_download.vb#1)] + [!code-vb[DiscoveryClientProtocol_Download2#1](~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol/Download/discoveryclientprotocol_download1.vb#1)] ]]> @@ -357,7 +357,7 @@ ## Examples [!code-cpp[DiscoveryClientProtocol_Errors#1](~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientProtocol_Errors/CPP/discoveryclientprotocol_errors.cpp#1)] [!code-csharp[DiscoveryClientProtocol_Errors#1](~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientProtocol/Errors/discoveryclientprotocol_errors.cs#1)] - [!code-vb[DiscoveryClientProtocol_Errors#1](~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientProtocol_Errors/VB/discoveryclientprotocol_errors.vb#1)] + [!code-vb[DiscoveryClientProtocol_Errors#1](~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientProtocol/Errors/discoveryclientprotocol_errors.vb#1)] ]]> diff --git a/xml/System.Web.Services.Discovery/DiscoveryClientReferenceCollection.xml b/xml/System.Web.Services.Discovery/DiscoveryClientReferenceCollection.xml index 19fe0e5b743..2c4cbcba1be 100644 --- a/xml/System.Web.Services.Discovery/DiscoveryClientReferenceCollection.xml +++ b/xml/System.Web.Services.Discovery/DiscoveryClientReferenceCollection.xml @@ -29,7 +29,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientReferenceCollection/CPP/discoveryclientreferencecollection.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientReferenceCollection/Overview/discoveryclientreferencecollection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientReferenceCollection/VB/discoveryclientreferencecollection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientReferenceCollection/Overview/discoveryclientreferencecollection.vb" id="Snippet1"::: ]]> @@ -93,7 +93,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientReferenceCollection_Items/CPP/discoveryclientreferencecollection_items.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientReferenceCollection/Add/discoveryclientreferencecollection_items.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientReferenceCollection_Items/VB/discoveryclientreferencecollection_items.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientReferenceCollection/Add/discoveryclientreferencecollection_items.vb" id="Snippet2"::: ]]> @@ -130,7 +130,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientReferenceCollection_Items/CPP/discoveryclientreferencecollection_items.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientReferenceCollection/Add/discoveryclientreferencecollection_items.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientReferenceCollection_Items/VB/discoveryclientreferencecollection_items.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientReferenceCollection/Add/discoveryclientreferencecollection_items.vb" id="Snippet3"::: ]]> @@ -167,7 +167,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientReferenceCollection_Keys/CPP/discoveryclientreferencecollection_keys.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientReferenceCollection/Contains/discoveryclientreferencecollection_keys.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientReferenceCollection_Keys/VB/discoveryclientreferencecollection_keys.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientReferenceCollection/Contains/discoveryclientreferencecollection_keys.vb" id="Snippet3"::: ]]> @@ -203,7 +203,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientReferenceCollection_Items/CPP/discoveryclientreferencecollection_items.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientReferenceCollection/Add/discoveryclientreferencecollection_items.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientReferenceCollection_Items/VB/discoveryclientreferencecollection_items.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientReferenceCollection/Add/discoveryclientreferencecollection_items.vb" id="Snippet5"::: ]]> @@ -235,7 +235,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientReferenceCollection_Keys/CPP/discoveryclientreferencecollection_keys.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientReferenceCollection/Contains/discoveryclientreferencecollection_keys.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientReferenceCollection_Keys/VB/discoveryclientreferencecollection_keys.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientReferenceCollection/Contains/discoveryclientreferencecollection_keys.vb" id="Snippet1"::: ]]> @@ -270,7 +270,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientReferenceCollection_Items/CPP/discoveryclientreferencecollection_items.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientReferenceCollection/Add/discoveryclientreferencecollection_items.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientReferenceCollection_Items/VB/discoveryclientreferencecollection_items.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientReferenceCollection/Add/discoveryclientreferencecollection_items.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Web.Services.Discovery/DiscoveryClientResult.xml b/xml/System.Web.Services.Discovery/DiscoveryClientResult.xml index d52eafae2c3..a57293aabb5 100644 --- a/xml/System.Web.Services.Discovery/DiscoveryClientResult.xml +++ b/xml/System.Web.Services.Discovery/DiscoveryClientResult.xml @@ -31,7 +31,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientResult/CPP/discoveryclientresult.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientResult/Overview/discoveryclientresult.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResult/VB/discoveryclientresult.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResult/Overview/discoveryclientresult.vb" id="Snippet1"::: ]]> @@ -69,7 +69,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientResult_Filename/CPP/discoveryclientresult_filename.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/discoveryclientresult_filename.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResult_Filename/VB/discoveryclientresult_filename.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/discoveryclientresult_filename.vb" id="Snippet2"::: ]]> @@ -105,7 +105,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientResult_ctor/CPP/discoveryclientresult_ctor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/discoveryclientresult_ctor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResult_ctor/VB/discoveryclientresult_ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/discoveryclientresult_ctor.vb" id="Snippet1"::: ]]> @@ -148,7 +148,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientResult_Filename/CPP/discoveryclientresult_filename.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/discoveryclientresult_filename.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResult_Filename/VB/discoveryclientresult_filename.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/discoveryclientresult_filename.vb" id="Snippet5"::: ]]> @@ -191,7 +191,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientResult_Filename/CPP/discoveryclientresult_filename.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/discoveryclientresult_filename.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResult_Filename/VB/discoveryclientresult_filename.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/discoveryclientresult_filename.vb" id="Snippet2"::: ]]> @@ -234,7 +234,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientResult_Filename/CPP/discoveryclientresult_filename.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/discoveryclientresult_filename.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResult_Filename/VB/discoveryclientresult_filename.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/discoveryclientresult_filename.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Web.Services.Discovery/DiscoveryClientResultCollection.xml b/xml/System.Web.Services.Discovery/DiscoveryClientResultCollection.xml index f7070724f0d..403cc7a4fe6 100644 --- a/xml/System.Web.Services.Discovery/DiscoveryClientResultCollection.xml +++ b/xml/System.Web.Services.Discovery/DiscoveryClientResultCollection.xml @@ -24,7 +24,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientResultCollection/CPP/discoveryclientresultcollection.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientResultCollection/Overview/discoveryclientresultcollection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResultCollection/VB/discoveryclientresultcollection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResultCollection/Overview/discoveryclientresultcollection.vb" id="Snippet1"::: ]]> @@ -82,7 +82,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientResult_Filename/CPP/discoveryclientresult_filename.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/discoveryclientresult_filename.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResult_Filename/VB/discoveryclientresult_filename.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/discoveryclientresult_filename.vb" id="Snippet6"::: ]]> @@ -122,7 +122,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientResult_Filename/CPP/discoveryclientresult_filename.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/discoveryclientresult_filename.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResult_Filename/VB/discoveryclientresult_filename.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/discoveryclientresult_filename.vb" id="Snippet7"::: ]]> @@ -166,7 +166,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryClientResult_Filename/CPP/discoveryclientresult_filename.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/discoveryclientresult_filename.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryClientResult_Filename/VB/discoveryclientresult_filename.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryClientResult/.ctor/discoveryclientresult_filename.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Web.Services.Discovery/DiscoveryDocument.xml b/xml/System.Web.Services.Discovery/DiscoveryDocument.xml index be8381b0f93..a8a653addf8 100644 --- a/xml/System.Web.Services.Discovery/DiscoveryDocument.xml +++ b/xml/System.Web.Services.Discovery/DiscoveryDocument.xml @@ -37,7 +37,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryDocument/CPP/discoverydocument.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryDocument/Overview/discoverydocument.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocument/VB/discoverydocument.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocument/Overview/discoverydocument.vb" id="Snippet1"::: ]]> @@ -96,7 +96,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryDocument_DiscoveryDocument/CPP/discoverydocument_discoverydocument.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryDocument/CanRead/discoverydocument_discoverydocument.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocument_DiscoveryDocument/VB/discoverydocument_discoverydocument.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocument/CanRead/discoverydocument_discoverydocument.vb" id="Snippet3"::: ]]> @@ -135,7 +135,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryDocument_DiscoveryDocument/CPP/discoverydocument_discoverydocument.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryDocument/CanRead/discoverydocument_discoverydocument.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocument_DiscoveryDocument/VB/discoverydocument_discoverydocument.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocument/CanRead/discoverydocument_discoverydocument.vb" id="Snippet2"::: ]]> @@ -211,7 +211,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryDocument_Write2/CPP/discoverydocument_write2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryDocument/Read/discoverydocument_write2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocument_Write2/VB/discoverydocument_write2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocument/Read/discoverydocument_write2.vb" id="Snippet1"::: ]]> @@ -250,7 +250,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryDocument_DiscoveryDocument/CPP/discoverydocument_discoverydocument.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryDocument/CanRead/discoverydocument_discoverydocument.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocument_DiscoveryDocument/VB/discoverydocument_discoverydocument.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocument/CanRead/discoverydocument_discoverydocument.vb" id="Snippet4"::: ]]> @@ -296,7 +296,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryDocument_DiscoveryDocument/CPP/discoverydocument_discoverydocument.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryDocument/CanRead/discoverydocument_discoverydocument.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocument_DiscoveryDocument/VB/discoverydocument_discoverydocument.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocument/CanRead/discoverydocument_discoverydocument.vb" id="Snippet5"::: ]]> @@ -344,7 +344,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryDocument_Write1/CPP/discoverydocument_write1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryDocument/Write/discoverydocument_write1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocument_Write1/VB/discoverydocument_write1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocument/Write/discoverydocument_write1.vb" id="Snippet1"::: ]]> @@ -382,7 +382,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryDocument_Write2/CPP/discoverydocument_write2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryDocument/Read/discoverydocument_write2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocument_Write2/VB/discoverydocument_write2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocument/Read/discoverydocument_write2.vb" id="Snippet1"::: ]]> @@ -420,7 +420,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryDocument_Write2/CPP/discoverydocument_write2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryDocument/Read/discoverydocument_write2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocument_Write2/VB/discoverydocument_write2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocument/Read/discoverydocument_write2.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Discovery/DiscoveryDocumentReference.xml b/xml/System.Web.Services.Discovery/DiscoveryDocumentReference.xml index 1997f338522..92ea1862c30 100644 --- a/xml/System.Web.Services.Discovery/DiscoveryDocumentReference.xml +++ b/xml/System.Web.Services.Discovery/DiscoveryDocumentReference.xml @@ -35,7 +35,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryDocumentReference_ctor_WriteDocument/CPP/discoverydocumentreference_ctor_writedocument.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryDocumentReference/Overview/discoverydocumentreference_ctor_writedocument.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_ctor_WriteDocument/VB/discoverydocumentreference_ctor_writedocument.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/Overview/discoverydocumentreference_ctor_writedocument.vb" id="Snippet1"::: ]]> @@ -76,7 +76,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryDocumentReference_ctor_WriteDocument/CPP/discoverydocumentreference_ctor_writedocument.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryDocumentReference/Overview/discoverydocumentreference_ctor_writedocument.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_ctor_WriteDocument/VB/discoverydocumentreference_ctor_writedocument.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/Overview/discoverydocumentreference_ctor_writedocument.vb" id="Snippet2"::: ]]> @@ -108,7 +108,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryDocumentReference_ctor_Properties/CPP/discoverydocumentreference_ctor_properties.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryDocumentReference/.ctor/discoverydocumentreference_ctor_properties.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_ctor_Properties/VB/discoverydocumentreference_ctor_properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/.ctor/discoverydocumentreference_ctor_properties.vb" id="Snippet1"::: ]]> @@ -146,7 +146,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryDocumentReference_ctor_Properties/CPP/discoverydocumentreference_ctor_properties.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryDocumentReference/.ctor/discoverydocumentreference_ctor_properties.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_ctor_Properties/VB/discoverydocumentreference_ctor_properties.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/.ctor/discoverydocumentreference_ctor_properties.vb" id="Snippet4"::: ]]> @@ -188,7 +188,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryDocumentReference/Document/ddreference_document_resolveall.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_Document_ResolveAll/VB/ddreference_document_resolveall.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/Document/ddreference_document_resolveall.vb" id="Snippet1"::: ]]> @@ -231,7 +231,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryDocumentReference_ReadDocument/CPP/discoverydocumentreference_readdocument.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryDocumentReference/ReadDocument/discoverydocumentreference_readdocument.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_ReadDocument/VB/discoverydocumentreference_readdocument.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/ReadDocument/discoverydocumentreference_readdocument.vb" id="Snippet1"::: ]]> @@ -278,7 +278,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryDocumentReference_ctor_Properties/CPP/discoverydocumentreference_ctor_properties.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryDocumentReference/.ctor/discoverydocumentreference_ctor_properties.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_ctor_Properties/VB/discoverydocumentreference_ctor_properties.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/.ctor/discoverydocumentreference_ctor_properties.vb" id="Snippet2"::: ]]> @@ -344,7 +344,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryDocumentReference/Document/ddreference_document_resolveall.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_Document_ResolveAll/VB/ddreference_document_resolveall.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/Document/ddreference_document_resolveall.vb" id="Snippet2"::: ]]> @@ -395,7 +395,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryDocumentReference_ctor_Properties/CPP/discoverydocumentreference_ctor_properties.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryDocumentReference/.ctor/discoverydocumentreference_ctor_properties.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_ctor_Properties/VB/discoverydocumentreference_ctor_properties.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/.ctor/discoverydocumentreference_ctor_properties.vb" id="Snippet3"::: ]]> @@ -432,7 +432,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryDocumentReference_ctor_WriteDocument/CPP/discoverydocumentreference_ctor_writedocument.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryDocumentReference/Overview/discoverydocumentreference_ctor_writedocument.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryDocumentReference_ctor_WriteDocument/VB/discoverydocumentreference_ctor_writedocument.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryDocumentReference/Overview/discoverydocumentreference_ctor_writedocument.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Web.Services.Discovery/DiscoveryExceptionDictionary.xml b/xml/System.Web.Services.Discovery/DiscoveryExceptionDictionary.xml index ecc2de142cf..8009a9ac61b 100644 --- a/xml/System.Web.Services.Discovery/DiscoveryExceptionDictionary.xml +++ b/xml/System.Web.Services.Discovery/DiscoveryExceptionDictionary.xml @@ -29,7 +29,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryExceptionDictionary_Property_Method/CPP/discoveryexceptiondictionary_property_method.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryExceptionDictionary/Overview/discoveryexceptiondictionary_property_method.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryExceptionDictionary_Property_Method/VB/discoveryexceptiondictionary_property_method.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryExceptionDictionary/Overview/discoveryexceptiondictionary_property_method.vb" id="Snippet1"::: ]]> @@ -89,7 +89,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryExceptionDictionary_Property_Method/CPP/discoveryexceptiondictionary_property_method.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryExceptionDictionary/Overview/discoveryexceptiondictionary_property_method.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryExceptionDictionary_Property_Method/VB/discoveryexceptiondictionary_property_method.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryExceptionDictionary/Overview/discoveryexceptiondictionary_property_method.vb" id="Snippet6"::: ]]> @@ -130,7 +130,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryExceptionDictionary_Property_Method/CPP/discoveryexceptiondictionary_property_method.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryExceptionDictionary/Overview/discoveryexceptiondictionary_property_method.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryExceptionDictionary_Property_Method/VB/discoveryexceptiondictionary_property_method.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryExceptionDictionary/Overview/discoveryexceptiondictionary_property_method.vb" id="Snippet2"::: ]]> @@ -169,7 +169,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryExceptionDictionary_Property_Method/CPP/discoveryexceptiondictionary_property_method.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryExceptionDictionary/Overview/discoveryexceptiondictionary_property_method.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryExceptionDictionary_Property_Method/VB/discoveryexceptiondictionary_property_method.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryExceptionDictionary/Overview/discoveryexceptiondictionary_property_method.vb" id="Snippet3"::: ]]> @@ -203,7 +203,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryExceptionDictionary_Property_Method/CPP/discoveryexceptiondictionary_property_method.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryExceptionDictionary/Overview/discoveryexceptiondictionary_property_method.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryExceptionDictionary_Property_Method/VB/discoveryexceptiondictionary_property_method.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryExceptionDictionary/Overview/discoveryexceptiondictionary_property_method.vb" id="Snippet7"::: ]]> @@ -239,7 +239,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryExceptionDictionary_Property_Method/CPP/discoveryexceptiondictionary_property_method.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryExceptionDictionary/Overview/discoveryexceptiondictionary_property_method.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryExceptionDictionary_Property_Method/VB/discoveryexceptiondictionary_property_method.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryExceptionDictionary/Overview/discoveryexceptiondictionary_property_method.vb" id="Snippet4"::: ]]> @@ -274,7 +274,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryExceptionDictionary_Property_Method/CPP/discoveryexceptiondictionary_property_method.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryExceptionDictionary/Overview/discoveryexceptiondictionary_property_method.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryExceptionDictionary_Property_Method/VB/discoveryexceptiondictionary_property_method.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryExceptionDictionary/Overview/discoveryexceptiondictionary_property_method.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Web.Services.Discovery/DiscoveryReference.xml b/xml/System.Web.Services.Discovery/DiscoveryReference.xml index b2b6b3ccba8..7d29ff984d1 100644 --- a/xml/System.Web.Services.Discovery/DiscoveryReference.xml +++ b/xml/System.Web.Services.Discovery/DiscoveryReference.xml @@ -29,7 +29,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryReference1/CPP/discoveryreference.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryReference/Overview/discoveryreference.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryReference1/VB/discoveryreference.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryReference/Overview/discoveryreference.vb" id="Snippet1"::: ]]> @@ -89,7 +89,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryReference/CPP/discoveryreference.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryReference/ClientProtocol/discoveryreference.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryReference/VB/discoveryreference.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryReference/ClientProtocol/discoveryreference.vb" id="Snippet1"::: ]]> @@ -127,7 +127,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryReference/CPP/discoveryreference.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryReference/ClientProtocol/discoveryreference.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryReference/VB/discoveryreference.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryReference/ClientProtocol/discoveryreference.vb" id="Snippet1"::: ]]> @@ -200,7 +200,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryReference/CPP/discoveryreference.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryReference/ClientProtocol/discoveryreference.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryReference/VB/discoveryreference.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryReference/ClientProtocol/discoveryreference.vb" id="Snippet1"::: ]]> @@ -247,7 +247,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryReference/CPP/discoveryreference.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryReference/ClientProtocol/discoveryreference.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryReference/VB/discoveryreference.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryReference/ClientProtocol/discoveryreference.vb" id="Snippet1"::: ]]> @@ -321,7 +321,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryReference/CPP/discoveryreference.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryReference/ClientProtocol/discoveryreference.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryReference/VB/discoveryreference.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryReference/ClientProtocol/discoveryreference.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Discovery/DiscoveryReferenceCollection.xml b/xml/System.Web.Services.Discovery/DiscoveryReferenceCollection.xml index ebba22ca3da..23900aab9a7 100644 --- a/xml/System.Web.Services.Discovery/DiscoveryReferenceCollection.xml +++ b/xml/System.Web.Services.Discovery/DiscoveryReferenceCollection.xml @@ -24,7 +24,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryReferenceCollection/CPP/discoveryreferencecollection.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryReferenceCollection/Overview/discoveryreferencecollection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryReferenceCollection/VB/discoveryreferencecollection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryReferenceCollection/Overview/discoveryreferencecollection.vb" id="Snippet1"::: ]]> @@ -79,7 +79,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryReferenceCollection/CPP/discoveryreferencecollection.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryReferenceCollection/Overview/discoveryreferencecollection.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryReferenceCollection/VB/discoveryreferencecollection.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryReferenceCollection/Overview/discoveryreferencecollection.vb" id="Snippet2"::: ]]> @@ -116,7 +116,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryReferenceCollection/CPP/discoveryreferencecollection.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryReferenceCollection/Overview/discoveryreferencecollection.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryReferenceCollection/VB/discoveryreferencecollection.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryReferenceCollection/Overview/discoveryreferencecollection.vb" id="Snippet2"::: ]]> @@ -152,7 +152,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/DiscoveryReferenceCollection/CPP/discoveryreferencecollection.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/DiscoveryReferenceCollection/Overview/discoveryreferencecollection.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/DiscoveryReferenceCollection/VB/discoveryreferencecollection.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/DiscoveryReferenceCollection/Overview/discoveryreferencecollection.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Web.Services.Discovery/SchemaReference.xml b/xml/System.Web.Services.Discovery/SchemaReference.xml index 40c5019def6..70389c2a47a 100644 --- a/xml/System.Web.Services.Discovery/SchemaReference.xml +++ b/xml/System.Web.Services.Discovery/SchemaReference.xml @@ -37,7 +37,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SchemaReference/CPP/schemareference.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SchemaReference/VB/schemareference.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.vb" id="Snippet1"::: ]]> @@ -80,7 +80,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SchemaReference/CPP/schemareference.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SchemaReference/VB/schemareference.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.vb" id="Snippet2"::: ]]> @@ -112,7 +112,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SchemaReference/CPP/schemareference.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SchemaReference/VB/schemareference.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.vb" id="Snippet2"::: ]]> @@ -150,7 +150,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SchemaReference/CPP/schemareference.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SchemaReference/VB/schemareference.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.vb" id="Snippet2"::: ]]> @@ -186,7 +186,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SchemaReference/CPP/schemareference.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SchemaReference/VB/schemareference.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.vb" id="Snippet2"::: ]]> @@ -223,7 +223,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SchemaReference/CPP/schemareference.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SchemaReference/VB/schemareference.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.vb" id="Snippet2"::: ]]> @@ -269,7 +269,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SchemaReference/CPP/schemareference.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SchemaReference/VB/schemareference.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.vb" id="Snippet2"::: ]]> @@ -340,7 +340,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SchemaReference/CPP/schemareference.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SchemaReference/VB/schemareference.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.vb" id="Snippet2"::: ]]> @@ -389,7 +389,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SchemaReference/CPP/schemareference.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SchemaReference/VB/schemareference.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.vb" id="Snippet2"::: ]]> @@ -432,7 +432,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SchemaReference/CPP/schemareference.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SchemaReference/VB/schemareference.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.vb" id="Snippet2"::: ]]> @@ -469,7 +469,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SchemaReference/CPP/schemareference.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SchemaReference/VB/schemareference.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/SchemaReference/Overview/schemareference.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Web.Services.Discovery/SoapBinding.xml b/xml/System.Web.Services.Discovery/SoapBinding.xml index 9d8b840c503..f98b2b69dcb 100644 --- a/xml/System.Web.Services.Discovery/SoapBinding.xml +++ b/xml/System.Web.Services.Discovery/SoapBinding.xml @@ -35,7 +35,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Discovery_SoapBinding1/CPP/discovery_soapbinding.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/SoapBinding/Overview/discovery_soapbinding.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Discovery_SoapBinding1/VB/discovery_soapbinding.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/SoapBinding/Overview/discovery_soapbinding.vb" id="Snippet1"::: ]]> @@ -92,7 +92,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Discovery_SoapBinding1/CPP/discovery_soapbinding.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/SoapBinding/Overview/discovery_soapbinding.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Discovery_SoapBinding1/VB/discovery_soapbinding.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/SoapBinding/Overview/discovery_soapbinding.vb" id="Snippet2"::: ]]> @@ -130,7 +130,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Discovery_SoapBinding1/CPP/discovery_soapbinding.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Discovery/SoapBinding/Overview/discovery_soapbinding.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Discovery_SoapBinding1/VB/discovery_soapbinding.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Discovery/SoapBinding/Overview/discovery_soapbinding.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Web.Services.Protocols/HttpGetClientProtocol.xml b/xml/System.Web.Services.Protocols/HttpGetClientProtocol.xml index 95f9d66bc0b..cbfe52cc7b8 100644 --- a/xml/System.Web.Services.Protocols/HttpGetClientProtocol.xml +++ b/xml/System.Web.Services.Protocols/HttpGetClientProtocol.xml @@ -36,12 +36,12 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic HttpGetClientProtocol Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/HttpGetClientProtocol/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpGetClientProtocol Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/HttpGetClientProtocol/Overview/source.vb" id="Snippet1"::: The following example is the `Math` XML Web service, from which the above proxy class was created. :::code language="aspx-csharp" source="~/snippets/csharp/System.Web.Services.Protocols/HttpGetClientProtocol/Overview/sourcecs.asmx"::: - :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpGetClientProtocol Example/VB/sourcevb.asmx"::: + :::code language="aspx-vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/HttpGetClientProtocol/Overview/sourcevb.asmx"::: ]]> @@ -73,7 +73,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/HttpGetClientProtocol_Constructor/CPP/httpgetclientprotocol_constructor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/HttpGetClientProtocol/.ctor/httpgetclientprotocol_constructor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpGetClientProtocol_Constructor/VB/httpgetclientprotocol_constructor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/HttpGetClientProtocol/.ctor/httpgetclientprotocol_constructor.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Protocols/HttpMethodAttribute.xml b/xml/System.Web.Services.Protocols/HttpMethodAttribute.xml index 2d98c74bb63..d94b4cfeffd 100644 --- a/xml/System.Web.Services.Protocols/HttpMethodAttribute.xml +++ b/xml/System.Web.Services.Protocols/HttpMethodAttribute.xml @@ -37,7 +37,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic HttpMethodAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/HttpMethodAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpMethodAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/HttpMethodAttribute/Overview/source.vb" id="Snippet1"::: ]]> @@ -132,7 +132,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic HttpMethodAttribute.ReturnFormatter Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/HttpMethodAttribute/ParameterFormatter/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpMethodAttribute.ReturnFormatter Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/HttpMethodAttribute/ParameterFormatter/source.vb" id="Snippet1"::: ]]> @@ -171,7 +171,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic HttpMethodAttribute.ReturnFormatter Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/HttpMethodAttribute/ParameterFormatter/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpMethodAttribute.ReturnFormatter Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/HttpMethodAttribute/ParameterFormatter/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Protocols/HttpPostClientProtocol.xml b/xml/System.Web.Services.Protocols/HttpPostClientProtocol.xml index 08a981a364e..9f517011694 100644 --- a/xml/System.Web.Services.Protocols/HttpPostClientProtocol.xml +++ b/xml/System.Web.Services.Protocols/HttpPostClientProtocol.xml @@ -36,12 +36,12 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic HttpPostClientProtocol Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/HttpPostClientProtocol/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpPostClientProtocol Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/HttpPostClientProtocol/Overview/source.vb" id="Snippet1"::: The following example is the `Math` XML Web service, from which the previous proxy class was created. :::code language="aspx-csharp" source="~/snippets/csharp/System.Web.Services.Protocols/HttpPostClientProtocol/Overview/sourcecs.asmx"::: - :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpPostClientProtocol Example/VB/sourcevb.asmx"::: + :::code language="aspx-vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/HttpPostClientProtocol/Overview/sourcevb.asmx"::: ]]> @@ -73,7 +73,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/HttpPostClientProtocol_Constructor/CPP/httppostclientprotocol_constructor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/HttpPostClientProtocol/.ctor/httppostclientprotocol_constructor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HttpPostClientProtocol_Constructor/VB/httppostclientprotocol_constructor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/HttpPostClientProtocol/.ctor/httppostclientprotocol_constructor.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Protocols/HttpSimpleClientProtocol.xml b/xml/System.Web.Services.Protocols/HttpSimpleClientProtocol.xml index 12edad4720f..efbbd87d388 100644 --- a/xml/System.Web.Services.Protocols/HttpSimpleClientProtocol.xml +++ b/xml/System.Web.Services.Protocols/HttpSimpleClientProtocol.xml @@ -40,13 +40,13 @@ [!code-cpp[Classic HttpGetClientProtocol Example#1](~/snippets/cpp/VS_Snippets_Remoting/Classic HttpGetClientProtocol Example/CPP/source.cpp#1)] [!code-csharp[Classic HttpGetClientProtocol Example#1](~/snippets/csharp/System.Web.Services.Protocols/HttpGetClientProtocol/Overview/source.cs#1)] - [!code-vb[Classic HttpGetClientProtocol Example#1](~/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpGetClientProtocol Example/VB/source.vb#1)] + [!code-vb[Classic HttpGetClientProtocol Example#1](~/snippets/visualbasic/System.Web.Services.Protocols/HttpGetClientProtocol/Overview/source.vb#1)] The following code example is the `Math` XML Web service, from which the preceding proxy class was created. [!code-cpp[Classic HttpSimpleClientProtocol Example#1](~/snippets/cpp/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol Example/CPP/source.cpp#1)] [!code-csharp[Classic HttpSimpleClientProtocol Example#1](~/snippets/csharp/System.Web.Services.Protocols/HttpSimpleClientProtocol/Overview/source.cs#1)] - [!code-vb[Classic HttpSimpleClientProtocol Example#1](~/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol Example/VB/source.vb#1)] + [!code-vb[Classic HttpSimpleClientProtocol Example#1](~/snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/Overview/source.vb#1)] ]]> @@ -119,18 +119,18 @@ The following code example is an ASP.NET Web Form, which calls an XML Web service named `Math`. Within the `EnterBtn_Click` function, the Web Form starts and completes an asynchronous invocation of the `Add` XML Web service method. [!code-aspx-csharp[Classic HttpSimpleClientProtocol.EndInvoke Example#1](~/snippets/csharp/System.Web.Services.Protocols/HttpSimpleClientProtocol/BeginInvoke/sourcecs.asmx#1)] - [!code-aspx-vb[Classic HttpSimpleClientProtocol.EndInvoke Example#1](~/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol.EndInvoke Example/VB/sourcevb.aspx#1)] + [!code-aspx-vb[Classic HttpSimpleClientProtocol.EndInvoke Example#1](~/snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/BeginInvoke/sourcevb.aspx#1)] The following code example is a proxy class generated by the Web Services Description Language tool (Wsdl.exe) for the `Math` XML Web service below. Within the `BeginAdd` method of the proxy class, the method starts an asynchronous invocation of the `Add` XML Web service method. [!code-cpp[Classic HttpSimpleClientProtocol.EndInvoke Example#2](~/snippets/cpp/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol.EndInvoke Example/CPP/source.cpp#2)] [!code-csharp[Classic HttpSimpleClientProtocol.EndInvoke Example#2](~/snippets/csharp/System.Web.Services.Protocols/HttpSimpleClientProtocol/BeginInvoke/source.cs#2)] - [!code-vb[Classic HttpSimpleClientProtocol.EndInvoke Example#2](~/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol.EndInvoke Example/VB/source.vb#2)] + [!code-vb[Classic HttpSimpleClientProtocol.EndInvoke Example#2](~/snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/BeginInvoke/source.vb#2)] The following code example is the `Math` XML Web service, from which the preceding proxy class was created. [!code-aspx-csharp[Classic HttpSimpleClientProtocol.EndInvoke Example#3](~/snippets/csharp/System.Web.Services.Protocols/HttpSimpleClientProtocol/BeginInvoke/sourcecs.asmx)] - [!code-aspx-vb[Classic HttpSimpleClientProtocol.EndInvoke Example#3](~/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol.EndInvoke Example/VB/sourcevb.asmx)] + [!code-aspx-vb[Classic HttpSimpleClientProtocol.EndInvoke Example#3](~/snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/BeginInvoke/sourcevb.asmx)] ]]> @@ -169,18 +169,18 @@ The following code example is an ASP.NET Web Form, which calls an XML Web service named `Math`. Within the `EnterBtn_Click` function, the Web Form starts and completes an asynchronous invocation of the `Add` XML Web service method. [!code-aspx-csharp[Classic HttpSimpleClientProtocol.EndInvoke Example#1](~/snippets/csharp/System.Web.Services.Protocols/HttpSimpleClientProtocol/BeginInvoke/sourcecs.asmx#1)] - [!code-aspx-vb[Classic HttpSimpleClientProtocol.EndInvoke Example#1](~/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol.EndInvoke Example/VB/sourcevb.aspx#1)] + [!code-aspx-vb[Classic HttpSimpleClientProtocol.EndInvoke Example#1](~/snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/BeginInvoke/sourcevb.aspx#1)] The following code example is a proxy class generated by the Web Services Description Language tool (Wsdl.exe) for the `Math` XML Web service below. Within the `EndAdd` method of the proxy class, the method starts an asynchronous invocation of the `Add` XML Web service method. [!code-cpp[Classic HttpSimpleClientProtocol.EndInvoke Example#2](~/snippets/cpp/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol.EndInvoke Example/CPP/source.cpp#2)] [!code-csharp[Classic HttpSimpleClientProtocol.EndInvoke Example#2](~/snippets/csharp/System.Web.Services.Protocols/HttpSimpleClientProtocol/BeginInvoke/source.cs#2)] - [!code-vb[Classic HttpSimpleClientProtocol.EndInvoke Example#2](~/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol.EndInvoke Example/VB/source.vb#2)] + [!code-vb[Classic HttpSimpleClientProtocol.EndInvoke Example#2](~/snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/BeginInvoke/source.vb#2)] The following code example is the `Math` XML Web service, from which the above proxy class was created. [!code-aspx-csharp[Classic HttpSimpleClientProtocol.EndInvoke Example#3](~/snippets/csharp/System.Web.Services.Protocols/HttpSimpleClientProtocol/BeginInvoke/sourcecs.asmx)] - [!code-aspx-vb[Classic HttpSimpleClientProtocol.EndInvoke Example#3](~/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpSimpleClientProtocol.EndInvoke Example/VB/sourcevb.asmx)] + [!code-aspx-vb[Classic HttpSimpleClientProtocol.EndInvoke Example#3](~/snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/BeginInvoke/sourcevb.asmx)] ]]> @@ -228,18 +228,18 @@ The following code example is an ASP.NET Web Form, which calls an XML Web service named `Math`. Within the `EnterBtn_Click` function, the Web Form synchronously invokes the `Add` XML Web service method. [!code-csharp[HttpSimpleClientProtocol.Invoke Example#2](~/snippets/csharp/System.Web.Services.Protocols/HttpSimpleClientProtocol/Invoke/sourcecs.asmx#2)] - [!code-vb[HttpSimpleClientProtocol.Invoke Example#2](~/snippets/visualbasic/VS_Snippets_Remoting/HttpSimpleClientProtocol.Invoke Example/VB/sourcevb.aspx#2)] + [!code-vb[HttpSimpleClientProtocol.Invoke Example#2](~/snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/Invoke/sourcevb.aspx#2)] The following code example is a proxy class generated by the Web Services Description Language tool (Wsdl.exe) for the `Math` XML Web service below. Within the `Add` method of the proxy class, the method synchronously invokes the `Add` Web Service method. [!code-cpp[HttpSimpleClientProtocol.Invoke Example#1](~/snippets/cpp/VS_Snippets_Remoting/HttpSimpleClientProtocol.Invoke Example/CPP/source.cpp#1)] [!code-csharp[HttpSimpleClientProtocol.Invoke Example#1](~/snippets/csharp/System.Web.Services.Protocols/HttpSimpleClientProtocol/Invoke/source.cs#1)] - [!code-vb[HttpSimpleClientProtocol.Invoke Example#1](~/snippets/visualbasic/VS_Snippets_Remoting/HttpSimpleClientProtocol.Invoke Example/VB/source.vb#1)] + [!code-vb[HttpSimpleClientProtocol.Invoke Example#1](~/snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/Invoke/source.vb#1)] The following code example is the `Math` XML Web service, from which the above proxy class was created. [!code-aspx-csharp[HttpSimpleClientProtocol.Invoke Example#3](~/snippets/csharp/System.Web.Services.Protocols/HttpSimpleClientProtocol/Invoke/sourcecs.asmx)] - [!code-aspx-vb[HttpSimpleClientProtocol.Invoke Example#3](~/snippets/visualbasic/VS_Snippets_Remoting/HttpSimpleClientProtocol.Invoke Example/VB/sourcevb.asmx)] + [!code-aspx-vb[HttpSimpleClientProtocol.Invoke Example#3](~/snippets/visualbasic/System.Web.Services.Protocols/HttpSimpleClientProtocol/Invoke/sourcevb.asmx)] ]]> diff --git a/xml/System.Web.Services.Protocols/HttpWebClientProtocol.xml b/xml/System.Web.Services.Protocols/HttpWebClientProtocol.xml index b3e15c1f17a..a88693222bc 100644 --- a/xml/System.Web.Services.Protocols/HttpWebClientProtocol.xml +++ b/xml/System.Web.Services.Protocols/HttpWebClientProtocol.xml @@ -470,7 +470,7 @@ [!code-cpp[Classic HttpWebClientProtocol.Proxy Example#1](~/snippets/cpp/VS_Snippets_Remoting/Classic HttpWebClientProtocol.Proxy Example/CPP/source.cpp#1)] [!code-csharp[Classic HttpWebClientProtocol.Proxy Example#1](~/snippets/csharp/System.Web.Services.Protocols/HttpWebClientProtocol/Proxy/source.cs#1)] - [!code-vb[Classic HttpWebClientProtocol.Proxy Example#1](~/snippets/visualbasic/VS_Snippets_Remoting/Classic HttpWebClientProtocol.Proxy Example/VB/source.vb#1)] + [!code-vb[Classic HttpWebClientProtocol.Proxy Example#1](~/snippets/visualbasic/System.Web.Services.Protocols/HttpWebClientProtocol/Proxy/source.vb#1)] ]]> @@ -562,7 +562,7 @@ ## Examples [!code-cpp[HttpWebClientProtocol_UserAgent#1](~/snippets/cpp/VS_Snippets_Remoting/HttpWebClientProtocol_UserAgent/CPP/httpwebclientprotocol_useragent.cpp#1)] [!code-csharp[HttpWebClientProtocol_UserAgent#1](~/snippets/csharp/System.Web.Services.Protocols/HttpWebClientProtocol/UserAgent/httpwebclientprotocol_useragent.cs#1)] - [!code-vb[HttpWebClientProtocol_UserAgent#1](~/snippets/visualbasic/VS_Snippets_Remoting/HttpWebClientProtocol_UserAgent/VB/httpwebclientprotocol_useragent.vb#1)] + [!code-vb[HttpWebClientProtocol_UserAgent#1](~/snippets/visualbasic/System.Web.Services.Protocols/HttpWebClientProtocol/UserAgent/httpwebclientprotocol_useragent.vb#1)] ]]> diff --git a/xml/System.Web.Services.Protocols/LogicalMethodInfo.xml b/xml/System.Web.Services.Protocols/LogicalMethodInfo.xml index 7394d67df02..0efd2c60960 100644 --- a/xml/System.Web.Services.Protocols/LogicalMethodInfo.xml +++ b/xml/System.Web.Services.Protocols/LogicalMethodInfo.xml @@ -59,7 +59,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_Constructor/CPP/logicalmethodinfo_constructor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/.ctor/logicalmethodinfo_constructor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Constructor/VB/logicalmethodinfo_constructor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/.ctor/logicalmethodinfo_constructor.vb" id="Snippet1"::: ]]> @@ -103,7 +103,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_Create2/CPP/logicalmethodinfo_create2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/AsyncCallbackParameter/logicalmethodinfo_create2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Create2/VB/logicalmethodinfo_create2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/AsyncCallbackParameter/logicalmethodinfo_create2.vb" id="Snippet1"::: ]]> @@ -146,7 +146,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_Create2/CPP/logicalmethodinfo_create2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/AsyncCallbackParameter/logicalmethodinfo_create2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Create2/VB/logicalmethodinfo_create2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/AsyncCallbackParameter/logicalmethodinfo_create2.vb" id="Snippet1"::: ]]> @@ -190,7 +190,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_Create2/CPP/logicalmethodinfo_create2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/AsyncCallbackParameter/logicalmethodinfo_create2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Create2/VB/logicalmethodinfo_create2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/AsyncCallbackParameter/logicalmethodinfo_create2.vb" id="Snippet1"::: ]]> @@ -236,7 +236,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_BeginInvoke/CPP/logicalmethodinfo_begininvoke.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/BeginInvoke/logicalmethodinfo_begininvoke.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_BeginInvoke/VB/logicalmethodinfo_begininvoke.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/BeginInvoke/logicalmethodinfo_begininvoke.vb" id="Snippet1"::: ]]> @@ -271,7 +271,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_Create2/CPP/logicalmethodinfo_create2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/AsyncCallbackParameter/logicalmethodinfo_create2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Create2/VB/logicalmethodinfo_create2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/AsyncCallbackParameter/logicalmethodinfo_create2.vb" id="Snippet1"::: ]]> @@ -320,7 +320,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_Create1/CPP/logicalmethodinfo_create1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/Create/logicalmethodinfo_create1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Create1/VB/logicalmethodinfo_create1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/Create/logicalmethodinfo_create1.vb" id="Snippet1"::: ]]> @@ -360,7 +360,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_Create2/CPP/logicalmethodinfo_create2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/AsyncCallbackParameter/logicalmethodinfo_create2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Create2/VB/logicalmethodinfo_create2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/AsyncCallbackParameter/logicalmethodinfo_create2.vb" id="Snippet1"::: ]]> @@ -394,7 +394,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_GetCustomAttribute/CPP/logicalmethodinfo_getcustomattribute.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/CustomAttributeProvider/logicalmethodinfo_getcustomattribute.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_GetCustomAttribute/VB/logicalmethodinfo_getcustomattribute.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/CustomAttributeProvider/logicalmethodinfo_getcustomattribute.vb" id="Snippet4"::: ]]> @@ -431,7 +431,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_Constructor/CPP/logicalmethodinfo_constructor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/.ctor/logicalmethodinfo_constructor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Constructor/VB/logicalmethodinfo_constructor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/.ctor/logicalmethodinfo_constructor.vb" id="Snippet1"::: ]]> @@ -469,7 +469,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_BeginInvoke/CPP/logicalmethodinfo_begininvoke.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/BeginInvoke/logicalmethodinfo_begininvoke.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_BeginInvoke/VB/logicalmethodinfo_begininvoke.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/BeginInvoke/logicalmethodinfo_begininvoke.vb" id="Snippet2"::: ]]> @@ -504,7 +504,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_Create2/CPP/logicalmethodinfo_create2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/AsyncCallbackParameter/logicalmethodinfo_create2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Create2/VB/logicalmethodinfo_create2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/AsyncCallbackParameter/logicalmethodinfo_create2.vb" id="Snippet1"::: ]]> @@ -543,7 +543,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_GetCustomAttribute/CPP/logicalmethodinfo_getcustomattribute.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/CustomAttributeProvider/logicalmethodinfo_getcustomattribute.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_GetCustomAttribute/VB/logicalmethodinfo_getcustomattribute.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/CustomAttributeProvider/logicalmethodinfo_getcustomattribute.vb" id="Snippet4"::: ]]> @@ -580,7 +580,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_GetCustomAttribute/CPP/logicalmethodinfo_getcustomattribute.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/CustomAttributeProvider/logicalmethodinfo_getcustomattribute.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_GetCustomAttribute/VB/logicalmethodinfo_getcustomattribute.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/CustomAttributeProvider/logicalmethodinfo_getcustomattribute.vb" id="Snippet4"::: ]]> @@ -620,7 +620,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_Create1/CPP/logicalmethodinfo_create1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/Create/logicalmethodinfo_create1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Create1/VB/logicalmethodinfo_create1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/Create/logicalmethodinfo_create1.vb" id="Snippet1"::: ]]> @@ -660,7 +660,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_Constructor/CPP/logicalmethodinfo_constructor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/.ctor/logicalmethodinfo_constructor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Constructor/VB/logicalmethodinfo_constructor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/.ctor/logicalmethodinfo_constructor.vb" id="Snippet1"::: ]]> @@ -697,7 +697,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_Create2/CPP/logicalmethodinfo_create2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/AsyncCallbackParameter/logicalmethodinfo_create2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Create2/VB/logicalmethodinfo_create2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/AsyncCallbackParameter/logicalmethodinfo_create2.vb" id="Snippet1"::: ]]> @@ -734,7 +734,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_IsBeginMethod/CPP/logicalmethodinfo_isbeginmethod.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/IsBeginMethod/logicalmethodinfo_isbeginmethod.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_IsBeginMethod/VB/logicalmethodinfo_isbeginmethod.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/IsBeginMethod/logicalmethodinfo_isbeginmethod.vb" id="Snippet1"::: ]]> @@ -771,7 +771,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_IsBeginMethod/CPP/logicalmethodinfo_isbeginmethod.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/IsBeginMethod/logicalmethodinfo_isbeginmethod.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_IsBeginMethod/VB/logicalmethodinfo_isbeginmethod.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/IsBeginMethod/logicalmethodinfo_isbeginmethod.vb" id="Snippet2"::: ]]> @@ -804,7 +804,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_Create1/CPP/logicalmethodinfo_create1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/Create/logicalmethodinfo_create1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Create1/VB/logicalmethodinfo_create1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/Create/logicalmethodinfo_create1.vb" id="Snippet1"::: ]]> @@ -836,7 +836,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_GetCustomAttribute/CPP/logicalmethodinfo_getcustomattribute.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/CustomAttributeProvider/logicalmethodinfo_getcustomattribute.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_GetCustomAttribute/VB/logicalmethodinfo_getcustomattribute.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/CustomAttributeProvider/logicalmethodinfo_getcustomattribute.vb" id="Snippet3"::: ]]> @@ -871,7 +871,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_Create1/CPP/logicalmethodinfo_create1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/Create/logicalmethodinfo_create1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Create1/VB/logicalmethodinfo_create1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/Create/logicalmethodinfo_create1.vb" id="Snippet1"::: ]]> @@ -908,7 +908,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_Create1/CPP/logicalmethodinfo_create1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/Create/logicalmethodinfo_create1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Create1/VB/logicalmethodinfo_create1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/Create/logicalmethodinfo_create1.vb" id="Snippet1"::: ]]> @@ -949,7 +949,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_Constructor/CPP/logicalmethodinfo_constructor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/.ctor/logicalmethodinfo_constructor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Constructor/VB/logicalmethodinfo_constructor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/.ctor/logicalmethodinfo_constructor.vb" id="Snippet1"::: ]]> @@ -983,7 +983,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_Constructor/CPP/logicalmethodinfo_constructor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/.ctor/logicalmethodinfo_constructor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Constructor/VB/logicalmethodinfo_constructor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/.ctor/logicalmethodinfo_constructor.vb" id="Snippet1"::: ]]> @@ -1015,7 +1015,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_GetCustomAttribute/CPP/logicalmethodinfo_getcustomattribute.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/CustomAttributeProvider/logicalmethodinfo_getcustomattribute.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_GetCustomAttribute/VB/logicalmethodinfo_getcustomattribute.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/CustomAttributeProvider/logicalmethodinfo_getcustomattribute.vb" id="Snippet4"::: ]]> @@ -1048,7 +1048,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_Constructor/CPP/logicalmethodinfo_constructor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/.ctor/logicalmethodinfo_constructor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_Constructor/VB/logicalmethodinfo_constructor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/.ctor/logicalmethodinfo_constructor.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Protocols/LogicalMethodTypes.xml b/xml/System.Web.Services.Protocols/LogicalMethodTypes.xml index 8363f27520a..1eda5122368 100644 --- a/xml/System.Web.Services.Protocols/LogicalMethodTypes.xml +++ b/xml/System.Web.Services.Protocols/LogicalMethodTypes.xml @@ -23,7 +23,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/LogicalMethodInfo_GetCustomAttribute/CPP/logicalmethodinfo_getcustomattribute.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/LogicalMethodInfo/CustomAttributeProvider/logicalmethodinfo_getcustomattribute.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/LogicalMethodInfo_GetCustomAttribute/VB/logicalmethodinfo_getcustomattribute.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/LogicalMethodInfo/CustomAttributeProvider/logicalmethodinfo_getcustomattribute.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Protocols/MatchAttribute.xml b/xml/System.Web.Services.Protocols/MatchAttribute.xml index 7f8f936bf18..97a6e4a4e72 100644 --- a/xml/System.Web.Services.Protocols/MatchAttribute.xml +++ b/xml/System.Web.Services.Protocols/MatchAttribute.xml @@ -36,7 +36,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MatchAttribute/CPP/SvcClient_MatchAttribute.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/MatchAttribute/Overview/SvcClient_MatchAttribute.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MatchAttribute/VB/SvcClient_MatchAttribute.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/MatchAttribute/Overview/SvcClient_MatchAttribute.vb" id="Snippet1"::: ]]> @@ -79,7 +79,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MatchAttribute/CPP/SvcClient_MatchAttribute.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/MatchAttribute/Overview/SvcClient_MatchAttribute.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MatchAttribute/VB/SvcClient_MatchAttribute.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/MatchAttribute/Overview/SvcClient_MatchAttribute.vb" id="Snippet2"::: ]]> @@ -111,7 +111,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MatchAttribute/CPP/SvcClient_MatchAttribute.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/MatchAttribute/Overview/SvcClient_MatchAttribute.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MatchAttribute/VB/SvcClient_MatchAttribute.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/MatchAttribute/Overview/SvcClient_MatchAttribute.vb" id="Snippet5"::: ]]> @@ -149,7 +149,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MatchAttribute/CPP/SvcClient_MatchAttribute.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/MatchAttribute/Overview/SvcClient_MatchAttribute.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MatchAttribute/VB/SvcClient_MatchAttribute.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/MatchAttribute/Overview/SvcClient_MatchAttribute.vb" id="Snippet6"::: ]]> @@ -183,7 +183,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MatchAttribute/CPP/SvcClient_MatchAttribute.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/MatchAttribute/Overview/SvcClient_MatchAttribute.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MatchAttribute/VB/SvcClient_MatchAttribute.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/MatchAttribute/Overview/SvcClient_MatchAttribute.vb" id="Snippet3"::: ]]> @@ -220,7 +220,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MatchAttribute/CPP/SvcClient_MatchAttribute.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/MatchAttribute/Overview/SvcClient_MatchAttribute.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MatchAttribute/VB/SvcClient_MatchAttribute.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/MatchAttribute/Overview/SvcClient_MatchAttribute.vb" id="Snippet7"::: ]]> @@ -257,7 +257,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MatchAttribute/CPP/SvcClient_MatchAttribute.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/MatchAttribute/Overview/SvcClient_MatchAttribute.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MatchAttribute/VB/SvcClient_MatchAttribute.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/MatchAttribute/Overview/SvcClient_MatchAttribute.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Web.Services.Protocols/SoapClientMessage.xml b/xml/System.Web.Services.Protocols/SoapClientMessage.xml index 711badd331c..8d2ad0698ae 100644 --- a/xml/System.Web.Services.Protocols/SoapClientMessage.xml +++ b/xml/System.Web.Services.Protocols/SoapClientMessage.xml @@ -26,7 +26,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapClientMessage/CPP/SoapClientMessage.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapClientMessage/Overview/soapclientmessage.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapClientMessage/VB/soapclientmessage.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapClientMessage/Overview/soapclientmessage.vb" id="Snippet1"::: ]]> @@ -65,7 +65,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapClientMessage/CPP/SoapClientMessage.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapClientMessage/Overview/soapclientmessage.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapClientMessage/VB/soapclientmessage.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapClientMessage/Overview/soapclientmessage.vb" id="Snippet2"::: ]]> @@ -104,7 +104,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapClientMessage/CPP/SoapClientMessage.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapClientMessage/Overview/soapclientmessage.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapClientMessage/VB/soapclientmessage.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapClientMessage/Overview/soapclientmessage.vb" id="Snippet3"::: ]]> @@ -189,7 +189,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapClientMessage/CPP/SoapClientMessage.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapClientMessage/Overview/soapclientmessage.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapClientMessage/VB/soapclientmessage.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapClientMessage/Overview/soapclientmessage.vb" id="Snippet4"::: ]]> @@ -231,7 +231,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapClientMessage/CPP/SoapClientMessage.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapClientMessage/Overview/soapclientmessage.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapClientMessage/VB/soapclientmessage.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapClientMessage/Overview/soapclientmessage.vb" id="Snippet5"::: ]]> @@ -307,7 +307,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapClientMessage/CPP/SoapClientMessage.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapClientMessage/Overview/soapclientmessage.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapClientMessage/VB/soapclientmessage.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapClientMessage/Overview/soapclientmessage.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Web.Services.Protocols/SoapExtension.xml b/xml/System.Web.Services.Protocols/SoapExtension.xml index b169897a93c..7933ac9a7c9 100644 --- a/xml/System.Web.Services.Protocols/SoapExtension.xml +++ b/xml/System.Web.Services.Protocols/SoapExtension.xml @@ -33,7 +33,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic SoapExtension Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapExtension/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapExtension Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapExtension/Overview/source.vb" id="Snippet1"::: ]]> @@ -100,7 +100,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic SoapExtension.ChainStream Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapExtension/ChainStream/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapExtension.ChainStream Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapExtension/ChainStream/source.vb" id="Snippet1"::: ]]> @@ -161,7 +161,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapExtension.GetInitializer-Type/CPP/traceextension.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapExtension/GetInitializer/traceextension.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapExtension.GetInitializer-Type/VB/traceextension.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapExtension/GetInitializer/traceextension.vb" id="Snippet1"::: ]]> @@ -214,7 +214,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic SoapExtension.GetInitializer Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapExtension/GetInitializer/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapExtension.GetInitializer Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapExtension/GetInitializer/source.vb" id="Snippet1"::: ]]> @@ -266,7 +266,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic SoapExtension.Initialize Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapExtension/Initialize/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapExtension.Initialize Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapExtension/Initialize/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Protocols/SoapExtensionAttribute.xml b/xml/System.Web.Services.Protocols/SoapExtensionAttribute.xml index c2b06d637f3..26f6f750721 100644 --- a/xml/System.Web.Services.Protocols/SoapExtensionAttribute.xml +++ b/xml/System.Web.Services.Protocols/SoapExtensionAttribute.xml @@ -31,7 +31,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic SoapExtensionAttribute Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapExtensionAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapExtensionAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapExtensionAttribute/Overview/source.vb" id="Snippet1"::: ]]> @@ -91,7 +91,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapExtensionAttribute/CPP/SoapExtensionAttribute.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapExtensionAttribute/ExtensionType/soapextensionattribute.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapExtensionAttribute/VB/soapextensionattribute.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapExtensionAttribute/ExtensionType/soapextensionattribute.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Web.Services.Protocols/SoapHeader.xml b/xml/System.Web.Services.Protocols/SoapHeader.xml index 48d21558c64..accb7710f25 100644 --- a/xml/System.Web.Services.Protocols/SoapHeader.xml +++ b/xml/System.Web.Services.Protocols/SoapHeader.xml @@ -132,7 +132,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic SoapHeader.Actor Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapHeader/Actor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHeader.Actor Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapHeader/Actor/source.vb" id="Snippet1"::: ]]> @@ -234,7 +234,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapHeader_EncodedMustUnderstand/CPP/soapheader_encodedmustunderstand.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapHeader/EncodedMustUnderstand/soapheader_encodedmustunderstand.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapHeader_EncodedMustUnderstand/VB/soapheader_encodedmustunderstand.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapHeader/EncodedMustUnderstand/soapheader_encodedmustunderstand.vb" id="Snippet1"::: ]]> @@ -386,7 +386,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic SoapHeader.MustUnderstand Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapHeader/MustUnderstand/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHeader.MustUnderstand Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapHeader/MustUnderstand/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Protocols/SoapHeaderAttribute.xml b/xml/System.Web.Services.Protocols/SoapHeaderAttribute.xml index 84199f4463e..3c7cbc8499d 100644 --- a/xml/System.Web.Services.Protocols/SoapHeaderAttribute.xml +++ b/xml/System.Web.Services.Protocols/SoapHeaderAttribute.xml @@ -91,7 +91,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic SoapHeaderAttribute.MemberName Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapHeaderAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHeaderAttribute.MemberName Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderAttribute/.ctor/source.vb" id="Snippet1"::: ]]> @@ -125,7 +125,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic SoapHeaderAttribute.MemberName Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapHeaderAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHeaderAttribute.MemberName Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderAttribute/.ctor/source.vb" id="Snippet1"::: ]]> @@ -168,7 +168,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic SoapHeaderAttribute.MemberName Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapHeaderAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHeaderAttribute.MemberName Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderAttribute/.ctor/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Protocols/SoapHeaderCollection.xml b/xml/System.Web.Services.Protocols/SoapHeaderCollection.xml index df7e5439d44..d582f4c63df 100644 --- a/xml/System.Web.Services.Protocols/SoapHeaderCollection.xml +++ b/xml/System.Web.Services.Protocols/SoapHeaderCollection.xml @@ -24,7 +24,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapHeaderCollection/CPP/SoapHeaderCollection.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapHeaderCollection/Overview/soapheadercollection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderCollection/VB/soapheadercollection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderCollection/Overview/soapheadercollection.vb" id="Snippet1"::: ]]> @@ -82,7 +82,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapHeaderCollection/CPP/SoapHeaderCollection.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapHeaderCollection/Overview/soapheadercollection.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderCollection/VB/soapheadercollection.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderCollection/Overview/soapheadercollection.vb" id="Snippet3"::: ]]> @@ -122,7 +122,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapHeaderCollection_Contains/CPP/SoapHeaderCollection_Contains.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapHeaderCollection/Contains/soapheadercollection_contains.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderCollection_Contains/VB/soapheadercollection_contains.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderCollection/Contains/soapheadercollection_contains.vb" id="Snippet1"::: ]]> @@ -162,7 +162,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapHeaderCollection/CPP/SoapHeaderCollection.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapHeaderCollection/Overview/soapheadercollection.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderCollection/VB/soapheadercollection.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderCollection/Overview/soapheadercollection.vb" id="Snippet5"::: ]]> @@ -208,7 +208,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapHeaderCollection_Contains/CPP/SoapHeaderCollection_Contains.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapHeaderCollection/Contains/soapheadercollection_contains.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderCollection_Contains/VB/soapheadercollection_contains.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderCollection/Contains/soapheadercollection_contains.vb" id="Snippet1"::: ]]> @@ -255,7 +255,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapHeaderCollection/CPP/SoapHeaderCollection.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapHeaderCollection/Overview/soapheadercollection.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderCollection/VB/soapheadercollection.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderCollection/Overview/soapheadercollection.vb" id="Snippet4"::: ]]> @@ -301,7 +301,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapHeaderCollection_Contains/CPP/SoapHeaderCollection_Contains.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapHeaderCollection/Contains/soapheadercollection_contains.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderCollection_Contains/VB/soapheadercollection_contains.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderCollection/Contains/soapheadercollection_contains.vb" id="Snippet1"::: ]]> @@ -342,7 +342,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapHeaderCollection_Contains/CPP/SoapHeaderCollection_Contains.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapHeaderCollection/Contains/soapheadercollection_contains.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapHeaderCollection_Contains/VB/soapheadercollection_contains.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderCollection/Contains/soapheadercollection_contains.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Protocols/SoapHeaderDirection.xml b/xml/System.Web.Services.Protocols/SoapHeaderDirection.xml index 5c12beeb6a2..1ca204dbe47 100644 --- a/xml/System.Web.Services.Protocols/SoapHeaderDirection.xml +++ b/xml/System.Web.Services.Protocols/SoapHeaderDirection.xml @@ -36,7 +36,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic SoapHeaderDirection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapHeaderDirection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHeaderDirection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapHeaderDirection/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Protocols/SoapHeaderException.xml b/xml/System.Web.Services.Protocols/SoapHeaderException.xml index 281692be3b3..cc9c4938f3d 100644 --- a/xml/System.Web.Services.Protocols/SoapHeaderException.xml +++ b/xml/System.Web.Services.Protocols/SoapHeaderException.xml @@ -42,7 +42,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic SoapHeader.MustUnderstand Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapHeader/MustUnderstand/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHeader.MustUnderstand Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapHeader/MustUnderstand/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.Services.Protocols/SoapHttpClientProtocol.xml b/xml/System.Web.Services.Protocols/SoapHttpClientProtocol.xml index 7f51dd38b0b..240634bc860 100644 --- a/xml/System.Web.Services.Protocols/SoapHttpClientProtocol.xml +++ b/xml/System.Web.Services.Protocols/SoapHttpClientProtocol.xml @@ -39,7 +39,7 @@ [!code-cpp[Classic SoapHttpClientProtocol Example#1](~/snippets/cpp/VS_Snippets_Remoting/Classic SoapHttpClientProtocol Example/CPP/source.cpp#1)] [!code-csharp[Classic SoapHttpClientProtocol Example#1](~/snippets/csharp/System.Web.Services.Protocols/SoapHttpClientProtocol/BeginInvoke/source.cs#1)] - [!code-vb[Classic SoapHttpClientProtocol Example#1](~/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol Example/VB/source.vb#1)] + [!code-vb[Classic SoapHttpClientProtocol Example#1](~/snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/BeginInvoke/source.vb#1)] The following code example is the `Math` XML Web service, from which the preceding proxy class was generated. @@ -47,7 +47,7 @@ > This example has a text box that accepts user input, which is a potential security threat. By default, ASP.NET Web pages validate that user input does not include script or HTML elements. For more information, see [Script Exploits Overview](https://learn.microsoft.com/previous-versions/aspnet/w1sw53ds(v=vs.100)). [!code-aspx-csharp[Classic SoapHttpClientProtocol Example#2](~/snippets/csharp/System.Web.Services.Protocols/SoapHttpClientProtocol/Overview/sourcecs.asmx)] - [!code-aspx-vb[Classic SoapHttpClientProtocol Example#2](~/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol Example/VB/sourcevb.asmx)] + [!code-aspx-vb[Classic SoapHttpClientProtocol Example#2](~/snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/BeginInvoke/sourcevb.asmx)] ]]> @@ -129,12 +129,12 @@ [!code-cpp[Classic SoapHttpClientProtocol.BeginInvoke Example#1](~/snippets/cpp/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.BeginInvoke Example/CPP/source.cpp#1)] [!code-csharp[Classic SoapHttpClientProtocol.BeginInvoke Example#1](~/snippets/csharp/System.Web.Services.Protocols/SoapHttpClientProtocol/EndInvoke/source.cs#1)] - [!code-vb[Classic SoapHttpClientProtocol.BeginInvoke Example#1](~/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.BeginInvoke Example/VB/source.vb#1)] + [!code-vb[Classic SoapHttpClientProtocol.BeginInvoke Example#1](~/snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/EndInvoke/source.vb#1)] The following code example is the `Math` XML Web service, from which the preceding proxy class was created. [!code-aspx-csharp[Classic SoapHttpClientProtocol.BeginInvoke Example#2](~/snippets/csharp/System.Web.Services.Protocols/SoapHttpClientProtocol/BeginInvoke/sourcecs.asmx)] - [!code-aspx-vb[Classic SoapHttpClientProtocol.BeginInvoke Example#2](~/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.BeginInvoke Example/VB/sourcevb.asmx)] + [!code-aspx-vb[Classic SoapHttpClientProtocol.BeginInvoke Example#2](~/snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/EndInvoke/sourcevb.asmx)] ]]> @@ -183,7 +183,7 @@ [!code-cpp[SoapHttpClientProtocol.Discover Example#1](~/snippets/cpp/VS_Snippets_Remoting/SoapHttpClientProtocol.Discover Example/CPP/source.cpp#1)] [!code-csharp[SoapHttpClientProtocol.Discover Example#1](~/snippets/csharp/System.Web.Services.Protocols/SoapHttpClientProtocol/Discover/source.cs#1)] - [!code-vb[SoapHttpClientProtocol.Discover Example#1](~/snippets/visualbasic/VS_Snippets_Remoting/SoapHttpClientProtocol.Discover Example/VB/source.vb#1)] + [!code-vb[SoapHttpClientProtocol.Discover Example#1](~/snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/Discover/source.vb#1)] The following code example is a Web Service client using the preceding proxy class. Within the `EnterBtn_Click` event of the Web Form, the XML Web service client calls the method attempting to dynamically bind to the URL supplied by the user. @@ -191,7 +191,7 @@ > This example has a text box that accepts user input, which is a potential security threat. By default, ASP.NET Web pages validate that user input does not include script or HTML elements. For more information, see [Script Exploits Overview](https://learn.microsoft.com/previous-versions/aspnet/w1sw53ds(v=vs.100)). [!code-csharp[SoapHttpClientProtocol.Discover Example#2](~/snippets/csharp/System.Web.Services.Protocols/SoapHttpClientProtocol/Discover/sourcecs.aspx#2)] - [!code-vb[SoapHttpClientProtocol.Discover Example#2](~/snippets/visualbasic/VS_Snippets_Remoting/SoapHttpClientProtocol.Discover Example/VB/sourcevb.aspx#2)] + [!code-vb[SoapHttpClientProtocol.Discover Example#2](~/snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/Discover/sourcevb.aspx#2)] ]]> @@ -246,12 +246,12 @@ The proxy class does not have a binding defined. [!code-cpp[Classic SoapHttpClientProtocol.EndInvoke Example#1](~/snippets/cpp/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.EndInvoke Example/CPP/source.cpp#1)] [!code-csharp[Classic SoapHttpClientProtocol.EndInvoke Example#1](~/snippets/csharp/System.Web.Services.Protocols/SoapHttpClientProtocol/Invoke/source.cs#1)] - [!code-vb[Classic SoapHttpClientProtocol.EndInvoke Example#1](~/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.EndInvoke Example/VB/source.vb#1)] + [!code-vb[Classic SoapHttpClientProtocol.EndInvoke Example#1](~/snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/Invoke/source.vb#1)] The following code example is the `Math` XML Web service, from which the preceding proxy class was created. [!code-aspx-csharp[Classic SoapHttpClientProtocol.EndInvoke Example#2](~/snippets/csharp/System.Web.Services.Protocols/SoapHttpClientProtocol/EndInvoke/sourcecs.asmx)] - [!code-aspx-vb[Classic SoapHttpClientProtocol.EndInvoke Example#2](~/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.EndInvoke Example/VB/sourcevb.asmx)] + [!code-aspx-vb[Classic SoapHttpClientProtocol.EndInvoke Example#2](~/snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/Invoke/sourcevb.asmx)] ]]> @@ -404,12 +404,12 @@ The proxy class does not have a binding defined. [!code-cpp[Classic SoapHttpClientProtocol.Invoke Example#1](~/snippets/cpp/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.Invoke Example/CPP/source.cpp#1)] [!code-csharp[Classic SoapHttpClientProtocol.Invoke Example#1](~/snippets/csharp/System.Web.Services.Protocols/SoapHttpClientProtocol/Overview/source.cs#1)] - [!code-vb[Classic SoapHttpClientProtocol.Invoke Example#1](~/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.Invoke Example/VB/source.vb#1)] + [!code-vb[Classic SoapHttpClientProtocol.Invoke Example#1](~/snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/Overview/source.vb#1)] The following code example is the `Math` XML Web service, from which the preceding proxy class was created. [!code-aspx-csharp[Classic SoapHttpClientProtocol.Invoke Example#2](~/snippets/csharp/System.Web.Services.Protocols/SoapHttpClientProtocol/Invoke/sourcecs.asmx)] - [!code-aspx-vb[Classic SoapHttpClientProtocol.Invoke Example#2](~/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapHttpClientProtocol.Invoke Example/VB/sourcevb.asmx)] + [!code-aspx-vb[Classic SoapHttpClientProtocol.Invoke Example#2](~/snippets/visualbasic/System.Web.Services.Protocols/SoapHttpClientProtocol/Overview/sourcevb.asmx)] ]]> diff --git a/xml/System.Web.Services.Protocols/SoapMessage.xml b/xml/System.Web.Services.Protocols/SoapMessage.xml index 2f7bc31da5b..3c71dffbc56 100644 --- a/xml/System.Web.Services.Protocols/SoapMessage.xml +++ b/xml/System.Web.Services.Protocols/SoapMessage.xml @@ -31,7 +31,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapMessage/CPP/SoapMessage.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapMessage/Overview/soapmessage.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapMessage/VB/soapmessage.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/Overview/soapmessage.vb" id="Snippet1"::: ]]> @@ -68,7 +68,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapMessage/CPP/SoapMessage.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapMessage/Overview/soapmessage.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapMessage/VB/soapmessage.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/Overview/soapmessage.vb" id="Snippet2"::: ]]> @@ -140,7 +140,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapMessage/CPP/SoapMessage.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapMessage/Overview/soapmessage.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapMessage/VB/soapmessage.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/Overview/soapmessage.vb" id="Snippet3"::: ]]> @@ -254,7 +254,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic SoapMessage.EnsureStage Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapMessage/EnsureStage/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapMessage.EnsureStage Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/EnsureStage/source.vb" id="Snippet1"::: ]]> @@ -334,7 +334,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapMessage/CPP/SoapMessage.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapMessage/Overview/soapmessage.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapMessage/VB/soapmessage.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/Overview/soapmessage.vb" id="Snippet6"::: ]]> @@ -382,7 +382,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapMessage/CPP/SoapMessage.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapMessage/Overview/soapmessage.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapMessage/VB/soapmessage.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/Overview/soapmessage.vb" id="Snippet8"::: ]]> @@ -424,7 +424,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapMessage/CPP/SoapMessage.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapMessage/Overview/soapmessage.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapMessage/VB/soapmessage.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/Overview/soapmessage.vb" id="Snippet9"::: ]]> @@ -498,7 +498,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapMessage/CPP/SoapMessage.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapMessage/Overview/soapmessage.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapMessage/VB/soapmessage.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/Overview/soapmessage.vb" id="Snippet7"::: ]]> @@ -539,7 +539,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapMessage/CPP/SoapMessage.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapMessage/Overview/soapmessage.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapMessage/VB/soapmessage.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/Overview/soapmessage.vb" id="Snippet4"::: ]]> @@ -620,7 +620,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic SoapExtension.ProcessMessage Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapMessage/Stage/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic SoapExtension.ProcessMessage Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/Stage/source.vb" id="Snippet1"::: ]]> @@ -661,7 +661,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapMessage_Headers/CPP/SoapMessage_Headers.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapMessage/Stream/soapmessage_headers.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapMessage_Headers/VB/soapmessage_headers.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/Stream/soapmessage_headers.vb" id="Snippet2"::: ]]> @@ -698,7 +698,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SoapMessage/CPP/SoapMessage.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/SoapMessage/Overview/soapmessage.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapMessage/VB/soapmessage.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/SoapMessage/Overview/soapmessage.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Web.Services.Protocols/SoapMessageStage.xml b/xml/System.Web.Services.Protocols/SoapMessageStage.xml index 4c6f2105735..8dcfbf76f47 100644 --- a/xml/System.Web.Services.Protocols/SoapMessageStage.xml +++ b/xml/System.Web.Services.Protocols/SoapMessageStage.xml @@ -39,7 +39,7 @@ The following example is a fragment of a SOAP extension, which implements the diff --git a/xml/System.Web.Services.Protocols/WebClientProtocol.xml b/xml/System.Web.Services.Protocols/WebClientProtocol.xml index a9f3a2f8333..772e2f578ac 100644 --- a/xml/System.Web.Services.Protocols/WebClientProtocol.xml +++ b/xml/System.Web.Services.Protocols/WebClientProtocol.xml @@ -73,7 +73,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/System.Web.Services.Protocols.WebClientProtocol constructor/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/WebClientProtocol/.ctor/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/System.Web.Services.Protocols.WebClientProtocol constructor/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/WebClientProtocol/.ctor/class1.vb" id="Snippet1"::: ]]> @@ -514,7 +514,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic WebClientProtocol.Timeout Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/WebClientProtocol/Timeout/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic WebClientProtocol.Timeout Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/WebClientProtocol/Timeout/source.vb" id="Snippet1"::: ]]> @@ -574,7 +574,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/Classic WebClientProtocol.Url Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web.Services.Protocols/WebClientProtocol/Url/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic WebClientProtocol.Url Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.Services.Protocols/WebClientProtocol/Url/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.UI/DataBindingCollection.xml b/xml/System.Web.UI/DataBindingCollection.xml index a35ec51b0d1..30de6b9f23f 100644 --- a/xml/System.Web.UI/DataBindingCollection.xml +++ b/xml/System.Web.UI/DataBindingCollection.xml @@ -395,7 +395,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/DataBinding/CPP/webcustomcontrol1.cpp" id="Snippet18"::: :::code language="csharp" source="~/snippets/csharp/System.Web.UI/DataBindingCollection/Remove/webcustomcontrol1.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DataBinding/VB/webcustomcontrol1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web.UI/DataBindingCollection/Remove/webcustomcontrol1.vb" id="Snippet18"::: ]]> diff --git a/xml/System.Web/HttpParseException.xml b/xml/System.Web/HttpParseException.xml index d87aad9da39..0187a0fa988 100644 --- a/xml/System.Web/HttpParseException.xml +++ b/xml/System.Web/HttpParseException.xml @@ -34,10 +34,10 @@ The following example demonstrates how to use the to customize errors generated during page parsing. In this example, a customized control is defined. If child elements of the custom control are not of a specified type then an is thrown in the overridden method of a custom . To generate a parse exception, change the child element literal `MyCustomOption` to any other string. :::code language="aspx-csharp" source="~/snippets/csharp/System.Web/HttpParseException/Overview/source.aspx" id="Snippet1"::: - :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_CLR/HttpParseException/vb/source.aspx" id="Snippet1"::: + :::code language="aspx-vb" source="~/snippets/visualbasic/System.Web/HttpParseException/Overview/source.aspx" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Web/HttpParseException/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/HttpParseException/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web/HttpParseException/Overview/source.vb" id="Snippet2"::: ]]> @@ -111,7 +111,7 @@ The following example demonstrates the use of the constructor. For a complete, working code example, see the overview topic. :::code language="csharp" source="~/snippets/csharp/System.Web/HttpParseException/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/HttpParseException/vb/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Web/HttpParseException/Overview/source.vb" id="Snippet3"::: ]]> @@ -244,7 +244,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Exception.GetObjectData/CPP/getobjdata.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/Exception/.ctor/getobjdata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.GetObjectData/VB/getobjdata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/.ctor/getobjdata.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms.Design.Behavior/Adorner.xml b/xml/System.Windows.Forms.Design.Behavior/Adorner.xml index de1aab66ac3..f51528eeae0 100644 --- a/xml/System.Windows.Forms.Design.Behavior/Adorner.xml +++ b/xml/System.Windows.Forms.Design.Behavior/Adorner.xml @@ -56,7 +56,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -106,7 +106,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -220,7 +220,7 @@ The following code example demonstrates how to enable and disable an . For a full code listing, see [How to: Extend the Appearance and Behavior of Controls in Design Mode](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171820(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Enabled/DesignerDemoControl.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.Glyph.MarginBorderAnchorGlyphs/VB/DesignerDemoControl.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Enabled/DesignerDemoControl.vb" id="Snippet12"::: ]]> @@ -272,7 +272,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet4"::: ]]> @@ -295,7 +295,7 @@ The following example demonstrates how to force an window to repaint. For a full code listing, see [How to: Extend the Appearance and Behavior of Controls in Design Mode](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171820(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Enabled/DesignerDemoControl.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.Glyph.MarginBorderAnchorGlyphs/VB/DesignerDemoControl.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Enabled/DesignerDemoControl.vb" id="Snippet13"::: ]]> @@ -340,7 +340,7 @@ The following code example demonstrates how to force an window to repaint. For a full code listing, see [How to: Extend the Appearance and Behavior of Controls in Design Mode](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171820(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Enabled/DesignerDemoControl.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.Glyph.MarginBorderAnchorGlyphs/VB/DesignerDemoControl.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Enabled/DesignerDemoControl.vb" id="Snippet13"::: ]]> diff --git a/xml/System.Windows.Forms.Design.Behavior/Behavior.xml b/xml/System.Windows.Forms.Design.Behavior/Behavior.xml index f650bee8603..b07040892a2 100644 --- a/xml/System.Windows.Forms.Design.Behavior/Behavior.xml +++ b/xml/System.Windows.Forms.Design.Behavior/Behavior.xml @@ -59,7 +59,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet5"::: ]]> @@ -118,7 +118,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet7"::: ]]> @@ -693,7 +693,7 @@ The following code example demonstrates how to handle a double-click message. For a full code listing, see [How to: Extend the Appearance and Behavior of Controls in Design Mode](https://learn.microsoft.com/previous-versions/visualstudio/visual-studio-2013/ms171820(v=vs.120)). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Enabled/DesignerDemoControl.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.Glyph.MarginBorderAnchorGlyphs/VB/DesignerDemoControl.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Enabled/DesignerDemoControl.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms.Design.Behavior/BehaviorService.xml b/xml/System.Windows.Forms.Design.Behavior/BehaviorService.xml index 8607b62f3ec..82259fe7d1e 100644 --- a/xml/System.Windows.Forms.Design.Behavior/BehaviorService.xml +++ b/xml/System.Windows.Forms.Design.Behavior/BehaviorService.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -121,7 +121,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -384,7 +384,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Windows.Forms.Design.Behavior/Glyph.xml b/xml/System.Windows.Forms.Design.Behavior/Glyph.xml index bde402fa4f6..b16932cd15f 100644 --- a/xml/System.Windows.Forms.Design.Behavior/Glyph.xml +++ b/xml/System.Windows.Forms.Design.Behavior/Glyph.xml @@ -56,7 +56,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet5"::: ]]> @@ -111,7 +111,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet4"::: ]]> @@ -207,7 +207,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet8"::: ]]> @@ -264,7 +264,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet9"::: ]]> @@ -320,7 +320,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/cpp/Form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Design.Behavior.BehaviorService/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design.Behavior/Adorner/Overview/Form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms.Design/AnchorEditor.xml b/xml/System.Windows.Forms.Design/AnchorEditor.xml index e820dee6c62..10a81322adb 100644 --- a/xml/System.Windows.Forms.Design/AnchorEditor.xml +++ b/xml/System.Windows.Forms.Design/AnchorEditor.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/EditorAttributesExample/CPP/class1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/CollectionEditor/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/EditorAttributesExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/CollectionEditor/Overview/class1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms.Design/ControlDesigner.xml b/xml/System.Windows.Forms.Design/ControlDesigner.xml index dcbdfd3f867..677d60bff75 100644 --- a/xml/System.Windows.Forms.Design/ControlDesigner.xml +++ b/xml/System.Windows.Forms.Design/ControlDesigner.xml @@ -59,7 +59,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ControlDesignerExample/CPP/controldesignerexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/IDesignerFilter/Overview/controldesignerexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ControlDesignerExample/VB/controldesignerexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/IDesignerFilter/Overview/controldesignerexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms.Design/FileNameEditor.xml b/xml/System.Windows.Forms.Design/FileNameEditor.xml index 0814628a24c..ed99a1093ef 100644 --- a/xml/System.Windows.Forms.Design/FileNameEditor.xml +++ b/xml/System.Windows.Forms.Design/FileNameEditor.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/EditorAttributesExample/CPP/class1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/CollectionEditor/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/EditorAttributesExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/CollectionEditor/Overview/class1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Windows.Forms.Design/IUIService.xml b/xml/System.Windows.Forms.Design/IUIService.xml index fec13936634..5cfb7e66312 100644 --- a/xml/System.Windows.Forms.Design/IUIService.xml +++ b/xml/System.Windows.Forms.Design/IUIService.xml @@ -40,7 +40,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IUIServiceExample/CPP/class1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/StandardToolWindows/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IUIServiceExample/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/StandardToolWindows/Overview/class1.vb" id="Snippet1"::: ]]> @@ -248,7 +248,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IUIServiceExample/CPP/class1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/StandardToolWindows/Overview/class1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IUIServiceExample/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/StandardToolWindows/Overview/class1.vb" id="Snippet4"::: ]]> @@ -386,7 +386,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IUIServiceExample/CPP/class1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/StandardToolWindows/Overview/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IUIServiceExample/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/StandardToolWindows/Overview/class1.vb" id="Snippet3"::: ]]> @@ -443,7 +443,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IUIServiceExample/CPP/class1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/StandardToolWindows/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IUIServiceExample/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/StandardToolWindows/Overview/class1.vb" id="Snippet2"::: ]]> @@ -493,7 +493,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IUIServiceExample/CPP/class1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/StandardToolWindows/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IUIServiceExample/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/StandardToolWindows/Overview/class1.vb" id="Snippet2"::: ]]> @@ -546,7 +546,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IUIServiceExample/CPP/class1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/StandardToolWindows/Overview/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IUIServiceExample/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/StandardToolWindows/Overview/class1.vb" id="Snippet2"::: ]]> @@ -593,7 +593,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IUIServiceExample/CPP/class1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Design/StandardToolWindows/Overview/class1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IUIServiceExample/VB/class1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel.Design/StandardToolWindows/Overview/class1.vb" id="Snippet5"::: ]]> @@ -641,7 +641,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic IUIService.Styles Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design/IUIService/Styles/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic IUIService.Styles Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design/IUIService/Styles/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms.Design/IWindowsFormsEditorService.xml b/xml/System.Windows.Forms.Design/IWindowsFormsEditorService.xml index 7389d1af546..b57fcf8005f 100644 --- a/xml/System.Windows.Forms.Design/IWindowsFormsEditorService.xml +++ b/xml/System.Windows.Forms.Design/IWindowsFormsEditorService.xml @@ -36,13 +36,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/WinFormsEditorServiceDialogExample/CPP/winformsedserviceeditordialogexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/winformsedserviceeditordialogexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WinFormsEditorServiceDialogExample/VB/winformsedserviceeditordialogexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/winformsedserviceeditordialogexample.vb" id="Snippet1"::: The following example provides an example that uses an to display a drop-down for user input. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/WinFormsEditorServiceDropDownExample/CPP/winformsedserviceeditordropdownexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/winformsedserviceeditordropdownexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WinFormsEditorServiceDropDownExample/VB/winformsedserviceeditordropdownexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Design/IWindowsFormsEditorService/Overview/winformsedserviceeditordropdownexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms.Design/ParentControlDesigner.xml b/xml/System.Windows.Forms.Design/ParentControlDesigner.xml index 108d2b2c693..fdbbb78920c 100644 --- a/xml/System.Windows.Forms.Design/ParentControlDesigner.xml +++ b/xml/System.Windows.Forms.Design/ParentControlDesigner.xml @@ -51,7 +51,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IToolboxUserExample/CPP/samplecontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IToolboxUserExample/VB/samplecontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ToolboxItemFilterAttribute/Overview/samplecontrol.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms.Layout/LayoutEngine.xml b/xml/System.Windows.Forms.Layout/LayoutEngine.xml index 4ed1d73e14b..98a5832d04c 100644 --- a/xml/System.Windows.Forms.Layout/LayoutEngine.xml +++ b/xml/System.Windows.Forms.Layout/LayoutEngine.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Layout.LayoutEngine/cpp/DemoFlowLayout.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Layout/LayoutEngine/Overview/DemoFlowLayout.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Layout.LayoutEngine/VB/DemoFlowLayout.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Layout/LayoutEngine/Overview/DemoFlowLayout.vb" id="Snippet1"::: ]]> @@ -178,7 +178,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Layout.LayoutEngine/cpp/DemoFlowLayout.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.Layout/LayoutEngine/Overview/DemoFlowLayout.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Layout.LayoutEngine/VB/DemoFlowLayout.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.Layout/LayoutEngine/Overview/DemoFlowLayout.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox.xml index c6ebb800f14..25a1c32639e 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet14"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox8` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet21"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet19"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet18"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox7` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet20"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox12` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet25"::: ]]> @@ -300,7 +300,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox10` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet23"::: ]]> @@ -343,7 +343,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox9` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet22"::: ]]> @@ -386,7 +386,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox11` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet24"::: ]]> @@ -429,7 +429,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet17"::: ]]> @@ -472,7 +472,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet15"::: ]]> @@ -515,7 +515,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet14"::: ]]> @@ -558,7 +558,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_CheckBox3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet16"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+GroupBox.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+GroupBox.xml index 960aa7da396..3b509d1ffcf 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+GroupBox.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+GroupBox.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_GroupBox1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet26"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_GroupBox2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet27"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_GroupBox1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet26"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+PushButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+PushButton.xml index 83eb6e11ac8..8afa555b255 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+PushButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+PushButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet5"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet4"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+RadioButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+RadioButton.xml index 1e287ac6d1b..5e3a6668fc0 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+RadioButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+RadioButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_RadioButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet6"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_RadioButton8` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet13"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_RadioButton6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet11"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_RadioButton5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet10"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_RadioButton7` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet12"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_RadioButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet9"::: ]]> @@ -300,7 +300,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_RadioButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet7"::: ]]> @@ -378,7 +378,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_RadioButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+UserButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+UserButton.xml index 82fa5285d38..7d92a77a75f 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+UserButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+UserButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_UserButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet28"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet28"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ComboBox+DropDownButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ComboBox+DropDownButton.xml index 63718ce7b95..57f6bf7d2c5 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ComboBox+DropDownButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ComboBox+DropDownButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_DropDownButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet30"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_DropDownButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet32"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet32"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet32"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_DropDownButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet30"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_DropDownButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet29"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_DropDownButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet31"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderBackground.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderBackground.xml index a410251bb31..605881c251b 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderBackground.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderBackground.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderBackground1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet137"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet137"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet137"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderBackground1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet137"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet137"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet137"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderClose.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderClose.xml index 66157b3c84e..dadf8b870c2 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderClose.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderClose.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderClose1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet138"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet138"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet138"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderClose2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet139"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet139"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet139"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderClose1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet138"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet138"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet138"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderClose3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet140"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet140"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet140"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderPin.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderPin.xml index f58086d0c9f..0a21f53adc9 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderPin.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+HeaderPin.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderPin1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet141"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet141"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet141"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderPin2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet142"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet142"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet142"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderPin1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet141"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet141"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet141"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderPin3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet143"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet143"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet143"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderPin5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet145"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet145"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet145"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderPin4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet144"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet144"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet144"::: ]]> @@ -300,7 +300,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarHeaderPin6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet146"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet146"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet146"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+IEBarMenu.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+IEBarMenu.xml index cabe01bd015..aa709498a31 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+IEBarMenu.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+IEBarMenu.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarIEBarMenu1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet147"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet147"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet147"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarIEBarMenu2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet148"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet148"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet148"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarIEBarMenu1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet147"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet147"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet147"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarIEBarMenu3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet149"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet149"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet149"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupBackground.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupBackground.xml index f0f25756442..3bfcce7703f 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupBackground.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupBackground.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupBackground1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet150"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet150"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet150"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupBackground1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet150"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet150"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet150"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupCollapse.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupCollapse.xml index ab5a67bb382..d34d1cf999d 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupCollapse.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupCollapse.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupCollapse1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet151"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet151"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet151"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupCollapse2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet152"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet152"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet152"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupCollapse1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet151"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet151"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet151"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupCollapse3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet153"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet153"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet153"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupExpand.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupExpand.xml index c2bf0394089..0b9cb667cff 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupExpand.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupExpand.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupExpand1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet154"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet154"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet154"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupExpand2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet155"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet155"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet155"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupExpand1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet154"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet154"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet154"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupExpand3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet156"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet156"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet156"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupHead.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupHead.xml index 245f0eb3ff6..27df43500c9 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupHead.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+NormalGroupHead.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupHead1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet157"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet157"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet157"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarNormalGroupHead1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet157"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet157"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet157"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupBackground.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupBackground.xml index 14d7f9f6a9d..d1b2a7f8dcc 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupBackground.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupBackground.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupBackground1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet158"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet158"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet158"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupBackground1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet158"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet158"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet158"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupCollapse.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupCollapse.xml index 07895d6c76b..cab32b22cc8 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupCollapse.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupCollapse.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupCollapse1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet159"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet159"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet159"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupCollapse2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet160"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet160"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet160"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupCollapse1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet159"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet159"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet159"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupCollapse3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet161"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet161"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet161"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupExpand.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupExpand.xml index 729bf2409b5..c9b4fcb41c4 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupExpand.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupExpand.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupExpand1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet162"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet162"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet162"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupExpand2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet163"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet163"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet163"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupExpand1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet162"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet162"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet162"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupExpand3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet164"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet164"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet164"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupHead.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupHead.xml index 1132484ea98..22fb9a3b0bf 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupHead.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ExplorerBar+SpecialGroupHead.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupHead1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet165"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet165"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet165"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementExplorerBarSpecialGroupHead1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet165"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet165"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet165"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+Item.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+Item.xml index a29e9fb4277..007b7f21c8a 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+Item.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+Item.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet166"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet166"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet166"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItem2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet167"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet167"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet167"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet166"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet166"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet166"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItem3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet168"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet168"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet168"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+ItemLeft.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+ItemLeft.xml index 44c647da814..33f55add3bd 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+ItemLeft.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+ItemLeft.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItemLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet169"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet169"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet169"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItemLeft2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet170"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet170"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet170"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItemLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet169"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet169"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet169"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItemLeft3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet171"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet171"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet171"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+ItemRight.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+ItemRight.xml index ca4a52bafde..429ccbc9356 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+ItemRight.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+ItemRight.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItemRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet172"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet172"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet172"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItemRight2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet173"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet173"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet173"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItemRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet172"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet172"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet172"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderItemRight3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet174"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet174"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet174"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+SortArrow.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+SortArrow.xml index 1631764d0df..a421b540908 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+SortArrow.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Header+SortArrow.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderSortArrow2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet176"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet176"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet176"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderSortArrow2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet176"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet176"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet176"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementHeaderSortArrow1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet175"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet175"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet175"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Detail.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Detail.xml index df0abe1cea2..d3d352e2499 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Detail.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Detail.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewDetail1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet183"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet183"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet183"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewDetail1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet183"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet183"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet183"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+EmptyText.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+EmptyText.xml index 80f7825b633..ca204b6e6d1 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+EmptyText.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+EmptyText.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewEmptyText1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet185"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet185"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet185"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewEmptyText1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet185"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet185"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet185"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Group.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Group.xml index 321d607a5c8..913905e70dd 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Group.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Group.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewGroup1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet182"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet182"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet182"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewGroup1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet182"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet182"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet182"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Item.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Item.xml index fb431b02fdb..dddf3fdcb5c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Item.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+Item.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet177"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet177"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet177"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewItem4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet180"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet180"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet180"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewItem2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet178"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet178"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet178"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet177"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet177"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet177"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewItem3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet179"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet179"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet179"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewItem5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet181"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet181"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet181"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+SortedDetail.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+SortedDetail.xml index 781c405da52..3eee82dfd2c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+SortedDetail.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ListView+SortedDetail.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewSortedDetail1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet184"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet184"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet184"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementListViewSortedDetail1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet184"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet184"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet184"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+BarDropDown.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+BarDropDown.xml index 4684705813a..92266c0fce3 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+BarDropDown.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+BarDropDown.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBarDropDown1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet198"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet198"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet198"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBarDropDown1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet198"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet198"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet198"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+BarItem.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+BarItem.xml index eb633349551..69cf7b1a38e 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+BarItem.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+BarItem.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBarItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet197"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet197"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet197"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBarItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet197"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet197"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet197"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Chevron.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Chevron.xml index 7b54c5eaf4d..3826304bd11 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Chevron.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Chevron.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuChevron1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet199"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet199"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet199"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuChevron1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet199"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet199"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet199"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+DropDown.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+DropDown.xml index 55317105961..33712655e60 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+DropDown.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+DropDown.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuDropDown1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet196"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet196"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet196"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuDropDown1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet196"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet196"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet196"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Item.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Item.xml index d92b50c7f34..06920fca6a1 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Item.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Item.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet193"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet193"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet193"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuItem3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet195"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet195"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet195"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet193"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet193"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet193"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuItem2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet194"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet194"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet194"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Separator.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Separator.xml index 85101e74f1e..f1e948494d6 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Separator.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Menu+Separator.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuSeparator1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet200"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet200"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet200"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuSeparator1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet200"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet200"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet200"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+MenuBand+NewApplicationButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+MenuBand+NewApplicationButton.xml index afbbb5d481b..64f5501eb13 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+MenuBand+NewApplicationButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+MenuBand+NewApplicationButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBandNewApplicationButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet186"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet186"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet186"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBandNewApplicationButton5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet190"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet190"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet190"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBandNewApplicationButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet189"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet189"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet189"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBandNewApplicationButton6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet191"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet191"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet191"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBandNewApplicationButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet186"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet186"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet186"::: ]]> @@ -300,7 +300,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBandNewApplicationButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet188"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet188"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet188"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+MenuBand+Separator.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+MenuBand+Separator.xml index b507b5f537c..63d293af98c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+MenuBand+Separator.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+MenuBand+Separator.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBandSeparator1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet192"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet192"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet192"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementMenuBandSeparator1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet192"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet192"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet192"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+Down.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+Down.xml index 28f6c9d8e7b..cce2c9e320f 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+Down.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+Down.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_Down1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet37"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet37"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_Down4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet40"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_Down2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet38"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet38"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet38"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_Down1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet37"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet37"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_Down3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet39"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+DownHorizontal.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+DownHorizontal.xml index b964a5d2626..348a1ba0645 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+DownHorizontal.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+DownHorizontal.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_DownHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet45"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet45"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_DownHorizontal4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet48"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_DownHorizontal2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet46"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet46"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet46"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_DownHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet45"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet45"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_DownHorizontal3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet47"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet47"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet47"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+Up.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+Up.xml index e0a54af334f..c5bbb843eaa 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+Up.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+Up.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_Up1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet33"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_Up4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet36"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet36"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet36"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_Up1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet34"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_Up1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet33"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_Up3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet35"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+UpHorizontal.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+UpHorizontal.xml index 78eb3f35c0c..b023ac0b1d8 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+UpHorizontal.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Page+UpHorizontal.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_UpHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet41"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_UpHorizontal4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet44"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_UpHorizontal2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet42"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_UpHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet41"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Page_UpHorizontal3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet43"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet43"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+Bar.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+Bar.xml index 9ec79bdd77b..dced4877ae7 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+Bar.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+Bar.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementProgressBarBar1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet201"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet201"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet201"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementProgressBarBar1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet201"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet201"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet201"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+BarVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+BarVertical.xml index aea82d36ba3..b3c258f929d 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+BarVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+BarVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementProgressBarBarVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet202"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet202"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet202"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementProgressBarBarVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet202"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet202"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet202"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+Chunk.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+Chunk.xml index f8d8a939c7d..48b8795553b 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+Chunk.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+Chunk.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementProgressBarChunk1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet203"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet203"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet203"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementProgressBarChunk1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet203"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet203"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet203"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+ChunkVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+ChunkVertical.xml index 65d3c2bfa90..e8d54aaad1b 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+ChunkVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ProgressBar+ChunkVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementProgressBarChunkVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet204"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet204"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet204"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementProgressBarChunkVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet204"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet204"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet204"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Band.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Band.xml index f26dec44e80..cc7c079e4b1 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Band.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Band.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarBand1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet207"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet207"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet207"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarBand1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet207"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet207"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet207"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Chevron.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Chevron.xml index d2a6186de3c..d992f5686ba 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Chevron.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Chevron.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarChevron1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet208"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet208"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet208"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarChevron2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet209"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet209"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet209"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarChevron1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet208"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet208"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet208"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarChevron3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet210"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet210"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet210"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+ChevronVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+ChevronVertical.xml index 3fab6aea6f0..3a7beeeb3e3 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+ChevronVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+ChevronVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarChevronVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet211"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet211"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet211"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarChevronVertical2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet212"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet212"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet212"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarChevronVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet211"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet211"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet211"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarChevronVertical3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet213"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet213"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet213"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Gripper.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Gripper.xml index 45d86ea0e14..1a71dae0643 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Gripper.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+Gripper.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarGripper1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet205"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet205"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet205"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarGripper1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet205"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet205"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet205"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+GripperVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+GripperVertical.xml index e09e849ecf4..246e870a929 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+GripperVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Rebar+GripperVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementRebarGripperVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet206"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet206"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet206"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ArrowButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ArrowButton.xml index 02fe9ab5bef..0a240636cf7 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ArrowButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ArrowButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet65"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton8` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet72"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet72"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet72"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet70"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet69"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet69"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet69"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton7` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet71"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet71"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet71"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton12` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet76"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet76"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet76"::: ]]> @@ -300,7 +300,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton10` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet74"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet74"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet74"::: ]]> @@ -343,7 +343,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton9` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet73"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet73"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet73"::: ]]> @@ -386,7 +386,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton11` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet75"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet75"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet75"::: ]]> @@ -429,7 +429,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton16` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet80"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet80"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet80"::: ]]> @@ -472,7 +472,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton14` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet78"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet78"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet78"::: ]]> @@ -515,7 +515,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton13` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet77"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet77"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet77"::: ]]> @@ -558,7 +558,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton15` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet79"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet79"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet79"::: ]]> @@ -601,7 +601,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet68"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet68"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet68"::: ]]> @@ -644,7 +644,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet66"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet66"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet66"::: ]]> @@ -687,7 +687,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarArrowButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet65"::: ]]> @@ -730,7 +730,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementArrowButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet67"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet67"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet67"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+GripperHorizontal.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+GripperHorizontal.xml index 9746049e113..466c134e17f 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+GripperHorizontal.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+GripperHorizontal.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarGripperHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet105"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet105"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet105"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarGripperHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet105"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet105"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet105"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+GripperVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+GripperVertical.xml index 283d5c592c4..5d822b3ab28 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+GripperVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+GripperVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarGripperVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet106"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet106"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet106"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarGripperVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet106"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet106"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet106"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+LeftTrackHorizontal.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+LeftTrackHorizontal.xml index da478272d54..885c5ad8879 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+LeftTrackHorizontal.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+LeftTrackHorizontal.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarLeftTrackHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet93"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet93"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet93"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarLeftTrackHorizontal4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet96"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet96"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet96"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarLeftTrackHorizontal2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet94"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet94"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet94"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarLeftTrackHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet93"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet93"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet93"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarLeftTrackHorizonta13` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet95"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet95"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet95"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+LowerTrackVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+LowerTrackVertical.xml index 11853137383..84e9b2ae69f 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+LowerTrackVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+LowerTrackVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarLowerTrackVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet97"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet97"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet97"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarLowerTrackVertical4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet100"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarLowerTrackVertical2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet98"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarLowerTrackVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet97"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet97"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet97"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarLowerTrackVertical3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet99"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet99"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet99"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+RightTrackHorizontal.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+RightTrackHorizontal.xml index 86e37b0e3c4..32528e39629 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+RightTrackHorizontal.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+RightTrackHorizontal.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarRightTrackHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet89"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet89"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet89"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarRightTrackHorizontal4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet92"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet92"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet92"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarRightTrackHorizontal2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet90"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet90"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet90"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarRightTrackHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet89"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet89"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet89"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarRightTrackHorizontal3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet91"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet91"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet91"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+SizeBox.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+SizeBox.xml index 527bf20de54..13d23f930ae 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+SizeBox.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+SizeBox.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarSizeBox1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet107"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet107"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet107"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarSizeBox2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet108"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet108"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet108"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarSizeBox1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet107"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet107"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet107"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ThumbButtonHorizontal.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ThumbButtonHorizontal.xml index 1627ae4f5ac..b6fe174548b 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ThumbButtonHorizontal.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ThumbButtonHorizontal.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarThumbButtonHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet81"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet81"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet81"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarThumbButtonHorizontal4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet84"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet84"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet84"::: ]]> @@ -129,7 +129,7 @@ The following example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarThumbButtonHorizontal2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet82"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet82"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet82"::: ]]> @@ -172,7 +172,7 @@ The following example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarThumbButtonHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet81"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet81"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet81"::: ]]> @@ -215,7 +215,7 @@ The following example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarThumbButtonHorizontal3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet83"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet83"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet83"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ThumbButtonVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ThumbButtonVertical.xml index 7c71c94bbc4..54ae78be588 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ThumbButtonVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+ThumbButtonVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarThumbButtonVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet85"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet85"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet85"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarThumbButtonVertical4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet88"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet88"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet88"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarThumbButtonVertical2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet86"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet86"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet86"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarThumbButtonVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet85"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet85"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet85"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarThumbButtonVertical3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet87"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet87"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet87"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+UpperTrackVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+UpperTrackVertical.xml index 64d12b23779..a53e795c209 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+UpperTrackVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ScrollBar+UpperTrackVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarUpperTrackVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet101"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet101"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet101"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarUpperTrackVertical4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet104"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet104"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet104"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarUpperTrackVertical2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet102"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet102"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet102"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarUpperTrackVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet101"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet101"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet101"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementScrollBarUpperTrackVertical3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet103"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet103"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet103"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+Down.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+Down.xml index 374026f5b57..5db81e17f8c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+Down.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+Down.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_Down1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet53"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet53"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet53"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_Down4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet56"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet56"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet56"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_Down2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet54"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet54"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet54"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_Down1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet53"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet53"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet53"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_Down3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet55"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet55"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet55"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+DownHorizontal.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+DownHorizontal.xml index 2dd720fe0ce..53893582385 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+DownHorizontal.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+DownHorizontal.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_DownHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet61"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet61"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet61"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet64"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet64"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet64"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet62"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet62"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet62"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_DownHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet61"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet61"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet61"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet63"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet63"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet63"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+Up.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+Up.xml index 43a59da613e..1d2f3de91a5 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+Up.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+Up.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_Up1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet49"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet49"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet49"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_Up4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet52"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet52"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet52"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_Up2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet50"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_Up1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet49"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet49"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet49"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_Up3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet51"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet51"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet51"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+UpHorizontal.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+UpHorizontal.xml index 0d3c317ba11..feaf7ce4924 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+UpHorizontal.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Spin+UpHorizontal.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_UpHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet57"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet57"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet57"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet60"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet60"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet60"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet58"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet58"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet58"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Spin_UpHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet57"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet57"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet57"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet59"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet59"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet59"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+LogOff.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+LogOff.xml index 7618c6a5101..952d15c70bb 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+LogOff.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+LogOff.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelLogOff1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet223"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet223"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet223"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelLogOff1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet223"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet223"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet223"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+LogOffButtons.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+LogOffButtons.xml index b0df646428f..f1dc4433768 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+LogOffButtons.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+LogOffButtons.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelLogOffButtons1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet224"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet224"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet224"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelLogOffButtons2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet225"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet225"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet225"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelLogOffButtons1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet224"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet224"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet224"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelLogOffButtons3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet226"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet226"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet226"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+MorePrograms.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+MorePrograms.xml index 0eb5748f95f..a788ff2064e 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+MorePrograms.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+MorePrograms.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelMorePrograms1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet215"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet215"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet215"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelMorePrograms1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet215"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet215"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet215"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+MoreProgramsArrow.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+MoreProgramsArrow.xml index b2c63efb392..a8fb3df9066 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+MoreProgramsArrow.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+MoreProgramsArrow.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelMoreProgramsArrow1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet216"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet216"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet216"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelMoreProgramsArrow2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet217"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet217"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet217"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelMoreProgramsArrow1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet216"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet216"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet216"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelMoreProgramsArrow3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet218"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet218"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet218"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+PlaceList.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+PlaceList.xml index 24dfc0501dc..c5427e58a8c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+PlaceList.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+PlaceList.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelPlaceList1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet221"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet221"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet221"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelPlaceList1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet221"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet221"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet221"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+PlaceListSeparator.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+PlaceListSeparator.xml index d9b58e986ef..6959d968b24 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+PlaceListSeparator.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+PlaceListSeparator.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelPlaceListSeparator1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet222"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet222"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet222"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelPlaceListSeparator1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet222"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet222"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet222"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+Preview.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+Preview.xml index 022b7ff413f..7e91f5e74bb 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+Preview.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+Preview.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelPreview1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet228"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet228"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet228"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelPreview1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet228"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet228"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet228"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+ProgList.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+ProgList.xml index bf05892eec6..5705735f1d8 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+ProgList.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+ProgList.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelProgList1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet219"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet219"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet219"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelProgList1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet219"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet219"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet219"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+ProgListSeparator.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+ProgListSeparator.xml index bf5105d71f5..6a2ec4d5278 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+ProgListSeparator.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+ProgListSeparator.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelProgListSeparator1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet220"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet220"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet220"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelProgListSeparator1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet220"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet220"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet220"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+UserPane.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+UserPane.xml index b0924f3ab8f..cffde92161d 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+UserPane.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+UserPane.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelUserPane1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet214"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet214"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet214"::: ]]> @@ -80,7 +80,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelUserPane1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet214"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet214"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet214"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+UserPicture.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+UserPicture.xml index ec1e19100a1..ec9d924a259 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+UserPicture.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+StartPanel+UserPicture.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelUserPicture1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet227"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet227"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet227"::: ]]> @@ -80,7 +80,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStartPanelUserPicture1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet227"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet227"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet227"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Bar.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Bar.xml index 9db7a73ed07..1197cba226b 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Bar.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Bar.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStatusBar1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet229"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet229"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet229"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStatusBar1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet229"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet229"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet229"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Gripper.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Gripper.xml index d2a6b715da3..f912ae2deb1 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Gripper.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Gripper.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStatusGripper1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet232"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet232"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet232"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStatusGripper1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet232"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet232"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet232"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+GripperPane.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+GripperPane.xml index 233ea9cdd6a..e45ac7e68f5 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+GripperPane.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+GripperPane.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStatusGripperPane1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet231"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet231"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet231"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStatusGripperPane1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet231"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet231"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet231"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Pane.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Pane.xml index a1a5034db34..8008dbe6a86 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Pane.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Status+Pane.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStatusPane1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet230"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet230"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet230"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementStatusPane1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet230"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet230"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet230"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+Body.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+Body.xml index 46b0067f51c..79d310e9297 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+Body.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+Body.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabBody1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet136"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet136"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet136"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabBody1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet136"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet136"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet136"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+Pane.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+Pane.xml index 382f33d00b0..04ba3cfb74c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+Pane.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+Pane.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabPane1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet135"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet135"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet135"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabPane1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet135"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet135"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet135"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItem.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItem.xml index 4047a0ac5ac..0837edd27eb 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItem.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItem.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet109"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet109"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet109"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet112"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet112"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet112"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItem2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet110"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet110"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet110"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet109"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet109"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet109"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItem3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet111"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet111"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet111"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemBothEdges.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemBothEdges.xml index f053b472c9e..86545fa5217 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemBothEdges.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemBothEdges.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItemBothEdges1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet121"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet121"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet121"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItemBothEdges1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet121"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet121"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet121"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemLeftEdge.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemLeftEdge.xml index e8c80cfd5e1..01f0103a89c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemLeftEdge.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemLeftEdge.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItemLeftEdge1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet113"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet113"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet113"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItemLeftEdge4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet116"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet116"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet116"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItemLeftEdge2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet114"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet114"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet114"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItemLeftEdge1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet113"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet113"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet113"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItemLeftEdge3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet115"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet115"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet115"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemRightEdge.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemRightEdge.xml index 1c69a77cb4c..3a16857f296 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemRightEdge.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TabItemRightEdge.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItemRightEdge1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet117"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet117"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet117"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet120"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItemRightEdge2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet118"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet118"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet118"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItemRightEdge1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet117"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet117"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet117"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTabItemRightEdge3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet119"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet119"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet119"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItem.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItem.xml index 06430910f14..01a184faffe 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItem.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItem.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet122"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet122"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet122"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItem4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet125"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet125"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet125"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItem2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet123"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet123"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet123"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet122"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet122"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet122"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItem3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet124"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet124"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet124"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemBothEdges.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemBothEdges.xml index 7fe0b4a31fb..1c92c902208 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemBothEdges.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemBothEdges.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemBothEdges1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet134"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet134"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet134"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemBothEdges1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet134"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet134"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet134"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemLeftEdge.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemLeftEdge.xml index 843af1dfc1b..089a7fdefdd 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemLeftEdge.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemLeftEdge.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemLeftEdge1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet126"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet126"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet126"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemLeftEdge4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet129"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet129"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet129"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemLeftEdge2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet127"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet127"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet127"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemLeftEdge1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet126"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet126"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet126"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemLeftEdge3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet128"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet128"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet128"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemRightEdge.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemRightEdge.xml index c2291b1f29e..b87fec9e18a 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemRightEdge.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Tab+TopTabItemRightEdge.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemRightEdge1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet130"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet130"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet130"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemRightEdge4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet133"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet133"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet133"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemRightEdge2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet131"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet131"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet131"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemRightEdge1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet130"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet130"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet130"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTabTopTabItemRightEdge3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet132"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet132"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet132"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+FlashButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+FlashButton.xml index d8009848253..0563fef8a96 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+FlashButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+FlashButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskBandFlashButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet234"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet234"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet234"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskBandFlashButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet234"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet234"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet234"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+FlashButtonGroupMenu.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+FlashButtonGroupMenu.xml index 168c7bae594..43106ed08eb 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+FlashButtonGroupMenu.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+FlashButtonGroupMenu.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskBandFlashButtonGroupMenu1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskBandFlashButtonGroupMenu1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+GroupCount.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+GroupCount.xml index d1cff93787d..21659ac13b0 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+GroupCount.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskBand+GroupCount.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskBandGroupCount1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet233"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet233"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet233"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskBandGroupCount1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet233"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet233"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet233"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundBottom.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundBottom.xml index 18a5c852bf7..c8ad2c54a41 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundBottom.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundBottom.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarBackgroundBotton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet237"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet237"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet237"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarBackgroundBotton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet237"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet237"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet237"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundLeft.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundLeft.xml index d48fe3cdd66..1b628a8f630 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundLeft.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundLeft.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarBackgroundLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet240"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet240"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet240"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarBackgroundLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet240"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet240"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet240"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundRight.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundRight.xml index 7996b0c54a5..150b726eec9 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundRight.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundRight.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarBackgroundRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet238"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet238"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet238"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarBackgroundRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet238"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet238"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet238"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundTop.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundTop.xml index 56aa76c98b5..7a2d78e4fc1 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundTop.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+BackgroundTop.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarBackgroundTop1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet239"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet239"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet239"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarBackgroundTop1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet239"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet239"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet239"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarBottom.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarBottom.xml index addf1ad95a0..d0f922040ce 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarBottom.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarBottom.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarSizingBarBottom1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet241"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet241"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet241"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarSizingBarBottom1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet241"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet241"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet241"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarLeft.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarLeft.xml index 81dfcb874bf..8b3aa9a0d5c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarLeft.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarLeft.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarSizingBarLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet244"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet244"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet244"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarSizingBarLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet244"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet244"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet244"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarRight.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarRight.xml index 9fcbb950913..08b133263c9 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarRight.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarRight.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementSizingBarRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet242"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet242"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet242"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementSizingBarRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet242"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet242"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet242"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarTop.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarTop.xml index 20e2bb4065b..00a5be64263 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarTop.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Taskbar+SizingBarTop.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarSizingBarTop1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet243"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet243"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet243"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarSizingBarTop1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet243"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet243"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet243"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskbarClock+Time.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskbarClock+Time.xml index 4dd7fff79e5..1a8fd7da248 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskbarClock+Time.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TaskbarClock+Time.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarClockTime1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet236"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet236"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet236"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTaskbarClockTime1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet236"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet236"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet236"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TextBox+Caret.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TextBox+Caret.xml index 2361ac49f3d..20e8f602658 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TextBox+Caret.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TextBox+Caret.xml @@ -77,7 +77,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTextBoxCaret1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet330"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet330"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet330"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TextBox+TextEdit.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TextBox+TextEdit.xml index f3828df4b81..99044bde92f 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TextBox+TextEdit.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TextBox+TextEdit.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTextBoxTextEdit4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet326"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet326"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet326"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTextBoxTextEdit7` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet329"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet329"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet329"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTextBoxTextEdit4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet326"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet326"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet326"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTextBoxTextEdit5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet327"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet327"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet327"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTextBoxTextEdit2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet324"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet324"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet324"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTextBoxTextEdit1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet323"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet323"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet323"::: ]]> @@ -300,7 +300,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTextBoxTextEdit6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet328"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet328"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet328"::: ]]> @@ -343,7 +343,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet325"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet325"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet325"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+Button.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+Button.xml index 2a3feed1b52..f55b5037e9a 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+Button.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+Button.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet246"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet246"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet246"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarButton5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet250"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet250"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet250"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet249"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet249"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet249"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet247"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet247"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet247"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarButton6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet251"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet251"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet251"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet246"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet246"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet246"::: ]]> @@ -300,7 +300,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet248"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet248"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet248"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+DropDownButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+DropDownButton.xml index 88ea54bd8d2..39f214f95c7 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+DropDownButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+DropDownButton.xml @@ -77,7 +77,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarDropDownButton5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet256"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet256"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet256"::: ]]> @@ -120,7 +120,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarDropDownButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet255"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet255"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet255"::: ]]> @@ -163,7 +163,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarDropDownButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet253"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet253"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet253"::: ]]> @@ -206,7 +206,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarDropDownButton6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet257"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet257"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet257"::: ]]> @@ -249,7 +249,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarDropDownButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet252"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet252"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet252"::: ]]> @@ -292,7 +292,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarDropDownButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet254"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet254"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet254"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SeparatorHorizontal.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SeparatorHorizontal.xml index 118daae61d1..41f75d31924 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SeparatorHorizontal.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SeparatorHorizontal.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSeparatorHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet270"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet270"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet270"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSeparatorHorizontal1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet270"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet270"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet270"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SeparatorVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SeparatorVertical.xml index 309d49929ff..70c7580c47e 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SeparatorVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SeparatorVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSeparatorVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet271"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet271"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet271"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSeparatorVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet271"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet271"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet271"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SplitButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SplitButton.xml index 57da86826cd..f6ae6d16eed 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SplitButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SplitButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButton6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet263"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet263"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet263"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButton5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet262"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet262"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet262"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet261"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet261"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet261"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet259"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet259"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet259"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButton6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet263"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet263"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet263"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet258"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet258"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet258"::: ]]> @@ -300,7 +300,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet260"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet260"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet260"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SplitButtonDropDown.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SplitButtonDropDown.xml index aba1ee11e99..437d3e17bfa 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SplitButtonDropDown.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolBar+SplitButtonDropDown.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButtonDropDown6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet269"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet269"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet269"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButtonDropDown5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet268"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet268"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet268"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButtonDropDown4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet267"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet267"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet267"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButtonDropDown2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet265"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet265"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet265"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButtonDropDown6` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet269"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet269"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet269"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButtonDropDown1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet264"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet264"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet264"::: ]]> @@ -300,7 +300,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolBarSplitButtonDropDown3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet266"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet266"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet266"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Balloon.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Balloon.xml index 78911ea0457..1df3a6bf59c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Balloon.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Balloon.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipBalloon2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet276"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet276"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet276"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipBalloon2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet276"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet276"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet276"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipBalloon1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet275"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet275"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet275"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+BalloonTitle.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+BalloonTitle.xml index a782ec3b2a3..30c39d5b795 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+BalloonTitle.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+BalloonTitle.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipBalloonTitle1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet277"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet277"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet277"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipBalloonTitle1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet277"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet277"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet277"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Close.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Close.xml index a6b34f5be21..283065d6456 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Close.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Close.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipClose2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet279"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet279"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet279"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipClose2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet279"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet279"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet279"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipClose1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet278"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet278"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet278"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipClose3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet280"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet280"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet280"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Standard.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Standard.xml index c8805cb8033..8e5d4f6959a 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Standard.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+Standard.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipStandard2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet273"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet273"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet273"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipStandard2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet273"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet273"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet273"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipStandard1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet272"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet272"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet272"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+StandardTitle.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+StandardTitle.xml index 34be3116383..7cbbcad5294 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+StandardTitle.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+ToolTip+StandardTitle.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipStandardTitle1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet274"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet274"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet274"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementToolTipStandardTitle1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet274"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet274"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet274"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Thumb.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Thumb.xml index 2534fe85406..5d2de5bd64f 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Thumb.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Thumb.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumb5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet287"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet287"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet287"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumb5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet287"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet287"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet287"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumb4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet286"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet286"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet286"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumb2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet284"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet284"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet284"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumb1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet283"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet283"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet283"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumb3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet285"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet285"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet285"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbBottom.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbBottom.xml index e33e6a60bc5..a28a48c16a2 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbBottom.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbBottom.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbBottom5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet292"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet292"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet292"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbBottom5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet292"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet292"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet292"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbBottom4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet291"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet291"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet291"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbBottom2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet289"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet289"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet289"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbBottom1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet288"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet288"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet288"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbBottom3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet290"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet290"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet290"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbLeft.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbLeft.xml index b46a494e23c..7ec556a41d7 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbLeft.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbLeft.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet303"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet303"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet303"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbLeft5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet307"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet307"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet307"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbLeft4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet306"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet306"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet306"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbLeft2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet304"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet304"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet304"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet303"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet303"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet303"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbLeft3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet305"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet305"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet305"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbRight.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbRight.xml index 70b23ac9a27..1974a4e0d4e 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbRight.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbRight.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet308"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet308"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet308"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbRight5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet312"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet312"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet312"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbRight4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet311"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet311"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet311"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbRight2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet309"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet309"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet309"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet308"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet308"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet308"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbRight3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet310"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet310"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet310"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbTop.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbTop.xml index db839917e1a..eb00717d7ce 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbTop.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbTop.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbTop5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet297"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet297"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet297"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbTop5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet297"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet297"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet297"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbTop4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet296"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet296"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet296"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbTop2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet294"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet294"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet294"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbTop1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet293"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet293"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet293"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbTop3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet295"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet295"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet295"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbVertical.xml index 157b5c49cbd..745ffe2a179 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+ThumbVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet298"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet298"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet298"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbVertical5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet302"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet302"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet302"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbVertical4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet301"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet301"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet301"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbVertical2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet299"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet299"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet299"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet298"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet298"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet298"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarThumbVertical3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet300"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet300"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet300"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Ticks.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Ticks.xml index 8e2829a0821..10aa0a8e2ca 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Ticks.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Ticks.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarTicks1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet313"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet313"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet313"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarTicks1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet313"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet313"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet313"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+TicksVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+TicksVertical.xml index bf7cc09ef3c..f66826003ae 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+TicksVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+TicksVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarTicksVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet314"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet314"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet314"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarTicksVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet314"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet314"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet314"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Track.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Track.xml index c8937907d0f..0c74714f7ec 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Track.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+Track.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarTrack1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet281"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet281"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet281"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarTrack1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet281"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet281"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet281"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+TrackVertical.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+TrackVertical.xml index ef358d15b8b..ad171964153 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+TrackVertical.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrackBar+TrackVertical.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarTrackVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet282"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet282"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet282"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrackBarTrackVertical1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet282"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet282"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet282"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrayNotify+AnimateBackground.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrayNotify+AnimateBackground.xml index 86b368140ac..4365adbe034 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrayNotify+AnimateBackground.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrayNotify+AnimateBackground.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrayNotifyAnimateBackground1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet332"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet332"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet332"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrayNotifyAnimateBackground1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet332"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet332"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet332"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrayNotify+Background.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrayNotify+Background.xml index e633d3f9aec..97939854c08 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrayNotify+Background.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TrayNotify+Background.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrayNotifyBackground1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet331"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet331"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet331"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTrayNotifyBackground1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet331"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet331"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet331"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Branch.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Branch.xml index 2c73d49c31d..3f65e0b0bae 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Branch.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Branch.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTreeViewBranch1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet322"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet322"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet322"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTreeViewBranch1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet322"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet322"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet322"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Glyph.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Glyph.xml index a59ba557180..c21c79245d4 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Glyph.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Glyph.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTreeViewGlyph1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet320"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet320"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet320"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTreeViewGlyph2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet321"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet321"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet321"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTreeViewGlyph1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet320"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet320"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet320"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Item.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Item.xml index cdf4274ccc3..80a238288db 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Item.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+TreeView+Item.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTreeViewItem4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet318"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet318"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet318"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTreeViewItem4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet318"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet318"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet318"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTreeViewItem2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet316"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet316"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet316"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTreeViewItem1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet315"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet315"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet315"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTreeViewItem3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet317"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet317"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet317"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementTreeViewItem5` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet319"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet319"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet319"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+Caption.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+Caption.xml index 2a13c18b621..b8ce1bbf3d4 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+Caption.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+Caption.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet333"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet333"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet333"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet333"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet333"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet333"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowCaption3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet335"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet335"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet335"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowCaption2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet334"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet334"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet334"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+CaptionSizingTemplate.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+CaptionSizingTemplate.xml index 9fe5af529bd..7acf82095f2 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+CaptionSizingTemplate.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+CaptionSizingTemplate.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowCaptionSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet428"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet428"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet428"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowCaptionSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet428"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet428"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet428"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+CloseButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+CloseButton.xml index 2475017c699..e39d15d92a3 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+CloseButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+CloseButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowCloseButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet383"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet383"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet383"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowCloseButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet386"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet386"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet386"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowCloseButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet384"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet384"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet384"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowCloseButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet383"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet383"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet383"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowCloseButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet385"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet385"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet385"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+Dialog.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+Dialog.xml index 5d99c329f50..8bba9dd5000 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+Dialog.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+Dialog.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowDialog1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet427"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet427"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet427"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowDialog1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet427"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet427"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet427"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameBottom.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameBottom.xml index 7f6695026d3..20103a7b8b9 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameBottom.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameBottom.xml @@ -77,7 +77,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameBottom1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet355"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet355"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet355"::: ]]> @@ -120,7 +120,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameBottom1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet356"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet356"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet356"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameBottomSizingTemplate.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameBottomSizingTemplate.xml index 53bc25f5b97..b9e0448f39a 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameBottomSizingTemplate.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameBottomSizingTemplate.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameBottomSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet434"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet434"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet434"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameBottomSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet434"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet434"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet434"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameLeft.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameLeft.xml index 022ca15131f..7c6cb7a3cc2 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameLeft.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameLeft.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet351"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet351"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet351"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet351"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet351"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet351"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameLeft2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet352"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet352"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet352"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameLeftSizingTemplate.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameLeftSizingTemplate.xml index 081644f3bc4..349e7919ab3 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameLeftSizingTemplate.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameLeftSizingTemplate.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameLeftSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet430"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet430"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet430"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameLeftSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet430"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet430"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet430"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameRight.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameRight.xml index ab06b3c65d2..055fd75b631 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameRight.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameRight.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet353"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet353"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet353"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet353"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet353"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet353"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameRight2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet354"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet354"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet354"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameRightSizingTemplate.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameRightSizingTemplate.xml index fde94b99aba..3cf88d94ed7 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameRightSizingTemplate.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+FrameRightSizingTemplate.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameRightSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet432"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet432"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet432"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowFrameRightSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet432"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet432"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet432"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HelpButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HelpButton.xml index 2179ded74e3..42b49e42796 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HelpButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HelpButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHelpButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet403"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet403"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet403"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHelpButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet406"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet406"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet406"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHelpButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet404"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet404"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet404"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHelpButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet403"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet403"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet403"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHelpButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet405"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet405"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet405"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HorizontalScroll.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HorizontalScroll.xml index f8b1e57513b..094f71b8b23 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HorizontalScroll.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HorizontalScroll.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHorizontalScroll1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet411"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet411"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet411"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHorizontalScroll4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet414"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet414"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet414"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHorizontalScroll2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet412"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet412"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet412"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHorizontalScroll1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet411"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet411"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet411"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHorizontalScroll3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet413"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet413"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet413"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HorizontalThumb.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HorizontalThumb.xml index db78228cacb..d60b6407800 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HorizontalThumb.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+HorizontalThumb.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHorizontalThumb1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet415"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet415"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet415"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHorizontalThumb4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet418"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet418"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet418"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHorizontalThumb2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet416"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet416"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet416"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHorizontalThumb1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet415"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet415"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet415"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowHorizontalThumb3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet417"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet417"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet417"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MaxButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MaxButton.xml index acebd053c96..d60b3f506f2 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MaxButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MaxButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMaxButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet379"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet379"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet379"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMaxButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet382"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet382"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet382"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMaxButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet380"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet380"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet380"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMaxButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet379"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet379"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet379"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMaxButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet381"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet381"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet381"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MaxCaption.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MaxCaption.xml index b955b763969..fc492ed2a8c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MaxCaption.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MaxCaption.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMaxCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet345"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet345"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet345"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMaxCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet345"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet345"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet345"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMaxCaption3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet347"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet347"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet347"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMaxCaption2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet346"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet346"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet346"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiCloseButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiCloseButton.xml index 67027864d1e..7fcea4392e4 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiCloseButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiCloseButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiCloseButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet391"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet391"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet391"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiCloseButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet394"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet394"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet394"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiCloseButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet392"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet392"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet392"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiCloseButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet391"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet391"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet391"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiCloseButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet393"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet393"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet393"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiHelpButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiHelpButton.xml index 2bc0a58a7cd..2f8f31348a1 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiHelpButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiHelpButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiHelpButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet407"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet407"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet407"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiHelpButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet410"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet410"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet410"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiHelpButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet408"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet408"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet408"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiHelpButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet407"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet407"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet407"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiHelpButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet409"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet409"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet409"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiMinButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiMinButton.xml index eaa0d9e7a48..8650b907f82 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiMinButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiMinButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiMinButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet375"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet375"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet375"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiMinButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet378"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet378"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet378"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiMinButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet376"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet376"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet376"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiMinButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet375"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet375"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet375"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiMinButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet377"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet377"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet377"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiRestoreButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiRestoreButton.xml index cad78c0075b..b11a55cceff 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiRestoreButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiRestoreButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiRestoreButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet399"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet399"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet399"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiRestoreButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet402"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet402"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet402"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiRestoreButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet400"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet400"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet400"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiRestoreButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet399"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet399"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet399"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiRestoreButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet401"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet401"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet401"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiSysButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiSysButton.xml index 6cf976f525e..ae601575854 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiSysButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MdiSysButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiSysButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet367"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet367"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet367"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiSysButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet370"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet370"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet370"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiSysButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet368"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet368"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet368"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiSysButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet367"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet367"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet367"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMdiSysButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet369"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet369"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet369"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MinButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MinButton.xml index b19ceea903d..ad190adeb95 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MinButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MinButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMinButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet371"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet371"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet371"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMinButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet374"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet374"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet374"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMinButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet372"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet372"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet372"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMinButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet371"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet371"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet371"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMinButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet373"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet373"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet373"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MinCaption.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MinCaption.xml index 5179971a4f2..49bbe79a80e 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MinCaption.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+MinCaption.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMinCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet339"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet339"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet339"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMinCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet339"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet339"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet339"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMinCaption3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet341"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet341"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet341"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowMinCaption2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet340"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet340"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet340"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+RestoreButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+RestoreButton.xml index eaad90523b2..1ba18d9ce34 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+RestoreButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+RestoreButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowRestoreButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet395"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet395"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet395"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowRestoreButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet397"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet397"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet397"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowRestoreButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet396"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet396"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet396"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowRestoreButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet395"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet395"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet395"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowRestoreButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet397"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet397"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet397"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCaption.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCaption.xml index 0c43afee524..5e39efaf33a 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCaption.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCaption.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet336"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet336"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet336"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet336"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet336"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet336"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallCaption3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet338"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet338"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet338"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallCaption2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet337"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet337"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet337"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCaptionSizingTemplate.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCaptionSizingTemplate.xml index 8622b3bed47..badcd1634ba 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCaptionSizingTemplate.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCaptionSizingTemplate.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallCaptionSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet429"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet429"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet429"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallCaptionSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet429"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet429"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet429"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCloseButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCloseButton.xml index 814a4bcc36d..72ef394e07c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCloseButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallCloseButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallCloseButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet387"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet387"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet387"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallCloseButton4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet390"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet390"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet390"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallCloseButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet388"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet388"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet388"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallCloseButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet387"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet387"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet387"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallCloseButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet389"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet389"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet389"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameBottom.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameBottom.xml index c25d310e425..77d408becd9 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameBottom.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameBottom.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameBottom1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet361"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet361"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet361"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameBottom1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet361"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet361"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet361"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameBottom1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet362"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet362"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet362"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameBottomSizingTemplate.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameBottomSizingTemplate.xml index 57526ced77f..58a10f3e4ce 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameBottomSizingTemplate.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameBottomSizingTemplate.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameBottomSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet435"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet435"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet435"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameBottomSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet435"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet435"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet435"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameLeft.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameLeft.xml index b45255ab35e..eaf6f74fdb9 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameLeft.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameLeft.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet357"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet357"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet357"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameLeft1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet357"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet357"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet357"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameLeft2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet358"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet358"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet358"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameLeftSizingTemplate.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameLeftSizingTemplate.xml index 5f1e57cfc20..e36ce86916a 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameLeftSizingTemplate.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameLeftSizingTemplate.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameLeftSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet431"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet431"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet431"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameLeftSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet431"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet431"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet431"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameRight.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameRight.xml index 3a5377fac8c..cb82bbb74b1 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameRight.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameRight.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet359"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet359"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet359"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameRight1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet359"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet359"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet359"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameRight2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet360"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet360"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet360"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameRightSizingTemplate.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameRightSizingTemplate.xml index dc536d6ee2e..88179ddb49d 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameRightSizingTemplate.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallFrameRightSizingTemplate.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameRightSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet433"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet433"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet433"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallFrameRightSizingTemplate1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet433"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet433"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet433"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallMaxCaption.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallMaxCaption.xml index 8dcd8d5f0ea..5ee1c58ff7a 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallMaxCaption.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallMaxCaption.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallMaxCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet348"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet348"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet348"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallMaxCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet348"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet348"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet348"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallMaxCaption3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet350"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet350"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet350"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallMaxCaption2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet349"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet349"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet349"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallMinCaption.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallMinCaption.xml index 5d15c7a59ac..e528fccac1d 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallMinCaption.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SmallMinCaption.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallMinCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet342"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet342"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet342"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallMinCaption1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet342"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet342"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet342"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallMinCaption3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet344"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet344"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet344"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSmallMinCaption2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet343"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet343"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet343"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SysButton.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SysButton.xml index 92a5e386687..6d6e9bf8da4 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SysButton.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+SysButton.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSysButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet363"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet363"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet363"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElement_Button_PushButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSysButton2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet364"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet364"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet364"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSysButton1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet363"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet363"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet363"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowSysButton3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet365"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet365"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet365"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+VerticalScroll.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+VerticalScroll.xml index 04588528513..0282cb665d8 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+VerticalScroll.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+VerticalScroll.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowVerticalScroll1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet419"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet419"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet419"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowVerticalScroll4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet422"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet422"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet422"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowVerticalScroll2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet420"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet420"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet420"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowVerticalScroll1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet419"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet419"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet419"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowVerticalScroll3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet421"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet421"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet421"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+VerticalThumb.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+VerticalThumb.xml index bfb5dcc1eb1..148c78dfe46 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+VerticalThumb.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement+Window+VerticalThumb.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowVerticalThumb1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet423"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet423"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet423"::: ]]> @@ -85,7 +85,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowVerticalThumb4` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet426"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet426"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet426"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowVerticalThumb2` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet424"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet424"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet424"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowVerticalThumb1` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet423"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet423"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet423"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates how to create a with the returned by the property. To run this example, paste it into a Windows Form. Handle the form's event and call the `DrawVisualStyleElementWindowVerticalThumb3` method from the event-handling method, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.cs" id="Snippet425"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyleElementsExamples/VB/Form1.vb" id="Snippet425"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement+Button+CheckBox/Overview/Form1.vb" id="Snippet425"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement.xml index 876cec471c0..40b6ee1518c 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleElement.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleElement.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleElement/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleElement/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleElement/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleElement/Overview/form1.vb" id="Snippet0"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleInformation.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleInformation.xml index f5de15c8c3d..1ae2a80f34a 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleInformation.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleInformation.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleInformation/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleInformation/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleInformation/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleInformation/Overview/form1.vb" id="Snippet0"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleRenderer.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleRenderer.xml index 05d2914d993..f7746768d13 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleRenderer.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleRenderer.xml @@ -47,7 +47,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.vb" id="Snippet0"::: ]]> @@ -102,7 +102,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/cpp/form1.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/VB/form1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.vb" id="Snippet40"::: ]]> @@ -268,7 +268,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/cpp/form1.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.vb" id="Snippet20"::: ]]> @@ -805,7 +805,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/cpp/form1.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/VB/form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.vb" id="Snippet30"::: ]]> @@ -1163,7 +1163,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/cpp/form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.vb" id="Snippet10"::: ]]> @@ -1255,7 +1255,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/cpp/form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.vb" id="Snippet10"::: ]]> @@ -1677,7 +1677,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/cpp/form1.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/VB/form1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.vb" id="Snippet40"::: ]]> @@ -1866,7 +1866,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/cpp/form1.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleRenderer/VB/form1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms.VisualStyles/VisualStyleRenderer/Overview/form1.vb" id="Snippet40"::: ]]> diff --git a/xml/System.Windows.Forms.VisualStyles/VisualStyleState.xml b/xml/System.Windows.Forms.VisualStyles/VisualStyleState.xml index 6385ce6475f..a8851ba9e2f 100644 --- a/xml/System.Windows.Forms.VisualStyles/VisualStyleState.xml +++ b/xml/System.Windows.Forms.VisualStyles/VisualStyleState.xml @@ -40,7 +40,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleState/cpp/visualstylestate.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/VisualStyleState/visualstylestate.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleState/VB/visualstylestate.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/VisualStyleState/visualstylestate.vb" id="Snippet0"::: ]]> diff --git a/xml/System.Windows.Forms/AccessibleEvents.xml b/xml/System.Windows.Forms/AccessibleEvents.xml index 0862503bfa0..5f36b21aefe 100644 --- a/xml/System.Windows.Forms/AccessibleEvents.xml +++ b/xml/System.Windows.Forms/AccessibleEvents.xml @@ -39,7 +39,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Windows.Forms/AccessibleNavigation.xml b/xml/System.Windows.Forms/AccessibleNavigation.xml index 8fc94c10825..9f9863871ac 100644 --- a/xml/System.Windows.Forms/AccessibleNavigation.xml +++ b/xml/System.Windows.Forms/AccessibleNavigation.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/AccessibleObject.xml b/xml/System.Windows.Forms/AccessibleObject.xml index 4b0922f4fc1..6de9f6d5ec7 100644 --- a/xml/System.Windows.Forms/AccessibleObject.xml +++ b/xml/System.Windows.Forms/AccessibleObject.xml @@ -79,7 +79,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet1"::: ]]> @@ -605,7 +605,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet6"::: ]]> @@ -817,7 +817,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet4"::: ]]> @@ -863,7 +863,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet4"::: ]]> @@ -1199,7 +1199,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet6"::: ]]> @@ -1266,7 +1266,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet6"::: ]]> @@ -1319,7 +1319,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet6"::: ]]> @@ -1461,7 +1461,7 @@ This method must be overridden in derived classes that support the UI automation :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet4"::: ]]> @@ -1534,7 +1534,7 @@ This method must be overridden in derived classes that support the UI automation :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet6"::: ]]> @@ -1580,7 +1580,7 @@ This method must be overridden in derived classes that support the UI automation :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/AccessibleRole.xml b/xml/System.Windows.Forms/AccessibleRole.xml index 931654e8135..2e9d49b7869 100644 --- a/xml/System.Windows.Forms/AccessibleRole.xml +++ b/xml/System.Windows.Forms/AccessibleRole.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/AccessibleSelection.xml b/xml/System.Windows.Forms/AccessibleSelection.xml index 42e44da3298..185b74e804d 100644 --- a/xml/System.Windows.Forms/AccessibleSelection.xml +++ b/xml/System.Windows.Forms/AccessibleSelection.xml @@ -47,7 +47,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/AccessibleStates.xml b/xml/System.Windows.Forms/AccessibleStates.xml index 2e531eb5021..1ea8e1f41f4 100644 --- a/xml/System.Windows.Forms/AccessibleStates.xml +++ b/xml/System.Windows.Forms/AccessibleStates.xml @@ -42,7 +42,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/AnchorStyles.xml b/xml/System.Windows.Forms/AnchorStyles.xml index b51ff5480ab..999f4795014 100644 --- a/xml/System.Windows.Forms/AnchorStyles.xml +++ b/xml/System.Windows.Forms/AnchorStyles.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/Application.xml b/xml/System.Windows.Forms/Application.xml index 9bf0f2de09e..8b924409a0f 100644 --- a/xml/System.Windows.Forms/Application.xml +++ b/xml/System.Windows.Forms/Application.xml @@ -61,7 +61,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/Overview/source.vb" id="Snippet1"::: ]]> @@ -115,7 +115,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.RemoveMessageFilter Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/AddMessageFilter/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.RemoveMessageFilter Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/AddMessageFilter/source.vb" id="Snippet1"::: ]]> @@ -209,7 +209,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Application/CPP/source.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/ApplicationExit/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Application/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/ApplicationExit/source.vb" id="Snippet5"::: ]]> @@ -367,7 +367,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.CompanyName Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/CompanyName/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.CompanyName Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/CompanyName/source.vb" id="Snippet1"::: ]]> @@ -410,7 +410,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.CurrentCulture Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/CurrentCulture/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.CurrentCulture Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/CurrentCulture/source.vb" id="Snippet1"::: ]]> @@ -451,7 +451,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.CurrentInputLanguage Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/CurrentInputLanguage/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.CurrentInputLanguage Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/CurrentInputLanguage/source.vb" id="Snippet1"::: ]]> @@ -512,7 +512,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/CPP/filedialogform.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/DoEvents/filedialogform.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/VB/filedialogform.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/DoEvents/filedialogform.vb" id="Snippet1"::: ]]> @@ -567,7 +567,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Application.EnableVisualStyles/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/EnableVisualStyles/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Application.EnableVisualStyles/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/EnableVisualStyles/form1.vb" id="Snippet1"::: ]]> @@ -627,7 +627,7 @@ To run the example code, paste it into a Windows Forms and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet3"::: ]]> @@ -729,7 +729,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.Exit Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/Exit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.Exit Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/Exit/source.vb" id="Snippet1"::: ]]> @@ -931,7 +931,7 @@ To run the example code, paste it into a Windows Form and make sure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet2"::: ]]> @@ -1016,7 +1016,7 @@ To run the example code, paste it into a Windows Forms and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet4"::: ]]> @@ -1069,7 +1069,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Application/CPP/source.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/ApplicationExit/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Application/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/ApplicationExit/source.vb" id="Snippet5"::: ]]> @@ -1284,7 +1284,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.ProductName Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/ProductName/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ProductName Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/ProductName/source.vb" id="Snippet1"::: ]]> @@ -1334,7 +1334,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.ProductVersion Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/ProductVersion/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ProductVersion Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/ProductVersion/source.vb" id="Snippet1"::: ]]> @@ -1476,7 +1476,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.RemoveMessageFilter Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/AddMessageFilter/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.RemoveMessageFilter Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/AddMessageFilter/source.vb" id="Snippet1"::: ]]> @@ -1665,7 +1665,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Application/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/ApplicationExit/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Application/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/ApplicationExit/source.vb" id="Snippet2"::: ]]> @@ -1726,7 +1726,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.Exit Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/Exit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.Exit Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/Exit/source.vb" id="Snippet1"::: ]]> @@ -2037,7 +2037,7 @@ The high DPI mode is set once per process. For more information about setting th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.ThreadException Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ThreadException Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.vb" id="Snippet1"::: ]]> @@ -2096,7 +2096,7 @@ The high DPI mode is set once per process. For more information about setting th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.ThreadException Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ThreadException Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.vb" id="Snippet1"::: ]]> @@ -2158,7 +2158,7 @@ The high DPI mode is set once per process. For more information about setting th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.ThreadException Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ThreadException Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.vb" id="Snippet1"::: ]]> @@ -2201,7 +2201,7 @@ The high DPI mode is set once per process. For more information about setting th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.StartupPath Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/StartupPath/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.StartupPath Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/StartupPath/source.vb" id="Snippet1"::: ]]> @@ -2301,7 +2301,7 @@ The high DPI mode is set once per process. For more information about setting th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.ThreadException Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ThreadException Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.vb" id="Snippet1"::: ]]> @@ -2356,7 +2356,7 @@ The high DPI mode is set once per process. For more information about setting th To run the example code, paste it into a Windows Forms and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet6"::: ]]> @@ -2446,7 +2446,7 @@ The high DPI mode is set once per process. For more information about setting th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Application/CPP/source.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/ApplicationExit/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Application/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/ApplicationExit/source.vb" id="Snippet5"::: ]]> @@ -2612,7 +2612,7 @@ The visual styles will not be enabled if the OS does not support them, or themin :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleState/cpp/visualstylestate.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/VisualStyleState/visualstylestate.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleState/VB/visualstylestate.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/VisualStyleState/visualstylestate.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/ApplicationContext.xml b/xml/System.Windows.Forms/ApplicationContext.xml index ea10a62ebb1..ec935139ca4 100644 --- a/xml/System.Windows.Forms/ApplicationContext.xml +++ b/xml/System.Windows.Forms/ApplicationContext.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Application/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/ApplicationExit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Application/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/ApplicationExit/source.vb" id="Snippet1"::: ]]> @@ -290,7 +290,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Application/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/ApplicationExit/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Application/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/ApplicationExit/source.vb" id="Snippet3"::: ]]> @@ -573,7 +573,7 @@ To run the example code, paste it into a project that contains an instance of type named `ApplicationContext1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet75"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet75"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet75"::: ]]> diff --git a/xml/System.Windows.Forms/AutoSizeMode.xml b/xml/System.Windows.Forms/AutoSizeMode.xml index 195fd6c77f3..97171206e34 100644 --- a/xml/System.Windows.Forms/AutoSizeMode.xml +++ b/xml/System.Windows.Forms/AutoSizeMode.xml @@ -35,7 +35,7 @@ The following code example shows a form created using code that automatically resizes to fit its contents. When ran, the form will display a , a for entering a URL, and a for displaying that URL inside of the user's default Web browser. The code example uses a to lay out the contained controls one after the other, and sets the and to grow and shrink to fit the contents of its form. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AutoSizeMode/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/AutoValidate.xml b/xml/System.Windows.Forms/AutoValidate.xml index e5b92ed4123..e275352aeb2 100644 --- a/xml/System.Windows.Forms/AutoValidate.xml +++ b/xml/System.Windows.Forms/AutoValidate.xml @@ -35,7 +35,7 @@ The following code example turns off implicit validation for a form and all of its contained controls, and instead manually performs validation of all of the form's children when a mouse button is clicked. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AutoValidate/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ValidateChildren/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AutoValidate/Overview/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Binding.xml b/xml/System.Windows.Forms/Binding.xml index 6b9b2a4ca91..e1d048ee68b 100644 --- a/xml/System.Windows.Forms/Binding.xml +++ b/xml/System.Windows.Forms/Binding.xml @@ -160,7 +160,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Binding Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/Overview/source.vb" id="Snippet1"::: ]]> @@ -254,7 +254,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Binding.Binding Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Binding Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/.ctor/source.vb" id="Snippet1"::: ]]> @@ -747,7 +747,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorBindingComplete/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/BindingComplete/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorBindingComplete/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/BindingComplete/form1.vb" id="Snippet3"::: ]]> @@ -801,7 +801,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Binding.BindingManagerBase Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/BindingManagerBase/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.BindingManagerBase Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/BindingManagerBase/source.vb" id="Snippet1"::: ]]> @@ -846,7 +846,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Binding.BindingMemberInfo Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/BindingMemberInfo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.BindingMemberInfo Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/BindingMemberInfo/source.vb" id="Snippet1"::: ]]> @@ -894,7 +894,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Binding.Control Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/Control/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Control Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/Control/source.vb" id="Snippet1"::: ]]> @@ -990,7 +990,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Binding.DataSource Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/DataSource/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.DataSource Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/DataSource/source.vb" id="Snippet1"::: ]]> @@ -1139,7 +1139,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Binding.Format Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/Format/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Format Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/Format/source.vb" id="Snippet1"::: ]]> @@ -1338,7 +1338,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Binding.IsBinding Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/IsBinding/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.IsBinding Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/IsBinding/source.vb" id="Snippet1"::: ]]> @@ -1574,7 +1574,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Binding.Parse Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/Parse/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.Parse Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/Parse/source.vb" id="Snippet1"::: ]]> @@ -1637,7 +1637,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Binding.PropertyName Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/PropertyName/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Binding.PropertyName Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/PropertyName/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/BindingCompleteEventArgs.xml b/xml/System.Windows.Forms/BindingCompleteEventArgs.xml index 671ea36f5b2..9fd7f4e788b 100644 --- a/xml/System.Windows.Forms/BindingCompleteEventArgs.xml +++ b/xml/System.Windows.Forms/BindingCompleteEventArgs.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorBindingComplete/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/BindingComplete/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorBindingComplete/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/BindingComplete/form1.vb" id="Snippet3"::: ]]> @@ -285,7 +285,7 @@ The following code example demonstrates how to handle the event and use the to ensure multiple controls bound to the same data source remain synchronized when one of the control values is changed. To run this example, paste the code into a Windows Form and call the `InitializeControlsAndData` method from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMultipleControls/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.vb" id="Snippet11"::: ]]> @@ -331,7 +331,7 @@ The following code example demonstrates how to handle the event and use the to ensure multiple controls bound to the same data source remain synchronized when one of the control values is changed. To run this example, paste the code into a Windows Form and call the `InitializeControlsAndData` method from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMultipleControls/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.vb" id="Snippet11"::: ]]> @@ -382,7 +382,7 @@ To run the example code, paste it into a project that contains an instance of type named `Binding1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet77"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet77"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet77"::: ]]> @@ -437,7 +437,7 @@ To run the example code, paste it into a project that contains an instance of type named `Binding1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet77"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet77"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet77"::: ]]> @@ -487,7 +487,7 @@ The following code example demonstrates how to handle the event and use the to ensure multiple controls bound to the same data source remain synchronized when one of the control values is changed. To run this example, paste the code into a Windows Form and call the `InitializeControlsAndData` method from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMultipleControls/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.vb" id="Snippet11"::: ]]> diff --git a/xml/System.Windows.Forms/BindingCompleteState.xml b/xml/System.Windows.Forms/BindingCompleteState.xml index d34fdb8d622..2e41294fa9d 100644 --- a/xml/System.Windows.Forms/BindingCompleteState.xml +++ b/xml/System.Windows.Forms/BindingCompleteState.xml @@ -34,7 +34,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorBindingComplete/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/BindingComplete/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorBindingComplete/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/BindingComplete/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/BindingContext.xml b/xml/System.Windows.Forms/BindingContext.xml index 1e72251a0be..ec067627377 100644 --- a/xml/System.Windows.Forms/BindingContext.xml +++ b/xml/System.Windows.Forms/BindingContext.xml @@ -109,7 +109,7 @@ this.BindingContext[dataSet1.Customers].Position = 1; :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingContext Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingContext/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingContext/Overview/source.vb" id="Snippet1"::: ]]> @@ -159,7 +159,7 @@ this.BindingContext[dataSet1.Customers].Position = 1; :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingContext.BindingContext Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingContext/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.BindingContext Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingContext/.ctor/source.vb" id="Snippet1"::: ]]> @@ -442,7 +442,7 @@ This method is obsolete and unused. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingContext.Contains Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingContext/Contains/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.Contains Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingContext/Contains/source.vb" id="Snippet1"::: ]]> @@ -505,7 +505,7 @@ This method is obsolete and unused. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingContext.Contains1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingContext/Contains/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.Contains1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingContext/Contains/source1.vb" id="Snippet1"::: ]]> @@ -612,7 +612,7 @@ This method is obsolete and unused. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingContext.this Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingContext/Item/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.this Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingContext/Item/source.vb" id="Snippet1"::: ]]> @@ -698,7 +698,7 @@ BindingManagerBase bmOrders = this.BindingContext The following code example demonstrates how to use the to retrieve the for a particular binding. It also shows how to handle the event for the to ensure multiple controls bound to the same data source remain synchronized when one of the control values is changed. To run this example, paste the code into a Windows Form and call the `InitializeControlsAndData` method from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMultipleControls/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.vb" id="Snippet11"::: ]]> @@ -871,7 +871,7 @@ This method is obsolete and unused. ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingContext.ICollection.CopyTo Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingContext/System.Collections.ICollection.CopyTo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.ICollection.CopyTo Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingContext/System.Collections.ICollection.CopyTo/source.vb" id="Snippet1"::: ]]> @@ -913,7 +913,7 @@ This method is obsolete and unused. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingContext.ICollection.Count Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingContext/System.Collections.ICollection.Count/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.ICollection.Count Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingContext/System.Collections.ICollection.Count/source.vb" id="Snippet1"::: ]]> @@ -1040,7 +1040,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingContext.IEnumerable.GetEnumerator Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingContext/System.Collections.IEnumerable.GetEnumerator/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext.IEnumerable.GetEnumerator Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingContext/System.Collections.IEnumerable.GetEnumerator/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/BindingManagerBase.xml b/xml/System.Windows.Forms/BindingManagerBase.xml index d7117834876..fec72824db8 100644 --- a/xml/System.Windows.Forms/BindingManagerBase.xml +++ b/xml/System.Windows.Forms/BindingManagerBase.xml @@ -50,7 +50,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingManagerBase Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Overview/source.vb" id="Snippet1"::: ]]> @@ -193,7 +193,7 @@ The following code example demonstrates how to handle the event and ensure multiple controls bound to the same data source remain synchronized when one of the control values is changed. To run this example, paste the code into a Windows Form and call the `InitializeControlsAndData` method from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMultipleControls/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.vb" id="Snippet11"::: ]]> @@ -239,7 +239,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingManagerBase.Bindings Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/Bindings/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.Bindings Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Bindings/source.vb" id="Snippet1"::: ]]> @@ -292,7 +292,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BindingManagerBase.CancelCurrentEdit Example/CPP/canceledit.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/CancelCurrentEdit/canceledit.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase.CancelCurrentEdit Example/VB/canceledit.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/CancelCurrentEdit/canceledit.vb" id="Snippet1"::: ]]> @@ -341,7 +341,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingManagerBase.Count Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/Count/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.Count Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Count/source.vb" id="Snippet1"::: ]]> @@ -397,7 +397,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingManagerBase.Current Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/Current/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.Current Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Current/source.vb" id="Snippet1"::: ]]> @@ -445,7 +445,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingManagerBase.Current Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/Current/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.Current Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Current/source.vb" id="Snippet1"::: ]]> @@ -493,7 +493,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `BindingManagerBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet82"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet82"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet82"::: ]]> @@ -542,7 +542,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `BindingManagerBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet83"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet83"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet83"::: ]]> @@ -587,7 +587,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BindingManagerBase.CancelCurrentEdit Example/CPP/canceledit.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/CancelCurrentEdit/canceledit.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase.CancelCurrentEdit Example/VB/canceledit.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/CancelCurrentEdit/canceledit.vb" id="Snippet1"::: ]]> @@ -648,7 +648,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingManagerBase.GetItemProperties Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/GetItemProperties/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.GetItemProperties Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/GetItemProperties/source.vb" id="Snippet1"::: ]]> @@ -756,7 +756,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingManagerBase.GetItemProperties2 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/GetItemProperties/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.GetItemProperties2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/GetItemProperties/source1.vb" id="Snippet1"::: ]]> @@ -1126,7 +1126,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingManagerBase.Count Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/Count/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.Count Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/Count/source.vb" id="Snippet1"::: ]]> @@ -1173,7 +1173,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingManagerBase.PositionChanged Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/PositionChanged/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingManagerBase.PositionChanged Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/PositionChanged/source.vb" id="Snippet1"::: ]]> @@ -1302,7 +1302,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BindingManagerBase_RemoveAt/CPP/bindingmanagerbase_removeat.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/RemoveAt/bindingmanagerbase_removeat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase_RemoveAt/VB/bindingmanagerbase_removeat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/RemoveAt/bindingmanagerbase_removeat.vb" id="Snippet1"::: ]]> @@ -1348,7 +1348,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BindingManagerBase_Suspend_Resume_Binding/CPP/bindingmanagerbase_suspend_resume_binding.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/ResumeBinding/bindingmanagerbase_suspend_resume_binding.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase_Suspend_Resume_Binding/VB/bindingmanagerbase_suspend_resume_binding.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/ResumeBinding/bindingmanagerbase_suspend_resume_binding.vb" id="Snippet2"::: ]]> @@ -1395,7 +1395,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BindingManagerBase_Suspend_Resume_Binding/CPP/bindingmanagerbase_suspend_resume_binding.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/ResumeBinding/bindingmanagerbase_suspend_resume_binding.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase_Suspend_Resume_Binding/VB/bindingmanagerbase_suspend_resume_binding.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/ResumeBinding/bindingmanagerbase_suspend_resume_binding.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/BindingManagerDataErrorEventArgs.xml b/xml/System.Windows.Forms/BindingManagerDataErrorEventArgs.xml index 668cd43aa0d..c355df425d8 100644 --- a/xml/System.Windows.Forms/BindingManagerDataErrorEventArgs.xml +++ b/xml/System.Windows.Forms/BindingManagerDataErrorEventArgs.xml @@ -42,7 +42,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `BindingManagerBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet83"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet83"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet83"::: ]]> @@ -122,7 +122,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `BindingManagerBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet83"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet83"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet83"::: ]]> diff --git a/xml/System.Windows.Forms/BindingMemberInfo.xml b/xml/System.Windows.Forms/BindingMemberInfo.xml index 15ff46b03b8..c5f8c8e429b 100644 --- a/xml/System.Windows.Forms/BindingMemberInfo.xml +++ b/xml/System.Windows.Forms/BindingMemberInfo.xml @@ -57,7 +57,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingMemberInfo Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingMemberInfo/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingMemberInfo Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingMemberInfo/Overview/source.vb" id="Snippet1"::: ]]> @@ -144,7 +144,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingMemberInfo.BindingPath Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingMemberInfo/BindingField/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingMemberInfo.BindingPath Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingMemberInfo/BindingField/source.vb" id="Snippet1"::: ]]> @@ -194,7 +194,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingMemberInfo.BindingPath Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingMemberInfo/BindingField/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingMemberInfo.BindingPath Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingMemberInfo/BindingField/source.vb" id="Snippet1"::: ]]> @@ -242,7 +242,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingMemberInfo.BindingPath Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingMemberInfo/BindingField/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingMemberInfo.BindingPath Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingMemberInfo/BindingField/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/BindingNavigator.xml b/xml/System.Windows.Forms/BindingNavigator.xml index 34e5a0cd4f1..85a1a7dab88 100644 --- a/xml/System.Windows.Forms/BindingNavigator.xml +++ b/xml/System.Windows.Forms/BindingNavigator.xml @@ -89,7 +89,7 @@ The following code example demonstrates how to use a control to move through a data set. The set is contained in a , which is bound to a control with a component. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingNavigator/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataNavigator/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingNavigator/Overview/form1.vb" id="Snippet1"::: ]]> @@ -462,7 +462,7 @@ The following code example demonstrates how to use a control to move through a data set. The set is contained in a , which is bound to a control with a component. This code example is part of a larger example provided in [How to: Move Through a DataSet with the Windows Forms BindingNavigator Control](/dotnet/desktop/winforms/controls/move-through-a-dataset-with-wf-bindingnavigator-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingNavigator/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataNavigator/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingNavigator/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1072,7 +1072,7 @@ To run the example code, paste it into a project that contains an instance of type named `BindingNavigator1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet124"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet124"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet124"::: ]]> diff --git a/xml/System.Windows.Forms/BindingSource.xml b/xml/System.Windows.Forms/BindingSource.xml index 9a194b6f05f..40a695ef233 100644 --- a/xml/System.Windows.Forms/BindingSource.xml +++ b/xml/System.Windows.Forms/BindingSource.xml @@ -115,7 +115,7 @@ The following code example demonstrates a bound to a . The is bound to a that contains a list of fonts. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/FindCore/Form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceAndBindingListOfT/VB/Form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/FindCore/Form1.vb" id="Snippet0"::: ]]> @@ -302,7 +302,7 @@ The following code example how to use the method. To run this example, paste the code into a Windows Form, and call the `PopulateBindingSourceWithFonts` method from the form's constructor. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/Add/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMethods/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/Add/Form1.vb" id="Snippet6"::: ]]> @@ -356,7 +356,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AddingNewEventArgs/Overview/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AddingNewEventArgs/Overview/form1.vb" id="Snippet8"::: ]]> @@ -420,7 +420,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/AddingNewEventArgs/Overview/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.AddingNew/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/AddingNewEventArgs/Overview/form1.vb" id="Snippet7"::: ]]> @@ -539,7 +539,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ItemChangedEventMode/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/AllowNew/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ItemChangedEventMode/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/AllowNew/form1.vb" id="Snippet6"::: ]]> @@ -747,7 +747,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorBindingComplete/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/BindingComplete/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorBindingComplete/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/BindingComplete/form1.vb" id="Snippet3"::: ]]> @@ -986,7 +986,7 @@ The following code example demonstrates the , , and members. To run this example, paste the code into a form that contains a named `BindingSource1`, two labels named `label1` and `label2`, and a button named `button1`. Associate the `button1_Click` method with the event for `button1`. Visual Basic users will need to add a reference to System.Data.dll. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/Count/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorFilterAndSort/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/Count/form1.vb" id="Snippet2"::: ]]> @@ -1086,7 +1086,7 @@ The following code example demonstrates the property. To run this example, paste the code into a form and call the `PopulateBindingSourceWithFonts` method from the form's event handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/Add/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMethods/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/Add/Form1.vb" id="Snippet6"::: ]]> @@ -1410,7 +1410,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ResetItem/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/DataSource/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ResetItem/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/DataSource/form1.vb" id="Snippet6"::: ]]> @@ -1610,7 +1610,7 @@ The following example shows how to use the property with a . To run this example, paste the code into a Windows Form and call `PopulateDataViewAndFilter` from the form's constructor or event-handling method. Your form should import the and namespaces. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/Add/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMethods/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/Add/Form1.vb" id="Snippet3"::: ]]> @@ -1678,7 +1678,7 @@ The following code example demonstrates how to use the method. For the complete example see the class overview topic. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/FindCore/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceAndBindingListOfT/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/FindCore/Form1.vb" id="Snippet4"::: ]]> @@ -1736,7 +1736,7 @@ The following example shows how to use the method with a . To run this example, paste the code into a Windows Form and call `PopulateDataViewAndFind` from the form's constructor or event-handling method. Your form should import the and namespaces. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/Add/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMethods/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/Add/Form1.vb" id="Snippet1"::: ]]> @@ -2344,7 +2344,7 @@ The following code example demonstrates the , , and members. To run this example, paste the code into a form that contains a named `BindingSource1`, two labels named `label1` and `label2`, and a button named `button1`. Associate the `button1_Click` method with the event for `button1`. Visual Basic users will need to add a reference to System.Data.dll. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/Count/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorFilterAndSort/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/Count/form1.vb" id="Snippet2"::: ]]> @@ -2395,7 +2395,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ItemChangedEventMode/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/AllowNew/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ItemChangedEventMode/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/AllowNew/form1.vb" id="Snippet9"::: ]]> @@ -2451,7 +2451,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorCurrent/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/MoveFirst/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorCurrent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/MoveFirst/form1.vb" id="Snippet1"::: ]]> @@ -2544,7 +2544,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorCurrent/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/MoveFirst/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorCurrent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/MoveFirst/form1.vb" id="Snippet1"::: ]]> @@ -3065,7 +3065,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorCurrent/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/MoveFirst/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorCurrent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/MoveFirst/form1.vb" id="Snippet1"::: ]]> @@ -3264,7 +3264,7 @@ The following code example demonstrates the , , and members. To run this example, paste the code into a form that contains a named `BindingSource1`, two labels named `label1` and `label2`, and a button named `button1`. Associate the `button1_Click` method with the event for `button1`. Visual Basic users will need to add a reference to System.Data.dll. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/Count/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorFilterAndSort/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/Count/form1.vb" id="Snippet2"::: ]]> @@ -3504,7 +3504,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ResetBindings/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/ResetBindings/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ResetBindings/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/ResetBindings/form1.vb" id="Snippet3"::: ]]> @@ -3592,7 +3592,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ResetItem/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/DataSource/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataConnector.ResetItem/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/DataSource/form1.vb" id="Snippet7"::: ]]> @@ -3699,12 +3699,12 @@ The following example shows how to use the property to perform basic sorting with a . To run this example, paste the code into a Windows Form and call `PopulateDataViewAndSort` from the form's constructor or event-handling method. Your form should import the and namespaces. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/Add/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMethods/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/Add/Form1.vb" id="Snippet2"::: The following example shows how to use the property to perform advanced sorting with a . To run this example, paste the code into a Windows Form and call `PopulateDataViewAndAdvancedSort` from the form's constructor or event-handling method. Your form should import the and namespaces. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingSource/Add/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceMethods/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingSource/Add/Form1.vb" id="Snippet4"::: ]]> @@ -4042,7 +4042,7 @@ The is a read-only co The following code example demonstrates how to use the member. For the complete example see the class overview topic. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BindingListT/FindCore/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.BindingSourceAndBindingListOfT/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BindingListT/FindCore/Form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/BindingsCollection.xml b/xml/System.Windows.Forms/BindingsCollection.xml index f3d05de46a6..75549c7d1a1 100644 --- a/xml/System.Windows.Forms/BindingsCollection.xml +++ b/xml/System.Windows.Forms/BindingsCollection.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingsCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingsCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingsCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingsCollection/Overview/source.vb" id="Snippet1"::: ]]> @@ -118,7 +118,7 @@ @@ -236,7 +236,7 @@ To run the example code, paste it into a project that contains an instance of type named `BindingsCollection1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet126"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet126"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet126"::: ]]> @@ -287,7 +287,7 @@ To run the example code, paste it into a project that contains an instance of type named `BindingsCollection1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet125"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet125"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet125"::: ]]> @@ -360,7 +360,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingsCollection.this Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingsCollection/Item/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingsCollection.this Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingsCollection/Item/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Border3DStyle.xml b/xml/System.Windows.Forms/Border3DStyle.xml index 62bfe8db60b..f9c8592ff27 100644 --- a/xml/System.Windows.Forms/Border3DStyle.xml +++ b/xml/System.Windows.Forms/Border3DStyle.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/BorderStyle.xml b/xml/System.Windows.Forms/BorderStyle.xml index aa8ec1867aa..d4642c329cf 100644 --- a/xml/System.Windows.Forms/BorderStyle.xml +++ b/xml/System.Windows.Forms/BorderStyle.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BorderStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BorderStyle/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/BoundsSpecified.xml b/xml/System.Windows.Forms/BoundsSpecified.xml index f8f983207c3..a0c204eaf62 100644 --- a/xml/System.Windows.Forms/BoundsSpecified.xml +++ b/xml/System.Windows.Forms/BoundsSpecified.xml @@ -39,7 +39,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Layout/CPP/layout.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BoundsSpecified/Overview/layout.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Layout/VB/layout.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BoundsSpecified/Overview/layout.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Button.xml b/xml/System.Windows.Forms/Button.xml index 92183885641..ade0142d2b3 100644 --- a/xml/System.Windows.Forms/Button.xml +++ b/xml/System.Windows.Forms/Button.xml @@ -71,7 +71,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Button.Button Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Button/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Button.Button Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Button/Overview/source.vb" id="Snippet1"::: ]]> @@ -116,7 +116,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Button.Button Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Button/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Button.Button Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Button/Overview/source.vb" id="Snippet1"::: ]]> @@ -282,7 +282,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Button.Button Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Button/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Button.Button Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Button/Overview/source.vb" id="Snippet1"::: ]]> @@ -345,7 +345,7 @@ To run the example code, paste it into a project that contains an instance of type named `Button1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet137"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet137"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet137"::: ]]> @@ -406,7 +406,7 @@ To run the example code, paste it into a project that contains an instance of type named `Button1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet138"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet138"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet138"::: ]]> @@ -731,7 +731,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Button.PerformClick Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Button/PerformClick/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Button.PerformClick Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Button/PerformClick/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ButtonBase.xml b/xml/System.Windows.Forms/ButtonBase.xml index 9f7ab18639d..b368647da3e 100644 --- a/xml/System.Windows.Forms/ButtonBase.xml +++ b/xml/System.Windows.Forms/ButtonBase.xml @@ -238,7 +238,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ButtonBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet136"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet136"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet136"::: ]]> @@ -756,7 +756,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ButtonBase.FlatStyle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ButtonBase/FlatStyle/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ButtonBase.FlatStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ButtonBase/FlatStyle/source.vb" id="Snippet1"::: ]]> @@ -856,7 +856,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ButtonBase.FlatStyle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ButtonBase/FlatStyle/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ButtonBase.FlatStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ButtonBase/FlatStyle/source.vb" id="Snippet1"::: ]]> @@ -912,7 +912,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ButtonBase.FlatStyle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ButtonBase/FlatStyle/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ButtonBase.FlatStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ButtonBase/FlatStyle/source.vb" id="Snippet1"::: ]]> @@ -995,7 +995,7 @@ For example, consider a button control whose @@ -1130,7 +1130,7 @@ If you set the property, the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ButtonBase.ImageIndex Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ButtonBase/ImageIndex/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ButtonBase.ImageIndex Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ButtonBase/ImageIndex/source.vb" id="Snippet1"::: ]]> @@ -2168,7 +2168,7 @@ If you set the property, the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ButtonBase.FlatStyle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ButtonBase/FlatStyle/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ButtonBase.FlatStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ButtonBase/FlatStyle/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ButtonRenderer.xml b/xml/System.Windows.Forms/ButtonRenderer.xml index d9a95eda918..07a85a1b5c5 100644 --- a/xml/System.Windows.Forms/ButtonRenderer.xml +++ b/xml/System.Windows.Forms/ButtonRenderer.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ButtonRenderer/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ButtonRenderer/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ButtonRenderer/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ButtonRenderer/Overview/form1.vb" id="Snippet0"::: ]]> @@ -273,7 +273,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ButtonRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ButtonRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ButtonRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ButtonRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -525,7 +525,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ButtonRenderer/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ButtonRenderer/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ButtonRenderer/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ButtonRenderer/Overview/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/ButtonState.xml b/xml/System.Windows.Forms/ButtonState.xml index 479b3b87827..da3ac239a6d 100644 --- a/xml/System.Windows.Forms/ButtonState.xml +++ b/xml/System.Windows.Forms/ButtonState.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ButtonState/CPP/buttonstate1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ButtonState/Overview/buttonstate1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ButtonState/VB/buttonstate1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ButtonState/Overview/buttonstate1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/CacheVirtualItemsEventArgs.xml b/xml/System.Windows.Forms/CacheVirtualItemsEventArgs.xml index 76495b20bac..bf04c2ffb8f 100644 --- a/xml/System.Windows.Forms/CacheVirtualItemsEventArgs.xml +++ b/xml/System.Windows.Forms/CacheVirtualItemsEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet465"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet465"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet465"::: ]]> @@ -123,7 +123,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet465"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet465"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet465"::: ]]> @@ -174,7 +174,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet465"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet465"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet465"::: ]]> diff --git a/xml/System.Windows.Forms/CaptionButton.xml b/xml/System.Windows.Forms/CaptionButton.xml index cc0bc727de7..c0711cd3685 100644 --- a/xml/System.Windows.Forms/CaptionButton.xml +++ b/xml/System.Windows.Forms/CaptionButton.xml @@ -37,7 +37,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/CharacterCasing.xml b/xml/System.Windows.Forms/CharacterCasing.xml index 0e6895f119f..23b5af8ffd5 100644 --- a/xml/System.Windows.Forms/CharacterCasing.xml +++ b/xml/System.Windows.Forms/CharacterCasing.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBox.CharacterCasing Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CharacterCasing/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.CharacterCasing Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CharacterCasing/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/CheckBox.xml b/xml/System.Windows.Forms/CheckBox.xml index 16e5750d459..ae6dd25a51b 100644 --- a/xml/System.Windows.Forms/CheckBox.xml +++ b/xml/System.Windows.Forms/CheckBox.xml @@ -86,7 +86,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CheckBox.CheckBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -129,7 +129,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CheckBox.CheckBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -189,7 +189,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CheckBox.CheckBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -243,7 +243,7 @@ To run the example code, paste it into a project that contains an instance of type named `CheckBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet139"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet139"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet139"::: ]]> @@ -304,7 +304,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CheckBox.CheckBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -362,7 +362,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CheckBox.CheckAlign Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/CheckAlign/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckAlign Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/CheckAlign/source.vb" id="Snippet1"::: ]]> @@ -429,7 +429,7 @@ Note: If the property :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CheckBox.CheckAlign Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/CheckAlign/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckAlign Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/CheckAlign/source.vb" id="Snippet1"::: ]]> @@ -483,7 +483,7 @@ Note: If the property To run the example code, paste it into a project that contains an instance of type named `CheckBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet140"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet140"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet140"::: ]]> @@ -555,7 +555,7 @@ Note: If the property :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CheckBox.CheckAlign Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/CheckAlign/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckAlign Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/CheckAlign/source.vb" id="Snippet1"::: ]]> @@ -610,7 +610,7 @@ Note: If the property To run the example code, paste it into a project that contains an instance of type named `CheckBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet141"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet141"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet141"::: ]]> @@ -694,7 +694,7 @@ Note: If the property :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CreateParams/CPP/createparams.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/CreateParams/createparams.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CreateParams/VB/createparams.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/CreateParams/createparams.vb" id="Snippet3"::: ]]> @@ -1163,7 +1163,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ProcessMnemonic/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/ProcessMnemonic/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProcessMnemonic/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/ProcessMnemonic/form1.vb" id="Snippet1"::: ]]> @@ -1294,7 +1294,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CheckBox.CheckAlign Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/CheckAlign/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckBox.CheckAlign Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/CheckAlign/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/CheckBoxRenderer.xml b/xml/System.Windows.Forms/CheckBoxRenderer.xml index 51ba9a8406f..f5f5cef1f3c 100644 --- a/xml/System.Windows.Forms/CheckBoxRenderer.xml +++ b/xml/System.Windows.Forms/CheckBoxRenderer.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.CheckBoxRenderer/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBoxRenderer/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.CheckBoxRenderer/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBoxRenderer/Overview/form1.vb" id="Snippet0"::: ]]> @@ -241,7 +241,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.CheckBoxRenderer/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBoxRenderer/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.CheckBoxRenderer/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBoxRenderer/Overview/form1.vb" id="Snippet4"::: ]]> @@ -477,7 +477,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.CheckBoxRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBoxRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.CheckBoxRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBoxRenderer/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/CheckState.xml b/xml/System.Windows.Forms/CheckState.xml index e439f74bcd9..91c2f06e0b6 100644 --- a/xml/System.Windows.Forms/CheckState.xml +++ b/xml/System.Windows.Forms/CheckState.xml @@ -38,7 +38,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CheckedListBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckedListBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/CheckedListBox+CheckedIndexCollection.xml b/xml/System.Windows.Forms/CheckedListBox+CheckedIndexCollection.xml index 18eace534d1..b71a605a23d 100644 --- a/xml/System.Windows.Forms/CheckedListBox+CheckedIndexCollection.xml +++ b/xml/System.Windows.Forms/CheckedListBox+CheckedIndexCollection.xml @@ -76,7 +76,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CheckedListBox/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CheckedListBox/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/CheckedListBox+CheckedItemCollection.xml b/xml/System.Windows.Forms/CheckedListBox+CheckedItemCollection.xml index 56a7bc50d08..d0acc2b4cc0 100644 --- a/xml/System.Windows.Forms/CheckedListBox+CheckedItemCollection.xml +++ b/xml/System.Windows.Forms/CheckedListBox+CheckedItemCollection.xml @@ -76,7 +76,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CheckedListBox/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CheckedListBox/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/CheckedListBox+ObjectCollection.xml b/xml/System.Windows.Forms/CheckedListBox+ObjectCollection.xml index 4211f303292..8ddd14962cb 100644 --- a/xml/System.Windows.Forms/CheckedListBox+ObjectCollection.xml +++ b/xml/System.Windows.Forms/CheckedListBox+ObjectCollection.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CheckedListBox/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CheckedListBox/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.vb" id="Snippet3"::: ]]> @@ -142,7 +142,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/CheckedListBox.xml b/xml/System.Windows.Forms/CheckedListBox.xml index 05f9e140eb2..f590f9f89d1 100644 --- a/xml/System.Windows.Forms/CheckedListBox.xml +++ b/xml/System.Windows.Forms/CheckedListBox.xml @@ -100,7 +100,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CheckedListBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CheckedListBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -191,7 +191,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CheckedListBox/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CheckedListBox/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.vb" id="Snippet2"::: ]]> @@ -265,7 +265,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CheckedListBox/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CheckedListBox/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.vb" id="Snippet2"::: ]]> @@ -328,7 +328,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -398,7 +398,7 @@ To run the example code, paste it into a project that contains an instance of type named `CheckedListBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet157"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet157"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet157"::: ]]> @@ -518,7 +518,7 @@ The property should not be o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CreateParams/CPP/createparams.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/CreateParams/createparams.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CreateParams/VB/createparams.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/CreateParams/createparams.vb" id="Snippet3"::: ]]> @@ -667,7 +667,7 @@ The property should not be o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -911,7 +911,7 @@ The property should not be o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CheckedListBox/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CheckedListBox/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.vb" id="Snippet2"::: ]]> @@ -970,7 +970,7 @@ The property should not be o To run the example code, paste it into a project that contains an instance of type named `CheckedListBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet156"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet156"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet156"::: ]]> @@ -1095,7 +1095,7 @@ The property should not be o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CheckedListBox/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CheckedListBox/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.vb" id="Snippet2"::: ]]> @@ -1210,7 +1210,7 @@ The property should not be o To run the example code, paste it into a project that contains an instance of type named `CheckedListBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet158"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet158"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet158"::: ]]> @@ -1725,7 +1725,7 @@ The property should not be o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -1781,7 +1781,7 @@ The property should not be o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CheckedListBox/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CheckedListBox/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.vb" id="Snippet3"::: ]]> @@ -1840,7 +1840,7 @@ The property should not be o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CheckedListBox/CPP/source.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CheckedListBox/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+CheckedIndexCollection/Overview/source.vb" id="Snippet3"::: ]]> @@ -1896,7 +1896,7 @@ The property should not be o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -2113,7 +2113,7 @@ The following code example demonstrates overriding the diff --git a/xml/System.Windows.Forms/Clipboard.xml b/xml/System.Windows.Forms/Clipboard.xml index 453e67abe44..9d5e0a582e1 100644 --- a/xml/System.Windows.Forms/Clipboard.xml +++ b/xml/System.Windows.Forms/Clipboard.xml @@ -68,7 +68,7 @@ The class provides additional methods that :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Clipboard Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Clipboard Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Overview/source.vb" id="Snippet1"::: ]]> @@ -118,7 +118,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet1"::: ]]> @@ -168,7 +168,7 @@ The class provides additional methods that The following code example demonstrates the use of this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet20"::: ]]> @@ -229,7 +229,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet10"::: ]]> @@ -284,7 +284,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet30"::: ]]> @@ -337,7 +337,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet40"::: ]]> @@ -404,7 +404,7 @@ The class provides additional methods that The following example demonstrates an overload of the method that is similar to this overload. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet50"::: ]]> @@ -462,7 +462,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet50"::: ]]> @@ -519,7 +519,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet20"::: ]]> @@ -588,7 +588,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet10"::: ]]> @@ -650,7 +650,7 @@ The class provides additional methods that :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Clipboard Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Clipboard Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Overview/source.vb" id="Snippet1"::: ]]> @@ -709,7 +709,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet30"::: ]]> @@ -765,7 +765,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet40"::: ]]> @@ -834,7 +834,7 @@ The class provides additional methods that The following example demonstrates an overload of the method that is similar to this overload. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet50"::: ]]> @@ -891,7 +891,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet50"::: ]]> @@ -959,7 +959,7 @@ The class provides additional methods that The following example demonstrates an overload of the method that is similar to this overload. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet20"::: ]]> @@ -1015,7 +1015,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet20"::: ]]> @@ -1077,7 +1077,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet10"::: ]]> @@ -1195,7 +1195,7 @@ The class provides additional methods that :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Clipboard Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Clipboard Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Overview/source.vb" id="Snippet1"::: ]]> @@ -1266,13 +1266,13 @@ The class provides additional methods that :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Clipboard.SetDataObject1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/SetDataObject/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Clipboard.SetDataObject1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/SetDataObject/source.vb" id="Snippet1"::: In a different application, the following method retrieves the text from the system Clipboard and pastes the text into `textBox2`. This code assumes `button2` and `textBox2` have been created and placed on a form. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Clipboard.SetDataObject1 Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/SetDataObject/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Clipboard.SetDataObject1 Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/SetDataObject/source.vb" id="Snippet2"::: ]]> @@ -1398,7 +1398,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet30"::: ]]> @@ -1462,7 +1462,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet40"::: ]]> @@ -1532,7 +1532,7 @@ The class provides additional methods that The following example demonstrates an overload of the method that is similar to this overload. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet50"::: ]]> @@ -1590,7 +1590,7 @@ The class provides additional methods that The following example demonstrates this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Clipboard/Clear/form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Clipboard/Clear/form1.vb" id="Snippet50"::: ]]> diff --git a/xml/System.Windows.Forms/ColorDialog.xml b/xml/System.Windows.Forms/ColorDialog.xml index de4a7a84cc1..62ae219f9f3 100644 --- a/xml/System.Windows.Forms/ColorDialog.xml +++ b/xml/System.Windows.Forms/ColorDialog.xml @@ -48,7 +48,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ColorDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColorDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -145,7 +145,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ColorDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColorDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -201,7 +201,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ColorDialogHelp/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColorDialog/AnyColor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ColorDialogHelp/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColorDialog/AnyColor/form1.vb" id="Snippet1"::: ]]> @@ -253,7 +253,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ColorDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColorDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -311,7 +311,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ColorDialog CustomColors Property Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColorDialog/CustomColors/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ColorDialog CustomColors Property Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColorDialog/CustomColors/form1.vb" id="Snippet1"::: ]]> @@ -558,7 +558,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ColorDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColorDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -618,7 +618,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ColorDialogHelp/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColorDialog/AnyColor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ColorDialogHelp/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColorDialog/AnyColor/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ColumnClickEventArgs.xml b/xml/System.Windows.Forms/ColumnClickEventArgs.xml index e4212730432..5fdabbcd36b 100644 --- a/xml/System.Windows.Forms/ColumnClickEventArgs.xml +++ b/xml/System.Windows.Forms/ColumnClickEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet466"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet466"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet466"::: ]]> @@ -128,7 +128,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet466"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet466"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet466"::: ]]> diff --git a/xml/System.Windows.Forms/ColumnHeader.xml b/xml/System.Windows.Forms/ColumnHeader.xml index bd342cdefe9..a9c98346a1e 100644 --- a/xml/System.Windows.Forms/ColumnHeader.xml +++ b/xml/System.Windows.Forms/ColumnHeader.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeader/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeader/Overview/form1.vb" id="Snippet1"::: ]]> @@ -115,7 +115,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeader/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeader/Overview/form1.vb" id="Snippet1"::: ]]> @@ -744,7 +744,7 @@ If you set the property, th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeader/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeader/Overview/form1.vb" id="Snippet1"::: ]]> @@ -800,7 +800,7 @@ If you set the property, th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeader/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeader/Overview/form1.vb" id="Snippet1"::: ]]> @@ -890,7 +890,7 @@ If you set the property, th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeader/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeader/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ColumnHeaderStyle.xml b/xml/System.Windows.Forms/ColumnHeaderStyle.xml index f3279abf61c..78005715cda 100644 --- a/xml/System.Windows.Forms/ColumnHeaderStyle.xml +++ b/xml/System.Windows.Forms/ColumnHeaderStyle.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView1/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView1/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ColumnReorderedEventArgs.xml b/xml/System.Windows.Forms/ColumnReorderedEventArgs.xml index 7b5b0268d3d..00daf9ff420 100644 --- a/xml/System.Windows.Forms/ColumnReorderedEventArgs.xml +++ b/xml/System.Windows.Forms/ColumnReorderedEventArgs.xml @@ -42,7 +42,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet467"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet467"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet467"::: ]]> @@ -128,7 +128,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet467"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet467"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet467"::: ]]> @@ -179,7 +179,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet467"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet467"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet467"::: ]]> @@ -230,7 +230,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet467"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet467"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet467"::: ]]> diff --git a/xml/System.Windows.Forms/ColumnStyle.xml b/xml/System.Windows.Forms/ColumnStyle.xml index 38ecbe05544..9996ca412c0 100644 --- a/xml/System.Windows.Forms/ColumnStyle.xml +++ b/xml/System.Windows.Forms/ColumnStyle.xml @@ -38,7 +38,7 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Windows.Forms/ColumnWidthChangedEventArgs.xml b/xml/System.Windows.Forms/ColumnWidthChangedEventArgs.xml index 19225f714d4..496c82164d6 100644 --- a/xml/System.Windows.Forms/ColumnWidthChangedEventArgs.xml +++ b/xml/System.Windows.Forms/ColumnWidthChangedEventArgs.xml @@ -31,7 +31,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet468"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet468"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet468"::: ]]> @@ -118,7 +118,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet468"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet468"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet468"::: ]]> diff --git a/xml/System.Windows.Forms/ColumnWidthChangingEventArgs.xml b/xml/System.Windows.Forms/ColumnWidthChangingEventArgs.xml index da5b7f000bd..1c512aaa676 100644 --- a/xml/System.Windows.Forms/ColumnWidthChangingEventArgs.xml +++ b/xml/System.Windows.Forms/ColumnWidthChangingEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet469"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet469"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet469"::: ]]> @@ -173,7 +173,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet469"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet469"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet469"::: ]]> @@ -228,7 +228,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet469"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet469"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet469"::: ]]> diff --git a/xml/System.Windows.Forms/ComboBox+ObjectCollection.xml b/xml/System.Windows.Forms/ComboBox+ObjectCollection.xml index f06e8f57aab..4da4d3f8fd6 100644 --- a/xml/System.Windows.Forms/ComboBox+ObjectCollection.xml +++ b/xml/System.Windows.Forms/ComboBox+ObjectCollection.xml @@ -203,7 +203,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxDropDown/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox+ObjectCollection/AddRange/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxDropDown/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/AddRange/form1.vb" id="Snippet2"::: ]]> @@ -697,7 +697,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/CPP/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.vb" id="Snippet0"::: ]]> diff --git a/xml/System.Windows.Forms/ComboBox.xml b/xml/System.Windows.Forms/ComboBox.xml index 243bb65fe09..dbef5b50c7a 100644 --- a/xml/System.Windows.Forms/ComboBox.xml +++ b/xml/System.Windows.Forms/ComboBox.xml @@ -87,7 +87,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComboBox/CPP/comboboxtype.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/Overview/comboboxtype.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComboBox/VB/comboboxtype.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/Overview/comboboxtype.vb" id="Snippet1"::: ]]> @@ -652,7 +652,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComboBox/CPP/comboboxmembers.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/Overview/comboboxmembers.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComboBox/VB/comboboxmembers.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/Overview/comboboxmembers.vb" id="Snippet3"::: ]]> @@ -808,7 +808,7 @@ The following example uses the property to display an array of weekdays in a . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/DataSource/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.combobox.datasource/vb/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/DataSource/form1.vb" id="Snippet1"::: ]]> @@ -987,7 +987,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/DrawItem/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/DrawItem/form1.vb" id="Snippet1"::: ]]> @@ -1037,7 +1037,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/DrawItem/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/DrawItem/form1.vb" id="Snippet1"::: ]]> @@ -1092,7 +1092,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxDropDown/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox+ObjectCollection/AddRange/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxDropDown/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/AddRange/form1.vb" id="Snippet2"::: ]]> @@ -1146,7 +1146,7 @@ To run the example code, paste it into a project that contains an instance of type named `ComboBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet168"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet168"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet168"::: ]]> @@ -1252,7 +1252,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/DrawItem/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/DrawItem/form1.vb" id="Snippet1"::: ]]> @@ -1306,7 +1306,7 @@ To run the example code, paste it into a project that contains an instance of type named `ComboBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet166"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet166"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet166"::: ]]> @@ -1354,7 +1354,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/DrawItem/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/DrawItem/form1.vb" id="Snippet1"::: ]]> @@ -1440,7 +1440,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComboBox/CPP/comboboxmembers.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/Overview/comboboxmembers.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComboBox/VB/comboboxmembers.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/Overview/comboboxmembers.vb" id="Snippet3"::: ]]> @@ -1505,7 +1505,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComboBox/CPP/comboboxmembers.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/Overview/comboboxmembers.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComboBox/VB/comboboxmembers.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/Overview/comboboxmembers.vb" id="Snippet4"::: ]]> @@ -1618,7 +1618,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/CPP/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.vb" id="Snippet0"::: ]]> @@ -1678,7 +1678,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/CPP/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.vb" id="Snippet0"::: ]]> @@ -2062,7 +2062,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComboBox/CPP/comboboxmembers.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/Overview/comboboxmembers.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComboBox/VB/comboboxmembers.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/Overview/comboboxmembers.vb" id="Snippet2"::: ]]> @@ -2116,7 +2116,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/CPP/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.vb" id="Snippet0"::: ]]> @@ -2237,7 +2237,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/DrawItem/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxOwnerDrawn/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/DrawItem/form1.vb" id="Snippet1"::: ]]> @@ -3351,7 +3351,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxSelectedText/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/OnSelectionChangeCommitted/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxSelectedText/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/OnSelectionChangeCommitted/form1.vb" id="Snippet1"::: ]]> @@ -4036,7 +4036,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComboBox/CPP/comboboxmembers.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/Overview/comboboxmembers.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComboBox/VB/comboboxmembers.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/Overview/comboboxmembers.vb" id="Snippet4"::: ]]> @@ -4097,7 +4097,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/CPP/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.vb" id="Snippet0"::: ]]> @@ -4164,7 +4164,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ComboBox/CPP/comboboxmembers.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/Overview/comboboxmembers.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ComboBox/VB/comboboxmembers.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/Overview/comboboxmembers.vb" id="Snippet5"::: ]]> @@ -4269,7 +4269,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxSelectedText/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox/OnSelectionChangeCommitted/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxSelectedText/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox/OnSelectionChangeCommitted/form1.vb" id="Snippet1"::: ]]> @@ -4580,7 +4580,7 @@ Reading the property returns the te :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxDropDown/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox+ObjectCollection/AddRange/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxDropDown/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/AddRange/form1.vb" id="Snippet2"::: ]]> @@ -4633,7 +4633,7 @@ Reading the property returns the te To run the example code, paste it into a project that contains an instance of type named `ComboBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet167"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet167"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet167"::: ]]> @@ -4715,7 +4715,7 @@ The following code example demonstrates overriding the diff --git a/xml/System.Windows.Forms/ComboBoxRenderer.xml b/xml/System.Windows.Forms/ComboBoxRenderer.xml index 91e2ad656ea..6ab27af49c2 100644 --- a/xml/System.Windows.Forms/ComboBoxRenderer.xml +++ b/xml/System.Windows.Forms/ComboBoxRenderer.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBoxRenderer/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBoxRenderer/Overview/form1.vb" id="Snippet0"::: ]]> @@ -102,7 +102,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBoxRenderer/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBoxRenderer/Overview/form1.vb" id="Snippet4"::: ]]> @@ -311,7 +311,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBoxRenderer/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBoxRenderer/Overview/form1.vb" id="Snippet4"::: ]]> @@ -497,7 +497,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBoxRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBoxRenderer/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/ComboBoxStyle.xml b/xml/System.Windows.Forms/ComboBoxStyle.xml index e339aa4609e..17d3d55a3c8 100644 --- a/xml/System.Windows.Forms/ComboBoxStyle.xml +++ b/xml/System.Windows.Forms/ComboBoxStyle.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxFindString/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/RemoveAt/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/CommonDialog.xml b/xml/System.Windows.Forms/CommonDialog.xml index e64a726c3e5..0419200e2af 100644 --- a/xml/System.Windows.Forms/CommonDialog.xml +++ b/xml/System.Windows.Forms/CommonDialog.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ColorDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColorDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -122,7 +122,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ColorDialogHelp/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColorDialog/AnyColor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ColorDialogHelp/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColorDialog/AnyColor/form1.vb" id="Snippet1"::: ]]> @@ -178,7 +178,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/HookProc Example/CPP/fontdialogoverride.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CommonDialog/HookProc/fontdialogoverride.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/HookProc Example/VB/fontdialogoverride.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CommonDialog/HookProc/fontdialogoverride.vb" id="Snippet1"::: ]]> @@ -403,7 +403,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ColorDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColorDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ColorDialog Example/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColorDialog/Overview/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ContainerControl.xml b/xml/System.Windows.Forms/ContainerControl.xml index 20e5e959be7..b0e77d8e3e8 100644 --- a/xml/System.Windows.Forms/ContainerControl.xml +++ b/xml/System.Windows.Forms/ContainerControl.xml @@ -93,7 +93,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IContainerControl Implementation/CPP/mycontainercontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IContainerControl Implementation/VB/mycontainercontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.vb" id="Snippet1"::: ]]> @@ -166,7 +166,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IContainerControl Implementation/CPP/mycontainercontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IContainerControl Implementation/VB/mycontainercontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.vb" id="Snippet1"::: ]]> @@ -433,7 +433,7 @@ The following code example turns off implicit validation for a form and all of its contained controls, and instead manually performs validation of all of the form's children when a mouse button is clicked. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AutoValidate/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ValidateChildren/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AutoValidate/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -998,11 +998,11 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ParentForm2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContainerControl/ParentForm/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ParentForm2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContainerControl/ParentForm/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ParentForm2/CPP/form2.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContainerControl/ParentForm/form2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ParentForm2/VB/form2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContainerControl/ParentForm/form2.vb" id="Snippet2"::: ]]> @@ -1397,7 +1397,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IContainerControl Implementation/CPP/mycontainercontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IContainerControl Implementation/VB/mycontainercontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.vb" id="Snippet1"::: ]]> @@ -1610,7 +1610,7 @@ The following code example turns off implicit validation for a form and all of its contained controls, and instead manually performs validation of all of the form's children when a mouse button is clicked. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AutoValidate/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ValidateChildren/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AutoValidate/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -1676,7 +1676,7 @@ The following code example will only cause the event to occur for immediate children of the form whose property is `true`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContainerControl/ValidateChildren/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ValidateChildrenWithConstraints/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContainerControl/ValidateChildren/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ContentsResizedEventArgs.xml b/xml/System.Windows.Forms/ContentsResizedEventArgs.xml index 86417f741c2..6d4356ec51b 100644 --- a/xml/System.Windows.Forms/ContentsResizedEventArgs.xml +++ b/xml/System.Windows.Forms/ContentsResizedEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of type named `RichTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet537"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet537"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet537"::: ]]> @@ -125,7 +125,7 @@ To run the example code, paste it into a project that contains an instance of type named `RichTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet537"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet537"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet537"::: ]]> diff --git a/xml/System.Windows.Forms/ContextMenu.xml b/xml/System.Windows.Forms/ContextMenu.xml index c490c2b87ac..d1a9a82d775 100644 --- a/xml/System.Windows.Forms/ContextMenu.xml +++ b/xml/System.Windows.Forms/ContextMenu.xml @@ -61,7 +61,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -141,7 +141,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -181,7 +181,7 @@ This class is not available in .NET Core 3.1 and later versions. Use named `ContextMenu1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet170"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet170"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet170"::: ]]> @@ -275,7 +275,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -424,7 +424,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -510,7 +510,7 @@ This class is not available in .NET Core 3.1 and later versions. Use diff --git a/xml/System.Windows.Forms/ContextMenuStrip.xml b/xml/System.Windows.Forms/ContextMenuStrip.xml index a2a737ef8a8..82e035ebd0e 100644 --- a/xml/System.Windows.Forms/ContextMenuStrip.xml +++ b/xml/System.Windows.Forms/ContextMenuStrip.xml @@ -70,7 +70,7 @@ The following code example demonstrates a with dynamic item addition, dynamic determination with reuse, and handling of the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet40"::: ]]> @@ -343,7 +343,7 @@ The following code example demonstrates dynamic determination with reuse, and handling of the event. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet42"::: ]]> diff --git a/xml/System.Windows.Forms/Control+ControlAccessibleObject.xml b/xml/System.Windows.Forms/Control+ControlAccessibleObject.xml index 8118374a771..b0fd7a9cd25 100644 --- a/xml/System.Windows.Forms/Control+ControlAccessibleObject.xml +++ b/xml/System.Windows.Forms/Control+ControlAccessibleObject.xml @@ -51,7 +51,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/CPP/controlaccessibility.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/VB/controlaccessibility.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.vb" id="Snippet1"::: ]]> @@ -96,7 +96,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/CPP/controlaccessibility.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/VB/controlaccessibility.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.vb" id="Snippet1"::: ]]> @@ -519,7 +519,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/CPP/controlaccessibility.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/VB/controlaccessibility.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Control+ControlCollection.xml b/xml/System.Windows.Forms/Control+ControlCollection.xml index ce49b0fe4c5..da271008b81 100644 --- a/xml/System.Windows.Forms/Control+ControlCollection.xml +++ b/xml/System.Windows.Forms/Control+ControlCollection.xml @@ -73,7 +73,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ControlCollection/CPP/controlcollection.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ControlCollection/VB/controlcollection.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.vb" id="Snippet4"::: ]]> @@ -162,7 +162,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ControlCollection/CPP/controlcollection.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ControlCollection/VB/controlcollection.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.vb" id="Snippet2"::: ]]> @@ -238,7 +238,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ControlCollection/CPP/controlcollection.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ControlCollection/VB/controlcollection.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.vb" id="Snippet3"::: ]]> @@ -297,7 +297,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ControlCollection/CPP/controlcollection.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ControlCollection/VB/controlcollection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.vb" id="Snippet1"::: ]]> @@ -351,7 +351,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ControlCollection/CPP/controlcollection.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ControlCollection/VB/controlcollection.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.vb" id="Snippet4"::: ]]> @@ -974,7 +974,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ControlCollection/CPP/controlcollection.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ControlCollection/VB/controlcollection.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.vb" id="Snippet4"::: ]]> @@ -1033,7 +1033,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ControlCollection/CPP/controlcollection.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ControlCollection/VB/controlcollection.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlCollection/Overview/controlcollection.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Windows.Forms/Control.xml b/xml/System.Windows.Forms/Control.xml index a8830c99609..3aaf08ca0e9 100644 --- a/xml/System.Windows.Forms/Control.xml +++ b/xml/System.Windows.Forms/Control.xml @@ -450,7 +450,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet5"::: ]]> @@ -685,7 +685,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/CPP/controlaccessibility.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/VB/controlaccessibility.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.vb" id="Snippet2"::: ]]> @@ -747,7 +747,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/CPP/controlaccessibility.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.ControlAccessibleObject/VB/controlaccessibility.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control+ControlAccessibleObject/Overview/controlaccessibility.vb" id="Snippet2"::: ]]> @@ -852,7 +852,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control.DragOperations/CPP/imagedrag.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/AllowDrop/imagedrag.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.DragOperations/VB/imagedrag.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/AllowDrop/imagedrag.vb" id="Snippet1"::: ]]> @@ -925,7 +925,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet3"::: ]]> @@ -1133,7 +1133,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet1"::: ]]> @@ -1187,7 +1187,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/CPP/propertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/VB/propertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.vb" id="Snippet1"::: ]]> @@ -1252,7 +1252,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet3"::: ]]> @@ -1310,7 +1310,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/CPP/propertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/VB/propertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.vb" id="Snippet1"::: ]]> @@ -1416,7 +1416,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet9"::: ]]> @@ -1532,7 +1532,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control_BeginInvoke/CPP/control_begininvoke.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BeginInvoke/control_begininvoke.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control_BeginInvoke/VB/control_begininvoke.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BeginInvoke/control_begininvoke.vb" id="Snippet2"::: ]]> @@ -1621,7 +1621,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control_BeginInvoke/CPP/control_begininvoke.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BeginInvoke/control_begininvoke.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control_BeginInvoke/VB/control_begininvoke.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BeginInvoke/control_begininvoke.vb" id="Snippet1"::: ]]> @@ -1700,7 +1700,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic BindingContext Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingContext/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic BindingContext Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingContext/Overview/source.vb" id="Snippet1"::: ]]> @@ -1755,7 +1755,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Control.BindingContextChanged Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BindingContextChanged/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Control.BindingContextChanged Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BindingContextChanged/source.vb" id="Snippet1"::: ]]> @@ -1820,7 +1820,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyUp/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Bottom/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyUp/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Bottom/form1.vb" id="Snippet1"::: ]]> @@ -1881,7 +1881,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/CPP/controlsizelocation.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Bounds/controlsizelocation.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/VB/controlsizelocation.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Bounds/controlsizelocation.vb" id="Snippet1"::: ]]> @@ -1930,7 +1930,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Members4/CPP/controlmembers4.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BringToFront/controlmembers4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members4/VB/controlmembers4.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BringToFront/controlmembers4.vb" id="Snippet1"::: ]]> @@ -2034,7 +2034,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/CPP/controlmembers6.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/CanFocus/controlmembers6.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/VB/controlmembers6.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/CanFocus/controlmembers6.vb" id="Snippet1"::: ]]> @@ -2162,7 +2162,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/CPP/controlmembers6.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/CanFocus/controlmembers6.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/VB/controlmembers6.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/CanFocus/controlmembers6.vb" id="Snippet2"::: ]]> @@ -2235,7 +2235,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlCapture/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Capture/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlCapture/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Capture/form1.vb" id="Snippet1"::: ]]> @@ -2294,7 +2294,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Validating/CPP/validating.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/CausesValidation/validating.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Validating/VB/validating.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/CausesValidation/validating.vb" id="Snippet2"::: ]]> @@ -2382,7 +2382,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet67"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet67"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet67"::: ]]> @@ -2514,7 +2514,7 @@ The following table lists Windows Forms controls and which event ( @@ -2582,7 +2582,7 @@ The following table lists Windows Forms controls and which event ( @@ -2650,7 +2650,7 @@ The following table lists Windows Forms controls and which event ( @@ -2697,7 +2697,7 @@ The following table lists Windows Forms controls and which event (, such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet12"::: ]]> @@ -2771,7 +2771,7 @@ The following table lists Windows Forms controls and which event ( @@ -2826,7 +2826,7 @@ The following table lists Windows Forms controls and which event ( @@ -2950,7 +2950,7 @@ The following table lists Windows Forms controls and which event ( @@ -3017,7 +3017,7 @@ The following table lists Windows Forms controls and which event ( @@ -3070,7 +3070,7 @@ The following table lists Windows Forms controls and which event ( objects to a . In addition it demonstrates setting the property of the form. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/ContextMenuStrip/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.ContextMenuStrip/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/ContextMenuStrip/form1.vb" id="Snippet1"::: ]]> @@ -3115,7 +3115,7 @@ The following table lists Windows Forms controls and which event (, such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet14"::: ]]> @@ -3174,7 +3174,7 @@ The following table lists Windows Forms controls and which event ( @@ -3236,7 +3236,7 @@ The following table lists Windows Forms controls and which event ( @@ -3304,7 +3304,7 @@ The following table lists Windows Forms controls and which event ( @@ -3365,7 +3365,7 @@ The following table lists Windows Forms controls and which event ( @@ -3563,7 +3563,7 @@ The following table lists Windows Forms controls and which event ( @@ -3670,7 +3670,7 @@ The following table lists Windows Forms controls and which event ( @@ -3740,7 +3740,7 @@ The following table lists Windows Forms controls and which event ( @@ -3792,7 +3792,7 @@ The following table lists Windows Forms controls and which event ( @@ -3861,7 +3861,7 @@ The following table lists Windows Forms controls and which event ( @@ -3977,7 +3977,7 @@ The following table lists Windows Forms controls and which event ( @@ -4082,7 +4082,7 @@ The following table lists Windows Forms controls and which event ( @@ -4130,7 +4130,7 @@ The following table lists Windows Forms controls and which event ( @@ -4180,7 +4180,7 @@ The following table lists Windows Forms controls and which event ( @@ -4378,7 +4378,7 @@ The following table lists Windows Forms controls and which event ( @@ -4748,7 +4748,7 @@ The following table lists Windows Forms controls and which event ( @@ -4805,7 +4805,7 @@ The following table lists Windows Forms controls and which event ( @@ -4909,13 +4909,13 @@ The following table lists Windows Forms controls and which event ( enumeration to specify how data should be transferred between the controls involved in a drag-and-drop operation. This example requires that your form includes a control and a control and that the control is populated with a list of valid file names. When the user drags a file name onto the control, the control's event is raised. Within the event handler, the property of the is initialized to to indicate that the data referenced by the file path should be copied to the control. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextDragDrop/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextDragDrop/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form1.vb" id="Snippet1"::: ]]> @@ -5146,7 +5146,7 @@ The following table lists Windows Forms controls and which event ( @@ -5474,7 +5474,7 @@ Point clientPoint = targetControl.PointToClient(new Point(de.X, de.Y)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet5"::: ]]> @@ -5566,7 +5566,7 @@ Point clientPoint = targetControl.PointToClient(new Point(de.X, de.Y)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet7"::: ]]> @@ -5647,7 +5647,7 @@ Point clientPoint = targetControl.PointToClient(new Point(de.X, de.Y)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet8"::: ]]> @@ -5733,7 +5733,7 @@ Point clientPoint = targetControl.PointToClient(new Point(de.X, de.Y)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet4"::: ]]> @@ -5851,7 +5851,7 @@ Point clientPoint = targetControl.PointToClient(new Point(de.X, de.Y)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet2"::: ]]> @@ -5898,7 +5898,7 @@ Point clientPoint = targetControl.PointToClient(new Point(de.X, de.Y)); The following code example uses two controls to demonstrate the event. Clicking one button changes the value of the property of the other button to `false` and displays a . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/EnabledChanged/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.EnabledChanged/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/EnabledChanged/form1.vb" id="Snippet1"::: ]]> @@ -6039,7 +6039,7 @@ Point clientPoint = targetControl.PointToClient(new Point(de.X, de.Y)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Enter/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Enter/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Enter/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Enter/form1.vb" id="Snippet1"::: ]]> @@ -6093,7 +6093,7 @@ Point clientPoint = targetControl.PointToClient(new Point(de.X, de.Y)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.FindForm/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Click/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.FindForm/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Click/form1.vb" id="Snippet1"::: ]]> @@ -6169,7 +6169,7 @@ Point clientPoint = targetControl.PointToClient(new Point(de.X, de.Y)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/CPP/controlmembers6.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/CanFocus/controlmembers6.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/VB/controlmembers6.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/CanFocus/controlmembers6.vb" id="Snippet1"::: ]]> @@ -6231,7 +6231,7 @@ Point clientPoint = targetControl.PointToClient(new Point(de.X, de.Y)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Members2/CPP/controlmembers2.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Focused/controlmembers2.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members2/VB/controlmembers2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Focused/controlmembers2.vb" id="Snippet4"::: ]]> @@ -6315,7 +6315,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control_Font/CPP/control_font.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Font/control_font.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control_Font/VB/control_font.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Font/control_font.vb" id="Snippet1"::: ]]> @@ -6367,7 +6367,7 @@ MyControl.Font = New Font(MyControl.Font, _ The following code example demonstrates the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/FontChanged/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.FontChanged/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/FontChanged/form1.vb" id="Snippet1"::: ]]> @@ -6460,7 +6460,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet1"::: ]]> @@ -6515,7 +6515,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/CPP/propertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/VB/propertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.vb" id="Snippet1"::: ]]> @@ -6998,7 +6998,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/CPP/controlmembers6.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/CanFocus/controlmembers6.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/VB/controlmembers6.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/CanFocus/controlmembers6.vb" id="Snippet4"::: ]]> @@ -7112,7 +7112,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet3"::: ]]> @@ -7204,7 +7204,7 @@ MyControl.Font = New Font(MyControl.Font, _ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet47"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet47"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet47"::: ]]> @@ -7271,7 +7271,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Handle/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Handle/form1.vb" id="Snippet2"::: ]]> @@ -7338,7 +7338,7 @@ MyControl.Font = New Font(MyControl.Font, _ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet37"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet37"::: ]]> @@ -7406,7 +7406,7 @@ MyControl.Font = New Font(MyControl.Font, _ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet38"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet38"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet38"::: ]]> @@ -7476,7 +7476,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet1"::: ]]> @@ -7543,7 +7543,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/CPP/controlsizelocation.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Bounds/controlsizelocation.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/VB/controlsizelocation.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Bounds/controlsizelocation.vb" id="Snippet1"::: ]]> @@ -7593,7 +7593,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpEventHandler/CPP/helpevent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/HelpRequested/helpevent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpEventHandler/VB/helpevent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/HelpRequested/helpevent.vb" id="Snippet1"::: ]]> @@ -7647,7 +7647,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Members4/CPP/controlmembers4.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BringToFront/controlmembers4.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members4/VB/controlmembers4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BringToFront/controlmembers4.vb" id="Snippet2"::: ]]> @@ -7793,7 +7793,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/CPP/propertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/VB/propertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.vb" id="Snippet1"::: ]]> @@ -7907,7 +7907,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control.DragOperations/CPP/imagedrag.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/AllowDrop/imagedrag.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.DragOperations/VB/imagedrag.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/AllowDrop/imagedrag.vb" id="Snippet1"::: ]]> @@ -8191,7 +8191,7 @@ MyControl.Font = New Font(MyControl.Font, _ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet40"::: ]]> @@ -8295,7 +8295,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control_Invoke2/CPP/control_invoke2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Invoke/control_invoke2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control_Invoke2/VB/control_invoke2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Invoke/control_invoke2.vb" id="Snippet1"::: ]]> @@ -8381,7 +8381,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control_Invoke1/CPP/control_invoke1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Invoke/control_invoke1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control_Invoke1/VB/control_invoke1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Invoke/control_invoke1.vb" id="Snippet1"::: ]]> @@ -9218,7 +9218,7 @@ MyControl.Font = New Font(MyControl.Font, _ The following code example shows you how to override the method for a control. In this example, the `TabTextBox` class handles the TAB key. When the `TabTextBox` has the focus and the user presses the TAB key four spaces are added at the text insertion point, replacing any selected text. By default, the control handles the TAB key by moving the input focus to the next control. In this case, the keypress never reaches the method override. To prevent this default behavior, the method override returns `true` when the user presses the TAB key. For all other keypresses, the method override returns the result of calling the base-class version of the method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/IsInputKey/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.IsInputKey/vb/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/IsInputKey/form1.vb" id="Snippet0"::: ]]> @@ -9270,7 +9270,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ControlIsKeyLocked/CPP/controliskeylocked.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/IsKeyLocked/controliskeylocked.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ControlIsKeyLocked/VB/controliskeylocked.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/IsKeyLocked/controliskeylocked.vb" id="Snippet1"::: ]]> @@ -9374,7 +9374,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ProcessMnemonic/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/ProcessMnemonic/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProcessMnemonic/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/ProcessMnemonic/form1.vb" id="Snippet1"::: ]]> @@ -9430,13 +9430,13 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyDown/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb" id="Snippet1"::: The following code example demonstrates the order of raising the , , events, and how to register event handlers on them. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/Form2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/Form2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/Form2.vb" id="Snippet1"::: ]]> @@ -9499,13 +9499,13 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyDown/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb" id="Snippet1"::: The following code example demonstrates the order of rising the , and events, also how to register event handlers on them. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/Form2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/Form2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/Form2.vb" id="Snippet1"::: ]]> @@ -9565,13 +9565,13 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyUp/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Bottom/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyUp/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Bottom/form1.vb" id="Snippet1"::: The following code example demonstrates the order of rising the , and events, also how to register event handlers on them. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/Form2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/Form2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/Form2.vb" id="Snippet1"::: ]]> @@ -9621,7 +9621,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Layout/CPP/layout.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BoundsSpecified/Overview/layout.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Layout/VB/layout.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BoundsSpecified/Overview/layout.vb" id="Snippet1"::: ]]> @@ -9769,7 +9769,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Enter/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Enter/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Enter/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Enter/form1.vb" id="Snippet1"::: ]]> @@ -9836,7 +9836,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/CPP/controlsizelocation.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Bounds/controlsizelocation.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/VB/controlsizelocation.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Bounds/controlsizelocation.vb" id="Snippet1"::: ]]> @@ -9891,7 +9891,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet2"::: ]]> @@ -9939,7 +9939,7 @@ MyControl.Font = New Font(MyControl.Font, _ The following code example raises the event on a when the form is resized. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/LocationChanged/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LocationChanged/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/LocationChanged/form1.vb" id="Snippet1"::: ]]> @@ -10096,7 +10096,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/CPP/filedialogform.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/DoEvents/filedialogform.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/VB/filedialogform.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/DoEvents/filedialogform.vb" id="Snippet2"::: ]]> @@ -10189,7 +10189,7 @@ MyControl.Font = New Font(MyControl.Font, _ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet21"::: ]]> @@ -10301,7 +10301,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Members4/CPP/controlmembers4.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BringToFront/controlmembers4.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members4/VB/controlmembers4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BringToFront/controlmembers4.vb" id="Snippet2"::: ]]> @@ -10342,7 +10342,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseButtons/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseButtons/form1.vb" id="Snippet2"::: ]]> @@ -10395,7 +10395,7 @@ MyControl.Font = New Font(MyControl.Font, _ The following code example demonstrates the event for a control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseCaptureChanged/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseCaptureChanged/form1.vb" id="Snippet1"::: To test this example, run it in the debugger by pressing F5. Open the **Output** window in Visual Studio so that you can see when events are raised. Click the and notice the following output. @@ -10471,7 +10471,7 @@ MyControl.Font = New Font(MyControl.Font, _ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet54"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet54"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet54"::: ]]> @@ -10547,7 +10547,7 @@ MyControl.Font = New Font(MyControl.Font, _ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet55"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet55"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet55"::: ]]> @@ -10612,7 +10612,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/CPP/mouseeventexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseDown/mouseeventexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/VB/mouseeventexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseDown/mouseeventexample.vb" id="Snippet1"::: ]]> @@ -10676,7 +10676,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/CPP/mouseeventexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseDown/mouseeventexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/VB/mouseeventexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseDown/mouseeventexample.vb" id="Snippet1"::: ]]> @@ -10744,7 +10744,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/CPP/mouseeventexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseDown/mouseeventexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/VB/mouseeventexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseDown/mouseeventexample.vb" id="Snippet1"::: ]]> @@ -10807,7 +10807,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/CPP/mouseeventexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseDown/mouseeventexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/VB/mouseeventexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseDown/mouseeventexample.vb" id="Snippet1"::: ]]> @@ -10871,7 +10871,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/CPP/mouseeventexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseDown/mouseeventexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/VB/mouseeventexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseDown/mouseeventexample.vb" id="Snippet1"::: ]]> @@ -10920,7 +10920,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Members4/CPP/controlmembers4.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BringToFront/controlmembers4.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members4/VB/controlmembers4.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BringToFront/controlmembers4.vb" id="Snippet3"::: ]]> @@ -10982,7 +10982,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/CPP/mouseeventexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseDown/mouseeventexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/VB/mouseeventexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseDown/mouseeventexample.vb" id="Snippet1"::: ]]> @@ -11055,7 +11055,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/CPP/mouseeventexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseDown/mouseeventexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/VB/mouseeventexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseDown/mouseeventexample.vb" id="Snippet1"::: ]]> @@ -11102,7 +11102,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Move/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Move/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Move/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Move/form1.vb" id="Snippet1"::: ]]> @@ -11156,7 +11156,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.ControlRemoved/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/ControlAdded/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.ControlRemoved/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/ControlAdded/form1.vb" id="Snippet1"::: ]]> @@ -11296,7 +11296,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -11359,7 +11359,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -11525,7 +11525,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -11638,13 +11638,13 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlOnClick/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnClick/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlOnClick/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnClick/form1.vb" id="Snippet1"::: The following code example shows one of the many uses of the event and event handler. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.FindForm/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Click/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.FindForm/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Click/form1.vb" id="Snippet1"::: ]]> @@ -11766,7 +11766,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -11878,7 +11878,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.ControlRemoved/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/ControlAdded/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.ControlRemoved/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/ControlAdded/form1.vb" id="Snippet1"::: ]]> @@ -11940,7 +11940,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.ControlRemoved/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/ControlAdded/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.ControlRemoved/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/ControlAdded/form1.vb" id="Snippet1"::: ]]> @@ -12050,7 +12050,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -12146,7 +12146,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -12207,7 +12207,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.DoubleClick/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoubleClick/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.DoubleClick/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoubleClick/form1.vb" id="Snippet1"::: ]]> @@ -12607,7 +12607,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Enter/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Enter/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Enter/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Enter/form1.vb" id="Snippet1"::: ]]> @@ -12669,7 +12669,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -12731,7 +12731,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -13061,7 +13061,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -13173,7 +13173,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyDown/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb" id="Snippet1"::: ]]> @@ -13233,7 +13233,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyDown/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb" id="Snippet1"::: ]]> @@ -13293,7 +13293,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyUp/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Bottom/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyUp/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Bottom/form1.vb" id="Snippet1"::: ]]> @@ -13408,7 +13408,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Enter/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Enter/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Enter/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Enter/form1.vb" id="Snippet1"::: ]]> @@ -13470,7 +13470,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -13876,7 +13876,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlDefaultProperties/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DefaultBackColor/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlDefaultProperties/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DefaultBackColor/form1.vb" id="Snippet2"::: ]]> @@ -13989,7 +13989,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlDefaultProperties/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DefaultBackColor/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlDefaultProperties/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DefaultBackColor/form1.vb" id="Snippet2"::: ]]> @@ -14154,7 +14154,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Move/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Move/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Move/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Move/form1.vb" id="Snippet1"::: ]]> @@ -14305,11 +14305,11 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control.DragOperations/CPP/imagedrag.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/AllowDrop/imagedrag.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.DragOperations/VB/imagedrag.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/AllowDrop/imagedrag.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Paint/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnPaint/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Paint/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnPaint/form1.vb" id="Snippet1"::: ]]> @@ -14420,7 +14420,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -14486,7 +14486,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -14548,7 +14548,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -14610,7 +14610,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -14754,7 +14754,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -14816,7 +14816,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -14878,7 +14878,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -14940,7 +14940,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -15002,7 +15002,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -15315,7 +15315,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -15584,7 +15584,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -15644,7 +15644,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -15808,7 +15808,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/CPP/onpropertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_OnPropertyChangedEvents/VB/onpropertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnBackColorChanged/onpropertychangedevents.vb" id="Snippet1"::: ]]> @@ -15945,7 +15945,7 @@ MyControl.Font = New Font(MyControl.Font, _ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet41"::: ]]> @@ -15994,7 +15994,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Paint/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnPaint/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Paint/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnPaint/form1.vb" id="Snippet1"::: ]]> @@ -16055,7 +16055,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.FindForm/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Click/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.FindForm/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Click/form1.vb" id="Snippet1"::: ]]> @@ -16167,7 +16167,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.PerformLayout/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/PerformLayout/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.PerformLayout/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/PerformLayout/form1.vb" id="Snippet1"::: ]]> @@ -16235,7 +16235,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.PerformLayout/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/PerformLayout/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.PerformLayout/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/PerformLayout/form1.vb" id="Snippet1"::: ]]> @@ -16292,7 +16292,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control.DragOperations/CPP/imagedrag.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/AllowDrop/imagedrag.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control.DragOperations/VB/imagedrag.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/AllowDrop/imagedrag.vb" id="Snippet1"::: ]]> @@ -16338,7 +16338,7 @@ MyControl.Font = New Font(MyControl.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseButtons/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseButtons/form1.vb" id="Snippet2"::: ]]> @@ -16504,7 +16504,7 @@ MyControl.Font = New Font(MyControl.Font, _ The following code example demonstrates a that includes a . When the has the focus and you press the UP ARROW or DOWN ARROW keys, the appears. The event handler detects when the UP ARROW or DOWN ARROW keys are pressed and sets the property to `true`. This raises the event so that you can display the . You should not put any logic in the event handler, other than to set the property. Instead, you should put your logic in the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/PreviewKeyDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.previewkeydown/vb/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/PreviewKeyDown/form1.vb" id="Snippet1"::: ]]> @@ -16842,7 +16842,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ProcessMnemonic/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/ProcessMnemonic/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProcessMnemonic/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/ProcessMnemonic/form1.vb" id="Snippet1"::: ]]> @@ -16914,7 +16914,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties3/CPP/aboutdialog.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/CompanyName/aboutdialog.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties3/VB/aboutdialog.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/CompanyName/aboutdialog.vb" id="Snippet1"::: ]]> @@ -16985,7 +16985,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties3/CPP/aboutdialog.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/CompanyName/aboutdialog.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties3/VB/aboutdialog.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/CompanyName/aboutdialog.vb" id="Snippet1"::: ]]> @@ -17061,7 +17061,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet3"::: ]]> @@ -17136,7 +17136,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet6"::: ]]> @@ -17503,7 +17503,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseButtons/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseButtons/form1.vb" id="Snippet2"::: ]]> @@ -17657,7 +17657,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.Region/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Region/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.Region/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Region/form1.vb" id="Snippet1"::: ]]> @@ -17704,7 +17704,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet22"::: ]]> @@ -18223,7 +18223,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/WinForms.Control.Resize/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Resize/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WinForms.Control.Resize/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Resize/form1.vb" id="Snippet1"::: ]]> @@ -18344,7 +18344,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Members2/CPP/controlmembers2.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Focused/controlmembers2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members2/VB/controlmembers2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Focused/controlmembers2.vb" id="Snippet2"::: ]]> @@ -18462,11 +18462,11 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/CPP/controlsizelocation.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Bounds/controlsizelocation.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/VB/controlsizelocation.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Bounds/controlsizelocation.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyUp/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Bottom/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyUp/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Bottom/form1.vb" id="Snippet1"::: ]]> @@ -18595,7 +18595,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/CPP/propertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/VB/propertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.vb" id="Snippet1"::: ]]> @@ -19342,7 +19342,7 @@ The following code example selects the specified @@ -19483,12 +19483,12 @@ The following code example selects the specified method being used in a form that has some controls. Each time that you click the form, the next control is activated. The property gets the currently active control in the container control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/SelectNextControl/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.selectnextcontrol/vb/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/SelectNextControl/form1.vb" id="Snippet1"::: The following code example shows the method being used in a form that has a and some other controls. When you click the , the next control after the is activated. Notice that you have to get the parent of the control. Since is not a container, calling directly on the would not change the activation. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/SelectNextControl/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.selectnextcontrol/vb/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/SelectNextControl/form1.vb" id="Snippet2"::: ]]> @@ -19660,7 +19660,7 @@ The following code example selects the specified @@ -19730,7 +19730,7 @@ The following code example selects the specified @@ -19794,7 +19794,7 @@ The following code example selects the specified @@ -19860,7 +19860,7 @@ The following code example selects the specified @@ -20000,7 +20000,7 @@ The following code example selects the specified @@ -20219,7 +20219,7 @@ The following code example selects the specified @@ -20269,7 +20269,7 @@ The following code example selects the specified @@ -20360,7 +20360,7 @@ The following code example selects the specified , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet68"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet68"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet68"::: ]]> @@ -20415,7 +20415,7 @@ The following code example selects the specified @@ -20629,7 +20629,7 @@ The following code example selects the specified , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet69"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet69"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet69"::: ]]> @@ -20688,7 +20688,7 @@ The following code example selects the specified @@ -20738,7 +20738,7 @@ The following code example selects the specified , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet25"::: ]]> @@ -20800,7 +20800,7 @@ Note: This property will always return for an instance o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet3"::: ]]> @@ -20849,7 +20849,7 @@ Note: This property will always return for an instance o To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet26"::: ]]> @@ -20917,7 +20917,7 @@ Note: This property will always return for an instance o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Members2/CPP/controlmembers2.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Focused/controlmembers2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members2/VB/controlmembers2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Focused/controlmembers2.vb" id="Snippet3"::: ]]> @@ -20981,7 +20981,7 @@ Note: This property will always return for an instance o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet2"::: ]]> @@ -21032,7 +21032,7 @@ Note: This property will always return for an instance o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/CPP/propertychangedevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control_PropertyChangedEvents/VB/propertychangedevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BackColorChanged/propertychangedevents.vb" id="Snippet1"::: ]]> @@ -21099,7 +21099,7 @@ Note: This property will always return for an instance o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/CPP/controlsizelocation.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Bounds/controlsizelocation.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/VB/controlsizelocation.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Bounds/controlsizelocation.vb" id="Snippet1"::: ]]> @@ -21424,7 +21424,7 @@ Note: This property will always return for an instance o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/CPP/controlmembers6.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/CanFocus/controlmembers6.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.ControlMembers6/VB/controlmembers6.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/CanFocus/controlmembers6.vb" id="Snippet3"::: ]]> @@ -21602,7 +21602,7 @@ Note: This property will always return for an instance o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Validating/CPP/validating.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/CausesValidation/validating.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Validating/VB/validating.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/CausesValidation/validating.vb" id="Snippet1"::: ]]> @@ -21685,7 +21685,7 @@ Note: This property will always return for an instance o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Validating/CPP/validating.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/CausesValidation/validating.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Validating/VB/validating.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/CausesValidation/validating.vb" id="Snippet1"::: ]]> @@ -21750,7 +21750,7 @@ If you set `Visible` to `true`: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Control.Visible Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Visible/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Control.Visible Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Visible/source.vb" id="Snippet1"::: ]]> @@ -21802,7 +21802,7 @@ If you set `Visible` to `true`: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control_VisibleChanged/CPP/control_visiblechanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/VisibleChanged/control_visiblechanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control_VisibleChanged/VB/control_visiblechanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/VisibleChanged/control_visiblechanged.vb" id="Snippet1"::: ]]> @@ -21867,7 +21867,7 @@ If you set `Visible` to `true`: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/CPP/controlsizelocation.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Bounds/controlsizelocation.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control SizeLocation/VB/controlsizelocation.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Bounds/controlsizelocation.vb" id="Snippet1"::: ]]> @@ -21975,7 +21975,7 @@ If you set `Visible` to `true`: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox/WndProc/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox/WndProc/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ControlBindingsCollection.xml b/xml/System.Windows.Forms/ControlBindingsCollection.xml index 3bf54b610a9..547079dcda1 100644 --- a/xml/System.Windows.Forms/ControlBindingsCollection.xml +++ b/xml/System.Windows.Forms/ControlBindingsCollection.xml @@ -74,7 +74,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ControlBindingsCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ControlBindingsCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Overview/source.vb" id="Snippet1"::: ]]> @@ -167,7 +167,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ControlBindingsCollection.Add Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ControlBindingsCollection/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Add Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Add/source.vb" id="Snippet1"::: ]]> @@ -236,7 +236,7 @@ The does not specify a valid colum :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ControlBindingsCollection.Add1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ControlBindingsCollection/Add/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlBindingsCollection.Add1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ControlBindingsCollection/Add/source1.vb" id="Snippet1"::: ]]> @@ -719,7 +719,7 @@ The doesn't specify a valid member of the @@ -795,7 +795,7 @@ The doesn't specify a valid member of the @@ -896,7 +896,7 @@ The doesn't specify a valid member of the @@ -939,7 +939,7 @@ The doesn't specify a valid member of the @@ -988,7 +988,7 @@ The doesn't specify a valid member of the diff --git a/xml/System.Windows.Forms/ControlEventArgs.xml b/xml/System.Windows.Forms/ControlEventArgs.xml index 6cc1fb56fb0..064b8ece9a6 100644 --- a/xml/System.Windows.Forms/ControlEventArgs.xml +++ b/xml/System.Windows.Forms/ControlEventArgs.xml @@ -42,7 +42,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.ControlRemoved/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/ControlAdded/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.ControlRemoved/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/ControlAdded/form1.vb" id="Snippet1"::: ]]> @@ -92,7 +92,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.ControlRemoved/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/ControlAdded/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.ControlRemoved/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/ControlAdded/form1.vb" id="Snippet1"::: ]]> @@ -140,7 +140,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.ControlRemoved/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/ControlAdded/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.ControlRemoved/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/ControlAdded/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ControlEventHandler.xml b/xml/System.Windows.Forms/ControlEventHandler.xml index 1e00652e768..80878cc5fc9 100644 --- a/xml/System.Windows.Forms/ControlEventHandler.xml +++ b/xml/System.Windows.Forms/ControlEventHandler.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ControlEventHandler Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ControlEventHandler/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ControlEventHandler Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ControlEventHandler/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ControlPaint.xml b/xml/System.Windows.Forms/ControlPaint.xml index 0d135b3b28e..631f087b48d 100644 --- a/xml/System.Windows.Forms/ControlPaint.xml +++ b/xml/System.Windows.Forms/ControlPaint.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ButtonState/CPP/buttonstate1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ButtonState/Overview/buttonstate1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ButtonState/VB/buttonstate1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ButtonState/Overview/buttonstate1.vb" id="Snippet2"::: ]]> @@ -398,7 +398,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet2"::: ]]> @@ -467,7 +467,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet2"::: ]]> @@ -527,7 +527,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet2"::: ]]> @@ -576,7 +576,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet2"::: ]]> @@ -627,7 +627,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet2"::: ]]> @@ -692,7 +692,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet2"::: ]]> @@ -751,7 +751,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet2"::: ]]> @@ -807,7 +807,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet2"::: ]]> @@ -906,7 +906,7 @@ The caller is responsible for deallocating the bitmap. ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ButtonState/CPP/buttonstate1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ButtonState/Overview/buttonstate1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ButtonState/VB/buttonstate1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ButtonState/Overview/buttonstate1.vb" id="Snippet2"::: ]]> @@ -966,7 +966,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1022,7 +1022,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Border3DStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaintMembers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Border3DStyle/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1297,7 +1297,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Handle/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Handle/form1.vb" id="Snippet2"::: ]]> @@ -1351,7 +1351,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Handle/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Handle/form1.vb" id="Snippet2"::: ]]> @@ -1970,7 +1970,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseButtons/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseButtons/form1.vb" id="Snippet2"::: ]]> @@ -2025,7 +2025,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Handle/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Handle/form1.vb" id="Snippet3"::: ]]> @@ -2461,7 +2461,7 @@ The caller is responsible for deallocating the bitmap. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Handle/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlPaint1/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Handle/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ControlStyles.xml b/xml/System.Windows.Forms/ControlStyles.xml index 812360c9c06..b27e7b63ca4 100644 --- a/xml/System.Windows.Forms/ControlStyles.xml +++ b/xml/System.Windows.Forms/ControlStyles.xml @@ -60,7 +60,7 @@ myControl.SetStyle(UserPaint Or AllPaintingInWmPaint Or DoubleBuffer, True) :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control_StyleChanged/CPP/control_stylechanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ControlStyles/Overview/control_stylechanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control_StyleChanged/VB/control_stylechanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ControlStyles/Overview/control_stylechanged.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ConvertEventArgs.xml b/xml/System.Windows.Forms/ConvertEventArgs.xml index dae794a2e0b..fc762e03f6e 100644 --- a/xml/System.Windows.Forms/ConvertEventArgs.xml +++ b/xml/System.Windows.Forms/ConvertEventArgs.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ConvertEventArgs Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ConvertEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ConvertEventArgs Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ConvertEventArgs/Overview/source.vb" id="Snippet1"::: ]]> @@ -140,7 +140,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ConvertEventArgs.DesiredType Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ConvertEventArgs/DesiredType/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ConvertEventArgs.DesiredType Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ConvertEventArgs/DesiredType/source.vb" id="Snippet1"::: ]]> @@ -200,7 +200,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ConvertEventArgs Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ConvertEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ConvertEventArgs Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ConvertEventArgs/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ConvertEventHandler.xml b/xml/System.Windows.Forms/ConvertEventHandler.xml index 6440a94f15c..e1eb3557d08 100644 --- a/xml/System.Windows.Forms/ConvertEventHandler.xml +++ b/xml/System.Windows.Forms/ConvertEventHandler.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ConvertEventHandler Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ConvertEventHandler/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ConvertEventHandler Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ConvertEventHandler/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/CreateParams.xml b/xml/System.Windows.Forms/CreateParams.xml index 71f471df658..6e764e57c55 100644 --- a/xml/System.Windows.Forms/CreateParams.xml +++ b/xml/System.Windows.Forms/CreateParams.xml @@ -47,13 +47,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CreateParams/CPP/createparams.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/CreateParams/createparams.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CreateParams/VB/createparams.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/CreateParams/createparams.vb" id="Snippet1"::: The following code example creates an instance of a standard control and an instance of the derived control, `MyIconButton`, created in the example above. This example requires that there is an file named Default.ico in the same location as the application. When the application starts, the `Default` icon is displayed on the `MyIconButton` button. If the `Default` icon is not present, the button face is blank. When the standard is clicked, an box will appear so you can select a new Icon to display on the `MyIconButton`. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CreateParams/CPP/createparams.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/CreateParams/createparams.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CreateParams/VB/createparams.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/CreateParams/createparams.vb" id="Snippet2"::: ]]> @@ -469,7 +469,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CreateParams/CPP/createparams.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/CreateParams/createparams.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CreateParams/VB/createparams.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/CreateParams/createparams.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/CurrencyManager.xml b/xml/System.Windows.Forms/CurrencyManager.xml index 19541c00d6a..12954068bd1 100644 --- a/xml/System.Windows.Forms/CurrencyManager.xml +++ b/xml/System.Windows.Forms/CurrencyManager.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CurrencyManager Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/Overview/source.vb" id="Snippet1"::: ]]> @@ -99,7 +99,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CurrencyManager.AddNew Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/AddNew/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.AddNew Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/AddNew/source.vb" id="Snippet1"::: ]]> @@ -151,7 +151,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CurrencyManager.CancelCurrentEdit Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/CancelCurrentEdit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.CancelCurrentEdit Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/CancelCurrentEdit/source.vb" id="Snippet1"::: ]]> @@ -227,7 +227,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CurrencyManager.Count Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/Count/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Count Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/Count/source.vb" id="Snippet1"::: ]]> @@ -276,7 +276,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CurrencyManager.Current Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/Current/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Current Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/Current/source.vb" id="Snippet1"::: ]]> @@ -328,7 +328,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CurrencyManager.EndCurrentEdit Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/EndCurrentEdit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.EndCurrentEdit Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/EndCurrentEdit/source.vb" id="Snippet1"::: ]]> @@ -407,7 +407,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CurrencyManager.GetItemProperties Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/GetItemProperties/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.GetItemProperties Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/GetItemProperties/source.vb" id="Snippet1"::: ]]> @@ -513,7 +513,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CurrencyManager.ItemChanged Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/ItemChanged/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.ItemChanged Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/ItemChanged/source.vb" id="Snippet1"::: ]]> @@ -581,7 +581,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CurrencyManager.List Example/CPP/list.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/List/list.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CurrencyManager.List Example/VB/list.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/List/list.vb" id="Snippet1"::: ]]> @@ -633,7 +633,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ To run the example code, paste it into a project that contains an instance of type named `CurrencyManager1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet192"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet192"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet192"::: ]]> @@ -719,7 +719,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ To run the example code, paste it into a project that contains an instance of type named `CurrencyManager1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet193"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet193"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet193"::: ]]> @@ -974,7 +974,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CurrencyManager.Position Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/Position/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Position Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/Position/source.vb" id="Snippet1"::: ]]> @@ -1022,7 +1022,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CurrencyManager.Refresh Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/Refresh/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.Refresh Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/Refresh/source.vb" id="Snippet1"::: ]]> @@ -1071,7 +1071,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic CurrencyManager.RemoveAt Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CurrencyManager/RemoveAt/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic CurrencyManager.RemoveAt Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CurrencyManager/RemoveAt/source.vb" id="Snippet1"::: ]]> @@ -1122,7 +1122,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BindingManagerBase_Suspend_Resume_Binding/CPP/bindingmanagerbase_suspend_resume_binding.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/ResumeBinding/bindingmanagerbase_suspend_resume_binding.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase_Suspend_Resume_Binding/VB/bindingmanagerbase_suspend_resume_binding.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/ResumeBinding/bindingmanagerbase_suspend_resume_binding.vb" id="Snippet2"::: ]]> @@ -1175,7 +1175,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BindingManagerBase_Suspend_Resume_Binding/CPP/bindingmanagerbase_suspend_resume_binding.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingManagerBase/ResumeBinding/bindingmanagerbase_suspend_resume_binding.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BindingManagerBase_Suspend_Resume_Binding/VB/bindingmanagerbase_suspend_resume_binding.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingManagerBase/ResumeBinding/bindingmanagerbase_suspend_resume_binding.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Cursor.xml b/xml/System.Windows.Forms/Cursor.xml index d8ddf60c0f5..5f99160e0d6 100644 --- a/xml/System.Windows.Forms/Cursor.xml +++ b/xml/System.Windows.Forms/Cursor.xml @@ -91,13 +91,13 @@ The following code example displays a form that demonstrates using a custom cursor. The custom is embedded in the application's resource file. The example requires a cursor contained in a cursor file named `MyCursor.cur`. To compile this example using the command line, include the following flag: `/res:MyCursor.Cur, CustomCursor.MyCursor.Cur` :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/customcursor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor/VB/customcursor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/customcursor.vb" id="Snippet1"::: The following code example displays customer information in a control. The root tree nodes display customer names, and the child tree nodes display the order numbers assigned to each customer. In this example, 1,000 customers are displayed with 15 orders each. The repainting of the is suppressed by using the and methods, and a wait is displayed while the creates and paints the objects. This example requires that you have a cursor file named `MyWait.cur` in the application directory. It also requires a `Customer` object that can hold a collection of `Order` objects, and that you have created an instance of a control on a . :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView/CPP/treeview.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/treeview.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb" id="Snippet1"::: ]]> @@ -152,7 +152,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet1"::: ]]> @@ -202,7 +202,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CursorFromResource/CPP/mycursor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/mycursor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CursorFromResource/VB/mycursor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/mycursor.vb" id="Snippet1"::: ]]> @@ -251,7 +251,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView/CPP/treeview.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/treeview.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb" id="Snippet1"::: ]]> @@ -305,7 +305,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb The following code example displays a form that demonstrates using a custom cursor by using the constructor. The custom is embedded in the application's resource file. The example requires that you have a cursor contained in a cursor file named `MyCursor.cur`. To compile this example using the command line, include the following flag: `/res:MyCursor.Cur, CustomCursor.MyCursor.Cur` :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/customcursor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor/VB/customcursor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/customcursor.vb" id="Snippet1"::: ]]> @@ -356,7 +356,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet1"::: ]]> @@ -491,7 +491,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet2"::: ]]> @@ -541,7 +541,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet2"::: ]]> @@ -592,7 +592,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet2"::: ]]> @@ -639,7 +639,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet1"::: ]]> @@ -744,7 +744,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet1"::: ]]> @@ -791,7 +791,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CursorFromResource/CPP/mycursor.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/mycursor.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CursorFromResource/VB/mycursor.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/mycursor.vb" id="Snippet3"::: ]]> @@ -875,7 +875,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet2"::: ]]> @@ -924,7 +924,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet2"::: ]]> @@ -970,7 +970,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet1"::: ]]> @@ -1016,7 +1016,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CursorFromResource/CPP/mycursor.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/mycursor.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CursorFromResource/VB/mycursor.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/mycursor.vb" id="Snippet3"::: ]]> @@ -1057,7 +1057,7 @@ vbc /resource:"MyWaitCursor.cur","MyCursors.MyWaitCursor.cur" MyCursor.vb :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/Cursors.xml b/xml/System.Windows.Forms/Cursors.xml index cdbda787e21..0182100a117 100644 --- a/xml/System.Windows.Forms/Cursors.xml +++ b/xml/System.Windows.Forms/Cursors.xml @@ -48,13 +48,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursors/CPP/cursorexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/CursorChanged/cursorexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursors/VB/cursorexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/CursorChanged/cursorexample.vb" id="Snippet1"::: The following example draws the specified cursor on the form in its normal size, and in stretched mode, twice its size. This example assumes that you have a and a object to pass into the method when it is called. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/CPP/cursorstuff.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/.ctor/cursorstuff.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Cursor Members/VB/cursorstuff.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/.ctor/cursorstuff.vb" id="Snippet2"::: ]]> @@ -155,7 +155,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRadioButtonExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursors/Cross/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRadioButtonExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursors/Cross/form1.vb" id="Snippet1"::: ]]> @@ -226,7 +226,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ControlDefaultProperties/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DefaultBackColor/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ControlDefaultProperties/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DefaultBackColor/form1.vb" id="Snippet2"::: ]]> @@ -267,7 +267,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRadioButtonExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursors/Cross/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRadioButtonExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursors/Cross/form1.vb" id="Snippet1"::: ]]> @@ -878,7 +878,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRadioButtonExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursors/Cross/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRadioButtonExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursors/Cross/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataFormats+Format.xml b/xml/System.Windows.Forms/DataFormats+Format.xml index 71a3d62efbb..2fb6a85728d 100644 --- a/xml/System.Windows.Forms/DataFormats+Format.xml +++ b/xml/System.Windows.Forms/DataFormats+Format.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataFormats.GetFormat Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataFormats+Format/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataFormats.GetFormat Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataFormats+Format/Overview/source.vb" id="Snippet1"::: ]]> @@ -96,7 +96,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataFormats.Format.Format Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataFormats+Format/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataFormats.Format.Format Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataFormats+Format/.ctor/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataFormats.xml b/xml/System.Windows.Forms/DataFormats.xml index 65b1357aaf8..02db2c2df19 100644 --- a/xml/System.Windows.Forms/DataFormats.xml +++ b/xml/System.Windows.Forms/DataFormats.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataFormats Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataFormats/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataFormats Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataFormats/Overview/source.vb" id="Snippet1"::: ]]> @@ -273,7 +273,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataFormats_CommaSeparatedValue/CPP/dataformats_dif.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataFormats/Dif/dataformats_dif.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataFormats_CommaSeparatedValue/VB/dataformats_dif.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataFormats/Dif/dataformats_dif.vb" id="Snippet1"::: ]]> @@ -457,7 +457,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataFormats_GetFormat/CPP/dataformats_getformat.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataFormats/GetFormat/dataformats_getformat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataFormats_GetFormat/VB/dataformats_getformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataFormats/GetFormat/dataformats_getformat.vb" id="Snippet1"::: ]]> @@ -511,7 +511,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataFormats.GetFormat Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataFormats+Format/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataFormats.GetFormat Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataFormats+Format/Overview/source.vb" id="Snippet1"::: ]]> @@ -1032,7 +1032,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataFormats_StringFormat/CPP/dataformats_stringformat.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataFormats/StringFormat/dataformats_stringformat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataFormats_StringFormat/VB/dataformats_stringformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataFormats/StringFormat/dataformats_stringformat.vb" id="Snippet1"::: ]]> @@ -1143,7 +1143,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataFormats_UnicodeText1/CPP/dataformats_unicodetext.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataFormats/Text/dataformats_unicodetext.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataFormats_UnicodeText1/VB/dataformats_unicodetext.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataFormats/Text/dataformats_unicodetext.vb" id="Snippet2"::: ]]> @@ -1254,7 +1254,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataFormats_UnicodeText1/CPP/dataformats_unicodetext.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataFormats/Text/dataformats_unicodetext.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataFormats_UnicodeText1/VB/dataformats_unicodetext.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataFormats/Text/dataformats_unicodetext.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGrid+HitTestInfo.xml b/xml/System.Windows.Forms/DataGrid+HitTestInfo.xml index 53c5983e061..a4beaf5d6b2 100644 --- a/xml/System.Windows.Forms/DataGrid+HitTestInfo.xml +++ b/xml/System.Windows.Forms/DataGrid+HitTestInfo.xml @@ -47,7 +47,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGrid+HitTestInfo/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Overview/source.vb" id="Snippet1"::: ]]> @@ -97,7 +97,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Column Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGrid+HitTestInfo/Column/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Column Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Column/source.vb" id="Snippet1"::: ]]> @@ -139,7 +139,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Nowhere Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGrid+HitTestInfo/Equals/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Nowhere Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Equals/source.vb" id="Snippet1"::: ]]> @@ -182,7 +182,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.GetHashCode Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGrid+HitTestInfo/GetHashCode/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.GetHashCode Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/GetHashCode/source.vb" id="Snippet1"::: ]]> @@ -224,7 +224,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Nowhere Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGrid+HitTestInfo/Equals/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Nowhere Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Equals/source.vb" id="Snippet1"::: ]]> @@ -274,7 +274,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Row Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGrid+HitTestInfo/Row/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Row Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Row/source.vb" id="Snippet1"::: ]]> @@ -312,7 +312,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.ToString Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGrid+HitTestInfo/ToString/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.ToString Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/ToString/source.vb" id="Snippet1"::: ]]> @@ -356,7 +356,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Type Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGrid+HitTestInfo/Type/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestInfo.Type Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestInfo/Type/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGrid+HitTestType.xml b/xml/System.Windows.Forms/DataGrid+HitTestType.xml index b3b9a5368d0..e198a5d89a5 100644 --- a/xml/System.Windows.Forms/DataGrid+HitTestType.xml +++ b/xml/System.Windows.Forms/DataGrid+HitTestType.xml @@ -48,7 +48,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGrid.HitTestType Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGrid+HitTestType/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTestType Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid+HitTestType/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGrid.xml b/xml/System.Windows.Forms/DataGrid.xml index ccd91330732..7ddf955f69f 100644 --- a/xml/System.Windows.Forms/DataGrid.xml +++ b/xml/System.Windows.Forms/DataGrid.xml @@ -178,7 +178,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -217,7 +217,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the and uses the method to set the and properties. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.DataGrid Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/.ctor/source.vb" id="Snippet1"::: ]]> @@ -270,7 +270,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -309,7 +309,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -362,7 +362,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -405,7 +405,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the to a value. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.AlternatingBackColor Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/AlternatingBackColor/source.vb" id="Snippet1"::: ]]> @@ -444,7 +444,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -486,7 +486,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -527,7 +527,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -562,7 +562,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -758,7 +758,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -841,7 +841,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -881,7 +881,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the named `DataGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet194"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet194"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet194"::: ]]> @@ -938,7 +938,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the property of the control. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionBackColor Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionBackColor/source.vb" id="Snippet1"::: ]]> @@ -988,7 +988,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the object. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionFont Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionFont/source.vb" id="Snippet1"::: ]]> @@ -1023,7 +1023,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the property of the control. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionForeColor Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionForeColor/source.vb" id="Snippet1"::: ]]> @@ -1070,7 +1070,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -1119,7 +1119,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the property. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.CaptionVisible Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/CaptionVisible/source.vb" id="Snippet1"::: ]]> @@ -1153,7 +1153,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -1200,7 +1200,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the control. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.Collapse Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/Collapse/source.vb" id="Snippet1"::: ]]> @@ -1241,7 +1241,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the property. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ColumnHeadersVisible Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/ColumnHeadersVisible/source.vb" id="Snippet1"::: ]]> @@ -1485,7 +1485,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -1526,7 +1526,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -1580,7 +1580,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -1725,7 +1725,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -1817,7 +1817,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -1860,7 +1860,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -1927,7 +1927,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the method to free resources. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.Dispose Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/Dispose/source.vb" id="Snippet1"::: ]]> @@ -1979,7 +1979,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2057,7 +2057,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2108,7 +2108,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2151,7 +2151,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2185,7 +2185,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2220,7 +2220,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2268,7 +2268,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2315,7 +2315,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2358,7 +2358,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2453,7 +2453,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2498,7 +2498,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the property to show no lines. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.GridLineStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/GridLineStyle/source.vb" id="Snippet1"::: ]]> @@ -2561,7 +2561,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2628,7 +2628,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2683,7 +2683,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the method in occurs when a user clicks on a grid. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTest1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/HitTest/source1.vb" id="Snippet1"::: ]]> @@ -2730,7 +2730,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the method in an event that occurs when the user clicks in the grid. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.HitTest Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/HitTest/source.vb" id="Snippet1"::: ]]> @@ -2802,7 +2802,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2848,7 +2848,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2901,7 +2901,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -2949,7 +2949,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -3099,7 +3099,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -3137,7 +3137,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -3176,7 +3176,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -3855,7 +3855,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -4355,7 +4355,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the property to a new color. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsBackColor Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsBackColor/source.vb" id="Snippet1"::: ]]> @@ -4388,7 +4388,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the property to a new color. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsForeColor Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsForeColor/source.vb" id="Snippet1"::: ]]> @@ -4435,7 +4435,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the property. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsLabelStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsLabelStyle/source.vb" id="Snippet1"::: ]]> @@ -4474,7 +4474,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -4514,7 +4514,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the property. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ParentRowsVisible Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/ParentRowsVisible/source.vb" id="Snippet1"::: ]]> @@ -4548,7 +4548,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -4602,7 +4602,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -4651,7 +4651,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -4830,7 +4830,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the property. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.ReadOnly Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/ReadOnly/source.vb" id="Snippet1"::: ]]> @@ -4865,7 +4865,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -4906,7 +4906,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -4946,7 +4946,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -4985,7 +4985,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5031,7 +5031,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5071,7 +5071,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5111,7 +5111,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5151,7 +5151,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5191,7 +5191,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5293,7 +5293,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5333,7 +5333,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5436,7 +5436,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5470,7 +5470,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5513,7 +5513,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5553,7 +5553,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5588,7 +5588,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -5637,7 +5637,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -6140,7 +6140,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -6261,7 +6261,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -6390,7 +6390,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -6473,7 +6473,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the @@ -6523,7 +6523,7 @@ This class is not available in .NET Core 3.1 and later versions. Use the control. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGrid.VisibleRowCount Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGrid/VisibleRowCount/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridBoolColumn.xml b/xml/System.Windows.Forms/DataGridBoolColumn.xml index acf01921793..57f0f30824d 100644 --- a/xml/System.Windows.Forms/DataGridBoolColumn.xml +++ b/xml/System.Windows.Forms/DataGridBoolColumn.xml @@ -47,7 +47,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridBoolColumn overview/CPP/boolcolumn.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridBoolColumn/Overview/boolcolumn.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridBoolColumn overview/VB/boolcolumn.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/Overview/boolcolumn.vb" id="Snippet1"::: ]]> @@ -98,7 +98,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridBoolColumn Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridBoolColumn/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/.ctor/source.vb" id="Snippet1"::: ]]> @@ -144,7 +144,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridBoolColumn.DataGridBoolColumn1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridBoolColumn/.ctor/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.DataGridBoolColumn1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/.ctor/source1.vb" id="Snippet1"::: ]]> @@ -260,7 +260,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridBoolColumn.AllowNull Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridBoolColumn/AllowNull/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.AllowNull Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/AllowNull/source.vb" id="Snippet1"::: ]]> @@ -297,7 +297,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridBoolColumn/CPP/datagridboolcolumn.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridBoolColumn/AllowNullChanged/datagridboolcolumn.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridBoolColumn/VB/datagridboolcolumn.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/AllowNullChanged/datagridboolcolumn.vb" id="Snippet2"::: ]]> @@ -444,7 +444,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridBoolColumn.EnterNullValue Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridBoolColumn/EnterNullValue/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.EnterNullValue Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/EnterNullValue/source.vb" id="Snippet1"::: ]]> @@ -501,7 +501,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridBoolColumn.TrueValue Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridBoolColumn/FalseValue/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.TrueValue Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/FalseValue/source.vb" id="Snippet1"::: ]]> @@ -535,7 +535,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridBoolColumn/CPP/datagridboolcolumn.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridBoolColumn/AllowNullChanged/datagridboolcolumn.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridBoolColumn/VB/datagridboolcolumn.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/AllowNullChanged/datagridboolcolumn.vb" id="Snippet3"::: ]]> @@ -718,7 +718,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridBoolColumn.TrueValue Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridBoolColumn/FalseValue/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.TrueValue Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/FalseValue/source.vb" id="Snippet1"::: ]]> @@ -933,7 +933,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridBoolColumn.TrueValue Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridBoolColumn/FalseValue/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridBoolColumn.TrueValue Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/FalseValue/source.vb" id="Snippet1"::: ]]> @@ -974,7 +974,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridBoolColumn/CPP/datagridboolcolumn.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridBoolColumn/AllowNullChanged/datagridboolcolumn.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridBoolColumn/VB/datagridboolcolumn.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridBoolColumn/AllowNullChanged/datagridboolcolumn.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridCell.xml b/xml/System.Windows.Forms/DataGridCell.xml index 5de835d32b1..de7a9e55bf3 100644 --- a/xml/System.Windows.Forms/DataGridCell.xml +++ b/xml/System.Windows.Forms/DataGridCell.xml @@ -45,7 +45,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridCell Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridCell/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridCell/Overview/source.vb" id="Snippet1"::: ]]> @@ -94,7 +94,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridCell.DataGridCell Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridCell/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.DataGridCell Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridCell/.ctor/source.vb" id="Snippet1"::: ]]> @@ -154,7 +154,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridCell.ColumnNumber Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridCell/ColumnNumber/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.ColumnNumber Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridCell/ColumnNumber/source.vb" id="Snippet1"::: ]]> @@ -195,7 +195,7 @@ ## Examples The following example compares two objects. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.Equals Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridCell/Equals/source.vb" id="Snippet1"::: ]]> @@ -230,7 +230,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridCell.GetHashCode Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridCell/GetHashCode/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.GetHashCode Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridCell/GetHashCode/source.vb" id="Snippet1"::: ]]> @@ -286,7 +286,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridCell.ColumnNumber Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridCell/ColumnNumber/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.ColumnNumber Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridCell/ColumnNumber/source.vb" id="Snippet1"::: ]]> @@ -321,7 +321,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridCell.ToString Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridCell/ToString/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridCell.ToString Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridCell/ToString/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridColumnStyle.xml b/xml/System.Windows.Forms/DataGridColumnStyle.xml index 1312f6f7ae2..779ee17d95d 100644 --- a/xml/System.Windows.Forms/DataGridColumnStyle.xml +++ b/xml/System.Windows.Forms/DataGridColumnStyle.xml @@ -88,7 +88,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridColumnStyle Overview/CPP/timecolumn.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/Overview/timecolumn.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle Overview/VB/timecolumn.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Overview/timecolumn.vb" id="Snippet1"::: ]]> @@ -198,7 +198,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.DataGridColumnStyle1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.DataGridColumnStyle1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/.ctor/source.vb" id="Snippet1"::: ]]> @@ -287,7 +287,7 @@ ## Examples The following code example sets the property for each column in a to `HorizontalAlignment.Center` if the data isn't a string. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Alignment Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Alignment/source.vb" id="Snippet1"::: ]]> @@ -321,7 +321,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridColumnStyle_AlignmentChanged/CPP/datagridcolumnstyle_alignmentchanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/AlignmentChanged/datagridcolumnstyle_alignmentchanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_AlignmentChanged/VB/datagridcolumnstyle_alignmentchanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/AlignmentChanged/datagridcolumnstyle_alignmentchanged.vb" id="Snippet1"::: ]]> @@ -391,7 +391,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.CheckValidDataSource Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/CheckValidDataSource/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.CheckValidDataSource Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/CheckValidDataSource/source.vb" id="Snippet1"::: ]]> @@ -467,7 +467,7 @@ ## Examples The following code example shows a possible override of the method. The code invokes the method, and then sets a variable that allows other functions to determine whether the column is still in edit more. The code then calls the method to redraw the control. Finally, the function returns `true` to indicate the change has been committed. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Commit Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Commit/source.vb" id="Snippet1"::: ]]> @@ -516,7 +516,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.ConcedeFocus Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/ConcedeFocus/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.ConcedeFocus Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ConcedeFocus/source.vb" id="Snippet1"::: ]]> @@ -601,7 +601,7 @@ ## Examples The following code example prints the of a that contains a . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.DataGridTableStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/DataGridTableStyle/source.vb" id="Snippet1"::: ]]> @@ -721,7 +721,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.Edit1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/Edit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Edit1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Edit/source.vb" id="Snippet1"::: ]]> @@ -844,7 +844,7 @@ ## Examples The following code example shows a possible override of the method. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.EnterNullValue Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/EnterNullValue/source.vb" id="Snippet1"::: ]]> @@ -968,7 +968,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetMinimumHeight Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/GetMinimumHeight/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetMinimumHeight Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/GetMinimumHeight/source.vb" id="Snippet1"::: ]]> @@ -1016,7 +1016,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetPreferredHeight Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/GetPreferredHeight/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetPreferredHeight Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/GetPreferredHeight/source.vb" id="Snippet1"::: ]]> @@ -1064,7 +1064,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetPreferredSize Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/GetPreferredSize/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.GetPreferredSize Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/GetPreferredSize/source.vb" id="Snippet1"::: ]]> @@ -1146,7 +1146,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.HeaderText Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/HeaderText/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.HeaderText Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/HeaderText/source.vb" id="Snippet1"::: ]]> @@ -1182,7 +1182,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridColumnStyle_HeaderTextChanged/CPP/datagridcolumnstyle_headertextchanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/HeaderTextChanged/datagridcolumnstyle_headertextchanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_HeaderTextChanged/VB/datagridcolumnstyle_headertextchanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/HeaderTextChanged/datagridcolumnstyle_headertextchanged.vb" id="Snippet1"::: ]]> @@ -1284,7 +1284,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GridTableStylesCollectionExamples/CPP/gridtablestylescollectionexamples.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GridTableStylesCollectionExamples/VB/gridtablestylescollectionexamples.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.vb" id="Snippet4"::: ]]> @@ -1318,7 +1318,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridColumnStyle_MappingNameChanged/CPP/datagridcolumnstyle_mappingnamechanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/MappingNameChanged/datagridcolumnstyle_mappingnamechanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_MappingNameChanged/VB/datagridcolumnstyle_mappingnamechanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingNameChanged/datagridcolumnstyle_mappingnamechanged.vb" id="Snippet1"::: ]]> @@ -1368,7 +1368,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.NullText Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/NullText/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.NullText Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/NullText/source.vb" id="Snippet1"::: ]]> @@ -1403,7 +1403,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridColumnStyle_NullTextChanged/CPP/datagridcolumnstyle_nulltextchanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/NullTextChanged/datagridcolumnstyle_nulltextchanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_NullTextChanged/VB/datagridcolumnstyle_nulltextchanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/NullTextChanged/datagridcolumnstyle_nulltextchanged.vb" id="Snippet1"::: ]]> @@ -1584,7 +1584,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.PropertyDescriptor Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/PropertyDescriptor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.PropertyDescriptor Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/PropertyDescriptor/source.vb" id="Snippet1"::: ]]> @@ -1632,7 +1632,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridColumnStyle_PropertyDescriptorChanged/CPP/propertydescriptorchanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/PropertyDescriptorChanged/propertydescriptorchanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_PropertyDescriptorChanged/VB/propertydescriptorchanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/PropertyDescriptorChanged/propertydescriptorchanged.vb" id="Snippet1"::: ]]> @@ -1685,7 +1685,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.ReadOnly Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/ReadOnly/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.ReadOnly Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ReadOnly/source.vb" id="Snippet1"::: ]]> @@ -1721,7 +1721,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridColumnStyle_ReadOnlyChanged/CPP/datagridcolumnstyle_readonlychanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/ReadOnlyChanged/datagridcolumnstyle_readonlychanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_ReadOnlyChanged/VB/datagridcolumnstyle_readonlychanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ReadOnlyChanged/datagridcolumnstyle_readonlychanged.vb" id="Snippet1"::: ]]> @@ -1798,7 +1798,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridColumnStyle_ResetHeaderText/CPP/datagridcolumnstyle_resetheadertext.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/ResetHeaderText/datagridcolumnstyle_resetheadertext.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_ResetHeaderText/VB/datagridcolumnstyle_resetheadertext.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/ResetHeaderText/datagridcolumnstyle_resetheadertext.vb" id="Snippet1"::: ]]> @@ -1998,7 +1998,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridColumnStyle.UpdateUI Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/UpdateUI/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.UpdateUI Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/UpdateUI/source.vb" id="Snippet1"::: ]]> @@ -2045,7 +2045,7 @@ ## Examples The following code example sets the width of a to a new value. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridColumnStyle.Width Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/Width/source.vb" id="Snippet1"::: ]]> @@ -2080,7 +2080,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridColumnStyle_WidthChanged/CPP/datagridcolumnstyle_widthchanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/WidthChanged/datagridcolumnstyle_widthchanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridColumnStyle_WidthChanged/VB/datagridcolumnstyle_widthchanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/WidthChanged/datagridcolumnstyle_widthchanged.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridLineStyle.xml b/xml/System.Windows.Forms/DataGridLineStyle.xml index b8918614437..6fd5c37d95a 100644 --- a/xml/System.Windows.Forms/DataGridLineStyle.xml +++ b/xml/System.Windows.Forms/DataGridLineStyle.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridLineStyle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridLineStyle/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridLineStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridLineStyle/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridParentRowsLabelStyle.xml b/xml/System.Windows.Forms/DataGridParentRowsLabelStyle.xml index a0d1bc783f5..2e8b7563a34 100644 --- a/xml/System.Windows.Forms/DataGridParentRowsLabelStyle.xml +++ b/xml/System.Windows.Forms/DataGridParentRowsLabelStyle.xml @@ -44,7 +44,7 @@ ## Examples The following example iterates through each of the possible values for the . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridParentRowsLabelStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridParentRowsLabelStyle/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridTableStyle.xml b/xml/System.Windows.Forms/DataGridTableStyle.xml index f72e1ac8cdd..bdda864c619 100644 --- a/xml/System.Windows.Forms/DataGridTableStyle.xml +++ b/xml/System.Windows.Forms/DataGridTableStyle.xml @@ -126,7 +126,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTableStyle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/Overview/source.vb" id="Snippet1"::: ]]> @@ -176,7 +176,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGridTableStyle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGridTableStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/.ctor/source.vb" id="Snippet1"::: ]]> @@ -212,7 +212,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGridTableStyle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGridTableStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/.ctor/source.vb" id="Snippet1"::: ]]> @@ -247,7 +247,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGridTableStyle2 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/.ctor/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGridTableStyle2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/.ctor/source1.vb" id="Snippet1"::: ]]> @@ -300,7 +300,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Sample2/CPP/datagridtablestyle_sample2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/AllowSorting/datagridtablestyle_sample2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample2/VB/datagridtablestyle_sample2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/AllowSorting/datagridtablestyle_sample2.vb" id="Snippet1"::: ]]> @@ -341,7 +341,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Sample2/CPP/datagridtablestyle_sample2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/AllowSorting/datagridtablestyle_sample2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample2/VB/datagridtablestyle_sample2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/AllowSorting/datagridtablestyle_sample2.vb" id="Snippet1"::: ]]> @@ -376,7 +376,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_sample5/CPP/datagridtablestyle_sample5.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/AlternatingBackColor/datagridtablestyle_sample5.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_sample5/VB/datagridtablestyle_sample5.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/AlternatingBackColor/datagridtablestyle_sample5.vb" id="Snippet1"::: ]]> @@ -416,7 +416,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ To run the example code, paste it into a project that contains an instance of type named `DataGridTableStyle1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet221"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet221"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet221"::: ]]> @@ -456,7 +456,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_sample5/CPP/datagridtablestyle_sample5.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/AlternatingBackColor/datagridtablestyle_sample5.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_sample5/VB/datagridtablestyle_sample5.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/AlternatingBackColor/datagridtablestyle_sample5.vb" id="Snippet1"::: ]]> @@ -496,7 +496,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ To run the example code, paste it into a project that contains an instance of type named `DataGridTableStyle1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet222"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet222"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet222"::: ]]> @@ -548,7 +548,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTableStyle.BeginEdit Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/BeginEdit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.BeginEdit Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/BeginEdit/source.vb" id="Snippet1"::: ]]> @@ -601,7 +601,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Sample3/CPP/datagridtablestyle_sample3.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ColumnHeadersVisible/datagridtablestyle_sample3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample3/VB/datagridtablestyle_sample3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ColumnHeadersVisible/datagridtablestyle_sample3.vb" id="Snippet1"::: ]]> @@ -648,7 +648,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Sample3/CPP/datagridtablestyle_sample3.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ColumnHeadersVisible/datagridtablestyle_sample3.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample3/VB/datagridtablestyle_sample3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ColumnHeadersVisible/datagridtablestyle_sample3.vb" id="Snippet2"::: ]]> @@ -781,7 +781,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGrid Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/DataGrid/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.DataGrid Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/DataGrid/source.vb" id="Snippet1"::: ]]> @@ -894,7 +894,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTableStyle.EndEdit Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/EndEdit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.EndEdit Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/EndEdit/source.vb" id="Snippet1"::: ]]> @@ -931,7 +931,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_ForeColor/CPP/datagridtablestyle_forecolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ForeColor/datagridtablestyle_forecolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ForeColor/VB/datagridtablestyle_forecolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ForeColor/datagridtablestyle_forecolor.vb" id="Snippet1"::: ]]> @@ -971,7 +971,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ To run the example code, paste it into a project that contains an instance of type named `DataGridTableStyle1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet223"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet223"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet223"::: ]]> @@ -1027,7 +1027,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTableStyle.GridColumnStyles Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/GridColumnStyles/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.GridColumnStyles Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/GridColumnStyles/source.vb" id="Snippet1"::: ]]> @@ -1062,7 +1062,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_sample5/CPP/datagridtablestyle_sample5.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/AlternatingBackColor/datagridtablestyle_sample5.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_sample5/VB/datagridtablestyle_sample5.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/AlternatingBackColor/datagridtablestyle_sample5.vb" id="Snippet2"::: ]]> @@ -1101,7 +1101,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_sample5/CPP/datagridtablestyle_sample5.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/AlternatingBackColor/datagridtablestyle_sample5.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_sample5/VB/datagridtablestyle_sample5.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/AlternatingBackColor/datagridtablestyle_sample5.vb" id="Snippet3"::: ]]> @@ -1174,7 +1174,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_sample1/CPP/datagridtablestyle_sample1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/GridLineStyleChanged/datagridtablestyle_sample1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_sample1/VB/datagridtablestyle_sample1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/GridLineStyleChanged/datagridtablestyle_sample1.vb" id="Snippet2"::: ]]> @@ -1209,7 +1209,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Header_4/CPP/datagridtablestyle_header_4.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/HeaderBackColor/datagridtablestyle_header_4.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Header_4/VB/datagridtablestyle_header_4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderBackColor/datagridtablestyle_header_4.vb" id="Snippet4"::: ]]> @@ -1248,7 +1248,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Header_4/CPP/datagridtablestyle_header_4.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/HeaderBackColor/datagridtablestyle_header_4.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Header_4/VB/datagridtablestyle_header_4.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderBackColor/datagridtablestyle_header_4.vb" id="Snippet3"::: ]]> @@ -1298,7 +1298,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Sample/CPP/datagridtablestyle_sample.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/HeaderFont/datagridtablestyle_sample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample/VB/datagridtablestyle_sample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderFont/datagridtablestyle_sample.vb" id="Snippet2"::: ]]> @@ -1343,7 +1343,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Sample/CPP/datagridtablestyle_sample.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/HeaderFont/datagridtablestyle_sample.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample/VB/datagridtablestyle_sample.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderFont/datagridtablestyle_sample.vb" id="Snippet4"::: ]]> @@ -1384,7 +1384,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Header_4/CPP/datagridtablestyle_header_4.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/HeaderBackColor/datagridtablestyle_header_4.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Header_4/VB/datagridtablestyle_header_4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderBackColor/datagridtablestyle_header_4.vb" id="Snippet2"::: ]]> @@ -1430,7 +1430,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Header_4/CPP/datagridtablestyle_header_4.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/HeaderBackColor/datagridtablestyle_header_4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Header_4/VB/datagridtablestyle_header_4.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderBackColor/datagridtablestyle_header_4.vb" id="Snippet1"::: ]]> @@ -1471,7 +1471,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Sample/CPP/datagridtablestyle_sample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/HeaderFont/datagridtablestyle_sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample/VB/datagridtablestyle_sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderFont/datagridtablestyle_sample.vb" id="Snippet1"::: ]]> @@ -1512,7 +1512,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_Sample/CPP/datagridtablestyle_sample.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/HeaderFont/datagridtablestyle_sample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_Sample/VB/datagridtablestyle_sample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/HeaderFont/datagridtablestyle_sample.vb" id="Snippet3"::: ]]> @@ -1662,7 +1662,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTable.MappingName Example/CPP/bindarray.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/MappingName/bindarray.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTable.MappingName Example/VB/bindarray.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/MappingName/bindarray.vb" id="Snippet1"::: ]]> @@ -1705,7 +1705,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_sample1/CPP/datagridtablestyle_sample1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/GridLineStyleChanged/datagridtablestyle_sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_sample1/VB/datagridtablestyle_sample1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/GridLineStyleChanged/datagridtablestyle_sample1.vb" id="Snippet1"::: ]]> @@ -2539,7 +2539,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_PreferredColumnWidth/CPP/datagridtablestyle_preferredcolumnwidth.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/PreferredColumnWidth/datagridtablestyle_preferredcolumnwidth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_PreferredColumnWidth/VB/datagridtablestyle_preferredcolumnwidth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/PreferredColumnWidth/datagridtablestyle_preferredcolumnwidth.vb" id="Snippet1"::: ]]> @@ -2578,7 +2578,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ To run the example code, paste it into a project that contains an instance of type named `DataGridTableStyle1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet231"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet231"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet231"::: ]]> @@ -2628,7 +2628,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_PreferredRowHeight/CPP/datagridtablestyle_preferredrowheight.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/PreferredRowHeight/datagridtablestyle_preferredrowheight.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_PreferredRowHeight/VB/datagridtablestyle_preferredrowheight.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/PreferredRowHeight/datagridtablestyle_preferredrowheight.vb" id="Snippet1"::: ]]> @@ -2669,7 +2669,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_PreferredRowHeightChanged/CPP/preferredrowheightchanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/PreferredRowHeightChanged/preferredrowheightchanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_PreferredRowHeightChanged/VB/preferredrowheightchanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/PreferredRowHeightChanged/preferredrowheightchanged.vb" id="Snippet1"::: ]]> @@ -2723,7 +2723,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTableStyle.ReadOnly Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ReadOnly/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTableStyle.ReadOnly Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ReadOnly/source.vb" id="Snippet1"::: ]]> @@ -2762,7 +2762,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_ReadOnlyChanged/CPP/datagridtablestyle_readonlychanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ReadOnlyChanged/datagridtablestyle_readonlychanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ReadOnlyChanged/VB/datagridtablestyle_readonlychanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ReadOnlyChanged/datagridtablestyle_readonlychanged.vb" id="Snippet1"::: ]]> @@ -2803,7 +2803,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_ResetAlternatingBackcolor/CPP/resetalternatingbackcolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ResetAlternatingBackColor/resetalternatingbackcolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetAlternatingBackcolor/VB/resetalternatingbackcolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetAlternatingBackColor/resetalternatingbackcolor.vb" id="Snippet1"::: ]]> @@ -2843,7 +2843,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_ResetBackColor/CPP/datagridtablestyle_resetbackcolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ResetBackColor/datagridtablestyle_resetbackcolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetBackColor/VB/datagridtablestyle_resetbackcolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetBackColor/datagridtablestyle_resetbackcolor.vb" id="Snippet1"::: ]]> @@ -2883,7 +2883,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_ResetForeColor/CPP/datagridtablestyle_resetforecolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ResetForeColor/datagridtablestyle_resetforecolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetForeColor/VB/datagridtablestyle_resetforecolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetForeColor/datagridtablestyle_resetforecolor.vb" id="Snippet1"::: ]]> @@ -2923,7 +2923,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_ResetGridLineColor/CPP/datagridtablestyle_resetgridlinecolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ResetGridLineColor/datagridtablestyle_resetgridlinecolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetGridLineColor/VB/datagridtablestyle_resetgridlinecolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetGridLineColor/datagridtablestyle_resetgridlinecolor.vb" id="Snippet1"::: ]]> @@ -2963,7 +2963,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderBackColor/CPP/datagridtablestyle_resetheaderbackcolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ResetHeaderBackColor/datagridtablestyle_resetheaderbackcolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderBackColor/VB/datagridtablestyle_resetheaderbackcolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetHeaderBackColor/datagridtablestyle_resetheaderbackcolor.vb" id="Snippet1"::: ]]> @@ -3007,7 +3007,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderFont1/CPP/datagridtablestyle_resetheaderfont1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ResetHeaderFont/datagridtablestyle_resetheaderfont1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderFont1/VB/datagridtablestyle_resetheaderfont1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetHeaderFont/datagridtablestyle_resetheaderfont1.vb" id="Snippet1"::: ]]> @@ -3053,7 +3053,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderForeColor/CPP/datagridtablestyle_resetheaderforecolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ResetHeaderForeColor/datagridtablestyle_resetheaderforecolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetHeaderForeColor/VB/datagridtablestyle_resetheaderforecolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetHeaderForeColor/datagridtablestyle_resetheaderforecolor.vb" id="Snippet1"::: ]]> @@ -3099,7 +3099,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_ResetLinkColor/CPP/datagridtablestyle_resetlinkcolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ResetLinkColor/datagridtablestyle_resetlinkcolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_ResetLinkColor/VB/datagridtablestyle_resetlinkcolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetLinkColor/datagridtablestyle_resetlinkcolor.vb" id="Snippet1"::: ]]> @@ -3208,7 +3208,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_SelectionForeColor/CPP/selectionforecolor.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ResetSelectionForeColor/selectionforecolor.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_SelectionForeColor/VB/selectionforecolor.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetSelectionForeColor/selectionforecolor.vb" id="Snippet2"::: ]]> @@ -3265,7 +3265,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_RowHeadersVisibleChanged/CPP/rowheadersvisiblechanged.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/RowHeadersVisible/rowheadersvisiblechanged.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_RowHeadersVisibleChanged/VB/rowheadersvisiblechanged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/RowHeadersVisible/rowheadersvisiblechanged.vb" id="Snippet1"::: ]]> @@ -3306,7 +3306,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_RowHeadersVisibleChanged/CPP/rowheadersvisiblechanged.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/RowHeadersVisible/rowheadersvisiblechanged.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_RowHeadersVisibleChanged/VB/rowheadersvisiblechanged.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/RowHeadersVisible/rowheadersvisiblechanged.vb" id="Snippet2"::: ]]> @@ -3364,7 +3364,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_RowHeaderWidth/CPP/rowheaderwidth.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/RowHeaderWidth/rowheaderwidth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_RowHeaderWidth/VB/rowheaderwidth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/RowHeaderWidth/rowheaderwidth.vb" id="Snippet1"::: ]]> @@ -3406,7 +3406,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_RowHeaderWidth/CPP/rowheaderwidth.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/RowHeaderWidth/rowheaderwidth.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_RowHeaderWidth/VB/rowheaderwidth.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/RowHeaderWidth/rowheaderwidth.vb" id="Snippet2"::: ]]> @@ -3444,7 +3444,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_SelectionBackColor/CPP/selectionbackcolor.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/SelectionBackColor/selectionbackcolor.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_SelectionBackColor/VB/selectionbackcolor.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/SelectionBackColor/selectionbackcolor.vb" id="Snippet2"::: ]]> @@ -3487,7 +3487,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_SelectionBackColor/CPP/selectionbackcolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/SelectionBackColor/selectionbackcolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_SelectionBackColor/VB/selectionbackcolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/SelectionBackColor/selectionbackcolor.vb" id="Snippet1"::: ]]> @@ -3532,7 +3532,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTableStyle_SelectionForeColor/CPP/selectionforecolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTableStyle/ResetSelectionForeColor/selectionforecolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTableStyle_SelectionForeColor/VB/selectionforecolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTableStyle/ResetSelectionForeColor/selectionforecolor.vb" id="Snippet1"::: ]]> @@ -3571,7 +3571,7 @@ private void PrintCurrentListName(DataGrid myDataGrid){ To run the example code, paste it into a project that contains an instance of type named `DataGridTableStyle1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet237"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet237"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet237"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridTextBox.xml b/xml/System.Windows.Forms/DataGridTextBox.xml index 06bd812dc94..166ee85e9ef 100644 --- a/xml/System.Windows.Forms/DataGridTextBox.xml +++ b/xml/System.Windows.Forms/DataGridTextBox.xml @@ -67,7 +67,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTextBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -134,7 +134,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTextBox_IsInEditOrNavigateMode/CPP/datagridtextbox_isineditornavigatemode.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBox/IsInEditOrNavigateMode/datagridtextbox_isineditornavigatemode.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBox_IsInEditOrNavigateMode/VB/datagridtextbox_isineditornavigatemode.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBox/IsInEditOrNavigateMode/datagridtextbox_isineditornavigatemode.vb" id="Snippet1"::: ]]> @@ -259,7 +259,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTextBox_SetDataGrid/CPP/datagridtextbox_setdatagrid.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBox/SetDataGrid/datagridtextbox_setdatagrid.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBox_SetDataGrid/VB/datagridtextbox_setdatagrid.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBox/SetDataGrid/datagridtextbox_setdatagrid.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridTextBoxColumn.xml b/xml/System.Windows.Forms/DataGridTextBoxColumn.xml index 0d6b2719d52..bb15a365f97 100644 --- a/xml/System.Windows.Forms/DataGridTextBoxColumn.xml +++ b/xml/System.Windows.Forms/DataGridTextBoxColumn.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.DataGridTextBoxColumn1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBoxColumn/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.DataGridTextBoxColumn1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Overview/source.vb" id="Snippet1"::: ]]> @@ -105,7 +105,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.DataGridTextBoxColumn1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBoxColumn/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.DataGridTextBoxColumn1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Overview/source.vb" id="Snippet1"::: ]]> @@ -154,7 +154,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.DataGridTextBoxColumn2 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBoxColumn/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.DataGridTextBoxColumn2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/.ctor/source.vb" id="Snippet1"::: ]]> @@ -248,7 +248,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTextBoxColumn_DataGridTextBoxColumn_2/CPP/datagridtextboxcolumn_2.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBoxColumn/.ctor/datagridtextboxcolumn_datagridtextboxcolumn_2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBoxColumn_DataGridTextBoxColumn_2/VB/datagridtextboxcolumn_datagridtextboxcolumn_2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/.ctor/datagridtextboxcolumn_datagridtextboxcolumn_2.vb" id="Snippet2"::: ]]> @@ -455,7 +455,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.Edit Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBoxColumn/Edit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.Edit Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Edit/source.vb" id="Snippet1"::: ]]> @@ -496,7 +496,7 @@ ## Examples The following example invokes the method before editing a column's value. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.EndEdit Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/EndEdit/source.vb" id="Snippet1"::: ]]> @@ -533,7 +533,7 @@ ## Examples The following example tests a to determine its column type. If the column is a , and the allows `null` values, then the property is set and the method invoked. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.EnterNullValue Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/EnterNullValue/source.vb" id="Snippet1"::: ]]> @@ -607,7 +607,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTextBoxColumn Format/CPP/datagridtextboxcolumn format.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBoxColumn/Format/datagridtextboxcolumn format.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBoxColumn Format/VB/datagridtextboxcolumn format.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Format/datagridtextboxcolumn format.vb" id="Snippet1"::: ]]> @@ -665,7 +665,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DataGridTextBoxColumn Format/CPP/datagridtextboxcolumn format.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBoxColumn/Format/datagridtextboxcolumn format.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DataGridTextBoxColumn Format/VB/datagridtextboxcolumn format.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Format/datagridtextboxcolumn format.vb" id="Snippet1"::: ]]> @@ -742,7 +742,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.GetPreferredHeight Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBoxColumn/GetPreferredHeight/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.GetPreferredHeight Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/GetPreferredHeight/source.vb" id="Snippet1"::: ]]> @@ -790,7 +790,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.GetPreferredSize Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBoxColumn/GetPreferredSize/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.GetPreferredSize Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/GetPreferredSize/source.vb" id="Snippet1"::: ]]> @@ -962,7 +962,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.Paint2 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridTextBoxColumn/Paint/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.Paint2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/Paint/source.vb" id="Snippet1"::: ]]> @@ -1237,7 +1237,7 @@ ## Examples The following example changes the background color of the hosted control. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataGridTextBoxColumn.TextBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridTextBoxColumn/TextBox/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridView+HitTestInfo.xml b/xml/System.Windows.Forms/DataGridView+HitTestInfo.xml index 968d91fdee6..55f9df531df 100644 --- a/xml/System.Windows.Forms/DataGridView+HitTestInfo.xml +++ b/xml/System.Windows.Forms/DataGridView+HitTestInfo.xml @@ -40,7 +40,7 @@ The following code example illustrates the use of this type. This example is part of a larger example available in the property reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewAutoSize/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.vb" id="Snippet4"::: ]]> @@ -87,7 +87,7 @@ The following code example illustrates the use of this property. This example is part of a larger example available in the property reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewAutoSize/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.vb" id="Snippet4"::: ]]> @@ -271,7 +271,7 @@ The following code example illustrates the use of this property. This example is part of a larger example available in the property reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewAutoSize/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.vb" id="Snippet4"::: ]]> @@ -391,7 +391,7 @@ The following code example illustrates the use of this property. This example is part of a larger example available in the property reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewAutoSize/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridView.xml b/xml/System.Windows.Forms/DataGridView.xml index 95c8e0ffb6d..008bd30db77 100644 --- a/xml/System.Windows.Forms/DataGridView.xml +++ b/xml/System.Windows.Forms/DataGridView.xml @@ -111,7 +111,7 @@ The control replaces and extends the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/Overview/simpleunbound.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSimpleUnbound/VB/simpleunbound.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/Overview/simpleunbound.vb" id="Snippet00"::: ]]> @@ -276,7 +276,7 @@ The control replaces and extends the method to customize the borders of the column header cells. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet15"::: ]]> @@ -335,7 +335,7 @@ The control replaces and extends the property to customize the borders of the upper-left cell. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet12"::: ]]> @@ -537,7 +537,7 @@ The control replaces and extends the control intended primarily for display. In this example, the visual appearance of the control is customized in several ways and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -587,7 +587,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet250"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet250"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet250"::: ]]> @@ -636,7 +636,7 @@ The control replaces and extends the control intended primarily for display. In this example, the visual appearance of the control is customized in several ways and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -686,7 +686,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet251"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet251"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet251"::: ]]> @@ -738,7 +738,7 @@ The control replaces and extends the control intended primarily for display. In this example, the visual appearance of the control is customized in several ways and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -788,7 +788,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet252"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet252"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet252"::: ]]> @@ -842,7 +842,7 @@ The control replaces and extends the control intended primarily for display. In this example, the visual appearance of the control is customized in several ways and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -892,7 +892,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet253"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet253"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet253"::: ]]> @@ -948,7 +948,7 @@ The control replaces and extends the control intended primarily for display. In this example, the visual appearance of the control is customized in several ways and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -998,7 +998,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet254"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet254"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet254"::: ]]> @@ -1044,7 +1044,7 @@ The control replaces and extends the control. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -1098,7 +1098,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet255"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet255"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet255"::: ]]> @@ -1148,7 +1148,7 @@ The control replaces and extends the collection. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectedCollections/VB/DataGridViewSelectedCollections.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.vb" id="Snippet10"::: ]]> @@ -1215,7 +1215,7 @@ The control replaces and extends the to `false`. In this example, a control is bound to a list of `Task` business objects. Then, columns are added and are bound to `Task` properties through the property. This example is part of a larger example available in [How to: Access Objects in a Windows Forms DataGridViewComboBoxCell Drop-Down List](/dotnet/desktop/winforms/controls/access-objects-in-a-wf-datagridviewcomboboxcell-drop-down-list). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoGenerateColumns/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewComboBoxObjectBinding/vb/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoGenerateColumns/form1.vb" id="Snippet100"::: ]]> @@ -1277,7 +1277,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet256"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet256"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet256"::: ]]> @@ -1340,7 +1340,7 @@ The control replaces and extends the @@ -1400,7 +1400,7 @@ The control replaces and extends the @@ -1528,7 +1528,7 @@ The control replaces and extends the @@ -1741,7 +1741,7 @@ The control replaces and extends the @@ -1797,7 +1797,7 @@ The control replaces and extends the @@ -1922,7 +1922,7 @@ The control replaces and extends the @@ -1984,7 +1984,7 @@ The control replaces and extends the @@ -2168,7 +2168,7 @@ The control replaces and extends the @@ -2350,7 +2350,7 @@ The control replaces and extends the @@ -2408,7 +2408,7 @@ The control replaces and extends the @@ -2615,7 +2615,7 @@ The control replaces and extends the @@ -2681,7 +2681,7 @@ The control replaces and extends the controls display data from two tables in a parent/child relationship. In this example, the column sizing mode for the master control is , and the column widths are programmatically initialized to fit the loaded values. The details control is set to an automatic column sizing mode so that columns will adjust automatically whenever the values change (for example, when the user changes the current row in the parent table). This example is part of a larger example available in [How to: Create a Master/Detail Form Using Two Windows Forms DataGridView Controls](/dotnet/desktop/winforms/controls/create-a-master-detail-form-using-two-datagridviews). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoSizeColumnsMode/masterdetails.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMasterDetails/VB/masterdetails.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoSizeColumnsMode/masterdetails.vb" id="Snippet10"::: ]]> @@ -2739,7 +2739,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet257"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet257"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet257"::: ]]> @@ -2805,7 +2805,7 @@ The control replaces and extends the @@ -2858,7 +2858,7 @@ The control replaces and extends the @@ -3004,7 +3004,7 @@ The control replaces and extends the @@ -3059,7 +3059,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet259"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet259"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet259"::: ]]> @@ -3310,7 +3310,7 @@ The control replaces and extends the @@ -3382,7 +3382,7 @@ The control replaces and extends the @@ -3433,7 +3433,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet260"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet260"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet260"::: ]]> @@ -3480,7 +3480,7 @@ The control replaces and extends the @@ -3531,7 +3531,7 @@ The control replaces and extends the @@ -3609,7 +3609,7 @@ The control replaces and extends the is being edited. In this example, the property of the containing is set to reflect which cell is being edited. To run this example, paste the code into a form that contains a named `dataGridView1`, and ensure all events are associated with their event handlers. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet220"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet220"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet220"::: ]]> @@ -3664,7 +3664,7 @@ The control replaces and extends the @@ -3716,7 +3716,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet261"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet261"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet261"::: ]]> @@ -3775,7 +3775,7 @@ The control replaces and extends the @@ -3830,7 +3830,7 @@ The control replaces and extends the @@ -3880,7 +3880,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet285"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet285"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet285"::: ]]> @@ -3934,7 +3934,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet286"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet286"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet286"::: ]]> @@ -3999,7 +3999,7 @@ The control replaces and extends the @@ -4057,7 +4057,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet288"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet288"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet288"::: ]]> @@ -4105,7 +4105,7 @@ The control replaces and extends the property in case it was previously set by a event handler. The event handler can clear the error text when the new cell value meets the validation criteria, but when the user reverts to the old cell value by pressing ESC, the event does not occur. This example is part of a larger example available in [Walkthrough: Validating Data in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/walkthrough-validating-data-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellEndEdit/datavalidation.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewDataValidation/VB/datavalidation.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellEndEdit/datavalidation.vb" id="Snippet20"::: ]]> @@ -4155,7 +4155,7 @@ The control replaces and extends the property of the current cell. In this example the selection background color is set in the event, then reset to on the event. To run this example, paste the code into a form that contains a named `dataGridView1` and ensure that all events are associated with their event handlers. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet190"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet190"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet190"::: ]]> @@ -4205,7 +4205,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet291"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet291"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet291"::: ]]> @@ -4268,7 +4268,7 @@ The control replaces and extends the @@ -4344,7 +4344,7 @@ The control replaces and extends the @@ -4412,7 +4412,7 @@ The control replaces and extends the property of the current cell. In this example the selection background color is set in the event, then reset to on the event. To run this example, paste the code into a form that contains a named `dataGridView1` and ensure that all events are associated with their event handlers. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet190"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet190"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet190"::: ]]> @@ -4470,7 +4470,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet295"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet295"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet295"::: ]]> @@ -4530,7 +4530,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet296"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet296"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet296"::: ]]> @@ -4582,7 +4582,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet297"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet297"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet297"::: ]]> @@ -4633,7 +4633,7 @@ The control replaces and extends the @@ -4684,7 +4684,7 @@ The control replaces and extends the @@ -4734,7 +4734,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet300"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet300"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet300"::: ]]> @@ -4786,7 +4786,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet301"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet301"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet301"::: ]]> @@ -4840,7 +4840,7 @@ The control replaces and extends the @@ -4908,7 +4908,7 @@ The control replaces and extends the @@ -4974,7 +4974,7 @@ The control replaces and extends the @@ -5030,7 +5030,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet305"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet305"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet305"::: ]]> @@ -5104,7 +5104,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet306"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet306"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet306"::: ]]> @@ -5159,7 +5159,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet307"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet307"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet307"::: ]]> @@ -5221,7 +5221,7 @@ The control replaces and extends the event handler to display information from hidden columns in a data-bound control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_NeededEvents/VB/Form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.vb" id="Snippet20"::: ]]> @@ -5279,7 +5279,7 @@ The control replaces and extends the event to clear out the property. In this example, the event sets the if the user enters data that is not valid into a cell. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet50"::: ]]> @@ -5333,7 +5333,7 @@ The control replaces and extends the @@ -5392,7 +5392,7 @@ The control replaces and extends the event to update the values in a balance column of a . This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet30"::: ]]> @@ -5449,7 +5449,7 @@ The control replaces and extends the @@ -5513,7 +5513,7 @@ The control replaces and extends the @@ -5570,7 +5570,7 @@ The control replaces and extends the . To run this example, paste the code into a form that contains a named `dataGridView1` and a named `clearSelectionButton`, and ensure all events are associated with their event handlers. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet170"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet170"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet170"::: ]]> @@ -5703,7 +5703,7 @@ The control replaces and extends the control. This example is part of a larger example available in [How to: Enable Users to Copy Multiple Cells to the Clipboard from the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/enable-users-to-copy-multiple-cells-to-the-clipboard-datagridview). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ClipboardCopyMode/datagridviewclipboarddemo.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewClipboardDemo/VB/datagridviewclipboarddemo.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ClipboardCopyMode/datagridviewclipboarddemo.vb" id="Snippet10"::: ]]> @@ -5760,7 +5760,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet314"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet314"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet314"::: ]]> @@ -5810,7 +5810,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet315"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet315"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet315"::: ]]> @@ -5877,7 +5877,7 @@ The control replaces and extends the @@ -5926,7 +5926,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet316"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet316"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet316"::: ]]> @@ -5978,7 +5978,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet317"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet317"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet317"::: ]]> @@ -6030,7 +6030,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet318"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet318"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet318"::: ]]> @@ -6084,7 +6084,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet319"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet319"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet319"::: ]]> @@ -6134,7 +6134,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet320"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet320"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet320"::: ]]> @@ -6184,7 +6184,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet323"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet323"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet323"::: ]]> @@ -6232,7 +6232,7 @@ The control replaces and extends the , the default behavior is to order the grid rows based on the clicked column, or to reverse the sort order if the grid is already sorted by the clicked column. The following code example demonstrates how to use this event to perform a programmatic sort that emulates the default behavior of clicking a when the default behavior has been disabled. In this example, the is set to , so clicking the selects the contents of the column. For the example code to function as intended, the default column header click behavior needs to be changed each time the data is loaded into the . Add a event handler to provide the code that changes the default behavior. To run this example, paste the code into a form that contains a named `dataGridView1` and ensure that all events are associated with their event handlers. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet160"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet160"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet160"::: ]]> @@ -6282,7 +6282,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet322"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet322"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet322"::: ]]> @@ -6340,7 +6340,7 @@ The control replaces and extends the @@ -6396,7 +6396,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet262"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet262"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet262"::: ]]> @@ -6461,7 +6461,7 @@ The control replaces and extends the @@ -6513,7 +6513,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet263"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet263"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet263"::: ]]> @@ -6604,7 +6604,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet264"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet264"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet264"::: ]]> @@ -6671,7 +6671,7 @@ The control replaces and extends the control intended primarily for display. In this example, the visual appearance of the control is customized in several ways and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -6722,7 +6722,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet265"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet265"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet265"::: ]]> @@ -6772,7 +6772,7 @@ The control replaces and extends the @@ -6823,7 +6823,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet324"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet324"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet324"::: ]]> @@ -6873,7 +6873,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet325"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet325"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet325"::: ]]> @@ -6923,7 +6923,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet326"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet326"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet326"::: ]]> @@ -6984,7 +6984,7 @@ The control replaces and extends the @@ -7036,7 +7036,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet327"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet327"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet327"::: ]]> @@ -7100,7 +7100,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet328"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet328"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet328"::: ]]> @@ -7154,7 +7154,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet329"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet329"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet329"::: ]]> @@ -7202,7 +7202,7 @@ The control replaces and extends the @@ -7249,7 +7249,7 @@ The control replaces and extends the method within a event handler to raise the event. This code example is part of a larger example provided in [How to: Disable Buttons in a Button Column in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/disable-buttons-in-a-button-column-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CommitEdit/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.DisabledButtons/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CommitEdit/form1.vb" id="Snippet5"::: ]]> @@ -7482,7 +7482,7 @@ The control replaces and extends the named `dataGridView1`. In C#, you must also connect the event to the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet150"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet150"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet150"::: ]]> @@ -7549,7 +7549,7 @@ The control replaces and extends the @@ -7597,7 +7597,7 @@ The control replaces and extends the @@ -7653,7 +7653,7 @@ The control replaces and extends the event. In this example, the event handler calls the method to raise the event and determine the current value of a . This code example is part of a larger example provided in [How to: Disable Buttons in a Button Column in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/disable-buttons-in-a-button-column-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CommitEdit/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.DisabledButtons/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CommitEdit/form1.vb" id="Snippet5"::: ]]> @@ -7753,7 +7753,7 @@ The control replaces and extends the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.cs" id="Snippet05"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_NeededEvents/VB/Form1.vb" id="Snippet05"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.vb" id="Snippet05"::: ]]> @@ -7814,7 +7814,7 @@ The control replaces and extends the @@ -7872,7 +7872,7 @@ The control replaces and extends the control named `customersDataGridView` is bound to a named `customersDataSet`. This contains a table named "Customers". The property is set to the name of the table. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet020"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet020"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet020"::: ]]> @@ -7925,7 +7925,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet266"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet266"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet266"::: ]]> @@ -8007,7 +8007,7 @@ The control replaces and extends the @@ -8071,7 +8071,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet267"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet267"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet267"::: ]]> @@ -8133,7 +8133,7 @@ The control replaces and extends the control intended primarily for display. In this example, the visual appearance of the control is customized in several ways and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -8187,7 +8187,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet268"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet268"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet268"::: ]]> @@ -8277,7 +8277,7 @@ The control replaces and extends the control and provide appropriate default values. When specifying columns by name, you must use the name of the column object and not the column header text. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet120"::: ]]> @@ -8480,7 +8480,7 @@ The control replaces and extends the @@ -8533,7 +8533,7 @@ The control replaces and extends the property of the current cell. To run this example, paste the code into a form that contains a named `dataGridView1` and ensure that the event is associated with the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet210"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet210"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet210"::: ]]> @@ -8592,7 +8592,7 @@ The control replaces and extends the property in a control to visually differentiate a cell when it is in edit mode. In this example, the of the cell's editing panel is set to . To run this example, paste the code into a form that contains a named `dataGridView1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet069"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet069"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet069"::: ]]> @@ -8645,7 +8645,7 @@ The control replaces and extends the @@ -8697,7 +8697,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet269"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet269"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet269"::: ]]> @@ -8746,7 +8746,7 @@ The control replaces and extends the method in `Main`. However, visual styles will not be applied to the row and column headers because is set to `false`. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet10"::: ]]> @@ -8912,7 +8912,7 @@ The control replaces and extends the named `dataGridView1`. In C#, you must also connect the event to the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet150"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet150"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet150"::: ]]> @@ -9120,7 +9120,7 @@ The control replaces and extends the @@ -9185,7 +9185,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet271"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet271"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet271"::: ]]> @@ -9303,7 +9303,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet270"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet270"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet270"::: ]]> @@ -9384,7 +9384,7 @@ The control replaces and extends the control. This example is part of a larger example available in [How to: Enable Users to Copy Multiple Cells to the Clipboard from the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/enable-users-to-copy-multiple-cells-to-the-clipboard-datagridview). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ClipboardCopyMode/datagridviewclipboarddemo.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewClipboardDemo/VB/datagridviewclipboarddemo.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ClipboardCopyMode/datagridviewclipboarddemo.vb" id="Snippet16"::: ]]> @@ -9484,7 +9484,7 @@ The control replaces and extends the content to the Clipboard. This example is part of a larger example available in [How to: Enable Users to Copy Multiple Cells to the Clipboard from the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/enable-users-to-copy-multiple-cells-to-the-clipboard-datagridview). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ClipboardCopyMode/datagridviewclipboarddemo.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewClipboardDemo/VB/datagridviewclipboarddemo.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ClipboardCopyMode/datagridviewclipboarddemo.vb" id="Snippet10"::: ]]> @@ -9611,7 +9611,7 @@ The control replaces and extends the @@ -9666,7 +9666,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet272"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet272"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet272"::: ]]> @@ -9714,7 +9714,7 @@ The control replaces and extends the property reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewAutoSize/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.vb" id="Snippet4"::: ]]> @@ -9803,7 +9803,7 @@ The control replaces and extends the @@ -9864,7 +9864,7 @@ The control replaces and extends the @@ -9918,7 +9918,7 @@ The control replaces and extends the @@ -10016,7 +10016,7 @@ The control replaces and extends the @@ -10072,7 +10072,7 @@ The control replaces and extends the property to determine whether to commit a cell value and raise the event from a handler for the event. This code example is part of a larger example provided in [How to: Disable Buttons in a Button Column in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/disable-buttons-in-a-button-column-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CommitEdit/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.DisabledButtons/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CommitEdit/form1.vb" id="Snippet5"::: ]]> @@ -10122,7 +10122,7 @@ The control replaces and extends the @@ -10312,7 +10312,7 @@ The control replaces and extends the @@ -10380,7 +10380,7 @@ The control replaces and extends the @@ -10438,7 +10438,7 @@ The control replaces and extends the @@ -10488,7 +10488,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet273"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet273"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet273"::: ]]> @@ -10589,7 +10589,7 @@ The control replaces and extends the @@ -10637,7 +10637,7 @@ The control replaces and extends the @@ -15004,7 +15004,7 @@ The control replaces and extends the @@ -15165,7 +15165,7 @@ The control replaces and extends the @@ -17531,7 +17531,7 @@ The control replaces and extends the subclass by overriding the and methods. In the example, the ENTER key has the same behavior as the RIGHT ARROW key, making it easier for a user to edit multiple cells in a single row of data. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet70"::: ]]> @@ -17631,7 +17631,7 @@ The control replaces and extends the subclass by overriding the and methods. In the example, the ENTER key has the same behavior as the RIGHT ARROW key, making it easier for a user to edit multiple cells in a single row of data. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet70"::: ]]> @@ -18160,7 +18160,7 @@ The control replaces and extends the subclass by overriding the and methods. In the example, the ENTER key has the same behavior as the RIGHT ARROW key, making it easier for a user to edit multiple cells in a single row of data. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet70"::: ]]> @@ -18357,7 +18357,7 @@ The control replaces and extends the control intended primarily for display. In this example, the visual appearance of the control is customized in several ways and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -18409,7 +18409,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet274"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet274"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet274"::: ]]> @@ -18539,7 +18539,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet338"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet338"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet338"::: ]]> @@ -18601,7 +18601,7 @@ The control replaces and extends the event to provide a based on the title of the employee. In this example, there are two shortcut menus, one for managers and one for all other employees. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_NeededEvents/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.vb" id="Snippet10"::: ]]> @@ -18676,7 +18676,7 @@ The control replaces and extends the property. In this example, this property is used to track the number of entries in a . This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet10"::: ]]> @@ -18734,7 +18734,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet340"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet340"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet340"::: ]]> @@ -18791,7 +18791,7 @@ The control replaces and extends the @@ -18845,7 +18845,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet342"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet342"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet342"::: ]]> @@ -18897,7 +18897,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet343"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet343"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet343"::: ]]> @@ -18949,7 +18949,7 @@ The control replaces and extends the property of the cells in the current row. In this example, the background color is set in the event, then reset to on the event. To run this example, paste the code into a form that contains a named `dataGridView1`, and ensure that all events are associated with their event handlers. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet200"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet200"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet200"::: ]]> @@ -18999,7 +18999,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet345"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet345"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet345"::: ]]> @@ -19063,7 +19063,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet346"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet346"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet346"::: ]]> @@ -19121,7 +19121,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet349"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet349"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet349"::: ]]> @@ -19169,7 +19169,7 @@ The control replaces and extends the @@ -19219,7 +19219,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet348"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet348"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet348"::: ]]> @@ -19276,7 +19276,7 @@ The control replaces and extends the @@ -19332,7 +19332,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet275"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet275"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet275"::: ]]> @@ -19396,7 +19396,7 @@ The control replaces and extends the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -19450,7 +19450,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet276"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet276"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet276"::: ]]> @@ -19502,7 +19502,7 @@ The control replaces and extends the @@ -19557,7 +19557,7 @@ The control replaces and extends the @@ -19609,7 +19609,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet277"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet277"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet277"::: ]]> @@ -19674,7 +19674,7 @@ The control replaces and extends the control intended primarily for display. In this example, the visual appearance of the control is customized in several ways and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -19725,7 +19725,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet278"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet278"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet278"::: ]]> @@ -19773,7 +19773,7 @@ The control replaces and extends the @@ -19829,7 +19829,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet351"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet351"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet351"::: ]]> @@ -19886,7 +19886,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet352"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet352"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet352"::: ]]> @@ -19935,7 +19935,7 @@ The control replaces and extends the property of the cells in the current row. In this example, the background color is set in the event, then reset to on the event. To run this example, paste the code into a form that contains a named `dataGridView1` and ensure that all events are associated with their event handlers. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet200"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet200"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet200"::: ]]> @@ -19985,7 +19985,7 @@ The control replaces and extends the named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet354"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet354"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet354"::: ]]> @@ -20047,7 +20047,7 @@ The control replaces and extends the event to paint textual content that spans the entire row below the normal cell values. This example is part of a larger example available in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet30"::: ]]> @@ -20109,7 +20109,7 @@ The control replaces and extends the event to paint a gradient row background if the row is selected. This example is part of a larger example available in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet20"::: ]]> @@ -20216,7 +20216,7 @@ if (rowToDelete > -1) :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewAutoSize/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewAutoSize/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.vb" id="Snippet2"::: ]]> @@ -20271,7 +20271,7 @@ if (rowToDelete > -1) :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/CPP/virtual.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet20"::: ]]> @@ -20322,7 +20322,7 @@ if (rowToDelete > -1) The following code example illustrates how to use this property to create a ledger effect in a control. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -20376,7 +20376,7 @@ if (rowToDelete > -1) To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet279"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet279"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet279"::: ]]> @@ -20428,7 +20428,7 @@ if (rowToDelete > -1) The following code example demonstrates how to use this event to update the values in a balance column of a . This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet30"::: ]]> @@ -20481,7 +20481,7 @@ if (rowToDelete > -1) To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet359"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet359"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet359"::: ]]> @@ -20540,7 +20540,7 @@ if (rowToDelete > -1) :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.RowTemplate/CPP/datagridviewrowtemplate.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/RowTemplate/datagridviewrowtemplate.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.RowTemplate/VB/datagridviewrowtemplate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/RowTemplate/datagridviewrowtemplate.vb" id="Snippet1"::: ]]> @@ -20597,7 +20597,7 @@ if (rowToDelete > -1) To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet360"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet360"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet360"::: ]]> @@ -20647,7 +20647,7 @@ if (rowToDelete > -1) The following code sample uses this event to clear up any error annotations that may have been left behind after validating the row. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/RowValidated/rowoperations.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.RowOperations/VB/rowoperations.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/RowValidated/rowoperations.vb" id="Snippet10"::: ]]> @@ -20697,7 +20697,7 @@ if (rowToDelete > -1) The following code example uses to check if valid track and release dates are entered. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/RowValidated/rowoperations.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.RowOperations/VB/rowoperations.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/RowValidated/rowoperations.vb" id="Snippet5"::: ]]> @@ -20747,7 +20747,7 @@ if (rowToDelete > -1) To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet363"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet363"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet363"::: ]]> @@ -20843,7 +20843,7 @@ if (rowToDelete > -1) The following code example demonstrates the use of the method. To run this example, paste the code into a form that contains a named `dataGridView1` and a named `selectAllButton`, and ensure all events are associated with their event handlers. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet180"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet180"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet180"::: ]]> @@ -20893,7 +20893,7 @@ if (rowToDelete > -1) The following code example demonstrates how to use the collection to find the sum of the values in the selection. In the example, this collection is iterated through and the valid values are added to the sum, which is displayed in a label. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet10"::: ]]> @@ -20943,7 +20943,7 @@ if (rowToDelete > -1) The following code example demonstrates how to use the property to get the selected column in a programmatic sort. In this example, this property is used in the method to determine the direction of the sort. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SelectedColumns/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewProgrammaticSort/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SelectedColumns/form1.vb" id="Snippet10"::: ]]> @@ -20995,7 +20995,7 @@ if (rowToDelete > -1) The following code example demonstrates how to use the property in the event. In this example, if the first row is contained in the collection, then the deletion is canceled. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet20"::: ]]> @@ -21048,7 +21048,7 @@ if (rowToDelete > -1) The following code example demonstrates the use of this event. In the example, the form displays the sum of values in the selected cells, and updates the sum when the selection changes. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet00"::: ]]> @@ -21108,7 +21108,7 @@ if (rowToDelete > -1) :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet5"::: ]]> @@ -21607,7 +21607,7 @@ if (rowToDelete > -1) The following code example demonstrates how to use the method overload in a multiple column sort scenario. In this example, the interface is implemented in the `RowComparer` class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/Sort/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewIComparerSort/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/Sort/form1.vb" id="Snippet10"::: ]]> @@ -21670,7 +21670,7 @@ if (rowToDelete > -1) The following code example demonstrates how to use the in a programmatic sort. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SelectedColumns/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewProgrammaticSort/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SelectedColumns/form1.vb" id="Snippet10"::: ]]> @@ -21744,7 +21744,7 @@ if (rowToDelete > -1) The following code example demonstrates how to use the in a multiple column sort. This example is part of a larger example provided in [How to: Customize Sorting in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-customize-sorting-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SortCompare/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.SortCompare/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SortCompare/form1.vb" id="Snippet10"::: ]]> @@ -21802,7 +21802,7 @@ if (rowToDelete > -1) To run this example, paste the following code into a form that contains a named `dataGridView1`. In C#, you must also connect the event to the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet150"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet150"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet150"::: ]]> @@ -21866,7 +21866,7 @@ if (rowToDelete > -1) The following code example demonstrates how to use the property in a programmatic sort. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SelectedColumns/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewProgrammaticSort/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SelectedColumns/form1.vb" id="Snippet10"::: ]]> @@ -21921,7 +21921,7 @@ if (rowToDelete > -1) The following code example demonstrates how to use the property in a programmatic sort. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SelectedColumns/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewProgrammaticSort/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SelectedColumns/form1.vb" id="Snippet10"::: ]]> @@ -22262,7 +22262,7 @@ if (rowToDelete > -1) :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet80"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet80"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet80"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet80"::: ]]> @@ -22569,7 +22569,7 @@ if (rowToDelete > -1) The following code example demonstrates how to use the event to update a label displaying the total number of entries in a . This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet40"::: ]]> @@ -22619,7 +22619,7 @@ if (rowToDelete > -1) To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet368"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet368"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet368"::: ]]> @@ -22669,7 +22669,7 @@ if (rowToDelete > -1) The following code example demonstrates how to use the event to cancel the deletion of rows from the if the starting balance row is included in the selection. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet20"::: ]]> @@ -22855,7 +22855,7 @@ if (rowToDelete > -1) The following code example code uses virtual mode to create a table of positive integers. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet0"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewAdvancedBorderStyle.xml b/xml/System.Windows.Forms/DataGridViewAdvancedBorderStyle.xml index 8af21a471c2..1aaaff53e03 100644 --- a/xml/System.Windows.Forms/DataGridViewAdvancedBorderStyle.xml +++ b/xml/System.Windows.Forms/DataGridViewAdvancedBorderStyle.xml @@ -44,7 +44,7 @@ The following code example adjusts the cell borders of a so that a double border separates the interior cells and the top left header cell from the row and column headers. This sample demonstrates how to override the , , and methods, and the property. These members use objects to modify individual cell borders. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet0"::: ]]> @@ -91,7 +91,7 @@ The following code example illustrates the use of this constructor. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet12"::: ]]> @@ -171,7 +171,7 @@ The following code example illustrates the use of this property. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet12"::: ]]> @@ -275,7 +275,7 @@ The following code example illustrates the use of this property. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet12"::: ]]> @@ -319,7 +319,7 @@ The following code example illustrates the use of this property. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet12"::: ]]> @@ -408,7 +408,7 @@ The following code example illustrates the use of this property. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet12"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewAdvancedCellBorderStyle.xml b/xml/System.Windows.Forms/DataGridViewAdvancedCellBorderStyle.xml index 6d87ed334b0..7770da40da9 100644 --- a/xml/System.Windows.Forms/DataGridViewAdvancedCellBorderStyle.xml +++ b/xml/System.Windows.Forms/DataGridViewAdvancedCellBorderStyle.xml @@ -33,7 +33,7 @@ The following code example demonstrates how to override the property to customize the borders of the upper-left cell. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet12"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewAutoSizeColumnMode.xml b/xml/System.Windows.Forms/DataGridViewAutoSizeColumnMode.xml index 58e5815addb..5856dfb2d93 100644 --- a/xml/System.Windows.Forms/DataGridViewAutoSizeColumnMode.xml +++ b/xml/System.Windows.Forms/DataGridViewAutoSizeColumnMode.xml @@ -41,7 +41,7 @@ The following code example illustrates the use of this enumeration to configure a fixed-width column. This example is part of a larger example available in [How to: Set the Sizing Modes of the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-set-the-sizing-modes-of-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewAutoSizeColumnMode/Overview/sizingscenarios.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSizingScenarios/vb/sizingscenarios.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewAutoSizeColumnMode/Overview/sizingscenarios.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewAutoSizeColumnModeEventArgs.xml b/xml/System.Windows.Forms/DataGridViewAutoSizeColumnModeEventArgs.xml index aadd346fdef..881973523d5 100644 --- a/xml/System.Windows.Forms/DataGridViewAutoSizeColumnModeEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewAutoSizeColumnModeEventArgs.xml @@ -43,7 +43,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet180"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet180"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet180"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet180"::: ]]> @@ -140,7 +140,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet180"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet180"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet180"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet180"::: ]]> @@ -192,7 +192,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet280"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet280"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet280"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewAutoSizeColumnsMode.xml b/xml/System.Windows.Forms/DataGridViewAutoSizeColumnsMode.xml index 774999d58b6..84839796910 100644 --- a/xml/System.Windows.Forms/DataGridViewAutoSizeColumnsMode.xml +++ b/xml/System.Windows.Forms/DataGridViewAutoSizeColumnsMode.xml @@ -41,7 +41,7 @@ The following code example illustrates the use of this enumeration in a master/details scenario where two controls display data from two tables in a parent/child relationship. In this example, the column sizing mode for the master control is None and the column widths are programmatically initialized to fit the loaded values. The details control is set to an automatic sizing mode so that columns will adjust automatically whenever the values change (for example, when the user changes the current row in the parent table). This example is part of a larger example available in [How to: Create a Master/Detail Form Using Two Windows Forms DataGridView Controls](/dotnet/desktop/winforms/controls/create-a-master-detail-form-using-two-datagridviews). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoSizeColumnsMode/masterdetails.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMasterDetails/VB/masterdetails.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoSizeColumnsMode/masterdetails.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewAutoSizeColumnsModeEventArgs.xml b/xml/System.Windows.Forms/DataGridViewAutoSizeColumnsModeEventArgs.xml index 603d7859ff3..73ec204f227 100644 --- a/xml/System.Windows.Forms/DataGridViewAutoSizeColumnsModeEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewAutoSizeColumnsModeEventArgs.xml @@ -44,7 +44,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet257"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet257"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet257"::: ]]> @@ -141,7 +141,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet257"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet257"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet257"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewAutoSizeModeEventArgs.xml b/xml/System.Windows.Forms/DataGridViewAutoSizeModeEventArgs.xml index 2942f553ca9..52948d9b580 100644 --- a/xml/System.Windows.Forms/DataGridViewAutoSizeModeEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewAutoSizeModeEventArgs.xml @@ -37,7 +37,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.AutoSizing/CPP/autosizing.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoSizeRowsMode/autosizing.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.AutoSizing/VB/autosizing.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoSizeRowsMode/autosizing.vb" id="Snippet10"::: ]]> @@ -147,7 +147,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.AutoSizing/CPP/autosizing.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoSizeRowsMode/autosizing.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.AutoSizing/VB/autosizing.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoSizeRowsMode/autosizing.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewAutoSizeModeEventHandler.xml b/xml/System.Windows.Forms/DataGridViewAutoSizeModeEventHandler.xml index ab83fc0350d..3c2a89c9e85 100644 --- a/xml/System.Windows.Forms/DataGridViewAutoSizeModeEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewAutoSizeModeEventHandler.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.AutoSizing/CPP/autosizing.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoSizeRowsMode/autosizing.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.AutoSizing/VB/autosizing.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoSizeRowsMode/autosizing.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewAutoSizeRowMode.xml b/xml/System.Windows.Forms/DataGridViewAutoSizeRowMode.xml index d21e82a57ae..c45cc1a8c74 100644 --- a/xml/System.Windows.Forms/DataGridViewAutoSizeRowMode.xml +++ b/xml/System.Windows.Forms/DataGridViewAutoSizeRowMode.xml @@ -40,7 +40,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ProgrammaticResizing/CPP/programmaticsizing.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumns/programmaticsizing.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ProgrammaticResizing/VB/programmaticsizing.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumns/programmaticsizing.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewAutoSizeRowsMode.xml b/xml/System.Windows.Forms/DataGridViewAutoSizeRowsMode.xml index 30e4bcd155f..c36b6ec0385 100644 --- a/xml/System.Windows.Forms/DataGridViewAutoSizeRowsMode.xml +++ b/xml/System.Windows.Forms/DataGridViewAutoSizeRowsMode.xml @@ -40,7 +40,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.AutoSizing/CPP/autosizing.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoSizeRowsMode/autosizing.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.AutoSizing/VB/autosizing.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoSizeRowsMode/autosizing.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewBand.xml b/xml/System.Windows.Forms/DataGridViewBand.xml index b9ff271d632..68f54e7b285 100644 --- a/xml/System.Windows.Forms/DataGridViewBand.xml +++ b/xml/System.Windows.Forms/DataGridViewBand.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet0"::: ]]> @@ -164,7 +164,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet130"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet130"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet130"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet130"::: ]]> @@ -219,7 +219,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet7"::: ]]> @@ -519,7 +519,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet7"::: ]]> @@ -677,7 +677,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet150"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet150"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet150"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet150"::: ]]> @@ -857,7 +857,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet11"::: ]]> @@ -916,7 +916,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.MouseBasedResizing/CPP/mousesizing.cpp" id="Snippet14"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewBand/Resizable/mousesizing.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.MouseBasedResizing/VB/mousesizing.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewBand/Resizable/mousesizing.vb" id="Snippet14"::: ]]> @@ -977,7 +977,7 @@ The following code example illustrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.cs" id="Snippet05"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectedCollections/VB/DataGridViewSelectedCollections.vb" id="Snippet05"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.vb" id="Snippet05"::: ]]> @@ -1045,7 +1045,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet12"::: ]]> @@ -1139,7 +1139,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewBindingCompleteEventArgs.xml b/xml/System.Windows.Forms/DataGridViewBindingCompleteEventArgs.xml index 91afb8c57c4..a10154e39bf 100644 --- a/xml/System.Windows.Forms/DataGridViewBindingCompleteEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewBindingCompleteEventArgs.xml @@ -38,7 +38,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet333"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet333"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet333"::: ]]> @@ -132,7 +132,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet333"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet333"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet333"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewButtonCell.xml b/xml/System.Windows.Forms/DataGridViewButtonCell.xml index 86330cc8b08..6596c922e57 100644 --- a/xml/System.Windows.Forms/DataGridViewButtonCell.xml +++ b/xml/System.Windows.Forms/DataGridViewButtonCell.xml @@ -53,7 +53,7 @@ The following code example demonstrates how to use a to perform actions on particular rows. You can use similar code when working with individual objects. In this example, a event handler first determines whether a click is on a button cell, then retrieves a business object associated with the row. This example is part of a larger example available in [How to: Access Objects in a Windows Forms DataGridViewComboBoxCell Drop-Down List](/dotnet/desktop/winforms/controls/access-objects-in-a-wf-datagridviewcomboboxcell-drop-down-list). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoGenerateColumns/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewComboBoxObjectBinding/vb/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoGenerateColumns/form1.vb" id="Snippet100"::: ]]> @@ -272,7 +272,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet10"::: ]]> @@ -1252,7 +1252,7 @@ The following code example demonstrates the use of this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet010"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet010"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet010"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewButtonColumn.xml b/xml/System.Windows.Forms/DataGridViewButtonColumn.xml index 6cb3a1b5a53..82866fe5290 100644 --- a/xml/System.Windows.Forms/DataGridViewButtonColumn.xml +++ b/xml/System.Windows.Forms/DataGridViewButtonColumn.xml @@ -61,7 +61,7 @@ The following code example demonstrates how to use a to perform actions on particular rows. In this example, a event handler first determines whether a click is on a button cell, then retrieves a business object associated with the row. This example is part of a larger example available in [How to: Access Objects in a Windows Forms DataGridViewComboBoxCell Drop-Down List](/dotnet/desktop/winforms/controls/access-objects-in-a-wf-datagridviewcomboboxcell-drop-down-list). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoGenerateColumns/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewComboBoxObjectBinding/vb/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoGenerateColumns/form1.vb" id="Snippet100"::: ]]> @@ -172,7 +172,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet10"::: ]]> @@ -276,7 +276,7 @@ The following code example demonstrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewButtonColumn/DefaultCellStyle/changecolumnalignment.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewContentAlignment/VB/changecolumnalignment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewButtonColumn/DefaultCellStyle/changecolumnalignment.vb" id="Snippet1"::: ]]> @@ -344,7 +344,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet10"::: ]]> @@ -407,7 +407,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet10"::: ]]> @@ -507,7 +507,7 @@ The following code example demonstrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet010"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet010"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet010"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCell.xml b/xml/System.Windows.Forms/DataGridViewCell.xml index c10115dfe3c..7bf9949ae18 100644 --- a/xml/System.Windows.Forms/DataGridViewCell.xml +++ b/xml/System.Windows.Forms/DataGridViewCell.xml @@ -58,7 +58,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCell.ToolTipText/cpp/datagridviewcell.tooltiptext.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewCell/Overview/datagridviewcell.tooltiptext.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCell.ToolTipText/VB/datagridviewcell.tooltiptext.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewCell/Overview/datagridviewcell.tooltiptext.vb" id="Snippet1"::: ]]> @@ -207,7 +207,7 @@ The following code example demonstrates how to override the method to customize the borders of the cells. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet20"::: ]]> @@ -268,7 +268,7 @@ The following code example demonstrates how to use the method of the class to determine the available drawing area in a cell. This code example is part of a larger example provided in [How to: Disable Buttons in a Button Column in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/disable-buttons-in-a-button-column-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CommitEdit/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.DisabledButtons/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CommitEdit/form1.vb" id="Snippet20"::: ]]> @@ -402,7 +402,7 @@ The following code example demonstrates how to use the property to determine which columns to check for integer values. In this example, the cells in the `Description` column are ignored when the contents of the selected cells are summed. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet10"::: ]]> @@ -717,7 +717,7 @@ The following code example demonstrates how to override the property in a `CalendarCell` class that derives from . This example is part of a larger code example provided in [How to: Host Controls in Windows Forms DataGridView Cells](/dotnet/desktop/winforms/controls/how-to-host-controls-in-windows-forms-datagridview-cells). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.cs" id="Snippet200"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCalendarColumn/VB/datagridviewcalendarcolumn.vb" id="Snippet200"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.vb" id="Snippet200"::: ]]> @@ -1023,7 +1023,7 @@ The following code example demonstrates how to use the property. In this example, the property is used to determine if the current cell's contents have been edited and not committed and, if the cell has been modified, the edited value is used. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet10"::: ]]> @@ -1094,7 +1094,7 @@ The following code example demonstrates how to override the property in a `CalendarCell` class that derives from . This example is part of a larger code example provided in [How to: Host Controls in Windows Forms DataGridView Cells](/dotnet/desktop/winforms/controls/how-to-host-controls-in-windows-forms-datagridview-cells). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.cs" id="Snippet200"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCalendarColumn/VB/datagridviewcalendarcolumn.vb" id="Snippet200"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.vb" id="Snippet200"::: ]]> @@ -1277,7 +1277,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet9"::: ]]> @@ -1383,7 +1383,7 @@ The following code example demonstrates how to use the property. In this example, the property is used to determine if the current cell's contents have been edited and not committed and, if the cell has been modified, the is used. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet10"::: ]]> @@ -1454,7 +1454,7 @@ The following code example demonstrates how to use the property to determine the type of the cell contents. In this example, the property is used to determine whether the cell contains a before attempting to convert the value. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet10"::: ]]> @@ -2407,7 +2407,7 @@ The following code example demonstrates how to override the method in a simple class that derives from the class. This example is part of a larger code example provided in [How to: Host Controls in Windows Forms DataGridView Cells](/dotnet/desktop/winforms/controls/how-to-host-controls-in-windows-forms-datagridview-cells). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.cs" id="Snippet200"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCalendarColumn/VB/datagridviewcalendarcolumn.vb" id="Snippet200"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.vb" id="Snippet200"::: ]]> @@ -3877,7 +3877,7 @@ The following code example demonstrates the use of this method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet10"::: ]]> @@ -4029,7 +4029,7 @@ The following code example illustrates the use of this method. This example is part of a larger example available in [How to: Customize Cells and Columns in the Windows Forms DataGridView Control by Extending Their Behavior and Appearance](/dotnet/desktop/winforms/controls/customize-cells-and-columns-in-the-datagrid-by-extending-behavior). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/InvalidateCell/rollovercell.cs" id="Snippet220"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRolloverCell/VB/rollovercell.vb" id="Snippet220"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/InvalidateCell/rollovercell.vb" id="Snippet220"::: ]]> @@ -4085,7 +4085,7 @@ The following code example illustrates the use of this method. This example is part of a larger example available in [How to: Customize Cells and Columns in the Windows Forms DataGridView Control by Extending Their Behavior and Appearance](/dotnet/desktop/winforms/controls/customize-cells-and-columns-in-the-datagrid-by-extending-behavior). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/InvalidateCell/rollovercell.cs" id="Snippet220"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRolloverCell/VB/rollovercell.vb" id="Snippet220"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/InvalidateCell/rollovercell.vb" id="Snippet220"::: ]]> @@ -4376,7 +4376,7 @@ The following code example demonstrates how to override the method of a . This code example is part of a larger example provided in [How to: Disable Buttons in a Button Column in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/disable-buttons-in-a-button-column-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CommitEdit/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.DisabledButtons/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CommitEdit/form1.vb" id="Snippet20"::: ]]> @@ -4433,7 +4433,7 @@ The following code example illustrates the use of this method. This example is part of a larger example available in [How to: Disable Buttons in a Button Column in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/disable-buttons-in-a-button-column-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CommitEdit/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.DisabledButtons/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CommitEdit/form1.vb" id="Snippet20"::: ]]> @@ -4922,7 +4922,7 @@ The following code example illustrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet080"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet080"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet080"::: ]]> @@ -5115,7 +5115,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet120"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet120"::: ]]> @@ -5247,7 +5247,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCell.ToolTipText/cpp/datagridviewcell.tooltiptext.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewCell/Overview/datagridviewcell.tooltiptext.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCell.ToolTipText/VB/datagridviewcell.tooltiptext.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewCell/Overview/datagridviewcell.tooltiptext.vb" id="Snippet1"::: ]]> @@ -5351,7 +5351,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewRowDemo.cpp" id="Snippet211"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewRowDemo.cs" id="Snippet211"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewrowdemo.vb" id="Snippet211"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewrowdemo.vb" id="Snippet211"::: ]]> @@ -5416,7 +5416,7 @@ The following code example demonstrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellBorderStyle.xml b/xml/System.Windows.Forms/DataGridViewCellBorderStyle.xml index 493acd210c6..6d37c41c89e 100644 --- a/xml/System.Windows.Forms/DataGridViewCellBorderStyle.xml +++ b/xml/System.Windows.Forms/DataGridViewCellBorderStyle.xml @@ -33,7 +33,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet030"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet030"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet030"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellCancelEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellCancelEventArgs.xml index 45998c0ad7f..a2dbea49eb1 100644 --- a/xml/System.Windows.Forms/DataGridViewCellCancelEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellCancelEventArgs.xml @@ -29,7 +29,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet220"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet220"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet220"::: ]]> @@ -113,7 +113,7 @@ The following code example illustrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet220"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet220"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet220"::: ]]> @@ -158,7 +158,7 @@ The following code example illustrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet220"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet220"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet220"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellCancelEventHandler.xml b/xml/System.Windows.Forms/DataGridViewCellCancelEventHandler.xml index 653194800eb..fb252618488 100644 --- a/xml/System.Windows.Forms/DataGridViewCellCancelEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewCellCancelEventHandler.xml @@ -50,7 +50,7 @@ The following code example uses a delegate to check if valid track and release dates are entered. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/RowValidated/rowoperations.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.RowOperations/VB/rowoperations.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/RowValidated/rowoperations.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellCollection.xml b/xml/System.Windows.Forms/DataGridViewCellCollection.xml index fe54db7dc10..bc7c67b3fc2 100644 --- a/xml/System.Windows.Forms/DataGridViewCellCollection.xml +++ b/xml/System.Windows.Forms/DataGridViewCellCollection.xml @@ -278,7 +278,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridViewCellCollection1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet371"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet371"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet371"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellContextMenuStripNeededEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellContextMenuStripNeededEventArgs.xml index 501898f6559..d292cb292f4 100644 --- a/xml/System.Windows.Forms/DataGridViewCellContextMenuStripNeededEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellContextMenuStripNeededEventArgs.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/CPP/sharedrows.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/VB/sharedrows.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.vb" id="Snippet20"::: ]]> @@ -159,7 +159,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/CPP/sharedrows.cpp" id="Snippet22"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/VB/sharedrows.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.vb" id="Snippet22"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellContextMenuStripNeededEventHandler.xml b/xml/System.Windows.Forms/DataGridViewCellContextMenuStripNeededEventHandler.xml index 9a11f7cf5b3..a5f305bc02e 100644 --- a/xml/System.Windows.Forms/DataGridViewCellContextMenuStripNeededEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewCellContextMenuStripNeededEventHandler.xml @@ -65,7 +65,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/CPP/sharedrows.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/VB/sharedrows.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellErrorTextNeededEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellErrorTextNeededEventArgs.xml index 6759c0784e9..9573ff2cc16 100644 --- a/xml/System.Windows.Forms/DataGridViewCellErrorTextNeededEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellErrorTextNeededEventArgs.xml @@ -51,7 +51,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/CPP/sharedrows.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/VB/sharedrows.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.vb" id="Snippet20"::: ]]> @@ -117,7 +117,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/CPP/sharedrows.cpp" id="Snippet24"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/VB/sharedrows.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.vb" id="Snippet24"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellErrorTextNeededEventHandler.xml b/xml/System.Windows.Forms/DataGridViewCellErrorTextNeededEventHandler.xml index 3221bac817c..0c2c0515bfa 100644 --- a/xml/System.Windows.Forms/DataGridViewCellErrorTextNeededEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewCellErrorTextNeededEventHandler.xml @@ -63,7 +63,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/CPP/sharedrows.cpp" id="Snippet24"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/VB/sharedrows.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.vb" id="Snippet24"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellEventArgs.xml index f55b7767d31..a31003457cf 100644 --- a/xml/System.Windows.Forms/DataGridViewCellEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellEventArgs.xml @@ -67,7 +67,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/CPP/tictactoe.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellClick/tictactoe.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/VB/tictactoe.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellClick/tictactoe.vb" id="Snippet15"::: ]]> @@ -150,7 +150,7 @@ The following code example illustrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet220"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet220"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet220"::: ]]> @@ -195,7 +195,7 @@ The following code example illustrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet220"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet220"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet220"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellEventHandler.xml b/xml/System.Windows.Forms/DataGridViewCellEventHandler.xml index 2764ad8e8d2..3f108504ba3 100644 --- a/xml/System.Windows.Forms/DataGridViewCellEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewCellEventHandler.xml @@ -85,7 +85,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/CPP/tictactoe.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellClick/tictactoe.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/VB/tictactoe.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellClick/tictactoe.vb" id="Snippet15"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellFormattingEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellFormattingEventArgs.xml index cbcdf411f75..385e359463f 100644 --- a/xml/System.Windows.Forms/DataGridViewCellFormattingEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellFormattingEventArgs.xml @@ -57,7 +57,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet1"::: ]]> @@ -141,7 +141,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet1"::: ]]> @@ -215,7 +215,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet1"::: ]]> @@ -270,7 +270,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet1"::: ]]> @@ -328,7 +328,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet1"::: ]]> @@ -386,7 +386,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCell.ToolTipText/cpp/datagridviewcell.tooltiptext.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewCell/Overview/datagridviewcell.tooltiptext.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCell.ToolTipText/VB/datagridviewcell.tooltiptext.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewCell/Overview/datagridviewcell.tooltiptext.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellFormattingEventHandler.xml b/xml/System.Windows.Forms/DataGridViewCellFormattingEventHandler.xml index da3b780b628..f6fa18ce6a4 100644 --- a/xml/System.Windows.Forms/DataGridViewCellFormattingEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewCellFormattingEventHandler.xml @@ -69,7 +69,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellMouseEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellMouseEventArgs.xml index b1bb63b5e22..6ce8f43ede5 100644 --- a/xml/System.Windows.Forms/DataGridViewCellMouseEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellMouseEventArgs.xml @@ -52,7 +52,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet160"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet160"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet160"::: ]]> @@ -147,7 +147,7 @@ The following code example illustrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet160"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet160"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet160"::: ]]> @@ -194,7 +194,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellPaintingEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellPaintingEventArgs.xml index 995adb7a22a..41988e8f595 100644 --- a/xml/System.Windows.Forms/DataGridViewCellPaintingEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellPaintingEventArgs.xml @@ -40,7 +40,7 @@ The following code example illustrates the use of this type. For more information, see [How to: Customize the Appearance of Cells in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-cells-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellPainting/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCellPainting/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellPainting/form1.vb" id="Snippet10"::: ]]> @@ -187,7 +187,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet302"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet302"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet302"::: ]]> @@ -235,7 +235,7 @@ The following code example illustrates the use of this property. For more information, see [How to: Customize the Appearance of Cells in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-cells-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellPainting/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCellPainting/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellPainting/form1.vb" id="Snippet10"::: ]]> @@ -288,7 +288,7 @@ The following code example demonstrates the use of this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellPainting/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCellPainting/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellPainting/form1.vb" id="Snippet10"::: ]]> @@ -342,7 +342,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet302"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet302"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet302"::: ]]> @@ -393,7 +393,7 @@ The following code example demonstrates the use of this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellPainting/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCellPainting/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellPainting/form1.vb" id="Snippet10"::: ]]> @@ -447,7 +447,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet302"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet302"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet302"::: ]]> @@ -504,7 +504,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet302"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet302"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet302"::: ]]> @@ -553,7 +553,7 @@ The following code example demonstrates the use of this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellPainting/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCellPainting/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellPainting/form1.vb" id="Snippet10"::: ]]> @@ -721,7 +721,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet302"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet302"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet302"::: ]]> @@ -771,7 +771,7 @@ The following code example demonstrates the use of this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellPainting/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCellPainting/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellPainting/form1.vb" id="Snippet10"::: ]]> @@ -819,7 +819,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet302"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet302"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet302"::: ]]> @@ -872,7 +872,7 @@ The following code example demonstrates the use of this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellPainting/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCellPainting/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellPainting/form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellPaintingEventHandler.xml b/xml/System.Windows.Forms/DataGridViewCellPaintingEventHandler.xml index 8b847fa05ad..57b9376a668 100644 --- a/xml/System.Windows.Forms/DataGridViewCellPaintingEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewCellPaintingEventHandler.xml @@ -52,7 +52,7 @@ This code is part of a larger example available in [How to: Customize the Appearance of Cells in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-cells-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellPainting/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCellPainting/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellPainting/form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellParsingEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellParsingEventArgs.xml index 904dfede81e..b81a0c2474a 100644 --- a/xml/System.Windows.Forms/DataGridViewCellParsingEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellParsingEventArgs.xml @@ -51,7 +51,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet2"::: ]]> @@ -167,7 +167,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet2"::: ]]> @@ -226,7 +226,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet303"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet303"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet303"::: ]]> @@ -285,7 +285,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet2"::: ]]> @@ -340,7 +340,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet303"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet303"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet303"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellParsingEventHandler.xml b/xml/System.Windows.Forms/DataGridViewCellParsingEventHandler.xml index 3561c57a98f..2f99d446ac5 100644 --- a/xml/System.Windows.Forms/DataGridViewCellParsingEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewCellParsingEventHandler.xml @@ -63,7 +63,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellStateChangedEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellStateChangedEventArgs.xml index 50bd667c494..3534a8363c1 100644 --- a/xml/System.Windows.Forms/DataGridViewCellStateChangedEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellStateChangedEventArgs.xml @@ -42,7 +42,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet135"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet135"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet135"::: ]]> @@ -138,7 +138,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet135"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet135"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet135"::: ]]> @@ -185,7 +185,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet135"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet135"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet135"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellStyle.xml b/xml/System.Windows.Forms/DataGridViewCellStyle.xml index 46e09e055f9..ff53f5b992d 100644 --- a/xml/System.Windows.Forms/DataGridViewCellStyle.xml +++ b/xml/System.Windows.Forms/DataGridViewCellStyle.xml @@ -56,7 +56,7 @@ The following code example demonstrates the effect of setting properties on multiple objects. This example sets the background color of cells in the by setting the property on the property. The background color is overridden on alternating rows because the property is set on the property. The example also determines the format of dates in the column named `Last Prepared` by setting the property on the column's property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet10"::: ]]> @@ -186,7 +186,7 @@ The following code example illustrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet072"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet072"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet072"::: ]]> @@ -270,7 +270,7 @@ The following code example sets the background color of cells in the by setting the property on the property. Note that the background color is overridden on alternating rows because the property is set on the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -368,7 +368,7 @@ The following code example illustrates the use of this property. In this example, a event handler displays the value of the property when the cell value equals . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet50"::: ]]> @@ -461,7 +461,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BackgroundColor/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewUnbound/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BackgroundColor/form1.vb" id="Snippet5"::: ]]> @@ -506,7 +506,7 @@ The following code example demonstrates how to set the and properties for cells in alternating rows. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -569,7 +569,7 @@ The following code example sets the format of dates in the column named `Last Fixed` to "Month, year" by setting the property on the column's property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -850,7 +850,7 @@ The following code example illustrates the use of this property. In this example, a event handler displays the value of the property when the cell value equals . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet50"::: ]]> @@ -902,7 +902,7 @@ This code example is part of a larger example. For the complete example, see [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet10"::: ]]> @@ -942,7 +942,7 @@ The following code example illustrates the use of this property in a control intended primarily for display. In this example, the visual appearance of the control is customized in several ways, and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -987,7 +987,7 @@ The following code example illustrates the use of this property in a control intended primarily for display. In this example, the visual appearance of the control is customized in several ways, and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -1161,7 +1161,7 @@ The following code example illustrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet074"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet074"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet074"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellStyleContentChangedEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellStyleContentChangedEventArgs.xml index 629f776ea1d..d363618a983 100644 --- a/xml/System.Windows.Forms/DataGridViewCellStyleContentChangedEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellStyleContentChangedEventArgs.xml @@ -64,7 +64,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet306"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet306"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet306"::: ]]> @@ -122,7 +122,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet306"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet306"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet306"::: ]]> @@ -172,7 +172,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet306"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet306"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet306"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellToolTipTextNeededEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellToolTipTextNeededEventArgs.xml index ad02b2a8b5c..9baf26b431f 100644 --- a/xml/System.Windows.Forms/DataGridViewCellToolTipTextNeededEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellToolTipTextNeededEventArgs.xml @@ -50,7 +50,7 @@ The following code example fills the with information from hidden cells in the . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_NeededEvents/VB/Form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.vb" id="Snippet20"::: ]]> @@ -114,7 +114,7 @@ The following code example sets the property depending on which cell the cursor is over. In this example, the is filled with information from hidden columns in the . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_NeededEvents/VB/Form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellToolTipTextNeededEventHandler.xml b/xml/System.Windows.Forms/DataGridViewCellToolTipTextNeededEventHandler.xml index 3e2622066e9..542a897e793 100644 --- a/xml/System.Windows.Forms/DataGridViewCellToolTipTextNeededEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewCellToolTipTextNeededEventHandler.xml @@ -63,7 +63,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/CPP/sharedrows.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/VB/sharedrows.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.vb" id="Snippet30"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellValidatingEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellValidatingEventArgs.xml index ff1a0110eec..8e2c3ff146f 100644 --- a/xml/System.Windows.Forms/DataGridViewCellValidatingEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellValidatingEventArgs.xml @@ -43,7 +43,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/CPP/virtual.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet40"::: ]]> @@ -98,7 +98,7 @@ The following code example illustrates the use of this property. This example is part of a larger example available in [How to: Validate Data in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-validate-data-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellEndEdit/datavalidation.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewDataValidation/VB/datavalidation.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellEndEdit/datavalidation.vb" id="Snippet20"::: ]]> @@ -153,7 +153,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/CPP/virtual.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet40"::: ]]> @@ -201,7 +201,7 @@ The following code example illustrates the use of this property. This example is part of a larger example available in [How to: Validate Data in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-validate-data-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellEndEdit/datavalidation.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewDataValidation/VB/datavalidation.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellEndEdit/datavalidation.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellValidatingEventHandler.xml b/xml/System.Windows.Forms/DataGridViewCellValidatingEventHandler.xml index c235c2fde82..0b047f4f4d7 100644 --- a/xml/System.Windows.Forms/DataGridViewCellValidatingEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewCellValidatingEventHandler.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/CPP/virtual.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet40"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellValueEventArgs.xml b/xml/System.Windows.Forms/DataGridViewCellValueEventArgs.xml index a6185afea77..2e7bce044a9 100644 --- a/xml/System.Windows.Forms/DataGridViewCellValueEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewCellValueEventArgs.xml @@ -43,7 +43,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/CPP/virtual.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet10"::: ]]> @@ -138,7 +138,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.VirtualMode/CPP/virtualmode.cpp" id="Snippet120"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CancelRowEdit/virtualmode.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.VirtualMode/VB/virtualmode.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CancelRowEdit/virtualmode.vb" id="Snippet120"::: ]]> @@ -190,7 +190,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/CPP/virtual.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet10"::: ]]> @@ -247,7 +247,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/CPP/virtual.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCellValueEventHandler.xml b/xml/System.Windows.Forms/DataGridViewCellValueEventHandler.xml index e038fddc6ee..5bac000f061 100644 --- a/xml/System.Windows.Forms/DataGridViewCellValueEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewCellValueEventHandler.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/CPP/virtual.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCheckBoxCell.xml b/xml/System.Windows.Forms/DataGridViewCheckBoxCell.xml index 8564c34867d..f1f838102bb 100644 --- a/xml/System.Windows.Forms/DataGridViewCheckBoxCell.xml +++ b/xml/System.Windows.Forms/DataGridViewCheckBoxCell.xml @@ -57,7 +57,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet20"::: ]]> @@ -537,7 +537,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/cpp/trivaluevirtualcheckbox.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/VB/trivaluevirtualcheckbox.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.vb" id="Snippet0"::: ]]> @@ -593,7 +593,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet20"::: ]]> @@ -640,7 +640,7 @@ The following code example demonstrates how to use the property to determine the type of the cell contents. In this example, the property is used to determine whether the cell contains a before attempting to convert the value. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet10"::: ]]> @@ -940,7 +940,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/cpp/trivaluevirtualcheckbox.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/VB/trivaluevirtualcheckbox.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.vb" id="Snippet0"::: ]]> @@ -1853,7 +1853,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/cpp/trivaluevirtualcheckbox.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/VB/trivaluevirtualcheckbox.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.vb" id="Snippet0"::: ]]> @@ -1953,7 +1953,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/cpp/trivaluevirtualcheckbox.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/VB/trivaluevirtualcheckbox.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.vb" id="Snippet0"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewCheckBoxColumn.xml b/xml/System.Windows.Forms/DataGridViewCheckBoxColumn.xml index 6ea36296a44..a953f1cd1ab 100644 --- a/xml/System.Windows.Forms/DataGridViewCheckBoxColumn.xml +++ b/xml/System.Windows.Forms/DataGridViewCheckBoxColumn.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet20"::: ]]> @@ -224,7 +224,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet20"::: ]]> @@ -292,7 +292,7 @@ The following code example demonstrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewButtonColumn/DefaultCellStyle/changecolumnalignment.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewContentAlignment/VB/changecolumnalignment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewButtonColumn/DefaultCellStyle/changecolumnalignment.vb" id="Snippet1"::: ]]> @@ -365,7 +365,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/cpp/trivaluevirtualcheckbox.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/VB/trivaluevirtualcheckbox.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.vb" id="Snippet0"::: ]]> @@ -437,7 +437,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet20"::: ]]> @@ -513,7 +513,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/cpp/trivaluevirtualcheckbox.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/VB/trivaluevirtualcheckbox.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.vb" id="Snippet0"::: ]]> @@ -588,7 +588,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/cpp/trivaluevirtualcheckbox.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/VB/trivaluevirtualcheckbox.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.vb" id="Snippet0"::: ]]> @@ -695,7 +695,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/cpp/trivaluevirtualcheckbox.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewTrinaryVirtualCheckBox/VB/trivaluevirtualcheckbox.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewCheckBoxCell/FalseValue/trivaluevirtualcheckbox.vb" id="Snippet0"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewClipboardCopyMode.xml b/xml/System.Windows.Forms/DataGridViewClipboardCopyMode.xml index 65c9175307f..e031ad1d6d0 100644 --- a/xml/System.Windows.Forms/DataGridViewClipboardCopyMode.xml +++ b/xml/System.Windows.Forms/DataGridViewClipboardCopyMode.xml @@ -33,7 +33,7 @@ The following code example demonstrates how to enable copying in the control. For the complete example, see [How to: Enable Users to Copy Multiple Cells to the Clipboard from the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/enable-users-to-copy-multiple-cells-to-the-clipboard-datagridview). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ClipboardCopyMode/datagridviewclipboarddemo.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewClipboardDemo/VB/datagridviewclipboarddemo.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ClipboardCopyMode/datagridviewclipboarddemo.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewColumn.xml b/xml/System.Windows.Forms/DataGridViewColumn.xml index f68e3ca3245..e729b204caa 100644 --- a/xml/System.Windows.Forms/DataGridViewColumn.xml +++ b/xml/System.Windows.Forms/DataGridViewColumn.xml @@ -76,7 +76,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet100"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet100"::: ]]> @@ -231,7 +231,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet109"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet109"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet109"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet109"::: ]]> @@ -313,7 +313,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet120"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet120"::: ]]> @@ -448,7 +448,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet130"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet130"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet130"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet130"::: ]]> @@ -530,10 +530,10 @@ The following code example shows how to choose what property each column will represent. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewColumn/DataPropertyName/collectionbound.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._CollectionBound/VB/collectionbound.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewColumn/DataPropertyName/collectionbound.vb" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewColumn/DataPropertyName/collectionbound.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._CollectionBound/VB/collectionbound.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewColumn/DataPropertyName/collectionbound.vb" id="Snippet10"::: ]]> @@ -590,7 +590,7 @@ The following code example uses the property to set the content alignment of various columns. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewButtonColumn/DefaultCellStyle/changecolumnalignment.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewContentAlignment/VB/changecolumnalignment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewButtonColumn/DefaultCellStyle/changecolumnalignment.vb" id="Snippet1"::: ]]> @@ -656,7 +656,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet170"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet170"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet170"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet170"::: ]]> @@ -763,7 +763,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridViewColumn1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet370"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet370"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet370"::: ]]> @@ -814,7 +814,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet110"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet110"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet110"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet110"::: ]]> @@ -871,7 +871,7 @@ The following code example illustrates the use of this property. This example is part of a larger example available in [How to: Set the Sizing Modes of the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-set-the-sizing-modes-of-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewAutoSizeColumnMode/Overview/sizingscenarios.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSizingScenarios/vb/sizingscenarios.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewAutoSizeColumnMode/Overview/sizingscenarios.vb" id="Snippet30"::: ]]> @@ -932,7 +932,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet7"::: ]]> @@ -1046,7 +1046,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet150"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet150"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet150"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet150"::: ]]> @@ -1104,7 +1104,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet160"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet160"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet160"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet160"::: ]]> @@ -1329,7 +1329,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet107"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet107"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet107"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet107"::: ]]> @@ -1385,7 +1385,7 @@ The following code example shows how to set the column name. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewColumn/DataPropertyName/collectionbound.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._CollectionBound/VB/collectionbound.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewColumn/DataPropertyName/collectionbound.vb" id="Snippet10"::: ]]> @@ -1434,7 +1434,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet11"::: ]]> @@ -1485,7 +1485,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.MouseBasedResizing/CPP/mousesizing.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewBand/Resizable/mousesizing.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.MouseBasedResizing/VB/mousesizing.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewBand/Resizable/mousesizing.vb" id="Snippet12"::: ]]> @@ -1602,7 +1602,7 @@ The following code example demonstrates how to use the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet066"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet066"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet066"::: ]]> @@ -1665,7 +1665,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet145"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet145"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet145"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet145"::: ]]> @@ -1763,7 +1763,7 @@ The following code example demonstrates how to use the property in the initialization of a that contains values. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet20"::: ]]> @@ -1822,7 +1822,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet9"::: ]]> @@ -1877,7 +1877,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet108"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet108"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet108"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet108"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewColumnCollection.xml b/xml/System.Windows.Forms/DataGridViewColumnCollection.xml index 4e2031ebbd6..4f2bf14e705 100644 --- a/xml/System.Windows.Forms/DataGridViewColumnCollection.xml +++ b/xml/System.Windows.Forms/DataGridViewColumnCollection.xml @@ -54,7 +54,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet20"::: ]]> @@ -138,7 +138,7 @@ The following code example illustrates the use of this method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet20"::: ]]> @@ -330,7 +330,7 @@ The following code example illustrates the use of this method. This example is part of a larger example available in [How to: Set the Sizing Modes of the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-set-the-sizing-modes-of-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewAutoSizeColumnMode/Overview/sizingscenarios.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSizingScenarios/vb/sizingscenarios.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewAutoSizeColumnMode/Overview/sizingscenarios.vb" id="Snippet40"::: ]]> @@ -435,7 +435,7 @@ The following code example illustrates the use of this method. This example is part of a larger example available in [Column Fill Mode in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/column-fill-mode-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CancelEdit/fillcolumns.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewFillColumnsDemo/vb/fillcolumns.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CancelEdit/fillcolumns.vb" id="Snippet20"::: ]]> @@ -517,7 +517,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridViewColumnCollection1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet372"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet372"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet372"::: ]]> @@ -721,7 +721,7 @@ The following code example illustrates how to use this method to get the number of selected columns. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectedCollections/VB/DataGridViewSelectedCollections.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.vb" id="Snippet30"::: ]]> @@ -768,7 +768,7 @@ The following code example illustrates the use of this method. This example is part of a larger example available in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet20"::: ]]> @@ -833,7 +833,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet170"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet170"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet170"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet170"::: ]]> @@ -941,7 +941,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet170"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet170"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet170"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet170"::: ]]> @@ -1129,7 +1129,7 @@ The following code example illustrates the use of this method. For more information, see [How to: Add an Unbound Column to a Data-Bound Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/unbound-column-to-a-data-bound-datagridview). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet010"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet010"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet010"::: ]]> @@ -1410,7 +1410,7 @@ The following code example illustrates the use of this method. For more information, see [How to: Remove Autogenerated Columns from a Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/remove-autogenerated-columns-from-a-wf-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet110"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet110"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet110"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewColumnDividerDoubleClickEventArgs.xml b/xml/System.Windows.Forms/DataGridViewColumnDividerDoubleClickEventArgs.xml index f7fc9f0da46..c5254d502c8 100644 --- a/xml/System.Windows.Forms/DataGridViewColumnDividerDoubleClickEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewColumnDividerDoubleClickEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet319"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet319"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet319"::: ]]> @@ -132,7 +132,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet319"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet319"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet319"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewColumnEventArgs.xml b/xml/System.Windows.Forms/DataGridViewColumnEventArgs.xml index d4277ad857e..1e2754c0188 100644 --- a/xml/System.Windows.Forms/DataGridViewColumnEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewColumnEventArgs.xml @@ -64,7 +64,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet314"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet314"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet314"::: ]]> @@ -145,7 +145,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet314"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet314"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet314"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewColumnHeaderCell.xml b/xml/System.Windows.Forms/DataGridViewColumnHeaderCell.xml index 14c7fc4583b..547365a30cd 100644 --- a/xml/System.Windows.Forms/DataGridViewColumnHeaderCell.xml +++ b/xml/System.Windows.Forms/DataGridViewColumnHeaderCell.xml @@ -597,7 +597,7 @@ The following code demonstrates how to use the property in a programmatic sort. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SelectedColumns/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewProgrammaticSort/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SelectedColumns/form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewColumnHeadersHeightSizeMode.xml b/xml/System.Windows.Forms/DataGridViewColumnHeadersHeightSizeMode.xml index 0001e389dea..1c653ff3af5 100644 --- a/xml/System.Windows.Forms/DataGridViewColumnHeadersHeightSizeMode.xml +++ b/xml/System.Windows.Forms/DataGridViewColumnHeadersHeightSizeMode.xml @@ -37,7 +37,7 @@ The following code example illustrates the use of this enumeration in a display-only, non-interactive control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewColumnSortMode.xml b/xml/System.Windows.Forms/DataGridViewColumnSortMode.xml index 11bd9c6a38b..737f1b970b4 100644 --- a/xml/System.Windows.Forms/DataGridViewColumnSortMode.xml +++ b/xml/System.Windows.Forms/DataGridViewColumnSortMode.xml @@ -33,7 +33,7 @@ The following code example illustrates the use of this type. For more information, see [How to: Set the Sort Modes for Columns in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/set-the-sort-modes-for-columns-wf-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet066"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet066"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet066"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewColumnStateChangedEventArgs.xml b/xml/System.Windows.Forms/DataGridViewColumnStateChangedEventArgs.xml index 5f0b153ec36..35eae985a0a 100644 --- a/xml/System.Windows.Forms/DataGridViewColumnStateChangedEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewColumnStateChangedEventArgs.xml @@ -54,7 +54,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet328"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet328"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet328"::: ]]> @@ -148,7 +148,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet328"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet328"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet328"::: ]]> @@ -198,7 +198,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet328"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet328"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet328"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewComboBoxCell.xml b/xml/System.Windows.Forms/DataGridViewComboBoxCell.xml index 845a889453e..ac19d894120 100644 --- a/xml/System.Windows.Forms/DataGridViewComboBoxCell.xml +++ b/xml/System.Windows.Forms/DataGridViewComboBoxCell.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet40"::: ]]> @@ -269,7 +269,7 @@ For additional information, see [What's New in Accessibility in the .NET Framewo :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet40"::: ]]> @@ -364,7 +364,7 @@ For additional information, see [What's New in Accessibility in the .NET Framewo :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet40"::: ]]> @@ -514,7 +514,7 @@ For additional information, see [What's New in Accessibility in the .NET Framewo :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet40"::: ]]> @@ -620,7 +620,7 @@ For additional information, see [What's New in Accessibility in the .NET Framewo :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet40"::: ]]> @@ -674,7 +674,7 @@ For additional information, see [What's New in Accessibility in the .NET Framewo The following code example demonstrates how to use the property to determine the type of the cell contents. In this example, the property is used to determine whether the cell contains a before attempting to convert the value. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet10"::: ]]> @@ -998,7 +998,7 @@ For additional information, see [What's New in Accessibility in the .NET Framewo :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet30"::: ]]> @@ -1099,7 +1099,7 @@ For additional information, see [What's New in Accessibility in the .NET Framewo :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet30"::: ]]> @@ -1501,7 +1501,7 @@ For additional information, see [What's New in Accessibility in the .NET Framewo :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet30"::: ]]> @@ -1593,7 +1593,7 @@ For additional information, see [What's New in Accessibility in the .NET Framewo :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet40"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewComboBoxColumn.xml b/xml/System.Windows.Forms/DataGridViewComboBoxColumn.xml index db1637f58aa..a14a3f8d33f 100644 --- a/xml/System.Windows.Forms/DataGridViewComboBoxColumn.xml +++ b/xml/System.Windows.Forms/DataGridViewComboBoxColumn.xml @@ -75,7 +75,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet0"::: ]]> @@ -250,7 +250,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet120"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet120"::: ]]> @@ -371,7 +371,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet40"::: ]]> @@ -467,7 +467,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet40"::: ]]> @@ -670,7 +670,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet40"::: ]]> @@ -749,7 +749,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet40"::: ]]> @@ -822,7 +822,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet30"::: ]]> @@ -893,7 +893,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet30"::: ]]> @@ -961,7 +961,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet30"::: ]]> @@ -1082,7 +1082,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet40"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet40"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewComboBoxEditingControl.xml b/xml/System.Windows.Forms/DataGridViewComboBoxEditingControl.xml index 93ad4b9ade3..9fc965e1944 100644 --- a/xml/System.Windows.Forms/DataGridViewComboBoxEditingControl.xml +++ b/xml/System.Windows.Forms/DataGridViewComboBoxEditingControl.xml @@ -54,7 +54,7 @@ The following code example demonstrates how to use an event handler to add a handler for a event. In the example, the editing control is cast to a to handle the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewContentAlignment.xml b/xml/System.Windows.Forms/DataGridViewContentAlignment.xml index 63607cc721c..0426881c9e4 100644 --- a/xml/System.Windows.Forms/DataGridViewContentAlignment.xml +++ b/xml/System.Windows.Forms/DataGridViewContentAlignment.xml @@ -33,7 +33,7 @@ The following code example illustrates the use of this type. For more information, see [How to: Format Data in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-format-data-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet072"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet072"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet072"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewDataErrorContexts.xml b/xml/System.Windows.Forms/DataGridViewDataErrorContexts.xml index f3104aa31d9..1ecdb967229 100644 --- a/xml/System.Windows.Forms/DataGridViewDataErrorContexts.xml +++ b/xml/System.Windows.Forms/DataGridViewDataErrorContexts.xml @@ -39,7 +39,7 @@ The following code example illustrates the use of this type. This example is part of a larger example available in [How to: Handle Errors That Occur During Data Entry in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/handle-errors-that-occur-during-data-entry-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewDataErrorContexts/Overview/errorhandling.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.DataError/VB/errorhandling.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewDataErrorContexts/Overview/errorhandling.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewDataErrorEventArgs.xml b/xml/System.Windows.Forms/DataGridViewDataErrorEventArgs.xml index 1ce8cee5bc7..88e60642a9b 100644 --- a/xml/System.Windows.Forms/DataGridViewDataErrorEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewDataErrorEventArgs.xml @@ -43,7 +43,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet50"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet50"::: ]]> @@ -138,7 +138,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet50"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet50"::: ]]> @@ -191,7 +191,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet50"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet50"::: ]]> @@ -258,7 +258,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet50"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet50"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewDataErrorEventHandler.xml b/xml/System.Windows.Forms/DataGridViewDataErrorEventHandler.xml index 0774f143799..55635203eba 100644 --- a/xml/System.Windows.Forms/DataGridViewDataErrorEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewDataErrorEventHandler.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet50"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet50"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewEditMode.xml b/xml/System.Windows.Forms/DataGridViewEditMode.xml index d5bf49c8060..244b03a5514 100644 --- a/xml/System.Windows.Forms/DataGridViewEditMode.xml +++ b/xml/System.Windows.Forms/DataGridViewEditMode.xml @@ -35,7 +35,7 @@ The following code example illustrates the use of this type. For more information, see [How to: Specify the Edit Mode for the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-specify-the-edit-mode-for-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet067"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet067"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet067"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewEditingControlShowingEventArgs.xml b/xml/System.Windows.Forms/DataGridViewEditingControlShowingEventArgs.xml index d049c80db7c..a05faa9aac0 100644 --- a/xml/System.Windows.Forms/DataGridViewEditingControlShowingEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewEditingControlShowingEventArgs.xml @@ -41,7 +41,7 @@ For more information about how to handle events, see [Handling and Raising Event The following code example illustrates how to handle this event to change the property of the current cell. To run this example, paste the code into a form that contains a named `dataGridView1` and ensure that the event is associated with the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet210"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet210"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet210"::: ]]> @@ -141,7 +141,7 @@ For more information about how to handle events, see [Handling and Raising Event The following code example illustrates how to handle this event to change the property of the current cell. To run this example, paste the code into a form that contains a named `dataGridView1` and ensure that the event is associated with the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet210"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet210"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet210"::: ]]> @@ -193,7 +193,7 @@ For more information about how to handle events, see [Handling and Raising Event The following code example illustrates the use of this property. In the example, a event handler adds a handler for a event. The editing control is cast to a to handle the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewEditingControlShowingEventHandler.xml b/xml/System.Windows.Forms/DataGridViewEditingControlShowingEventHandler.xml index 7bd01a25396..498de9253fd 100644 --- a/xml/System.Windows.Forms/DataGridViewEditingControlShowingEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewEditingControlShowingEventHandler.xml @@ -54,7 +54,7 @@ The following code example illustrates how to handle this event to change the property of the current cell. To run this example, paste the code into a form that contains a named `dataGridView1` and ensure that the event is associated with the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet210"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet210"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet210"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewElementStates.xml b/xml/System.Windows.Forms/DataGridViewElementStates.xml index c23ca03a7da..12722b5ca82 100644 --- a/xml/System.Windows.Forms/DataGridViewElementStates.xml +++ b/xml/System.Windows.Forms/DataGridViewElementStates.xml @@ -43,7 +43,7 @@ The following code example illustrates the use of this type. For more information, see [How to: Perform a Custom Action Based on Changes in a Cell of a Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/perform-a-custom-action-based-on-changes-in-a-cell-of-a-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet135"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet135"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet135"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewHeaderBorderStyle.xml b/xml/System.Windows.Forms/DataGridViewHeaderBorderStyle.xml index 86db7ee6631..ee1e6742622 100644 --- a/xml/System.Windows.Forms/DataGridViewHeaderBorderStyle.xml +++ b/xml/System.Windows.Forms/DataGridViewHeaderBorderStyle.xml @@ -28,7 +28,7 @@ The following code example illustrates the use of this type. For more information, see [How to: Change the Border and Gridline Styles in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/change-the-border-and-gridline-styles-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet030"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet030"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet030"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewHitTestType.xml b/xml/System.Windows.Forms/DataGridViewHitTestType.xml index 6e5b2c52c9b..a33df93f433 100644 --- a/xml/System.Windows.Forms/DataGridViewHitTestType.xml +++ b/xml/System.Windows.Forms/DataGridViewHitTestType.xml @@ -33,7 +33,7 @@ The following code example illustrates the use of this type. This example is part of a larger example available in the property reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewAutoSize/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView+HitTestInfo/Overview/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewImageCell.xml b/xml/System.Windows.Forms/DataGridViewImageCell.xml index 17db3c9d7fe..e1798fa947a 100644 --- a/xml/System.Windows.Forms/DataGridViewImageCell.xml +++ b/xml/System.Windows.Forms/DataGridViewImageCell.xml @@ -45,7 +45,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/CPP/tictactoe.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellClick/tictactoe.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/VB/tictactoe.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellClick/tictactoe.vb" id="Snippet10"::: ]]> @@ -330,7 +330,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/CPP/tictactoe.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellClick/tictactoe.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/VB/tictactoe.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellClick/tictactoe.vb" id="Snippet20"::: ]]> @@ -422,7 +422,7 @@ The following code example demonstrates how to use the property to determine the type of the cell contents. In this example, the property is used to determine whether the cell contains a before attempting to convert the value. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewImageCellLayout.xml b/xml/System.Windows.Forms/DataGridViewImageCellLayout.xml index 8bd5dc05b00..a61f3f993b1 100644 --- a/xml/System.Windows.Forms/DataGridViewImageCellLayout.xml +++ b/xml/System.Windows.Forms/DataGridViewImageCellLayout.xml @@ -29,7 +29,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/CPP/tictactoe.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellClick/tictactoe.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/VB/tictactoe.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellClick/tictactoe.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewImageColumn.xml b/xml/System.Windows.Forms/DataGridViewImageColumn.xml index a0b1512c91b..604b3626821 100644 --- a/xml/System.Windows.Forms/DataGridViewImageColumn.xml +++ b/xml/System.Windows.Forms/DataGridViewImageColumn.xml @@ -57,7 +57,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/CPP/tictactoe.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellClick/tictactoe.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/VB/tictactoe.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellClick/tictactoe.vb" id="Snippet0"::: ]]> @@ -233,7 +233,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet120"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet120"::: ]]> @@ -339,7 +339,7 @@ The following code example demonstrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewButtonColumn/DefaultCellStyle/changecolumnalignment.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GridViewContentAlignment/VB/changecolumnalignment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewButtonColumn/DefaultCellStyle/changecolumnalignment.vb" id="Snippet1"::: ]]> @@ -415,7 +415,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/CPP/tictactoe.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellClick/tictactoe.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/VB/tictactoe.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellClick/tictactoe.vb" id="Snippet20"::: ]]> @@ -538,7 +538,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/CPP/tictactoe.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellClick/tictactoe.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/VB/tictactoe.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellClick/tictactoe.vb" id="Snippet5"::: ]]> @@ -606,7 +606,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/CPP/tictactoe.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellClick/tictactoe.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ImageColumn_TicTacToe/VB/tictactoe.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellClick/tictactoe.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewLinkCell.xml b/xml/System.Windows.Forms/DataGridViewLinkCell.xml index bb2e5405b73..ee46a6d6dc5 100644 --- a/xml/System.Windows.Forms/DataGridViewLinkCell.xml +++ b/xml/System.Windows.Forms/DataGridViewLinkCell.xml @@ -45,7 +45,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet120"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet120"::: ]]> @@ -127,7 +127,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> @@ -307,7 +307,7 @@ The following code example demonstrates how to use the property to determine the type of the cell contents. In this example, the property is used to determine whether the cell contains a before attempting to convert the value. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet10"::: ]]> @@ -554,7 +554,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> @@ -600,7 +600,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> @@ -1141,7 +1141,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> @@ -1195,7 +1195,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> @@ -1270,7 +1270,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewLinkColumn.xml b/xml/System.Windows.Forms/DataGridViewLinkColumn.xml index f7c3a7c4b7e..dab09c0e4eb 100644 --- a/xml/System.Windows.Forms/DataGridViewLinkColumn.xml +++ b/xml/System.Windows.Forms/DataGridViewLinkColumn.xml @@ -61,7 +61,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> @@ -164,7 +164,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> @@ -231,7 +231,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet120"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet120"::: ]]> @@ -340,7 +340,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> @@ -405,7 +405,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> @@ -564,7 +564,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> @@ -633,7 +633,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> @@ -698,7 +698,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet70"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet70"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewPaintParts.xml b/xml/System.Windows.Forms/DataGridViewPaintParts.xml index 37cffc1bb16..1ae7550b87d 100644 --- a/xml/System.Windows.Forms/DataGridViewPaintParts.xml +++ b/xml/System.Windows.Forms/DataGridViewPaintParts.xml @@ -39,7 +39,7 @@ The following code example illustrates the use of this type. This example is part of a larger example available in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRow.xml b/xml/System.Windows.Forms/DataGridViewRow.xml index d56a8eeb72c..17b809abb16 100644 --- a/xml/System.Windows.Forms/DataGridViewRow.xml +++ b/xml/System.Windows.Forms/DataGridViewRow.xml @@ -51,7 +51,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewRowDemo.cpp" id="Snippet209"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewRowDemo.cs" id="Snippet209"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewrowdemo.vb" id="Snippet209"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewrowdemo.vb" id="Snippet209"::: ]]> @@ -210,7 +210,7 @@ The following code example demonstrates how to override the method to customize the borders of the row header cells. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewAdvancedBorderStyle/VB/advancedborderstyle.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AdjustColumnHeaderBorderStyle/advancedborderstyle.vb" id="Snippet30"::: ]]> @@ -271,7 +271,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewRowDemo.cpp" id="Snippet211"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewRowDemo.cs" id="Snippet211"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewrowdemo.vb" id="Snippet211"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewrowdemo.vb" id="Snippet211"::: ]]> @@ -321,7 +321,7 @@ The following example demonstrates how to use the method to copy a row, and then populate the copy with the cell values from the original row. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet60"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet60"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet60"::: ]]> @@ -388,7 +388,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet130"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet130"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet130"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet130"::: ]]> @@ -659,7 +659,7 @@ The following code example demonstrates how to use the property to access a business object bound to a row. This code example is part of a larger example provided in [How to: Access Objects Bound to Windows Forms DataGridView Rows](/dotnet/desktop/winforms/controls/how-to-access-objects-bound-to-windows-forms-datagridview-rows). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewRow/DataBoundItem/datagridviewobjectbinding.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewObjectBinding/VB/datagridviewobjectbinding.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewRow/DataBoundItem/datagridviewobjectbinding.vb" id="Snippet10"::: ]]> @@ -721,7 +721,7 @@ The following code example illustrates how to use this property in a control intended primarily for display. In this example, the visual appearance of the control is customized in several ways and the control is configured for limited interactivity. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> @@ -818,7 +818,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewRowDemo.cpp" id="Snippet210"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewRowDemo.cs" id="Snippet210"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewrowdemo.vb" id="Snippet210"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewrowdemo.vb" id="Snippet210"::: ]]> @@ -952,7 +952,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/CPP/employees.cpp" id="Snippet50"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContentClick/employees.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewColumn_AllColumns_Bound_Employees/VB/employees.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContentClick/employees.vb" id="Snippet50"::: ]]> @@ -1011,7 +1011,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet7"::: ]]> @@ -1161,7 +1161,7 @@ The following code example uses the method to determine the new padding for a row that has been resized. This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet40"::: ]]> @@ -1282,7 +1282,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewRowDemo.cpp" id="Snippet209"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewRowDemo.cs" id="Snippet209"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewrowdemo.vb" id="Snippet209"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewrowdemo.vb" id="Snippet209"::: ]]> @@ -1339,7 +1339,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewRowDemo.cpp" id="Snippet208"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewRowDemo.cs" id="Snippet208"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewrowdemo.vb" id="Snippet208"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewrowdemo.vb" id="Snippet208"::: ]]> @@ -1454,7 +1454,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewRowDemo.cpp" id="Snippet209"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewRowDemo.cs" id="Snippet209"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewrowdemo.vb" id="Snippet209"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewrowdemo.vb" id="Snippet209"::: ]]> @@ -1510,7 +1510,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewRowDemo.cpp" id="Snippet207"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewRowDemo.cs" id="Snippet207"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewrowdemo.vb" id="Snippet207"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewrowdemo.vb" id="Snippet207"::: ]]> @@ -1776,7 +1776,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet11"::: ]]> @@ -1836,7 +1836,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.MouseBasedResizing/CPP/mousesizing.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewBand/Resizable/mousesizing.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.MouseBasedResizing/VB/mousesizing.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewBand/Resizable/mousesizing.vb" id="Snippet15"::: ]]> @@ -1884,7 +1884,7 @@ The following code example illustrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.cs" id="Snippet05"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectedCollections/VB/DataGridViewSelectedCollections.vb" id="Snippet05"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.vb" id="Snippet05"::: ]]> @@ -2083,7 +2083,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewBandDemo.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewBandDemo.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewbanddemo.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewbanddemo.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowCancelEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowCancelEventArgs.xml index 60a91cc2154..315e3865395 100644 --- a/xml/System.Windows.Forms/DataGridViewRowCancelEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowCancelEventArgs.xml @@ -43,7 +43,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.VirtualMode/CPP/virtualmode.cpp" id="Snippet180"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CancelRowEdit/virtualmode.cs" id="Snippet180"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.VirtualMode/VB/virtualmode.vb" id="Snippet180"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CancelRowEdit/virtualmode.vb" id="Snippet180"::: ]]> @@ -142,7 +142,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.VirtualMode/CPP/virtualmode.cpp" id="Snippet180"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CancelRowEdit/virtualmode.cs" id="Snippet180"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.VirtualMode/VB/virtualmode.vb" id="Snippet180"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CancelRowEdit/virtualmode.vb" id="Snippet180"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowCollection.xml b/xml/System.Windows.Forms/DataGridViewRowCollection.xml index e5bc4e3cbb4..8ec4020b548 100644 --- a/xml/System.Windows.Forms/DataGridViewRowCollection.xml +++ b/xml/System.Windows.Forms/DataGridViewRowCollection.xml @@ -702,7 +702,7 @@ The following code example demonstrates how to use the method when the row for new records is selected to work around the bug indicated in the Remarks section. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet30"::: ]]> @@ -880,7 +880,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridViewRowCollection1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet373"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet373"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet373"::: ]]> @@ -1396,7 +1396,7 @@ The following code example illustrates the use of this method to get the number of selected rows. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectedCollections/VB/DataGridViewSelectedCollections.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AreAllCellsSelected/DataGridViewSelectedCollections.vb" id="Snippet20"::: ]]> @@ -2052,7 +2052,7 @@ The following code example demonstrates how to use the method to insert rows before selected rows to work around the bug indicated in the Remarks section. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/BeginEdit/misc2.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/BeginEdit/misc2.vb" id="Snippet40"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowContextMenuStripNeededEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowContextMenuStripNeededEventArgs.xml index 8d3487136ba..a0eb8a3a0f1 100644 --- a/xml/System.Windows.Forms/DataGridViewRowContextMenuStripNeededEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowContextMenuStripNeededEventArgs.xml @@ -50,7 +50,7 @@ The following code example handles the event to provide a based on the title of the employee. In this example, there are two shortcut menus, one for managers and one for all other employees. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_NeededEvents/VB/Form1.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.vb" id="Snippet00"::: ]]> @@ -155,7 +155,7 @@ The following code example handles the event to provide a based on the title of the employee. In this example, there are two shortcut menus, one for managers and one for all other employees. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_NeededEvents/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.vb" id="Snippet10"::: ]]> @@ -208,7 +208,7 @@ The following code example handles the event to provide a based on the title of the employee. In this example, there are two shortcut menus, one for managers and one for all other employees. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_NeededEvents/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowContextMenuStripNeededEventHandler.xml b/xml/System.Windows.Forms/DataGridViewRowContextMenuStripNeededEventHandler.xml index 14579288f06..7eba7440aaa 100644 --- a/xml/System.Windows.Forms/DataGridViewRowContextMenuStripNeededEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewRowContextMenuStripNeededEventHandler.xml @@ -62,7 +62,7 @@ In the following code example, the event is handled to provide a based on the title of the employee. In this example, two there are two context menus, one for managers and one for all other employees. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_NeededEvents/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellToolTipTextNeeded/Form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowDividerDoubleClickEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowDividerDoubleClickEventArgs.xml index b6b92f9ad87..98cb9eaa28a 100644 --- a/xml/System.Windows.Forms/DataGridViewRowDividerDoubleClickEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowDividerDoubleClickEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet342"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet342"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet342"::: ]]> @@ -129,7 +129,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet342"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet342"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet342"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowErrorTextNeededEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowErrorTextNeededEventArgs.xml index e1869309e5c..e97a45afeba 100644 --- a/xml/System.Windows.Forms/DataGridViewRowErrorTextNeededEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowErrorTextNeededEventArgs.xml @@ -52,7 +52,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet346"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet346"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet346"::: ]]> @@ -119,7 +119,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/CPP/sharedrows.cpp" id="Snippet24"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView_SharedRowScenarios/VB/sharedrows.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellContextMenuStripNeeded/sharedrows.vb" id="Snippet24"::: ]]> @@ -168,7 +168,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet346"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet346"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet346"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowEventArgs.xml index ac16be9eea1..2c3ea8e8cf9 100644 --- a/xml/System.Windows.Forms/DataGridViewRowEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowEventArgs.xml @@ -64,7 +64,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet120"::: ]]> @@ -151,7 +151,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet120"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowEventHandler.xml b/xml/System.Windows.Forms/DataGridViewRowEventHandler.xml index b17c103be49..d4b0a71e1e4 100644 --- a/xml/System.Windows.Forms/DataGridViewRowEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewRowEventHandler.xml @@ -77,7 +77,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/CPP/virtual.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowHeadersWidthSizeMode.xml b/xml/System.Windows.Forms/DataGridViewRowHeadersWidthSizeMode.xml index 9a9a907add6..faa35264d8e 100644 --- a/xml/System.Windows.Forms/DataGridViewRowHeadersWidthSizeMode.xml +++ b/xml/System.Windows.Forms/DataGridViewRowHeadersWidthSizeMode.xml @@ -39,7 +39,7 @@ The following code example illustrates the use of this enumeration in a display-only, non-interactive control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewStyleDemo/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AllowUserToAddRows/form1.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowHeightInfoNeededEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowHeightInfoNeededEventArgs.xml index 74dc648519d..9648b277dfa 100644 --- a/xml/System.Windows.Forms/DataGridViewRowHeightInfoNeededEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowHeightInfoNeededEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet351"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet351"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet351"::: ]]> @@ -85,7 +85,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet351"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet351"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet351"::: ]]> @@ -136,7 +136,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet351"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet351"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet351"::: ]]> @@ -187,7 +187,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet351"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet351"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet351"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowHeightInfoPushedEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowHeightInfoPushedEventArgs.xml index a8df0d34420..d6520500a90 100644 --- a/xml/System.Windows.Forms/DataGridViewRowHeightInfoPushedEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowHeightInfoPushedEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet352"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet352"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet352"::: ]]> @@ -87,7 +87,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet352"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet352"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet352"::: ]]> @@ -137,7 +137,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet352"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet352"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet352"::: ]]> @@ -187,7 +187,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet352"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet352"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet352"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowPostPaintEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowPostPaintEventArgs.xml index b4425d60a76..a3cd02cf640 100644 --- a/xml/System.Windows.Forms/DataGridViewRowPostPaintEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowPostPaintEventArgs.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to handle the event to make the content of a cell span the entire row. This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet30"::: ]]> @@ -169,7 +169,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet355"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet355"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet355"::: ]]> @@ -220,7 +220,7 @@ The following code example demonstrates how to use the method to draw a focus around the visible cells of the row. This example is part of a larger example available in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet30"::: ]]> @@ -282,7 +282,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet355"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet355"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet355"::: ]]> @@ -334,7 +334,7 @@ The following code example demonstrates how to use the property to paint a custom background. Although the code actually uses the property, this property is nearly identical to the property of . The variable, `e`, is of type . This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet25"::: ]]> @@ -388,7 +388,7 @@ The following code example demonstrates how to use the to determine the color to use to draw the content. The variable, `e`, is of type . This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet34"::: ]]> @@ -441,7 +441,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet355"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet355"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet355"::: ]]> @@ -489,7 +489,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet355"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet355"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet355"::: ]]> @@ -729,7 +729,7 @@ The following code example demonstrates how to use the property to determine the bounds of the visible cells in a row. This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet30"::: ]]> @@ -782,7 +782,7 @@ The following code example demonstrates how to use the property to access the current row. The code gets the value of the cell at the intersection of the selected row and the third column, and then paints this value over the entire row. The variable, `e`, is of type . This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet35"::: ]]> @@ -833,7 +833,7 @@ The following code example demonstrates how to use the property to determine whether the current row is selected. The variable, `e`, is of type . This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet34"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowPostPaintEventHandler.xml b/xml/System.Windows.Forms/DataGridViewRowPostPaintEventHandler.xml index 69f1d8b19b4..420ff28cf59 100644 --- a/xml/System.Windows.Forms/DataGridViewRowPostPaintEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewRowPostPaintEventHandler.xml @@ -50,7 +50,7 @@ The following code example presents a delegate that paints textual content that spans the entire row below the normal cell values. This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet30"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowPrePaintEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowPrePaintEventArgs.xml index e9d931e6e62..e5426560a5b 100644 --- a/xml/System.Windows.Forms/DataGridViewRowPrePaintEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowPrePaintEventArgs.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to handle the event to draw a custom background for selected cells. This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet20"::: ]]> @@ -169,7 +169,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet356"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet356"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet356"::: ]]> @@ -220,7 +220,7 @@ The following code example demonstrates how to use the method to draw a focus around the visible cells of the row. The code actually uses the method, which is nearly identical to the method of . This example is part of a larger example available in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet30"::: ]]> @@ -283,7 +283,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet356"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet356"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet356"::: ]]> @@ -335,7 +335,7 @@ The following code example demonstrates how to use the property to paint the custom background. The variable, `e`, is of type . This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet25"::: ]]> @@ -389,7 +389,7 @@ The following code example demonstrates how to use the property to paint a custom background for the selected row. The variable, `e`, is of type . This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet25"::: ]]> @@ -442,7 +442,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet356"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet356"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet356"::: ]]> @@ -490,7 +490,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet356"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet356"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet356"::: ]]> @@ -741,7 +741,7 @@ The following code example illustrates the use of this property. This example is part of a larger example available in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet20"::: ]]> @@ -792,7 +792,7 @@ The following code example demonstrates how to use the property to calculate the bounds of the row to paint a custom background. The variable, `e`, is of type . This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet25"::: ]]> @@ -845,7 +845,7 @@ The following code example demonstrates how to use the property to access the current row. Although the code actually uses the property, this property is nearly identical to the property of . The variable, `e`, is of type . This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet35"::: ]]> @@ -896,7 +896,7 @@ The following code example demonstrates how to use the property to determine whether a row is selected. If the row is selected, the code paints a custom background. The variable, `e`, is of type . This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet25"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowPrePaintEventHandler.xml b/xml/System.Windows.Forms/DataGridViewRowPrePaintEventHandler.xml index 528e9ce535e..ea97152467c 100644 --- a/xml/System.Windows.Forms/DataGridViewRowPrePaintEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewRowPrePaintEventHandler.xml @@ -50,7 +50,7 @@ The following code example presents a delegate that paints a gradient row background if the row is selected. This code example is part of a larger example provided in [How to: Customize the Appearance of Rows in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/customize-the-appearance-of-rows-in-the-datagrid). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewRowPainting/VB/datagridviewrowpainting.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/ColumnWidthChanged/datagridviewrowpainting.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowStateChangedEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowStateChangedEventArgs.xml index 9f618073469..bc49e762e1b 100644 --- a/xml/System.Windows.Forms/DataGridViewRowStateChangedEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowStateChangedEventArgs.xml @@ -42,7 +42,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet359"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet359"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet359"::: ]]> @@ -145,7 +145,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet359"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet359"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet359"::: ]]> @@ -194,7 +194,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet359"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet359"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet359"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowsAddedEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowsAddedEventArgs.xml index 3e0455a1f06..da4531ab49a 100644 --- a/xml/System.Windows.Forms/DataGridViewRowsAddedEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowsAddedEventArgs.xml @@ -37,7 +37,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/CPP/virtual.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet20"::: ]]> @@ -129,7 +129,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet357"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet357"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet357"::: ]]> @@ -182,7 +182,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet357"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet357"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet357"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowsAddedEventHandler.xml b/xml/System.Windows.Forms/DataGridViewRowsAddedEventHandler.xml index edab94082d5..6019b6ff84f 100644 --- a/xml/System.Windows.Forms/DataGridViewRowsAddedEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewRowsAddedEventHandler.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/CPP/virtual.cpp" id="Snippet30"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidating/virtual.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView._Virtual/VB/virtual.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidating/virtual.vb" id="Snippet30"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewRowsRemovedEventArgs.xml b/xml/System.Windows.Forms/DataGridViewRowsRemovedEventArgs.xml index fa040d698b1..1aa1a85cfdc 100644 --- a/xml/System.Windows.Forms/DataGridViewRowsRemovedEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewRowsRemovedEventArgs.xml @@ -38,7 +38,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet358"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet358"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet358"::: ]]> @@ -129,7 +129,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet358"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet358"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet358"::: ]]> @@ -177,7 +177,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet358"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet358"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet358"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewSelectionMode.xml b/xml/System.Windows.Forms/DataGridViewSelectionMode.xml index 6652e662baa..0d699b5c102 100644 --- a/xml/System.Windows.Forms/DataGridViewSelectionMode.xml +++ b/xml/System.Windows.Forms/DataGridViewSelectionMode.xml @@ -33,7 +33,7 @@ The following code example illustrates the use of this type. For more information, see [How to: Set the Selection Mode of the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-set-the-selection-mode-of-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet065"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet065"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet065"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewSortCompareEventArgs.xml b/xml/System.Windows.Forms/DataGridViewSortCompareEventArgs.xml index bf0ddd90d33..110bdbbebfc 100644 --- a/xml/System.Windows.Forms/DataGridViewSortCompareEventArgs.xml +++ b/xml/System.Windows.Forms/DataGridViewSortCompareEventArgs.xml @@ -42,7 +42,7 @@ The following code example demonstrates the use of in a multiple column sort. This example is part of a larger example provided in [How to: Customize Sorting in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-customize-sorting-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SortCompare/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.SortCompare/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SortCompare/form1.vb" id="Snippet10"::: ]]> @@ -160,7 +160,7 @@ The following code example demonstrates the use of in a multiple column sort. This example is part of a larger example provided in [How to: Customize Sorting in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-customize-sorting-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SortCompare/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.SortCompare/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SortCompare/form1.vb" id="Snippet10"::: ]]> @@ -217,7 +217,7 @@ The following code example demonstrates the use of in a multiple column sort. This example is part of a larger example provided in [How to: Customize Sorting in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-customize-sorting-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SortCompare/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.SortCompare/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SortCompare/form1.vb" id="Snippet10"::: ]]> @@ -277,7 +277,7 @@ The following code example demonstrates the use of in a multiple column sort. In this example the ID column is used to determine the final order if there are identical values in the sorted column, so no additional sorting will be done if there are duplicate values in the ID column. This example is part of a larger example provided in [How to: Customize Sorting in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-customize-sorting-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SortCompare/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.SortCompare/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SortCompare/form1.vb" id="Snippet10"::: ]]> @@ -330,7 +330,7 @@ The following code example demonstrates the use of in a multiple column sort. This example is part of a larger example provided in [How to: Customize Sorting in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-customize-sorting-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SortCompare/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.SortCompare/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SortCompare/form1.vb" id="Snippet10"::: ]]> @@ -384,7 +384,7 @@ The following code example demonstrates the use of in a multiple column sort. This example is part of a larger example provided in [How to: Customize Sorting in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-customize-sorting-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SortCompare/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.SortCompare/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SortCompare/form1.vb" id="Snippet10"::: ]]> @@ -442,7 +442,7 @@ The following code example demonstrates the use of in a multiple column sort. This example is part of a larger example provided in [How to: Customize Sorting in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-customize-sorting-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SortCompare/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.SortCompare/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SortCompare/form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewSortCompareEventHandler.xml b/xml/System.Windows.Forms/DataGridViewSortCompareEventHandler.xml index 2ffcdce151f..42c5453211f 100644 --- a/xml/System.Windows.Forms/DataGridViewSortCompareEventHandler.xml +++ b/xml/System.Windows.Forms/DataGridViewSortCompareEventHandler.xml @@ -50,7 +50,7 @@ The following code example demonstrates the use of in a multiple column sort. This example is part of a larger example provided in [How to: Customize Sorting in the Windows Forms DataGridView Control](/dotnet/desktop/winforms/controls/how-to-customize-sorting-in-the-windows-forms-datagridview-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/SortCompare/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.SortCompare/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/SortCompare/form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewTextBoxCell.xml b/xml/System.Windows.Forms/DataGridViewTextBoxCell.xml index 714d3812567..e7ae86f5a43 100644 --- a/xml/System.Windows.Forms/DataGridViewTextBoxCell.xml +++ b/xml/System.Windows.Forms/DataGridViewTextBoxCell.xml @@ -45,7 +45,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet120"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet120"::: ]]> @@ -94,7 +94,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet120"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet120"::: ]]> @@ -258,7 +258,7 @@ For additional information, see [What's New in Accessibility in the .NET Framewo The following code example demonstrates how to use the property to determine the type of the cell contents. In this example, the property is used to determine whether the cell contains a before attempting to convert the value. This example is part of a larger example available in the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellValidated/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSelectionSum/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellValidated/form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewTextBoxColumn.xml b/xml/System.Windows.Forms/DataGridViewTextBoxColumn.xml index 640553adde9..5e8890ca38d 100644 --- a/xml/System.Windows.Forms/DataGridViewTextBoxColumn.xml +++ b/xml/System.Windows.Forms/DataGridViewTextBoxColumn.xml @@ -50,7 +50,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridViewAutoSizeColumnMode/Overview/sizingscenarios.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSizingScenarios/vb/sizingscenarios.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridViewAutoSizeColumnMode/Overview/sizingscenarios.vb" id="Snippet20"::: ]]> @@ -157,7 +157,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/CPP/DataGridViewColumnDemo.cpp" id="Snippet120"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/AutoResizeColumn/DataGridViewColumnDemo.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridView.ButtonDemos/VB/datagridviewcolumndemo.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/AutoResizeColumn/datagridviewcolumndemo.vb" id="Snippet120"::: ]]> @@ -280,7 +280,7 @@ The following code example illustrates the use of this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet066"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet066"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet066"::: ]]> diff --git a/xml/System.Windows.Forms/DataGridViewTriState.xml b/xml/System.Windows.Forms/DataGridViewTriState.xml index a186cf0f5ef..d46c87b94f8 100644 --- a/xml/System.Windows.Forms/DataGridViewTriState.xml +++ b/xml/System.Windows.Forms/DataGridViewTriState.xml @@ -33,7 +33,7 @@ The following code example illustrates the use of this type. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.cs" id="Snippet074"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc/VB/datagridviewmisc.vb" id="Snippet074"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/CellBeginEdit/datagridviewmisc.vb" id="Snippet074"::: ]]> diff --git a/xml/System.Windows.Forms/DataObject.xml b/xml/System.Windows.Forms/DataObject.xml index eb40b5ded5f..334e532cae5 100644 --- a/xml/System.Windows.Forms/DataObject.xml +++ b/xml/System.Windows.Forms/DataObject.xml @@ -85,13 +85,13 @@ The class provides additional methods tha :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/Overview/source.vb" id="Snippet1"::: The next example retrieves the data stored in a . First, a new is created with text data. Then, the data is retrieved, specifying its format as a string, and displayed in a text box. The data format is automatically converted from text to string. This code requires that `textBox1` has been created. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/Overview/source.vb" id="Snippet2"::: ]]> @@ -139,7 +139,7 @@ The class provides additional methods tha :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.DataObject2 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.DataObject2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/.ctor/source.vb" id="Snippet1"::: ]]> @@ -188,7 +188,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.DataObject3 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/.ctor/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.DataObject3 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/.ctor/source1.vb" id="Snippet1"::: ]]> @@ -235,7 +235,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.DataObject4 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/.ctor/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.DataObject4 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -592,7 +592,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/Overview/source.vb" id="Snippet1"::: ]]> @@ -662,7 +662,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.GetData2 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/GetData/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetData2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/GetData/source1.vb" id="Snippet1"::: ]]> @@ -744,7 +744,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.GetData Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/GetData/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetData Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/GetData/source.vb" id="Snippet1"::: ]]> @@ -883,7 +883,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.GetDataPresent Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/GetDataPresent/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetDataPresent Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/GetDataPresent/source.vb" id="Snippet1"::: ]]> @@ -966,7 +966,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.GetDataPresent1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/GetDataPresent/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetDataPresent1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/GetDataPresent/source1.vb" id="Snippet1"::: ]]> @@ -1083,7 +1083,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.GetFormats1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/GetFormats/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetFormats1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/GetFormats/source1.vb" id="Snippet1"::: ]]> @@ -1145,7 +1145,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.GetFormats Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/GetFormats/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.GetFormats Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/GetFormats/source.vb" id="Snippet1"::: ]]> @@ -1463,7 +1463,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.SetData3 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/SetData/source3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData3 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source3.vb" id="Snippet1"::: ]]> @@ -1537,7 +1537,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.SetData1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/SetData/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source1.vb" id="Snippet1"::: ]]> @@ -1609,7 +1609,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.SetData2 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/SetData/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source2.vb" id="Snippet1"::: ]]> @@ -1687,7 +1687,7 @@ You can add data in any format to the whe :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DataObject.SetData Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataObject/SetData/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DataObject.SetData Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataObject/SetData/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DateRangeEventArgs.xml b/xml/System.Windows.Forms/DateRangeEventArgs.xml index c76e98448d3..acbe3b3cf83 100644 --- a/xml/System.Windows.Forms/DateRangeEventArgs.xml +++ b/xml/System.Windows.Forms/DateRangeEventArgs.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -135,7 +135,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -182,7 +182,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DateRangeEventHandler.xml b/xml/System.Windows.Forms/DateRangeEventHandler.xml index 9e31fedb7cd..5d6f72dfba8 100644 --- a/xml/System.Windows.Forms/DateRangeEventHandler.xml +++ b/xml/System.Windows.Forms/DateRangeEventHandler.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DateTimePicker.xml b/xml/System.Windows.Forms/DateTimePicker.xml index 65634147946..896874bc441 100644 --- a/xml/System.Windows.Forms/DateTimePicker.xml +++ b/xml/System.Windows.Forms/DateTimePicker.xml @@ -94,7 +94,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DateTimePicker Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DateTimePicker Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/Overview/source.vb" id="Snippet1"::: ]]> @@ -135,7 +135,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DateTimePicker Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DateTimePicker Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/Overview/source.vb" id="Snippet1"::: ]]> @@ -451,7 +451,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DateTimePicker.CalendarFont/CPP/calendarfont.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/CalendarFont/calendarfont.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DateTimePicker.CalendarFont/VB/calendarfont.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/CalendarFont/calendarfont.vb" id="Snippet1"::: ]]> @@ -504,7 +504,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DateTimePicker.CalendarForeColor/CPP/calendarforecolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/CalendarForeColor/calendarforecolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DateTimePicker.CalendarForeColor/VB/calendarforecolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/CalendarForeColor/calendarforecolor.vb" id="Snippet1"::: ]]> @@ -559,7 +559,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/DateTimePicker.CalendarMonthBackground/CPP/calendarmonthbackground.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/CalendarMonthBackground/calendarmonthbackground.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/DateTimePicker.CalendarMonthBackground/VB/calendarmonthbackground.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/CalendarMonthBackground/calendarmonthbackground.vb" id="Snippet1"::: ]]> @@ -841,7 +841,7 @@ To run the example code, paste it into a project that contains an instance of type named `DateTimePicker1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet376"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet376"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet376"::: ]]> @@ -1046,7 +1046,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DateTimePicker.CustomFormat Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/CustomFormat/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DateTimePicker.CustomFormat Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/CustomFormat/source.vb" id="Snippet1"::: ]]> @@ -1377,7 +1377,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DateTimePicker/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/DropDown/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DateTimePicker/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/DropDown/form1.vb" id="Snippet2"::: ]]> @@ -1433,7 +1433,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DateTimePicker/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/DropDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DateTimePicker/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/DropDown/form1.vb" id="Snippet1"::: ]]> @@ -1594,7 +1594,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DateTimePicker.CustomFormat Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/CustomFormat/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DateTimePicker.CustomFormat Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/CustomFormat/source.vb" id="Snippet1"::: ]]> @@ -1642,7 +1642,7 @@ To run the example code, paste it into a project that contains an instance of type named `DateTimePicker1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet374"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet374"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet374"::: ]]> @@ -1725,7 +1725,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DateTimePicker Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DateTimePicker Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/Overview/source.vb" id="Snippet1"::: ]]> @@ -1787,7 +1787,7 @@ The maximum date is set to 12/31/9998 23:59:59. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DateTimePicker/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/DropDown/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DateTimePicker/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/DropDown/form1.vb" id="Snippet2"::: ]]> @@ -1866,7 +1866,7 @@ The maximum date is set to December 31, 9998. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DateTimePicker Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DateTimePicker Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/Overview/source.vb" id="Snippet1"::: ]]> @@ -2775,7 +2775,7 @@ The value assigned is less than the @@ -2863,7 +2863,7 @@ The value assigned is less than the @@ -2917,7 +2917,7 @@ The value assigned is less than the @@ -3100,7 +3100,7 @@ The value assigned is less than the @@ -3150,7 +3150,7 @@ The value assigned is less than the diff --git a/xml/System.Windows.Forms/DateTimePickerFormat.xml b/xml/System.Windows.Forms/DateTimePickerFormat.xml index 32d23a55843..6882c04c66d 100644 --- a/xml/System.Windows.Forms/DateTimePickerFormat.xml +++ b/xml/System.Windows.Forms/DateTimePickerFormat.xml @@ -38,7 +38,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DateTimePicker/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateTimePicker/DropDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DateTimePicker/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateTimePicker/DropDown/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DialogResult.xml b/xml/System.Windows.Forms/DialogResult.xml index 23dde65d0b0..7321231932b 100644 --- a/xml/System.Windows.Forms/DialogResult.xml +++ b/xml/System.Windows.Forms/DialogResult.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MessageBox.Show Variations/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DialogResult/Overview/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Windows.Forms/DockStyle.xml b/xml/System.Windows.Forms/DockStyle.xml index c9a2066d2cc..ed37e973462 100644 --- a/xml/System.Windows.Forms/DockStyle.xml +++ b/xml/System.Windows.Forms/DockStyle.xml @@ -51,7 +51,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/DomainUpDown+DomainUpDownItemCollection.xml b/xml/System.Windows.Forms/DomainUpDown+DomainUpDownItemCollection.xml index 2444d921572..4ad7403a5b4 100644 --- a/xml/System.Windows.Forms/DomainUpDown+DomainUpDownItemCollection.xml +++ b/xml/System.Windows.Forms/DomainUpDown+DomainUpDownItemCollection.xml @@ -42,7 +42,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DomainUpDown.DomainUpDownItemCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DomainUpDown+DomainUpDownItemCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown.DomainUpDownItemCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DomainUpDown+DomainUpDownItemCollection/Overview/source.vb" id="Snippet1"::: ]]> @@ -94,7 +94,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DomainUpDown.DomainUpDownItemCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DomainUpDown+DomainUpDownItemCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown.DomainUpDownItemCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DomainUpDown+DomainUpDownItemCollection/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DomainUpDown.xml b/xml/System.Windows.Forms/DomainUpDown.xml index 6b9f291d13d..e3efe1b0931 100644 --- a/xml/System.Windows.Forms/DomainUpDown.xml +++ b/xml/System.Windows.Forms/DomainUpDown.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DomainUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DomainUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DomainUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -110,7 +110,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DomainUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DomainUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DomainUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -259,7 +259,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DomainUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DomainUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DomainUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -369,7 +369,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DomainUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DomainUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DomainUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -608,7 +608,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DomainUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DomainUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DomainUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -670,7 +670,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DomainUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DomainUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DomainUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -717,7 +717,7 @@ To run the example code, paste it into a project that contains an instance of type named `DomainUpDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet381"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet381"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet381"::: ]]> @@ -776,7 +776,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DomainUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DomainUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DomainUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -944,7 +944,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic DomainUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DomainUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic DomainUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DomainUpDown/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DragAction.xml b/xml/System.Windows.Forms/DragAction.xml index 3c59c2b5c54..6f2908301f5 100644 --- a/xml/System.Windows.Forms/DragAction.xml +++ b/xml/System.Windows.Forms/DragAction.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Windows.Forms/DragDropEffects.xml b/xml/System.Windows.Forms/DragDropEffects.xml index a67cdb7c330..7b6e8d8d142 100644 --- a/xml/System.Windows.Forms/DragDropEffects.xml +++ b/xml/System.Windows.Forms/DragDropEffects.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/DragEventArgs.xml b/xml/System.Windows.Forms/DragEventArgs.xml index c50520496e5..9b0a5b1a237 100644 --- a/xml/System.Windows.Forms/DragEventArgs.xml +++ b/xml/System.Windows.Forms/DragEventArgs.xml @@ -58,7 +58,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet4"::: The following example illustrates how are passed between the source and target of a drag-and-drop operation. In this example, a control is the source of the data, and the control is the target. The example assumes that the control has been populated with a list of valid filenames. When the user drags one of the displayed filenames from the control onto the control, the file referenced in the filename is opened. @@ -66,7 +66,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextDragDrop/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextDragDrop/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form1.vb" id="Snippet1"::: ]]> @@ -223,7 +223,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet4"::: ]]> @@ -284,7 +284,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet4"::: ]]> @@ -374,7 +374,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet4"::: ]]> @@ -447,7 +447,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet4"::: ]]> @@ -555,7 +555,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet4"::: ]]> @@ -610,7 +610,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/DragEventHandler.xml b/xml/System.Windows.Forms/DragEventHandler.xml index 5fcc58e117e..dcbaf19b8cc 100644 --- a/xml/System.Windows.Forms/DragEventHandler.xml +++ b/xml/System.Windows.Forms/DragEventHandler.xml @@ -60,7 +60,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/DrawItemEventArgs.xml b/xml/System.Windows.Forms/DrawItemEventArgs.xml index d27f301298b..9c11f37e654 100644 --- a/xml/System.Windows.Forms/DrawItemEventArgs.xml +++ b/xml/System.Windows.Forms/DrawItemEventArgs.xml @@ -53,7 +53,7 @@ The following example demonstrates how to create owner-drawn items. The code uses the property to specify that the items drawn are fixed sized and the event to perform the drawing of each item into the . The example code uses the properties and methods of the class passed as a parameter to the event handler to draw the items. This example assumes that a control that is named `listBox1` has been added to a form and that the event is handled by the event handler defined in the example code. The example also assumes that items have been added to the with the text of "Apple", "Orange", and "Plum" in that order. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -213,7 +213,7 @@ To run the example code, paste it into a project that contains an instance of type that is named `ListBox1`. Then make sure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet153"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet153"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet153"::: ]]> @@ -259,7 +259,7 @@ The following example demonstrates how to create owner-drawn items. The code uses the property to specify that the items drawn are fixed sized and the event to perform the drawing of each item into the . The example code uses the properties and methods of the class passed as a parameter to the event handler to draw the items. This example assumes that a control that is named `listBox1` has been added to a form and that the event is handled by the event handler defined in the example code. The example also assumes that items have been added to the with the text of "Apple", "Orange", and "Plum" in that order. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -362,7 +362,7 @@ The following example demonstrates how to create owner-drawn items. The code uses the property to specify that the items drawn are a fixed size and the event to perform the drawing of each item into the . The example code uses the properties and methods of the class passed as a parameter to the event handler to draw the items. This example assumes that a control named `listBox1` was added to a form and that the event is handled by the event handler that is defined in the example code. The example also assumes that items were added to the with the text of "Apple", "Orange", and "Plum", in that order. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -410,7 +410,7 @@ The following example demonstrates how to create owner-drawn items. The code uses the property to specify that the items drawn are a fixed size and the event to perform the drawing of each item into the . The example code uses the properties and methods of the class passed as a parameter to the event handler to draw the items. This example assumes that a control named `listBox1` was added to a form and that the event is handled by the event handler that is defined in the example code. The example also assumes that items were added to the with the text of "Apple", "Orange", and "Plum", in that order. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -469,7 +469,7 @@ The following example demonstrates how to create owner-drawn items. The code uses the property to specify that the items drawn are a fixed size and the event to perform the drawing of each item into the . The example code uses the properties and methods of the class passed as a parameter to the event handler to draw the items. This example assumes that a control named `listBox1` was added to a form and that the event is handled by the event handler that is defined in the example code. The example also assumes that items were added to the with the text of "Apple", "Orange", and "Plum", in that order. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -517,7 +517,7 @@ To run the example code, paste it into a project that contains an instance of type that is named `ListBox1`. Then make sure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet153"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet153"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet153"::: ]]> @@ -563,7 +563,7 @@ The following example demonstrates how to create owner-drawn items. The code uses the property to specify that the items drawn are a fixed size and the event to perform the drawing of each item into the . The example code uses the properties and methods of the class passed as a parameter to the event handler to draw the items. This example assumes that a control named `listBox1` was added to a form and that the event is handled by the event handler that is defined in the example code. The example also assumes that items were added to the with the text of "Apple", "Orange", and "Plum", in that order. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -614,7 +614,7 @@ The following example demonstrates how to create owner-drawn items. The code uses the property to specify that the items drawn are a fixed size and the event to perform the drawing of each item into the . The example code uses the properties and methods of the class passed as a parameter to the event handler to draw the items. This example assumes that a control named `listBox1` was added to a form and that the event is handled by the event handler that is defined in the example code. The example also assumes that items were added to the with the text of "Apple", "Orange", and "Plum", in that order. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -667,7 +667,7 @@ To run the example code, paste it into a project that contains an instance of type that is named `ListBox1`. Then make sure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet153"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet153"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet153"::: ]]> diff --git a/xml/System.Windows.Forms/DrawItemEventHandler.xml b/xml/System.Windows.Forms/DrawItemEventHandler.xml index d90f9597aed..5bcd9e948d3 100644 --- a/xml/System.Windows.Forms/DrawItemEventHandler.xml +++ b/xml/System.Windows.Forms/DrawItemEventHandler.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MenuItemOwnerDraw/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventHandler/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MenuItemOwnerDraw/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventHandler/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DrawItemState.xml b/xml/System.Windows.Forms/DrawItemState.xml index fc55c146ca0..537fcac5fd4 100644 --- a/xml/System.Windows.Forms/DrawItemState.xml +++ b/xml/System.Windows.Forms/DrawItemState.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MeasureItemEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemState/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MeasureItemEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemState/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DrawListViewColumnHeaderEventArgs.xml b/xml/System.Windows.Forms/DrawListViewColumnHeaderEventArgs.xml index 268d8061831..956c0c19e01 100644 --- a/xml/System.Windows.Forms/DrawListViewColumnHeaderEventArgs.xml +++ b/xml/System.Windows.Forms/DrawListViewColumnHeaderEventArgs.xml @@ -53,7 +53,7 @@ A component provides a way to switch between the details view and the list view. In the list view, only the event is fired. In this case, the text and background are both drawn in the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet1"::: ]]> @@ -161,7 +161,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet470"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet470"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet470"::: ]]> @@ -212,7 +212,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet5"::: ]]> @@ -262,7 +262,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet470"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet470"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet470"::: ]]> @@ -310,7 +310,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet5"::: ]]> @@ -369,7 +369,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet470"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet470"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet470"::: ]]> @@ -509,7 +509,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet470"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet470"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet470"::: ]]> @@ -558,7 +558,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet470"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet470"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet470"::: ]]> @@ -613,7 +613,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet5"::: ]]> @@ -669,7 +669,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet5"::: ]]> @@ -724,7 +724,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet470"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet470"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet470"::: ]]> diff --git a/xml/System.Windows.Forms/DrawListViewItemEventArgs.xml b/xml/System.Windows.Forms/DrawListViewItemEventArgs.xml index df6486476bd..e31f8949cbf 100644 --- a/xml/System.Windows.Forms/DrawListViewItemEventArgs.xml +++ b/xml/System.Windows.Forms/DrawListViewItemEventArgs.xml @@ -53,7 +53,7 @@ A component provides a way to switch between the details view and the list view. In the list view, only the event is fired. In this case, the text and background are both drawn in the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet1"::: ]]> @@ -146,7 +146,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet3"::: ]]> @@ -247,7 +247,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet471"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet471"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet471"::: ]]> @@ -294,7 +294,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet3"::: ]]> @@ -360,7 +360,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet3"::: ]]> @@ -470,7 +470,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet3"::: ]]> @@ -525,7 +525,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet3"::: ]]> @@ -578,7 +578,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet471"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet471"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet471"::: ]]> @@ -633,7 +633,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/DrawListViewSubItemEventArgs.xml b/xml/System.Windows.Forms/DrawListViewSubItemEventArgs.xml index 055372429a2..e55a8202b45 100644 --- a/xml/System.Windows.Forms/DrawListViewSubItemEventArgs.xml +++ b/xml/System.Windows.Forms/DrawListViewSubItemEventArgs.xml @@ -55,7 +55,7 @@ A component provides a way to switch between the details view and the list view. In the list view, only the event is fired. In this case, the text and background are both drawn in the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet1"::: ]]> @@ -168,7 +168,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet4"::: ]]> @@ -218,7 +218,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet4"::: ]]> @@ -276,7 +276,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet4"::: ]]> @@ -341,7 +341,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet472"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet472"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet472"::: ]]> @@ -501,7 +501,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet4"::: ]]> @@ -564,7 +564,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet4"::: ]]> @@ -615,7 +615,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet4"::: ]]> @@ -676,7 +676,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet472"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet472"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet472"::: ]]> @@ -731,7 +731,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet472"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet472"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet472"::: ]]> @@ -788,7 +788,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet4"::: ]]> @@ -846,7 +846,7 @@ For the complete example, see the overview reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/DrawMode.xml b/xml/System.Windows.Forms/DrawMode.xml index da8a710531a..50754178001 100644 --- a/xml/System.Windows.Forms/DrawMode.xml +++ b/xml/System.Windows.Forms/DrawMode.xml @@ -41,7 +41,7 @@ The following example demonstrates how to create owner-drawn items. The code uses the property to specify that the items drawn are fixed sized and the event to perform the drawing of each item into the . The example uses the properties and methods of the class passed as a parameter to the event handler to draw the items. This example assumes that a control called `listBox1` has been added to a form and that the event is handled by the event handler defined in the example. The example also assumes that items have been added to the with the text of "Apple", "Orange", and "Plum" in that order. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DrawToolTipEventArgs.xml b/xml/System.Windows.Forms/DrawToolTipEventArgs.xml index 7455ef18c31..665c1b159de 100644 --- a/xml/System.Windows.Forms/DrawToolTipEventArgs.xml +++ b/xml/System.Windows.Forms/DrawToolTipEventArgs.xml @@ -43,7 +43,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -170,7 +170,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet5"::: ]]> @@ -225,7 +225,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolTip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet618"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet618"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet618"::: ]]> @@ -278,7 +278,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet3"::: ]]> @@ -324,7 +324,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet4"::: ]]> @@ -370,7 +370,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet4"::: ]]> @@ -433,7 +433,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet4"::: ]]> @@ -530,7 +530,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet4"::: ]]> @@ -593,7 +593,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet2"::: ]]> @@ -646,7 +646,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/DrawToolTipEventHandler.xml b/xml/System.Windows.Forms/DrawToolTipEventHandler.xml index 113eabbdd86..7f88832f5c5 100644 --- a/xml/System.Windows.Forms/DrawToolTipEventHandler.xml +++ b/xml/System.Windows.Forms/DrawToolTipEventHandler.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/DrawTreeNodeEventArgs.xml b/xml/System.Windows.Forms/DrawTreeNodeEventArgs.xml index dcb829ec3ca..d5266f39e00 100644 --- a/xml/System.Windows.Forms/DrawTreeNodeEventArgs.xml +++ b/xml/System.Windows.Forms/DrawTreeNodeEventArgs.xml @@ -51,7 +51,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewOwnerDraw/CPP/treeviewownerdraw.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb" id="Snippet1"::: ]]> @@ -154,7 +154,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewOwnerDraw/CPP/treeviewownerdraw.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb" id="Snippet3"::: ]]> @@ -216,7 +216,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewOwnerDraw/CPP/treeviewownerdraw.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb" id="Snippet3"::: ]]> @@ -270,7 +270,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewOwnerDraw/CPP/treeviewownerdraw.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb" id="Snippet3"::: ]]> @@ -332,7 +332,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewOwnerDraw/CPP/treeviewownerdraw.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb" id="Snippet3"::: ]]> @@ -390,7 +390,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewOwnerDraw/CPP/treeviewownerdraw.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/ErrorBlinkStyle.xml b/xml/System.Windows.Forms/ErrorBlinkStyle.xml index f587331a696..a6c2758eb5d 100644 --- a/xml/System.Windows.Forms/ErrorBlinkStyle.xml +++ b/xml/System.Windows.Forms/ErrorBlinkStyle.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/CPP/errorproviderexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/VB/errorproviderexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ErrorIconAlignment.xml b/xml/System.Windows.Forms/ErrorIconAlignment.xml index 8f7f5ba3e38..72b7ae83c9b 100644 --- a/xml/System.Windows.Forms/ErrorIconAlignment.xml +++ b/xml/System.Windows.Forms/ErrorIconAlignment.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/CPP/errorproviderexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/VB/errorproviderexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ErrorProvider.xml b/xml/System.Windows.Forms/ErrorProvider.xml index 7c56bff2c41..727a361dbba 100644 --- a/xml/System.Windows.Forms/ErrorProvider.xml +++ b/xml/System.Windows.Forms/ErrorProvider.xml @@ -79,13 +79,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/CPP/errorproviderexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/VB/errorproviderexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.vb" id="Snippet1"::: The following code example shows how to use the with a and to indicate a data error to the user. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ErrorProvider Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ErrorProvider/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ErrorProvider Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ErrorProvider/Overview/source.vb" id="Snippet1"::: ]]> @@ -310,7 +310,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/CPP/errorproviderexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/VB/errorproviderexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.vb" id="Snippet1"::: ]]> @@ -363,7 +363,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/CPP/errorproviderexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/VB/errorproviderexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.vb" id="Snippet1"::: ]]> @@ -573,7 +573,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ErrorProvider Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ErrorProvider/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ErrorProvider Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ErrorProvider/Overview/source.vb" id="Snippet1"::: ]]> @@ -643,7 +643,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ErrorProvider Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ErrorProvider/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ErrorProvider Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ErrorProvider/Overview/source.vb" id="Snippet1"::: ]]> @@ -733,7 +733,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/CPP/filedialogform.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/DoEvents/filedialogform.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/VB/filedialogform.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/DoEvents/filedialogform.vb" id="Snippet2"::: ]]> @@ -1062,7 +1062,7 @@ To run the example code, paste it into a project that contains an instance of type named `ErrorProvider1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet382"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet382"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet382"::: ]]> @@ -1120,7 +1120,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/CPP/errorproviderexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/VB/errorproviderexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.vb" id="Snippet1"::: ]]> @@ -1173,7 +1173,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/CPP/errorproviderexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/VB/errorproviderexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.vb" id="Snippet1"::: ]]> @@ -1227,7 +1227,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/CPP/errorproviderexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ErrorProvider/VB/errorproviderexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ErrorBlinkStyle/Overview/errorproviderexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/FeatureSupport.xml b/xml/System.Windows.Forms/FeatureSupport.xml index 803ebff9b5f..6218f8ab3ed 100644 --- a/xml/System.Windows.Forms/FeatureSupport.xml +++ b/xml/System.Windows.Forms/FeatureSupport.xml @@ -48,7 +48,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FeatureSupport/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FeatureSupport/Overview/source.vb" id="Snippet1"::: ]]> @@ -145,7 +145,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FeatureSupport/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FeatureSupport/Overview/source.vb" id="Snippet1"::: ]]> @@ -255,7 +255,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FeatureSupport/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FeatureSupport/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/FileDialog.xml b/xml/System.Windows.Forms/FileDialog.xml index 244ac6046e3..7e452777571 100644 --- a/xml/System.Windows.Forms/FileDialog.xml +++ b/xml/System.Windows.Forms/FileDialog.xml @@ -75,7 +75,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OpenFileDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OpenFileDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/Overview/source.vb" id="Snippet1"::: ]]> @@ -412,7 +412,7 @@ The following code example demonstrates how to use the collection. To run this example, paste the following code into a Windows Form and call `InitializeDialogAndButton` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/CustomPlaces/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialogCommonPlaces/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/CustomPlaces/Form1.vb" id="Snippet1"::: ]]> @@ -465,7 +465,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/DefaultExt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/DefaultExt/form1.vb" id="Snippet1"::: ]]> @@ -586,7 +586,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/DefaultExt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/DefaultExt/form1.vb" id="Snippet1"::: ]]> @@ -643,7 +643,7 @@ The following code example allows the user to select a number of images and display them in controls on a Form. It demonstrates initializing an , setting the and properties, and allowing the user to select multiple files by setting the property to true. This code example assumes that your form already has an control named `openFileDialog1`, a named `SelectFileButton`, and a named `flowLayoutPanel1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/FileNames/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/Form1.vb" id="Snippet1"::: ]]> @@ -688,7 +688,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/CPP/filedialogform.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/DoEvents/filedialogform.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/VB/filedialogform.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/DoEvents/filedialogform.vb" id="Snippet1"::: ]]> @@ -754,7 +754,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OpenFileDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OpenFileDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/Overview/source.vb" id="Snippet1"::: ]]> @@ -820,7 +820,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OpenFileDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OpenFileDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/Overview/source.vb" id="Snippet1"::: ]]> @@ -940,7 +940,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OpenFileDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OpenFileDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/Overview/source.vb" id="Snippet1"::: ]]> @@ -1156,7 +1156,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OpenFileDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OpenFileDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/Overview/source.vb" id="Snippet1"::: ]]> @@ -1371,7 +1371,7 @@ The following code example saves files with the extension ".data.txt". This code example requires that your application host a named `saveFileDialog1` and a named `button1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SupportMultiDottedExtensions/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/SupportMultiDottedExtensions/Form1.vb" id="Snippet1"::: ]]> @@ -1427,7 +1427,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/CPP/filedialogform.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/DoEvents/filedialogform.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialog/VB/filedialogform.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/DoEvents/filedialogform.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Windows.Forms/FileDialogCustomPlace.xml b/xml/System.Windows.Forms/FileDialogCustomPlace.xml index 9f24373fb7f..e1ab74e4e0e 100644 --- a/xml/System.Windows.Forms/FileDialogCustomPlace.xml +++ b/xml/System.Windows.Forms/FileDialogCustomPlace.xml @@ -104,7 +104,7 @@ The following code example demonstrates how to use the method. To run this example, paste the following code into a Windows Form and call `InitializeDialogAndButton` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/CustomPlaces/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialogCommonPlaces/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/CustomPlaces/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/FileDialogCustomPlacesCollection.xml b/xml/System.Windows.Forms/FileDialogCustomPlacesCollection.xml index b8366b1d4fe..08bc21fb05b 100644 --- a/xml/System.Windows.Forms/FileDialogCustomPlacesCollection.xml +++ b/xml/System.Windows.Forms/FileDialogCustomPlacesCollection.xml @@ -54,7 +54,7 @@ The following code example demonstrates how to use the . To run this example, paste the following code into a Windows Form and call `InitializeDialogAndButton` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/CustomPlaces/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialogCommonPlaces/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/CustomPlaces/Form1.vb" id="Snippet1"::: ]]> @@ -150,7 +150,7 @@ The following code example demonstrates how to use the method. To run this example, paste the following code into a Windows Form and call `InitializeDialogAndButton` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/CustomPlaces/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialogCommonPlaces/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/CustomPlaces/Form1.vb" id="Snippet1"::: ]]> @@ -204,7 +204,7 @@ The following code example demonstrates how to use the method. To run this example, paste the following code into a Windows Form and call `InitializeDialogAndButton` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/CustomPlaces/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FileDialogCommonPlaces/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/CustomPlaces/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/FlowDirection.xml b/xml/System.Windows.Forms/FlowDirection.xml index bb889d4ca5f..b23d21bdbc6 100644 --- a/xml/System.Windows.Forms/FlowDirection.xml +++ b/xml/System.Windows.Forms/FlowDirection.xml @@ -38,7 +38,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FlowLayoutPanel/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FlowDirection/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FlowLayoutPanel/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FlowDirection/Overview/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/FlowLayoutPanel.xml b/xml/System.Windows.Forms/FlowLayoutPanel.xml index f177339dbea..308e2e70167 100644 --- a/xml/System.Windows.Forms/FlowLayoutPanel.xml +++ b/xml/System.Windows.Forms/FlowLayoutPanel.xml @@ -79,7 +79,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FlowLayoutPanel/cpp/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FlowDirection/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FlowLayoutPanel/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FlowDirection/Overview/form1.vb" id="Snippet1"::: ]]> @@ -169,7 +169,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FlowLayoutPanel/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FlowDirection/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FlowLayoutPanel/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FlowDirection/Overview/form1.vb" id="Snippet4"::: ]]> @@ -386,7 +386,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FlowLayoutPanel/cpp/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FlowDirection/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FlowLayoutPanel/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FlowDirection/Overview/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/FolderBrowserDialog.xml b/xml/System.Windows.Forms/FolderBrowserDialog.xml index f927cf452fa..2b9ec042501 100644 --- a/xml/System.Windows.Forms/FolderBrowserDialog.xml +++ b/xml/System.Windows.Forms/FolderBrowserDialog.xml @@ -67,7 +67,7 @@ This class provides a way to prompt the user to browse, create, and eventually s :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FolderBrowserDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FolderBrowserDialog/Overview/form1.vb" id="Snippet1"::: ]]> @@ -117,7 +117,7 @@ This class provides a way to prompt the user to browse, create, and eventually s :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FolderBrowserDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FolderBrowserDialog/Overview/form1.vb" id="Snippet1"::: ]]> @@ -288,7 +288,7 @@ This class provides a way to prompt the user to browse, create, and eventually s :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FolderBrowserDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FolderBrowserDialog/Overview/form1.vb" id="Snippet1"::: ]]> @@ -552,7 +552,7 @@ This class provides a way to prompt the user to browse, create, and eventually s :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FolderBrowserDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FolderBrowserDialog/Overview/form1.vb" id="Snippet1"::: ]]> @@ -667,7 +667,7 @@ This class provides a way to prompt the user to browse, create, and eventually s :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FolderBrowserDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FolderBrowserDialog/Overview/form1.vb" id="Snippet1"::: ]]> @@ -797,7 +797,7 @@ When is `tru :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FolderBrowserDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FolderBrowserDialog/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FolderBrowserDialog/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/FontDialog.xml b/xml/System.Windows.Forms/FontDialog.xml index a0136dde14a..6bca2407959 100644 --- a/xml/System.Windows.Forms/FontDialog.xml +++ b/xml/System.Windows.Forms/FontDialog.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic FontDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FontDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic FontDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FontDialog/Overview/source.vb" id="Snippet1"::: ]]> @@ -321,7 +321,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FontDialog/Apply/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FontDialog/Apply/form1.vb" id="Snippet1"::: ]]> @@ -372,7 +372,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic FontDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FontDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic FontDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FontDialog/Overview/source.vb" id="Snippet1"::: ]]> @@ -495,7 +495,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic FontDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FontDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic FontDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FontDialog/Overview/source.vb" id="Snippet1"::: ]]> @@ -552,7 +552,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FontDialog/Apply/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FontDialog/Apply/form1.vb" id="Snippet1"::: ]]> @@ -609,7 +609,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/HookProc Example/CPP/fontdialogoverride.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CommonDialog/HookProc/fontdialogoverride.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/HookProc Example/VB/fontdialogoverride.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CommonDialog/HookProc/fontdialogoverride.vb" id="Snippet1"::: ]]> @@ -672,7 +672,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FontDialog/Apply/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FontDialog/Apply/form1.vb" id="Snippet1"::: ]]> @@ -732,7 +732,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FontDialog/Apply/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FontDialog/Apply/form1.vb" id="Snippet1"::: ]]> @@ -996,7 +996,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/FontDialog.ShowApply/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FontDialog/ShowApply/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/FontDialog.ShowApply/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FontDialog/ShowApply/form1.vb" id="Snippet1"::: ]]> @@ -1054,7 +1054,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic FontDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FontDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic FontDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FontDialog/Overview/source.vb" id="Snippet1"::: ]]> @@ -1113,7 +1113,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FontDialog/Apply/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FontDialogMustExist/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FontDialog/Apply/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Form+ControlCollection.xml b/xml/System.Windows.Forms/Form+ControlCollection.xml index ad2e40e47be..e54a8cc7a6a 100644 --- a/xml/System.Windows.Forms/Form+ControlCollection.xml +++ b/xml/System.Windows.Forms/Form+ControlCollection.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.ControlCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form+ControlCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ControlCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form+ControlCollection/Overview/source.vb" id="Snippet1"::: ]]> @@ -141,7 +141,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.ControlCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form+ControlCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ControlCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form+ControlCollection/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Form.xml b/xml/System.Windows.Forms/Form.xml index ce39460394f..9e137d9a1fc 100644 --- a/xml/System.Windows.Forms/Form.xml +++ b/xml/System.Windows.Forms/Form.xml @@ -96,7 +96,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.AcceptButton Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.AcceptButton Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Overview/source.vb" id="Snippet1"::: ]]> @@ -138,7 +138,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.AcceptButton Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.AcceptButton Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Overview/source.vb" id="Snippet1"::: ]]> @@ -194,7 +194,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.AcceptButton Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.AcceptButton Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Overview/source.vb" id="Snippet1"::: ]]> @@ -241,7 +241,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FormsActivate/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Activate/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FormsActivate/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Activate/form1.vb" id="Snippet1"::: ]]> @@ -294,7 +294,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FormsActivate/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Activate/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FormsActivate/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Activate/form1.vb" id="Snippet1"::: ]]> @@ -388,7 +388,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.ActiveForm Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/ActiveForm/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ActiveForm Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/ActiveForm/source.vb" id="Snippet1"::: ]]> @@ -447,7 +447,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.ActiveMdiChild Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/ActiveMdiChild/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ActiveMdiChild Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/ActiveMdiChild/source.vb" id="Snippet1"::: ]]> @@ -502,7 +502,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.AddOwnedForm/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/AddOwnedForm/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.AddOwnedForm/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/AddOwnedForm/form1.vb" id="Snippet1"::: ]]> @@ -839,7 +839,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.AutoScroll/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/AutoScroll/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoScroll/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/AutoScroll/form1.vb" id="Snippet1"::: ]]> @@ -903,7 +903,7 @@ The following example shows a form created using code that automatically resizes to fit its contents. When run, the form displays a , a for entering a URL, and a for displaying that URL inside of the user's default Web browser. The example uses a to lay out the contained controls one after the other. It also sets the and to grow and shrink to fit the contents of its form. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AutoSizeMode/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -1000,7 +1000,7 @@ The following example shows a form created using code that automatically resizes to fit its contents. When run, the form displays a , a for entering a URL, and a for displaying that URL inside of the user's default Web browser. The example uses a to lay out the contained controls one after the other. It also sets the and to grow and shrink to fit the contents of its form. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AutoSizeMode/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.AutoSize/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AutoSizeMode/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -1169,7 +1169,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.AcceptButton Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.AcceptButton Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Overview/source.vb" id="Snippet1"::: ]]> @@ -1315,7 +1315,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.ClientSize Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/ClientSize/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ClientSize Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/ClientSize/source.vb" id="Snippet1"::: ]]> @@ -1436,7 +1436,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FormsActivate/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Activate/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FormsActivate/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Activate/form1.vb" id="Snippet1"::: ]]> @@ -1514,7 +1514,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.Closing/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Closing/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.Closing/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Closing/form1.vb" id="Snippet1"::: ]]> @@ -1573,7 +1573,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.ControlBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/ControlBox/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ControlBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/ControlBox/source.vb" id="Snippet1"::: ]]> @@ -1764,7 +1764,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet393"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet393"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet393"::: ]]> @@ -1932,7 +1932,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.DesktopBounds Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/DesktopBounds/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.DesktopBounds Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/DesktopBounds/source.vb" id="Snippet1"::: ]]> @@ -1994,7 +1994,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.DesktopLocation Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/DesktopLocation/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.DesktopLocation Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/DesktopLocation/source.vb" id="Snippet1"::: ]]> @@ -2064,7 +2064,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.DialogResult Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/DialogResult/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.DialogResult Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/DialogResult/source.vb" id="Snippet1"::: ]]> @@ -2277,7 +2277,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.AcceptButton Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.AcceptButton Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Overview/source.vb" id="Snippet1"::: ]]> @@ -2480,7 +2480,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet395"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet395"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet395"::: ]]> @@ -2543,7 +2543,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet394"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet394"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet394"::: ]]> @@ -2812,7 +2812,7 @@ To display a Help button, the value of the form's @@ -2873,7 +2873,7 @@ To display a Help button, the value of the form's named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet388"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet388"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet388"::: ]]> @@ -2975,7 +2975,7 @@ To display a Help button, the value of the form's named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet400"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet400"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet400"::: ]]> @@ -3025,7 +3025,7 @@ To display a Help button, the value of the form's named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet401"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet401"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet401"::: ]]> @@ -3158,7 +3158,7 @@ To display a Help button, the value of the form's property as well as changing the `BackColor` property of an MDI Form. To run this example, paste the following code in a new form. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/IsMdiContainer/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MdiClientExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/IsMdiContainer/form1.vb" id="Snippet1"::: ]]> @@ -3268,7 +3268,7 @@ To display a Help button, the value of the form's @@ -3319,7 +3319,7 @@ To display a Help button, the value of the form's @@ -3367,7 +3367,7 @@ To display a Help button, the value of the form's @@ -3599,7 +3599,7 @@ To display a Help button, the value of the form's @@ -3686,7 +3686,7 @@ To display a Help button, the value of the form's named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet389"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet389"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet389"::: ]]> @@ -3750,7 +3750,7 @@ To display a Help button, the value of the form's @@ -3800,7 +3800,7 @@ To display a Help button, the value of the form's named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet390"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet390"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet390"::: ]]> @@ -3850,7 +3850,7 @@ To display a Help button, the value of the form's named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet397"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet397"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet397"::: ]]> @@ -3912,7 +3912,7 @@ To display a Help button, the value of the form's @@ -4018,7 +4018,7 @@ By default Windows Forms anchors MDI children to the bottom left of the parent f :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.MDIParent/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/MdiParent/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.MDIParent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/MdiParent/form1.vb" id="Snippet1"::: ]]> @@ -4100,7 +4100,7 @@ By default Windows Forms anchors MDI children to the bottom left of the parent f :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic MainMenu.MainMenu Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Menu/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic MainMenu.MainMenu Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Menu/source.vb" id="Snippet1"::: ]]> @@ -4157,7 +4157,7 @@ By default Windows Forms anchors MDI children to the bottom left of the parent f To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet398"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet398"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet398"::: ]]> @@ -4212,7 +4212,7 @@ By default Windows Forms anchors MDI children to the bottom left of the parent f To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet399"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet399"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet399"::: ]]> @@ -4332,7 +4332,7 @@ By default Windows Forms anchors MDI children to the bottom left of the parent f :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.AcceptButton Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.AcceptButton Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Overview/source.vb" id="Snippet1"::: ]]> @@ -4434,7 +4434,7 @@ By default Windows Forms anchors MDI children to the bottom left of the parent f To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet391"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet391"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet391"::: ]]> @@ -4496,7 +4496,7 @@ By default Windows Forms anchors MDI children to the bottom left of the parent f :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.Modal/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Modal/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.Modal/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Modal/form1.vb" id="Snippet1"::: ]]> @@ -4706,7 +4706,7 @@ By default Windows Forms anchors MDI children to the bottom left of the parent f :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Drawing/Color/Overview/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.PointsAndSizes/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing/Color/Overview/form1.vb" id="Snippet6"::: ]]> @@ -4782,7 +4782,7 @@ By default Windows Forms anchors MDI children to the bottom left of the parent f :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.Closing/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Closing/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.Closing/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Closing/form1.vb" id="Snippet1"::: ]]> @@ -6496,7 +6496,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.Opacity/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Opacity/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.Opacity/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Opacity/form1.vb" id="Snippet1"::: ]]> @@ -6562,7 +6562,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.OwnedForms/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/OwnedForms/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.OwnedForms/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/OwnedForms/form1.vb" id="Snippet1"::: ]]> @@ -6958,7 +6958,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet404"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet404"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet404"::: ]]> @@ -7021,7 +7021,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet405"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet405"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet405"::: ]]> @@ -7195,7 +7195,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet402"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet402"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet402"::: ]]> @@ -7488,7 +7488,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FormExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/MaximumSize/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FormExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/MaximumSize/form1.vb" id="Snippet2"::: ]]> @@ -7539,7 +7539,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.FormsActivate/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Activate/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.FormsActivate/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Activate/form1.vb" id="Snippet1"::: ]]> @@ -7798,7 +7798,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.ShowDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/ShowDialog/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ShowDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/ShowDialog/source.vb" id="Snippet1"::: ]]> @@ -7870,7 +7870,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.ShowDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/ShowDialog/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.ShowDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/ShowDialog/source.vb" id="Snippet1"::: ]]> @@ -8104,7 +8104,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.ShowInTaskbar/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/ShowInTaskbar/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.ShowInTaskbar/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/ShowInTaskbar/form1.vb" id="Snippet1"::: ]]> @@ -8151,7 +8151,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet403"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet403"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet403"::: ]]> @@ -8270,7 +8270,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.Opacity/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Opacity/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.Opacity/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Opacity/form1.vb" id="Snippet1"::: ]]> @@ -8325,7 +8325,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.SizeGripStyle/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/SizeGripStyle/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.SizeGripStyle/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/SizeGripStyle/form1.vb" id="Snippet1"::: ]]> @@ -8385,7 +8385,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.StartPosition Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/StartPosition/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.StartPosition Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/StartPosition/source.vb" id="Snippet1"::: ]]> @@ -8660,7 +8660,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.Modal/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/Modal/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.Modal/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/Modal/form1.vb" id="Snippet1"::: ]]> @@ -8714,7 +8714,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Form.TopMost/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/TopMost/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Form.TopMost/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/TopMost/form1.vb" id="Snippet1"::: ]]> @@ -8792,7 +8792,7 @@ This example assumes that the `CreateMyOpaqueForm` method is called from another :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Form.TransparencyKey Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Form/TransparencyKey/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Form.TransparencyKey Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Form/TransparencyKey/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/FormBorderStyle.xml b/xml/System.Windows.Forms/FormBorderStyle.xml index 2b9dbe40aea..f09392c27be 100644 --- a/xml/System.Windows.Forms/FormBorderStyle.xml +++ b/xml/System.Windows.Forms/FormBorderStyle.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/FormBorderStyle/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FormBorderStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/FormBorderStyle/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FormBorderStyle/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/FormClosedEventArgs.xml b/xml/System.Windows.Forms/FormClosedEventArgs.xml index 59cf319b237..496cba9163a 100644 --- a/xml/System.Windows.Forms/FormClosedEventArgs.xml +++ b/xml/System.Windows.Forms/FormClosedEventArgs.xml @@ -38,7 +38,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet395"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet395"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet395"::: ]]> @@ -138,7 +138,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet395"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet395"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet395"::: ]]> diff --git a/xml/System.Windows.Forms/FormClosingEventArgs.xml b/xml/System.Windows.Forms/FormClosingEventArgs.xml index 352c4497ef1..a3b9134e1e3 100644 --- a/xml/System.Windows.Forms/FormClosingEventArgs.xml +++ b/xml/System.Windows.Forms/FormClosingEventArgs.xml @@ -40,7 +40,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet394"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet394"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet394"::: ]]> @@ -143,7 +143,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet394"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet394"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet394"::: ]]> diff --git a/xml/System.Windows.Forms/FormStartPosition.xml b/xml/System.Windows.Forms/FormStartPosition.xml index a152b6271d9..27b6c76bc9b 100644 --- a/xml/System.Windows.Forms/FormStartPosition.xml +++ b/xml/System.Windows.Forms/FormStartPosition.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/FormStartPosition/CPP/formstartposition.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FormStartPosition/Overview/formstartposition.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/FormStartPosition/VB/formstartposition.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FormStartPosition/Overview/formstartposition.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/FormWindowState.xml b/xml/System.Windows.Forms/FormWindowState.xml index e63ab12b7ef..fec650f0e86 100644 --- a/xml/System.Windows.Forms/FormWindowState.xml +++ b/xml/System.Windows.Forms/FormWindowState.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/FormWindowState/CPP/formwindowstate.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FormWindowState/Overview/formwindowstate.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/FormWindowState/VB/formwindowstate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FormWindowState/Overview/formwindowstate.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/FrameStyle.xml b/xml/System.Windows.Forms/FrameStyle.xml index 8414d3bcfa5..6e83de87790 100644 --- a/xml/System.Windows.Forms/FrameStyle.xml +++ b/xml/System.Windows.Forms/FrameStyle.xml @@ -37,7 +37,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseButtons/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RectangleToScreen/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseButtons/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/GiveFeedbackEventArgs.xml b/xml/System.Windows.Forms/GiveFeedbackEventArgs.xml index 5c8d06707d9..f9674d4f4c4 100644 --- a/xml/System.Windows.Forms/GiveFeedbackEventArgs.xml +++ b/xml/System.Windows.Forms/GiveFeedbackEventArgs.xml @@ -56,7 +56,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet3"::: ]]> @@ -234,7 +234,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet3"::: ]]> @@ -298,7 +298,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/GiveFeedbackEventHandler.xml b/xml/System.Windows.Forms/GiveFeedbackEventHandler.xml index 3a253c0bed9..fad193ca6e4 100644 --- a/xml/System.Windows.Forms/GiveFeedbackEventHandler.xml +++ b/xml/System.Windows.Forms/GiveFeedbackEventHandler.xml @@ -60,7 +60,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/GridColumnStylesCollection.xml b/xml/System.Windows.Forms/GridColumnStylesCollection.xml index cb39f5dc35e..aa1b0cc5c18 100644 --- a/xml/System.Windows.Forms/GridColumnStylesCollection.xml +++ b/xml/System.Windows.Forms/GridColumnStylesCollection.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic GridColumnStylesCollection Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GridColumnStylesCollection/Overview/Source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Overview/source.vb" id="Snippet1"::: ]]> @@ -125,7 +125,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GridTableStylesCollectionExamples/CPP/gridtablestylescollectionexamples.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GridTableStylesCollectionExamples/VB/gridtablestylescollectionexamples.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.vb" id="Snippet1"::: ]]> @@ -163,7 +163,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic GridColumnStylesCollection.AddRange Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GridColumnStylesCollection/AddRange/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.AddRange Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/AddRange/source.vb" id="Snippet1"::: ]]> @@ -198,7 +198,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GridColumnStylesCollection_Members/CPP/gridcolumnstylescollection_members.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GridColumnStylesCollection/Clear/gridcolumnstylescollection_members.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GridColumnStylesCollection_Members/VB/gridcolumnstylescollection_members.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Clear/gridcolumnstylescollection_members.vb" id="Snippet1"::: ]]> @@ -291,7 +291,7 @@ ## Examples The following code example uses the method to determine if a with a given exists in the . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.Contains2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Contains/source2.vb" id="Snippet1"::: ]]> @@ -338,7 +338,7 @@ ## Examples The following code example uses the method to determine if a contains a specific . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.Contains1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Contains/source1.vb" id="Snippet1"::: ]]> @@ -394,7 +394,7 @@ ## Examples The following code example uses the method to determine if a contains a associated with a specified . - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.Contains Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Contains/source.vb" id="Snippet1"::: ]]> @@ -440,7 +440,7 @@ ## Examples The following code example uses the method to determine if a given exists in a . If so, the method returns the index of the , and the method is invoked with the index to remove the element from the collection. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.IndexOf Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/IndexOf/source.vb" id="Snippet1"::: ]]> @@ -495,7 +495,7 @@ ## Examples The following code example gets the using the property. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.this Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Item/source.vb" id="Snippet1"::: ]]> @@ -539,7 +539,7 @@ ## Examples The following code example returns the named in the property. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.this1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Item/source1.vb" id="Snippet1"::: ]]> @@ -588,7 +588,7 @@ ## Examples The following code example gets a from a in a , and then passes it as an argument to the method. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.this2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Item/source2.vb" id="Snippet1"::: ]]> @@ -705,7 +705,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GridColumnStylesCollection_RemoveAt/CPP/gridcolumnstylescollection_removeat.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GridColumnStylesCollection/Remove/gridcolumnstylescollection_removeat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GridColumnStylesCollection_RemoveAt/VB/gridcolumnstylescollection_removeat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/Remove/gridcolumnstylescollection_removeat.vb" id="Snippet1"::: ]]> @@ -752,7 +752,7 @@ ## Examples The following code example uses the method to determine if a given exists in a . If so, the method returns the index of the , and the method is invoked with the index to remove the element from the collection. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridColumnStylesCollection.IndexOf Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/IndexOf/source.vb" id="Snippet1"::: ]]> @@ -789,7 +789,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GridColumnStylesCollection_ResetPropertyDescriptor/CPP/resetpropertydescriptor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GridColumnStylesCollection/ResetPropertyDescriptors/gridcolumnstylescollection_resetpropertydescriptor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GridColumnStylesCollection_ResetPropertyDescriptor/VB/gridcolumnstylescollection_resetpropertydescriptor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridColumnStylesCollection/ResetPropertyDescriptors/gridcolumnstylescollection_resetpropertydescriptor.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/GridTableStylesCollection.xml b/xml/System.Windows.Forms/GridTableStylesCollection.xml index 4ff9ee4094a..b69fd5aeca1 100644 --- a/xml/System.Windows.Forms/GridTableStylesCollection.xml +++ b/xml/System.Windows.Forms/GridTableStylesCollection.xml @@ -66,7 +66,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GridTableStylesCollectionExamples/CPP/gridtablestylescollectionexamples.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GridTableStylesCollectionExamples/VB/gridtablestylescollectionexamples.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.vb" id="Snippet1"::: ]]> @@ -107,7 +107,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GridTableStylesCollectionExamples/CPP/gridtablestylescollectionexamples.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GridTableStylesCollectionExamples/VB/gridtablestylescollectionexamples.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.vb" id="Snippet4"::: ]]> @@ -145,7 +145,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GridTableStylesCollectionExamples/CPP/gridtablestylescollectionexamples.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GridTableStylesCollectionExamples/VB/gridtablestylescollectionexamples.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.vb" id="Snippet5"::: ]]> @@ -180,7 +180,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic GridTableStylesCollection.Clear Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GridTableStylesCollection/Clear/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridTableStylesCollection.Clear Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridTableStylesCollection/Clear/source.vb" id="Snippet1"::: ]]> @@ -219,7 +219,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic GridTableStylesCollection.CollectionChanged Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GridTableStylesCollection/CollectionChanged/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GridTableStylesCollection.CollectionChanged Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GridTableStylesCollection/CollectionChanged/source.vb" id="Snippet1"::: ]]> @@ -268,7 +268,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GridTableStylesCollectionExamples/CPP/gridtablestylescollectionexamples.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GridTableStylesCollectionExamples/VB/gridtablestylescollectionexamples.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.vb" id="Snippet6"::: ]]> @@ -350,7 +350,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GridTableStylesCollectionExamples/CPP/gridtablestylescollectionexamples.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GridTableStylesCollectionExamples/VB/gridtablestylescollectionexamples.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.vb" id="Snippet2"::: ]]> @@ -397,7 +397,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GridTableStylesCollectionExamples/CPP/gridtablestylescollectionexamples.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GridTableStylesCollectionExamples/VB/gridtablestylescollectionexamples.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridColumnStyle/MappingName/gridtablestylescollectionexamples.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/GroupBox.xml b/xml/System.Windows.Forms/GroupBox.xml index f1b92253bf7..c844a5a070e 100644 --- a/xml/System.Windows.Forms/GroupBox.xml +++ b/xml/System.Windows.Forms/GroupBox.xml @@ -78,7 +78,7 @@ The following code example instantiates and creates a and two controls. The radio buttons are added to the group box and the group box is added to the . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GroupBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GroupBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GroupBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -121,7 +121,7 @@ The following code example instantiates and creates a and two controls. The option buttons (also known as radio buttons) are added to the group box, and the group box is added to the . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GroupBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GroupBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GroupBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -259,7 +259,7 @@ To run the example code, paste it into a project that contains an instance of type named `GroupBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet406"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet406"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet406"::: ]]> @@ -604,7 +604,7 @@ The following code example instantiates and creates a and two controls. The option buttons (also known as radio buttons) are added to the group box and the group box is added to the . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GroupBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic GroupBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GroupBox/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/GroupBoxRenderer.xml b/xml/System.Windows.Forms/GroupBoxRenderer.xml index 0d71e1249c9..b0dad406407 100644 --- a/xml/System.Windows.Forms/GroupBoxRenderer.xml +++ b/xml/System.Windows.Forms/GroupBoxRenderer.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRenderer/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GroupBoxRenderer/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRenderer/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GroupBoxRenderer/Overview/form1.vb" id="Snippet0"::: ]]> @@ -113,7 +113,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GroupBoxRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GroupBoxRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -182,7 +182,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GroupBoxRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GroupBoxRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -480,7 +480,7 @@ The following code example uses the property to change whether a group box is rendered using visual styles. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/GroupBoxRenderer/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.GroupBoxRenderer/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/GroupBoxRenderer/Overview/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/HScrollBar.xml b/xml/System.Windows.Forms/HScrollBar.xml index 5fd1e9da03b..1ebe6460333 100644 --- a/xml/System.Windows.Forms/HScrollBar.xml +++ b/xml/System.Windows.Forms/HScrollBar.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic HScrollBar Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HScrollBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic HScrollBar Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HScrollBar/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/HandledMouseEventArgs.xml b/xml/System.Windows.Forms/HandledMouseEventArgs.xml index e1d74808c05..39967f3e72a 100644 --- a/xml/System.Windows.Forms/HandledMouseEventArgs.xml +++ b/xml/System.Windows.Forms/HandledMouseEventArgs.xml @@ -33,7 +33,7 @@ ## Examples The following code example demonstrates how to mark the mouse wheel event as handled in a custom control. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/MouseWheelControl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/MouseWheelControl.vb" id="Snippet1"::: ]]> @@ -177,7 +177,7 @@ ## Examples The following code example demonstrates how to mark the mouse wheel event as handled in a custom control. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HandledMouseEventArgs/VB/MouseWheelControl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HandledMouseEventArgs/Overview/MouseWheelControl.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Help.xml b/xml/System.Windows.Forms/Help.xml index 441daceb394..4bdf6b61107 100644 --- a/xml/System.Windows.Forms/Help.xml +++ b/xml/System.Windows.Forms/Help.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Help/CPP/helpsnippet.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Help/Overview/helpsnippet.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Help/VB/helpsnippet.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Help/Overview/helpsnippet.vb" id="Snippet1"::: ]]> @@ -120,7 +120,7 @@ The `url` argument can be of the form *C:\path\sample.chm* or */folder/file.htm* :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Help/ShowHelp/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Help/ShowHelp/form1.vb" id="Snippet1"::: ]]> @@ -179,7 +179,7 @@ If `keyword` is `null`, the table of contents for the Help file will be displaye :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Help/CPP/helpsnippet.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Help/Overview/helpsnippet.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Help/VB/helpsnippet.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Help/Overview/helpsnippet.vb" id="Snippet4"::: ]]> @@ -240,7 +240,7 @@ Compiled Help files provide table of contents, index, search, and keyword links :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Help/ShowHelp/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Help/ShowHelp/form1.vb" id="Snippet2"::: ]]> @@ -308,7 +308,7 @@ Compiled Help files provide table-of-contents, index, search, and keyword links :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Help/CPP/helpsnippet.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Help/Overview/helpsnippet.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Help/VB/helpsnippet.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Help/Overview/helpsnippet.vb" id="Snippet3"::: ]]> @@ -372,7 +372,7 @@ Compiled Help files provide table-of-contents, index, search, and keyword links :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Help/CPP/helpsnippet.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Help/Overview/helpsnippet.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Help/VB/helpsnippet.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Help/Overview/helpsnippet.vb" id="Snippet2"::: ]]> @@ -428,7 +428,7 @@ Compiled Help files provide table-of-contents, index, search, and keyword links :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyUp/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/Bottom/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyUp/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/Bottom/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/HelpEventArgs.xml b/xml/System.Windows.Forms/HelpEventArgs.xml index d803e495783..aecdf63c9d3 100644 --- a/xml/System.Windows.Forms/HelpEventArgs.xml +++ b/xml/System.Windows.Forms/HelpEventArgs.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpEventHandler/CPP/helpevent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/HelpRequested/helpevent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpEventHandler/VB/helpevent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/HelpRequested/helpevent.vb" id="Snippet1"::: ]]> @@ -138,7 +138,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpEventHandler/CPP/helpevent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/HelpRequested/helpevent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpEventHandler/VB/helpevent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/HelpRequested/helpevent.vb" id="Snippet1"::: ]]> @@ -190,7 +190,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet39"::: ]]> diff --git a/xml/System.Windows.Forms/HelpEventHandler.xml b/xml/System.Windows.Forms/HelpEventHandler.xml index 5105fcc6991..61316a25024 100644 --- a/xml/System.Windows.Forms/HelpEventHandler.xml +++ b/xml/System.Windows.Forms/HelpEventHandler.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpEventHandler/CPP/helpevent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/HelpRequested/helpevent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpEventHandler/VB/helpevent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/HelpRequested/helpevent.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/HelpNavigator.xml b/xml/System.Windows.Forms/HelpNavigator.xml index 506b03c11ff..14301fb8fba 100644 --- a/xml/System.Windows.Forms/HelpNavigator.xml +++ b/xml/System.Windows.Forms/HelpNavigator.xml @@ -39,7 +39,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Help/CPP/helpsnippet.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Help/Overview/helpsnippet.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Help/VB/helpsnippet.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Help/Overview/helpsnippet.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/HelpProvider.xml b/xml/System.Windows.Forms/HelpProvider.xml index 4f216fb5dd1..4b1130f8298 100644 --- a/xml/System.Windows.Forms/HelpProvider.xml +++ b/xml/System.Windows.Forms/HelpProvider.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/CPP/helpprovider.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/Overview/helpprovider.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/VB/helpprovider.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/Overview/helpprovider.vb" id="Snippet1"::: ]]> @@ -114,7 +114,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/CPP/helpprovider.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/Overview/helpprovider.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/VB/helpprovider.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/Overview/helpprovider.vb" id="Snippet1"::: ]]> @@ -311,7 +311,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.KeyEventsHelpAndErrors/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/GetHelpString/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.KeyEventsHelpAndErrors/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/GetHelpString/form1.vb" id="Snippet1"::: ]]> @@ -448,7 +448,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/CPP/helpprovider.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/Overview/helpprovider.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/VB/helpprovider.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/Overview/helpprovider.vb" id="Snippet1"::: ]]> @@ -588,7 +588,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.vb" id="Snippet1"::: ]]> @@ -652,7 +652,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/CPP/helpprovider.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/Overview/helpprovider.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/VB/helpprovider.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/Overview/helpprovider.vb" id="Snippet1"::: ]]> @@ -708,7 +708,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/CPP/helpprovider.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/Overview/helpprovider.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProvider/VB/helpprovider.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/Overview/helpprovider.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/HorizontalAlignment.xml b/xml/System.Windows.Forms/HorizontalAlignment.xml index 00fc60c7228..ede217e613e 100644 --- a/xml/System.Windows.Forms/HorizontalAlignment.xml +++ b/xml/System.Windows.Forms/HorizontalAlignment.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/HorizontalAlignment/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HorizontalAlignment/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/HorizontalAlignment/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HorizontalAlignment/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/HtmlDocument.xml b/xml/System.Windows.Forms/HtmlDocument.xml index 5df6ab4900e..2f976366bb3 100644 --- a/xml/System.Windows.Forms/HtmlDocument.xml +++ b/xml/System.Windows.Forms/HtmlDocument.xml @@ -71,7 +71,7 @@ The following code example uses data from the Northwind database to create an `HTML TABLE` dynamically using . The method is also used, first to add cells (`TD` elements) to rows (`TR` elements), then to add rows to the table, and finally to append the table to the end of the current document. The code example requires that your application has a control named `WebBrowser1`. The code should be called after a document has been loaded. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet10"::: ]]> @@ -205,7 +205,7 @@ The following code example iterates through all of the elements in a document and sets `Enabled=True`, enabling any elements that may have been disabled by default to prevent user input while the document was loading. The code example requires that your application contains a control named `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -346,7 +346,7 @@ The following code example creates a new `DIV` element and appends it to the bottom of the document using the method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet13"::: ]]> @@ -396,7 +396,7 @@ The following code example detects a click on the document, finds the element, and uses to align the element with the top of the Web page. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet7"::: ]]> @@ -550,7 +550,7 @@ The following code example uses data from the Northwind database to create an HTML table using . The method is also used, first to add cells (`TD` elements) to rows (`TR` elements), then to add rows to the table, and finally to append the table to the end of the current document. The code example requires that your application has a control called `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet10"::: ]]> @@ -712,7 +712,7 @@ The following code example casts the to an `IHTMLDocument2` pointer and displays the value of the `lastModified` property, which tells when the owner of the document last updated its contents. The code example requires that you have a on your form named `Button6`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -950,7 +950,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet424"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet424"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet424"::: ]]> @@ -1037,7 +1037,7 @@ The following code example iterates through all of the `Form` elements on a Web page and clears all user input, setting the forms back to their default values. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet4"::: ]]> @@ -1087,7 +1087,7 @@ The following code example retrieves a named `TABLE` from a document, counts up the number of rows, and displays the result in the Web page. The code example requires that you have a control in your project named `WebBrowser1`, and that you have loaded a Web page with a `TABLE` whose `ID` attribute is `Table1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet5"::: ]]> @@ -1136,7 +1136,7 @@ The following code example detects a click on the document, finds the element, and uses to align the element with the top of the Web page. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet7"::: ]]> @@ -1179,7 +1179,7 @@ HTML pages often use the `META` tag to embed arbitrary information about the document. The following HTML code example retrieves all of the `META` tags within an HTML document, finds the `META` tag with the name `Description`, and displays it to the user. The code example requires that your application has a control named `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet6"::: ]]> @@ -1254,7 +1254,7 @@ The following code example examines the `ALT` attribute of all of the images in the document, and sets a default `ALT` attribute if a value is not already set. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet8"::: ]]> @@ -1289,7 +1289,7 @@ window.alert("Name is " + name + "; address is " + address); ``` :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet9"::: ]]> @@ -1380,7 +1380,7 @@ window.alert("Name is " + name + "; address is " + address); ``` :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet12"::: ]]> @@ -1453,7 +1453,7 @@ window.alert("Name is " + name + "; address is " + address); ``` :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet9"::: ]]> @@ -1581,7 +1581,7 @@ window.alert("Name is " + name + "; address is " + address); To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet425"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet425"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet425"::: ]]> @@ -1635,7 +1635,7 @@ window.alert("Name is " + name + "; address is " + address); To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet426"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet426"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet426"::: ]]> @@ -1687,7 +1687,7 @@ window.alert("Name is " + name + "; address is " + address); To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet427"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet427"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet427"::: ]]> @@ -1739,7 +1739,7 @@ window.alert("Name is " + name + "; address is " + address); To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet428"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet428"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet428"::: ]]> @@ -1791,7 +1791,7 @@ window.alert("Name is " + name + "; address is " + address); To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet429"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet429"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet429"::: ]]> @@ -1843,7 +1843,7 @@ window.alert("Name is " + name + "; address is " + address); To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet430"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet430"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet430"::: ]]> @@ -1968,7 +1968,7 @@ window.alert("Name is " + name + "; address is " + address); The following code example prepares the DOM for writing and writes a new document using the method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet11"::: ]]> @@ -2104,7 +2104,7 @@ window.alert("Name is " + name + "; address is " + address); The following code example creates an HTML hyperlink to the current document using the URL of the document as the link's location and the title of the document as the link text. The code example requires that your application has a control named `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet14"::: ]]> @@ -2278,7 +2278,7 @@ window.alert("Name is " + name + "; address is " + address); The following code example opens a new and writes in a new HTML file. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet11"::: ]]> diff --git a/xml/System.Windows.Forms/HtmlElement.xml b/xml/System.Windows.Forms/HtmlElement.xml index 585fcc34003..0a7916b50b8 100644 --- a/xml/System.Windows.Forms/HtmlElement.xml +++ b/xml/System.Windows.Forms/HtmlElement.xml @@ -48,7 +48,7 @@ The following code example shows how to examine an arbitrary HTML document and derive a string describing the HTML elements, with indentation and level numbers used to indicate how deeply nested the elements are in the document. This code example requires that your application hosts a control named `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -154,7 +154,7 @@ The following code example creates a new hyperlink using the method and adds it to end of a page using `AppendChild` on the `BODY` element. The example requires that your application contains a control named `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet8"::: ]]> @@ -245,7 +245,7 @@ The following code example handles the event on . If an element was not previous selected using a mouse click, the code assigns the element to a private class variable named `MoveElement`. If an element was selected, the code attempts to append it to the element that was just clicked. This code example requires that your application hosts a control named `WebBrowser1`, and that you have already added an event handler for the event on . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -300,7 +300,7 @@ The following code example examines an arbitrary HTML document and derive a string describing the elements, with indentation and level numbers used to indicate how deeply nested the elements are in the document. It does this by searching the `Children` collection of all elements recursively, starting with the HTML element at the top of the document. This code example requires that your application has a control named `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -350,7 +350,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet432"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet432"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet432"::: ]]> @@ -410,7 +410,7 @@ The following code example demonstrates retrieving this element and expanding its dimensions if the client area is less than 400 pixels wide by 50 pixels high, and also sets the `DIV` to the `contentEditable` state so that the user can input text. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -539,7 +539,7 @@ The following code example uses unmanaged interfaces to take the currently selected text and convert it into a hyperlink, with the URL chosen by the user. This code was written under the assumption that your form has a control named `WebBrowser1`, and that you have added the unmanaged MSHTML library as a reference to your project. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet4"::: ]]> @@ -590,7 +590,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet433"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet433"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet433"::: ]]> @@ -642,7 +642,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet434"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet434"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet434"::: ]]> @@ -690,7 +690,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet435"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet435"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet435"::: ]]> @@ -731,7 +731,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet436"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet436"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet436"::: ]]> @@ -778,7 +778,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet437"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet437"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet437"::: ]]> @@ -974,7 +974,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet438"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet438"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet438"::: ]]> @@ -1024,7 +1024,7 @@ The following code example retrieves all of the `META` tags within an HTML document, using to find the `META` tag with the name `Description`. The example requires that your application has a control named `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlDocument/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlDocument/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlDocument/Overview/Form1.vb" id="Snippet6"::: ]]> @@ -1145,7 +1145,7 @@ The following code example prevents the next `INPUT` element in the tab order from receiving user input focus if the previous element contains less than five characters. The example requires that the previously mentioned HTML file is loaded into an instance of the control named `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet15"::: ]]> @@ -1298,7 +1298,7 @@ The following code creates a new hyperlink using , and assigns text to the link using the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet8"::: ]]> @@ -1360,7 +1360,7 @@ The following code example inserts a `DIV` element into the top of every page that users view outside of the ADatum.com server. The example requires that your form contains a control named `WebBrowser1`. Your sample must also import the namespace . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet9"::: ]]> @@ -1477,7 +1477,7 @@ The following code example gets a `TABLE` called `dataTable` and uses the unexposed `moveRow` method to move a row from the end of the table to the beginning. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet11"::: ]]> @@ -1526,7 +1526,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet442"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet442"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet442"::: ]]> @@ -1576,7 +1576,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet443"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet443"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet443"::: ]]> @@ -1626,7 +1626,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet444"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet444"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet444"::: ]]> @@ -1667,7 +1667,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet440"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet440"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet440"::: ]]> @@ -1716,7 +1716,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet441"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet441"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet441"::: ]]> @@ -1764,7 +1764,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet446"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet446"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet446"::: ]]> @@ -1805,7 +1805,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet449"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet449"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet449"::: ]]> @@ -1845,7 +1845,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet450"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet450"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet450"::: ]]> @@ -1892,7 +1892,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet445"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet445"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet445"::: ]]> @@ -1940,7 +1940,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet447"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet447"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet447"::: ]]> @@ -1988,7 +1988,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlElement1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet448"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet448"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet448"::: ]]> @@ -2150,7 +2150,7 @@ ``` :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet6"::: ]]> @@ -2226,7 +2226,7 @@ ``` :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet6"::: ]]> @@ -2499,7 +2499,7 @@ The following code example finds all of the `IMG` tags in a document, and uses the property to test whether the `IMG` is hyperlinked to another page; if it is, the code assigns the URL to the `ALT` attribute of the `IMG` tag, so that users can mouse over the image to see where it will take them. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet7"::: ]]> @@ -2617,7 +2617,7 @@ The following code example finds an element by name and scrolls through the page so that the top of the element is aligned with the top of the visible page. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet12"::: ]]> @@ -2785,7 +2785,7 @@ The following code example adds a new `IMG` element to the current document, using to set the `SRC` attribute for the image. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet13"::: ]]> @@ -2922,7 +2922,7 @@ The following code example finds all of the `IMG` tags in a document, and uses the `TagName` property to test whether the `IMG` is hyperlinked to another page; if it is, the code assigns the URL to the `ALT` attribute of the `IMG` tag, so that users can mouse over the image to see where it will take them. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Windows.Forms/HtmlElementCollection.xml b/xml/System.Windows.Forms/HtmlElementCollection.xml index cd59ee8a7c8..f0db793853e 100644 --- a/xml/System.Windows.Forms/HtmlElementCollection.xml +++ b/xml/System.Windows.Forms/HtmlElementCollection.xml @@ -42,7 +42,7 @@ The following code example uses objects to print out a textual representation of the Document Object Model (DOM) of a page. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -83,7 +83,7 @@ The following code example finds a `FORM` object using its name, and submits its data to the server programmatically. The code example requires that your application hosts a control named `webBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet10"::: ]]> @@ -130,7 +130,7 @@ The following code example finds a `FORM` object using its name, and submits its data to the server programmatically. The code example requires that your application hosts a control named `webBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet10"::: ]]> @@ -274,7 +274,7 @@ The following code example finds a `FORM` object using its name, and submits its data to the server programmatically. The code example requires that your application hosts a control named `webBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/HtmlElementErrorEventArgs.xml b/xml/System.Windows.Forms/HtmlElementErrorEventArgs.xml index 7e2a8592eec..376b312a425 100644 --- a/xml/System.Windows.Forms/HtmlElementErrorEventArgs.xml +++ b/xml/System.Windows.Forms/HtmlElementErrorEventArgs.xml @@ -35,7 +35,7 @@ The following code example demonstrates how to suppress a script error and display your own custom dialog box. This code example requires that your application host a control named `webBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb" id="Snippet16"::: ]]> @@ -82,7 +82,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlWindow1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet451"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet451"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet451"::: ]]> @@ -136,7 +136,7 @@ The following code example demonstrates how to suppress a script error and display your own custom dialog box. This code example requires that your application host a control named `webBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb" id="Snippet16"::: ]]> @@ -182,7 +182,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlWindow1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet451"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet451"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet451"::: ]]> @@ -227,7 +227,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlWindow1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet451"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet451"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet451"::: ]]> diff --git a/xml/System.Windows.Forms/HtmlElementEventArgs.xml b/xml/System.Windows.Forms/HtmlElementEventArgs.xml index d994ddce952..64012cce70f 100644 --- a/xml/System.Windows.Forms/HtmlElementEventArgs.xml +++ b/xml/System.Windows.Forms/HtmlElementEventArgs.xml @@ -44,7 +44,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet422"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet422"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet422"::: ]]> @@ -86,7 +86,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet422"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet422"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet422"::: ]]> @@ -133,7 +133,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet422"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet422"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet422"::: ]]> @@ -199,7 +199,7 @@ This example requires that you have configured `Document_MouseDown` as a handler for the event on . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.vb" id="Snippet2"::: ]]> @@ -244,7 +244,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet422"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet422"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet422"::: ]]> @@ -285,7 +285,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet422"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet422"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet422"::: ]]> @@ -378,7 +378,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet422"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet422"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet422"::: ]]> @@ -419,7 +419,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet422"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet422"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet422"::: ]]> @@ -486,7 +486,7 @@ This example requires that you have configured `Document_MouseDown` as a handler for the event on . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.vb" id="Snippet2"::: ]]> @@ -550,7 +550,7 @@ This example requires that you have configured `Document_MouseDown` as a handler for the event on . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElementEventArgs/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementEventArgs/ClientMousePosition/Form1.vb" id="Snippet2"::: ]]> @@ -595,7 +595,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet422"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet422"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet422"::: ]]> @@ -636,7 +636,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet422"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet422"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet422"::: ]]> @@ -697,7 +697,7 @@ To run the example code, paste it into a project that contains an instance of type named `HtmlDocument1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet422"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet422"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet422"::: ]]> diff --git a/xml/System.Windows.Forms/HtmlElementEventHandler.xml b/xml/System.Windows.Forms/HtmlElementEventHandler.xml index 190d644f98a..f4b6851341f 100644 --- a/xml/System.Windows.Forms/HtmlElementEventHandler.xml +++ b/xml/System.Windows.Forms/HtmlElementEventHandler.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/HtmlElementEventHandler/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementEventHandler/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/HtmlElementEventHandler/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementEventHandler/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/HtmlElementInsertionOrientation.xml b/xml/System.Windows.Forms/HtmlElementInsertionOrientation.xml index 49f6e8e3b94..e10e77ec20e 100644 --- a/xml/System.Windows.Forms/HtmlElementInsertionOrientation.xml +++ b/xml/System.Windows.Forms/HtmlElementInsertionOrientation.xml @@ -28,7 +28,7 @@ The following code example inserts a `DIV` element into the top of every page that users view outside of the ADatum.com server. The example requires that your form contains a control named `WebBrowser1`. Your example must also import the namespace . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElement/Overview/Form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlElement/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElement/Overview/Form1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Windows.Forms/HtmlWindow.xml b/xml/System.Windows.Forms/HtmlWindow.xml index 7496a30a15e..9beacbebb25 100644 --- a/xml/System.Windows.Forms/HtmlWindow.xml +++ b/xml/System.Windows.Forms/HtmlWindow.xml @@ -46,7 +46,7 @@ The following code example contains two methods. The first opens a URL in a window named `displayWindow`, which it creates with a status bar displayed. The second opens another URL in the same window, but specifies that only the location bar should be displayed. Notice that the dimensions of the window and the controls that are displayed depends on which URL is opened first. The code example requires that your form contains a control named `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb" id="Snippet13"::: ]]> @@ -171,7 +171,7 @@ The following code example opens a window, and closes it if the user has not used it in the past five minutes. The code example was written under the assumption that your form has a control named `WebBrowser1`, a named `Button1`, and a class named `Timer1`. To run this example successfully, change the first argument supplied to to a valid URL. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb" id="Snippet9"::: ]]> @@ -241,7 +241,7 @@ Building/Desk: The following example displays a dialog box when the user submits `NewOrderForm`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb" id="Snippet10"::: ]]> @@ -320,7 +320,7 @@ The following example displays a @@ -375,7 +375,7 @@ The following example displays a @@ -455,7 +455,7 @@ The following example displays a event handler is attached, otherwise the example will not work. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb" id="Snippet16"::: ]]> @@ -540,7 +540,7 @@ The following example displays a @@ -623,7 +623,7 @@ The following example displays a named `HtmlWindow1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet452"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet452"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet452"::: ]]> @@ -704,7 +704,7 @@ The following example displays a control named `WebBrowser1`, a named `Button1`, and a class named `Timer1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb" id="Snippet8"::: ]]> @@ -752,7 +752,7 @@ The following example displays a named `HtmlWindow1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet453"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet453"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet453"::: ]]> @@ -793,7 +793,7 @@ The following example displays a named `HtmlWindow1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet454"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet454"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet454"::: ]]> @@ -1290,7 +1290,7 @@ The following example displays a control named `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb" id="Snippet13"::: ]]> @@ -1502,7 +1502,7 @@ The following example displays a control on the form. The code example requires that your form contains an instance of the control named `WebBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb" id="Snippet5"::: ]]> @@ -1624,7 +1624,7 @@ The following example displays a named `HtmlWindow1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet455"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet455"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet455"::: ]]> @@ -1675,7 +1675,7 @@ The following example displays a @@ -1751,7 +1751,7 @@ The following example displays a named `HtmlWindow1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet456"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet456"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet456"::: ]]> @@ -1807,7 +1807,7 @@ The following example displays a @@ -1958,7 +1958,7 @@ The following example displays a named `HtmlWindow1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet457"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet457"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet457"::: ]]> @@ -2039,7 +2039,7 @@ The following example displays a diff --git a/xml/System.Windows.Forms/HtmlWindowCollection.xml b/xml/System.Windows.Forms/HtmlWindowCollection.xml index d58028e0d7b..5460ace9242 100644 --- a/xml/System.Windows.Forms/HtmlWindowCollection.xml +++ b/xml/System.Windows.Forms/HtmlWindowCollection.xml @@ -53,7 +53,7 @@ The following code example inspects each document within a page containing frames and creates a table of all of the outgoing hyperlinks from each page for future inspection. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HtmlWindow/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HtmlElementErrorEventArgs/Overview/Form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/IButtonControl.xml b/xml/System.Windows.Forms/IButtonControl.xml index 393671c0655..686de197b68 100644 --- a/xml/System.Windows.Forms/IButtonControl.xml +++ b/xml/System.Windows.Forms/IButtonControl.xml @@ -34,7 +34,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IButtonControl Implementation/CPP/mybutton.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IButtonControl/Overview/mybutton.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IButtonControl Implementation/VB/mybutton.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IButtonControl/Overview/mybutton.vb" id="Snippet1"::: ]]> @@ -84,7 +84,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IButtonControl Implementation/CPP/mybutton.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IButtonControl/Overview/mybutton.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IButtonControl Implementation/VB/mybutton.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IButtonControl/Overview/mybutton.vb" id="Snippet1"::: ]]> @@ -136,7 +136,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IButtonControl Implementation/CPP/mybutton.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IButtonControl/Overview/mybutton.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IButtonControl Implementation/VB/mybutton.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IButtonControl/Overview/mybutton.vb" id="Snippet1"::: ]]> @@ -181,7 +181,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IButtonControl Implementation/CPP/mybutton.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IButtonControl/Overview/mybutton.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IButtonControl Implementation/VB/mybutton.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IButtonControl/Overview/mybutton.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/IContainerControl.xml b/xml/System.Windows.Forms/IContainerControl.xml index b433855686c..6a24dd41796 100644 --- a/xml/System.Windows.Forms/IContainerControl.xml +++ b/xml/System.Windows.Forms/IContainerControl.xml @@ -29,7 +29,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IContainerControl Implementation/CPP/mycontainercontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IContainerControl Implementation/VB/mycontainercontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.vb" id="Snippet1"::: ]]> @@ -81,7 +81,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IContainerControl Implementation/CPP/mycontainercontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IContainerControl Implementation/VB/mycontainercontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.vb" id="Snippet1"::: ]]> @@ -127,7 +127,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IContainerControl Implementation/CPP/mycontainercontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IContainerControl Implementation/VB/mycontainercontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContainerControl/.ctor/mycontainercontrol.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/IDataGridViewEditingControl.xml b/xml/System.Windows.Forms/IDataGridViewEditingControl.xml index f4bb9921b7f..03f09c23486 100644 --- a/xml/System.Windows.Forms/IDataGridViewEditingControl.xml +++ b/xml/System.Windows.Forms/IDataGridViewEditingControl.xml @@ -48,7 +48,7 @@ The following code example provides an implementation of this interface that derives from . This example is part of a larger example available in [How to: Host Controls in Windows Forms DataGridView Cells](/dotnet/desktop/winforms/controls/how-to-host-controls-in-windows-forms-datagridview-cells). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.cs" id="Snippet300"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCalendarColumn/VB/datagridviewcalendarcolumn.vb" id="Snippet300"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.vb" id="Snippet300"::: ]]> @@ -103,7 +103,7 @@ The following code example provides an implementation of this member. This example is part of a larger example available in [How to: Host Controls in Windows Forms DataGridView Cells](/dotnet/desktop/winforms/controls/how-to-host-controls-in-windows-forms-datagridview-cells). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.cs" id="Snippet303"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCalendarColumn/VB/datagridviewcalendarcolumn.vb" id="Snippet303"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.vb" id="Snippet303"::: ]]> @@ -184,7 +184,7 @@ The following code example provides an implementation of this member. This example is part of a larger example available in [How to: Host Controls in Windows Forms DataGridView Cells](/dotnet/desktop/winforms/controls/how-to-host-controls-in-windows-forms-datagridview-cells). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.cs" id="Snippet301"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCalendarColumn/VB/datagridviewcalendarcolumn.vb" id="Snippet301"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.vb" id="Snippet301"::: ]]> @@ -320,7 +320,7 @@ The following code example provides an implementation of this member. This example is part of a larger example available in [How to: Host Controls in Windows Forms DataGridView Cells](/dotnet/desktop/winforms/controls/how-to-host-controls-in-windows-forms-datagridview-cells). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.cs" id="Snippet305"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCalendarColumn/VB/datagridviewcalendarcolumn.vb" id="Snippet305"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.vb" id="Snippet305"::: ]]> @@ -364,7 +364,7 @@ The following code example provides an implementation of this member. This example is part of a larger example available in [How to: Host Controls in Windows Forms DataGridView Cells](/dotnet/desktop/winforms/controls/how-to-host-controls-in-windows-forms-datagridview-cells). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.cs" id="Snippet311"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewCalendarColumn/VB/datagridviewcalendarcolumn.vb" id="Snippet311"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DataGridView/EditingControl/datagridviewcalendarcolumn.vb" id="Snippet311"::: ]]> diff --git a/xml/System.Windows.Forms/IDataObject.xml b/xml/System.Windows.Forms/IDataObject.xml index ab6f09a8ece..2134ae90bf8 100644 --- a/xml/System.Windows.Forms/IDataObject.xml +++ b/xml/System.Windows.Forms/IDataObject.xml @@ -111,7 +111,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GetData1/CPP/getdata1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/GetData/getdata1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GetData1/VB/getdata1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/GetData/getdata1.vb" id="Snippet1"::: ]]> @@ -175,7 +175,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GetData2/CPP/getdata2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/GetData/getdata2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GetData2/VB/getdata2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/GetData/getdata2.vb" id="Snippet1"::: ]]> @@ -244,7 +244,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GetData3/CPP/getdata3.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/GetData/getdata3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GetData3/VB/getdata3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/GetData/getdata3.vb" id="Snippet1"::: ]]> @@ -315,7 +315,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GetDataPresent1/CPP/getdatapresent1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GetDataPresent1/VB/getdatapresent1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent1.vb" id="Snippet1"::: ]]> @@ -373,7 +373,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GetDataPresent2/CPP/getdatapresent2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GetDataPresent2/VB/getdatapresent2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent2.vb" id="Snippet1"::: ]]> @@ -446,7 +446,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GetDataPresent3/CPP/getdatapresent3.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GetDataPresent3/VB/getdatapresent3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/GetDataPresent/getdatapresent3.vb" id="Snippet1"::: ]]> @@ -510,7 +510,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GetFormats1/CPP/getformats1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/GetFormats/getformats1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GetFormats1/VB/getformats1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/GetFormats/getformats1.vb" id="Snippet1"::: ]]> @@ -567,7 +567,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GetFormats2/CPP/getformats2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/GetFormats/getformats2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GetFormats2/VB/getformats2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/GetFormats/getformats2.vb" id="Snippet1"::: ]]> @@ -631,7 +631,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SetData1/CPP/setdata1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/SetData/setdata1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SetData1/VB/setdata1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/setdata1.vb" id="Snippet1"::: ]]> @@ -696,7 +696,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SetData2/CPP/setdata2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/SetData/setdata2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SetData2/VB/setdata2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/setdata2.vb" id="Snippet1"::: ]]> @@ -761,7 +761,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SetData3/CPP/setdata3.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/SetData/setdata3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SetData3/VB/setdata3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/setdata3.vb" id="Snippet1"::: ]]> @@ -828,7 +828,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SetData4/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IDataObject/SetData/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SetData4/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IDataObject/SetData/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/IFeatureSupport.xml b/xml/System.Windows.Forms/IFeatureSupport.xml index c4c1e83be63..ac3ef99b265 100644 --- a/xml/System.Windows.Forms/IFeatureSupport.xml +++ b/xml/System.Windows.Forms/IFeatureSupport.xml @@ -36,7 +36,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FeatureSupport/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FeatureSupport/Overview/source.vb" id="Snippet1"::: ]]> @@ -88,7 +88,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FeatureSupport/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FeatureSupport/Overview/source.vb" id="Snippet1"::: ]]> @@ -145,7 +145,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FeatureSupport/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FeatureSupport/Overview/source.vb" id="Snippet1"::: ]]> @@ -194,7 +194,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FeatureSupport/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FeatureSupport/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/IWin32Window.xml b/xml/System.Windows.Forms/IWin32Window.xml index a777868d610..5598b546c48 100644 --- a/xml/System.Windows.Forms/IWin32Window.xml +++ b/xml/System.Windows.Forms/IWin32Window.xml @@ -48,7 +48,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic IWin32Window Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IWin32Window/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic IWin32Window Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IWin32Window/Overview/source.vb" id="Snippet1"::: ]]> @@ -93,7 +93,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic IWin32Window Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/IWin32Window/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic IWin32Window Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/IWin32Window/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ImageList+ImageCollection.xml b/xml/System.Windows.Forms/ImageList+ImageCollection.xml index 496d275925e..d040e839902 100644 --- a/xml/System.Windows.Forms/ImageList+ImageCollection.xml +++ b/xml/System.Windows.Forms/ImageList+ImageCollection.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ImageList Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ImageList+ImageCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ImageList Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ImageList+ImageCollection/Overview/source.vb" id="Snippet1"::: ]]> @@ -121,7 +121,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.vb" id="Snippet2"::: ]]> @@ -382,7 +382,7 @@ The following example demonstrates how to use . To run this example, paste the following code into a Windows Form that contains an named `imageList1` and a button and call the `AddStripToCollection` method in this example when handling the button's event. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MiscBugDriven/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ImageList.xml b/xml/System.Windows.Forms/ImageList.xml index cdbbfa8916f..63724297def 100644 --- a/xml/System.Windows.Forms/ImageList.xml +++ b/xml/System.Windows.Forms/ImageList.xml @@ -74,7 +74,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ImageList Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ImageList+ImageCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ImageList Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ImageList+ImageCollection/Overview/source.vb" id="Snippet1"::: ]]> @@ -131,7 +131,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.vb" id="Snippet2"::: ]]> @@ -304,7 +304,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.vb" id="Snippet2"::: ]]> @@ -566,7 +566,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.vb" id="Snippet2"::: ]]> @@ -623,7 +623,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.HelpProviderAndImageListExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/HelpProvider/SetHelpNavigator/form1.vb" id="Snippet2"::: ]]> @@ -749,7 +749,7 @@ To run the example code, paste it into a project that contains an instance of type named `ImageList1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet160"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet160"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet160"::: ]]> diff --git a/xml/System.Windows.Forms/ImeMode.xml b/xml/System.Windows.Forms/ImeMode.xml index 8fb972027e0..08867b63dc1 100644 --- a/xml/System.Windows.Forms/ImeMode.xml +++ b/xml/System.Windows.Forms/ImeMode.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/InputLanguageChanged/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ImeMode/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/InputLanguageChanged/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ImeMode/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/InputLanguage.xml b/xml/System.Windows.Forms/InputLanguage.xml index e1f99e5b0d2..9788e885226 100644 --- a/xml/System.Windows.Forms/InputLanguage.xml +++ b/xml/System.Windows.Forms/InputLanguage.xml @@ -44,13 +44,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/InputLanguage/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/InputLanguage/Overview/source.vb" id="Snippet1"::: The next example sets the default input language as the current input language. The example requires that `textBox1` has been instantiated and that `textBox1.MultiLine` has been set to `true`. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage Example/CPP/source.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/InputLanguage/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/InputLanguage/Overview/source.vb" id="Snippet2"::: ]]> @@ -92,7 +92,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage.Culture Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/InputLanguage/Culture/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.Culture Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/InputLanguage/Culture/source.vb" id="Snippet1"::: ]]> @@ -134,7 +134,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage.CurrentInputLanguage Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/InputLanguage/CurrentInputLanguage/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.CurrentInputLanguage Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/InputLanguage/CurrentInputLanguage/source.vb" id="Snippet1"::: ]]> @@ -176,7 +176,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage.DefaultInputLanguage Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/InputLanguage/DefaultInputLanguage/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.DefaultInputLanguage Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/InputLanguage/DefaultInputLanguage/source.vb" id="Snippet1"::: ]]> @@ -280,7 +280,7 @@ Specifically, this method performs the following operations: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage.FromCulture Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/InputLanguage/FromCulture/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.FromCulture Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/InputLanguage/FromCulture/source.vb" id="Snippet1"::: ]]> @@ -359,7 +359,7 @@ Specifically, this method performs the following operations: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage.Handle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/InputLanguage/Handle/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.Handle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/InputLanguage/Handle/source.vb" id="Snippet1"::: ]]> @@ -402,7 +402,7 @@ Specifically, this method performs the following operations: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage.InstalledInputLanguages Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/InputLanguage/InstalledInputLanguages/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.InstalledInputLanguages Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/InputLanguage/InstalledInputLanguages/source.vb" id="Snippet1"::: ]]> @@ -445,7 +445,7 @@ Specifically, this method performs the following operations: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage.LayoutName Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/InputLanguage/LayoutName/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic InputLanguage.LayoutName Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/InputLanguage/LayoutName/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/InputLanguageChangedEventArgs.xml b/xml/System.Windows.Forms/InputLanguageChangedEventArgs.xml index 35de722723e..fca50e00338 100644 --- a/xml/System.Windows.Forms/InputLanguageChangedEventArgs.xml +++ b/xml/System.Windows.Forms/InputLanguageChangedEventArgs.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/InputLanguageChanged/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ImeMode/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/InputLanguageChanged/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ImeMode/Overview/form1.vb" id="Snippet1"::: ]]> @@ -267,7 +267,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet400"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet400"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet400"::: ]]> @@ -317,7 +317,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet400"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet400"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet400"::: ]]> @@ -365,7 +365,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet400"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet400"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet400"::: ]]> diff --git a/xml/System.Windows.Forms/InputLanguageChangedEventHandler.xml b/xml/System.Windows.Forms/InputLanguageChangedEventHandler.xml index 684582c6518..41bf316df05 100644 --- a/xml/System.Windows.Forms/InputLanguageChangedEventHandler.xml +++ b/xml/System.Windows.Forms/InputLanguageChangedEventHandler.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/InputLanguageChanged/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ImeMode/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/InputLanguageChanged/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ImeMode/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/InputLanguageChangingEventArgs.xml b/xml/System.Windows.Forms/InputLanguageChangingEventArgs.xml index b221ee4ff86..294e1b28aeb 100644 --- a/xml/System.Windows.Forms/InputLanguageChangingEventArgs.xml +++ b/xml/System.Windows.Forms/InputLanguageChangingEventArgs.xml @@ -49,7 +49,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet401"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet401"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet401"::: ]]> @@ -178,7 +178,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet401"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet401"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet401"::: ]]> @@ -225,7 +225,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet401"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet401"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet401"::: ]]> @@ -274,7 +274,7 @@ To run the example code, paste it into a project that contains an instance of type named `Form1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet401"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet401"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet401"::: ]]> diff --git a/xml/System.Windows.Forms/InvalidateEventArgs.xml b/xml/System.Windows.Forms/InvalidateEventArgs.xml index 943a5b81314..6a7aca4cb92 100644 --- a/xml/System.Windows.Forms/InvalidateEventArgs.xml +++ b/xml/System.Windows.Forms/InvalidateEventArgs.xml @@ -39,7 +39,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet40"::: ]]> @@ -123,7 +123,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet40"::: ]]> diff --git a/xml/System.Windows.Forms/ItemChangedEventArgs.xml b/xml/System.Windows.Forms/ItemChangedEventArgs.xml index 7e2a11f5404..eb796b3df63 100644 --- a/xml/System.Windows.Forms/ItemChangedEventArgs.xml +++ b/xml/System.Windows.Forms/ItemChangedEventArgs.xml @@ -39,7 +39,7 @@ To run the example code, paste it into a project that contains an instance of type named `CurrencyManager1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet191"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet191"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet191"::: ]]> @@ -87,7 +87,7 @@ To run the example code, paste it into a project that contains an instance of type named `CurrencyManager1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet191"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet191"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet191"::: ]]> diff --git a/xml/System.Windows.Forms/ItemCheckEventArgs.xml b/xml/System.Windows.Forms/ItemCheckEventArgs.xml index 5de54e8f78a..11c5ee545e3 100644 --- a/xml/System.Windows.Forms/ItemCheckEventArgs.xml +++ b/xml/System.Windows.Forms/ItemCheckEventArgs.xml @@ -44,10 +44,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView2/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb" id="Snippet2"::: ]]> @@ -140,10 +140,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView2/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb" id="Snippet2"::: ]]> @@ -195,10 +195,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView2/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb" id="Snippet2"::: ]]> @@ -254,7 +254,7 @@ To run the example code, paste it into a project that contains an instance of type named `CheckedListBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet156"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet156"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet156"::: ]]> diff --git a/xml/System.Windows.Forms/ItemCheckedEventArgs.xml b/xml/System.Windows.Forms/ItemCheckedEventArgs.xml index 81e9ff597c7..e8944ceb5fd 100644 --- a/xml/System.Windows.Forms/ItemCheckedEventArgs.xml +++ b/xml/System.Windows.Forms/ItemCheckedEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet475"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet475"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet475"::: ]]> @@ -117,7 +117,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet475"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet475"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet475"::: ]]> diff --git a/xml/System.Windows.Forms/ItemDragEventArgs.xml b/xml/System.Windows.Forms/ItemDragEventArgs.xml index 75539a79c08..e2ee4b235a2 100644 --- a/xml/System.Windows.Forms/ItemDragEventArgs.xml +++ b/xml/System.Windows.Forms/ItemDragEventArgs.xml @@ -48,7 +48,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewDragDrop/CPP/treeviewdragdrop.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemDragEventArgs/Overview/treeviewdragdrop.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewDragDrop/VB/treeviewdragdrop.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemDragEventArgs/Overview/treeviewdragdrop.vb" id="Snippet2"::: ]]> @@ -184,7 +184,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewDragDrop/CPP/treeviewdragdrop.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemDragEventArgs/Overview/treeviewdragdrop.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewDragDrop/VB/treeviewdragdrop.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemDragEventArgs/Overview/treeviewdragdrop.vb" id="Snippet2"::: ]]> @@ -238,7 +238,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewDragDrop/CPP/treeviewdragdrop.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemDragEventArgs/Overview/treeviewdragdrop.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewDragDrop/VB/treeviewdragdrop.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemDragEventArgs/Overview/treeviewdragdrop.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/ItemDragEventHandler.xml b/xml/System.Windows.Forms/ItemDragEventHandler.xml index 31394e4559c..beb38188f14 100644 --- a/xml/System.Windows.Forms/ItemDragEventHandler.xml +++ b/xml/System.Windows.Forms/ItemDragEventHandler.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewDragDrop/CPP/treeviewdragdrop.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemDragEventArgs/Overview/treeviewdragdrop.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewDragDrop/VB/treeviewdragdrop.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemDragEventArgs/Overview/treeviewdragdrop.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/KeyEventArgs.xml b/xml/System.Windows.Forms/KeyEventArgs.xml index ed3832d0687..9169b6ce0b1 100644 --- a/xml/System.Windows.Forms/KeyEventArgs.xml +++ b/xml/System.Windows.Forms/KeyEventArgs.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/KeyEventArgs.Modifiers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/KeyEventArgs.Modifiers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyEventArgs/Overview/form1.vb" id="Snippet1"::: **Example 2** @@ -60,7 +60,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Members4/CPP/controlmembers4.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BringToFront/controlmembers4.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members4/VB/controlmembers4.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BringToFront/controlmembers4.vb" id="Snippet3"::: **Example 3** @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyDown/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb" id="Snippet1"::: ]]> @@ -154,7 +154,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/KeyEventArgs.Modifiers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/KeyEventArgs.Modifiers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyEventArgs/Overview/form1.vb" id="Snippet1"::: **Example 2** @@ -162,7 +162,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Members4/CPP/controlmembers4.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BringToFront/controlmembers4.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members4/VB/controlmembers4.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BringToFront/controlmembers4.vb" id="Snippet3"::: ]]> @@ -206,7 +206,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/KeyEventArgs.Modifiers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/KeyEventArgs.Modifiers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -267,7 +267,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyDown/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb" id="Snippet1"::: ]]> @@ -312,7 +312,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/KeyEventArgs.Modifiers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/KeyEventArgs.Modifiers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyEventArgs/Overview/form1.vb" id="Snippet1"::: **Example 2** @@ -320,7 +320,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Members4/CPP/controlmembers4.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BringToFront/controlmembers4.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members4/VB/controlmembers4.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BringToFront/controlmembers4.vb" id="Snippet3"::: **Example 3** @@ -328,7 +328,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyDown/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb" id="Snippet1"::: ]]> @@ -382,7 +382,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet48"::: ]]> @@ -425,7 +425,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet48"::: ]]> @@ -472,7 +472,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/KeyEventArgs.Modifiers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/KeyEventArgs.Modifiers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -517,7 +517,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/KeyEventArgs.Modifiers/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/KeyEventArgs.Modifiers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -572,7 +572,7 @@ The following code example prevents numeric keystrokes from reaching the control named `textBox1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyEventArgs/SuppressKeyPress/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/keyeventargs.suppresskeypress/vb/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyEventArgs/SuppressKeyPress/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/KeyEventHandler.xml b/xml/System.Windows.Forms/KeyEventHandler.xml index 7c556284623..2fcb5689149 100644 --- a/xml/System.Windows.Forms/KeyEventHandler.xml +++ b/xml/System.Windows.Forms/KeyEventHandler.xml @@ -50,11 +50,11 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Members4/CPP/controlmembers4.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/BringToFront/controlmembers4.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Members4/VB/controlmembers4.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/BringToFront/controlmembers4.vb" id="Snippet3"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyDown/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/KeyPressEventArgs.xml b/xml/System.Windows.Forms/KeyPressEventArgs.xml index 10b6cefab88..c388a76e509 100644 --- a/xml/System.Windows.Forms/KeyPressEventArgs.xml +++ b/xml/System.Windows.Forms/KeyPressEventArgs.xml @@ -53,13 +53,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic KeyPressEventArgs Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyPressEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic KeyPressEventArgs Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyPressEventArgs/Overview/source.vb" id="Snippet1"::: You must create a new instance of this class. You must also set the event handler. You can do this in the constructor for your class. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic KeyPressEventArgs Example/CPP/source2.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyPressEventArgs/Overview/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic KeyPressEventArgs Example/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyPressEventArgs/Overview/source2.vb" id="Snippet2"::: When the specified event is raised in the control, the attached method is called and the application can execute code in response to the event. @@ -170,7 +170,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/KeyPressEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyPressEventArgs/Handled/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/KeyPressEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyPressEventArgs/Handled/form1.vb" id="Snippet1"::: ]]> @@ -261,7 +261,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/KeyPressEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyPressEventArgs/Handled/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/KeyPressEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyPressEventArgs/Handled/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/KeyPressEventHandler.xml b/xml/System.Windows.Forms/KeyPressEventHandler.xml index 6956e17c429..98d0c175fbe 100644 --- a/xml/System.Windows.Forms/KeyPressEventHandler.xml +++ b/xml/System.Windows.Forms/KeyPressEventHandler.xml @@ -52,11 +52,11 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/KeyPressEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeyPressEventArgs/Handled/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/KeyPressEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeyPressEventArgs/Handled/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyDown/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Keys.xml b/xml/System.Windows.Forms/Keys.xml index a5842b546fe..d7169799b0e 100644 --- a/xml/System.Windows.Forms/Keys.xml +++ b/xml/System.Windows.Forms/Keys.xml @@ -81,7 +81,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.KeyDown/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/KeyDown/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.KeyDown/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/KeyDown/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/KeysConverter.xml b/xml/System.Windows.Forms/KeysConverter.xml index 875ed9ac0f4..0128bc9ca85 100644 --- a/xml/System.Windows.Forms/KeysConverter.xml +++ b/xml/System.Windows.Forms/KeysConverter.xml @@ -45,7 +45,7 @@ The following code example demonstrates how to use the class to convert a to a . This example assumes that you have a named `TextBox1` on a named `Form1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/KeysConverter/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsKeys/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/KeysConverter/Overview/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Label.xml b/xml/System.Windows.Forms/Label.xml index 44a37b0e890..6ee35f8be17 100644 --- a/xml/System.Windows.Forms/Label.xml +++ b/xml/System.Windows.Forms/Label.xml @@ -92,7 +92,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Label Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Label/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Label Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Label/Overview/source.vb" id="Snippet1"::: ]]> @@ -135,7 +135,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Label Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Label/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Label Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Label/Overview/source.vb" id="Snippet1"::: ]]> @@ -264,7 +264,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LabelAutoSize/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Label/AutoSize/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LabelAutoSize/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Label/AutoSize/form1.vb" id="Snippet1"::: ]]> @@ -324,7 +324,7 @@ To run the example code, paste it into a project that contains an instance of type named Label1. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet458"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet458"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet458"::: ]]> @@ -566,7 +566,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Label Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Label/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Label Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Label/Overview/source.vb" id="Snippet1"::: ]]> @@ -990,7 +990,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Label_Image/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Label/Image/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Label_Image/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Label/Image/form1.vb" id="Snippet1"::: ]]> @@ -1049,7 +1049,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Label Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Label/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Label Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Label/Overview/source.vb" id="Snippet1"::: ]]> @@ -1133,7 +1133,7 @@ For example, consider a button control whose @@ -1262,7 +1262,7 @@ If you set the property, the @@ -2045,7 +2045,7 @@ If you set the property, the @@ -2109,7 +2109,7 @@ If you set the property, the @@ -2506,7 +2506,7 @@ If you set the property, the named Label1. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet459"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet459"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet459"::: ]]> @@ -2636,7 +2636,7 @@ You can set the `UseCompatibleTextRendering` property to `true` for a specific c :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Label Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Label/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Label Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Label/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/LabelEditEventArgs.xml b/xml/System.Windows.Forms/LabelEditEventArgs.xml index 423133650af..d23d2973c52 100644 --- a/xml/System.Windows.Forms/LabelEditEventArgs.xml +++ b/xml/System.Windows.Forms/LabelEditEventArgs.xml @@ -45,7 +45,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView3/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LabelEditEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView3/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LabelEditEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -195,7 +195,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView3/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LabelEditEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView3/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LabelEditEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -241,7 +241,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView3/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LabelEditEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView3/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LabelEditEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -289,7 +289,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet463"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet463"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet463"::: ]]> diff --git a/xml/System.Windows.Forms/LayoutEventArgs.xml b/xml/System.Windows.Forms/LayoutEventArgs.xml index 9c1f34a9720..470748e8f8d 100644 --- a/xml/System.Windows.Forms/LayoutEventArgs.xml +++ b/xml/System.Windows.Forms/LayoutEventArgs.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/LayoutEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/LayoutEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -182,7 +182,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet51"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet51"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet51"::: ]]> @@ -228,7 +228,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/LayoutEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/LayoutEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -284,7 +284,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/LayoutEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/LayoutEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/LayoutEventHandler.xml b/xml/System.Windows.Forms/LayoutEventHandler.xml index 554f60ed451..e55a1949adb 100644 --- a/xml/System.Windows.Forms/LayoutEventHandler.xml +++ b/xml/System.Windows.Forms/LayoutEventHandler.xml @@ -50,7 +50,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/LayoutEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/LayoutEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/LayoutSettings.xml b/xml/System.Windows.Forms/LayoutSettings.xml index 10870b9efe4..422ee18f681 100644 --- a/xml/System.Windows.Forms/LayoutSettings.xml +++ b/xml/System.Windows.Forms/LayoutSettings.xml @@ -40,7 +40,7 @@ The following example shows how to initialize a object for a control. For a full code listing, see [How to: Implement a Custom ToolStripRenderer](/dotnet/desktop/winforms/controls/how-to-implement-a-custom-toolstriprenderer). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/LinkArea.xml b/xml/System.Windows.Forms/LinkArea.xml index 5863890ae07..774bf575183 100644 --- a/xml/System.Windows.Forms/LinkArea.xml +++ b/xml/System.Windows.Forms/LinkArea.xml @@ -56,7 +56,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/LinkBehavior.xml b/xml/System.Windows.Forms/LinkBehavior.xml index 26c816ae273..b5d5d21a279 100644 --- a/xml/System.Windows.Forms/LinkBehavior.xml +++ b/xml/System.Windows.Forms/LinkBehavior.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkBehavior/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkBehavior/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/LinkClickedEventArgs.xml b/xml/System.Windows.Forms/LinkClickedEventArgs.xml index 71e41301c35..de6581d5b18 100644 --- a/xml/System.Windows.Forms/LinkClickedEventArgs.xml +++ b/xml/System.Windows.Forms/LinkClickedEventArgs.xml @@ -47,7 +47,7 @@ To run the example code, paste it into a project that contains an instance of type named `RichTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet541"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet541"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet541"::: ]]> @@ -229,7 +229,7 @@ The values for and To run the example code, paste it into a project that contains an instance of type named `RichTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet541"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet541"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet541"::: ]]> diff --git a/xml/System.Windows.Forms/LinkLabel+Link.xml b/xml/System.Windows.Forms/LinkLabel+Link.xml index cc13c8b0bbe..070cc9ad8a7 100644 --- a/xml/System.Windows.Forms/LinkLabel+Link.xml +++ b/xml/System.Windows.Forms/LinkLabel+Link.xml @@ -48,7 +48,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> @@ -327,7 +327,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> @@ -529,7 +529,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/LinkLabel+LinkCollection.xml b/xml/System.Windows.Forms/LinkLabel+LinkCollection.xml index a5c9ccb02ae..0617a98b650 100644 --- a/xml/System.Windows.Forms/LinkLabel+LinkCollection.xml +++ b/xml/System.Windows.Forms/LinkLabel+LinkCollection.xml @@ -178,7 +178,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkBehavior/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkBehavior/Overview/form1.vb" id="Snippet1"::: ]]> @@ -240,7 +240,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/LinkLabel Overview/CPP/linklabelex.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkLabel+LinkCollection/Add/linklabelex.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/LinkLabel Overview/VB/linklabelex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkLabel+LinkCollection/Add/linklabelex.vb" id="Snippet1"::: ]]> @@ -491,7 +491,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkBehavior/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkBehavior/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/LinkLabel.xml b/xml/System.Windows.Forms/LinkLabel.xml index daee890a901..925c425c5bd 100644 --- a/xml/System.Windows.Forms/LinkLabel.xml +++ b/xml/System.Windows.Forms/LinkLabel.xml @@ -77,13 +77,13 @@ The following example demonstrates using the class. The example handles the event by opening a Web site. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkLabel/Overview/form.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelSimple/VB/form.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkLabel/Overview/form.vb" id="Snippet1"::: The following example demonstrates using the class, with multiple sections defined, to display a label on a form. The example demonstrates setting the , , , , and properties to customize the look of the . The first is specified using the property. Additional links are added to the using the method. The example handles the event by starting the Web browser for hyperlinks, and displaying a for other links. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> @@ -124,7 +124,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> @@ -174,7 +174,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkBehavior/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkBehavior/Overview/form1.vb" id="Snippet1"::: ]]> @@ -298,7 +298,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> @@ -449,7 +449,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> @@ -510,7 +510,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> @@ -564,13 +564,13 @@ The following example demonstrates using the class. The example handles the event by opening a Web site. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkLabel/Overview/form.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelSimple/VB/form.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkLabel/Overview/form.vb" id="Snippet1"::: The following example demonstrates using the class, with multiple sections defined, to display a label on a form. The example demonstrates setting the , , , , and properties to customize the look of the . The first is specified using the property. Additional links are added to the using the method. The example handles the event by starting the Web browser for hyperlinks, and displaying a for other links. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> @@ -622,7 +622,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> @@ -689,7 +689,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> @@ -745,7 +745,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkBehavior/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabelExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkBehavior/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1880,7 +1880,7 @@ To run the example code, paste it into a project that contains an instance of type named `LinkLabel1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet460"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet460"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet460"::: ]]> @@ -2017,7 +2017,7 @@ You can set the `UseCompatibleTextRendering` property to `true` for a specific c :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/LinkLabelLinkClickedEventArgs.xml b/xml/System.Windows.Forms/LinkLabelLinkClickedEventArgs.xml index 9c3e65e8554..8d055cde72d 100644 --- a/xml/System.Windows.Forms/LinkLabelLinkClickedEventArgs.xml +++ b/xml/System.Windows.Forms/LinkLabelLinkClickedEventArgs.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> @@ -169,7 +169,7 @@ To run the example code, paste it into a project that contains an instance of type named `LinkLabel1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet461"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet461"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet461"::: ]]> @@ -216,7 +216,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/LinkLabelLinkClickedEventHandler.xml b/xml/System.Windows.Forms/LinkLabelLinkClickedEventHandler.xml index e450b292590..82b553c5f35 100644 --- a/xml/System.Windows.Forms/LinkLabelLinkClickedEventHandler.xml +++ b/xml/System.Windows.Forms/LinkLabelLinkClickedEventHandler.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/CPP/linklabel.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LinkArea/Overview/linklabel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.LinkLabel/VB/linklabel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LinkArea/Overview/linklabel.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ListBox+ObjectCollection.xml b/xml/System.Windows.Forms/ListBox+ObjectCollection.xml index 40ac49bed1a..289d0692983 100644 --- a/xml/System.Windows.Forms/ListBox+ObjectCollection.xml +++ b/xml/System.Windows.Forms/ListBox+ObjectCollection.xml @@ -64,7 +64,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListBoxExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBoxExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Overview/form1.vb" id="Snippet1"::: ]]> @@ -245,7 +245,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ListBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ListBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Add/source.vb" id="Snippet1"::: ]]> @@ -315,7 +315,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListBoxExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBoxExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Overview/form1.vb" id="Snippet1"::: ]]> @@ -862,7 +862,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.SelectedIndex/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/RemoveAt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.SelectedIndex/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/RemoveAt/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ListBox+SelectedIndexCollection.xml b/xml/System.Windows.Forms/ListBox+SelectedIndexCollection.xml index d04adc06c3d..7ff57df94ae 100644 --- a/xml/System.Windows.Forms/ListBox+SelectedIndexCollection.xml +++ b/xml/System.Windows.Forms/ListBox+SelectedIndexCollection.xml @@ -72,7 +72,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.FindString/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+SelectedIndexCollection/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindString/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+SelectedIndexCollection/Overview/form1.vb" id="Snippet1"::: ]]> @@ -320,7 +320,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.FindString/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+SelectedIndexCollection/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindString/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+SelectedIndexCollection/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ListBox.xml b/xml/System.Windows.Forms/ListBox.xml index 778d8b88dee..7eb0981ebf7 100644 --- a/xml/System.Windows.Forms/ListBox.xml +++ b/xml/System.Windows.Forms/ListBox.xml @@ -119,7 +119,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ListBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ListBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Add/source.vb" id="Snippet1"::: ]]> @@ -155,7 +155,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ListBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ListBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Add/source.vb" id="Snippet1"::: ]]> @@ -496,7 +496,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ListBox.BeginUpdate Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/BeginUpdate/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ListBox.BeginUpdate Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/BeginUpdate/source.vb" id="Snippet1"::: ]]> @@ -587,7 +587,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.SelectedIndex/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/RemoveAt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.SelectedIndex/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/RemoveAt/form1.vb" id="Snippet1"::: ]]> @@ -697,7 +697,7 @@ The following code example demonstrates a simple two-column . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/ColumnWidth/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBox.MultiColumn/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/ColumnWidth/form1.vb" id="Snippet1"::: ]]> @@ -944,7 +944,7 @@ The following code example demonstrates how to create owner-drawn items. The code uses the property to specify that the items drawn are fixed sized and the event to perform the drawing of each item into the . The example code uses the properties and methods of the class passed as a parameter to the event handler to draw the items. This example requires that a control called `listBox1` has been added to a form and that the event is handled by the event handler defined in the example code. The example also requires that items have been added to the with the text of "Apple", "Orange", and "Plum" in that order. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -998,7 +998,7 @@ The following code example demonstrates how to create owner-drawn items. The code uses the property to specify that the items drawn are fixed sized and the event to perform the drawing of each item into the . The example code uses the properties and methods of the class passed as a parameter to the event handler to draw the items. This example requires that a control called `listBox1` has been added to a form and that the event is handled by the event handler defined in the example code. The example also requires that items have been added to the with the text of "Apple", "Orange", and "Plum" in that order. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1047,7 +1047,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ListBox.BeginUpdate Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/BeginUpdate/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ListBox.BeginUpdate Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/BeginUpdate/source.vb" id="Snippet1"::: ]]> @@ -1112,7 +1112,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.FindString2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/FindString/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindString2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/FindString/form1.vb" id="Snippet1"::: ]]> @@ -1169,7 +1169,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.FindString/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+SelectedIndexCollection/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindString/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+SelectedIndexCollection/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1236,7 +1236,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.FindStringExact/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/FindStringExact/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindStringExact/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/FindStringExact/form1.vb" id="Snippet1"::: ]]> @@ -1292,7 +1292,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.FindStringExact2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/FindStringExact/form11.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindStringExact2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/FindStringExact/form11.vb" id="Snippet1"::: ]]> @@ -1533,7 +1533,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.GetSelected/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/GetSelected/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.GetSelected/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/GetSelected/form1.vb" id="Snippet1"::: ]]> @@ -1593,7 +1593,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListView.HorizontalExtent/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/HorizontalExtent/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListView.HorizontalExtent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/HorizontalExtent/form1.vb" id="Snippet1"::: ]]> @@ -1654,7 +1654,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListView.HorizontalExtent/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/HorizontalExtent/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListView.HorizontalExtent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/HorizontalExtent/form1.vb" id="Snippet1"::: ]]> @@ -1713,7 +1713,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.AllowDrop/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/IndexFromPoint/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.AllowDrop/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/IndexFromPoint/form1.vb" id="Snippet1"::: ]]> @@ -1764,7 +1764,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.AllowDrop/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/IndexFromPoint/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.AllowDrop/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/IndexFromPoint/form1.vb" id="Snippet1"::: ]]> @@ -1838,7 +1838,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListView.HorizontalExtent/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/HorizontalExtent/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListView.HorizontalExtent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/HorizontalExtent/form1.vb" id="Snippet1"::: ]]> @@ -1968,7 +1968,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ListBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ListBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Add/source.vb" id="Snippet1"::: ]]> @@ -2026,7 +2026,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListBoxExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBoxExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2124,7 +2124,7 @@ The following code example demonstrates a simple two-column . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/ColumnWidth/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBox.MultiColumn/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/ColumnWidth/form1.vb" id="Snippet1"::: ]]> @@ -2308,7 +2308,7 @@ The following code example demonstrates how to create owner-drawn items. The code uses the property to specify that the items drawn are fixed sized and the event to perform the drawing of each item into the . The example code uses the properties and methods of the class passed as a parameter to the event handler to draw the items. This example requires that a control called `listBox1` has been added to a form and that the event is handled by the event handler defined in the example code. The example also requires that items have been added to the with the text of "Apple", "Orange", and "Plum" in that order. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.DrawMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2818,7 +2818,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.PreferredHeight/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/PreferredHeight/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.PreferredHeight/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/PreferredHeight/form1.vb" id="Snippet1"::: ]]> @@ -3128,7 +3128,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListBoxExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBoxExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Overview/form1.vb" id="Snippet1"::: ]]> @@ -3190,7 +3190,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.SelectedIndex/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/RemoveAt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.SelectedIndex/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/RemoveAt/form1.vb" id="Snippet1"::: ]]> @@ -3250,7 +3250,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.SelectedIndexChanged/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/SelectedIndexChanged/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.SelectedIndexChanged/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/SelectedIndexChanged/form1.vb" id="Snippet1"::: ]]> @@ -3308,7 +3308,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.FindString/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+SelectedIndexCollection/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.FindString/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+SelectedIndexCollection/Overview/form1.vb" id="Snippet1"::: ]]> @@ -3377,7 +3377,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.SelectedIndexChanged/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/SelectedIndexChanged/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.SelectedIndexChanged/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/SelectedIndexChanged/form1.vb" id="Snippet1"::: ]]> @@ -3480,7 +3480,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.GetSelected/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/GetSelected/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.GetSelected/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/GetSelected/form1.vb" id="Snippet1"::: ]]> @@ -3653,7 +3653,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ListBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ListBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/Add/source.vb" id="Snippet1"::: ]]> @@ -3701,7 +3701,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListBoxSort/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/Sort/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListBoxSort/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/Sort/form1.vb" id="Snippet1"::: ]]> @@ -3763,7 +3763,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.GetSelected/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/GetSelected/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.GetSelected/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/GetSelected/form1.vb" id="Snippet1"::: ]]> @@ -3915,7 +3915,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.SelectedIndex/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox+ObjectCollection/RemoveAt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.SelectedIndex/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox+ObjectCollection/RemoveAt/form1.vb" id="Snippet1"::: ]]> @@ -4040,7 +4040,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.UseTabStops/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/UseTabStops/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.UseTabStops/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/UseTabStops/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ListControl.xml b/xml/System.Windows.Forms/ListControl.xml index 6b2ccf1e40a..fa1292401c7 100644 --- a/xml/System.Windows.Forms/ListControl.xml +++ b/xml/System.Windows.Forms/ListControl.xml @@ -56,7 +56,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListControl/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListControl/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListControl/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListControl/Overview/form1.vb" id="Snippet1"::: ]]> @@ -230,7 +230,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListControl/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListControl/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListControl/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListControl/Overview/form1.vb" id="Snippet1"::: ]]> @@ -277,7 +277,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ListControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet142"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet142"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet142"::: ]]> @@ -362,7 +362,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListControl/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListControl/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListControl/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListControl/Overview/form1.vb" id="Snippet1"::: ]]> @@ -408,7 +408,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ListControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet143"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet143"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet143"::: ]]> @@ -534,7 +534,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ListControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet144"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet144"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet144"::: ]]> @@ -643,7 +643,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ListControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet145"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet145"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet145"::: ]]> @@ -749,7 +749,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ListControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet146"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet146"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet146"::: ]]> @@ -846,7 +846,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ListControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet147"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet147"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet147"::: ]]> @@ -1494,7 +1494,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListControl/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListControl/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListControl/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListControl/Overview/form1.vb" id="Snippet3"::: ]]> @@ -1541,7 +1541,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListControl/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListControl/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListControl/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListControl/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1678,7 +1678,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListControl/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListControl/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListControl/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListControl/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1725,7 +1725,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ListControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet148"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet148"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet148"::: ]]> diff --git a/xml/System.Windows.Forms/ListControlConvertEventArgs.xml b/xml/System.Windows.Forms/ListControlConvertEventArgs.xml index 101445fdbe8..8329f8ee2b6 100644 --- a/xml/System.Windows.Forms/ListControlConvertEventArgs.xml +++ b/xml/System.Windows.Forms/ListControlConvertEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ListControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet144"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet144"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet144"::: ]]> @@ -130,7 +130,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ListControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet144"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet144"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet144"::: ]]> diff --git a/xml/System.Windows.Forms/ListView+ColumnHeaderCollection.xml b/xml/System.Windows.Forms/ListView+ColumnHeaderCollection.xml index 406c1c8350a..63785d1cc57 100644 --- a/xml/System.Windows.Forms/ListView+ColumnHeaderCollection.xml +++ b/xml/System.Windows.Forms/ListView+ColumnHeaderCollection.xml @@ -63,7 +63,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListView.ColumnClick/CPP/listviewsort1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Overview/listviewsort1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListView.ColumnClick/VB/listviewsort1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Overview/listviewsort1.vb" id="Snippet1"::: ]]> @@ -206,7 +206,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListView.ColumnClick/CPP/listviewsort1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Overview/listviewsort1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListView.ColumnClick/VB/listviewsort1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Overview/listviewsort1.vb" id="Snippet1"::: ]]> @@ -431,7 +431,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ListView+ListViewItemCollection.xml b/xml/System.Windows.Forms/ListView+ListViewItemCollection.xml index 9b38b79aa49..33869bd4db8 100644 --- a/xml/System.Windows.Forms/ListView+ListViewItemCollection.xml +++ b/xml/System.Windows.Forms/ListView+ListViewItemCollection.xml @@ -60,7 +60,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView1/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView1/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.vb" id="Snippet1"::: ]]> @@ -538,7 +538,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ListView+SelectedIndexCollection.xml b/xml/System.Windows.Forms/ListView+SelectedIndexCollection.xml index d99c7611b6d..8c8969a7151 100644 --- a/xml/System.Windows.Forms/ListView+SelectedIndexCollection.xml +++ b/xml/System.Windows.Forms/ListView+SelectedIndexCollection.xml @@ -74,10 +74,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView1/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView1/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView1/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView1/VB/form1.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/ListView+SelectedListViewItemCollection.xml b/xml/System.Windows.Forms/ListView+SelectedListViewItemCollection.xml index e27b6c7631b..c2133e6e112 100644 --- a/xml/System.Windows.Forms/ListView+SelectedListViewItemCollection.xml +++ b/xml/System.Windows.Forms/ListView+SelectedListViewItemCollection.xml @@ -76,10 +76,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView1/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView1/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView1/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView1/VB/form1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/ListView.xml b/xml/System.Windows.Forms/ListView.xml index 61720fd6456..c7b8715c28c 100644 --- a/xml/System.Windows.Forms/ListView.xml +++ b/xml/System.Windows.Forms/ListView.xml @@ -120,7 +120,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -175,7 +175,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -281,7 +281,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListView.AfterLabelEdit/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/AfterLabelEdit/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListView.AfterLabelEdit/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/AfterLabelEdit/form1.vb" id="Snippet1"::: ]]> @@ -408,7 +408,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -596,7 +596,7 @@ The following example initializes a in detail view and automatically resizes the columns using the method. To run this example, paste this code into a Windows Form and call the `InitializeResizingListView` method from the form's constructor or event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/AutoResizeColumn/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewWhidbeyProperties/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/AutoResizeColumn/form1.vb" id="Snippet1"::: ]]> @@ -650,7 +650,7 @@ The following code example demonstrates initializing a in detail view and automatically resizing the columns using the method. To run this example, paste this code into a Windows Form and call the `InitializeResizingListView2` method from the form's constructor or event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/AutoResizeColumn/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewWhidbeyProperties/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/AutoResizeColumn/form1.vb" id="Snippet9"::: ]]> @@ -915,7 +915,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView3/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LabelEditEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView3/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LabelEditEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -966,7 +966,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1066,7 +1066,7 @@ The following code example demonstrates the use of this member. In the example, the event handler checks to make sure a cache refresh is really necessary, and then rebuilds the cache. This code example is part of a larger example provided for the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/CacheVirtualItems/VirtualMode.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.VirtualMode/vb/VirtualMode.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/CacheVirtualItems/VirtualMode.vb" id="Snippet3"::: ]]> @@ -1143,7 +1143,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -1261,10 +1261,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView2/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb" id="Snippet3"::: ]]> @@ -1314,7 +1314,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView4/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/Clear/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView4/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/Clear/form1.vb" id="Snippet1"::: ]]> @@ -1363,7 +1363,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListView.ColumnClick/CPP/listviewsort1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Overview/listviewsort1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListView.ColumnClick/VB/listviewsort1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Overview/listviewsort1.vb" id="Snippet1"::: ]]> @@ -1411,7 +1411,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet467"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet467"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet467"::: ]]> @@ -1505,7 +1505,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -1554,7 +1554,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet468"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet468"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet468"::: ]]> @@ -1599,7 +1599,7 @@ The following code example demonstrates handling the event. It also demonstrates the and members. To run this example, paste the code into a Windows Form. Call `InitializeListView1` from the form's constructor or event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/AutoResizeColumn/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewWhidbeyProperties/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/AutoResizeColumn/form1.vb" id="Snippet6"::: ]]> @@ -1842,7 +1842,7 @@ The following code example provides an implementation of a event handler. For the complete example, including the implementation of the event handler, see the reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet5"::: ]]> @@ -1899,7 +1899,7 @@ The following code example provides an implementation of a event handler. For the complete example, see the reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet3"::: ]]> @@ -1960,7 +1960,7 @@ The following code example provides an implementation of a event handler. For the complete example, see the reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet4"::: ]]> @@ -2015,7 +2015,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ItemCheckEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2121,7 +2121,7 @@ The following code example demonstrates the method. To run this example, paste the following code into a Windows Form and call the `InitializeFindListView` method from the form's constructor or event handler. Click the button to see the results of the method call. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/AutoResizeColumn/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewWhidbeyProperties/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/AutoResizeColumn/form1.vb" id="Snippet3"::: ]]> @@ -2483,7 +2483,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -2545,7 +2545,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeader/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeader/Overview/form1.vb" id="Snippet2"::: ]]> @@ -2720,7 +2720,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -2887,7 +2887,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/CPP/listviewgroupsexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/Groups/listviewgroupsexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/VB/listviewgroupsexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/Groups/listviewgroupsexample.vb" id="Snippet1"::: ]]> @@ -2981,7 +2981,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView1/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView1/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeaderStyle/Overview/form1.vb" id="Snippet1"::: ]]> @@ -3048,7 +3048,7 @@ When this property is set to `false`, selected items in the @@ -3146,7 +3146,7 @@ When this property is set to `false`, selected items in the method to determine the location of a mouse event in a . To run this example, paste it into a Windows Form that contains a named `listView1` that is populated with items. Associate the event for `listView1` with the `listView1_MouseDown` method in this example. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/AutoResizeColumn/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewWhidbeyProperties/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/AutoResizeColumn/form1.vb" id="Snippet7"::: ]]> @@ -3197,7 +3197,7 @@ When this property is set to `false`, selected items in the with hot tracking enabled. To run this example, paste the following code into a Windows Form and call the `InitializeHotTrackingListView` method from the form's constructor or event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/AutoResizeColumn/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewWhidbeyProperties/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/AutoResizeColumn/form1.vb" id="Snippet2"::: ]]> @@ -3305,7 +3305,7 @@ When this property is set to `false`, selected items in the @@ -3389,7 +3389,7 @@ When this property is set to `false`, selected items in the named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet473"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet473"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet473"::: ]]> @@ -3444,10 +3444,10 @@ When this property is set to `false`, selected items in the @@ -3498,7 +3498,7 @@ When this property is set to `false`, selected items in the named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet475"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet475"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet475"::: ]]> @@ -3546,7 +3546,7 @@ When this property is set to `false`, selected items in the named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet476"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet476"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet476"::: ]]> @@ -3593,7 +3593,7 @@ When this property is set to `false`, selected items in the named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet477"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet477"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet477"::: ]]> @@ -3684,7 +3684,7 @@ When this property is set to `false`, selected items in the @@ -3734,7 +3734,7 @@ When this property is set to `false`, selected items in the named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet478"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet478"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet478"::: ]]> @@ -3806,7 +3806,7 @@ When this property is set to `false`, selected items in the @@ -3935,7 +3935,7 @@ When this property is set to `false`, selected items in the @@ -4005,7 +4005,7 @@ When this property is set to `false`, selected items in the @@ -4063,7 +4063,7 @@ When this property is set to `false`, selected items in the @@ -4118,7 +4118,7 @@ When this property is set to `false`, selected items in the @@ -4305,7 +4305,7 @@ When this property is set to `false`, selected items in the @@ -5533,7 +5533,7 @@ When this property is set to `false`, selected items in the component provides a way to switch between the details view and the list view. In the list view, only the event is raised. In this case, the text and background are both drawn in the event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet1"::: ]]> @@ -5811,7 +5811,7 @@ When this property is set to `false`, selected items in the to display the square of its index. This code example is part of a larger example provided for the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/CacheVirtualItems/VirtualMode.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.VirtualMode/vb/VirtualMode.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/CacheVirtualItems/VirtualMode.vb" id="Snippet2"::: ]]> @@ -5907,7 +5907,7 @@ When this property is set to `false`, selected items in the named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet462"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet462"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet462"::: ]]> @@ -5998,7 +5998,7 @@ When this property is set to `false`, selected items in the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/CacheVirtualItems/VirtualMode.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.VirtualMode/vb/VirtualMode.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/CacheVirtualItems/VirtualMode.vb" id="Snippet4"::: ]]> @@ -6047,10 +6047,10 @@ When this property is set to `false`, selected items in the @@ -6116,10 +6116,10 @@ When this property is set to `false`, selected items in the @@ -6182,10 +6182,10 @@ When this property is set to `false`, selected items in the @@ -6283,7 +6283,7 @@ When this property is set to `false`, selected items in the and properties. To run this example, paste the code into a Windows Form and call `InitializeItemsWithToolTips` from the form's constructor or event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/ShowItemToolTips/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemWhidbeyMembers/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/ShowItemToolTips/form1.vb" id="Snippet4"::: ]]> @@ -6362,7 +6362,7 @@ When this property is set to `false`, selected items in the @@ -6479,7 +6479,7 @@ When this property is set to `false`, selected items in the @@ -6677,7 +6677,7 @@ When this property is set to `false`, selected items in the @@ -6748,7 +6748,7 @@ When this property is set to `false`, selected items in the @@ -7000,7 +7000,7 @@ When this property is set to `false`, selected items in the @@ -7051,7 +7051,7 @@ When this property is set to `false`, selected items in the named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet482"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet482"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet482"::: ]]> @@ -7174,7 +7174,7 @@ When this property is set to `false`, selected items in the whose contents are the first ten thousand squares. It handles searching and uses a cache for increased performance. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/CacheVirtualItems/VirtualMode.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.VirtualMode/vb/VirtualMode.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/CacheVirtualItems/VirtualMode.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewGroup.xml b/xml/System.Windows.Forms/ListViewGroup.xml index 7a0834bcf7f..92a41c97a5a 100644 --- a/xml/System.Windows.Forms/ListViewGroup.xml +++ b/xml/System.Windows.Forms/ListViewGroup.xml @@ -81,7 +81,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/CPP/listviewgroupsexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/Groups/listviewgroupsexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/VB/listviewgroupsexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/Groups/listviewgroupsexample.vb" id="Snippet1"::: ]]> @@ -234,7 +234,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/CPP/listviewgroupsexample.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/Groups/listviewgroupsexample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/VB/listviewgroupsexample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/Groups/listviewgroupsexample.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewGroupCollection.xml b/xml/System.Windows.Forms/ListViewGroupCollection.xml index be1cb5e67b6..97346fc03e5 100644 --- a/xml/System.Windows.Forms/ListViewGroupCollection.xml +++ b/xml/System.Windows.Forms/ListViewGroupCollection.xml @@ -75,7 +75,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/CPP/listviewgroupsexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/Groups/listviewgroupsexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/VB/listviewgroupsexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/Groups/listviewgroupsexample.vb" id="Snippet1"::: ]]> @@ -237,7 +237,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/CPP/listviewgroupsexample.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/Groups/listviewgroupsexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/VB/listviewgroupsexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/Groups/listviewgroupsexample.vb" id="Snippet2"::: ]]> @@ -337,7 +337,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/CPP/listviewgroupsexample.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/Groups/listviewgroupsexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/VB/listviewgroupsexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/Groups/listviewgroupsexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewHitTestInfo.xml b/xml/System.Windows.Forms/ListViewHitTestInfo.xml index e8313acdaf5..0a2ffc196a7 100644 --- a/xml/System.Windows.Forms/ListViewHitTestInfo.xml +++ b/xml/System.Windows.Forms/ListViewHitTestInfo.xml @@ -40,7 +40,7 @@ The following code example demonstrates using the class and the method to determine the location of a event. To run this code, paste it into a Windows Form that contains a named `listView1` that is populated with items. Associate the event for the form and `listView1` with the `HandleMouseDown` method in this example. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/AutoResizeColumn/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewWhidbeyProperties/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/AutoResizeColumn/form1.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewHitTestLocations.xml b/xml/System.Windows.Forms/ListViewHitTestLocations.xml index 0b941cd96e1..e1013096b7d 100644 --- a/xml/System.Windows.Forms/ListViewHitTestLocations.xml +++ b/xml/System.Windows.Forms/ListViewHitTestLocations.xml @@ -39,7 +39,7 @@ The following code example demonstrates using the method to determine the location of a event in a . To run this code, paste it into a Windows Form that contains a named `listView1` that is populated with items. Associate the event for `listview1` and the form with the `HandleMouseDown` method in this example. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/AutoResizeColumn/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewWhidbeyProperties/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/AutoResizeColumn/form1.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewInsertionMark.xml b/xml/System.Windows.Forms/ListViewInsertionMark.xml index 213ff27791d..7e976919d8b 100644 --- a/xml/System.Windows.Forms/ListViewInsertionMark.xml +++ b/xml/System.Windows.Forms/ListViewInsertionMark.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/CPP/listviewinsertionmarkexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/VB/listviewinsertionmarkexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.vb" id="Snippet1"::: ]]> @@ -142,7 +142,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/CPP/listviewinsertionmarkexample.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/VB/listviewinsertionmarkexample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.vb" id="Snippet3"::: ]]> @@ -225,7 +225,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/CPP/listviewinsertionmarkexample.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/VB/listviewinsertionmarkexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.vb" id="Snippet2"::: ]]> @@ -280,7 +280,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/CPP/listviewinsertionmarkexample.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/VB/listviewinsertionmarkexample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.vb" id="Snippet3"::: ]]> @@ -333,7 +333,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/CPP/listviewinsertionmarkexample.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.InsertionMark/VB/listviewinsertionmarkexample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/InsertionMark/listviewinsertionmarkexample.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewItem+ListViewSubItem.xml b/xml/System.Windows.Forms/ListViewItem+ListViewSubItem.xml index 5ca0556d1dd..9043818880f 100644 --- a/xml/System.Windows.Forms/ListViewItem+ListViewSubItem.xml +++ b/xml/System.Windows.Forms/ListViewItem+ListViewSubItem.xml @@ -80,7 +80,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -360,7 +360,7 @@ ListViewItem1.SubItems[1].Font = New Font(ListViewItem1.SubItems[1].Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/TopItem/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/TopItem/form1.vb" id="Snippet1"::: ]]> @@ -410,7 +410,7 @@ ListViewItem1.SubItems[1].Font = New Font(ListViewItem1.SubItems[1].Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/TopItem/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/TopItem/form1.vb" id="Snippet1"::: ]]> @@ -502,7 +502,7 @@ ListViewItem1.SubItems[1].Font = New Font(ListViewItem1.SubItems[1].Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/TopItem/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/TopItem/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewItem+ListViewSubItemCollection.xml b/xml/System.Windows.Forms/ListViewItem+ListViewSubItemCollection.xml index 3ec616b3aab..d151dceffd0 100644 --- a/xml/System.Windows.Forms/ListViewItem+ListViewSubItemCollection.xml +++ b/xml/System.Windows.Forms/ListViewItem+ListViewSubItemCollection.xml @@ -169,7 +169,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewItem.xml b/xml/System.Windows.Forms/ListViewItem.xml index fa50736c21e..30a9dd170c2 100644 --- a/xml/System.Windows.Forms/ListViewItem.xml +++ b/xml/System.Windows.Forms/ListViewItem.xml @@ -95,7 +95,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -159,7 +159,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -1026,7 +1026,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListView.ColumnClick/CPP/listviewsort1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Overview/listviewsort1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListView.ColumnClick/VB/listviewsort1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Overview/listviewsort1.vb" id="Snippet1"::: ]]> @@ -1403,7 +1403,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -1575,7 +1575,7 @@ The following code example demonstrates how to use the method. To run this example, paste the following code into a Windows Form that contains a named `findListView`. Ensure that the property is set to an icon view and that the is populated with items. Associate the event of `findListView` with the `findListView_MouseDown` method in this example. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/ShowItemToolTips/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemWhidbeyMembers/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/ShowItemToolTips/form1.vb" id="Snippet1"::: ]]> @@ -1824,7 +1824,7 @@ ListViewItem1.Font = New Font(ListViewItem1.Font, _ The following code example demonstrates how to use the method. To run this code, paste it into a Windows Form and call `InitializeListView1` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/ShowItemToolTips/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemWhidbeyMembers/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/ShowItemToolTips/form1.vb" id="Snippet5"::: ]]> @@ -1892,7 +1892,7 @@ ListViewItem1.Font = New Font(ListViewItem1.Font, _ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/CPP/listviewgroupsexample.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/Groups/listviewgroupsexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.Groups/VB/listviewgroupsexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/Groups/listviewgroupsexample.vb" id="Snippet2"::: ]]> @@ -2148,7 +2148,7 @@ If you set the property, th The following code example demonstrates how to set the property. To run this example, paste the following code into a Windows Form and call the `InitializeIndentedListViewItems` method from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/ShowItemToolTips/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemWhidbeyMembers/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/ShowItemToolTips/form1.vb" id="Snippet2"::: ]]> @@ -2345,7 +2345,7 @@ If you set the property, th The following code example demonstrates how to use the property of a . To run this example, paste the following code into a Windows Form and call the `InitializePositionedListViewItems` from the form's event-handling method. Click the button to see the items repositioned. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/ShowItemToolTips/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemWhidbeyMembers/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/ShowItemToolTips/form1.vb" id="Snippet3"::: ]]> @@ -2446,7 +2446,7 @@ If you set the property, th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView4/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/Clear/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView4/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/Clear/form1.vb" id="Snippet1"::: ]]> @@ -2649,7 +2649,7 @@ If you set the property, th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView+ColumnHeaderCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -2769,7 +2769,7 @@ If you set the property, th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListViewItem/Tag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListViewItem/Tag/form1.vb" id="Snippet1"::: ]]> @@ -2826,7 +2826,7 @@ If you set the property, th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListViewItem/Tag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListViewItem/Tag/form1.vb" id="Snippet1"::: ]]> @@ -2883,7 +2883,7 @@ If you set the property, th The following code example demonstrates how to use the and properties. To run this example, paste the code into a Windows Form and call `InitializeItemsWithToolTips` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/ShowItemToolTips/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemWhidbeyMembers/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/ShowItemToolTips/form1.vb" id="Snippet4"::: ]]> @@ -2966,7 +2966,7 @@ If you set the property, th :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/TopItem/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/TopItem/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewItemMouseHoverEventArgs.xml b/xml/System.Windows.Forms/ListViewItemMouseHoverEventArgs.xml index cc4aa35b1b8..37f04071694 100644 --- a/xml/System.Windows.Forms/ListViewItemMouseHoverEventArgs.xml +++ b/xml/System.Windows.Forms/ListViewItemMouseHoverEventArgs.xml @@ -46,7 +46,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet477"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet477"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet477"::: ]]> @@ -128,7 +128,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet477"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet477"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet477"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewItemSelectionChangedEventArgs.xml b/xml/System.Windows.Forms/ListViewItemSelectionChangedEventArgs.xml index fd1330111e4..89a56e7aa19 100644 --- a/xml/System.Windows.Forms/ListViewItemSelectionChangedEventArgs.xml +++ b/xml/System.Windows.Forms/ListViewItemSelectionChangedEventArgs.xml @@ -42,7 +42,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet478"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet478"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet478"::: ]]> @@ -129,7 +129,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet478"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet478"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet478"::: ]]> @@ -176,7 +176,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet478"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet478"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet478"::: ]]> @@ -222,7 +222,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet478"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet478"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet478"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewItemStates.xml b/xml/System.Windows.Forms/ListViewItemStates.xml index fe6598f67fc..7e851b443fd 100644 --- a/xml/System.Windows.Forms/ListViewItemStates.xml +++ b/xml/System.Windows.Forms/ListViewItemStates.xml @@ -45,7 +45,7 @@ For the complete example, see the reference topic. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListViewOwnerDraw/VB/listviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawListViewColumnHeaderEventArgs/Overview/listviewownerdraw.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/ListViewVirtualItemsSelectionRangeChangedEventArgs.xml b/xml/System.Windows.Forms/ListViewVirtualItemsSelectionRangeChangedEventArgs.xml index fd882f1aee4..7d19931c7c1 100644 --- a/xml/System.Windows.Forms/ListViewVirtualItemsSelectionRangeChangedEventArgs.xml +++ b/xml/System.Windows.Forms/ListViewVirtualItemsSelectionRangeChangedEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet482"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet482"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet482"::: ]]> @@ -124,7 +124,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet482"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet482"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet482"::: ]]> @@ -176,7 +176,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet482"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet482"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet482"::: ]]> @@ -222,7 +222,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet482"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet482"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet482"::: ]]> diff --git a/xml/System.Windows.Forms/MainMenu.xml b/xml/System.Windows.Forms/MainMenu.xml index 653ff952bed..31890f9be41 100644 --- a/xml/System.Windows.Forms/MainMenu.xml +++ b/xml/System.Windows.Forms/MainMenu.xml @@ -59,7 +59,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -111,7 +111,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -178,7 +178,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -220,7 +220,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -259,7 +259,7 @@ This class is not available in .NET Core 3.1 and later versions. Use named `MainMenu1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet483"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet483"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet483"::: ]]> @@ -362,7 +362,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -454,7 +454,7 @@ This class is not available in .NET Core 3.1 and later versions. Use diff --git a/xml/System.Windows.Forms/MaskInputRejectedEventArgs.xml b/xml/System.Windows.Forms/MaskInputRejectedEventArgs.xml index 070eaa8c0e7..8d433b856bd 100644 --- a/xml/System.Windows.Forms/MaskInputRejectedEventArgs.xml +++ b/xml/System.Windows.Forms/MaskInputRejectedEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet486"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet486"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet486"::: ]]> @@ -134,7 +134,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet486"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet486"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet486"::: ]]> @@ -186,7 +186,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet486"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet486"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet486"::: ]]> diff --git a/xml/System.Windows.Forms/MaskedTextBox.xml b/xml/System.Windows.Forms/MaskedTextBox.xml index 94f9a0501c6..3c1a0d7379b 100644 --- a/xml/System.Windows.Forms/MaskedTextBox.xml +++ b/xml/System.Windows.Forms/MaskedTextBox.xml @@ -117,7 +117,7 @@ The following code example initializes the to accept a date, and uses both the and events to alert the user to invalid input. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MaskedTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MaskInputRejectedSample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MaskedTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1293,7 +1293,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet484"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet484"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet484"::: ]]> @@ -1507,7 +1507,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet485"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet485"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet485"::: ]]> @@ -1660,7 +1660,7 @@ The following code example handles the event, and uses a to alert the user if an attempt is made to enter data after all positions in the mask have been used. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MaskedTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MaskInputRejectedSample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MaskedTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1732,7 +1732,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet486"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet486"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet486"::: ]]> @@ -2991,7 +2991,7 @@ ## Examples The following code example demonstrates the use of the property. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TestMaskedTextBox/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MaskedTextBox/Text/form1.vb" id="Snippet3"::: ]]> @@ -3103,7 +3103,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet487"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet487"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet487"::: ]]> @@ -3304,7 +3304,7 @@ The following code example attempts to parse the user's input as a valid object. If it fails, the event handler displays an error message to the user. If the value is a valid , the code verifies that the date supplied is not prior to today's date. This code example requires that your Windows Forms project contains a control named `MaskedTextBox1` and a control named `ToolTip1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MaskedTextBox/TypeValidationCompleted/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ValidatingTypeSample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MaskedTextBox/TypeValidationCompleted/form1.vb" id="Snippet1"::: ]]> @@ -3534,7 +3534,7 @@ maskedTextBox1.Mask = "99/99/9999"; The following code example attempts to parse the user's input as a valid . If it fails, the event handler displays an error message to the user. If the value is a valid , the code performs an additional check to ensure that the date supplied is not prior to today's date. This code example requires that your Windows Forms project contains a control named `MaskedTextBox1` and a control named `ToolTip1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MaskedTextBox/TypeValidationCompleted/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ValidatingTypeSample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MaskedTextBox/TypeValidationCompleted/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/MeasureItemEventArgs.xml b/xml/System.Windows.Forms/MeasureItemEventArgs.xml index 800ded188c9..f6ba143f392 100644 --- a/xml/System.Windows.Forms/MeasureItemEventArgs.xml +++ b/xml/System.Windows.Forms/MeasureItemEventArgs.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MeasureItemEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemState/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MeasureItemEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemState/Overview/form1.vb" id="Snippet1"::: ]]> @@ -173,7 +173,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MeasureItemEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemState/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MeasureItemEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemState/Overview/form1.vb" id="Snippet1"::: ]]> @@ -217,7 +217,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MeasureItemEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemState/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MeasureItemEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemState/Overview/form1.vb" id="Snippet1"::: ]]> @@ -269,7 +269,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MeasureItemEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemState/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MeasureItemEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemState/Overview/form1.vb" id="Snippet1"::: ]]> @@ -326,7 +326,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MeasureItemEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemState/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MeasureItemEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemState/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/MeasureItemEventHandler.xml b/xml/System.Windows.Forms/MeasureItemEventHandler.xml index d5961900a58..2318a761751 100644 --- a/xml/System.Windows.Forms/MeasureItemEventHandler.xml +++ b/xml/System.Windows.Forms/MeasureItemEventHandler.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MeasureItemEventArgs/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawItemState/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MeasureItemEventArgs/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawItemState/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Menu+MenuItemCollection.xml b/xml/System.Windows.Forms/Menu+MenuItemCollection.xml index 0ccb101653b..8c4a2fff8a9 100644 --- a/xml/System.Windows.Forms/Menu+MenuItemCollection.xml +++ b/xml/System.Windows.Forms/Menu+MenuItemCollection.xml @@ -139,7 +139,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source.vb" id="Snippet1"::: ]]> @@ -186,7 +186,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Menu.MenuItems Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/Add/source3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItems Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source3.vb" id="Snippet1"::: ]]> @@ -235,7 +235,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add4 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/Add/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add4 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source2.vb" id="Snippet1"::: ]]> @@ -289,7 +289,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/Add/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.Add1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Add/source1.vb" id="Snippet1"::: ]]> @@ -376,7 +376,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.CopyTo Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/AddRange/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.CopyTo Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/AddRange/source.vb" id="Snippet1"::: ]]> @@ -421,7 +421,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ClearItems/CPP/clearitems.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/Clear/clearitems.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ClearItems/VB/clearitems.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Clear/clearitems.vb" id="Snippet1"::: ]]> @@ -467,7 +467,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ContainsItems/CPP/containsitems.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/Contains/containsitems.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ContainsItems/VB/containsitems.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Contains/containsitems.vb" id="Snippet1"::: ]]> @@ -552,7 +552,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.CopyTo Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/AddRange/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Menu.MenuItemCollection.CopyTo Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/AddRange/source.vb" id="Snippet1"::: ]]> @@ -595,7 +595,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/CountProperty/CPP/countitems.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/Count/countitems.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/CountProperty/VB/countitems.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Count/countitems.vb" id="Snippet1"::: ]]> @@ -704,7 +704,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/IndexOf/CPP/indexof.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/IndexOf/indexof.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/IndexOf/VB/indexof.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/IndexOf/indexof.vb" id="Snippet1"::: ]]> @@ -903,7 +903,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RemoveMenuItems/CPP/removeitems.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/Remove/removeitems.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RemoveMenuItems/VB/removeitems.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/Remove/removeitems.vb" id="Snippet1"::: ]]> @@ -949,7 +949,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RemoveAt/CPP/removeat.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Menu+MenuItemCollection/RemoveAt/removeat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RemoveAt/VB/removeat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Menu+MenuItemCollection/RemoveAt/removeat.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Menu.xml b/xml/System.Windows.Forms/Menu.xml index c77202df8c6..b23adc0dfcb 100644 --- a/xml/System.Windows.Forms/Menu.xml +++ b/xml/System.Windows.Forms/Menu.xml @@ -66,7 +66,7 @@ This class is the base class for the , @@ -145,7 +145,7 @@ This class is the base class for the , @@ -370,7 +370,7 @@ This class is the base class for the , @@ -410,7 +410,7 @@ This class is the base class for the , @@ -505,7 +505,7 @@ This class is the base class for the , @@ -601,7 +601,7 @@ This class is the base class for the , @@ -652,7 +652,7 @@ This class is the base class for the , diff --git a/xml/System.Windows.Forms/MenuItem.xml b/xml/System.Windows.Forms/MenuItem.xml index 64e9a3a6e72..d20e7a08fc5 100644 --- a/xml/System.Windows.Forms/MenuItem.xml +++ b/xml/System.Windows.Forms/MenuItem.xml @@ -70,7 +70,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -123,7 +123,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -169,7 +169,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -219,7 +219,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -271,7 +271,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -323,7 +323,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -383,7 +383,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -439,7 +439,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -489,7 +489,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -538,7 +538,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -579,7 +579,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -627,7 +627,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -668,7 +668,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -713,7 +713,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -789,7 +789,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -840,7 +840,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -884,7 +884,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -930,7 +930,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -975,7 +975,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1013,7 +1013,7 @@ This class is not available in .NET Core 3.1 and later versions. Use named `MenuItem1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet499"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet499"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet499"::: ]]> @@ -1121,7 +1121,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1165,7 +1165,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1211,7 +1211,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1293,7 +1293,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1450,7 +1450,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1494,7 +1494,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1542,7 +1542,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1592,7 +1592,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1630,7 +1630,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1668,7 +1668,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1706,7 +1706,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1751,7 +1751,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1792,7 +1792,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1841,7 +1841,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1892,7 +1892,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1939,7 +1939,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -2013,7 +2013,7 @@ This class is not available in .NET Core 3.1 and later versions. Use diff --git a/xml/System.Windows.Forms/MenuMerge.xml b/xml/System.Windows.Forms/MenuMerge.xml index b60704f579d..d7b243e483c 100644 --- a/xml/System.Windows.Forms/MenuMerge.xml +++ b/xml/System.Windows.Forms/MenuMerge.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic MenuItem.MergeMenu1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MenuItem/MergeMenu/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic MenuItem.MergeMenu1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MenuItem/MergeMenu/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/MenuStrip.xml b/xml/System.Windows.Forms/MenuStrip.xml index ba90af89193..e5d49d6d21f 100644 --- a/xml/System.Windows.Forms/MenuStrip.xml +++ b/xml/System.Windows.Forms/MenuStrip.xml @@ -58,7 +58,7 @@ The replaces and extends the in a multiple-document interface (MDI) scenario. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet10"::: ]]> @@ -100,7 +100,7 @@ The replaces and extends the constructor. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet12"::: ]]> @@ -459,7 +459,7 @@ The replaces and extends the property. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet12"::: ]]> @@ -504,7 +504,7 @@ The replaces and extends the named `MenuStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet489"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet489"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet489"::: ]]> @@ -549,7 +549,7 @@ The replaces and extends the named `MenuStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet490"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet490"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet490"::: ]]> @@ -796,7 +796,7 @@ The replaces and extends the diff --git a/xml/System.Windows.Forms/Message.xml b/xml/System.Windows.Forms/Message.xml index e8145682f4c..ee34f50c536 100644 --- a/xml/System.Windows.Forms/Message.xml +++ b/xml/System.Windows.Forms/Message.xml @@ -57,7 +57,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox/WndProc/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox/WndProc/form1.vb" id="Snippet1"::: ]]> @@ -462,7 +462,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox/WndProc/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox/WndProc/form1.vb" id="Snippet1"::: ]]> @@ -693,7 +693,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox/WndProc/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox/WndProc/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/MessageBox.xml b/xml/System.Windows.Forms/MessageBox.xml index b4dc67d0c8e..1699416140d 100644 --- a/xml/System.Windows.Forms/MessageBox.xml +++ b/xml/System.Windows.Forms/MessageBox.xml @@ -42,13 +42,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MessageBox.Show Variations/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DialogResult/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb" id="Snippet1"::: The following code example shows how to ask the user a yes or no question and make a decision based on the response. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic MessageBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic MessageBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -107,7 +107,7 @@ The following code example displays a simple message box. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DialogResult/Overview/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb" id="Snippet6"::: ]]> @@ -261,7 +261,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MessageBox.Show Variations/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DialogResult/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb" id="Snippet1"::: ]]> @@ -379,7 +379,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxDropDown/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ComboBox+ObjectCollection/AddRange/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxDropDown/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ComboBox+ObjectCollection/AddRange/form1.vb" id="Snippet2"::: ]]> @@ -451,7 +451,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MessageBox.Show Variations/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DialogResult/Overview/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb" id="Snippet5"::: ]]> @@ -519,7 +519,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MessageBox.Show Variations/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DialogResult/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb" id="Snippet3"::: ]]> @@ -599,7 +599,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MessageBox.Show Variations/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DialogResult/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb" id="Snippet4"::: ]]> @@ -674,7 +674,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MessageBox.Show Variations/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DialogResult/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb" id="Snippet2"::: ]]> @@ -763,7 +763,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MessageBox.Show Variations/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DialogResult/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb" id="Snippet2"::: ]]> @@ -847,10 +847,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet2"::: ]]> @@ -943,10 +943,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet3"::: ]]> @@ -1037,7 +1037,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MessageBox.Show Variations/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DialogResult/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb" id="Snippet2"::: ]]> @@ -1141,10 +1141,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet9"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet9"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet9"::: ]]> @@ -1241,10 +1241,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet5"::: ]]> @@ -1339,10 +1339,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet4"::: ]]> @@ -1443,10 +1443,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet7"::: ]]> @@ -1548,10 +1548,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet10"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet10"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet10"::: ]]> @@ -1650,10 +1650,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet6"::: ]]> @@ -1756,10 +1756,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Show/form1.cs" id="Snippet8"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MessageBox with Help/VB/form1.vb" id="Snippet8"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Show/form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Windows.Forms/MessageBoxButtons.xml b/xml/System.Windows.Forms/MessageBoxButtons.xml index 4e0d74f308b..ed058fc24ee 100644 --- a/xml/System.Windows.Forms/MessageBoxButtons.xml +++ b/xml/System.Windows.Forms/MessageBoxButtons.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic MessageBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MessageBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic MessageBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MessageBox/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/MessageBoxDefaultButton.xml b/xml/System.Windows.Forms/MessageBoxDefaultButton.xml index ad92dc72443..6274efaf058 100644 --- a/xml/System.Windows.Forms/MessageBoxDefaultButton.xml +++ b/xml/System.Windows.Forms/MessageBoxDefaultButton.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MessageBox.Show Variations/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DialogResult/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MessageBox.Show Variations/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DialogResult/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/MessageBoxOptions.xml b/xml/System.Windows.Forms/MessageBoxOptions.xml index 8ef70707127..3e3e68a10b3 100644 --- a/xml/System.Windows.Forms/MessageBoxOptions.xml +++ b/xml/System.Windows.Forms/MessageBoxOptions.xml @@ -43,7 +43,7 @@ The following example demonstrates how to display a diff --git a/xml/System.Windows.Forms/MethodInvoker.xml b/xml/System.Windows.Forms/MethodInvoker.xml index e7211b1759c..81049f7cce7 100644 --- a/xml/System.Windows.Forms/MethodInvoker.xml +++ b/xml/System.Windows.Forms/MethodInvoker.xml @@ -38,7 +38,7 @@ The following code example demonstrates how to use a to call a method that updates the title bar of the application form. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MethodInvoker/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.methodinvoker/vb/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MethodInvoker/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/MonthCalendar.xml b/xml/System.Windows.Forms/MonthCalendar.xml index 23fca1178bb..8cb97e53c69 100644 --- a/xml/System.Windows.Forms/MonthCalendar.xml +++ b/xml/System.Windows.Forms/MonthCalendar.xml @@ -85,7 +85,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -138,7 +138,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -231,7 +231,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MonthCalendar/CPP/mc.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MonthCalendar/AddBoldedDate/mc.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MonthCalendar/VB/mc.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MonthCalendar/AddBoldedDate/mc.vb" id="Snippet2"::: ]]> @@ -327,7 +327,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -378,7 +378,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet1"::: ]]> @@ -615,7 +615,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -670,7 +670,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -877,13 +877,13 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/CPP/selectionrangeobj.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/VB/selectionrangeobj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.vb" id="Snippet1"::: The following code example displays a form containing a control that displays one calendar year. The example demonstrates setting the , , , , , and properties to customize the look of the calendar control. Other properties such as , , and are set to customize which dates are bold. The example also sets the , , , and properties to change the calendar format. The and events are also handled and their status is displayed on the form. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -937,7 +937,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -1258,7 +1258,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -1307,7 +1307,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Properties/CPP/controlproperties.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AnchorStyles/Overview/controlproperties.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Properties/VB/controlproperties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AnchorStyles/Overview/controlproperties.vb" id="Snippet1"::: ]]> @@ -1600,7 +1600,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -1659,7 +1659,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -1704,7 +1704,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -1760,7 +1760,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -2466,7 +2466,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MonthCalendar/CPP/mc.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MonthCalendar/AddBoldedDate/mc.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MonthCalendar/VB/mc.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MonthCalendar/AddBoldedDate/mc.vb" id="Snippet4"::: ]]> @@ -2592,7 +2592,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/MonthCalendar/CPP/mc.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MonthCalendar/AddBoldedDate/mc.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MonthCalendar/VB/mc.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MonthCalendar/AddBoldedDate/mc.vb" id="Snippet3"::: ]]> @@ -2768,7 +2768,7 @@ The is only available in applicatio To run the example code, paste it into a project that contains an instance of type named `MonthCalendar1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet504"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet504"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet504"::: ]]> @@ -2823,7 +2823,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -2895,7 +2895,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendarSelection/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MonthCalendar/SelectionEnd/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendarSelection/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MonthCalendar/SelectionEnd/form1.vb" id="Snippet1"::: ]]> @@ -3037,7 +3037,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendarSelection/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MonthCalendar/SelectionEnd/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendarSelection/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MonthCalendar/SelectionEnd/form1.vb" id="Snippet1"::: ]]> @@ -3299,7 +3299,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -3356,7 +3356,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -3412,7 +3412,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -3650,7 +3650,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -3702,7 +3702,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> @@ -3748,7 +3748,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendarSelection/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MonthCalendar/SelectionEnd/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendarSelection/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MonthCalendar/SelectionEnd/form1.vb" id="Snippet1"::: ]]> @@ -3890,7 +3890,7 @@ The is only available in applicatio :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/CPP/monthcalendar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MonthCalendar/VB/monthcalendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DateRangeEventArgs/Overview/monthcalendar.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/MouseButtons.xml b/xml/System.Windows.Forms/MouseButtons.xml index e8c33955290..874a3a46ecc 100644 --- a/xml/System.Windows.Forms/MouseButtons.xml +++ b/xml/System.Windows.Forms/MouseButtons.xml @@ -45,13 +45,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.GetCharAtIndex/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MouseButtons/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.GetCharAtIndex/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MouseButtons/Overview/form1.vb" id="Snippet1"::: The following example demonstrates using different mouse events to draw the path of the mouse on a . A line segment is added to the for each and events that occur. To update the graphics, the method is called for the on each `MouseDown` and `MouseUp` event. In addition, the graphic path is scrolled up or down when the event occurs. Additional mouse events, like , are identified on screen as well. Also displayed on the screen is additional information about the mouse from the class. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/CPP/mouseeventexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseDown/mouseeventexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/VB/mouseeventexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseDown/mouseeventexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/MouseEventArgs.xml b/xml/System.Windows.Forms/MouseEventArgs.xml index 259e271bd07..59126b06b9c 100644 --- a/xml/System.Windows.Forms/MouseEventArgs.xml +++ b/xml/System.Windows.Forms/MouseEventArgs.xml @@ -47,17 +47,17 @@ The following code example handles the event on a control so that clicking the right mouse button selects all the text in the control. This example requires that you have a form that contains a control that is named `textBox1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MouseEventArgs/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.vb" id="Snippet1"::: The following code example uses the `Location` property to track clicks of the left mouse button and to draw a series of straight line segments in response to user input. The example does not redraw the lines if you hide the form and then redisplay it; this code has been omitted for simplicity. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MouseEventArgs/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.vb" id="Snippet2"::: The following code example uses the and properties to display the current position of the mouse pointer in a window. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MouseEventArgs/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -156,7 +156,7 @@ The following code example handles the event on a control so that clicking the right mouse button selects all the text in the control. This example requires that you have a form that contains a control named `textBox1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MouseEventArgs/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -212,7 +212,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet54"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet54"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet54"::: ]]> @@ -268,7 +268,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet54"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet54"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet54"::: ]]> @@ -308,7 +308,7 @@ The following code example uses the property to track left mouse clicks and draw a series of straight line segments in response to user input. The example does not persist the drawn lines if you hide the form and then redisplay it; this code was omitted for simplicity. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MouseEventArgs/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -363,7 +363,7 @@ The following code example uses the and properties to display the current position of the mouse pointer in a window. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MouseEventArgs/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -416,7 +416,7 @@ The following code example uses the and properties to display the current position of the mouse pointer in a window. To use this code, call `TrackCoordinates` from the form constructor. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MouseEventArgs/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/MouseEventArgs/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MouseEventArgs/Overview/Form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/MouseEventHandler.xml b/xml/System.Windows.Forms/MouseEventHandler.xml index 56c539cb35f..1b6a9a0de33 100644 --- a/xml/System.Windows.Forms/MouseEventHandler.xml +++ b/xml/System.Windows.Forms/MouseEventHandler.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/CPP/mouseeventexample.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/MouseDown/mouseeventexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MouseEvent/VB/mouseeventexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/MouseDown/mouseeventexample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/NativeWindow.xml b/xml/System.Windows.Forms/NativeWindow.xml index e47f6651960..70cc8d4f642 100644 --- a/xml/System.Windows.Forms/NativeWindow.xml +++ b/xml/System.Windows.Forms/NativeWindow.xml @@ -62,7 +62,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/NativeWindow/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NativeWindow/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/NativeWindow/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NativeWindow/Overview/form1.vb" id="Snippet1"::: ]]> @@ -166,7 +166,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/NativeWindow/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NativeWindow/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/NativeWindow/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NativeWindow/Overview/form1.vb" id="Snippet2"::: ]]> @@ -234,7 +234,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/NativeWindow/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NativeWindow/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/NativeWindow/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NativeWindow/Overview/form1.vb" id="Snippet3"::: ]]> @@ -481,7 +481,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/NativeWindow/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NativeWindow/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/NativeWindow/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NativeWindow/Overview/form1.vb" id="Snippet3"::: ]]> @@ -538,7 +538,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/NativeWindow/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NativeWindow/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/NativeWindow/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NativeWindow/Overview/form1.vb" id="Snippet3"::: ]]> @@ -650,7 +650,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/NativeWindow/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NativeWindow/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/NativeWindow/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NativeWindow/Overview/form1.vb" id="Snippet2"::: ]]> @@ -767,7 +767,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/NativeWindow/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NativeWindow/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/NativeWindow/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NativeWindow/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/NavigateEventArgs.xml b/xml/System.Windows.Forms/NavigateEventArgs.xml index fa5e124fb2e..4d650e74878 100644 --- a/xml/System.Windows.Forms/NavigateEventArgs.xml +++ b/xml/System.Windows.Forms/NavigateEventArgs.xml @@ -43,7 +43,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet204"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet204"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet204"::: ]]> @@ -131,7 +131,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet204"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet204"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet204"::: ]]> diff --git a/xml/System.Windows.Forms/NotifyIcon.xml b/xml/System.Windows.Forms/NotifyIcon.xml index 712203f2bd3..cfdc9e8446d 100644 --- a/xml/System.Windows.Forms/NotifyIcon.xml +++ b/xml/System.Windows.Forms/NotifyIcon.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/Overview/source.vb" id="Snippet1"::: ]]> @@ -156,7 +156,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/Overview/source.vb" id="Snippet1"::: ]]> @@ -201,7 +201,7 @@ To run the example code, paste it into a project that contains an instance of type named `NotifyIcon1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet505"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet505"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet505"::: ]]> @@ -244,7 +244,7 @@ The following code example demonstrates how to handle the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconBalloonTip/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.vb" id="Snippet4"::: ]]> @@ -292,7 +292,7 @@ The following code example demonstrates how to use the , , and properties. To run this example, paste the example code into a Windows Form that contains a named `notifyIcon1`. Call `SetBalloonTip` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconBalloonTip/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.vb" id="Snippet2"::: ]]> @@ -338,7 +338,7 @@ To run the example code, paste it into a project that contains an instance of type named `NotifyIcon1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet507"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet507"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet507"::: ]]> @@ -402,7 +402,7 @@ The following code example demonstrates how to use the , , and properties. To run this example, paste the example code into a Windows Form that contains a named `notifyIcon1`. Call `SetBalloonTip` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconBalloonTip/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.vb" id="Snippet2"::: ]]> @@ -463,7 +463,7 @@ The following code example demonstrates how to use the , , and properties. To run this example, paste the example code into a Windows Form that contains a named `notifyIcon1`. Call `SetBalloonTip` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconBalloonTip/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.vb" id="Snippet2"::: ]]> @@ -514,7 +514,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/Click/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/Click/form1.vb" id="Snippet1"::: ]]> @@ -572,7 +572,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/Overview/source.vb" id="Snippet1"::: ]]> @@ -700,7 +700,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/Overview/source.vb" id="Snippet1"::: ]]> @@ -756,7 +756,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/Overview/source.vb" id="Snippet1"::: ]]> @@ -802,7 +802,7 @@ To run the example code, paste it into a project that contains an instance of type named `NotifyIcon1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet510"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet510"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet510"::: ]]> @@ -847,7 +847,7 @@ To run the example code, paste it into a project that contains an instance of type named `NotifyIcon1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet511"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet511"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet511"::: ]]> @@ -893,7 +893,7 @@ To run the example code, paste it into a project that contains an instance of type named `NotifyIcon1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet512"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet512"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet512"::: ]]> @@ -941,7 +941,7 @@ To run the example code, paste it into a project that contains an instance of type named `NotifyIcon1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet513"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet513"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet513"::: ]]> @@ -989,7 +989,7 @@ To run the example code, paste it into a project that contains an instance of type named `NotifyIcon1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet514"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet514"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet514"::: ]]> @@ -1048,7 +1048,7 @@ The following code example demonstrates how to use the method. To run this example, paste the example code into a Windows Form that contains a named `notifyIcon1`. Call `SetBalloonTip` from the form's constructor or event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconBalloonTip/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.vb" id="Snippet2"::: ]]> @@ -1104,7 +1104,7 @@ The following code example demonstrates how to use the method. To run this example, paste the example code into a Windows Form that contains a named `notifyIcon1`. Associate the `Form1_DoubleClick` method in this example with the form's event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIconBalloonTip/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/BalloonTipClosed/Form1.vb" id="Snippet1"::: ]]> @@ -1236,7 +1236,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/Overview/source.vb" id="Snippet1"::: ]]> @@ -1299,7 +1299,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NotifyIcon/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.NotifyIcon/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NotifyIcon/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/NumericUpDown.xml b/xml/System.Windows.Forms/NumericUpDown.xml index f73aaf9fbc1..c9b93fbf881 100644 --- a/xml/System.Windows.Forms/NumericUpDown.xml +++ b/xml/System.Windows.Forms/NumericUpDown.xml @@ -81,7 +81,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic NumericUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NumericUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic NumericUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NumericUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -120,7 +120,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic NumericUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NumericUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic NumericUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NumericUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -174,7 +174,7 @@ The following code example demonstrates how to use the property. To run this example, paste the following code into a form and call the `InitializeAcceleratedUpDown` method from the form's constructor or event-handling method. While the code is running, press and hold the up or down arrow to see the acceleration occur. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MiscBugDriven/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Overview/form1.vb" id="Snippet6"::: ]]> @@ -291,7 +291,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic NumericUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NumericUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic NumericUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NumericUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -430,7 +430,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic NumericUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NumericUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic NumericUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NumericUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -478,7 +478,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic NumericUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NumericUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic NumericUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NumericUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -536,7 +536,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic NumericUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NumericUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic NumericUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NumericUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -594,7 +594,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic NumericUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NumericUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic NumericUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NumericUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -1119,7 +1119,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic NumericUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NumericUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic NumericUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NumericUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -1330,7 +1330,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic NumericUpDown Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/NumericUpDown/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic NumericUpDown Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/NumericUpDown/Overview/source.vb" id="Snippet1"::: ]]> @@ -1392,7 +1392,7 @@ To run the example code, paste it into a project that contains an instance of type named `NumericUpDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet515"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet515"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet515"::: ]]> diff --git a/xml/System.Windows.Forms/NumericUpDownAcceleration.xml b/xml/System.Windows.Forms/NumericUpDownAcceleration.xml index be450763acc..73b937d5759 100644 --- a/xml/System.Windows.Forms/NumericUpDownAcceleration.xml +++ b/xml/System.Windows.Forms/NumericUpDownAcceleration.xml @@ -34,7 +34,7 @@ The following code example demonstrates how to use the class. To run this example, paste the following code into a form and call the `InitializeAcceleratedUpDown` method from the form's constructor or event handler. While the code is running, press and hold the up or down arrow to see the acceleration occur. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MiscBugDriven/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Overview/form1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Windows.Forms/NumericUpDownAccelerationCollection.xml b/xml/System.Windows.Forms/NumericUpDownAccelerationCollection.xml index ac08746cfa4..ffff1a1898c 100644 --- a/xml/System.Windows.Forms/NumericUpDownAccelerationCollection.xml +++ b/xml/System.Windows.Forms/NumericUpDownAccelerationCollection.xml @@ -57,7 +57,7 @@ The following code example demonstrates how to use the property. To run this example, paste the following code into a form and call the `InitializeAcceleratedUpDown` method from the form's constructor or event handler. While the code is running, press and hold the up or down arrow to see the acceleration occur. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MiscBugDriven/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Overview/form1.vb" id="Snippet6"::: ]]> @@ -130,7 +130,7 @@ The following code example demonstrates how to use the property. To run this example, paste the following code into a form and call the `InitializeAcceleratedUpDown` method from the form's constructor or event handler. While the code is running, press and hold the up or down arrow to see the acceleration occur. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MiscBugDriven/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Overview/form1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Windows.Forms/OSFeature.xml b/xml/System.Windows.Forms/OSFeature.xml index 5a753edf3e5..4e3ece89be8 100644 --- a/xml/System.Windows.Forms/OSFeature.xml +++ b/xml/System.Windows.Forms/OSFeature.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FeatureSupport/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FeatureSupport/Overview/source.vb" id="Snippet1"::: ]]> @@ -136,7 +136,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature.GetVersionPresent Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/OSFeature/Feature/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature.GetVersionPresent Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/OSFeature/Feature/source.vb" id="Snippet1"::: ]]> @@ -190,7 +190,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature.GetVersionPresent Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/OSFeature/Feature/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature.GetVersionPresent Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/OSFeature/Feature/source.vb" id="Snippet1"::: ]]> @@ -245,10 +245,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.OSFeature.IsPresent/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/OSFeature/IsPresent/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OSFeature.IsPresent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/OSFeature/IsPresent/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.OSFeature.IsPresent/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/OSFeature/IsPresent/form1.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OSFeature.IsPresent/VB/form1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/OSFeature/IsPresent/form1.vb" id="Snippet2"::: ]]> @@ -299,7 +299,7 @@ A layered window can be made transparent or translucent by the operating system. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic OSFeature.LayeredWindows Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/OSFeature/LayeredWindows/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic OSFeature.LayeredWindows Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/OSFeature/LayeredWindows/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/OpenFileDialog.xml b/xml/System.Windows.Forms/OpenFileDialog.xml index b6f3f17b7d6..62a555fc5fa 100644 --- a/xml/System.Windows.Forms/OpenFileDialog.xml +++ b/xml/System.Windows.Forms/OpenFileDialog.xml @@ -50,7 +50,7 @@ On a right-to-left operating system, setting the containing form's @@ -181,7 +181,7 @@ On a right-to-left operating system, setting the containing form's controls on a Form. It demonstrates initializing an , setting the and properties, and allowing the user to select multiple files by setting the property to true. This code example assumes that your form already has an control named `openFileDialog1`, a named `SelectFileButton`, and a named `flowLayoutPanel1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/FileNames/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.OpenFileDialog.MultiSelect/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/FileNames/Form1.vb" id="Snippet1"::: ]]> @@ -229,7 +229,7 @@ On a right-to-left operating system, setting the containing form's @@ -288,7 +288,7 @@ On a right-to-left operating system, setting the containing form's @@ -516,7 +516,7 @@ On a right-to-left operating system, setting the containing form's diff --git a/xml/System.Windows.Forms/Padding.xml b/xml/System.Windows.Forms/Padding.xml index 597b9ef0d23..6e85fd696d4 100644 --- a/xml/System.Windows.Forms/Padding.xml +++ b/xml/System.Windows.Forms/Padding.xml @@ -81,7 +81,7 @@ For a full code listing, see [How to: Create a Border Around a Windows Forms Control Using Padding](/dotnet/desktop/winforms/controls/how-to-create-a-border-around-a-windows-forms-control-using-padding). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Padding/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Padding/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Padding/Overview/Form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/PageSetupDialog.xml b/xml/System.Windows.Forms/PageSetupDialog.xml index 2c0f3c01ada..803a615b4ce 100644 --- a/xml/System.Windows.Forms/PageSetupDialog.xml +++ b/xml/System.Windows.Forms/PageSetupDialog.xml @@ -50,7 +50,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PageSetupDialogExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PageSetupDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PageSetupDialogExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PageSetupDialog/Overview/form1.vb" id="Snippet1"::: ]]> @@ -501,7 +501,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PageSetupDialogExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PageSetupDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PageSetupDialogExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PageSetupDialog/Overview/form1.vb" id="Snippet1"::: ]]> @@ -561,7 +561,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PageSetupDialogExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PageSetupDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PageSetupDialogExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PageSetupDialog/Overview/form1.vb" id="Snippet1"::: ]]> @@ -724,7 +724,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PageSetupDialogExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PageSetupDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PageSetupDialogExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PageSetupDialog/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/PaintEventArgs.xml b/xml/System.Windows.Forms/PaintEventArgs.xml index 86ab85b7bf4..9d8a1f38b90 100644 --- a/xml/System.Windows.Forms/PaintEventArgs.xml +++ b/xml/System.Windows.Forms/PaintEventArgs.xml @@ -56,11 +56,11 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Demontrates Form Paint Event/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PaintEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Demontrates Form Paint Event/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PaintEventArgs/Overview/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Paint/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnPaint/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Paint/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnPaint/form1.vb" id="Snippet1"::: ]]> @@ -109,7 +109,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Paint/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnPaint/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Paint/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnPaint/form1.vb" id="Snippet1"::: ]]> @@ -158,7 +158,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet42"::: ]]> @@ -330,11 +330,11 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Demontrates Form Paint Event/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PaintEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Demontrates Form Paint Event/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PaintEventArgs/Overview/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Paint/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnPaint/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Paint/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnPaint/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/PaintEventHandler.xml b/xml/System.Windows.Forms/PaintEventHandler.xml index 362338b7abd..d84f870d5c7 100644 --- a/xml/System.Windows.Forms/PaintEventHandler.xml +++ b/xml/System.Windows.Forms/PaintEventHandler.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Control.Paint/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/OnPaint/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Control.Paint/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/OnPaint/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Panel.xml b/xml/System.Windows.Forms/Panel.xml index e3c7f1c418b..b9e57228edf 100644 --- a/xml/System.Windows.Forms/Panel.xml +++ b/xml/System.Windows.Forms/Panel.xml @@ -78,7 +78,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Panel Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Panel/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Panel Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Panel/Overview/source.vb" id="Snippet1"::: ]]> @@ -202,7 +202,7 @@ To run the example code, paste it into a project that contains an instance of type named `Panel1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet384"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet384"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet384"::: ]]> @@ -304,7 +304,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Panel.BorderStyle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Panel/BorderStyle/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Panel.BorderStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Panel/BorderStyle/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/PictureBox.xml b/xml/System.Windows.Forms/PictureBox.xml index 68e3e8f34b6..94af4ef6be7 100644 --- a/xml/System.Windows.Forms/PictureBox.xml +++ b/xml/System.Windows.Forms/PictureBox.xml @@ -90,7 +90,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PictureBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PictureBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -136,7 +136,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeader/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeader/Overview/form1.vb" id="Snippet2"::: ]]> @@ -234,7 +234,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnHeader/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewAndPictureBox/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnHeader/Overview/form1.vb" id="Snippet2"::: ]]> @@ -277,9 +277,9 @@ The following code example demonstrates how to use the method. To run this example, paste the following code into a Windows Form that contains a named `pictureBox1` and two controls named `startLoadButton` and `cancelLoadButton`. Make sure that the event for the buttons is associated with their event-handling method in this example. You must change the image file path to a path that is valid on your system. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/CancelAsync/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/CancelAsync/Form1.vb" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/CancelAsync/Form1.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/CancelAsync/Form1.vb" id="Snippet4"::: ]]> @@ -861,7 +861,7 @@ The following code example demonstrates how to create a bitmap at runtime and display it in a by setting the property. To run this example, paste it into a Windows Form and call `CreateBitmapAtRuntime` from the form's constructor. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/Image/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.CreateBitmapAtRuntime/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/Image/Form1.vb" id="Snippet1"::: ]]> @@ -1438,7 +1438,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following code example demonstrates how to use the method. To run this example, paste the following code into a Windows Form that contains a named `pictureBox1` and a named `startLoadButton`. Make sure that the event for the button is associated with the `startLoadButton_Click` method in this example. You must change the image file path to a path that is valid on your system. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/CancelAsync/Form1.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/CancelAsync/Form1.vb" id="Snippet3"::: ]]> @@ -1483,7 +1483,7 @@ The following code example demonstrates how to use the named `PictureBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet516"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet516"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet516"::: ]]> @@ -1528,9 +1528,9 @@ The following code example demonstrates how to use the event. To run this example, paste the following code into a Windows Form that contains a named `pictureBox1`, a named `startLoadButton`, and a named `progressBar1`. Make sure that the `startLoadButton_Click` method is associated with the event for the button and the `pictureBox1_LoadProgressChanged` method is associated with the event for `pictureBox1`. You must change the image file path to a path that is valid on your system. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/CancelAsync/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/CancelAsync/Form1.vb" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/CancelAsync/Form1.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/CancelAsync/Form1.vb" id="Snippet5"::: ]]> @@ -2123,7 +2123,7 @@ The following code example demonstrates how to use the property. To run this example, paste the following code into a Windows Form and call the `InitializePictureBoxAndButton` method from the form's constructor or Load-event handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/SizeMode/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PictureBox.SizeMode/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/SizeMode/Form1.vb" id="Snippet10"::: ]]> @@ -2170,7 +2170,7 @@ The following code example demonstrates how to use the named `PictureBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet518"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet518"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet518"::: ]]> @@ -2615,7 +2615,7 @@ The following code example demonstrates how to use the property. To run this example, paste the following code into a Windows Form that contains a named `pictureBox1` and a named `startLoadButton`. Make sure that the event for the button is associated with the `startLoadButton_Click` method in this example. You must change the image file path to one that is valid on your system. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/CancelAsync/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/CancelAsync/Form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/PictureBoxSizeMode.xml b/xml/System.Windows.Forms/PictureBoxSizeMode.xml index 2a2c5d85d24..b13a7074751 100644 --- a/xml/System.Windows.Forms/PictureBoxSizeMode.xml +++ b/xml/System.Windows.Forms/PictureBoxSizeMode.xml @@ -34,7 +34,7 @@ The following code example demonstrates the use of the property. To run this example, paste the following code into a Windows Form and call the `InitializePictureBoxAndButton` method from the form's constructor or Load-event handling method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/SizeMode/Form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PictureBox.SizeMode/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/SizeMode/Form1.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Windows.Forms/PopupEventArgs.xml b/xml/System.Windows.Forms/PopupEventArgs.xml index cbe89d7eb38..0cb68acc072 100644 --- a/xml/System.Windows.Forms/PopupEventArgs.xml +++ b/xml/System.Windows.Forms/PopupEventArgs.xml @@ -42,7 +42,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolTip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet619"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet619"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet619"::: ]]> @@ -151,7 +151,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolTip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet619"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet619"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet619"::: ]]> @@ -205,7 +205,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolTip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet619"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet619"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet619"::: ]]> @@ -258,7 +258,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolTip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet619"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet619"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet619"::: ]]> @@ -314,7 +314,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolTip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet619"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet619"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet619"::: ]]> diff --git a/xml/System.Windows.Forms/PowerStatus.xml b/xml/System.Windows.Forms/PowerStatus.xml index 2063ecd73d6..3c59cab67d7 100644 --- a/xml/System.Windows.Forms/PowerStatus.xml +++ b/xml/System.Windows.Forms/PowerStatus.xml @@ -37,7 +37,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/PowerStatusBrowser/CPP/powerstatusbrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PowerStatus/Overview/powerstatusbrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/PowerStatusBrowser/VB/powerstatusbrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PowerStatus/Overview/powerstatusbrowser.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/PreviewKeyDownEventArgs.xml b/xml/System.Windows.Forms/PreviewKeyDownEventArgs.xml index af74e71a07a..aa0016d3795 100644 --- a/xml/System.Windows.Forms/PreviewKeyDownEventArgs.xml +++ b/xml/System.Windows.Forms/PreviewKeyDownEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet65"::: ]]> @@ -112,7 +112,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet65"::: ]]> @@ -153,7 +153,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet65"::: ]]> @@ -204,7 +204,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet65"::: ]]> @@ -244,7 +244,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet65"::: ]]> @@ -290,7 +290,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet65"::: ]]> @@ -330,7 +330,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet65"::: ]]> @@ -370,7 +370,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet65"::: ]]> @@ -411,7 +411,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet65"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet65"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet65"::: ]]> diff --git a/xml/System.Windows.Forms/PrintControllerWithStatusDialog.xml b/xml/System.Windows.Forms/PrintControllerWithStatusDialog.xml index f5f38c0fa45..559a8652d8c 100644 --- a/xml/System.Windows.Forms/PrintControllerWithStatusDialog.xml +++ b/xml/System.Windows.Forms/PrintControllerWithStatusDialog.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PrintControllerWithStatusDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintControllerWithStatusDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PrintControllerWithStatusDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintControllerWithStatusDialog/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/PrintDialog.xml b/xml/System.Windows.Forms/PrintDialog.xml index ee694c780b6..286ce418a16 100644 --- a/xml/System.Windows.Forms/PrintDialog.xml +++ b/xml/System.Windows.Forms/PrintDialog.xml @@ -56,7 +56,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PrintDialogExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintDialogExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintDialog/Overview/form1.vb" id="Snippet1"::: ]]> @@ -305,7 +305,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PrintDialogExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintDialogExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintDialog/Overview/form1.vb" id="Snippet1"::: ]]> @@ -362,7 +362,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PrintDialogExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintDialogExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintDialog/Overview/form1.vb" id="Snippet1"::: ]]> @@ -580,7 +580,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PrintDialogExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintDialogExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintDialog/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/PrintPreviewControl.xml b/xml/System.Windows.Forms/PrintPreviewControl.xml index 643fb7e267a..78d0ff169e0 100644 --- a/xml/System.Windows.Forms/PrintPreviewControl.xml +++ b/xml/System.Windows.Forms/PrintPreviewControl.xml @@ -56,7 +56,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewControl/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewControl/Overview/form1.vb" id="Snippet1"::: ]]> @@ -108,7 +108,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewControl/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewControl/Overview/form1.vb" id="Snippet1"::: ]]> @@ -297,7 +297,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewControl/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewControl/Overview/form1.vb" id="Snippet1"::: ]]> @@ -804,7 +804,7 @@ To run the example code, paste it into a project that contains an instance of type named `PrintPreviewControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet654"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet654"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet654"::: ]]> @@ -988,7 +988,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewControl/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewControl/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1070,7 +1070,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewControl/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PrintPreviewControlExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewControl/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/PrintPreviewDialog.xml b/xml/System.Windows.Forms/PrintPreviewDialog.xml index 10cedb8e000..8b17c7b1e75 100644 --- a/xml/System.Windows.Forms/PrintPreviewDialog.xml +++ b/xml/System.Windows.Forms/PrintPreviewDialog.xml @@ -80,7 +80,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewDialog/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewDialog/Overview/form1.vb" id="Snippet3"::: ]]> @@ -124,7 +124,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewDialog/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewDialog/Overview/form1.vb" id="Snippet3"::: ]]> @@ -4184,7 +4184,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewDialog/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewDialog/Overview/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/ProgressBar.xml b/xml/System.Windows.Forms/ProgressBar.xml index 12309893e27..8729a450516 100644 --- a/xml/System.Windows.Forms/ProgressBar.xml +++ b/xml/System.Windows.Forms/ProgressBar.xml @@ -79,7 +79,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ProgressBarOverview/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBar/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ProgressBarOverview/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBar/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1052,7 +1052,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ProgressBar.Increment/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBar/Increment/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ProgressBar.Increment/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBar/Increment/form1.vb" id="Snippet1"::: ]]> @@ -1351,7 +1351,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ProgressBarOverview/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBar/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ProgressBarOverview/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBar/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1413,7 +1413,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ProgressBarOverview/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBar/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ProgressBarOverview/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBar/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1879,7 +1879,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ProgressBarOverview/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBar/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ProgressBarOverview/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBar/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2083,7 +2083,7 @@ To run the example code, paste it into a project that contains an instance of type named `ProgressBar1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet519"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet519"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet519"::: ]]> @@ -2138,7 +2138,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ProgressBarOverview/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBar/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ProgressBarOverview/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBar/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2456,7 +2456,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ProgressBar.Increment/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBar/Increment/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ProgressBar.Increment/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBar/Increment/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ProgressBarRenderer.xml b/xml/System.Windows.Forms/ProgressBarRenderer.xml index 4347b2c3c61..3e0098bcb59 100644 --- a/xml/System.Windows.Forms/ProgressBarRenderer.xml +++ b/xml/System.Windows.Forms/ProgressBarRenderer.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBarRenderer/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBarRenderer/Overview/form1.vb" id="Snippet0"::: ]]> @@ -97,7 +97,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBarRenderer/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBarRenderer/Overview/form1.vb" id="Snippet4"::: ]]> @@ -152,7 +152,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBarRenderer/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBarRenderer/Overview/form1.vb" id="Snippet4"::: ]]> @@ -310,7 +310,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBarRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBarRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -370,7 +370,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/cpp/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBarRenderer/Overview/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBarRenderer/Overview/form1.vb" id="Snippet6"::: ]]> @@ -424,7 +424,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ProgressBarRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProgressBarRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ProgressBarRenderer/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/PropertyGrid.xml b/xml/System.Windows.Forms/PropertyGrid.xml index 7aa1d0d4f91..5d01ae82f2c 100644 --- a/xml/System.Windows.Forms/PropertyGrid.xml +++ b/xml/System.Windows.Forms/PropertyGrid.xml @@ -86,7 +86,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic PropertyGrid Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PropertyGrid/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic PropertyGrid Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PropertyGrid/Overview/source.vb" id="Snippet1"::: ]]> @@ -1602,7 +1602,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet522"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet522"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet522"::: ]]> @@ -1661,7 +1661,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet523"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet523"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet523"::: ]]> @@ -1720,7 +1720,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet524"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet524"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet524"::: ]]> @@ -3068,7 +3068,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.vb" id="Snippet2"::: ]]> @@ -3121,7 +3121,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet532"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet532"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet532"::: ]]> @@ -3173,7 +3173,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet531"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet531"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet531"::: ]]> @@ -3275,7 +3275,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet530"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet530"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet530"::: ]]> @@ -3564,7 +3564,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet533"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet533"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet533"::: ]]> @@ -3780,7 +3780,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet534"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet534"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet534"::: ]]> @@ -4457,7 +4457,7 @@ This member is an explicit interface member implementation. It can be used only To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet521"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet521"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet521"::: ]]> @@ -4508,7 +4508,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.PropertyGridExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox+ObjectCollection/Add/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/PropertyTabChangedEventArgs.xml b/xml/System.Windows.Forms/PropertyTabChangedEventArgs.xml index bbf701399b6..8303db2cfe1 100644 --- a/xml/System.Windows.Forms/PropertyTabChangedEventArgs.xml +++ b/xml/System.Windows.Forms/PropertyTabChangedEventArgs.xml @@ -51,7 +51,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet531"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet531"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet531"::: ]]> @@ -137,7 +137,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet531"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet531"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet531"::: ]]> @@ -185,7 +185,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet531"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet531"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet531"::: ]]> diff --git a/xml/System.Windows.Forms/PropertyValueChangedEventArgs.xml b/xml/System.Windows.Forms/PropertyValueChangedEventArgs.xml index 642292a92ec..dd05d7d9205 100644 --- a/xml/System.Windows.Forms/PropertyValueChangedEventArgs.xml +++ b/xml/System.Windows.Forms/PropertyValueChangedEventArgs.xml @@ -49,7 +49,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet530"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet530"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet530"::: ]]> @@ -135,7 +135,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet530"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet530"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet530"::: ]]> @@ -188,7 +188,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet530"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet530"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet530"::: ]]> diff --git a/xml/System.Windows.Forms/QueryAccessibilityHelpEventArgs.xml b/xml/System.Windows.Forms/QueryAccessibilityHelpEventArgs.xml index d9e79e8d2e3..4ffbf2f399c 100644 --- a/xml/System.Windows.Forms/QueryAccessibilityHelpEventArgs.xml +++ b/xml/System.Windows.Forms/QueryAccessibilityHelpEventArgs.xml @@ -51,7 +51,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet3"::: ]]> @@ -185,7 +185,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet44"::: ]]> @@ -238,7 +238,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet44"::: ]]> @@ -292,7 +292,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/QueryAccessibilityHelpEventHandler.xml b/xml/System.Windows.Forms/QueryAccessibilityHelpEventHandler.xml index 19a2c6a5499..e1346483c2a 100644 --- a/xml/System.Windows.Forms/QueryAccessibilityHelpEventHandler.xml +++ b/xml/System.Windows.Forms/QueryAccessibilityHelpEventHandler.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/QueryContinueDragEventArgs.xml b/xml/System.Windows.Forms/QueryContinueDragEventArgs.xml index 61071866f01..9fc5608aca2 100644 --- a/xml/System.Windows.Forms/QueryContinueDragEventArgs.xml +++ b/xml/System.Windows.Forms/QueryContinueDragEventArgs.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet6"::: ]]> @@ -145,7 +145,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet6"::: ]]> @@ -200,7 +200,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet43"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet43"::: ]]> @@ -266,7 +266,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet43"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet43"::: ]]> diff --git a/xml/System.Windows.Forms/QueryContinueDragEventHandler.xml b/xml/System.Windows.Forms/QueryContinueDragEventHandler.xml index 43af3b8a823..fb175870dac 100644 --- a/xml/System.Windows.Forms/QueryContinueDragEventHandler.xml +++ b/xml/System.Windows.Forms/QueryContinueDragEventHandler.xml @@ -60,7 +60,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/DoDragDrop/form11.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.DoDragDrop/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/DoDragDrop/form11.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Windows.Forms/QuestionEventArgs.xml b/xml/System.Windows.Forms/QuestionEventArgs.xml index a07310e6063..eb16bb44a6a 100644 --- a/xml/System.Windows.Forms/QuestionEventArgs.xml +++ b/xml/System.Windows.Forms/QuestionEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet281"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet281"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet281"::: ]]> @@ -160,7 +160,7 @@ To run the example code, paste it into a project that contains an instance of type named `DataGridView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet281"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet281"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet281"::: ]]> diff --git a/xml/System.Windows.Forms/RadioButton.xml b/xml/System.Windows.Forms/RadioButton.xml index 97b4bd59080..1bd73555dba 100644 --- a/xml/System.Windows.Forms/RadioButton.xml +++ b/xml/System.Windows.Forms/RadioButton.xml @@ -83,7 +83,7 @@ The following code example creates and initializes two controls in a . The example uses the event to track which is selected and reports the text of the selected when the user clicks a . To run this example, paste the code into a Windows Form. Call `InitializeRadioButtons` from the form's constructor or the event-handling method. :::code language="csharp" source="~/snippets/csharp/System.Drawing.Printing/PageSettings/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MiscBugDriven/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Drawing.Printing/PageSettings/Overview/form1.vb" id="Snippet2"::: ]]> @@ -238,7 +238,7 @@ To run the example code, paste it into a project that contains an instance of type named `RadioButton1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet535"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet535"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet535"::: ]]> @@ -354,7 +354,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RadioButton.CheckAlign Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RadioButton/CheckAlign/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RadioButton.CheckAlign Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RadioButton/CheckAlign/source.vb" id="Snippet1"::: ]]> @@ -414,7 +414,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RadioButton.Checked Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RadioButton/Checked/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RadioButton.Checked Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RadioButton/Checked/source.vb" id="Snippet1"::: ]]> @@ -465,7 +465,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RadioButton.CheckAlign Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RadioButton/CheckAlign/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RadioButton.CheckAlign Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RadioButton/CheckAlign/source.vb" id="Snippet1"::: ]]> @@ -717,7 +717,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RadioButton.OnCheckedChanged Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RadioButton/OnCheckedChanged/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RadioButton.OnCheckedChanged Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RadioButton/OnCheckedChanged/source.vb" id="Snippet1"::: ]]> @@ -919,7 +919,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RadioButton.Checked Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RadioButton/Checked/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RadioButton.Checked Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RadioButton/Checked/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/RadioButtonRenderer.xml b/xml/System.Windows.Forms/RadioButtonRenderer.xml index fc72f97cc11..a5147159c8f 100644 --- a/xml/System.Windows.Forms/RadioButtonRenderer.xml +++ b/xml/System.Windows.Forms/RadioButtonRenderer.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RadioButtonRenderer/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RadioButtonRenderer/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RadioButtonRenderer/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RadioButtonRenderer/Overview/form1.vb" id="Snippet0"::: ]]> @@ -222,7 +222,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RadioButtonRenderer/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RadioButtonRenderer/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RadioButtonRenderer/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RadioButtonRenderer/Overview/form1.vb" id="Snippet4"::: ]]> @@ -484,7 +484,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RadioButtonRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RadioButtonRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RadioButtonRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RadioButtonRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -572,7 +572,7 @@ The following code example uses the property to show the render style is changed depending on the application state. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RadioButtonRenderer/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RadioButtonRenderer/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RadioButtonRenderer/Overview/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/RetrieveVirtualItemEventArgs.xml b/xml/System.Windows.Forms/RetrieveVirtualItemEventArgs.xml index d5be0ae6b53..55ad63426ed 100644 --- a/xml/System.Windows.Forms/RetrieveVirtualItemEventArgs.xml +++ b/xml/System.Windows.Forms/RetrieveVirtualItemEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet479"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet479"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet479"::: ]]> @@ -127,7 +127,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet479"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet479"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet479"::: ]]> @@ -173,7 +173,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet479"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet479"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet479"::: ]]> diff --git a/xml/System.Windows.Forms/RichTextBox.xml b/xml/System.Windows.Forms/RichTextBox.xml index 82ce4f879d5..fec520a5364 100644 --- a/xml/System.Windows.Forms/RichTextBox.xml +++ b/xml/System.Windows.Forms/RichTextBox.xml @@ -75,7 +75,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -118,7 +118,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -166,7 +166,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.AllowDrop/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/IndexFromPoint/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.AllowDrop/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/IndexFromPoint/form1.vb" id="Snippet1"::: ]]> @@ -282,7 +282,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.ZoomFactor/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/AutoWordSelection/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.ZoomFactor/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/AutoWordSelection/form1.vb" id="Snippet1"::: ]]> @@ -536,7 +536,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.BulletIndent/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/BulletIndent/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.BulletIndent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/BulletIndent/form1.vb" id="Snippet1"::: ]]> @@ -588,7 +588,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichText_Paste/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/CanPaste/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichText_Paste/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/CanPaste/form1.vb" id="Snippet1"::: ]]> @@ -646,7 +646,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.RedoAction/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/CanRedo/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.RedoAction/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/CanRedo/form1.vb" id="Snippet1"::: ]]> @@ -699,7 +699,7 @@ To run the example code, paste it into a project that contains an instance of type named `RichTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet537"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet537"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet537"::: ]]> @@ -872,7 +872,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.LinkClicked Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/DetectUrls/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.LinkClicked Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/DetectUrls/source.vb" id="Snippet1"::: ]]> @@ -1007,7 +1007,7 @@ To run the example code, paste it into a project that contains an instance of type named `RichTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet539"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet539"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet539"::: ]]> @@ -1254,7 +1254,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.FindChar1/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/Find/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.FindChar1/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/form1.vb" id="Snippet1"::: ]]> @@ -1312,7 +1312,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.Find Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/Find/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.Find Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/source.vb" id="Snippet1"::: ]]> @@ -1373,7 +1373,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.FindChar2/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/Find/form11.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.FindChar2/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/form11.vb" id="Snippet1"::: ]]> @@ -1435,7 +1435,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.Find1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/Find/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.Find1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/source1.vb" id="Snippet1"::: ]]> @@ -1551,7 +1551,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.Find2 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/Find/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.Find2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/source2.vb" id="Snippet1"::: ]]> @@ -1611,7 +1611,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.FindStringStartEnd/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/Find/form12.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.FindStringStartEnd/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/form12.vb" id="Snippet1"::: ]]> @@ -1756,7 +1756,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.GetCharIndexFromPosition/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/GetCharIndexFromPosition/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.GetCharIndexFromPosition/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/GetCharIndexFromPosition/form1.vb" id="Snippet1"::: ]]> @@ -1823,7 +1823,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxGetLine/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/GetLineFromCharIndex/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxGetLine/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/GetLineFromCharIndex/form1.vb" id="Snippet1"::: ]]> @@ -1974,7 +1974,7 @@ The parameter was less the par To run the example code, paste it into a project that contains an instance of type named `RichTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet540"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet540"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet540"::: ]]> @@ -2026,7 +2026,7 @@ The parameter was less the par To run the example code, paste it into a project that contains an instance of type named `RichTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet542"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet542"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet542"::: ]]> @@ -2120,7 +2120,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.LinkClicked Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/DetectUrls/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.LinkClicked Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/DetectUrls/source.vb" id="Snippet1"::: ]]> @@ -2188,7 +2188,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.LoadFile Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/LoadFile/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.LoadFile Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/LoadFile/source.vb" id="Snippet1"::: ]]> @@ -2246,7 +2246,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/DefaultExt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/DefaultExt/form1.vb" id="Snippet1"::: ]]> @@ -2307,7 +2307,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.LoadFile1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/LoadFile/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.LoadFile1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/LoadFile/source1.vb" id="Snippet1"::: ]]> @@ -2365,7 +2365,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.MaxLength/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/MaxLength/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.MaxLength/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/MaxLength/form1.vb" id="Snippet1"::: ]]> @@ -2997,7 +2997,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichText_Paste/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/CanPaste/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichText_Paste/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/CanPaste/form1.vb" id="Snippet1"::: ]]> @@ -3090,7 +3090,7 @@ The parameter was less the par To run the example code, paste it into a project that contains an instance of type named `RichTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet543"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet543"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet543"::: ]]> @@ -3185,7 +3185,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.RedoAction/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/CanRedo/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.RedoAction/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/CanRedo/form1.vb" id="Snippet1"::: ]]> @@ -3241,7 +3241,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.RedoAction/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/CanRedo/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.RedoAction/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/CanRedo/form1.vb" id="Snippet1"::: ]]> @@ -3352,7 +3352,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.ZoomFactor/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/AutoWordSelection/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.ZoomFactor/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/AutoWordSelection/form1.vb" id="Snippet1"::: ]]> @@ -3483,7 +3483,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.SaveFile Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SaveFile/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SaveFile Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SaveFile/source.vb" id="Snippet1"::: ]]> @@ -3539,7 +3539,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/DefaultExt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/DefaultExt/form1.vb" id="Snippet1"::: ]]> @@ -3596,7 +3596,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.SaveFile1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SaveFile/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SaveFile1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SaveFile/source1.vb" id="Snippet1"::: ]]> @@ -3760,7 +3760,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.SelectionBullet/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SelectedText/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionBullet/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectedText/form1.vb" id="Snippet1"::: ]]> @@ -3824,7 +3824,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.SelectionAlignment/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SelectionAlignment/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionAlignment/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionAlignment/form1.vb" id="Snippet1"::: ]]> @@ -3935,7 +3935,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.SelectionBullet/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SelectedText/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionBullet/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectedText/form1.vb" id="Snippet1"::: ]]> @@ -3990,7 +3990,7 @@ The parameter was less the par To run the example code, paste it into a project that contains an instance of type named `RichTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet544"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet544"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet544"::: ]]> @@ -4055,7 +4055,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.SelectionCharOffset/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SelectionCharOffset/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionCharOffset/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionCharOffset/form1.vb" id="Snippet1"::: ]]> @@ -4115,7 +4115,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.SelectionColor Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SelectionColor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SelectionColor Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionColor/source.vb" id="Snippet1"::: ]]> @@ -4189,7 +4189,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.SelectionFont Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SelectionFont/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SelectionFont Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionFont/source.vb" id="Snippet1"::: ]]> @@ -4254,7 +4254,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.SelectionHangingIndent/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SelectionHangingIndent/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionHangingIndent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionHangingIndent/form1.vb" id="Snippet1"::: ]]> @@ -4318,7 +4318,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.SelectionIndent/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SelectionIndent/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionIndent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionIndent/form1.vb" id="Snippet1"::: ]]> @@ -4375,7 +4375,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.SelectionLength/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SelectionLength/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionLength/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionLength/form1.vb" id="Snippet1"::: ]]> @@ -4444,7 +4444,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.SelectionProtected/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SelectionProtected/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionProtected/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionProtected/form1.vb" id="Snippet1"::: ]]> @@ -4508,7 +4508,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.SelectionRightIndent/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SelectionRightIndent/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.SelectionRightIndent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SelectionRightIndent/form1.vb" id="Snippet1"::: ]]> @@ -4831,7 +4831,7 @@ The parameter was less the par To run the example code, paste it into a project that contains an instance of type named `RichTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet545"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet545"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet545"::: ]]> @@ -4918,7 +4918,7 @@ The parameter was less the par :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RichTextBox.ZoomFactor/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/AutoWordSelection/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RichTextBox.ZoomFactor/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/AutoWordSelection/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/RichTextBoxFinds.xml b/xml/System.Windows.Forms/RichTextBoxFinds.xml index 952c42f6b93..7eb5e99b974 100644 --- a/xml/System.Windows.Forms/RichTextBoxFinds.xml +++ b/xml/System.Windows.Forms/RichTextBoxFinds.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.Find2 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/Find/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.Find2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/Find/source2.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/RichTextBoxStreamType.xml b/xml/System.Windows.Forms/RichTextBoxStreamType.xml index ddba1376df8..724d7b353bd 100644 --- a/xml/System.Windows.Forms/RichTextBoxStreamType.xml +++ b/xml/System.Windows.Forms/RichTextBoxStreamType.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic RichTextBox.SaveFile1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/RichTextBox/SaveFile/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic RichTextBox.SaveFile1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/RichTextBox/SaveFile/source1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/RowStyle.xml b/xml/System.Windows.Forms/RowStyle.xml index 86b627cf032..0e76869f51c 100644 --- a/xml/System.Windows.Forms/RowStyle.xml +++ b/xml/System.Windows.Forms/RowStyle.xml @@ -38,7 +38,7 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Windows.Forms/SaveFileDialog.xml b/xml/System.Windows.Forms/SaveFileDialog.xml index 5184a70e768..e99a17ed2c3 100644 --- a/xml/System.Windows.Forms/SaveFileDialog.xml +++ b/xml/System.Windows.Forms/SaveFileDialog.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic SaveFileDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SaveFileDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic SaveFileDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SaveFileDialog/Overview/source.vb" id="Snippet1"::: ]]> @@ -172,7 +172,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/DefaultExt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/DefaultExt/form1.vb" id="Snippet1"::: ]]> @@ -250,7 +250,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic SaveFileDialog Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SaveFileDialog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic SaveFileDialog Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SaveFileDialog/Overview/source.vb" id="Snippet1"::: ]]> @@ -300,7 +300,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/FileDialog/DefaultExt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.RichTextBoxSaveFile/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/FileDialog/DefaultExt/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/Screen.xml b/xml/System.Windows.Forms/Screen.xml index a0f2488c2be..86fce58acb9 100644 --- a/xml/System.Windows.Forms/Screen.xml +++ b/xml/System.Windows.Forms/Screen.xml @@ -42,7 +42,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Screen Object Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Screen/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Screen Object Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Screen/Overview/form1.vb" id="Snippet1"::: ]]> @@ -335,7 +335,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Screen.FromPoint/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Screen/FromPoint/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Screen.FromPoint/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Screen/FromPoint/form1.vb" id="Snippet1"::: ]]> @@ -572,7 +572,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ScreenExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Screen/GetWorkingArea/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScreenExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Screen/GetWorkingArea/form1.vb" id="Snippet1"::: ]]> @@ -726,7 +726,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ScreenExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Screen/GetWorkingArea/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScreenExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Screen/GetWorkingArea/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ScrollBar.xml b/xml/System.Windows.Forms/ScrollBar.xml index 691e19a5606..bfbbc49b86a 100644 --- a/xml/System.Windows.Forms/ScrollBar.xml +++ b/xml/System.Windows.Forms/ScrollBar.xml @@ -65,7 +65,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic VScrollBar Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic VScrollBar Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/Overview/source.vb" id="Snippet1"::: ]]> @@ -1018,7 +1018,7 @@ > For instructions about how to run this example in Visual Studio, see [How to: Compile and Run a Complete Windows Forms Code Example Using Visual Studio](https://msdn.microsoft.com/library/cc447f7e-4c3b-4397-9d05-aeba3ca49416(v=vs.100)). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/LargeChange/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/LargeChange/source.vb" id="Snippet2"::: ]]> @@ -1087,7 +1087,7 @@ > For instructions about how to run this example in Visual Studio, see [How to: Compile and Run a Complete Windows Forms Code Example Using Visual Studio](https://msdn.microsoft.com/library/cc447f7e-4c3b-4397-9d05-aeba3ca49416(v=vs.100)). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/LargeChange/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/LargeChange/source.vb" id="Snippet2"::: ]]> @@ -1148,7 +1148,7 @@ > For instructions about how to run this example in Visual Studio, see [How to: Compile and Run a Complete Windows Forms Code Example Using Visual Studio](https://msdn.microsoft.com/library/cc447f7e-4c3b-4397-9d05-aeba3ca49416(v=vs.100)). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/LargeChange/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/LargeChange/source.vb" id="Snippet2"::: ]]> @@ -1531,7 +1531,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/OnScroll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/OnScroll/source.vb" id="Snippet1"::: ]]> @@ -1589,7 +1589,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/OnScroll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/OnScroll/source.vb" id="Snippet1"::: ]]> @@ -1779,13 +1779,13 @@ > For instructions about how to run this example in Visual Studio, see [How to: Compile and Run a Complete Windows Forms Code Example Using Visual Studio](https://msdn.microsoft.com/library/cc447f7e-4c3b-4397-9d05-aeba3ca49416(v=vs.100)). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/LargeChange/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar Example/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/LargeChange/source.vb" id="Snippet3"::: The following code example uses the derived class . Event handlers for the and events are created. This code assumes that a and have been created on a form and that the button has an event handler for the event. When the button is clicked, the property of the scroll bar is adjusted in code. The label will display the current value of the property and the event that changed it. You will notice that when the scroll value is changed by the button's event, only the event is raised. In contrast, when the scroll bar is scrolled manually, the event is raised immediately after the event. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/OnScroll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/OnScroll/source.vb" id="Snippet1"::: ]]> @@ -1846,7 +1846,7 @@ > For instructions about how to run this example in Visual Studio, see [How to: Compile and Run a Complete Windows Forms Code Example Using Visual Studio](https://msdn.microsoft.com/library/cc447f7e-4c3b-4397-9d05-aeba3ca49416(v=vs.100)). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/LargeChange/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/LargeChange/source.vb" id="Snippet2"::: ]]> @@ -2111,7 +2111,7 @@ > For instructions about how to run this example in Visual Studio, see [How to: Compile and Run a Complete Windows Forms Code Example Using Visual Studio](https://msdn.microsoft.com/library/cc447f7e-4c3b-4397-9d05-aeba3ca49416(v=vs.100)). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/LargeChange/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar Example/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/LargeChange/source.vb" id="Snippet3"::: ]]> @@ -2164,7 +2164,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/OnScroll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/OnScroll/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ScrollBarRenderer.xml b/xml/System.Windows.Forms/ScrollBarRenderer.xml index 018f95f8a89..dd4259c40dc 100644 --- a/xml/System.Windows.Forms/ScrollBarRenderer.xml +++ b/xml/System.Windows.Forms/ScrollBarRenderer.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBarRenderer/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBarRenderer/Overview/form1.vb" id="Snippet0"::: ]]> @@ -102,7 +102,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBarRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBarRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -162,7 +162,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBarRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBarRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -222,7 +222,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBarRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBarRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -282,7 +282,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBarRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBarRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -393,7 +393,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBarRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBarRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -755,7 +755,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBarRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBarRenderer/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/ScrollBars.xml b/xml/System.Windows.Forms/ScrollBars.xml index 4a51ba011f8..0e36eeb45d3 100644 --- a/xml/System.Windows.Forms/ScrollBars.xml +++ b/xml/System.Windows.Forms/ScrollBars.xml @@ -37,7 +37,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarsExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBars/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ScrollBarsExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBars/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ScrollEventArgs.xml b/xml/System.Windows.Forms/ScrollEventArgs.xml index 32d75b19762..b1e129ab143 100644 --- a/xml/System.Windows.Forms/ScrollEventArgs.xml +++ b/xml/System.Windows.Forms/ScrollEventArgs.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/OnScroll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/OnScroll/source.vb" id="Snippet1"::: ]]> @@ -241,7 +241,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/OnScroll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/OnScroll/source.vb" id="Snippet1"::: ]]> @@ -288,7 +288,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ScrollableControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet74"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet74"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet74"::: ]]> @@ -340,7 +340,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ScrollableControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet74"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet74"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet74"::: ]]> @@ -387,7 +387,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ScrollableControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet74"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet74"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet74"::: ]]> diff --git a/xml/System.Windows.Forms/ScrollEventHandler.xml b/xml/System.Windows.Forms/ScrollEventHandler.xml index 529514ee154..4ee0f8af300 100644 --- a/xml/System.Windows.Forms/ScrollEventHandler.xml +++ b/xml/System.Windows.Forms/ScrollEventHandler.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/OnScroll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollBar.OnScroll Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/OnScroll/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ScrollableControl+DockPaddingEdges.xml b/xml/System.Windows.Forms/ScrollableControl+DockPaddingEdges.xml index 1053f1dfb0e..30ea676b7e9 100644 --- a/xml/System.Windows.Forms/ScrollableControl+DockPaddingEdges.xml +++ b/xml/System.Windows.Forms/ScrollableControl+DockPaddingEdges.xml @@ -50,7 +50,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.vb" id="Snippet1"::: ]]> @@ -102,7 +102,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.vb" id="Snippet1"::: ]]> @@ -157,7 +157,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.vb" id="Snippet1"::: ]]> @@ -279,7 +279,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.vb" id="Snippet1"::: ]]> @@ -334,7 +334,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.vb" id="Snippet1"::: ]]> @@ -430,7 +430,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.DockPaddingEdges Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollableControl+DockPaddingEdges/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ScrollableControl.xml b/xml/System.Windows.Forms/ScrollableControl.xml index be63dd48a8e..02dc721f9b5 100644 --- a/xml/System.Windows.Forms/ScrollableControl.xml +++ b/xml/System.Windows.Forms/ScrollableControl.xml @@ -258,7 +258,7 @@ There is currently a limitation in Windows Forms that prevents all classes deriv :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollableControl.AutoScroll Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollableControl/AutoScroll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.AutoScroll Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollableControl/AutoScroll/source.vb" id="Snippet1"::: ]]> @@ -329,7 +329,7 @@ There is currently a limitation in Windows Forms that prevents all classes deriv :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollableControl.AutoScroll Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollableControl/AutoScroll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.AutoScroll Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollableControl/AutoScroll/source.vb" id="Snippet1"::: ]]> @@ -449,7 +449,7 @@ There is currently a limitation in Windows Forms that prevents all classes deriv :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.ScrollableControl/CPP/scrollablecontrol.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollableControl/AutoScrollPosition/scrollablecontrol.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.ScrollableControl/VB/scrollablecontrol.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollableControl/AutoScrollPosition/scrollablecontrol.vb" id="Snippet1"::: ]]> @@ -592,7 +592,7 @@ There is currently a limitation in Windows Forms that prevents all classes deriv :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollableControl.DockPadding Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollableControl/DockPadding/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.DockPadding Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollableControl/DockPadding/source.vb" id="Snippet1"::: ]]> @@ -1190,7 +1190,7 @@ There is currently a limitation in Windows Forms that prevents all classes deriv To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ScrollableControl1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet74"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet74"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet74"::: ]]> @@ -1246,7 +1246,7 @@ There is currently a limitation in Windows Forms that prevents all classes deriv :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.Control Member5/CPP/controlmembers5.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Control/ClientRectangle/controlmembers5.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.Control Member5/VB/controlmembers5.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Control/ClientRectangle/controlmembers5.vb" id="Snippet2"::: ]]> @@ -1546,7 +1546,7 @@ There is currently a limitation in Windows Forms that prevents all classes deriv :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ScrollableControl.SetAutoScrollMargin Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollableControl/SetAutoScrollMargin/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ScrollableControl.SetAutoScrollMargin Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollableControl/SetAutoScrollMargin/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/SearchDirectionHint.xml b/xml/System.Windows.Forms/SearchDirectionHint.xml index 4cc69f77773..697999b2501 100644 --- a/xml/System.Windows.Forms/SearchDirectionHint.xml +++ b/xml/System.Windows.Forms/SearchDirectionHint.xml @@ -34,7 +34,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewFindItems/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SearchDirectionHint/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewFindItems/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SearchDirectionHint/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/SearchForVirtualItemEventArgs.xml b/xml/System.Windows.Forms/SearchForVirtualItemEventArgs.xml index 8925bc2b2db..d830007b93d 100644 --- a/xml/System.Windows.Forms/SearchForVirtualItemEventArgs.xml +++ b/xml/System.Windows.Forms/SearchForVirtualItemEventArgs.xml @@ -42,7 +42,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet480"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet480"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet480"::: ]]> @@ -134,7 +134,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet480"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet480"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet480"::: ]]> @@ -186,7 +186,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet480"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet480"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet480"::: ]]> @@ -241,7 +241,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet480"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet480"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet480"::: ]]> @@ -293,7 +293,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet480"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet480"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet480"::: ]]> @@ -345,7 +345,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet480"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet480"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet480"::: ]]> @@ -396,7 +396,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet480"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet480"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet480"::: ]]> @@ -447,7 +447,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet480"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet480"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet480"::: ]]> @@ -499,7 +499,7 @@ To run the example code, paste it into a project that contains an instance of type named `ListView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet480"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet480"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet480"::: ]]> diff --git a/xml/System.Windows.Forms/SelectedGridItemChangedEventArgs.xml b/xml/System.Windows.Forms/SelectedGridItemChangedEventArgs.xml index bf335119ca3..12cb4a26cb5 100644 --- a/xml/System.Windows.Forms/SelectedGridItemChangedEventArgs.xml +++ b/xml/System.Windows.Forms/SelectedGridItemChangedEventArgs.xml @@ -43,7 +43,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet533"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet533"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet533"::: ]]> @@ -129,7 +129,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet533"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet533"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet533"::: ]]> @@ -177,7 +177,7 @@ To run the example code, paste it into a project that contains an instance of type named `PropertyGrid1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet533"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet533"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet533"::: ]]> diff --git a/xml/System.Windows.Forms/SelectionMode.xml b/xml/System.Windows.Forms/SelectionMode.xml index 69f7ea36663..ac0ceeecdb3 100644 --- a/xml/System.Windows.Forms/SelectionMode.xml +++ b/xml/System.Windows.Forms/SelectionMode.xml @@ -41,7 +41,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ListBox.GetSelected/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListBox/GetSelected/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ListBox.GetSelected/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListBox/GetSelected/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/SelectionRange.xml b/xml/System.Windows.Forms/SelectionRange.xml index 1bcbbb22574..cafd0e16136 100644 --- a/xml/System.Windows.Forms/SelectionRange.xml +++ b/xml/System.Windows.Forms/SelectionRange.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic SelectionRange.SelectionRange1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SelectionRange/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic SelectionRange.SelectionRange1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SelectionRange/Overview/source.vb" id="Snippet1"::: ]]> @@ -98,7 +98,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/CPP/selectionrangeobj.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/VB/selectionrangeobj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.vb" id="Snippet1"::: ]]> @@ -143,7 +143,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/CPP/selectionrangeobj.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/VB/selectionrangeobj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.vb" id="Snippet1"::: ]]> @@ -194,7 +194,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic SelectionRange.SelectionRange1 Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SelectionRange/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic SelectionRange.SelectionRange1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SelectionRange/Overview/source.vb" id="Snippet1"::: ]]> @@ -242,7 +242,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/CPP/selectionrangeobj.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/VB/selectionrangeobj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.vb" id="Snippet1"::: ]]> @@ -289,7 +289,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/CPP/selectionrangeobj.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.SelectionRange Members/VB/selectionrangeobj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/MonthCalendar/DateChanged/selectionrangeobj.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/SendKeys.xml b/xml/System.Windows.Forms/SendKeys.xml index c8089d449ba..5bf3bafdbf7 100644 --- a/xml/System.Windows.Forms/SendKeys.xml +++ b/xml/System.Windows.Forms/SendKeys.xml @@ -124,7 +124,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.SendKeys/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SendKeys/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.SendKeys/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SendKeys/Overview/form1.vb" id="Snippet1"::: ]]> @@ -297,7 +297,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.SendKeys/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SendKeys/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.SendKeys/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SendKeys/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/SizeType.xml b/xml/System.Windows.Forms/SizeType.xml index 3518f7e48b2..e5a10acf520 100644 --- a/xml/System.Windows.Forms/SizeType.xml +++ b/xml/System.Windows.Forms/SizeType.xml @@ -35,7 +35,7 @@ The following example shows how to set the property on a object. This code example is part of a larger example provided for the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Windows.Forms/SplitContainer.xml b/xml/System.Windows.Forms/SplitContainer.xml index d7e20dcb01c..83f79264e6d 100644 --- a/xml/System.Windows.Forms/SplitContainer.xml +++ b/xml/System.Windows.Forms/SplitContainer.xml @@ -89,7 +89,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BasicSplitContainer/CPP/basicsplitcontainer.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BasicSplitContainer/VB/basicsplitcontainer.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.vb" id="Snippet1"::: ]]> @@ -581,7 +581,7 @@ To run the example code, paste it into a project that contains an instance of type named `SplitContainer1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet546"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet546"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet546"::: ]]> @@ -1077,7 +1077,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BasicSplitContainer/CPP/basicsplitcontainer.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BasicSplitContainer/VB/basicsplitcontainer.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.vb" id="Snippet2"::: ]]> @@ -1163,7 +1163,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BasicSplitContainer/CPP/basicsplitcontainer.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BasicSplitContainer/VB/basicsplitcontainer.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.vb" id="Snippet3"::: ]]> @@ -1846,7 +1846,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SplitContainerEvents/CPP/splitcontainerevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/OnSplitterMoved/splitcontainerevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SplitContainerEvents/VB/splitcontainerevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/OnSplitterMoved/splitcontainerevents.vb" id="Snippet1"::: ]]> @@ -1899,7 +1899,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SplitContainerEvents/CPP/splitcontainerevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/OnSplitterMoved/splitcontainerevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SplitContainerEvents/VB/splitcontainerevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/OnSplitterMoved/splitcontainerevents.vb" id="Snippet1"::: ]]> @@ -1961,7 +1961,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BasicSplitContainer/CPP/basicsplitcontainer.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BasicSplitContainer/VB/basicsplitcontainer.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.vb" id="Snippet3"::: ]]> @@ -2219,7 +2219,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BasicSplitContainer/CPP/basicsplitcontainer.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BasicSplitContainer/VB/basicsplitcontainer.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.vb" id="Snippet2"::: ]]> @@ -2382,7 +2382,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BasicSplitContainer/CPP/basicsplitcontainer.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BasicSplitContainer/VB/basicsplitcontainer.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.vb" id="Snippet2"::: ]]> @@ -2658,7 +2658,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BasicSplitContainer/CPP/basicsplitcontainer.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BasicSplitContainer/VB/basicsplitcontainer.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.vb" id="Snippet2"::: ]]> @@ -2719,7 +2719,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BasicSplitContainer/CPP/basicsplitcontainer.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BasicSplitContainer/VB/basicsplitcontainer.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.vb" id="Snippet2"::: ]]> @@ -2764,7 +2764,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SplitContainerEvents/CPP/splitcontainerevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/OnSplitterMoved/splitcontainerevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SplitContainerEvents/VB/splitcontainerevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/OnSplitterMoved/splitcontainerevents.vb" id="Snippet1"::: ]]> @@ -2814,7 +2814,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SplitContainerEvents/CPP/splitcontainerevents.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/OnSplitterMoved/splitcontainerevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SplitContainerEvents/VB/splitcontainerevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/OnSplitterMoved/splitcontainerevents.vb" id="Snippet1"::: ]]> @@ -2927,7 +2927,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/BasicSplitContainer/CPP/basicsplitcontainer.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/BasicSplitContainer/VB/basicsplitcontainer.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/Overview/basicsplitcontainer.vb" id="Snippet2"::: ]]> @@ -2981,7 +2981,7 @@ When the user presses the TAB key, the input focus is set to the next control in the tab order of the form. Set to `true` to give input focus to a splitter so that it can be moved with the arrow keys as well as with the mouse. Starting in the .NET Framework 4, setting to `false` excludes the splitter and any of the controls that are contained in the from the collection of controls in the tab order. To enable controls to get focus by using the TAB key, create a control that inherits from . Create a new property named `TabStop` and override the method. The following example demonstrates how to accomplish this. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SplitContainer/TabStop/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SplitContainer/TabStop/module1.vb" id="Snippet1"::: You can manipulate the tab order by setting the control's property value. diff --git a/xml/System.Windows.Forms/Splitter.xml b/xml/System.Windows.Forms/Splitter.xml index a0ba3f2f980..edf3e8f148e 100644 --- a/xml/System.Windows.Forms/Splitter.xml +++ b/xml/System.Windows.Forms/Splitter.xml @@ -86,7 +86,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Splitter Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Splitter/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Splitter Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Splitter/Overview/form1.vb" id="Snippet1"::: ]]> @@ -129,7 +129,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Splitter Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Splitter/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Splitter Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Splitter/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1245,7 +1245,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Splitter Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Splitter/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Splitter Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Splitter/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1308,7 +1308,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Splitter Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Splitter/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Splitter Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Splitter/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1725,7 +1725,7 @@ To run the example code, paste it into a project that contains an instance of type named `Splitter1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet550"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet550"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet550"::: ]]> @@ -1777,7 +1777,7 @@ To run the example code, paste it into a project that contains an instance of type named `Splitter1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet549"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet549"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet549"::: ]]> diff --git a/xml/System.Windows.Forms/SplitterCancelEventArgs.xml b/xml/System.Windows.Forms/SplitterCancelEventArgs.xml index ad96d6f5cad..f54d8065d04 100644 --- a/xml/System.Windows.Forms/SplitterCancelEventArgs.xml +++ b/xml/System.Windows.Forms/SplitterCancelEventArgs.xml @@ -31,7 +31,7 @@ To run the example code, paste it into a project that contains an instance of type named `SplitContainer1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet547"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet547"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet547"::: ]]> @@ -111,7 +111,7 @@ To run the example code, paste it into a project that contains an instance of type named `SplitContainer1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet547"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet547"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet547"::: ]]> @@ -157,7 +157,7 @@ To run the example code, paste it into a project that contains an instance of type named `SplitContainer1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet547"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet547"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet547"::: ]]> @@ -207,7 +207,7 @@ To run the example code, paste it into a project that contains an instance of type named `SplitContainer1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet547"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet547"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet547"::: ]]> @@ -257,7 +257,7 @@ To run the example code, paste it into a project that contains an instance of type named `SplitContainer1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet547"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet547"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet547"::: ]]> diff --git a/xml/System.Windows.Forms/SplitterEventArgs.xml b/xml/System.Windows.Forms/SplitterEventArgs.xml index 119605e0328..dbf71cbf123 100644 --- a/xml/System.Windows.Forms/SplitterEventArgs.xml +++ b/xml/System.Windows.Forms/SplitterEventArgs.xml @@ -43,7 +43,7 @@ To run the example code, paste it into a project that contains an instance of type named `SplitContainer1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet548"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet548"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet548"::: ]]> @@ -144,7 +144,7 @@ To run the example code, paste it into a project that contains an instance of type named `SplitContainer1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet548"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet548"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet548"::: ]]> @@ -203,7 +203,7 @@ To run the example code, paste it into a project that contains an instance of type named `SplitContainer1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet548"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet548"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet548"::: ]]> @@ -258,7 +258,7 @@ To run the example code, paste it into a project that contains an instance of type named `SplitContainer1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet548"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet548"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet548"::: ]]> @@ -313,7 +313,7 @@ To run the example code, paste it into a project that contains an instance of type named `SplitContainer1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet548"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet548"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet548"::: ]]> diff --git a/xml/System.Windows.Forms/StatusBar+StatusBarPanelCollection.xml b/xml/System.Windows.Forms/StatusBar+StatusBarPanelCollection.xml index 539080ea20d..a10e17a936f 100644 --- a/xml/System.Windows.Forms/StatusBar+StatusBarPanelCollection.xml +++ b/xml/System.Windows.Forms/StatusBar+StatusBarPanelCollection.xml @@ -63,7 +63,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/StatusBar and StatusBarPanel Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusBar+StatusBarPanelCollection/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/StatusBar and StatusBarPanel Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusBar+StatusBarPanelCollection/Overview/form1.vb" id="Snippet1"::: ]]> @@ -186,7 +186,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/StatusBar and StatusBarPanel Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusBar+StatusBarPanelCollection/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/StatusBar and StatusBarPanel Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusBar+StatusBarPanelCollection/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/StatusBar.xml b/xml/System.Windows.Forms/StatusBar.xml index 7b803c5ab66..da339b31c22 100644 --- a/xml/System.Windows.Forms/StatusBar.xml +++ b/xml/System.Windows.Forms/StatusBar.xml @@ -84,7 +84,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -135,7 +135,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -626,7 +626,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -840,7 +840,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -1142,7 +1142,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -1199,7 +1199,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -1252,7 +1252,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -1306,7 +1306,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -1388,7 +1388,7 @@ This class is not available in .NET 5 and later versions. Use the diff --git a/xml/System.Windows.Forms/StatusBarDrawItemEventArgs.xml b/xml/System.Windows.Forms/StatusBarDrawItemEventArgs.xml index cf0ec05c1d9..08513d9f135 100644 --- a/xml/System.Windows.Forms/StatusBarDrawItemEventArgs.xml +++ b/xml/System.Windows.Forms/StatusBarDrawItemEventArgs.xml @@ -45,7 +45,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.StatusBarDrawItemEventHandler/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusBar/Text/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusBarDrawItemEventHandler/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusBar/Text/form1.vb" id="Snippet2"::: ]]> @@ -193,7 +193,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.StatusBarDrawItemEventHandler/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusBar/Text/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusBarDrawItemEventHandler/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusBar/Text/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/StatusBarDrawItemEventHandler.xml b/xml/System.Windows.Forms/StatusBarDrawItemEventHandler.xml index 353d68e4da1..54ab9615530 100644 --- a/xml/System.Windows.Forms/StatusBarDrawItemEventHandler.xml +++ b/xml/System.Windows.Forms/StatusBarDrawItemEventHandler.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.StatusBarDrawItemEventHandler/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusBar/Text/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusBarDrawItemEventHandler/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusBar/Text/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/StatusBarPanel.xml b/xml/System.Windows.Forms/StatusBarPanel.xml index c49fbcd5501..7eb0ab895bc 100644 --- a/xml/System.Windows.Forms/StatusBarPanel.xml +++ b/xml/System.Windows.Forms/StatusBarPanel.xml @@ -72,7 +72,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -123,7 +123,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -179,7 +179,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -238,7 +238,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -329,7 +329,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -639,7 +639,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -740,7 +740,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -793,7 +793,7 @@ This class is not available in .NET 5 and later versions. Use the @@ -874,7 +874,7 @@ This class is not available in .NET 5 and later versions. Use the diff --git a/xml/System.Windows.Forms/StatusBarPanelAutoSize.xml b/xml/System.Windows.Forms/StatusBarPanelAutoSize.xml index 5570f9e5a50..e5595cd76a3 100644 --- a/xml/System.Windows.Forms/StatusBarPanelAutoSize.xml +++ b/xml/System.Windows.Forms/StatusBarPanelAutoSize.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.StatusBarPanelExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusBar/.ctor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusBarPanelExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusBar/.ctor/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/StatusBarPanelBorderStyle.xml b/xml/System.Windows.Forms/StatusBarPanelBorderStyle.xml index 06bcb32c416..c21257b8532 100644 --- a/xml/System.Windows.Forms/StatusBarPanelBorderStyle.xml +++ b/xml/System.Windows.Forms/StatusBarPanelBorderStyle.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.StatusBarPanelExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusBar/.ctor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusBarPanelExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusBar/.ctor/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/StatusBarPanelClickEventArgs.xml b/xml/System.Windows.Forms/StatusBarPanelClickEventArgs.xml index 21faefb5462..ad5a2f8f218 100644 --- a/xml/System.Windows.Forms/StatusBarPanelClickEventArgs.xml +++ b/xml/System.Windows.Forms/StatusBarPanelClickEventArgs.xml @@ -46,7 +46,7 @@ To run the example code, paste it into a project that contains an instance of type named `StatusBar1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet552"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet552"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet552"::: ]]> @@ -131,7 +131,7 @@ To run the example code, paste it into a project that contains an instance of type named `StatusBar1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet552"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet552"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet552"::: ]]> diff --git a/xml/System.Windows.Forms/StatusBarPanelStyle.xml b/xml/System.Windows.Forms/StatusBarPanelStyle.xml index 5cf1939bc79..02629b28594 100644 --- a/xml/System.Windows.Forms/StatusBarPanelStyle.xml +++ b/xml/System.Windows.Forms/StatusBarPanelStyle.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.StatusBarDrawItemEventHandler/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusBar/Text/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusBarDrawItemEventHandler/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusBar/Text/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/StatusStrip.xml b/xml/System.Windows.Forms/StatusStrip.xml index 7f0cb1ed674..0c3485c3503 100644 --- a/xml/System.Windows.Forms/StatusStrip.xml +++ b/xml/System.Windows.Forms/StatusStrip.xml @@ -65,7 +65,7 @@ The following items are specifically designed to work seamlessly with both with various common properties set. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusStrip/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusStrip.CommonProps/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusStrip/Overview/form1.vb" id="Snippet0"::: ]]> @@ -434,7 +434,7 @@ The following items are specifically designed to work seamlessly with both with various common properties set, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusStrip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusStrip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -481,7 +481,7 @@ The following items are specifically designed to work seamlessly with both with various common properties set, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusStrip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusStrip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -529,7 +529,7 @@ Use the `LayoutStyle` property to get or set how items are arranged on the with various common properties set, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusStrip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusStrip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -800,7 +800,7 @@ Use the `LayoutStyle` property to get or set how items are arranged on the with various common properties set, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusStrip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusStrip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -884,7 +884,7 @@ Use the `LayoutStyle` property to get or set how items are arranged on the with various common properties set, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusStrip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusStrip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -929,7 +929,7 @@ Use the `LayoutStyle` property to get or set how items are arranged on the with various common properties set, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/StatusStrip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.StatusStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/StatusStrip/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/SystemInformation.xml b/xml/System.Windows.Forms/SystemInformation.xml index 7731cf972d8..d37aeaa804f 100644 --- a/xml/System.Windows.Forms/SystemInformation.xml +++ b/xml/System.Windows.Forms/SystemInformation.xml @@ -47,7 +47,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -87,7 +87,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -133,7 +133,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -182,7 +182,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -231,7 +231,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -282,7 +282,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -326,7 +326,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -378,7 +378,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -430,7 +430,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -477,7 +477,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -517,7 +517,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -560,7 +560,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -609,7 +609,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -656,7 +656,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -704,7 +704,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -746,7 +746,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -794,7 +794,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -844,7 +844,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -892,7 +892,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -940,7 +940,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -989,7 +989,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1036,7 +1036,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1090,7 +1090,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1141,7 +1141,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1347,7 +1347,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1390,7 +1390,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1445,7 +1445,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1495,7 +1495,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1545,7 +1545,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1599,7 +1599,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1653,7 +1653,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1695,7 +1695,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1743,7 +1743,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1790,7 +1790,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1836,7 +1836,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1882,7 +1882,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1923,7 +1923,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -1998,7 +1998,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2042,7 +2042,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2083,7 +2083,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2127,7 +2127,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2171,7 +2171,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2217,7 +2217,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2270,7 +2270,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2317,7 +2317,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2364,7 +2364,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2410,7 +2410,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2454,7 +2454,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2498,7 +2498,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2544,7 +2544,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2592,7 +2592,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2640,7 +2640,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2687,7 +2687,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2734,7 +2734,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2779,7 +2779,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2826,7 +2826,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2874,7 +2874,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2921,7 +2921,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -2968,7 +2968,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3014,7 +3014,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3061,7 +3061,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3107,7 +3107,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3156,7 +3156,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3207,7 +3207,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3256,7 +3256,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3303,7 +3303,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3354,7 +3354,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3404,7 +3404,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3448,7 +3448,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3535,7 +3535,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3588,7 +3588,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3634,7 +3634,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3683,7 +3683,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3731,7 +3731,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3781,7 +3781,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3832,7 +3832,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3880,7 +3880,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3927,7 +3927,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -3967,7 +3967,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4007,7 +4007,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4049,7 +4049,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4096,7 +4096,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4141,7 +4141,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4181,7 +4181,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4226,7 +4226,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4275,7 +4275,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4315,7 +4315,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4360,7 +4360,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4406,7 +4406,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4451,7 +4451,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4497,7 +4497,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4539,7 +4539,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4597,7 +4597,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4649,7 +4649,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4699,7 +4699,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4740,7 +4740,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4785,7 +4785,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4840,7 +4840,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4895,7 +4895,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -4981,7 +4981,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -5031,7 +5031,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -5089,7 +5089,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> @@ -5138,7 +5138,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SystemInformationBrowser/CPP/sysinfobrowser.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemInformationBrowser/VB/sysinfobrowser.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/SystemInformation/Overview/sysinfobrowser.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TabAlignment.xml b/xml/System.Windows.Forms/TabAlignment.xml index ffedf5d3498..42a16cfdb3a 100644 --- a/xml/System.Windows.Forms/TabAlignment.xml +++ b/xml/System.Windows.Forms/TabAlignment.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TabControlExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabAlignment/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TabControlExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabAlignment/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TabAppearance.xml b/xml/System.Windows.Forms/TabAppearance.xml index 8084b63340b..bfc1e1aaeef 100644 --- a/xml/System.Windows.Forms/TabAppearance.xml +++ b/xml/System.Windows.Forms/TabAppearance.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TabControlExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabAlignment/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TabControlExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabAlignment/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TabControl+TabPageCollection.xml b/xml/System.Windows.Forms/TabControl+TabPageCollection.xml index 672da13e76c..e2c3cbbbdaa 100644 --- a/xml/System.Windows.Forms/TabControl+TabPageCollection.xml +++ b/xml/System.Windows.Forms/TabControl+TabPageCollection.xml @@ -166,7 +166,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPageCollection.Add/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl+TabPageCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Add/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Add/form1.vb" id="Snippet1"::: ]]> @@ -369,7 +369,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPageCollection.AddRange/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl+TabPageCollection/AddRange/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.AddRange/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/AddRange/form1.vb" id="Snippet1"::: ]]> @@ -417,7 +417,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPageCollection.Clear/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl+TabPageCollection/Clear/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Clear/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Clear/form1.vb" id="Snippet1"::: ]]> @@ -463,7 +463,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPageCollection.Contains/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl+TabPageCollection/Contains/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Contains/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Contains/form1.vb" id="Snippet1"::: ]]> @@ -560,7 +560,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPageCollection.Count/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl+TabPageCollection/Count/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Count/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Count/form1.vb" id="Snippet1"::: ]]> @@ -651,7 +651,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPageCollection.IndexOf/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl+TabPageCollection/IndexOf/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.IndexOf/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/IndexOf/form1.vb" id="Snippet1"::: ]]> @@ -980,7 +980,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPageCollection.IsReadOnly/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl+TabPageCollection/IsReadOnly/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.IsReadOnly/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/IsReadOnly/form1.vb" id="Snippet1"::: ]]> @@ -1122,7 +1122,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPageCollection.Remove/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl+TabPageCollection/Remove/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Remove/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Remove/form1.vb" id="Snippet1"::: ]]> @@ -1172,7 +1172,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPageCollection.RemoveAt/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl+TabPageCollection/RemoveAt/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.RemoveAt/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/RemoveAt/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TabControl.xml b/xml/System.Windows.Forms/TabControl.xml index 30046ea8c98..53f449ccf47 100644 --- a/xml/System.Windows.Forms/TabControl.xml +++ b/xml/System.Windows.Forms/TabControl.xml @@ -96,7 +96,7 @@ The tab is considered part of the tab page for determining when the @@ -132,7 +132,7 @@ The tab is considered part of the tab page for determining when the @@ -202,7 +202,7 @@ The tab is considered part of the tab page for determining when the @@ -264,7 +264,7 @@ The tab is considered part of the tab page for determining when the @@ -736,7 +736,7 @@ The tab is considered part of the tab page for determining when the named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet560"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet560"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet560"::: ]]> @@ -807,7 +807,7 @@ The tab is considered part of the tab page for determining when the named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet559"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet559"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet559"::: ]]> @@ -1024,7 +1024,7 @@ The tab is considered part of the tab page for determining when the @@ -1147,7 +1147,7 @@ The tab is considered part of the tab page for determining when the @@ -1208,7 +1208,7 @@ The tab is considered part of the tab page for determining when the @@ -1460,7 +1460,7 @@ The tab is considered part of the tab page for determining when the @@ -1552,7 +1552,7 @@ The tab is considered part of the tab page for determining when the @@ -1616,7 +1616,7 @@ The tab is considered part of the tab page for determining when the @@ -1709,7 +1709,7 @@ The tab is considered part of the tab page for determining when the @@ -1765,7 +1765,7 @@ The tab is considered part of the tab page for determining when the @@ -2520,7 +2520,7 @@ This method also raises the event of t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Padding/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl/Padding/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Padding/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl/Padding/form1.vb" id="Snippet1"::: ]]> @@ -2743,7 +2743,7 @@ This method also raises the event of t To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet555"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet555"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet555"::: ]]> @@ -2799,7 +2799,7 @@ This method also raises the event of t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/RowCount/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl/RowCount/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/RowCount/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl/RowCount/form1.vb" id="Snippet1"::: ]]> @@ -2902,7 +2902,7 @@ This method also raises the event of t To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet558"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet558"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet558"::: ]]> @@ -2960,7 +2960,7 @@ This method also raises the event of t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SelectedIndex/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl/SelectedIndex/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SelectedIndex/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl/SelectedIndex/form1.vb" id="Snippet1"::: ]]> @@ -3023,7 +3023,7 @@ This method also raises the event of t To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet556"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet556"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet556"::: ]]> @@ -3091,7 +3091,7 @@ This method also raises the event of t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SelectedTab/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl/SelectedTab/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SelectedTab/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl/SelectedTab/form1.vb" id="Snippet1"::: ]]> @@ -3163,7 +3163,7 @@ This method also raises the event of t To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet557"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet557"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet557"::: ]]> @@ -3396,7 +3396,7 @@ This method also raises the event of t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolTipText/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl/ShowToolTips/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolTipText/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl/ShowToolTips/form1.vb" id="Snippet1"::: ]]> @@ -3451,7 +3451,7 @@ This method also raises the event of t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/SizeMode/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl/SizeMode/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SizeMode/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl/SizeMode/form1.vb" id="Snippet1"::: ]]> @@ -3507,7 +3507,7 @@ This method also raises the event of t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabCount/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl/TabCount/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabCount/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl/TabCount/form1.vb" id="Snippet1"::: ]]> @@ -3578,7 +3578,7 @@ This method also raises the event of t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPageCollection.Add/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabControl+TabPageCollection/Add/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPageCollection.Add/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabControl+TabPageCollection/Add/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TabControlCancelEventArgs.xml b/xml/System.Windows.Forms/TabControlCancelEventArgs.xml index 34e242b0e2b..9edab0acafb 100644 --- a/xml/System.Windows.Forms/TabControlCancelEventArgs.xml +++ b/xml/System.Windows.Forms/TabControlCancelEventArgs.xml @@ -48,7 +48,7 @@ To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet557"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet557"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet557"::: ]]> @@ -158,7 +158,7 @@ To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet557"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet557"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet557"::: ]]> @@ -208,7 +208,7 @@ To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet557"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet557"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet557"::: ]]> @@ -255,7 +255,7 @@ To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet557"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet557"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet557"::: ]]> diff --git a/xml/System.Windows.Forms/TabControlEventArgs.xml b/xml/System.Windows.Forms/TabControlEventArgs.xml index 5a419483b8f..430958a1ff7 100644 --- a/xml/System.Windows.Forms/TabControlEventArgs.xml +++ b/xml/System.Windows.Forms/TabControlEventArgs.xml @@ -46,7 +46,7 @@ To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet558"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet558"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet558"::: ]]> @@ -151,7 +151,7 @@ To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet558"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet558"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet558"::: ]]> @@ -201,7 +201,7 @@ To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet558"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet558"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet558"::: ]]> @@ -248,7 +248,7 @@ To run the example code, paste it into a project that contains an instance of type named `TabControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet558"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet558"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet558"::: ]]> diff --git a/xml/System.Windows.Forms/TabPage+TabPageControlCollection.xml b/xml/System.Windows.Forms/TabPage+TabPageControlCollection.xml index 2fc7e95c162..2ea470c6a0b 100644 --- a/xml/System.Windows.Forms/TabPage+TabPageControlCollection.xml +++ b/xml/System.Windows.Forms/TabPage+TabPageControlCollection.xml @@ -110,7 +110,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPageControlCollection.Add/CPP/add.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabPage+TabPageControlCollection/Add/add.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPageControlCollection.Add/VB/add.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabPage+TabPageControlCollection/Add/add.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TabPage.xml b/xml/System.Windows.Forms/TabPage.xml index 5bbefcb1337..2b58f89341e 100644 --- a/xml/System.Windows.Forms/TabPage.xml +++ b/xml/System.Windows.Forms/TabPage.xml @@ -90,7 +90,7 @@ The property lets :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPage/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabPage/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPage/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabPage/Overview/form1.vb" id="Snippet1"::: ]]> @@ -138,7 +138,7 @@ The property lets :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPage_constructor/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabPage/.ctor/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPage_constructor/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabPage/.ctor/form1.vb" id="Snippet1"::: ]]> @@ -184,7 +184,7 @@ The property lets :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TabPage_withText/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabPage/.ctor/form11.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TabPage_withText/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabPage/.ctor/form11.vb" id="Snippet1"::: ]]> @@ -699,7 +699,7 @@ The property lets :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/GetTabPageOfComponent/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabPage/GetTabPageOfComponent/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/GetTabPageOfComponent/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabPage/GetTabPageOfComponent/form1.vb" id="Snippet1"::: ]]> @@ -776,7 +776,7 @@ If you set the property, the @@ -1476,7 +1476,7 @@ The tab is considered part of the tab page for determining when the @@ -1577,7 +1577,7 @@ The tab is considered part of the tab page for determining when the @@ -1620,7 +1620,7 @@ The tab is considered part of the tab page for determining when the diff --git a/xml/System.Windows.Forms/TabRenderer.xml b/xml/System.Windows.Forms/TabRenderer.xml index 5123ec49404..0b926073a47 100644 --- a/xml/System.Windows.Forms/TabRenderer.xml +++ b/xml/System.Windows.Forms/TabRenderer.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TabRenderer/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabRenderer/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TabRenderer/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabRenderer/Overview/form1.vb" id="Snippet0"::: ]]> @@ -364,7 +364,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TabRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TabRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -652,7 +652,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TabRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TabRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -706,7 +706,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TabRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TabRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TabRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TabRenderer/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/TableLayoutCellPaintEventArgs.xml b/xml/System.Windows.Forms/TableLayoutCellPaintEventArgs.xml index f0a1ab57b73..54c8c4beef2 100644 --- a/xml/System.Windows.Forms/TableLayoutCellPaintEventArgs.xml +++ b/xml/System.Windows.Forms/TableLayoutCellPaintEventArgs.xml @@ -40,7 +40,7 @@ The following example shows how to a to customize the appearance of a control. This code example is part of a larger example provided for the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet100"::: ]]> @@ -128,7 +128,7 @@ The following example shows how to a to customize the appearance of a control. This code example is part of a larger example provided for the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet100"::: ]]> @@ -173,7 +173,7 @@ The following example shows how to a to customize the appearance of a control. This code example is part of a larger example provided for the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet100"::: ]]> @@ -218,7 +218,7 @@ The following example shows how to a to customize the appearance of a control. This code example is part of a larger example provided for the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet100"::: ]]> diff --git a/xml/System.Windows.Forms/TableLayoutCellPaintEventHandler.xml b/xml/System.Windows.Forms/TableLayoutCellPaintEventHandler.xml index 60be43d5655..341495fefbf 100644 --- a/xml/System.Windows.Forms/TableLayoutCellPaintEventHandler.xml +++ b/xml/System.Windows.Forms/TableLayoutCellPaintEventHandler.xml @@ -50,7 +50,7 @@ The following example shows how to a delegate to customize the appearance of a control. This code example is part of a larger example provided for the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet100"::: ]]> diff --git a/xml/System.Windows.Forms/TableLayoutColumnStyleCollection.xml b/xml/System.Windows.Forms/TableLayoutColumnStyleCollection.xml index f67a0158ece..03a5f537c1f 100644 --- a/xml/System.Windows.Forms/TableLayoutColumnStyleCollection.xml +++ b/xml/System.Windows.Forms/TableLayoutColumnStyleCollection.xml @@ -40,7 +40,7 @@ The following example shows how to set for a . This code example is part of a larger example provided for the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Windows.Forms/TableLayoutPanel.xml b/xml/System.Windows.Forms/TableLayoutPanel.xml index d5350465e06..1455c1aac3a 100644 --- a/xml/System.Windows.Forms/TableLayoutPanel.xml +++ b/xml/System.Windows.Forms/TableLayoutPanel.xml @@ -134,7 +134,7 @@ The following code example demonstrates how to override the method to create a custom appearance for a cell. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet100"::: ]]> @@ -266,7 +266,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example sets the value of the property depending on the selected . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet6"::: ]]> @@ -321,7 +321,7 @@ Setting this value causes the panel to redraw itself and its contents. To run the example code, paste it into a project that contains an instance of type named `TableLayoutPanel1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet561"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet561"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet561"::: ]]> @@ -445,7 +445,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example sets the properties of each column when a is clicked. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet8"::: ]]> @@ -501,7 +501,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example enumerates all the child controls in the . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet2"::: ]]> @@ -655,7 +655,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example enumerates all the child controls in the and finds the column index for each control using the method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet3"::: ]]> @@ -721,7 +721,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example uses the and methods to set the width of a control in a . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet11"::: ]]> @@ -814,7 +814,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example enumerates all the cell positions in the by looping through the columns and rows given by and , and then calling the method to retrieve the control at each cell. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet5"::: ]]> @@ -924,7 +924,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example enumerates all the child controls in the and finds the row index for each using the method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet4"::: ]]> @@ -1029,7 +1029,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example uses the and methods to set the width of a control in a . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet11"::: ]]> @@ -1085,7 +1085,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example sets the value of the property depending on the selected . At run time, when the user clicks on the button labeled **Test GrowStyle**, a control is added to the control. If the control is full, it expands by adding a row or column, or it raises an exception, depending on the value of . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet7"::: ]]> @@ -1210,7 +1210,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example demonstrates how to override the method to create a custom appearance for a cell. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet100"::: ]]> @@ -1409,7 +1409,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example sets the properties of each row when a is clicked. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet9"::: ]]> @@ -1576,7 +1576,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example uses the method to swap two controls contained within a control. The example assumes a control with at least two rows. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet12"::: ]]> @@ -1629,7 +1629,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example uses the and methods to set the width of a control in a . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet11"::: ]]> @@ -1687,7 +1687,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example uses the method to swap two controls contained within a control. The example assumes a control with at least two rows. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet13"::: ]]> @@ -1740,7 +1740,7 @@ Setting this value causes the panel to redraw itself and its contents. The following code example uses the and methods to set the width of a control in a . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet11"::: ]]> diff --git a/xml/System.Windows.Forms/TableLayoutPanelCellBorderStyle.xml b/xml/System.Windows.Forms/TableLayoutPanelCellBorderStyle.xml index b4a0fc2fa06..11e258eb510 100644 --- a/xml/System.Windows.Forms/TableLayoutPanelCellBorderStyle.xml +++ b/xml/System.Windows.Forms/TableLayoutPanelCellBorderStyle.xml @@ -33,7 +33,7 @@ The following example shows how to use the enumeration to set the for a control. This code example is part of a larger example provided for the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Windows.Forms/TableLayoutPanelCellPosition.xml b/xml/System.Windows.Forms/TableLayoutPanelCellPosition.xml index b86eea3a342..662e4420298 100644 --- a/xml/System.Windows.Forms/TableLayoutPanelCellPosition.xml +++ b/xml/System.Windows.Forms/TableLayoutPanelCellPosition.xml @@ -43,7 +43,7 @@ The following example shows how to use to set the position of a child control in a control. For a full code listing, see [How to: Implement a Custom ToolStripRenderer](/dotnet/desktop/winforms/controls/how-to-implement-a-custom-toolstriprenderer). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet2"::: ]]> @@ -84,7 +84,7 @@ The following example shows how to use to set the position of a child control in a control. For a full code listing, see [How to: Implement a Custom ToolStripRenderer](/dotnet/desktop/winforms/controls/how-to-implement-a-custom-toolstriprenderer). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/TableLayoutPanelGrowStyle.xml b/xml/System.Windows.Forms/TableLayoutPanelGrowStyle.xml index 026a6048a74..c3f5163cedf 100644 --- a/xml/System.Windows.Forms/TableLayoutPanelGrowStyle.xml +++ b/xml/System.Windows.Forms/TableLayoutPanelGrowStyle.xml @@ -33,7 +33,7 @@ The following example shows how to use `TableLayoutPanelGrowStyle` to set the property. This example is part of a larger example provided for the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Windows.Forms/TableLayoutRowStyleCollection.xml b/xml/System.Windows.Forms/TableLayoutRowStyleCollection.xml index c964f1b06b3..d3a5efa5707 100644 --- a/xml/System.Windows.Forms/TableLayoutRowStyleCollection.xml +++ b/xml/System.Windows.Forms/TableLayoutRowStyleCollection.xml @@ -40,7 +40,7 @@ The following example shows how to set for a . This code example is part of a larger example provided for the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ColumnStyle/Overview/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TableLayoutPanel/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ColumnStyle/Overview/form1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Windows.Forms/TableLayoutSettings.xml b/xml/System.Windows.Forms/TableLayoutSettings.xml index 88bdd9eb353..1b37aa82267 100644 --- a/xml/System.Windows.Forms/TableLayoutSettings.xml +++ b/xml/System.Windows.Forms/TableLayoutSettings.xml @@ -60,7 +60,7 @@ The following example shows how to initialize a object for a control. For a full code listing, see [How to: Implement a Custom ToolStripRenderer](/dotnet/desktop/winforms/controls/how-to-implement-a-custom-toolstriprenderer). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet2"::: ]]> @@ -115,7 +115,7 @@ The following example shows how to initialize a object for a control. For a full code listing, see [How to: Implement a Custom ToolStripRenderer](/dotnet/desktop/winforms/controls/how-to-implement-a-custom-toolstriprenderer). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet2"::: ]]> @@ -210,7 +210,7 @@ The following example shows how to use a object to get a cell position in a control. For a full code listing, see [How to: Implement a Custom ToolStripRenderer](/dotnet/desktop/winforms/controls/how-to-implement-a-custom-toolstriprenderer). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet2"::: ]]> @@ -505,7 +505,7 @@ The following example shows how to initialize a object for a control. For a full code listing, see [How to: Implement a Custom ToolStripRenderer](/dotnet/desktop/winforms/controls/how-to-implement-a-custom-toolstriprenderer). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet2"::: ]]> @@ -601,7 +601,7 @@ The following example shows how to use a object to set a cell position in a control. For a full code listing, see [How to: Implement a Custom ToolStripRenderer](/dotnet/desktop/winforms/controls/how-to-implement-a-custom-toolstriprenderer). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/TextBox.xml b/xml/System.Windows.Forms/TextBox.xml index d7903994be9..401027902fc 100644 --- a/xml/System.Windows.Forms/TextBox.xml +++ b/xml/System.Windows.Forms/TextBox.xml @@ -73,7 +73,7 @@ The following code example creates a multiline control with vertical scroll bars. This example uses the , , and properties to make the multiline text box control useful for creating text documents. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBox/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBox/Overview/source.vb" id="Snippet1"::: ]]> @@ -115,7 +115,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBox.TextBox Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBox/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.TextBox Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBox/.ctor/source.vb" id="Snippet1"::: ]]> @@ -175,7 +175,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBox.AcceptsReturn Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBox/AcceptsReturn/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.AcceptsReturn Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBox/AcceptsReturn/source.vb" id="Snippet1"::: ]]> @@ -257,7 +257,7 @@ - Uses the property to set how the auto-complete candidates are displayed. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBox/AutoCompleteCustomSource/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.textbox.autocompletecustomsource/vb/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBox/AutoCompleteCustomSource/form1.vb" id="Snippet10"::: ]]> @@ -345,7 +345,7 @@ - Uses the property to set how the auto-complete candidates are displayed. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBox/AutoCompleteCustomSource/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.textbox.autocompletecustomsource/vb/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBox/AutoCompleteCustomSource/form1.vb" id="Snippet10"::: ]]> @@ -429,7 +429,7 @@ - Uses the property to set how the auto-complete candidates are displayed. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBox/AutoCompleteCustomSource/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.textbox.autocompletecustomsource/vb/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBox/AutoCompleteCustomSource/form1.vb" id="Snippet10"::: ]]> @@ -487,7 +487,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBox.CharacterCasing Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CharacterCasing/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.CharacterCasing Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CharacterCasing/Overview/source.vb" id="Snippet1"::: ]]> @@ -699,7 +699,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBox.AcceptsReturn Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBox/AcceptsReturn/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.AcceptsReturn Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBox/AcceptsReturn/source.vb" id="Snippet1"::: ]]> @@ -1100,7 +1100,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBox.CharacterCasing Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CharacterCasing/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.CharacterCasing Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CharacterCasing/Overview/source.vb" id="Snippet1"::: ]]> @@ -1291,7 +1291,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBox.ScrollBars Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBox/ScrollBars/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.ScrollBars Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBox/ScrollBars/source.vb" id="Snippet1"::: ]]> @@ -1413,7 +1413,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBox.CharacterCasing Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CharacterCasing/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBox.CharacterCasing Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CharacterCasing/Overview/source.vb" id="Snippet1"::: ]]> @@ -1467,7 +1467,7 @@ To run the example code, paste it into a project that contains an instance of type named `TextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet249"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet249"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet249"::: ]]> diff --git a/xml/System.Windows.Forms/TextBoxBase.xml b/xml/System.Windows.Forms/TextBoxBase.xml index 50bc659879d..44588b6f5d9 100644 --- a/xml/System.Windows.Forms/TextBoxBase.xml +++ b/xml/System.Windows.Forms/TextBoxBase.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Overview/source.vb" id="Snippet1"::: ]]> @@ -129,7 +129,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Overview/source.vb" id="Snippet1"::: ]]> @@ -176,7 +176,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `TextBoxBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet241"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet241"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet241"::: ]]> @@ -226,7 +226,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TextBoxBase.AppendText/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/AppendText/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TextBoxBase.AppendText/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AppendText/form1.vb" id="Snippet1"::: ]]> @@ -299,7 +299,7 @@ This example assumes that you have a form with two text boxes, two buttons, and click events for each of the buttons. The example demonstrates the property by setting it to `true` for one text box and `false` for the other. When you click one button the text boxes are filled with a smaller text, and when you click the other button the text boxes are filled with larger text. The text box that has set to `true` expands in height to accommodate the larger text. The width does not change. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/AutoSize/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsAutoSize/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AutoSize/Form1.vb" id="Snippet1"::: ]]> @@ -637,7 +637,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.BorderStyle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/BorderStyle/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.BorderStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/BorderStyle/source.vb" id="Snippet1"::: ]]> @@ -684,7 +684,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `TextBoxBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet242"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet242"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet242"::: ]]> @@ -770,7 +770,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.CanUndo Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/CanUndo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.CanUndo Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/CanUndo/source.vb" id="Snippet1"::: ]]> @@ -820,7 +820,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.Clear Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Clear/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Clear Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Clear/source.vb" id="Snippet1"::: ]]> @@ -870,7 +870,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/ClearUndo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/ClearUndo/source.vb" id="Snippet1"::: ]]> @@ -938,7 +938,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TextBoxBaseScrolling/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Click/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextBoxBaseScrolling/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Click/form1.vb" id="Snippet2"::: ]]> @@ -1010,7 +1010,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/ClearUndo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/ClearUndo/source.vb" id="Snippet1"::: ]]> @@ -1154,7 +1154,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/ClearUndo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/ClearUndo/source.vb" id="Snippet1"::: ]]> @@ -1661,7 +1661,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TextBoxBaseScrolling/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Click/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextBoxBaseScrolling/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Click/form1.vb" id="Snippet3"::: ]]> @@ -1707,7 +1707,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `TextBoxBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet245"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet245"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet245"::: ]]> @@ -1856,7 +1856,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.Lines Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Lines/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Lines Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Lines/source.vb" id="Snippet1"::: ]]> @@ -1919,7 +1919,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.MaxLength Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/MaxLength/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.MaxLength Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/MaxLength/source.vb" id="Snippet1"::: ]]> @@ -1978,7 +1978,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.Modified Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Modified/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Modified Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Modified/source.vb" id="Snippet1"::: ]]> @@ -2026,7 +2026,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `TextBoxBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet246"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet246"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet246"::: ]]> @@ -2084,7 +2084,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `TextBoxBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet244"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet244"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet244"::: ]]> @@ -2169,7 +2169,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Overview/source.vb" id="Snippet1"::: ]]> @@ -2218,7 +2218,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `TextBoxBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet247"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet247"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet247"::: ]]> @@ -2908,7 +2908,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/ClearUndo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/ClearUndo/source.vb" id="Snippet1"::: ]]> @@ -3124,7 +3124,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `TextBoxBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet248"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet248"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet248"::: ]]> @@ -3173,7 +3173,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TextBoxBaseScrolling/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Click/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextBoxBaseScrolling/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Click/form1.vb" id="Snippet1"::: ]]> @@ -3229,7 +3229,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.Select Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Select/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.Select Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Select/source.vb" id="Snippet1"::: ]]> @@ -3279,7 +3279,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.SelectAll Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/SelectAll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectAll Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectAll/source.vb" id="Snippet1"::: ]]> @@ -3342,7 +3342,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.SelectedText Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/SelectedText/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectedText Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectedText/source.vb" id="Snippet1"::: ]]> @@ -3402,7 +3402,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/ClearUndo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/ClearUndo/source.vb" id="Snippet1"::: ]]> @@ -3468,14 +3468,14 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/ClearUndo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/ClearUndo/source.vb" id="Snippet1"::: **Example 2** The following example sets the property of a that is by giving it the first. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/SelectionStart/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/SystemWindowsFormsTextBoxBase/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/SelectionStart/Form1.vb" id="Snippet1"::: ]]> @@ -3663,7 +3663,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Overview/source.vb" id="Snippet1"::: ]]> @@ -3716,7 +3716,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TextBoxBase.AppendText/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/AppendText/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TextBoxBase.AppendText/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/AppendText/form1.vb" id="Snippet1"::: ]]> @@ -3795,7 +3795,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/ClearUndo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.SelectionLength Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/ClearUndo/source.vb" id="Snippet1"::: ]]> @@ -3892,7 +3892,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic TextBoxBase.AcceptsTab Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxBase/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TextBoxRenderer.xml b/xml/System.Windows.Forms/TextBoxRenderer.xml index 35221b67959..88dd8824260 100644 --- a/xml/System.Windows.Forms/TextBoxRenderer.xml +++ b/xml/System.Windows.Forms/TextBoxRenderer.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TextBoxRenderer/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxRenderer/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextBoxRenderer/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxRenderer/Overview/form1.vb" id="Snippet0"::: ]]> @@ -383,7 +383,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TextBoxRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextBoxRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -437,7 +437,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TextBoxRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextBoxRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextBoxRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextBoxRenderer/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/TextFormatFlags.xml b/xml/System.Windows.Forms/TextFormatFlags.xml index 4bfe84c16f2..2b0ca713a1e 100644 --- a/xml/System.Windows.Forms/TextFormatFlags.xml +++ b/xml/System.Windows.Forms/TextFormatFlags.xml @@ -39,7 +39,7 @@ The following example demonstrates how to use the `TextFormatFlags` enumeration. To run this example, paste the following code into a Windows Form. Call `RenderText6` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Windows.Forms/TextRenderer.xml b/xml/System.Windows.Forms/TextRenderer.xml index 2ae636e505a..a4eca925e60 100644 --- a/xml/System.Windows.Forms/TextRenderer.xml +++ b/xml/System.Windows.Forms/TextRenderer.xml @@ -49,7 +49,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `RenderText1` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -234,7 +234,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `RenderText1` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -303,7 +303,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `RenderText2` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -594,7 +594,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `RenderText3` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet4"::: ]]> @@ -669,7 +669,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `RenderText5` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet6"::: ]]> @@ -739,7 +739,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `RenderText4` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet5"::: ]]> @@ -811,7 +811,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `RenderText6` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet7"::: ]]> @@ -1006,7 +1006,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `RenderText7` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet8"::: ]]> @@ -1080,7 +1080,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `RenderText8` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet9"::: ]]> @@ -1180,7 +1180,7 @@ The following code example demonstrates how to use the method. To run this example, paste the code into a Windows Form and call `MeasureText1` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -1289,7 +1289,7 @@ The following code example demonstrates how to use one of the methods. To run this example, paste the code into a Windows Form and call `DrawALineOfText` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet11"::: ]]> @@ -1382,7 +1382,7 @@ The following code example demonstrates how to use one of the methods. To run this example, paste the code into a Windows Form and call `DrawALineOfText` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet11"::: ]]> @@ -1495,7 +1495,7 @@ The following code example demonstrates how to use one of the methods. To run this example, paste the code into a Windows Form and call `DrawALineOfText` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet11"::: ]]> @@ -1601,7 +1601,7 @@ The following code example demonstrates how to use one of the methods. To run this example, paste the code into a Windows Form and call `DrawALineOfText` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet11"::: ]]> @@ -1722,7 +1722,7 @@ The following example demonstrates how to use the and methods to draw a single line of text in different font styles. To run this example paste the following code in a Windows Form and call `DrawALineOfText` from the form's event handler, passing `e` as . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TextFormatFlags/Overview/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TextRendererExamples/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TextFormatFlags/Overview/Form1.vb" id="Snippet11"::: ]]> diff --git a/xml/System.Windows.Forms/Timer.xml b/xml/System.Windows.Forms/Timer.xml index 48f885f756b..62a4daf5c04 100644 --- a/xml/System.Windows.Forms/Timer.xml +++ b/xml/System.Windows.Forms/Timer.xml @@ -61,7 +61,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Timer Example 2/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Timer/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Timer Example 2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Timer/Overview/source.vb" id="Snippet1"::: ]]> @@ -242,7 +242,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Timer Example 2/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Timer/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Timer Example 2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Timer/Overview/source.vb" id="Snippet1"::: ]]> @@ -297,7 +297,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Timer Example 2/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Timer/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Timer Example 2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Timer/Overview/source.vb" id="Snippet1"::: ]]> @@ -392,7 +392,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Timer Example 2/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Timer/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Timer Example 2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Timer/Overview/source.vb" id="Snippet1"::: ]]> @@ -449,7 +449,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Timer Example 2/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Timer/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Timer Example 2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Timer/Overview/source.vb" id="Snippet1"::: ]]> @@ -555,7 +555,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Timer Example 2/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Timer/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Timer Example 2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Timer/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolBar+ToolBarButtonCollection.xml b/xml/System.Windows.Forms/ToolBar+ToolBarButtonCollection.xml index 16b60ccd13d..c518cab39ba 100644 --- a/xml/System.Windows.Forms/ToolBar+ToolBarButtonCollection.xml +++ b/xml/System.Windows.Forms/ToolBar+ToolBarButtonCollection.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBar.Buttons Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.Buttons Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Overview/source.vb" id="Snippet1"::: ]]> @@ -144,7 +144,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolBar/CPP/mytoolbar.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolBar/VB/mytoolbar.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.vb" id="Snippet2"::: ]]> @@ -192,7 +192,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.Add Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.Add Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/source.vb" id="Snippet1"::: ]]> @@ -241,7 +241,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolBar/CPP/mytoolbar.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolBar/VB/mytoolbar.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.vb" id="Snippet2"::: ]]> @@ -290,7 +290,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.Count Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Clear/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.Count Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Clear/source.vb" id="Snippet1"::: ]]> @@ -339,7 +339,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolBar/CPP/mytoolbar.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolBar/VB/mytoolbar.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.vb" id="Snippet2"::: ]]> @@ -425,7 +425,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.Count Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Clear/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.Count Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Clear/source.vb" id="Snippet1"::: ]]> @@ -465,7 +465,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolBar/CPP/mytoolbar.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolBar/VB/mytoolbar.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.vb" id="Snippet2"::: ]]> @@ -510,7 +510,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.IndexOf Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/IndexOf/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.IndexOf Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/IndexOf/source.vb" id="Snippet1"::: ]]> @@ -596,7 +596,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolBar/CPP/mytoolbar.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolBar/VB/mytoolbar.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.vb" id="Snippet2"::: ]]> @@ -637,7 +637,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolBar/CPP/mytoolbar.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolBar/VB/mytoolbar.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.vb" id="Snippet2"::: ]]> @@ -690,7 +690,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.this Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Item/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.this Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Item/source.vb" id="Snippet1"::: ]]> @@ -779,7 +779,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolBar/CPP/mytoolbar.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolBar/VB/mytoolbar.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.vb" id="Snippet2"::: ]]> @@ -828,7 +828,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.RemoveAt Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/RemoveAt/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBarButtonCollection.RemoveAt Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/RemoveAt/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolBar.xml b/xml/System.Windows.Forms/ToolBar.xml index e6182470bb2..5440aebab9b 100644 --- a/xml/System.Windows.Forms/ToolBar.xml +++ b/xml/System.Windows.Forms/ToolBar.xml @@ -82,7 +82,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -119,7 +119,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -175,7 +175,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -243,7 +243,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -294,7 +294,7 @@ This class is not available in .NET Core 3.1 and later versions. Use named `ToolBar1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet564"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet564"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet564"::: ]]> @@ -568,7 +568,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -609,7 +609,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -650,7 +650,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -710,7 +710,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -761,7 +761,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -953,7 +953,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1067,7 +1067,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1193,7 +1193,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1738,7 +1738,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -1866,7 +1866,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -2016,7 +2016,7 @@ This class is not available in .NET Core 3.1 and later versions. Use diff --git a/xml/System.Windows.Forms/ToolBarAppearance.xml b/xml/System.Windows.Forms/ToolBarAppearance.xml index 2a4c4071cbb..9d072f07216 100644 --- a/xml/System.Windows.Forms/ToolBarAppearance.xml +++ b/xml/System.Windows.Forms/ToolBarAppearance.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolBar/CPP/mytoolbar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolBar/VB/mytoolbar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolBarButton.xml b/xml/System.Windows.Forms/ToolBarButton.xml index 31cb5fe6f95..4bb528ab5c0 100644 --- a/xml/System.Windows.Forms/ToolBarButton.xml +++ b/xml/System.Windows.Forms/ToolBarButton.xml @@ -78,7 +78,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -127,7 +127,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -168,7 +168,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -269,7 +269,7 @@ This class is not available in .NET Core 3.1 and later versions. Use @@ -390,7 +390,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBarButton/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBarButton/.ctor/source.vb" id="Snippet1"::: ]]> @@ -574,7 +574,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolBarButtonExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBarButton/PartialPush/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolBarButtonExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBarButton/PartialPush/form1.vb" id="Snippet1"::: ]]> @@ -622,7 +622,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolBarButtonExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBarButton/PartialPush/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolBarButtonExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBarButton/PartialPush/form1.vb" id="Snippet1"::: ]]> @@ -710,7 +710,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBarButton/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBarButton/.ctor/source.vb" id="Snippet1"::: ]]> @@ -778,7 +778,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolBarButtonExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBarButton/PartialPush/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolBarButtonExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBarButton/PartialPush/form1.vb" id="Snippet1"::: ]]> @@ -829,7 +829,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBarButton/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBarButton/.ctor/source.vb" id="Snippet1"::: ]]> @@ -884,7 +884,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBarButton/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBarButton/.ctor/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolBarButtonClickEventArgs.xml b/xml/System.Windows.Forms/ToolBarButtonClickEventArgs.xml index 38ab1cf30ea..3df4b4cc588 100644 --- a/xml/System.Windows.Forms/ToolBarButtonClickEventArgs.xml +++ b/xml/System.Windows.Forms/ToolBarButtonClickEventArgs.xml @@ -45,7 +45,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBar.ToolBar Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBar Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar/Overview/source.vb" id="Snippet1"::: ]]> @@ -135,7 +135,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBar.ToolBar Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBar Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolBarButtonClickEventHandler.xml b/xml/System.Windows.Forms/ToolBarButtonClickEventHandler.xml index 4e5e3c1b3c4..23c047b5b3a 100644 --- a/xml/System.Windows.Forms/ToolBarButtonClickEventHandler.xml +++ b/xml/System.Windows.Forms/ToolBarButtonClickEventHandler.xml @@ -53,7 +53,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBar.ToolBar Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBar.ToolBar Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolBarButtonStyle.xml b/xml/System.Windows.Forms/ToolBarButtonStyle.xml index b1c1436d78e..7f2f16a4a29 100644 --- a/xml/System.Windows.Forms/ToolBarButtonStyle.xml +++ b/xml/System.Windows.Forms/ToolBarButtonStyle.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBarButton/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic ToolBarButton.Style Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBarButton/.ctor/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolBarTextAlign.xml b/xml/System.Windows.Forms/ToolBarTextAlign.xml index 568f868199a..72d017511c3 100644 --- a/xml/System.Windows.Forms/ToolBarTextAlign.xml +++ b/xml/System.Windows.Forms/ToolBarTextAlign.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolBar/CPP/mytoolbar.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolBar/VB/mytoolbar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolBar+ToolBarButtonCollection/Add/mytoolbar.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStrip.xml b/xml/System.Windows.Forms/ToolStrip.xml index 27c0826c5f4..fdeb6134e4a 100644 --- a/xml/System.Windows.Forms/ToolStrip.xml +++ b/xml/System.Windows.Forms/ToolStrip.xml @@ -99,7 +99,7 @@ The following code example demonstrates adding a and a to a Windows Forms, adding items to the , and adding the to the of the . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.toolstripcontainer2/vb/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -262,7 +262,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -324,7 +324,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -383,7 +383,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -427,7 +427,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -695,7 +695,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -752,7 +752,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet85"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet85"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet85"::: ]]> @@ -839,7 +839,7 @@ The following code example demonstrates the use of and with a and a . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/BeginDrag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.BeginEndDrag/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/BeginDrag/form1.vb" id="Snippet1"::: ]]> @@ -941,7 +941,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -1034,7 +1034,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet87"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet87"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet87"::: ]]> @@ -1356,7 +1356,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -1409,7 +1409,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet88"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet88"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet88"::: ]]> @@ -1484,7 +1484,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -1827,7 +1827,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -1875,7 +1875,7 @@ The following code example demonstrates the use of and with a and a . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/BeginDrag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.BeginEndDrag/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/BeginDrag/form1.vb" id="Snippet1"::: ]]> @@ -1990,7 +1990,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet90"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet90"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet90"::: ]]> @@ -2289,7 +2289,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -2599,7 +2599,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -2799,7 +2799,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet91"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet91"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet91"::: ]]> @@ -2848,7 +2848,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet92"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet92"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet92"::: ]]> @@ -2897,7 +2897,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet93"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet93"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet93"::: ]]> @@ -2954,7 +2954,7 @@ The following code example adds a collection of items to a . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/Items/hvtsctoolstrip.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MainToolStripExample/vb/hvtsctoolstrip.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/Items/hvtsctoolstrip.vb" id="Snippet3"::: ]]> @@ -3008,7 +3008,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet94"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet94"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet94"::: ]]> @@ -3146,7 +3146,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -3196,7 +3196,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet95"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet95"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet95"::: ]]> @@ -4566,7 +4566,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet96"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet96"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet96"::: ]]> @@ -4788,7 +4788,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet97"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet97"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet97"::: ]]> @@ -4833,7 +4833,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -5285,7 +5285,7 @@ The following code example turns off the automatic text for a and sets custom text. This example is part of a larger example available in the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/ShowItemToolTips/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripToolTip/vb/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/ShowItemToolTips/Form1.vb" id="Snippet2"::: ]]> @@ -5338,7 +5338,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -5390,7 +5390,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -5437,7 +5437,7 @@ The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/AllowDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/AllowDrop/form1.vb" id="Snippet1"::: ]]> @@ -5559,7 +5559,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckedListBox/WndProc/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.WndProc/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckedListBox/WndProc/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripArrowRenderEventArgs.xml b/xml/System.Windows.Forms/ToolStripArrowRenderEventArgs.xml index dee9938a84f..1ad359b8ead 100644 --- a/xml/System.Windows.Forms/ToolStripArrowRenderEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripArrowRenderEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet583"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet583"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet583"::: ]]> @@ -123,7 +123,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet583"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet583"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet583"::: ]]> @@ -173,7 +173,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet583"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet583"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet583"::: ]]> @@ -223,7 +223,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet583"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet583"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet583"::: ]]> @@ -269,7 +269,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet583"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet583"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet583"::: ]]> @@ -320,7 +320,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet583"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet583"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet583"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripButton.xml b/xml/System.Windows.Forms/ToolStripButton.xml index ea16df920c0..4f92b2db19c 100644 --- a/xml/System.Windows.Forms/ToolStripButton.xml +++ b/xml/System.Windows.Forms/ToolStripButton.xml @@ -48,7 +48,7 @@ The following code example shows two controls with both image and text on a . Clicking the **New** displays a message box. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripButton/vb/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -327,7 +327,7 @@ The following code example turns off the automatic text for a and sets custom . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/ShowItemToolTips/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripToolTip/vb/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/ShowItemToolTips/Form1.vb" id="Snippet1"::: ]]> @@ -399,7 +399,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet50"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet50"::: ]]> @@ -443,7 +443,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet50"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet50"::: ]]> @@ -497,7 +497,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet50"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet50"::: ]]> @@ -588,7 +588,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripButton1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet568"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet568"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet568"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripComboBox.xml b/xml/System.Windows.Forms/ToolStripComboBox.xml index fbfd5ada11d..2cd7c64b718 100644 --- a/xml/System.Windows.Forms/ToolStripComboBox.xml +++ b/xml/System.Windows.Forms/ToolStripComboBox.xml @@ -56,7 +56,7 @@ The following code example demonstrates a with various property settings, including automatic completion. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripComboBox/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb" id="Snippet0"::: ]]> @@ -228,7 +228,7 @@ The following code example demonstrates the syntax for setting various properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripComboBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -287,7 +287,7 @@ The following code example demonstrates the syntax for setting various properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripComboBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -346,7 +346,7 @@ The following code example demonstrates the syntax for setting various properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripComboBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -730,7 +730,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripComboBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet578"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet578"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet578"::: ]]> @@ -781,7 +781,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripComboBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet579"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet579"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet579"::: ]]> @@ -838,7 +838,7 @@ The following code example demonstrates the syntax for setting various properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripComboBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -891,7 +891,7 @@ The following code example demonstrates the syntax for setting various properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripComboBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -942,7 +942,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripComboBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet580"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet580"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet580"::: ]]> @@ -985,7 +985,7 @@ The following code example demonstrates the syntax for setting various properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripComboBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1302,7 +1302,7 @@ The following code example demonstrates the syntax for setting various properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripComboBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1513,7 +1513,7 @@ The following code example demonstrates the syntax for setting various properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripComboBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2076,7 +2076,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripComboBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet581"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet581"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet581"::: ]]> @@ -2315,7 +2315,7 @@ The following code example demonstrates the syntax for setting various properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripComboBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripComboBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripComboBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2366,7 +2366,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripComboBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet582"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet582"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet582"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripContainer.xml b/xml/System.Windows.Forms/ToolStripContainer.xml index 57675d3dd35..3ae6429bd74 100644 --- a/xml/System.Windows.Forms/ToolStripContainer.xml +++ b/xml/System.Windows.Forms/ToolStripContainer.xml @@ -58,7 +58,7 @@ The following code example demonstrates adding a and a to a Windows Forms, adding items to the , and adding the to the of the . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStrip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.toolstripcontainer2/vb/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStrip/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripContentPanel.xml b/xml/System.Windows.Forms/ToolStripContentPanel.xml index 77c5ff2f99f..8b60d9f1bba 100644 --- a/xml/System.Windows.Forms/ToolStripContentPanel.xml +++ b/xml/System.Windows.Forms/ToolStripContentPanel.xml @@ -72,7 +72,7 @@ The following code example demonstrates adding a to a . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripContentPanel/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripContainer/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripContentPanel/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -710,7 +710,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripContentPanel1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet604"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet604"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet604"::: ]]> @@ -1221,7 +1221,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripContentPanel1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet605"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet605"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet605"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripContentPanelRenderEventArgs.xml b/xml/System.Windows.Forms/ToolStripContentPanelRenderEventArgs.xml index f0afe655d42..3001ada31fb 100644 --- a/xml/System.Windows.Forms/ToolStripContentPanelRenderEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripContentPanelRenderEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet586"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet586"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet586"::: ]]> @@ -121,7 +121,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet586"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet586"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet586"::: ]]> @@ -172,7 +172,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet586"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet586"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet586"::: ]]> @@ -218,7 +218,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet586"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet586"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet586"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripControlHost.xml b/xml/System.Windows.Forms/ToolStripControlHost.xml index 1cfb67ec52e..ed4d9c4c6b8 100644 --- a/xml/System.Windows.Forms/ToolStripControlHost.xml +++ b/xml/System.Windows.Forms/ToolStripControlHost.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/CPP/form1.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripControlHost/Overview/form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/VB/form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripControlHost/Overview/form1.vb" id="Snippet13"::: ]]> @@ -99,7 +99,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripControlHost/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripControlHost/Overview/form1.vb" id="Snippet1"::: ]]> @@ -366,7 +366,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripControlHost/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripControlHost/Overview/form1.vb" id="Snippet1"::: ]]> @@ -767,7 +767,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripControlHost1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet569"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet569"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet569"::: ]]> @@ -880,7 +880,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripControlHost/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripControlHost/Overview/form1.vb" id="Snippet1"::: ]]> @@ -999,7 +999,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripControlHost1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet570"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet570"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet570"::: ]]> @@ -1253,7 +1253,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripControlHost1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet573"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet573"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet573"::: ]]> @@ -1305,7 +1305,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripControlHost1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet574"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet574"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet574"::: ]]> @@ -1357,7 +1357,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripControlHost1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet575"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet575"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet575"::: ]]> @@ -1409,7 +1409,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripControlHost1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet571"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet571"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet571"::: ]]> @@ -1469,7 +1469,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripControlHost1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet572"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet572"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet572"::: ]]> @@ -2006,7 +2006,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/CPP/form1.cpp" id="Snippet14"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripControlHost/Overview/form1.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/VB/form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripControlHost/Overview/form1.vb" id="Snippet14"::: ]]> @@ -2061,7 +2061,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/CPP/form1.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripControlHost/Overview/form1.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/VB/form1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripControlHost/Overview/form1.vb" id="Snippet15"::: ]]> @@ -2584,7 +2584,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripControlHost/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripControlHost/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripControlHost/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2774,7 +2774,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripControlHost1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet577"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet577"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet577"::: ]]> @@ -2826,7 +2826,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripControlHost1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet576"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet576"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet576"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripDropDown.xml b/xml/System.Windows.Forms/ToolStripDropDown.xml index 641c6a2a2cf..5d876cc5730 100644 --- a/xml/System.Windows.Forms/ToolStripDropDown.xml +++ b/xml/System.Windows.Forms/ToolStripDropDown.xml @@ -59,12 +59,12 @@ Use the to display drop-down lists :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet5"::: The following code example uses to show a as a . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDown/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownTreeView/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/Overview/form1.vb" id="Snippet1"::: ]]> @@ -283,7 +283,7 @@ Use the to display drop-down lists The following code example demonstrates how to toggle the value of the property in response to a check box selection. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDown/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.vb" id="Snippet9"::: ]]> @@ -371,7 +371,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet171"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet171"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet171"::: ]]> @@ -420,7 +420,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet172"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet172"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet172"::: ]]> @@ -469,7 +469,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet173"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet173"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet173"::: ]]> @@ -565,7 +565,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet174"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet174"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet174"::: ]]> @@ -646,7 +646,7 @@ Use the to display drop-down lists The following code example demonstrates how to specify a close reason when explicitly closing a control with the method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDown/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.vb" id="Snippet8"::: ]]> @@ -690,7 +690,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet177"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet177"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet177"::: ]]> @@ -731,7 +731,7 @@ Use the to display drop-down lists The following code example demonstrates how to selectively close a control by handling the event :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDown/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.vb" id="Snippet6"::: ]]> @@ -1098,7 +1098,7 @@ Use the to display drop-down lists The following code example demonstrates how to assign the property specified by a radio button setting. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDown/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.vb" id="Snippet11"::: ]]> @@ -1379,7 +1379,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet179"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet179"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet179"::: ]]> @@ -1473,7 +1473,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet180"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet180"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet180"::: ]]> @@ -1804,7 +1804,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet181"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet181"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet181"::: ]]> @@ -1854,7 +1854,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet182"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet182"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet182"::: ]]> @@ -1946,7 +1946,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet183"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet183"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet183"::: ]]> @@ -1999,7 +1999,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet184"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet184"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet184"::: ]]> @@ -2052,7 +2052,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet185"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet185"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet185"::: ]]> @@ -2105,7 +2105,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet186"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet186"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet186"::: ]]> @@ -2708,7 +2708,7 @@ Use the to display drop-down lists To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet188"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet188"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet188"::: ]]> @@ -2749,7 +2749,7 @@ Use the to display drop-down lists The following example demonstrates how to handle the event. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet40"::: ]]> @@ -2851,7 +2851,7 @@ Use the to display drop-down lists The following code example demonstrates how to use this property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet42"::: ]]> @@ -2987,7 +2987,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ProcessMnemonic/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/CheckBox/ProcessMnemonic/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ProcessMnemonic/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/CheckBox/ProcessMnemonic/form1.vb" id="Snippet1"::: ]]> @@ -3081,7 +3081,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet189"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet189"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet189"::: ]]> @@ -3372,7 +3372,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { The following code example demonstrates how to display the control at its default position. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDown/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.vb" id="Snippet3"::: ]]> @@ -3413,7 +3413,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { The following code example demonstrates how to display the control at a fixed point. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDown/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.vb" id="Snippet5"::: ]]> @@ -3456,7 +3456,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { The following code example demonstrates how to display the control at a fixed point in the specified direction. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDown/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.vb" id="Snippet4"::: ]]> @@ -3568,7 +3568,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { The following code example demonstrates how to display the control relative to the parent control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDown/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDown/AutoClose/Form1.vb" id="Snippet2"::: ]]> @@ -3704,7 +3704,7 @@ if (CanSelect && IsMnemonic(charCode, MyControl.Text) { To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet190"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet190"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet190"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripDropDownButton.xml b/xml/System.Windows.Forms/ToolStripDropDownButton.xml index 3838aeececd..00f8a8047b2 100644 --- a/xml/System.Windows.Forms/ToolStripDropDownButton.xml +++ b/xml/System.Windows.Forms/ToolStripDropDownButton.xml @@ -47,7 +47,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet5"::: ]]> @@ -93,7 +93,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet5"::: ]]> @@ -668,7 +668,7 @@ For more information, see the [migration guide](/dotnet/framework/migration-guid :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripDropDownClosedEventArgs.xml b/xml/System.Windows.Forms/ToolStripDropDownClosedEventArgs.xml index be338821e26..b03e6e518cf 100644 --- a/xml/System.Windows.Forms/ToolStripDropDownClosedEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripDropDownClosedEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet177"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet177"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet177"::: ]]> @@ -124,7 +124,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet177"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet177"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet177"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripDropDownClosingEventArgs.xml b/xml/System.Windows.Forms/ToolStripDropDownClosingEventArgs.xml index 919186f5d31..ba07bcb05fc 100644 --- a/xml/System.Windows.Forms/ToolStripDropDownClosingEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripDropDownClosingEventArgs.xml @@ -36,7 +36,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet178"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet178"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet178"::: ]]> @@ -126,7 +126,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripDropDown1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet178"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet178"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet178"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripDropDownItem.xml b/xml/System.Windows.Forms/ToolStripDropDownItem.xml index d0942f9aadf..2a45de86721 100644 --- a/xml/System.Windows.Forms/ToolStripDropDownItem.xml +++ b/xml/System.Windows.Forms/ToolStripDropDownItem.xml @@ -52,7 +52,7 @@ The following code example demonstrates how to show and hide controls. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownItem/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -111,7 +111,7 @@ The following code example demonstrates how to create and initialize controls. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownItem/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -402,7 +402,7 @@ The following code example demonstrates how to assign a control to a control's property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownItem/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -451,7 +451,7 @@ The following code example demonstrates how to handle the event for multiple controls. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownItem/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.vb" id="Snippet5"::: ]]> @@ -535,7 +535,7 @@ The following code example demonstrates how to handle the event for multiple controls. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownItem/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.vb" id="Snippet4"::: ]]> @@ -584,7 +584,7 @@ The following code example demonstrates how to use the property to create a menu with sub-menus. For the complete code example, see [How to: Display Option Buttons in a MenuStrip](/dotnet/desktop/winforms/controls/how-to-display-option-buttons-in-a-menustrip-windows-forms). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDownItem/DropDownItems/ToolStripRadioButtonMenuItem.cs" id="Snippet200"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolStripRadioButtonMenuItem/vb/ToolStripRadioButtonMenuItem.vb" id="Snippet200"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/DropDownItems/ToolStripRadioButtonMenuItem.vb" id="Snippet200"::: ]]> @@ -663,7 +663,7 @@ The following code example demonstrates how to handle the event for multiple controls. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownItem/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -714,7 +714,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripDropDownItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet492"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet492"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet492"::: ]]> @@ -793,7 +793,7 @@ The following code example demonstrates how to query the property to conditionally show a control. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownItem/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.vb" id="Snippet6"::: ]]> @@ -836,7 +836,7 @@ The following code example demonstrates how to hide a control when a button is pressed. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownItem/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.vb" id="Snippet7"::: ]]> @@ -1332,7 +1332,7 @@ The following code example demonstrates how to show a control when a button is pressed. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripDropDownItem/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripDropDownItem/Overview/Form1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripDropDownItemAccessibleObject.xml b/xml/System.Windows.Forms/ToolStripDropDownItemAccessibleObject.xml index 06b177272bf..7a3f5f137bd 100644 --- a/xml/System.Windows.Forms/ToolStripDropDownItemAccessibleObject.xml +++ b/xml/System.Windows.Forms/ToolStripDropDownItemAccessibleObject.xml @@ -148,7 +148,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet4"::: ]]> @@ -191,7 +191,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripDropDownMenu.xml b/xml/System.Windows.Forms/ToolStripDropDownMenu.xml index 092f098f247..0928023dae2 100644 --- a/xml/System.Windows.Forms/ToolStripDropDownMenu.xml +++ b/xml/System.Windows.Forms/ToolStripDropDownMenu.xml @@ -59,7 +59,7 @@ > This code is not a complete sample, so it won't compile. For a full code listing, see [How to: Enable Check Margins and Image Margins in ContextMenuStrip Controls](/dotnet/desktop/winforms/controls/how-to-enable-check-margins-and-image-margins-in-contextmenustrip-controls). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet61"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet61"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet61"::: ]]> @@ -99,7 +99,7 @@ The following code example demonstrates how to create and initialize a control. For a full code listing, see [How to: Enable Check Margins and Image Margins in ContextMenuStrip Controls](/dotnet/desktop/winforms/controls/how-to-enable-check-margins-and-image-margins-in-contextmenustrip-controls). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet62"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet62"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet62"::: ]]> @@ -523,7 +523,7 @@ The following code example demonstrates how to create and initialize a control by setting the check and image margins. For a full code listing, see [How to: Enable Check Margins and Image Margins in ContextMenuStrip Controls](/dotnet/desktop/winforms/controls/how-to-enable-check-margins-and-image-margins-in-contextmenustrip-controls). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet61"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet61"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet61"::: ]]> @@ -573,7 +573,7 @@ The following code example demonstrates how to create and initialize a control by setting the check and image margins. For a full code listing, see [How to: Enable Check Margins and Image Margins in ContextMenuStrip Controls](/dotnet/desktop/winforms/controls/how-to-enable-check-margins-and-image-margins-in-contextmenustrip-controls). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet61"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet61"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet61"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripGripRenderEventArgs.xml b/xml/System.Windows.Forms/ToolStripGripRenderEventArgs.xml index 9a080f7e6cb..8f9a5839914 100644 --- a/xml/System.Windows.Forms/ToolStripGripRenderEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripGripRenderEventArgs.xml @@ -31,7 +31,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet591"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet591"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet591"::: ]]> @@ -107,7 +107,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet591"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet591"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet591"::: ]]> @@ -147,7 +147,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet591"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet591"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet591"::: ]]> @@ -187,7 +187,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet591"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet591"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet591"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripItem.xml b/xml/System.Windows.Forms/ToolStripItem.xml index add117f3059..475fb5aae63 100644 --- a/xml/System.Windows.Forms/ToolStripItem.xml +++ b/xml/System.Windows.Forms/ToolStripItem.xml @@ -97,7 +97,7 @@ The following code example demonstrates how to implement a custom control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -575,7 +575,7 @@ The following code example demonstrates how to set the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -638,7 +638,7 @@ The following code example demonstrates how to set the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -758,7 +758,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet4"::: ]]> @@ -811,7 +811,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet20"::: ]]> @@ -912,7 +912,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet98"::: ]]> @@ -957,7 +957,7 @@ The following code example demonstrates how to use the property for custom rendering. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet21"::: ]]> @@ -1010,7 +1010,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet99"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet99"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet99"::: ]]> @@ -1112,7 +1112,7 @@ The following code example demonstrates how to set the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -1243,7 +1243,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet4"::: ]]> @@ -1484,7 +1484,7 @@ The following code example demonstrates how to use the property for custom rendering. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet13"::: ]]> @@ -1768,7 +1768,7 @@ The following code example demonstrates the , , , and properties for a . This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripButton/vb/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -1817,7 +1817,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet101"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet101"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet101"::: ]]> @@ -2063,7 +2063,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet102"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet102"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet102"::: ]]> @@ -2151,7 +2151,7 @@ The following code example shows how to convert the and properties to a client . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet3"::: ]]> @@ -2233,7 +2233,7 @@ The following code example shows how to convert the and properties to a client . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet3"::: ]]> @@ -2312,7 +2312,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet106"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet106"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet106"::: ]]> @@ -2391,7 +2391,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet105"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet105"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet105"::: ]]> @@ -2480,7 +2480,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet107"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet107"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet107"::: ]]> @@ -2563,7 +2563,7 @@ The following code example demonstrates how to use the property for custom rendering. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet12"::: ]]> @@ -2613,7 +2613,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet108"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet108"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet108"::: ]]> @@ -2767,7 +2767,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet109"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet109"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet109"::: ]]> @@ -2867,7 +2867,7 @@ The following code example demonstrates the , , , and properties for a . This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripButton/vb/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -2934,7 +2934,7 @@ The following code example demonstrates the , , , and properties for a . This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripButton/vb/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -3110,7 +3110,7 @@ If you set the property, t The following code example demonstrates how to set the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -3176,7 +3176,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet20"::: ]]> @@ -3225,7 +3225,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet20"::: ]]> @@ -3272,7 +3272,7 @@ If you set the property, t The following code example demonstrates how to use the method for custom rendering. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet15"::: ]]> @@ -3466,7 +3466,7 @@ If you set the property, t The following code example demonstrates how to use the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet12"::: ]]> @@ -3551,7 +3551,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet110"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet110"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet110"::: ]]> @@ -3663,7 +3663,7 @@ If you set the property, t The following example uses the property to insert a merged in a specific location. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/MergeIndex/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStripMerge/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/MergeIndex/form1.vb" id="Snippet5"::: ]]> @@ -3720,7 +3720,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet111"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet111"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet111"::: ]]> @@ -3783,7 +3783,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet112"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet112"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet112"::: ]]> @@ -3846,7 +3846,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet114"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet114"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet114"::: ]]> @@ -3909,7 +3909,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet113"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet113"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet113"::: ]]> @@ -3972,7 +3972,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet115"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet115"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet115"::: ]]> @@ -4035,7 +4035,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet116"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet116"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet116"::: ]]> @@ -4268,7 +4268,7 @@ If you set the property, t The following code example demonstrates how to override the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet11"::: ]]> @@ -4479,7 +4479,7 @@ If you set the property, t The following code example demonstrates how to override the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet14"::: ]]> @@ -5047,7 +5047,7 @@ If you set the property, t The following code example demonstrates how to override the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet15"::: ]]> @@ -5141,7 +5141,7 @@ If you set the property, t The following code example demonstrates how to override the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet16"::: ]]> @@ -5372,7 +5372,7 @@ If you set the property, t The following code example demonstrates how to override the method for custom rendering. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet12"::: ]]> @@ -5910,7 +5910,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet4"::: ]]> @@ -5971,7 +5971,7 @@ If you set the property, t The following code example demonstrates how to use the property for custom rendering. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet12"::: ]]> @@ -6019,7 +6019,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet117"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet117"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet117"::: ]]> @@ -6144,7 +6144,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet118"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet118"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet118"::: ]]> @@ -6281,7 +6281,7 @@ If you set the property, t The following code example demonstrates how to use the property for custom rendering. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet22"::: ]]> @@ -6499,7 +6499,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet120"::: ]]> @@ -6578,7 +6578,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet119"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet119"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet119"::: ]]> @@ -7069,7 +7069,7 @@ If you set the property, t The following code example demonstrates the syntax for setting common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripStatusLabel.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.vb" id="Snippet1"::: ]]> @@ -7118,7 +7118,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet121"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet121"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet121"::: ]]> @@ -7156,7 +7156,7 @@ If you set the property, t The following code example demonstrates how to call the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -7205,7 +7205,7 @@ If you set the property, t The following code example demonstrates how to use the property for custom rendering. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Overview/Form1.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.ToolStripItem/VB/Form1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Overview/Form1.vb" id="Snippet22"::: ]]> @@ -7638,7 +7638,7 @@ If you set the property, t The following code example shows a with its property set to an active link. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Tag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripLabel/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Tag/form1.vb" id="Snippet1"::: ]]> @@ -7695,7 +7695,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet4"::: ]]> @@ -7752,7 +7752,7 @@ If you set the property, t The following code example demonstrates the , , , and properties for a . This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Overview/Form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripButton/vb/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -7803,7 +7803,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet122"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet122"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet122"::: ]]> @@ -7842,7 +7842,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet4"::: ]]> @@ -7954,7 +7954,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet20"::: ]]> @@ -8071,7 +8071,7 @@ If you set the property, t To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripItem1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet123"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet123"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet123"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripItemClickedEventArgs.xml b/xml/System.Windows.Forms/ToolStripItemClickedEventArgs.xml index 9fa7ce4a828..bfa2079e921 100644 --- a/xml/System.Windows.Forms/ToolStripItemClickedEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripItemClickedEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet92"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet92"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet92"::: ]]> @@ -119,7 +119,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet92"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet92"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet92"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripItemEventArgs.xml b/xml/System.Windows.Forms/ToolStripItemEventArgs.xml index 59872e798c7..12a9394070e 100644 --- a/xml/System.Windows.Forms/ToolStripItemEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripItemEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet91"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet91"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet91"::: ]]> @@ -119,7 +119,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStrip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet91"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet91"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet91"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripItemImageRenderEventArgs.xml b/xml/System.Windows.Forms/ToolStripItemImageRenderEventArgs.xml index c08e8216734..562e6c6e92a 100644 --- a/xml/System.Windows.Forms/ToolStripItemImageRenderEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripItemImageRenderEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet593"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet593"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet593"::: ]]> @@ -167,7 +167,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet593"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet593"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet593"::: ]]> @@ -213,7 +213,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet593"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet593"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet593"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripItemImageScaling.xml b/xml/System.Windows.Forms/ToolStripItemImageScaling.xml index 7527600f146..b62515eefc1 100644 --- a/xml/System.Windows.Forms/ToolStripItemImageScaling.xml +++ b/xml/System.Windows.Forms/ToolStripItemImageScaling.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripItemRenderEventArgs.xml b/xml/System.Windows.Forms/ToolStripItemRenderEventArgs.xml index 49e6f02ef41..de2530f9b8a 100644 --- a/xml/System.Windows.Forms/ToolStripItemRenderEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripItemRenderEventArgs.xml @@ -68,7 +68,7 @@ The following code example demonstrates how to override the method to draw a border around a control's . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet14"::: ]]> @@ -154,7 +154,7 @@ The following code example demonstrates how to override the method to draw a border around a control's . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet14"::: ]]> @@ -202,7 +202,7 @@ The following code example demonstrates how to override the method to draw a border around a control's . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet14"::: ]]> @@ -256,7 +256,7 @@ The following code example demonstrates how to override the method to draw a border around a control's . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet14"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripItemTextRenderEventArgs.xml b/xml/System.Windows.Forms/ToolStripItemTextRenderEventArgs.xml index 30a7a6112c4..b60169dca8d 100644 --- a/xml/System.Windows.Forms/ToolStripItemTextRenderEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripItemTextRenderEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet595"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet595"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet595"::: ]]> @@ -207,7 +207,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet595"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet595"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet595"::: ]]> @@ -247,7 +247,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet595"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet595"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet595"::: ]]> @@ -297,7 +297,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet595"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet595"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet595"::: ]]> @@ -348,7 +348,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet595"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet595"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet595"::: ]]> @@ -398,7 +398,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet595"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet595"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet595"::: ]]> @@ -448,7 +448,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet595"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet595"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet595"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripLabel.xml b/xml/System.Windows.Forms/ToolStripLabel.xml index f9d0a5298fd..4fe28aafa4b 100644 --- a/xml/System.Windows.Forms/ToolStripLabel.xml +++ b/xml/System.Windows.Forms/ToolStripLabel.xml @@ -50,7 +50,7 @@ The following code example demonstrates how to initialize a to contain a link by setting the , , , , and properties. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Tag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripLabel/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Tag/form1.vb" id="Snippet1"::: ]]> @@ -343,7 +343,7 @@ The following code example demonstrates how to initialize a to contain a link by setting the , , , , and properties. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Tag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripLabel/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Tag/form1.vb" id="Snippet1"::: ]]> @@ -464,7 +464,7 @@ The following code example demonstrates how to initialize a to contain a link by setting the , , , , and properties. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Tag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripLabel/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Tag/form1.vb" id="Snippet1"::: ]]> @@ -517,7 +517,7 @@ The following code example demonstrates how to initialize a to contain a link by setting the , , , , and properties. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Tag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripLabel/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Tag/form1.vb" id="Snippet1"::: ]]> @@ -555,7 +555,7 @@ The following code example demonstrates how to initialize a to contain a link by setting the , , , , and properties. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Tag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripLabel/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Tag/form1.vb" id="Snippet1"::: ]]> @@ -609,7 +609,7 @@ The following code example demonstrates how to initialize a to contain a link by setting the , , , , and properties. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Tag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripLabel/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Tag/form1.vb" id="Snippet1"::: ]]> @@ -869,7 +869,7 @@ The following code example demonstrates how to initialize a to contain a link by setting the , , , , and properties. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/Tag/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripLabel/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/Tag/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripManager.xml b/xml/System.Windows.Forms/ToolStripManager.xml index 31893841c1b..d5dff175643 100644 --- a/xml/System.Windows.Forms/ToolStripManager.xml +++ b/xml/System.Windows.Forms/ToolStripManager.xml @@ -46,13 +46,13 @@ The following code example demonstrates all the typical scenarios of menu item merging. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/MergeIndex/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStripMerge/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/MergeIndex/form1.vb" id="Snippet1"::: The following code example demonstrates a call to and some of its members. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripButton/Checked/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip1/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripButton/Checked/form1.vb" id="Snippet8"::: ]]> @@ -110,7 +110,7 @@ The following code example demonstrates a use of the method. This example is part of a larger example provided for the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet80"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet80"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet80"::: ]]> @@ -401,7 +401,7 @@ The following code example merges menu items based on specified choices. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/MergeIndex/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStripMerge/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/MergeIndex/form1.vb" id="Snippet4"::: ]]> @@ -445,7 +445,7 @@ The following code example demonstrates how to apply a custom professional renderer to an individual or to the application as a whole. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet70"::: ]]> @@ -507,7 +507,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripManager1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet603"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet603"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet603"::: ]]> @@ -550,7 +550,7 @@ The following code example demonstrates a use of the property. This example is part of a larger example provided for the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet80"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet80"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet80"::: ]]> @@ -658,7 +658,7 @@ The following code example undoes the merging of menu items. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/MergeIndex/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStripMerge/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/MergeIndex/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripMenuItem.xml b/xml/System.Windows.Forms/ToolStripMenuItem.xml index bbd8503f4e7..23c925995ee 100644 --- a/xml/System.Windows.Forms/ToolStripMenuItem.xml +++ b/xml/System.Windows.Forms/ToolStripMenuItem.xml @@ -56,7 +56,7 @@ The following code example adds a to the specified menu items of a . This code example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/MergeIndex/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStripMerge/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/MergeIndex/form1.vb" id="Snippet2"::: ]]> @@ -171,7 +171,7 @@ The following code example demonstrates a use of the constructor. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet12"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates a use of the constructor. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet12"::: ]]> @@ -353,7 +353,7 @@ The following code example demonstrates a use of the constructor. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet40"::: ]]> @@ -507,7 +507,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripMenuItem1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet495"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet495"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet495"::: ]]> @@ -665,7 +665,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripMenuItem1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet496"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet496"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet496"::: ]]> @@ -716,7 +716,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet2"::: ]]> @@ -1671,7 +1671,7 @@ The following example assigns the specified text to the . This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/MergeIndex/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ContextMenuStripMerge/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/MergeIndex/form1.vb" id="Snippet2"::: ]]> @@ -1724,7 +1724,7 @@ The following code example demonstrates how to use the property to assign the key combination CTRL+P to a menu item called `printToolStripMenuItem`. For the complete example, see [How to: Add Web Browser Capabilities to a Windows Forms Application](/dotnet/desktop/winforms/controls/how-to-add-web-browser-capabilities-to-a-windows-forms-application). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet100"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripOverflow.xml b/xml/System.Windows.Forms/ToolStripOverflow.xml index c63d9b65fff..3810b0dda80 100644 --- a/xml/System.Windows.Forms/ToolStripOverflow.xml +++ b/xml/System.Windows.Forms/ToolStripOverflow.xml @@ -125,7 +125,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripOverflowButton.xml b/xml/System.Windows.Forms/ToolStripOverflowButton.xml index 2667537e374..5b9bf50ae3a 100644 --- a/xml/System.Windows.Forms/ToolStripOverflowButton.xml +++ b/xml/System.Windows.Forms/ToolStripOverflowButton.xml @@ -86,7 +86,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/CPP/chartcontrol.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.AccessibleObject/VB/chartcontrol.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/AccessibleEvents/Overview/chartcontrol.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripPanel.xml b/xml/System.Windows.Forms/ToolStripPanel.xml index 65b05e69e23..75f3566e2db 100644 --- a/xml/System.Windows.Forms/ToolStripPanel.xml +++ b/xml/System.Windows.Forms/ToolStripPanel.xml @@ -77,7 +77,7 @@ The following code example demonstrates how to use controls with a multiple document interface (MDI). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet10"::: ]]> @@ -402,7 +402,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripPanel1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet606"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet606"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet606"::: ]]> @@ -708,7 +708,7 @@ The following code example demonstrates the use of the constructor. This example is part of a larger example available in the class overview. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContextMenuStrip/Overview/Program.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.Misc/VB/Program.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContextMenuStrip/Overview/Program.vb" id="Snippet11"::: ]]> @@ -1376,7 +1376,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripPanel1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet607"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet607"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet607"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripPanelRenderEventArgs.xml b/xml/System.Windows.Forms/ToolStripPanelRenderEventArgs.xml index 207fba847d8..e236cc81206 100644 --- a/xml/System.Windows.Forms/ToolStripPanelRenderEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripPanelRenderEventArgs.xml @@ -37,7 +37,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet585"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet585"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet585"::: ]]> @@ -121,7 +121,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet585"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet585"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet585"::: ]]> @@ -172,7 +172,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet585"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet585"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet585"::: ]]> @@ -218,7 +218,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet585"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet585"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet585"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripProfessionalRenderer.xml b/xml/System.Windows.Forms/ToolStripProfessionalRenderer.xml index 4bd380e4fea..3a11fadaeff 100644 --- a/xml/System.Windows.Forms/ToolStripProfessionalRenderer.xml +++ b/xml/System.Windows.Forms/ToolStripProfessionalRenderer.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to create a composite control that mimics the **Navigation Pane** provided by Microsoft® Outlook®. For a full code listing, see [How to: Create a Professionally Styled ToolStrip Control](/dotnet/desktop/winforms/controls/how-to-create-a-professionally-styled-toolstrip-control). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripProfessionalRenderer/Overview/StackView.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.StackView/VB/StackView.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripProfessionalRenderer/Overview/StackView.vb" id="Snippet10"::: ]]> @@ -83,7 +83,7 @@ The following code example demonstrates how to create an instance of a class derived from the class. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripProfessionalRenderer/Overview/StackView.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.StackView/VB/StackView.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripProfessionalRenderer/Overview/StackView.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripProgressBar.xml b/xml/System.Windows.Forms/ToolStripProgressBar.xml index 17f598e6235..373031b921e 100644 --- a/xml/System.Windows.Forms/ToolStripProgressBar.xml +++ b/xml/System.Windows.Forms/ToolStripProgressBar.xml @@ -57,7 +57,7 @@ The following code example demonstrates a that calculates a sequence of Fibonacci numbers. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/ReportProgress/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripProgressBar/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/ReportProgress/form1.vb" id="Snippet1"::: ]]> @@ -625,7 +625,7 @@ The following code example demonstrates a use of the property in a that calculates a sequence of Fibonacci numbers. This code example is part of a larger example that provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/ReportProgress/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripProgressBar/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/ReportProgress/form1.vb" id="Snippet2"::: ]]> @@ -678,7 +678,7 @@ The following code example demonstrates a use of the property in a that calculates a sequence of Fibonacci numbers. This code example is part of a larger example that provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/ReportProgress/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripProgressBar/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/ReportProgress/form1.vb" id="Snippet2"::: ]]> @@ -1010,7 +1010,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripProgressBar1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet608"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet608"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet608"::: ]]> @@ -1319,7 +1319,7 @@ The following code example demonstrates a use of the property in a that calculates a sequence of Fibonacci numbers. This code example is part of a larger example that provided for the class. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/BackgroundWorker/ReportProgress/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripProgressBar/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/BackgroundWorker/ReportProgress/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripRenderEventArgs.xml b/xml/System.Windows.Forms/ToolStripRenderEventArgs.xml index 26177f39ed8..f7ab0d3aeef 100644 --- a/xml/System.Windows.Forms/ToolStripRenderEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripRenderEventArgs.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to override the method to draw a custom border around a control. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet12"::: ]]> @@ -161,7 +161,7 @@ The following code example demonstrates how to override the method to draw a custom border around a control. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet12"::: ]]> @@ -205,7 +205,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet584"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet584"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet584"::: ]]> @@ -250,7 +250,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet584"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet584"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet584"::: ]]> @@ -294,7 +294,7 @@ The following code example demonstrates how to override the method to draw a custom border around a control. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet12"::: ]]> @@ -342,7 +342,7 @@ The following code example demonstrates how to override the method to paint a gradient in the background of a control. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet13"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripRenderer.xml b/xml/System.Windows.Forms/ToolStripRenderer.xml index 2634e04e3ae..54c1c9a3bc4 100644 --- a/xml/System.Windows.Forms/ToolStripRenderer.xml +++ b/xml/System.Windows.Forms/ToolStripRenderer.xml @@ -50,7 +50,7 @@ The following code example demonstrates how to implement a custom class. The `GridStripRenderer` class customizes three aspects of the `GridStrip` control's appearance: `GridStrip` border, border, and image. For a full code listing, see [How to: Implement a Custom ToolStripRenderer](/dotnet/desktop/winforms/controls/how-to-implement-a-custom-toolstriprenderer). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet10"::: ]]> @@ -971,7 +971,7 @@ The following code example demonstrates how to initialize individual controls. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet11"::: ]]> @@ -1145,7 +1145,7 @@ The following code example demonstrates how to override the method to draw a border around a control's . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet14"::: ]]> @@ -1760,7 +1760,7 @@ The following code example demonstrates how to override the method to paint a gradient in the background of a control. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet13"::: ]]> @@ -1812,7 +1812,7 @@ The following code example demonstrates how to override the method to draw a custom border around a control. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/LayoutSettings/Overview/GridStrip.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStrip.GridStrip/VB/GridStrip.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/LayoutSettings/Overview/GridStrip.vb" id="Snippet12"::: ]]> @@ -1989,7 +1989,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet583"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet583"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet583"::: ]]> @@ -2033,7 +2033,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet588"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet588"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet588"::: ]]> @@ -2077,7 +2077,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet589"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet589"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet589"::: ]]> @@ -2121,7 +2121,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet591"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet591"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet591"::: ]]> @@ -2165,7 +2165,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet596"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet596"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet596"::: ]]> @@ -2209,7 +2209,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet592"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet592"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet592"::: ]]> @@ -2253,7 +2253,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet594"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet594"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet594"::: ]]> @@ -2297,7 +2297,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet593"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet593"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet593"::: ]]> @@ -2341,7 +2341,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet595"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet595"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet595"::: ]]> @@ -2385,7 +2385,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet597"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet597"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet597"::: ]]> @@ -2429,7 +2429,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet598"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet598"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet598"::: ]]> @@ -2473,7 +2473,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet590"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet590"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet590"::: ]]> @@ -2517,7 +2517,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet602"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet602"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet602"::: ]]> @@ -2561,7 +2561,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet601"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet601"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet601"::: ]]> @@ -2605,7 +2605,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet600"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet600"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet600"::: ]]> @@ -2649,7 +2649,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet584"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet584"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet584"::: ]]> @@ -2693,7 +2693,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet587"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet587"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet587"::: ]]> @@ -2737,7 +2737,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet586"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet586"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet586"::: ]]> @@ -2781,7 +2781,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet585"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet585"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet585"::: ]]> @@ -2825,7 +2825,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet599"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet599"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet599"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripSeparatorRenderEventArgs.xml b/xml/System.Windows.Forms/ToolStripSeparatorRenderEventArgs.xml index b733f812114..681edd842c1 100644 --- a/xml/System.Windows.Forms/ToolStripSeparatorRenderEventArgs.xml +++ b/xml/System.Windows.Forms/ToolStripSeparatorRenderEventArgs.xml @@ -31,7 +31,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet602"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet602"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet602"::: ]]> @@ -116,7 +116,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `ToolStripRenderer1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet602"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet602"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet602"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripSplitButton.xml b/xml/System.Windows.Forms/ToolStripSplitButton.xml index 0969b6f86dc..7cae45cf9bf 100644 --- a/xml/System.Windows.Forms/ToolStripSplitButton.xml +++ b/xml/System.Windows.Forms/ToolStripSplitButton.xml @@ -407,7 +407,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripSplitButton1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet609"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet609"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet609"::: ]]> @@ -458,7 +458,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripSplitButton1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet610"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet610"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet610"::: ]]> @@ -724,7 +724,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripSplitButton1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet611"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet611"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet611"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripStatusLabel.xml b/xml/System.Windows.Forms/ToolStripStatusLabel.xml index c94e116c12d..2a82d119dde 100644 --- a/xml/System.Windows.Forms/ToolStripStatusLabel.xml +++ b/xml/System.Windows.Forms/ToolStripStatusLabel.xml @@ -55,7 +55,7 @@ The following code example demonstrates a with various common properties set. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripStatusLabel.CommonProps/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.vb" id="Snippet0"::: ]]> @@ -296,7 +296,7 @@ The following code example demonstrates the syntax for various common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripStatusLabel.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.vb" id="Snippet1"::: ]]> @@ -344,7 +344,7 @@ The following code example demonstrates the syntax for various common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripStatusLabel.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.vb" id="Snippet1"::: ]]> @@ -392,7 +392,7 @@ The following code example demonstrates the syntax for various common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripStatusLabel.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.vb" id="Snippet1"::: ]]> @@ -641,7 +641,7 @@ The following code example demonstrates the syntax for various common properties, including the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripStatusLabel.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripItem/RightToLeftAutoMirrorImage/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ToolStripTextBox.xml b/xml/System.Windows.Forms/ToolStripTextBox.xml index 3a1b7c3f522..5b7f4c43815 100644 --- a/xml/System.Windows.Forms/ToolStripTextBox.xml +++ b/xml/System.Windows.Forms/ToolStripTextBox.xml @@ -52,7 +52,7 @@ The following code example demonstrates a with various common property settings, including automatic completion options. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet0"::: ]]> @@ -200,7 +200,7 @@ The following code example demonstrates the syntax for setting various common property settings, including the property . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -250,7 +250,7 @@ The following code example demonstrates the syntax for setting various common property settings, including the property . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -302,7 +302,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet612"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet612"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet612"::: ]]> @@ -409,7 +409,7 @@ The following code example demonstrates the syntax for setting various common property settings, including the property . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -472,7 +472,7 @@ The following code example demonstrates the syntax for setting various common property settings, including the property . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -535,7 +535,7 @@ The following code example demonstrates the syntax for setting various common property settings, including the property . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -693,7 +693,7 @@ The following code example demonstrates the syntax for setting various common property settings, including the property . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -744,7 +744,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet613"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet613"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet613"::: ]]> @@ -844,7 +844,7 @@ The following code example demonstrates the syntax for setting various common property settings, including the property . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1456,7 +1456,7 @@ The following code example demonstrates the syntax for setting various common property settings, including the property . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1507,7 +1507,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet614"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet614"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet614"::: ]]> @@ -1613,7 +1613,7 @@ The following code example demonstrates the syntax for setting various common property settings, including the property . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1710,7 +1710,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet615"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet615"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet615"::: ]]> @@ -2274,7 +2274,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet616"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet616"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet616"::: ]]> @@ -2597,7 +2597,7 @@ The following code example demonstrates the syntax for setting various common property settings, including the property . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2688,7 +2688,7 @@ The following code example demonstrates the syntax for setting various common property settings, including the property . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripTextBox/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripTextBox.CommonProps/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripTextBox/Overview/form1.vb" id="Snippet1"::: ]]> @@ -2739,7 +2739,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolStripTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet617"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet617"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet617"::: ]]> diff --git a/xml/System.Windows.Forms/ToolTip.xml b/xml/System.Windows.Forms/ToolTip.xml index f281107b7aa..5d37c957578 100644 --- a/xml/System.Windows.Forms/ToolTip.xml +++ b/xml/System.Windows.Forms/ToolTip.xml @@ -80,7 +80,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolTip Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolTip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolTip Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolTip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -134,7 +134,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolTip Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolTip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolTip Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolTip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -338,7 +338,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolTip Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolTip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolTip Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolTip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -566,7 +566,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -837,7 +837,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolTip Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolTip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolTip Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolTip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -957,7 +957,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolTip.OwnerDraw/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawToolTipEventArgs/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1016,7 +1016,7 @@ To run the example code, paste it into a project that contains an instance of type named `ToolTip1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet619"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet619"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet619"::: ]]> @@ -1118,7 +1118,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolTip Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolTip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolTip Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolTip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1183,7 +1183,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolTip Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolTip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolTip Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolTip/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1640,7 +1640,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/ToolTip Example/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolTip/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ToolTip Example/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolTip/Overview/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TrackBar.xml b/xml/System.Windows.Forms/TrackBar.xml index 378d3898a5f..a4e18f0ff16 100644 --- a/xml/System.Windows.Forms/TrackBar.xml +++ b/xml/System.Windows.Forms/TrackBar.xml @@ -82,7 +82,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBar/Overview/source.vb" id="Snippet1"::: ]]> @@ -231,7 +231,7 @@ To run the example code, paste it into a project that contains an instance of type named `TrackBar1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet620"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet620"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet620"::: ]]> @@ -1104,7 +1104,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBar/Overview/source.vb" id="Snippet1"::: ]]> @@ -1164,7 +1164,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBar/Overview/source.vb" id="Snippet1"::: ]]> @@ -1223,7 +1223,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBarExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBar/Minimum/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBar/Minimum/form1.vb" id="Snippet1"::: ]]> @@ -1634,7 +1634,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Trackbar/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ISupportInitialize/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Trackbar/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ISupportInitialize/Overview/form1.vb" id="Snippet2"::: ]]> @@ -1866,7 +1866,7 @@ To run the example code, paste it into a project that contains an instance of type named `TrackBar1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet621"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet621"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet621"::: ]]> @@ -1911,13 +1911,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Trackbar/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/ISupportInitialize/Overview/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Trackbar/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/ISupportInitialize/Overview/form1.vb" id="Snippet3"::: The following code example displays a form that contains a control and a control. The example demonstrates setting the , , , and properties and handling the event. The contents are updated to the property value when the event occurs. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBar/Overview/source.vb" id="Snippet1"::: ]]> @@ -2058,7 +2058,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBar/Overview/source.vb" id="Snippet1"::: ]]> @@ -2207,7 +2207,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBar/Overview/source.vb" id="Snippet1"::: ]]> @@ -2262,7 +2262,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBarExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBar/Minimum/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBar/Minimum/form1.vb" id="Snippet1"::: ]]> @@ -2356,7 +2356,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBar/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBar/Overview/source.vb" id="Snippet1"::: ]]> @@ -2408,7 +2408,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBarExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBar/Minimum/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBar/Minimum/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TrackBarRenderer.xml b/xml/System.Windows.Forms/TrackBarRenderer.xml index 9c333e9714f..9e421dbc420 100644 --- a/xml/System.Windows.Forms/TrackBarRenderer.xml +++ b/xml/System.Windows.Forms/TrackBarRenderer.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/cpp/form1.cpp" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBarRenderer/Overview/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/VB/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBarRenderer/Overview/form1.vb" id="Snippet0"::: ]]> @@ -257,7 +257,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBarRenderer/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBarRenderer/Overview/form1.vb" id="Snippet4"::: ]]> @@ -419,7 +419,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBarRenderer/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBarRenderer/Overview/form1.vb" id="Snippet4"::: ]]> @@ -791,7 +791,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/cpp/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBarRenderer/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBarRenderer/Overview/form1.vb" id="Snippet2"::: ]]> @@ -845,7 +845,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/cpp/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TrackBarRenderer/Overview/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TrackBarRenderer/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TrackBarRenderer/Overview/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Windows.Forms/TreeNode.xml b/xml/System.Windows.Forms/TreeNode.xml index bc9dbab673b..2352a410a2e 100644 --- a/xml/System.Windows.Forms/TreeNode.xml +++ b/xml/System.Windows.Forms/TreeNode.xml @@ -75,7 +75,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView/CPP/treeview.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/treeview.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb" id="Snippet1"::: ]]> @@ -123,7 +123,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_Bounds/CPP/treenode_bounds.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Bounds/VB/treenode_bounds.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.vb" id="Snippet1"::: ]]> @@ -177,7 +177,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView/CPP/treeview.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/treeview.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb" id="Snippet1"::: ]]> @@ -264,7 +264,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_Bounds/CPP/treenode_bounds.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Bounds/VB/treenode_bounds.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.vb" id="Snippet1"::: ]]> @@ -316,7 +316,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_TreeNode/CPP/treenode_treenode.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/.ctor/treenode_treenode.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_TreeNode/VB/treenode_treenode.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_treenode.vb" id="Snippet1"::: ]]> @@ -377,7 +377,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_TreeNode/CPP/treenode_treenode.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/.ctor/treenode_treenode.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_TreeNode/VB/treenode_treenode.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_treenode.vb" id="Snippet1"::: ]]> @@ -424,7 +424,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_Checked/CPP/treenode_checked.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/BackColor/treenode_checked.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Checked/VB/treenode_checked.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/BackColor/treenode_checked.vb" id="Snippet1"::: ]]> @@ -528,7 +528,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_Bounds/CPP/treenode_bounds.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Bounds/VB/treenode_bounds.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.vb" id="Snippet2"::: ]]> @@ -579,7 +579,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_Checked/CPP/treenode_checked.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/BackColor/treenode_checked.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Checked/VB/treenode_checked.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/BackColor/treenode_checked.vb" id="Snippet1"::: ]]> @@ -631,7 +631,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_EnsureVisible_4/CPP/treenode_ensurevisible_4.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/Clone/treenode_ensurevisible_4.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_EnsureVisible_4/VB/treenode_ensurevisible_4.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/Clone/treenode_ensurevisible_4.vb" id="Snippet3"::: ]]> @@ -695,7 +695,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_EnsureVisible_4/CPP/treenode_ensurevisible_4.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/Clone/treenode_ensurevisible_4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_EnsureVisible_4/VB/treenode_ensurevisible_4.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/Clone/treenode_ensurevisible_4.vb" id="Snippet1"::: ]]> @@ -968,7 +968,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_EnsureVisible_4/CPP/treenode_ensurevisible_4.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/Clone/treenode_ensurevisible_4.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_EnsureVisible_4/VB/treenode_ensurevisible_4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/Clone/treenode_ensurevisible_4.vb" id="Snippet2"::: ]]> @@ -1019,7 +1019,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_EnsureVisible_4/CPP/treenode_ensurevisible_4.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/Clone/treenode_ensurevisible_4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_EnsureVisible_4/VB/treenode_ensurevisible_4.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/Clone/treenode_ensurevisible_4.vb" id="Snippet1"::: ]]> @@ -1071,7 +1071,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_ForeColor/CPP/treenode_forecolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_ForeColor/VB/treenode_forecolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.vb" id="Snippet1"::: ]]> @@ -1131,7 +1131,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_Parent/CPP/treenode_parent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/FirstNode/treenode_parent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Parent/VB/treenode_parent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/FirstNode/treenode_parent.vb" id="Snippet1"::: ]]> @@ -1176,7 +1176,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_Bounds/CPP/treenode_bounds.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Bounds/VB/treenode_bounds.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.vb" id="Snippet1"::: ]]> @@ -1229,7 +1229,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.TreeNode/CPP/treenode.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/FromHandle/treenode.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.TreeNode/VB/treenode.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/FromHandle/treenode.vb" id="Snippet3"::: ]]> @@ -1282,7 +1282,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_ForeColor/CPP/treenode_forecolor.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_ForeColor/VB/treenode_forecolor.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.vb" id="Snippet2"::: ]]> @@ -1329,7 +1329,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_ForeColor/CPP/treenode_forecolor.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_ForeColor/VB/treenode_forecolor.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.vb" id="Snippet2"::: ]]> @@ -1382,7 +1382,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.TreeNode/CPP/treenode.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/FromHandle/treenode.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.TreeNode/VB/treenode.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/FromHandle/treenode.vb" id="Snippet3"::: ]]> @@ -1464,7 +1464,7 @@ For example, consider a button control whose @@ -1584,7 +1584,7 @@ If you set the property, the @@ -1680,7 +1680,7 @@ If you set the property, the @@ -1729,7 +1729,7 @@ If you set the property, the @@ -1777,7 +1777,7 @@ If you set the property, the @@ -1835,7 +1835,7 @@ If you set the property, the @@ -1976,7 +1976,7 @@ If you set the property, the @@ -2035,7 +2035,7 @@ If you set the property, the @@ -2100,7 +2100,7 @@ If you set the property, the @@ -2157,7 +2157,7 @@ If you set the property, the @@ -2215,7 +2215,7 @@ If you set the property, the @@ -2271,7 +2271,7 @@ If you set the property, the @@ -2330,7 +2330,7 @@ If you set the property, the @@ -2383,7 +2383,7 @@ If you set the property, the @@ -2467,7 +2467,7 @@ For example, consider a button control whose @@ -2833,7 +2833,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_Bounds/CPP/treenode_bounds.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Bounds/VB/treenode_bounds.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.vb" id="Snippet1"::: ]]> @@ -2887,7 +2887,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_Bounds/CPP/treenode_bounds.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Bounds/VB/treenode_bounds.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_bounds.vb" id="Snippet1"::: ]]> @@ -2938,7 +2938,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Windows.Forms.TreeNode/CPP/treenode.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/FromHandle/treenode.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Windows.Forms.TreeNode/VB/treenode.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/FromHandle/treenode.vb" id="Snippet1"::: ]]> @@ -3005,7 +3005,7 @@ If you set the property, t The following code example demonstrates how to use the and properties. To run this example, paste the following code into a Windows Form and call `InitializeTreeViewWithToolTips` from the form's constructor or event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ToolTipText/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ToolTipText/Form1.vb" id="Snippet7"::: ]]> @@ -3087,7 +3087,7 @@ If you set the property, t :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_Parent/CPP/treenode_parent.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/FirstNode/treenode_parent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_Parent/VB/treenode_parent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/FirstNode/treenode_parent.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TreeNodeCollection.xml b/xml/System.Windows.Forms/TreeNodeCollection.xml index c166fa143ad..21b94d063b4 100644 --- a/xml/System.Windows.Forms/TreeNodeCollection.xml +++ b/xml/System.Windows.Forms/TreeNodeCollection.xml @@ -71,7 +71,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView/CPP/treeview.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/treeview.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb" id="Snippet1"::: ]]> @@ -141,7 +141,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView/CPP/treeview.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/treeview.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb" id="Snippet1"::: ]]> @@ -205,7 +205,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView/CPP/treeview.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/treeview.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb" id="Snippet1"::: ]]> @@ -514,7 +514,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection_Clear/CPP/treenodecollection_clear.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNodeCollection/AddRange/treenodecollection_clear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Clear/VB/treenodecollection_clear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/AddRange/treenodecollection_clear.vb" id="Snippet1"::: ]]> @@ -572,7 +572,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection_Clear/CPP/treenodecollection_clear.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNodeCollection/AddRange/treenodecollection_clear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Clear/VB/treenodecollection_clear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/AddRange/treenodecollection_clear.vb" id="Snippet1"::: ]]> @@ -629,7 +629,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection_Contains_GetEnumerator/CPP/treenodecollection_contains_getenumerator.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNodeCollection/Contains/treenodecollection_contains_getenumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Contains_GetEnumerator/VB/treenodecollection_contains_getenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/Contains/treenodecollection_contains_getenumerator.vb" id="Snippet1"::: ]]> @@ -720,7 +720,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection_Count_CopyTo/CPP/treenodecollection_count_copyto.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNodeCollection/CopyTo/treenodecollection_count_copyto.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Count_CopyTo/VB/treenodecollection_count_copyto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/CopyTo/treenodecollection_count_copyto.vb" id="Snippet1"::: ]]> @@ -781,7 +781,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection_Count_CopyTo/CPP/treenodecollection_count_copyto.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNodeCollection/CopyTo/treenodecollection_count_copyto.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Count_CopyTo/VB/treenodecollection_count_copyto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/CopyTo/treenodecollection_count_copyto.vb" id="Snippet1"::: ]]> @@ -870,7 +870,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection_Contains_GetEnumerator/CPP/treenodecollection_contains_getenumerator.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNodeCollection/Contains/treenodecollection_contains_getenumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Contains_GetEnumerator/VB/treenodecollection_contains_getenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/Contains/treenodecollection_contains_getenumerator.vb" id="Snippet1"::: ]]> @@ -924,7 +924,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection_Contains_GetEnumerator/CPP/treenodecollection_contains_getenumerator.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNodeCollection/Contains/treenodecollection_contains_getenumerator.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection_Contains_GetEnumerator/VB/treenodecollection_contains_getenumerator.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNodeCollection/Contains/treenodecollection_contains_getenumerator.vb" id="Snippet2"::: ]]> @@ -1085,7 +1085,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection/CPP/treenodecollection.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/Nodes/treenodecollection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection/VB/treenodecollection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/Nodes/treenodecollection.vb" id="Snippet1"::: ]]> @@ -1394,7 +1394,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection/CPP/treenodecollection.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/Nodes/treenodecollection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection/VB/treenodecollection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/Nodes/treenodecollection.vb" id="Snippet1"::: ]]> @@ -1457,7 +1457,7 @@ To assign objects to a specific location, o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection/CPP/treenodecollection.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/Nodes/treenodecollection.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection/VB/treenodecollection.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/Nodes/treenodecollection.vb" id="Snippet2"::: ]]> @@ -1558,7 +1558,7 @@ To assign objects to a specific location, o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection/CPP/treenodecollection.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/Nodes/treenodecollection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection/VB/treenodecollection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/Nodes/treenodecollection.vb" id="Snippet1"::: ]]> @@ -1617,7 +1617,7 @@ To assign objects to a specific location, o :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNodeCollection/CPP/treenodecollection.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/Nodes/treenodecollection.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNodeCollection/VB/treenodecollection.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/Nodes/treenodecollection.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/TreeNodeMouseClickEventArgs.xml b/xml/System.Windows.Forms/TreeNodeMouseClickEventArgs.xml index dd0fdb56cd0..962c1bd2f3a 100644 --- a/xml/System.Windows.Forms/TreeNodeMouseClickEventArgs.xml +++ b/xml/System.Windows.Forms/TreeNodeMouseClickEventArgs.xml @@ -36,7 +36,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/cpp/Form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ToolTipText/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ToolTipText/Form1.vb" id="Snippet5"::: ]]> @@ -119,7 +119,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/cpp/Form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ToolTipText/Form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ToolTipText/Form1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Windows.Forms/TreeNodeMouseHoverEventArgs.xml b/xml/System.Windows.Forms/TreeNodeMouseHoverEventArgs.xml index f272c4980e5..37e60daebc4 100644 --- a/xml/System.Windows.Forms/TreeNodeMouseHoverEventArgs.xml +++ b/xml/System.Windows.Forms/TreeNodeMouseHoverEventArgs.xml @@ -41,7 +41,7 @@ To run the example code, paste it into a project that contains an instance of type named `TreeView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet634"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet634"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet634"::: ]]> @@ -123,7 +123,7 @@ To run the example code, paste it into a project that contains an instance of type named `TreeView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet634"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet634"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet634"::: ]]> diff --git a/xml/System.Windows.Forms/TreeNodeStates.xml b/xml/System.Windows.Forms/TreeNodeStates.xml index bbbff43a9ed..71e6ee3272e 100644 --- a/xml/System.Windows.Forms/TreeNodeStates.xml +++ b/xml/System.Windows.Forms/TreeNodeStates.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewOwnerDraw/CPP/treeviewownerdraw.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/TreeView.xml b/xml/System.Windows.Forms/TreeView.xml index c2d83dc78e1..3c4611c1933 100644 --- a/xml/System.Windows.Forms/TreeView.xml +++ b/xml/System.Windows.Forms/TreeView.xml @@ -101,13 +101,13 @@ The following code example demonstrates the use of the control. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/Overview/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewMisc/vb/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/Overview/form1.vb" id="Snippet10"::: The following, more complex code example displays customer information in a control. The root tree nodes display customer names, and the child tree nodes display the order numbers assigned to each customer. In this example, 1,000 customers are displayed with 15 orders each. The repainting of the is suppressed by using the and methods, and a wait is displayed while the creates and paints the objects. This example requires that you have a `Customer` object that can hold a collection of `Order` objects. It also requires that you have a cursor file that is named `MyWait.cur` in the application directory and that you have created an instance of a control on a . :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView/CPP/treeview.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/treeview.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb" id="Snippet1"::: ]]> @@ -146,7 +146,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewShowCheckedNodes2/CPP/treeviewshowcheckednodes2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/.ctor/treeviewshowcheckednodes2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes2/VB/treeviewshowcheckednodes2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/.ctor/treeviewshowcheckednodes2.vb" id="Snippet1"::: ]]> @@ -194,7 +194,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView.AfterCheck_BeforeCheck/CPP/tn_checked.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/AfterCheck/tn_checked.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView.AfterCheck_BeforeCheck/VB/tn_checked.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/AfterCheck/tn_checked.vb" id="Snippet1"::: ]]> @@ -243,7 +243,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView.AfterCheck_BeforeCheck/CPP/tn_checked.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/AfterCheck/tn_checked.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView.AfterCheck_BeforeCheck/VB/tn_checked.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/AfterCheck/tn_checked.vb" id="Snippet1"::: ]]> @@ -292,7 +292,7 @@ To run the example code, paste it into a project that contains an instance of type named `TreeView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet631"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet631"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet631"::: ]]> @@ -390,7 +390,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewDialog/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewDialog/Overview/form1.vb" id="Snippet2"::: ]]> @@ -643,7 +643,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView.AfterCheck_BeforeCheck/CPP/tn_checked.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/AfterCheck/tn_checked.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView.AfterCheck_BeforeCheck/VB/tn_checked.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/AfterCheck/tn_checked.vb" id="Snippet1"::: ]]> @@ -696,7 +696,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewShowCheckedNodes2/CPP/treeviewshowcheckednodes2.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/.ctor/treeviewshowcheckednodes2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes2/VB/treeviewshowcheckednodes2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/.ctor/treeviewshowcheckednodes2.vb" id="Snippet2"::: ]]> @@ -748,7 +748,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/CPP/treeviewshowcheckednodes1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/VB/treeviewshowcheckednodes1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.vb" id="Snippet2"::: ]]> @@ -796,10 +796,10 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewDialog/Overview/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewDialog/Overview/form1.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/VB/form1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewDialog/Overview/form1.vb" id="Snippet2"::: ]]> @@ -848,7 +848,7 @@ To run the example code, paste it into a project that contains an instance of type named `TreeView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet635"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet635"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet635"::: ]]> @@ -898,7 +898,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView/CPP/treeview.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/treeview.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb" id="Snippet1"::: ]]> @@ -958,7 +958,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BorderStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BorderStyle/Overview/form1.vb" id="Snippet1"::: ]]> @@ -1019,7 +1019,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/CPP/treeviewshowcheckednodes1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/VB/treeviewshowcheckednodes1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.vb" id="Snippet1"::: ]]> @@ -1072,7 +1072,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/CPP/treeviewshowcheckednodes1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/VB/treeviewshowcheckednodes1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.vb" id="Snippet2"::: ]]> @@ -1342,7 +1342,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewOwnerDraw/CPP/treeviewownerdraw.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb" id="Snippet2"::: ]]> @@ -1408,7 +1408,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewOwnerDraw/CPP/treeviewownerdraw.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb" id="Snippet1"::: ]]> @@ -1459,7 +1459,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeView/CPP/treeview.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Cursor/Overview/treeview.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeView/VB/treeview.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Cursor/Overview/treeview.vb" id="Snippet1"::: ]]> @@ -1508,7 +1508,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_ForeColor/CPP/treenode_forecolor.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_ForeColor/VB/treenode_forecolor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.vb" id="Snippet1"::: ]]> @@ -1594,7 +1594,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewCustomization/CPP/treeviewcustomization.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewCustomization/VB/treeviewcustomization.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.vb" id="Snippet2"::: ]]> @@ -1791,7 +1791,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_ForeColor/CPP/treenode_forecolor.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_ForeColor/VB/treenode_forecolor.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.vb" id="Snippet2"::: ]]> @@ -1847,7 +1847,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewExample/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BorderStyle/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewExample/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BorderStyle/Overview/form1.vb" id="Snippet2"::: ]]> @@ -1946,7 +1946,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/cpp/Form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ToolTipText/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ToolTipText/Form1.vb" id="Snippet3"::: ]]> @@ -2003,7 +2003,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewCustomization/CPP/treeviewcustomization.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewCustomization/VB/treeviewcustomization.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.vb" id="Snippet2"::: ]]> @@ -2096,7 +2096,7 @@ If you set the property, the @@ -2229,7 +2229,7 @@ If you set the property, the @@ -2282,7 +2282,7 @@ If you set the property, the @@ -2373,7 +2373,7 @@ If you set the property, the @@ -2425,7 +2425,7 @@ If you set the property, the @@ -2530,7 +2530,7 @@ If you set the property, the @@ -2576,7 +2576,7 @@ If you set the property, the @@ -2623,7 +2623,7 @@ If you set the property, the @@ -2671,7 +2671,7 @@ If you set the property, the named `TreeView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet634"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet634"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet634"::: ]]> @@ -2734,7 +2734,7 @@ If you set the property, the @@ -4039,7 +4039,7 @@ If you set the property, the @@ -4135,7 +4135,7 @@ If you set the property, the named `TreeView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet639"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet639"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet639"::: ]]> @@ -4190,7 +4190,7 @@ If you set the property, the @@ -4278,7 +4278,7 @@ If you set the property :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_TreeNode/CPP/treenode_treenode.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/.ctor/treenode_treenode.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_TreeNode/VB/treenode_treenode.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/.ctor/treenode_treenode.vb" id="Snippet1"::: ]]> @@ -4414,7 +4414,7 @@ If you set the property :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeNode_ForeColor/CPP/treenode_forecolor.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeNode_ForeColor/VB/treenode_forecolor.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ExpandAll/treenode_forecolor.vb" id="Snippet2"::: ]]> @@ -4469,7 +4469,7 @@ If you set the property :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewCustomization/CPP/treeviewcustomization.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewCustomization/VB/treeviewcustomization.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.vb" id="Snippet2"::: ]]> @@ -4519,7 +4519,7 @@ If you set the property The following code example demonstrates how to use the and properties. To run this example, paste the following code into a Windows Form and call `InitializeTreeViewWithToolTips` from the form's constructor or event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ToolTipText/Form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ToolTipText/Form1.vb" id="Snippet7"::: ]]> @@ -4574,7 +4574,7 @@ If you set the property :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewCustomization/CPP/treeviewcustomization.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewCustomization/VB/treeviewcustomization.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.vb" id="Snippet2"::: ]]> @@ -4627,7 +4627,7 @@ If you set the property :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewExample/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BorderStyle/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewExample/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BorderStyle/Overview/form1.vb" id="Snippet1"::: ]]> @@ -4785,7 +4785,7 @@ If you set the property :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/cpp/Form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ToolTipText/Form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ToolTipText/Form1.vb" id="Snippet8"::: ]]> @@ -4942,10 +4942,10 @@ If you set the property :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewDialog/Overview/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewDialog/Overview/form1.vb" id="Snippet1"::: :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewDialog/Overview/form1.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/VB/form1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewDialog/Overview/form1.vb" id="Snippet2"::: ]]> @@ -5041,7 +5041,7 @@ If you set the property :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/cpp/Form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ToolTipText/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ToolTipText/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TreeViewAction.xml b/xml/System.Windows.Forms/TreeViewAction.xml index c209613bd81..fb321d369e1 100644 --- a/xml/System.Windows.Forms/TreeViewAction.xml +++ b/xml/System.Windows.Forms/TreeViewAction.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PrintPreviewDialog/Overview/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewAndPrintPreview/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PrintPreviewDialog/Overview/form1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/TreeViewCancelEventArgs.xml b/xml/System.Windows.Forms/TreeViewCancelEventArgs.xml index 52cf5a33cd2..b14a6e76036 100644 --- a/xml/System.Windows.Forms/TreeViewCancelEventArgs.xml +++ b/xml/System.Windows.Forms/TreeViewCancelEventArgs.xml @@ -46,7 +46,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/CPP/treeviewshowcheckednodes1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/VB/treeviewshowcheckednodes1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.vb" id="Snippet2"::: ]]> @@ -135,7 +135,7 @@ To run the example code, paste it into a project that contains an instance of type named `TreeView1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet626"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet626"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet626"::: ]]> @@ -187,7 +187,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/CPP/treeviewshowcheckednodes1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/VB/treeviewshowcheckednodes1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/TreeViewCancelEventHandler.xml b/xml/System.Windows.Forms/TreeViewCancelEventHandler.xml index 9332e808e22..761c46c0df3 100644 --- a/xml/System.Windows.Forms/TreeViewCancelEventHandler.xml +++ b/xml/System.Windows.Forms/TreeViewCancelEventHandler.xml @@ -54,7 +54,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/CPP/treeviewshowcheckednodes1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewShowCheckedNodes1/VB/treeviewshowcheckednodes1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/BeforeExpand/treeviewshowcheckednodes1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TreeViewDrawMode.xml b/xml/System.Windows.Forms/TreeViewDrawMode.xml index 3ad178dd83e..647addaad14 100644 --- a/xml/System.Windows.Forms/TreeViewDrawMode.xml +++ b/xml/System.Windows.Forms/TreeViewDrawMode.xml @@ -38,7 +38,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewOwnerDraw/CPP/treeviewownerdraw.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewOwnerDraw/VB/treeviewownerdraw.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/DrawTreeNodeEventArgs/Overview/treeviewownerdraw.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/TreeViewEventArgs.xml b/xml/System.Windows.Forms/TreeViewEventArgs.xml index e0ccf4c7676..1475e8c488a 100644 --- a/xml/System.Windows.Forms/TreeViewEventArgs.xml +++ b/xml/System.Windows.Forms/TreeViewEventArgs.xml @@ -44,7 +44,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewCustomization/CPP/treeviewcustomization.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewCustomization/VB/treeviewcustomization.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.vb" id="Snippet2"::: ]]> @@ -177,7 +177,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewCustomization/CPP/treeviewcustomization.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewCustomization/VB/treeviewcustomization.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.vb" id="Snippet2"::: ]]> @@ -227,7 +227,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/TreeViewCustomization/CPP/treeviewcustomization.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/TreeViewCustomization/VB/treeviewcustomization.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeView/FullRowSelect/treeviewcustomization.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Windows.Forms/TreeViewHitTestInfo.xml b/xml/System.Windows.Forms/TreeViewHitTestInfo.xml index 67b0e5a1841..f66d22c21f6 100644 --- a/xml/System.Windows.Forms/TreeViewHitTestInfo.xml +++ b/xml/System.Windows.Forms/TreeViewHitTestInfo.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to use the class. To run this example, paste the following code into a Windows Form that contains a control named `treeView1`, and populate the with items. Ensure that `treeview1` and the event for the form are associated with the `HandleMouseDown` method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/CancelAsync/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/CancelAsync/Form1.vb" id="Snippet1"::: ]]> @@ -128,7 +128,7 @@ The following code example demonstrates how to use the property. To run this example, paste the following code into a Windows Form that contains a control named `treeView1`, and populate the with items. Ensure that `treeview1` and the event for the form are associated with the `HandleMouseDown` method. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/CancelAsync/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/CancelAsync/Form1.vb" id="Snippet1"::: ]]> @@ -179,7 +179,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/cpp/Form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/TreeNode/ToolTipText/Form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewWhidbeyMembers/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/TreeNode/ToolTipText/Form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/TreeViewHitTestLocations.xml b/xml/System.Windows.Forms/TreeViewHitTestLocations.xml index 826ce82b212..e257c05e6c6 100644 --- a/xml/System.Windows.Forms/TreeViewHitTestLocations.xml +++ b/xml/System.Windows.Forms/TreeViewHitTestLocations.xml @@ -43,7 +43,7 @@ The following code example demonstrates how to use the enumeration. To run this example, paste the following code into a Windows Form that contains a control named `treeView1`, and populate the with items. Ensure that `treeview1` and the event for the form are associated with the `HandleMouseDown` method in this example. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/PictureBox/CancelAsync/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.TreeViewPictureBoxWhidbeyMembers/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/PictureBox/CancelAsync/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/TypeValidationEventArgs.xml b/xml/System.Windows.Forms/TypeValidationEventArgs.xml index d623c94bbbc..60ef0c87920 100644 --- a/xml/System.Windows.Forms/TypeValidationEventArgs.xml +++ b/xml/System.Windows.Forms/TypeValidationEventArgs.xml @@ -44,7 +44,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet488"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet488"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet488"::: ]]> @@ -158,7 +158,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet488"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet488"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet488"::: ]]> @@ -220,7 +220,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet488"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet488"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet488"::: ]]> @@ -276,7 +276,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet488"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet488"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet488"::: ]]> @@ -330,7 +330,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet488"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet488"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet488"::: ]]> @@ -385,7 +385,7 @@ To run the example code, paste it into a project that contains an instance of type named `MaskedTextBox1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet488"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet488"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet488"::: ]]> diff --git a/xml/System.Windows.Forms/UICuesEventArgs.xml b/xml/System.Windows.Forms/UICuesEventArgs.xml index e372211b098..f2ff7e625c8 100644 --- a/xml/System.Windows.Forms/UICuesEventArgs.xml +++ b/xml/System.Windows.Forms/UICuesEventArgs.xml @@ -41,7 +41,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet67"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet67"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet67"::: ]]> @@ -120,7 +120,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet67"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet67"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet67"::: ]]> @@ -163,7 +163,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet67"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet67"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet67"::: ]]> @@ -207,7 +207,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet67"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet67"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet67"::: ]]> @@ -251,7 +251,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet67"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet67"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet67"::: ]]> @@ -295,7 +295,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `Control1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet67"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet67"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet67"::: ]]> diff --git a/xml/System.Windows.Forms/UnhandledExceptionMode.xml b/xml/System.Windows.Forms/UnhandledExceptionMode.xml index 4543b605246..d4568b2a994 100644 --- a/xml/System.Windows.Forms/UnhandledExceptionMode.xml +++ b/xml/System.Windows.Forms/UnhandledExceptionMode.xml @@ -39,7 +39,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic Application.ThreadException Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic Application.ThreadException Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Application/SetUnhandledExceptionMode/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/UpDownBase.xml b/xml/System.Windows.Forms/UpDownBase.xml index 1afe2616be6..1684528c9b1 100644 --- a/xml/System.Windows.Forms/UpDownBase.xml +++ b/xml/System.Windows.Forms/UpDownBase.xml @@ -77,7 +77,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic UpDownBase Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/UpDownBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/UpDownBase/Overview/source.vb" id="Snippet1"::: ]]> @@ -363,7 +363,7 @@ To run the example code, paste it into a project that contains an instance of a type that inherits from , such as a or . Then name the instance `UpDownBase1` and ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet380"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet380"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet380"::: ]]> @@ -642,7 +642,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic UpDownBase Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/UpDownBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/UpDownBase/Overview/source.vb" id="Snippet1"::: ]]> @@ -1096,7 +1096,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic UpDownBase Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/UpDownBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/UpDownBase/Overview/source.vb" id="Snippet1"::: ]]> @@ -2072,7 +2072,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic UpDownBase.BorderStyle Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/UpDownBase/PreferredHeight/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase.BorderStyle Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/UpDownBase/PreferredHeight/source.vb" id="Snippet1"::: ]]> @@ -2128,7 +2128,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic UpDownBase Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/UpDownBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/UpDownBase/Overview/source.vb" id="Snippet1"::: ]]> @@ -2211,7 +2211,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic UpDownBase.Text Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/UpDownBase/Select/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase.Text Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/UpDownBase/Select/source.vb" id="Snippet1"::: ]]> @@ -2295,7 +2295,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic UpDownBase.Text Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/UpDownBase/Select/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase.Text Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/UpDownBase/Select/source.vb" id="Snippet1"::: ]]> @@ -2350,7 +2350,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic UpDownBase Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/UpDownBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/UpDownBase/Overview/source.vb" id="Snippet1"::: ]]> @@ -2475,7 +2475,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic UpDownBase Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/UpDownBase/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic UpDownBase Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/UpDownBase/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/UserControl.xml b/xml/System.Windows.Forms/UserControl.xml index 9a2596c2e2e..b4684209f9e 100644 --- a/xml/System.Windows.Forms/UserControl.xml +++ b/xml/System.Windows.Forms/UserControl.xml @@ -90,7 +90,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic UserControl Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/UserControl/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic UserControl Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/UserControl/Overview/source.vb" id="Snippet1"::: ]]> @@ -133,7 +133,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic UserControl.UserControl Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/UserControl/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic UserControl.UserControl Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/UserControl/.ctor/source.vb" id="Snippet1"::: ]]> @@ -357,7 +357,7 @@ To run the example code, paste it into a project that contains an instance of type named `UserControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet641"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet641"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet641"::: ]]> @@ -533,7 +533,7 @@ To run the example code, paste it into a project that contains an instance of type named `UserControl1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet642"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet642"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet642"::: ]]> diff --git a/xml/System.Windows.Forms/VScrollBar.xml b/xml/System.Windows.Forms/VScrollBar.xml index 9cb0ca78c11..e064bc62d62 100644 --- a/xml/System.Windows.Forms/VScrollBar.xml +++ b/xml/System.Windows.Forms/VScrollBar.xml @@ -52,7 +52,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/Classic VScrollBar Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ScrollBar/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/Classic VScrollBar Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ScrollBar/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/ValidationConstraints.xml b/xml/System.Windows.Forms/ValidationConstraints.xml index f7e3611969c..4d0398f1d96 100644 --- a/xml/System.Windows.Forms/ValidationConstraints.xml +++ b/xml/System.Windows.Forms/ValidationConstraints.xml @@ -43,7 +43,7 @@ The following code example will only cause the event to be raised for immediate children of the form whose property is `true`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ContainerControl/ValidateChildren/Form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/ValidateChildrenWithConstraints/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ContainerControl/ValidateChildren/Form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/View.xml b/xml/System.Windows.Forms/View.xml index d5d15d6687a..16af1ebd3c9 100644 --- a/xml/System.Windows.Forms/View.xml +++ b/xml/System.Windows.Forms/View.xml @@ -35,7 +35,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ListView/TopItem/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListViewItemStyle/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ListView/TopItem/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Windows.Forms/WebBrowser.xml b/xml/System.Windows.Forms/WebBrowser.xml index 3c21059a139..e0d69123538 100644 --- a/xml/System.Windows.Forms/WebBrowser.xml +++ b/xml/System.Windows.Forms/WebBrowser.xml @@ -103,7 +103,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet6"::: ]]> @@ -143,7 +143,7 @@ The following code example demonstrates the use of this member. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.vb" id="Snippet10"::: ]]> @@ -241,7 +241,7 @@ The following code example demonstrates how to use the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser.ObjectForScripting/vb/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/form1.vb" id="Snippet1"::: ]]> @@ -344,7 +344,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet7"::: ]]> @@ -401,7 +401,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet7"::: ]]> @@ -470,7 +470,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet8"::: ]]> @@ -527,7 +527,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet8"::: ]]> @@ -599,7 +599,7 @@ The following code example illustrates the use of this method in a class derived from that supplements the normal events with the `NavigateError` event from the OLE `DWebBrowserEvents2` interface. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/CreateSink/WB2.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserExtensibility/VB/WB2.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/CreateSink/WB2.vb" id="Snippet00"::: ]]> @@ -750,7 +750,7 @@ For the complete code example, see . :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/CreateSink/WB2.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserExtensibility/VB/WB2.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/CreateSink/WB2.vb" id="Snippet10"::: ]]> @@ -845,7 +845,7 @@ This example requires that your form contains a control called `webBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.vb" id="Snippet30"::: ]]> @@ -920,7 +920,7 @@ The following code example demonstrates the use of this event to print a document after it has fully loaded. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.vb" id="Snippet10"::: ]]> @@ -1052,7 +1052,7 @@ The following code example demonstrates how to use the property to programmatically display document content of your choosing. This example requires that your form contains a control called `webBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.vb" id="Snippet30"::: ]]> @@ -1121,7 +1121,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet15"::: ]]> @@ -1181,7 +1181,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet15"::: ]]> @@ -1340,7 +1340,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet647"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet647"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet647"::: ]]> @@ -1389,7 +1389,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet648"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet648"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet648"::: ]]> @@ -1471,7 +1471,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet7"::: ]]> @@ -1528,7 +1528,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet8"::: ]]> @@ -1579,7 +1579,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet11"::: ]]> @@ -1634,7 +1634,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet12"::: ]]> @@ -1799,7 +1799,7 @@ The following code example demonstrates how to use the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser.ObjectForScripting/vb/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/form1.vb" id="Snippet2"::: ]]> @@ -1917,7 +1917,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet6"::: ]]> @@ -2319,7 +2319,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet6"::: ]]> @@ -2401,7 +2401,7 @@ For a complete code example that you can paste the following code into, see [How to: Add Web Browser Capabilities to a Windows Forms Application](/dotnet/desktop/winforms/controls/how-to-add-web-browser-capabilities-to-a-windows-forms-application). :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.vb" id="Snippet30"::: ]]> @@ -2463,7 +2463,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet651"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet651"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet651"::: ]]> @@ -2529,7 +2529,7 @@ The following code example demonstrates how to use the property. In the example, the property is set to the current form. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/form1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser.ObjectForScripting/vb/form1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/form1.vb" id="Snippet0"::: ]]> @@ -3169,7 +3169,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet13"::: ]]> @@ -3218,7 +3218,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet652"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet652"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet652"::: ]]> @@ -3329,7 +3329,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet10"::: ]]> @@ -3433,7 +3433,7 @@ The following code example demonstrates how to suppress script errors without suppressing other dialog boxes. In the example, the property is set to `false` to ensure that dialog boxes are displayed. A handler for the event suppresses the error. This event is only accessible when a document is finished loading, so the handler is attached in a event handler. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.vb" id="Snippet40"::: ]]> @@ -3521,7 +3521,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet2"::: ]]> @@ -3565,7 +3565,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet3"::: ]]> @@ -3611,7 +3611,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet4"::: ]]> @@ -3655,7 +3655,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet5"::: ]]> @@ -3700,7 +3700,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet1"::: ]]> @@ -3761,7 +3761,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet14"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet14"::: ]]> @@ -3821,7 +3821,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet14"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet14"::: ]]> @@ -3868,7 +3868,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet9"::: ]]> @@ -3937,7 +3937,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/CPP/form1.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser/VB/form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/ToolStripMenuItem/ShortcutKeys/form1.vb" id="Snippet6"::: ]]> @@ -4044,7 +4044,7 @@ The following code example demonstrates how to use the property. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser.ObjectForScripting/vb/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/AllowWebBrowserDrop/form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Windows.Forms/WebBrowserDocumentCompletedEventArgs.xml b/xml/System.Windows.Forms/WebBrowserDocumentCompletedEventArgs.xml index e0827ef9946..2ee0129f220 100644 --- a/xml/System.Windows.Forms/WebBrowserDocumentCompletedEventArgs.xml +++ b/xml/System.Windows.Forms/WebBrowserDocumentCompletedEventArgs.xml @@ -42,7 +42,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet645"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet645"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet645"::: ]]> @@ -121,7 +121,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet645"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet645"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet645"::: ]]> diff --git a/xml/System.Windows.Forms/WebBrowserNavigatedEventArgs.xml b/xml/System.Windows.Forms/WebBrowserNavigatedEventArgs.xml index e20096db667..b05b09339c4 100644 --- a/xml/System.Windows.Forms/WebBrowserNavigatedEventArgs.xml +++ b/xml/System.Windows.Forms/WebBrowserNavigatedEventArgs.xml @@ -42,7 +42,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet649"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet649"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet649"::: ]]> @@ -121,7 +121,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet649"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet649"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet649"::: ]]> diff --git a/xml/System.Windows.Forms/WebBrowserNavigatingEventArgs.xml b/xml/System.Windows.Forms/WebBrowserNavigatingEventArgs.xml index 2c5761c42cd..65f9c4a0202 100644 --- a/xml/System.Windows.Forms/WebBrowserNavigatingEventArgs.xml +++ b/xml/System.Windows.Forms/WebBrowserNavigatingEventArgs.xml @@ -40,7 +40,7 @@ The following code example demonstrates how to use a handler for the event to cancel navigation when a Web page form has not been filled in. The property is used to determine whether the form input field contains a value. This example requires that your form contains a control called `webBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.vb" id="Snippet30"::: ]]> @@ -125,7 +125,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet650"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet650"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet650"::: ]]> @@ -166,7 +166,7 @@ The following code example demonstrates how to use a handler for the event to cancel navigation when a Web page form has not been filled in. The property is used to determine whether the form input field contains a value. This example requires that your form contains a control called `webBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.vb" id="Snippet30"::: ]]> diff --git a/xml/System.Windows.Forms/WebBrowserNavigatingEventHandler.xml b/xml/System.Windows.Forms/WebBrowserNavigatingEventHandler.xml index e84345c859b..f56edb9701d 100644 --- a/xml/System.Windows.Forms/WebBrowserNavigatingEventHandler.xml +++ b/xml/System.Windows.Forms/WebBrowserNavigatingEventHandler.xml @@ -50,7 +50,7 @@ The following code example demonstrates how to use a handler for the event to cancel navigation when a Web page form has not been filled in. The property is used to determine whether the form input field contains a value. This example requires that your form contains a control called `webBrowser1`. :::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/WebBrowser/.ctor/WebBrowserMisc.vb" id="Snippet30"::: ]]> diff --git a/xml/System.Windows.Forms/WebBrowserProgressChangedEventArgs.xml b/xml/System.Windows.Forms/WebBrowserProgressChangedEventArgs.xml index 5cf2252f504..928e3c34d7a 100644 --- a/xml/System.Windows.Forms/WebBrowserProgressChangedEventArgs.xml +++ b/xml/System.Windows.Forms/WebBrowserProgressChangedEventArgs.xml @@ -34,7 +34,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet652"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet652"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet652"::: ]]> @@ -125,7 +125,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet652"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet652"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet652"::: ]]> @@ -180,7 +180,7 @@ To run the example code, paste it into a project that contains an instance of type named `WebBrowser1`. Then ensure that the event handler is associated with the event. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet652"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.EventExamples/VB/EventExamples.vb" id="Snippet652"::: + :::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet652"::: ]]> diff --git a/xml/System.Xml.Serialization.Advanced/SchemaImporterExtension.xml b/xml/System.Xml.Serialization.Advanced/SchemaImporterExtension.xml index 9b1375d5f9e..d49f11895d2 100644 --- a/xml/System.Xml.Serialization.Advanced/SchemaImporterExtension.xml +++ b/xml/System.Xml.Serialization.Advanced/SchemaImporterExtension.xml @@ -174,7 +174,7 @@ The example below shows a simple implementation of the method. The code checks the namespace and name. When the right values are found, it adds the name of a custom assembly ("Order.dll") that must be referenced in the generated code. It then adds a new namespace ("Microsoft.Samples") that is generated in the code. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization.Advanced/SchemaImporterExtension/ImportSchemaType/SchemaImporterExtensionExample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SchemaImporterExtensionExample/VB/SchemaImporterExtensionExample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization.Advanced/SchemaImporterExtension/ImportSchemaType/SchemaImporterExtensionExample.vb" id="Snippet1"::: ]]> @@ -224,7 +224,7 @@ The example below shows a simple implementation of the method. The code checks the namespace and name. When the right values are found, it adds the name of a custom assembly ("Order.dll") that must be referenced in the generated code. It then adds a new namespace ("Microsoft.Samples") that is generated in the code. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization.Advanced/SchemaImporterExtension/ImportSchemaType/SchemaImporterExtensionExample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SchemaImporterExtensionExample/VB/SchemaImporterExtensionExample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization.Advanced/SchemaImporterExtension/ImportSchemaType/SchemaImporterExtensionExample.vb" id="Snippet1"::: ]]> @@ -281,7 +281,7 @@ The example below shows a simple implementation of the method. The code checks the namespace and name. When the right values are found, it adds the name of a custom assembly ("Order.dll") that must be referenced in the generated code. It then adds a new namespace ("Microsoft.Samples") that is generated in the code. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization.Advanced/SchemaImporterExtension/ImportSchemaType/SchemaImporterExtensionExample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SchemaImporterExtensionExample/VB/SchemaImporterExtensionExample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization.Advanced/SchemaImporterExtension/ImportSchemaType/SchemaImporterExtensionExample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/SoapAttributeAttribute.xml b/xml/System.Xml.Serialization/SoapAttributeAttribute.xml index 2371659a662..12d2bed59a6 100644 --- a/xml/System.Xml.Serialization/SoapAttributeAttribute.xml +++ b/xml/System.Xml.Serialization/SoapAttributeAttribute.xml @@ -74,7 +74,7 @@ The following example serializes a class that contains several fields to which a is applied. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributeAttribute/Overview/soapattribute.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttribute/VB/soapattribute.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributeAttribute/Overview/soapattribute.vb" id="Snippet1"::: ]]> @@ -145,7 +145,7 @@ The following example creates a new that is used to override the serialization of a field. After creating a and setting its properties, the object is set to the property of a . The is then added to a that is used to create an . :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributeAttribute/.ctor/soapattributeex2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttributeAttributeEx2/VB/soapattributeex2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributeAttribute/.ctor/soapattributeex2.vb" id="Snippet1"::: ]]> @@ -209,7 +209,7 @@ The following example serializes a class that contains several fields to which a is applied. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributeAttribute/Overview/soapattribute.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttribute/VB/soapattribute.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributeAttribute/Overview/soapattribute.vb" id="Snippet1"::: ]]> @@ -271,7 +271,7 @@ The following example serializes a class that contains several fields to which the is applied. The property is set for the `Today` field. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributeAttribute/Overview/soapattribute.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttribute/VB/soapattribute.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributeAttribute/Overview/soapattribute.vb" id="Snippet1"::: ]]> @@ -392,7 +392,7 @@ The following example serializes a class that contains several fields to which a is applied. The property is set for the `GroupNumber` and the `Today` fields. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributeAttribute/Overview/soapattribute.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttribute/VB/soapattribute.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributeAttribute/Overview/soapattribute.vb" id="Snippet1"::: ]]> @@ -466,7 +466,7 @@ The following example serializes a class that contains several fields to which a is applied. The property is set for the `GroupName` the field. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributeAttribute/Overview/soapattribute.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttribute/VB/soapattribute.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributeAttribute/Overview/soapattribute.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/SoapAttributeOverrides.xml b/xml/System.Xml.Serialization/SoapAttributeOverrides.xml index c593354fc2e..b7d7076ebfe 100644 --- a/xml/System.Xml.Serialization/SoapAttributeOverrides.xml +++ b/xml/System.Xml.Serialization/SoapAttributeOverrides.xml @@ -81,7 +81,7 @@ The following example serializes a class named `Group`. The serialization of the `GroupName` and `IgnoreThis` fields and the members of the `GroupType` enumeration are overridden. In the `CreateOverrideSerializer` method, a is created, and for each overridden member or enumeration, a is created with the appropriate property set and added to the . An is created using the , and that is used to create the that overrides the default serialization. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributeOverrides/Overview/soapover.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttributesOverrides/VB/SoapOver.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributeOverrides/Overview/SoapOver.vb" id="Snippet1"::: ]]> @@ -133,7 +133,7 @@ The following example serializes a class named `Group`. The serialization of the `GroupName` and `IgnoreThis` fields and the members of the `GroupType` enumeration are overridden. In the `CreateOverrideSerializer` method, a is created, and for each overridden member or enumeration, a is created with the appropriate property set and added to the . An is created using the , and that is used to create the that overrides the default serialization. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributeOverrides/Overview/soapover.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttributesOverrides/VB/SoapOver.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributeOverrides/Overview/SoapOver.vb" id="Snippet1"::: ]]> @@ -214,7 +214,7 @@ The following example serializes a class named `Group`. The serialization of the `GroupName` and `IgnoreThis` fields and the members of the `GroupType` enumeration are overridden. In the `CreateOverrideSerializer` method, a is created, and for each overridden member or enumeration, a is created with the appropriate property set and added to the . An is created using the , and that is used to create the that overrides the default serialization. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributeOverrides/Overview/soapover.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttributesOverrides/VB/SoapOver.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributeOverrides/Overview/SoapOver.vb" id="Snippet1"::: ]]> @@ -287,7 +287,7 @@ The following example serializes a class named `Group`. The serialization of the `GroupName` and `IgnoreThis` fields and the members of the `GroupType` enumeration are overridden. In the `CreateOverrideSerializer` method, a is created, and for each overridden member or enumeration, a is created with the appropriate property set and added to the . An is created using the , and that is used to create the that overrides the default serialization. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributeOverrides/Overview/soapover.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttributesOverrides/VB/SoapOver.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributeOverrides/Overview/SoapOver.vb" id="Snippet1"::: ]]> @@ -364,7 +364,7 @@ The following example creates a that is used to override the serialization of an instance of the `Group` class. The example also uses the property to retrieve the that is used to specify how the serialization is being overridden. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributeOverrides/Item/attadd2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttributeOverrides.Item property 2/VB/attadd2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributeOverrides/Item/attadd2.vb" id="Snippet1"::: ]]> @@ -435,7 +435,7 @@ The following example creates a used to override the serialization of an instance of the `Group` class. The example also uses the property to retrieve the that is used to specify how the serialization is being overridden. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributeOverrides/Item/attadd.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttributeOverrides.Item property 1/VB/attadd.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributeOverrides/Item/attadd.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/SoapAttributes.xml b/xml/System.Xml.Serialization/SoapAttributes.xml index a2ed22130e9..198e76edd30 100644 --- a/xml/System.Xml.Serialization/SoapAttributes.xml +++ b/xml/System.Xml.Serialization/SoapAttributes.xml @@ -65,7 +65,7 @@ The following example serializes a class named `Group`. The serialization of the `GroupName` and `IgnoreThis` fields and the members of the `GroupType` enumeration are overridden. In the `CreateOverrideSerializer` method, a is created, and for each overridden member or enumeration, a is created with the appropriate property set and added to the . An is created using the , and that is used to create the that overrides the default serialization. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributeOverrides/Overview/soapover.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttributesOverrides/VB/SoapOver.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributeOverrides/Overview/SoapOver.vb" id="Snippet1"::: ]]> @@ -136,7 +136,7 @@ The following example serializes a class named `Group`. The serialization of the `GroupName` and `IgnoreThis` fields and the members of the `GroupType` enumeration are overridden. In the `CreateOverrideSerializer` method, a is created, and for each overridden member or enumeration, a is created with the appropriate property set and added to the . An is created using the , and that is used to create the that overrides the default serialization. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributeOverrides/Overview/soapover.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttributesOverrides/VB/SoapOver.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributeOverrides/Overview/SoapOver.vb" id="Snippet1"::: ]]> @@ -249,7 +249,7 @@ The following example serializes a class named `Group`. The serialization of the `GroupName` and `IgnoreThis` fields and the members of the `GroupType` enumeration are overridden. In the `CreateOverrideSerializer` method, a is created, and for each overridden member or enumeration, a is created with the appropriate property set and added to the . An is created using the , and that is used to create the that overrides the default serialization. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributeOverrides/Overview/soapover.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttributesOverrides/VB/SoapOver.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributeOverrides/Overview/SoapOver.vb" id="Snippet1"::: ]]> @@ -319,7 +319,7 @@ The following example serializes a class named `Group` that includes a field named `GroupName`. The default value is set with the to ".NET". By either not setting the field, or by setting it to ".NET", the value is not serialized (because the default value is already known). The sample also overrides the default value in the `CreateOverrideSerializer` method, which is called by the `SerializeOverride` method. The example calls both methods, `SerializeOriginal` and `SerializeOverride`, and sets the same value (".NET") for the `GroupName` field. Because of the override, the value is serialized only when calling the `SerializeOverride` method. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributes/SoapDefaultValue/defvalue.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttribues.SoapDefaultValue/VB/defvalue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributes/SoapDefaultValue/defvalue.vb" id="Snippet1"::: ]]> @@ -391,7 +391,7 @@ The following example serializes a class named `Transportation`. The serialization of the `Vehicle` field is overridden. In the `CreateOverrideSerializer` method, a is created, and for each overridden member or enumeration, a is created with the appropriate property set and added to the . An is created using the , and that is used to create the that overrides the default serialization. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributes/SoapElement/soapelementoverrides.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapElementOverrides/VB/soapelementoverrides.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributes/SoapElement/soapelementoverrides.vb" id="Snippet1"::: ]]> @@ -463,7 +463,7 @@ The following example serializes two classes named `Food` and `FoodType`. The `FoodType` class contains two enumerations that are overridden, and for each enumeration, the example creates a that it assigns to the property of a . The example then adds the to a , which is used to create an . :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributes/SoapEnum/soapenumoverrides.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapEnumOverrides/VB/soapenumoverrides.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributes/SoapEnum/soapenumoverrides.vb" id="Snippet1"::: ]]> @@ -537,7 +537,7 @@ The following example serializes a class named `Group`. The serialization of the `GroupName` and `IgnoreThis` fields and the members of the `GroupType` enumeration are overridden. In the `CreateOverrideSerializer` method, a is created, and for each overridden member or enumeration, a is created with the appropriate property set and added to the . An is created using the , and that is used to create the that overrides the default serialization. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributeOverrides/Overview/soapover.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttributesOverrides/VB/SoapOver.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributeOverrides/Overview/SoapOver.vb" id="Snippet1"::: ]]> @@ -607,7 +607,7 @@ The following example serializes a class named `Group`. The serialization of the `GroupName` and `IgnoreThis` fields and the members of the `GroupType` enumeration are overridden. In the `CreateOverrideSerializer` method, a is created, and for each overridden member or enumeration, a is created with the appropriate property set and added to the . An is created using the , and that is used to create the that overrides the default serialization. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributeOverrides/Overview/soapover.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttributesOverrides/VB/SoapOver.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributeOverrides/Overview/SoapOver.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/SoapElementAttribute.xml b/xml/System.Xml.Serialization/SoapElementAttribute.xml index cb05d575bd6..510a8a05cae 100644 --- a/xml/System.Xml.Serialization/SoapElementAttribute.xml +++ b/xml/System.Xml.Serialization/SoapElementAttribute.xml @@ -71,7 +71,7 @@ The following example serializes an instance of a class named `Transportation` that contains a field named `Vehicle`. A is applied to the field. When the field is serialized, the XML element name is "Wheels" instead of "Vehicle". The `SerializeOverride` method creates a and sets the property of a to the . The is added to a that is used to create an . An is constructed with the , and an instance of the `Transportation` class is again serialized. Because the is used to override the serialization, the generated XML element name is now "Truck" instead of "Wheels". :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributes/SoapElement/soapelementoverrides.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapElementOverrides/VB/soapelementoverrides.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributes/SoapElement/soapelementoverrides.vb" id="Snippet1"::: ]]> @@ -134,7 +134,7 @@ The following example serializes an instance of a class named `Transportation` that contains a field named `Vehicle`. A is applied to the field. When the field is serialized, the XML element name is "Wheels" instead of "Vehicle". The `SerializeOverride` method creates a and sets the property of a to the . The is added to a that is used to create an . An is constructed with the , and an instance of the `Transportation` class is again serialized. Because the is used to override the serialization, the generated XML element name is now "Truck" instead of "Wheels". :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributes/SoapElement/soapelementoverrides.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapElementOverrides/VB/soapelementoverrides.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributes/SoapElement/soapelementoverrides.vb" id="Snippet1"::: ]]> @@ -192,7 +192,7 @@ The following example serializes an instance of a class named `Transportation` that contains a field named `Vehicle`. A is applied to the field. When the field is serialized, the XML element name is "Wheels" instead of "Vehicle". The `SerializeOverride` method creates a and sets the property of a to the . The is added to a that is used to create an . An is constructed with the , and an instance of the `Transportation` class is again serialized. Because the is used to override the serialization, the generated XML element name is now "Truck" instead of "Wheels". :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributes/SoapElement/soapelementoverrides.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapElementOverrides/VB/soapelementoverrides.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributes/SoapElement/soapelementoverrides.vb" id="Snippet1"::: ]]> @@ -313,7 +313,7 @@ The following example serializes an instance of a class named `Transportation` that contains a field named `Vehicle`. A is applied to the field. When the field is serialized, the XML element name is "Wheels" instead of "Vehicle". The `SerializeOverride` method creates a and sets the property of a to the . The is added to a that is used to create an . An is constructed with the , and an instance of the `Transportation` class is again serialized. Because the is used to override the serialization, the generated XML element name is now "Truck" instead of "Wheels". :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributes/SoapElement/soapelementoverrides.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapElementOverrides/VB/soapelementoverrides.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributes/SoapElement/soapelementoverrides.vb" id="Snippet1"::: ]]> @@ -370,7 +370,7 @@ The following example serializes an instance of a class named `Transportation` that contains a field named `Vehicle`. A is applied to the field. When the field is serialized, the XML element name is "Wheels" instead of "Vehicle". The `SerializeOverride` method creates a and sets the property of a to the . The is added to a that is used to create an . An is constructed with the , and an instance of the `Transportation` class is again serialized. Because the is used to override the serialization, the generated XML element name is now "Truck" instead of "Wheels". :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributes/SoapElement/soapelementoverrides.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapElementOverrides/VB/soapelementoverrides.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributes/SoapElement/soapelementoverrides.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/SoapEnumAttribute.xml b/xml/System.Xml.Serialization/SoapEnumAttribute.xml index 4e62bcefc71..d69c68bc645 100644 --- a/xml/System.Xml.Serialization/SoapEnumAttribute.xml +++ b/xml/System.Xml.Serialization/SoapEnumAttribute.xml @@ -78,7 +78,7 @@ The following example uses the to serialize a class named `Food` that includes an enumeration named `FoodType`. The `FoodType` enumeration is overridden by creating a for each enumeration and setting the property of a to the . The is added to a that is used to create an . :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributes/SoapEnum/soapenumoverrides.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapEnumOverrides/VB/soapenumoverrides.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributes/SoapEnum/soapenumoverrides.vb" id="Snippet1"::: ]]> @@ -149,7 +149,7 @@ The following example uses the to serialize a class named `Food` that includes an enumeration named `FoodType`. The `FoodType` enumeration is overridden by creating a for each enumeration and setting the property of a to the . The is added to a that is used to create an . :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributes/SoapEnum/soapenumoverrides.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapEnumOverrides/VB/soapenumoverrides.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributes/SoapEnum/soapenumoverrides.vb" id="Snippet1"::: ]]> @@ -214,7 +214,7 @@ The following example uses the to serialize a class named `Food` that includes an enumeration named `FoodType`. The `FoodType` enumeration is overridden by creating a for each enumeration and setting the property of a to the . The is added to a that is used to create an . :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributes/SoapEnum/soapenumoverrides.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapEnumOverrides/VB/soapenumoverrides.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributes/SoapEnum/soapenumoverrides.vb" id="Snippet1"::: ]]> @@ -279,7 +279,7 @@ The following example uses the to serialize a class named `Food` that includes an enumeration named `FoodType`. The `FoodType` enumeration is overridden by creating a for each enumeration and setting the property of a to the . The is added to a that is used to create an . :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributes/SoapEnum/soapenumoverrides.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapEnumOverrides/VB/soapenumoverrides.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributes/SoapEnum/soapenumoverrides.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/SoapIgnoreAttribute.xml b/xml/System.Xml.Serialization/SoapIgnoreAttribute.xml index b169ba0b6c9..c4421080995 100644 --- a/xml/System.Xml.Serialization/SoapIgnoreAttribute.xml +++ b/xml/System.Xml.Serialization/SoapIgnoreAttribute.xml @@ -70,7 +70,7 @@ The following example serializes a class named `Group`. The serialization of the `GroupName` and `IgnoreThis` fields and the members of the `GroupType` enumeration are overridden. In the `CreateOverrideSerializer` method, a is created, and for each overridden member or enumeration, a is created with the appropriate property set and added to the . An is created using the , and that is used to create the that overrides the default serialization. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributeOverrides/Overview/soapover.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttributesOverrides/VB/SoapOver.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributeOverrides/Overview/SoapOver.vb" id="Snippet1"::: ]]> @@ -123,7 +123,7 @@ The following example serializes a class named `Group`. The serialization of the `GroupName` and `IgnoreThis` fields and the members of the `GroupType` enumeration are overridden. In the `CreateOverrideSerializer` method, a is created, and for each overridden member or enumeration, a is created with the appropriate property set and added to the . An is created using the , and that is used to create the that overrides the default serialization. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributeOverrides/Overview/soapover.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttributesOverrides/VB/SoapOver.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributeOverrides/Overview/SoapOver.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/SoapReflectionImporter.xml b/xml/System.Xml.Serialization/SoapReflectionImporter.xml index 64661fd9b44..074968c6265 100644 --- a/xml/System.Xml.Serialization/SoapReflectionImporter.xml +++ b/xml/System.Xml.Serialization/SoapReflectionImporter.xml @@ -61,7 +61,7 @@ The following example serializes a class named `Group`. The serialization of the `GroupName` and `IgnoreThis` fields and the members of the `GroupType` enumeration are overridden. In the `CreateOverrideSerializer` method, a is created, and for each overridden member or enumeration, a is created with the appropriate property set and added to the . An is created using the , and that is used to create the that overrides the default serialization. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributeOverrides/Overview/soapover.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttributesOverrides/VB/SoapOver.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributeOverrides/Overview/SoapOver.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/SoapTypeAttribute.xml b/xml/System.Xml.Serialization/SoapTypeAttribute.xml index 628f3c51f6a..fb0af40cbcf 100644 --- a/xml/System.Xml.Serialization/SoapTypeAttribute.xml +++ b/xml/System.Xml.Serialization/SoapTypeAttribute.xml @@ -73,7 +73,7 @@ The following example serializes a class named `Group`. The is applied to the class, with the set to "SoapGroupType". The is also overridden, changing the to "Team". Both versions are serialized, resulting in two files: SoapType.xml and SoapType2.xml. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapTypeAttribute/Overview/soaptype.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapTypeAttribute Example/VB/soaptype.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapTypeAttribute/Overview/soaptype.vb" id="Snippet1"::: ]]> @@ -135,7 +135,7 @@ The following example serializes a class named `Group`. The is applied to the class with the set to "SoapGroupType". The is also overridden, changing the to "Team". Both versions are serialized, resulting in two files: SoapType.xml and SoapType2.xml. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapTypeAttribute/Overview/soaptype.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapTypeAttribute Example/VB/soaptype.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapTypeAttribute/Overview/soaptype.vb" id="Snippet1"::: ]]> @@ -192,7 +192,7 @@ The following example serializes a class named `Group`. The is applied to the class with the set to "SoapGroupType". The is also overridden, changing the to "Team". Both versions are serialized, resulting in two files: SoapType.xml and SoapType2.xml. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapTypeAttribute/Overview/soaptype.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapTypeAttribute Example/VB/soaptype.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapTypeAttribute/Overview/soaptype.vb" id="Snippet1"::: ]]> @@ -253,7 +253,7 @@ The following example serializes a class named `Group`. The is applied to the class with the set to "SoapGroupType". The is also overridden, changing the to "Team". Both versions are serialized, resulting in two files: SoapType.xml and SoapType2.xml. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapTypeAttribute/Overview/soaptype.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapTypeAttribute Example/VB/soaptype.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapTypeAttribute/Overview/soaptype.vb" id="Snippet1"::: ]]> @@ -320,7 +320,7 @@ The following example serializes a class named `Group`. The is applied to the class with the set to "SoapGroupType". The is also overridden, changing the to "Team". Both versions are serialized, resulting in two files: SoapType.xml and SoapType2.xml. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapTypeAttribute/Overview/soaptype.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapTypeAttribute Example/VB/soaptype.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapTypeAttribute/Overview/soaptype.vb" id="Snippet1"::: ]]> @@ -387,7 +387,7 @@ The following example serializes a class named `Group`. The is applied to the class with the set to "SoapGroupType". The is also overridden, changing the to "Team". Both versions are serialized, resulting in two files: SoapType.xml and SoapType2.xml. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapTypeAttribute/Overview/soaptype.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapTypeAttribute Example/VB/soaptype.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapTypeAttribute/Overview/soaptype.vb" id="Snippet1"::: ]]> @@ -453,7 +453,7 @@ The following example serializes a class named `Group`. The is applied to the class with the set to "SoapGroupType". The is also overridden, changing the to "Team". Both versions are serialized, resulting in two files: SoapType.xml and SoapType2.xml. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapTypeAttribute/Overview/soaptype.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapTypeAttribute Example/VB/soaptype.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapTypeAttribute/Overview/soaptype.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/UnreferencedObjectEventArgs.xml b/xml/System.Xml.Serialization/UnreferencedObjectEventArgs.xml index dce71fba80c..949858ac446 100644 --- a/xml/System.Xml.Serialization/UnreferencedObjectEventArgs.xml +++ b/xml/System.Xml.Serialization/UnreferencedObjectEventArgs.xml @@ -76,7 +76,7 @@ ``` :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/UnreferencedObjectEventArgs/Overview/unrefobj.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/UnreferencedObject Event Example/VB/unrefobj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/UnreferencedObjectEventArgs/Overview/unrefobj.vb" id="Snippet1"::: ]]> @@ -149,7 +149,7 @@ ``` :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/UnreferencedObjectEventArgs/Overview/unrefobj.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/UnreferencedObject Event Example/VB/unrefobj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/UnreferencedObjectEventArgs/Overview/unrefobj.vb" id="Snippet1"::: ]]> @@ -227,7 +227,7 @@ ``` :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/UnreferencedObjectEventArgs/Overview/unrefobj.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/UnreferencedObject Event Example/VB/unrefobj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/UnreferencedObjectEventArgs/Overview/unrefobj.vb" id="Snippet1"::: ]]> @@ -305,7 +305,7 @@ ``` :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/UnreferencedObjectEventArgs/Overview/unrefobj.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/UnreferencedObject Event Example/VB/unrefobj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/UnreferencedObjectEventArgs/Overview/unrefobj.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/UnreferencedObjectEventHandler.xml b/xml/System.Xml.Serialization/UnreferencedObjectEventHandler.xml index f05d8e09765..da2eba80264 100644 --- a/xml/System.Xml.Serialization/UnreferencedObjectEventHandler.xml +++ b/xml/System.Xml.Serialization/UnreferencedObjectEventHandler.xml @@ -86,7 +86,7 @@ ``` :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/UnreferencedObjectEventArgs/Overview/unrefobj.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/UnreferencedObject Event Example/VB/unrefobj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/UnreferencedObjectEventArgs/Overview/unrefobj.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlAnyAttributeAttribute.xml b/xml/System.Xml.Serialization/XmlAnyAttributeAttribute.xml index 5057e7ba332..56ba36097f0 100644 --- a/xml/System.Xml.Serialization/XmlAnyAttributeAttribute.xml +++ b/xml/System.Xml.Serialization/XmlAnyAttributeAttribute.xml @@ -102,7 +102,7 @@ GroupType = 'Technical' GroupNumber = '42' GroupBase = 'Red'> ``` :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAnyAttributeAttribute/Overview/anyattribute.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XmlAnyAttributeAttribute Example/VB/anyattribute.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAnyAttributeAttribute/Overview/anyattribute.vb" id="Snippet1"::: ]]> @@ -177,7 +177,7 @@ GroupType = 'Technical' GroupNumber = '42' GroupBase = 'Red'> ``` :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAnyAttributeAttribute/.ctor/anyattover.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XmlAnyAttributeAttribute_ctor Example/VB/anyattover.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAnyAttributeAttribute/.ctor/anyattover.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlAnyElementAttribute.xml b/xml/System.Xml.Serialization/XmlAnyElementAttribute.xml index 78bd53c8035..db6650cbb45 100644 --- a/xml/System.Xml.Serialization/XmlAnyElementAttribute.xml +++ b/xml/System.Xml.Serialization/XmlAnyElementAttribute.xml @@ -103,7 +103,7 @@ The following example applies the to a field named `AllElements` that returns an array of objects. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAnyElementAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAnyElementAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAnyElementAttribute/Overview/source.vb" id="Snippet1"::: ]]> @@ -354,7 +354,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAnyElementAttribute/Name/anyelement.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XmlAnyElementAttribute Example/VB/anyelement.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAnyElementAttribute/Name/anyelement.vb" id="Snippet1"::: ]]> @@ -425,7 +425,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAnyElementAttribute/Name/anyelement.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XmlAnyElementAttribute Example/VB/anyelement.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAnyElementAttribute/Name/anyelement.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlAnyElementAttributes.xml b/xml/System.Xml.Serialization/XmlAnyElementAttributes.xml index 36b2b3f3f9a..f91702d1bc4 100644 --- a/xml/System.Xml.Serialization/XmlAnyElementAttributes.xml +++ b/xml/System.Xml.Serialization/XmlAnyElementAttributes.xml @@ -102,7 +102,7 @@ The following example creates a new and adds it to the collection of objects accessed through the property. The is then added to a , which is used to create an . The is used to serialize or deserialize an object. To see the effect of using the property, create an XML document named UnknownElements.xml by running the `SerializeObject` method in the `Main` method. Edit the resulting document to include other (unknown) elements. Comment out the `SerializeObject` call in the `Main` method, and uncomment the call to the `DeserializeObject` method, which prints out the name and value of any unknown XML element. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAnyElementAttributes/Overview/xmlanyover.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XmlAttributes.XmlAnyElements/VB/xmlanyover.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAnyElementAttributes/Overview/xmlanyover.vb" id="Snippet1"::: ]]> @@ -209,7 +209,7 @@ The following example creates a new and adds it to the collection of objects accessed through the property. The is then added to an , which is used to create an . The is used to serialize or deserialize an object. To see the effect of using the property, create an XML document named UnknownElements.xml by running the `SerializeObject` method in the `Main` method. Edit the resulting document to include other (unknown) elements. Comment out the `SerializeObject` call in the `Main` method, and uncomment the call to the `DeserializeObject` method, which prints out the name and value of any unknown XML element. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAnyElementAttributes/Overview/xmlanyover.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XmlAttributes.XmlAnyElements/VB/xmlanyover.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAnyElementAttributes/Overview/xmlanyover.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlArrayAttribute.xml b/xml/System.Xml.Serialization/XmlArrayAttribute.xml index 845c874c165..dd40909f1c9 100644 --- a/xml/System.Xml.Serialization/XmlArrayAttribute.xml +++ b/xml/System.Xml.Serialization/XmlArrayAttribute.xml @@ -85,7 +85,7 @@ The following example serializes a class instance into an XML document that contains several object arrays. The is applied to the members that become XML element arrays. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlArrayAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlArrayAttribute/Overview/source.vb" id="Snippet1"::: ]]> @@ -160,7 +160,7 @@ The following example assigns the to two arrays. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlArrayAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayAttribute.XmlArrayAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlArrayAttribute/.ctor/source.vb" id="Snippet1"::: ]]> @@ -223,7 +223,7 @@ The following example assigns the to two arrays, and serializes a class instance that contains those arrays. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlArrayAttribute/.ctor/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayAttribute.XmlArrayAttribute1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlArrayAttribute/.ctor/source1.vb" id="Snippet1"::: :::code language="xml" source="~/snippets/common/VS_Snippets_Remoting/Classic XmlArrayAttribute.XmlArrayAttribute1 Example/Common/MyClass1.xml" id="Snippet1"::: ]]> @@ -298,7 +298,7 @@ The following example serializes an instance of the `Library` class that contains a property named `Books` that returns an array of `Book` items. The example uses the property to specify that the array of XML elements should be named `My_Books` rather than `Books`. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlArrayAttribute/ElementName/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayAttribute.ElementName Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlArrayAttribute/ElementName/source.vb" id="Snippet1"::: ]]> @@ -385,7 +385,7 @@ attributeFormDefault="unqualified"... > The following example serializes an instance of the `Enterprises` class. Two XML elements have the same local name (`Company`) but different prefixes. The example sets the property is set to `XmlForm.Qualified` to ensure that the qualified names occur in the XML instance. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlArrayAttribute/Form/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayAttribute.Form Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlArrayAttribute/Form/source.vb" id="Snippet1"::: ]]> @@ -471,7 +471,7 @@ attributeFormDefault="unqualified"... > The following example contains two arrays: one with the property set to `true`, and another with the property set to `false`. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlArrayAttribute/IsNullable/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayAttribute.IsNullable Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlArrayAttribute/IsNullable/source.vb" id="Snippet1"::: ]]> @@ -544,7 +544,7 @@ attributeFormDefault="unqualified"... > The following example serializes an instance of the `Library` class that contains two members, one that contain book titles, and another that contain periodical titles. Although both XML elements are named `Titles`, each contains a different prefix. The example also includes an instance of the class that contains the namespaces and prefixes used to qualify the two element names. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlArrayAttribute/Namespace/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayAttribute.Namespace Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlArrayAttribute/Namespace/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlArrayItemAttribute.xml b/xml/System.Xml.Serialization/XmlArrayItemAttribute.xml index c1805187430..7bf766ca69e 100644 --- a/xml/System.Xml.Serialization/XmlArrayItemAttribute.xml +++ b/xml/System.Xml.Serialization/XmlArrayItemAttribute.xml @@ -87,7 +87,7 @@ The following example serializes a class named `Group` that contains a field named `Employees` that returns an array of `Employee` objects. The example applies the to the field, thereby instructing the that it can insert objects of both the base class (`Employee`) type and derived class type (`Manager`) into the serialized array. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlArrayItemAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/Overview/source.vb" id="Snippet1"::: ]]> @@ -164,7 +164,7 @@ The following example serializes a class named `Transportation` that contains a field named `MyVehicles` that returns an array of `Vehicle` objects. The example applies the to the field, allowing the to insert instances of the `Car` class, which is derived from the `Vehicle` class, into the array. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlArrayItemAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.XmlArrayItemAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/.ctor/source.vb" id="Snippet1"::: ]]> @@ -235,7 +235,7 @@ The following example serializes a class named `Transportation` that contains a field named `MyVehicles` that returns an array of `Vehicle` objects. The example applies the to the field, allowing the to insert instances of the `Car` class, which is derived from the `Vehicle` class, into the array. While applying the attribute, the example sets the property using the `elementName` parameter. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlArrayItemAttribute/.ctor/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.XmlArrayItemAttribute1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/.ctor/source1.vb" id="Snippet1"::: ]]> @@ -297,7 +297,7 @@ The following example serializes a class named `Transportation` that contains a field named `MyVehicles` that returns an array of `Vehicle` objects. The example applies the to the field, allowing the to insert instances of the `Car` class, which is derived from the `Vehicle` class, into the array. While applying the attribute, the example sets the property using the `type` parameter. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlArrayItemAttribute/.ctor/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.XmlArrayItemAttribute2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -370,7 +370,7 @@ The following example serializes a class named `Transportation` that contains a field named `MyVehicles` that returns an array of `Vehicle` objects. The example applies the to the field, allowing the to insert instances of the `Car` class, which is derived from the `Vehicle` class, into the array. While applying the attribute, the example sets the property using the `elementName` parameter, and the property using the `type` parameter. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlArrayItemAttribute/.ctor/source3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.XmlArrayItemAttribute3 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/.ctor/source3.vb" id="Snippet1"::: ]]> @@ -499,7 +499,7 @@ The following example serializes a class named `PurchaseOrder`. Several instances of the class are applied to three members, and the property for each instance is set to a type allowed in the array. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlArrayItemAttribute/DataType/arrayitem.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XmlArrayItemAttribute Example/VB/arrayitem.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/DataType/arrayitem.vb" id="Snippet1"::: ]]> @@ -571,7 +571,7 @@ The following example sets the property for the `Vehicle` and `Car` class--thereby changing the names of XML elements that the generates for those classes. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlArrayItemAttribute/ElementName/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.ElementName Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/ElementName/source.vb" id="Snippet1"::: ]]> @@ -653,7 +653,7 @@ attributeFormDefault="unqualified"> The following example sets the property for the `Vehicle` class to `XmlSchemaForm.Unqualified`, and the property for the `Car` class to `XmlSchemaForm.Qualified`. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlArrayItemAttribute/Form/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.Form Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/Form/source.vb" id="Snippet1"::: ]]> @@ -732,7 +732,7 @@ attributeFormDefault="unqualified"> The following example serializes a class named `Group`, which contains a field named `Employees` that returns an array of `Employee` objects. A second class named `Manager` derives from `Employee`. An specifies that the can insert both `Employee` and `Manager` objects into the array. The example sets the property, thereby telling the not to generate the `xsi:nil` attribute objects in the array set to `null`. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlArrayItemAttribute/IsNullable/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.IsNullable Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/IsNullable/source.vb" id="Snippet1"::: ]]> @@ -805,7 +805,7 @@ attributeFormDefault="unqualified"> The following example applies an and sets the property. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlArrayItemAttribute/Namespace/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.Namespace Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/Namespace/source.vb" id="Snippet1"::: ]]> @@ -1008,7 +1008,7 @@ public class Arrays{ The following example serializes an array of objects. The field that returns the array is attributed with two instances. Each instance instructs the to accept the specified in the array. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlArrayItemAttribute/Type/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlArrayItemAttribute.Type Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlArrayItemAttribute/Type/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlAttributeAttribute.xml b/xml/System.Xml.Serialization/XmlAttributeAttribute.xml index 03c4ca3424b..6b82c09216e 100644 --- a/xml/System.Xml.Serialization/XmlAttributeAttribute.xml +++ b/xml/System.Xml.Serialization/XmlAttributeAttribute.xml @@ -113,7 +113,7 @@ The following example serializes a class that contains several fields to which the is applied. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributeAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributeAttribute/Overview/source.vb" id="Snippet1"::: ]]> @@ -180,7 +180,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributeAttribute/.ctor/xmlattributeattribute_ctr1_2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XMLAttributeAttribute_ctr1_2/VB/xmlattributeattribute_ctr1_2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributeAttribute/.ctor/xmlattributeattribute_ctr1_2.vb" id="Snippet1"::: ]]> @@ -243,7 +243,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributeAttribute/.ctor/xmlattributeattribute_ctr1_2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XMLAttributeAttribute_ctr1_2/VB/xmlattributeattribute_ctr1_2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributeAttribute/.ctor/xmlattributeattribute_ctr1_2.vb" id="Snippet2"::: ]]> @@ -428,7 +428,7 @@ The following example sets the property of an . :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributeAttribute/AttributeName/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeAttribute.AttributeName Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributeAttribute/AttributeName/source.vb" id="Snippet1"::: ]]> @@ -561,7 +561,7 @@ The following example applies the to two members, and sets the property set to different values. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributeAttribute/DataType/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeAttribute.DataType Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributeAttribute/DataType/source.vb" id="Snippet1"::: ]]> @@ -648,7 +648,7 @@ attributeFormDefault="unqualified"... > The following example applies the to two fields contained in a class. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributeAttribute/Form/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeAttribute.Form Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributeAttribute/Form/source.vb" id="Snippet1"::: ]]> @@ -724,7 +724,7 @@ attributeFormDefault="unqualified"... > The following example applies the to two fields contained in a class. The example sets the property for each attribute to a value different from the member identifier. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributeAttribute/Namespace/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeAttribute.Namespace Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributeAttribute/Namespace/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlAttributeEventArgs.xml b/xml/System.Xml.Serialization/XmlAttributeEventArgs.xml index 9f60d700c33..ca0e70b78a4 100644 --- a/xml/System.Xml.Serialization/XmlAttributeEventArgs.xml +++ b/xml/System.Xml.Serialization/XmlAttributeEventArgs.xml @@ -70,7 +70,7 @@ ``` :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributeEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.UnknownAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributeEventArgs/Overview/source.vb" id="Snippet1"::: ]]> @@ -135,7 +135,7 @@ ``` :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributeEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.UnknownAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributeEventArgs/Overview/source.vb" id="Snippet1"::: ]]> @@ -241,7 +241,7 @@ ``` :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributeEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.UnknownAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributeEventArgs/Overview/source.vb" id="Snippet1"::: ]]> @@ -305,7 +305,7 @@ ``` :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributeEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.UnknownAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributeEventArgs/Overview/source.vb" id="Snippet1"::: ]]> @@ -367,7 +367,7 @@ The following example prints the value returned by the method when the method encounters an unknown attribute. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributeEventArgs/ObjectBeingDeserialized/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeEventArgs.ObjectBeingDeserialized Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributeEventArgs/ObjectBeingDeserialized/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlAttributeEventHandler.xml b/xml/System.Xml.Serialization/XmlAttributeEventHandler.xml index f6f32f211c9..e30d1d542aa 100644 --- a/xml/System.Xml.Serialization/XmlAttributeEventHandler.xml +++ b/xml/System.Xml.Serialization/XmlAttributeEventHandler.xml @@ -80,7 +80,7 @@ ``` :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributeEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.UnknownAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributeEventArgs/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlAttributeOverrides.xml b/xml/System.Xml.Serialization/XmlAttributeOverrides.xml index c5386f35a2b..bbe8421728d 100644 --- a/xml/System.Xml.Serialization/XmlAttributeOverrides.xml +++ b/xml/System.Xml.Serialization/XmlAttributeOverrides.xml @@ -86,7 +86,7 @@ The following example serializes a class named `Orchestra`, which contains a single field named `Instruments` that returns an array of `Instrument` objects. A second class named `Brass` inherits from the `Instrument` class. The example uses an instance of the class to override the `Instrument` field, allowing the field to accept `Brass` objects. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributeOverrides/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeOverrides Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributeOverrides/Overview/source.vb" id="Snippet1"::: ]]> @@ -213,7 +213,7 @@ The following example serializes a class named `Band`, which is derived from a class named `Orchestra`. The example creates an object, and assigns it to the property of an object. The example then calls the method to add the object to the object. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributeOverrides/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeOverrides.Add Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributeOverrides/Add/source.vb" id="Snippet1"::: ]]> @@ -292,7 +292,7 @@ The following example creates an object, and assigns it to the property of an object. The example then adds the object to an object, before creating an . :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributeOverrides/Add/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeOverrides.Add1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributeOverrides/Add/source1.vb" id="Snippet1"::: ]]> @@ -377,7 +377,7 @@ The following example creates an object, an object, and an object. The example assigns the to the property of the object, and adds the object to the object. Lastly, the example gets the object by passing the of the serialized class to the object. In this example, the is `Group`. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributeOverrides/Item/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeOverrides.this Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributeOverrides/Item/source.vb" id="Snippet1"::: ]]> @@ -452,7 +452,7 @@ The following example creates an object, an , and an object. The example assigns the to the property of the object and adds the object to the object. Lastly, the example gets the object by passing the of the serialized class and member name to the object. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributeOverrides/Item/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributeOverrides.this1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributeOverrides/Item/source1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlAttributes.xml b/xml/System.Xml.Serialization/XmlAttributes.xml index edcc29756e1..bf6a940eea8 100644 --- a/xml/System.Xml.Serialization/XmlAttributes.xml +++ b/xml/System.Xml.Serialization/XmlAttributes.xml @@ -70,7 +70,7 @@ The following example serializes an instance of a class named `Orchestra`, which contains a single field named `Instruments` that returns an array of `Instrument` objects. A second class named `Brass` inherits from the `Instrument` class. The example creates an object to override the `Instrument` field--allowing the field to accept `Brass` objects--and adds the object to an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributes/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlAttributes Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/Overview/source.vb" id="Snippet1"::: ]]> @@ -138,7 +138,7 @@ The following example serializes an instance of a class named `Orchestra`, which contains a single field named `Instruments` that returns an array of `Instrument` objects. A second class named `Brass` inherits from the `Instrument` class. The example creates an object to override the `Instrument` field--allowing the field to accept `Brass` objects--and adds the object to an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributes/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlAttributes Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/Overview/source.vb" id="Snippet1"::: ]]> @@ -324,7 +324,7 @@ The following example creates a new object and adds it to the collection of objects accessed through the property. The object is then added to a object which is used to create an object. The is used to serialize or deserialize an object. To see the effect of using the property, create an XML document named "UnknownElements.xml" by running the `SerializeObject` method in the `Main` method. Edit the resulting document to include other (unknown) elements. Comment out the `SerializeObject` call in the `Main` method, and uncomment the call to the `DeserializeObject` method, which prints out the name and value of any unknown XML element. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAnyElementAttributes/Overview/xmlanyover.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XmlAttributes.XmlAnyElements/VB/xmlanyover.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAnyElementAttributes/Overview/xmlanyover.vb" id="Snippet1"::: ]]> @@ -402,7 +402,7 @@ The following example serializes a class that contains a field named `Members` that returns an array of objects. The is used to override the serialization of the field, and rename the element name to `Staff`. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributes/XmlArray/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlArray Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlArray/source.vb" id="Snippet1"::: ]]> @@ -470,7 +470,7 @@ The following example serializes a class that contains a field named `Members` that returns an array of objects. Two objects are created to allow the field to accept objects that derive from the base class named `Member`. Each object is added to the through the property. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributes/XmlArrayItems/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlArrayItems Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlArrayItems/source.vb" id="Snippet1"::: ]]> @@ -541,7 +541,7 @@ The following example serializes a class named `Group` that contains a property named `GroupName`; the `GroupName` property is serialized as an XML attribute. The example creates an and an object to override the default serialization of the field. The example then creates an to specifically override the property, and the object is set to the property The object is added to the object with the name of the overridden member specified. Finally, an is constructed and returned using the object. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributes/XmlAttribute/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlAttribute/source.vb" id="Snippet1"::: ]]> @@ -683,7 +683,7 @@ The following example shows a class named `Pet` that contains a field that has a default value set to "Dog". However, the example also creates an object, and sets its property to a new default value ("Cat"). This overrides the original default value. Thus, if the field value is set to "Cat", the treats it as the default value, and not serialize it. If it is set to any other value, the serializes the value. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributes/XmlDefaultValue/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlDefaultValue Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlDefaultValue/source.vb" id="Snippet1"::: ]]> @@ -751,7 +751,7 @@ The following example serializes the `Transportation` class, which contains a single field named `Vehicles` that returns an . The example applies two attributes to the `Vehicles` field. The example creates two objects and adds them to the collection of an object. To allow the array to accept different object types, the object is added to the object. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributes/XmlElements/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlElements Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlElements/source.vb" id="Snippet1"::: ]]> @@ -820,7 +820,7 @@ The following example serializes two classes named `Food` and `FoodType`. The `FoodType` class contains two enumerations that are overridden and, for each enumeration, the example creates an object that it assigns to the property of an object. The example then adds the object to an object, which is used to create an . :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributes/XmlEnum/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlEnum Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlEnum/source.vb" id="Snippet1"::: ]]> @@ -893,7 +893,7 @@ The following example serializes a class named `Group`, which contains a member named `Comment` to which the is applied. The example creates an object, and sets the property to `false`, thereby overriding the . :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributes/XmlIgnore/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlIgnore Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlIgnore/source.vb" id="Snippet1"::: ]]> @@ -960,7 +960,7 @@ The following example contains a class named `Student`. The class contains a member named `MyNamespaces` that returns an object. The example creates an object that is added to an instance of the class. The property is set to `true`, which instructs the to preserve the namespaces when the serialization of the `Student` object is overridden. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributes/Xmlns/xmlns.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XmlAttributes.Xmlns property example/VB/xmlns.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/Xmlns/xmlns.vb" id="Snippet1"::: ]]> @@ -1026,7 +1026,7 @@ The following example creates an object, an object, and an object. The example assigns the to the property of the object, and adds the object to the object. Lastly, the example gets the object by passing the of the serialized class to the object. (In this example, the is `Group`.) :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributes/XmlRoot/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlRoot Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlRoot/source.vb" id="Snippet1"::: ]]> @@ -1100,7 +1100,7 @@ The following example serializes the class named `Group`, which contains a field named `Comment`. To override the default way the serializes the field, the example creates an and an object. The example then creates an object, which it assigns to the property, and adds the object (with the name of the field to be serialized as XML text) to the object. Lastly the example creates an using the object. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributes/XmlText/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlText Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlText/source.vb" id="Snippet1"::: ]]> @@ -1169,7 +1169,7 @@ The following example creates an object, and assigns it to the property of an object. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributes/XmlType/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlAttributes.XmlType Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributes/XmlType/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlChoiceIdentifierAttribute.xml b/xml/System.Xml.Serialization/XmlChoiceIdentifierAttribute.xml index 3835a711151..d07bb5e29d1 100644 --- a/xml/System.Xml.Serialization/XmlChoiceIdentifierAttribute.xml +++ b/xml/System.Xml.Serialization/XmlChoiceIdentifierAttribute.xml @@ -165,7 +165,7 @@ public enum ItemsChoiceType { The following example serializes a class named `Choices` that includes two fields, `MyChoice` and `ManyChoices`. The is applied to each field that specifies (through the property) another class member that gets or sets an enumeration that detects the member value. The `MyChoice` field can be set to a single value, with a corresponding enumeration member found in the `EnumType` field. The `ManyChoices` field returns an array of objects. The `ChoiceArray` field returns an array of enumeration values. For each array member in the `ManyChoices` field, a corresponding member is found in the array returned by the `ChoiceArray` field. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlChoiceIdentifierAttribute/Overview/choice.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XmlChoiceIdentifierAttribute Example/VB/choice.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlChoiceIdentifierAttribute/Overview/choice.vb" id="Snippet1"::: ]]> @@ -238,7 +238,7 @@ public enum ItemsChoiceType { The following example serializes a class named `Choices` that includes two fields, `MyChoice` and `ManyChoices`. The is applied to each field that specifies (through the property) another class member that gets or sets an enumeration that detects the member value. The `MyChoice` field can be set to a single value, with a corresponding enumeration member found in the `EnumType` field. The `ManyChoices` field returns an array of objects. The `ChoiceArray` field returns an array of enumeration values. For each array member in the `ManyChoices` field, a corresponding member is found in the array returned by the `ChoiceArray` field. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlChoiceIdentifierAttribute/Overview/choice.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XmlChoiceIdentifierAttribute Example/VB/choice.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlChoiceIdentifierAttribute/Overview/choice.vb" id="Snippet1"::: ]]> @@ -356,7 +356,7 @@ public enum ItemsChoiceType { The following example serializes a class named `Choices` that includes two fields, `MyChoice` and `ManyChoices`. The is applied to each field that specifies (through the property) another class member that gets or sets an enumeration that detects the member value. The `MyChoice` field can be set to a single value, with a corresponding enumeration member found in the `EnumType` field. The `ManyChoices` field returns an array of objects. The `ChoiceArray` field returns an array of enumeration values. For each array member in the `ManyChoices` field, a corresponding member is found in the array returned by the `ChoiceArray` field. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlChoiceIdentifierAttribute/Overview/choice.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XmlChoiceIdentifierAttribute Example/VB/choice.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlChoiceIdentifierAttribute/Overview/choice.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlElementAttribute.xml b/xml/System.Xml.Serialization/XmlElementAttribute.xml index bc4693ae13b..68e6baf1fda 100644 --- a/xml/System.Xml.Serialization/XmlElementAttribute.xml +++ b/xml/System.Xml.Serialization/XmlElementAttribute.xml @@ -123,7 +123,7 @@ public class Things{ The following example serializes a class named `Group` and applies the to several of its members. The field named `Employees` returns an array of `Employee` objects. In this case, the specifies that the resulting XML will not be nested (which is the default behavior of items in an array). :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlElementAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/Overview/source.vb" id="Snippet1"::: ]]> @@ -198,7 +198,7 @@ public class Things{ The following example applies the to a class. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlElementAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.XmlElementAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/.ctor/source.vb" id="Snippet1"::: ]]> @@ -262,7 +262,7 @@ public class Things{ The following example shows a simple class that contains a single field named `Vehicles`. The example applies the to the field and includes the `elementName` parameter, thereby instructing the to generate XML elements named "Cars" rather than "Vehicles". :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlElementAttribute/.ctor/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.XmlElementAttribute1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/.ctor/source1.vb" id="Snippet1"::: ]]> @@ -326,7 +326,7 @@ public class Things{ The following example serializes a class named `Orchestra` that contains a single field named `Instruments`, which returns an array of `Instrument` objects. A second class named `Brass` inherits from the `Instrument` class. The example applies the to the `Instruments` field, and specifies the `Brass` type, allowing the `Instruments` field to accept `Brass` objects. The example also specifies the name of the XML element by setting the property. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlElementAttribute/.ctor/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.XmlElementAttribute2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -394,7 +394,7 @@ public class Things{ The following example serializes a class named `Orchestra` that contains a single field named `Instruments`, which returns an array of `Instrument` objects. A second class named `Brass` inherits from the `Instrument` class. The example applies the to the `Instruments` field, and specifies the `Brass` type, allowing the `Instruments` field to accept `Brass` objects. The example also specifies the name of the XML element by setting the property. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlElementAttribute/.ctor/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.XmlElementAttribute2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -526,7 +526,7 @@ public class Things{ The following example serializes a class named `Group` that contains a field named `ExtraInfo`, which returns an . The example applies two instances of the to the field and specifies different values for each instance. Each instance enables the to serialize the specified types inserted into the array. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlElementAttribute/DataType/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.DataType Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/DataType/source.vb" id="Snippet1"::: ]]> @@ -602,7 +602,7 @@ public class Things{ The following example sets the property of an to a new value. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlElementAttribute/ElementName/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.ElementName Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/ElementName/source.vb" id="Snippet1"::: ]]> @@ -688,7 +688,7 @@ attributeFormDefault="unqualified"... > The following example sets the property to `XmlSchemaForm.Unqualified`. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlElementAttribute/Form/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.Form Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/Form/source.vb" id="Snippet1"::: ]]> @@ -769,7 +769,7 @@ attributeFormDefault="unqualified"... > The following example shows a field with the applied to it, and the property set to `false`. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlElementAttribute/IsNullable/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.IsNullable Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/IsNullable/source.vb" id="Snippet1"::: ]]> @@ -976,7 +976,7 @@ attributeFormDefault="unqualified"... > The following example uses the property to specify a derived object for an . The example also applies three instances of the to a field that returns an . Each instance specifies a type allowed in the field. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlElementAttribute/Type/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttribute.Type Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlElementAttribute/Type/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlElementAttributes.xml b/xml/System.Xml.Serialization/XmlElementAttributes.xml index 17a9070436f..535b473bfd0 100644 --- a/xml/System.Xml.Serialization/XmlElementAttributes.xml +++ b/xml/System.Xml.Serialization/XmlElementAttributes.xml @@ -84,7 +84,7 @@ The following example serializes the `Transportation` class, which contains a single field named `Vehicles` that returns an . The example first applies two instances of the class to the `Vehicles` field that specifies the types of objects the inserts into the array. The example then creates two objects to override the behavior of the attributes applied to the `Vehicles` property. The two overriding objects are added to the collection of an . Lastly, the example adds the to an , allowing the to insert the new object types into the returned by the `Vehicles` field. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlElementAttributes/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttributes Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlElementAttributes/Overview/source.vb" id="Snippet1"::: ]]> @@ -197,7 +197,7 @@ The following example creates two objects and calls the method to add them to an . The example then adds the to an , which is used to create an that can serialize an instance of the `Transportation` class. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlElementAttributes/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlElementAttributes.Add Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlElementAttributes/Add/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlElementEventArgs.xml b/xml/System.Xml.Serialization/XmlElementEventArgs.xml index 1f0b5c8d75a..f869aed3a2e 100644 --- a/xml/System.Xml.Serialization/XmlElementEventArgs.xml +++ b/xml/System.Xml.Serialization/XmlElementEventArgs.xml @@ -73,7 +73,7 @@ ``` :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlElementEventArgs/Overview/unknownelement.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XmlSerializer.UnknownElement Example/VB/unknownelement.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlElementEventArgs/Overview/unknownelement.vb" id="Snippet1"::: ]]> @@ -140,7 +140,7 @@ ``` :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlElementEventArgs/Overview/unknownelement.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XmlSerializer.UnknownElement Example/VB/unknownelement.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlElementEventArgs/Overview/unknownelement.vb" id="Snippet1"::: ]]> @@ -252,7 +252,7 @@ ``` :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlElementEventArgs/Overview/unknownelement.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XmlSerializer.UnknownElement Example/VB/unknownelement.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlElementEventArgs/Overview/unknownelement.vb" id="Snippet1"::: ]]> @@ -319,7 +319,7 @@ ``` :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlElementEventArgs/Overview/unknownelement.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XmlSerializer.UnknownElement Example/VB/unknownelement.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlElementEventArgs/Overview/unknownelement.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlElementEventHandler.xml b/xml/System.Xml.Serialization/XmlElementEventHandler.xml index ea6a8dec8fe..1c2cf19a73f 100644 --- a/xml/System.Xml.Serialization/XmlElementEventHandler.xml +++ b/xml/System.Xml.Serialization/XmlElementEventHandler.xml @@ -83,7 +83,7 @@ ``` :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlElementEventArgs/Overview/unknownelement.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XmlSerializer.UnknownElement Example/VB/unknownelement.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlElementEventArgs/Overview/unknownelement.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlEnumAttribute.xml b/xml/System.Xml.Serialization/XmlEnumAttribute.xml index f72900459aa..2a943b2507b 100644 --- a/xml/System.Xml.Serialization/XmlEnumAttribute.xml +++ b/xml/System.Xml.Serialization/XmlEnumAttribute.xml @@ -91,7 +91,7 @@ The following example applies the to the members of an enumeration. When the generates XML data for this enumeration, the data conforms to the values of the properties. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlEnumAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlEnumAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlEnumAttribute/Overview/source.vb" id="Snippet1"::: > [!NOTE] > You can use the word `XmlEnum` in your code instead of the longer . @@ -182,7 +182,7 @@ The following example serializes two classes named `Food` and `FoodType`. The `FoodType` class contains two enumerations that are overridden and, for each enumeration, the example creates an object that is assigned to the property of an object. The example then adds the object to an object, which is used to create an . :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlEnumAttribute/.ctor/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlEnumAttribute.XmlEnumAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlEnumAttribute/.ctor/source1.vb" id="Snippet1"::: ]]> @@ -257,7 +257,7 @@ The following example applies the to the members of an enumeration. When the generates XML data for this enumeration, the data conforms to the values of the properties. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlEnumAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlEnumAttribute.Name Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlEnumAttribute/.ctor/source.vb" id="Snippet1"::: ]]> @@ -337,7 +337,7 @@ The following example applies the attribute to members of an enumeration. The generated XML data conforms to the values set for the property. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlEnumAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlEnumAttribute.Name Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlEnumAttribute/.ctor/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlIgnoreAttribute.xml b/xml/System.Xml.Serialization/XmlIgnoreAttribute.xml index 911fbe8bf18..825025dcd21 100644 --- a/xml/System.Xml.Serialization/XmlIgnoreAttribute.xml +++ b/xml/System.Xml.Serialization/XmlIgnoreAttribute.xml @@ -89,7 +89,7 @@ The following example shows a class named `Group`, which contains a field named `Comment`. The example assigns the to the field, thereby instructing the to ignore the field when serializing or deserializing an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlIgnoreAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlIgnoreAttribute.XmlIgnoreAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlIgnoreAttribute/Overview/source.vb" id="Snippet1"::: ]]> @@ -158,7 +158,7 @@ The following example shows a class named `Group`, which contains a field named `Comment`. The example assigns the to the field, thereby instructing the to ignore the field when serializing or deserializing an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlIgnoreAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlIgnoreAttribute.XmlIgnoreAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlIgnoreAttribute/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlIncludeAttribute.xml b/xml/System.Xml.Serialization/XmlIncludeAttribute.xml index dbed8356f55..39d3e233c0e 100644 --- a/xml/System.Xml.Serialization/XmlIncludeAttribute.xml +++ b/xml/System.Xml.Serialization/XmlIncludeAttribute.xml @@ -150,7 +150,7 @@ The following example shows three classes, two of which inherit from the third. The example applies the to a method that returns an instance of one of the two derived classes. The example sets the property to the type of the returned object. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlIncludeAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlIncludeAttribute.XmlIncludeAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlIncludeAttribute/.ctor/source.vb" id="Snippet1"::: ]]> @@ -216,7 +216,7 @@ The following example defines a class named `Group`, which contains a field named `Employees` that returns an array of `Employee` objects. The example derives the `Manager` class from the `Employee` class, and applies the to the `Employee` class. When the example creates a `Group` object, it inserts a `Manager` object into the `Employee` array. Lastly, the example serializes the `Group` object. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlIncludeAttribute/Type/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlIncludeAttribute.Type Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlIncludeAttribute/Type/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlNodeEventArgs.xml b/xml/System.Xml.Serialization/XmlNodeEventArgs.xml index 1165792d6d7..4cbc14db28d 100644 --- a/xml/System.Xml.Serialization/XmlNodeEventArgs.xml +++ b/xml/System.Xml.Serialization/XmlNodeEventArgs.xml @@ -63,7 +63,7 @@ The following example uses the event of the to print various properties of an unknown XML node that is encountered when calling the class's method. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlNodeEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.UnknownNode Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/Overview/source.vb" id="Snippet1"::: ]]> @@ -121,7 +121,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlNodeEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.UnknownNode Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/Overview/source.vb" id="Snippet1"::: ]]> @@ -176,7 +176,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlNodeEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.UnknownNode Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/Overview/source.vb" id="Snippet1"::: ]]> @@ -232,7 +232,7 @@ The following example prints the of an unknown XML node that is encountered when calling the class's method. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlNodeEventArgs/LocalName/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlNodeEventArgs.LocalName Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/LocalName/source.vb" id="Snippet1"::: ]]> @@ -285,7 +285,7 @@ The following example prints the name of the unknown node that caused the event to occur. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlNodeEventArgs/Name/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlNodeEventArgs.Name Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/Name/source.vb" id="Snippet1"::: ]]> @@ -338,7 +338,7 @@ The following example prints the URI of the unknown XML node that caused the event to occur. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlNodeEventArgs/NamespaceURI/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlNodeEventArgs.NamespaceURI Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/NamespaceURI/source.vb" id="Snippet1"::: ]]> @@ -396,7 +396,7 @@ The following example prints a description of the unknown node that caused the event to occur. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlNodeEventArgs/NodeType/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlNodeEventArgs.NodeType Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/NodeType/source.vb" id="Snippet1"::: ]]> @@ -460,7 +460,7 @@ The following example prints the value returned by the method when the method encounters an unknown XML node. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlNodeEventArgs/ObjectBeingDeserialized/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlNodeEventArgs.ObjectBeingDeserialized Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/ObjectBeingDeserialized/source.vb" id="Snippet1"::: ]]> @@ -520,7 +520,7 @@ The following example prints the text of the unknown XML node that caused the event to occur. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlNodeEventArgs/Text/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlNodeEventArgs.Text Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/Text/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlNodeEventHandler.xml b/xml/System.Xml.Serialization/XmlNodeEventHandler.xml index cbf78cafeea..7225a0b37ae 100644 --- a/xml/System.Xml.Serialization/XmlNodeEventHandler.xml +++ b/xml/System.Xml.Serialization/XmlNodeEventHandler.xml @@ -73,7 +73,7 @@ The following example creates an , adds an event handler for the event, and deserializes an object. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlNodeEventHandler/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlNodeEventHandler Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlNodeEventHandler/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlRootAttribute.xml b/xml/System.Xml.Serialization/XmlRootAttribute.xml index 25c84e93788..b4b508da8a7 100644 --- a/xml/System.Xml.Serialization/XmlRootAttribute.xml +++ b/xml/System.Xml.Serialization/XmlRootAttribute.xml @@ -93,7 +93,7 @@ The following example applies the to a class. The attribute specifies the element name, namespace, and whether the element is qualified, and whether the `xsi:nil` attribute is generated if the class is set to `null`. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlRootAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlRootAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlRootAttribute/Overview/source.vb" id="Snippet1"::: ]]> @@ -165,7 +165,7 @@ The following example creates an instance of an and assigns it to the property of an object. When the serializes the `MyClass` object, it uses the object to override the default root element. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlRootAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlRootAttribute.XmlRootAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlRootAttribute/.ctor/source.vb" id="Snippet1"::: ]]> @@ -225,7 +225,7 @@ The following example creates an instance of the XmlRootAttribute and uses it to override the serialization of an instance of a class named "Student". :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlRootAttribute/.ctor/xmlrootattribute_constructor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XMLRootAttribute_Constructor/VB/xmlrootattribute_constructor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlRootAttribute/.ctor/xmlrootattribute_constructor.vb" id="Snippet1"::: ]]> @@ -416,7 +416,7 @@ The following example creates an instance of the class and sets the property to a new value. The object is then used to create an object used to override the serialization of an object. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlRootAttribute/ElementName/xmlrootattribute_elementname.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XMLRootAttribute_ElementName/VB/xmlrootattribute_elementname.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlRootAttribute/ElementName/xmlrootattribute_elementname.vb" id="Snippet1"::: ]]> @@ -502,7 +502,7 @@ xmlns:xsd="http://www.w3.org/2001/XMLSchema" /> The following example serializes a class named `Group`. The example applies the to the class, and sets the property to `false`. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlRootAttribute/IsNullable/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlRootAttribute.IsNullable Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlRootAttribute/IsNullable/source.vb" id="Snippet1"::: ]]> @@ -582,7 +582,7 @@ xmlns:xsd="http://www.w3.org/2001/XMLSchema" /> The following example applies the to a class and sets the property. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlRootAttribute/Namespace/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlRootAttribute.Namespace Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlRootAttribute/Namespace/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlSchemaProviderAttribute.xml b/xml/System.Xml.Serialization/XmlSchemaProviderAttribute.xml index 98b37b989eb..32619ea7d3e 100644 --- a/xml/System.Xml.Serialization/XmlSchemaProviderAttribute.xml +++ b/xml/System.Xml.Serialization/XmlSchemaProviderAttribute.xml @@ -93,7 +93,7 @@ The following example applies the to a server-side class. When invoked, the method named by the property creates the schema. This simple implementation reads an existing schema off the disk. However, you can also create a custom schema, if necessary, using the types found in the namespace. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSchemaProviderAttribute/Overview/SerializationChunk.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/HowToChunkSerializedData/VB/SerializationChunk.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSchemaProviderAttribute/Overview/SerializationChunk.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlSerializer.xml b/xml/System.Xml.Serialization/XmlSerializer.xml index 7336051a080..d21c926e0e3 100644 --- a/xml/System.Xml.Serialization/XmlSerializer.xml +++ b/xml/System.Xml.Serialization/XmlSerializer.xml @@ -63,7 +63,7 @@ The following example contains two main classes: `PurchaseOrder` and `Test`. The `PurchaseOrder` class contains information about a single purchase. The `Test` class contains the methods that create the purchase order, and that read the created purchase order. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSerializer/Overview/source.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer Example/VB/source.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Overview/source.vb" id="Snippet1"::: ]]> This type is thread safe. @@ -199,7 +199,7 @@ The following example contains two main classes: `PurchaseOrder` and `Test`. The The following example constructs an that serializes an object named `Widget`. The example sets various properties of the object before calling the method. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSerializer/.ctor/source5.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.XmlSerializer6 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/.ctor/source5.vb" id="Snippet1"::: ]]> @@ -276,7 +276,7 @@ The following example contains two main classes: `PurchaseOrder` and `Test`. The The following example serializes a class named `Group`. The serialization of the `GroupName`, `IgnoreThis` fields, and the members of the `GroupType` enumeration are overridden. In the `CreateOverrideSerializer` method, a object is created, and for each overridden member or enumeration, a object is created with the appropriate property set and added to the object. An object is created using the object, and that object is used to create the that overrides the default serialization. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributeOverrides/Overview/soapover.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapAttributesOverrides/VB/SoapOver.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributeOverrides/Overview/SoapOver.vb" id="Snippet1"::: ]]> @@ -357,7 +357,7 @@ The following example contains two main classes: `PurchaseOrder` and `Test`. The The following example constructs an that serializes an object named `Widget`. The example sets various properties of the object before calling the method. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSerializer/.ctor/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.XmlSerializer1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/.ctor/source1.vb" id="Snippet1"::: ]]> @@ -449,7 +449,7 @@ The following example contains two main classes: `PurchaseOrder` and `Test`. The The following example serializes an instance of a class that contains a public field that returns an array of objects. The `extraTypes` parameter of the constructor specifies the types of the objects that can be serialized in the array. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSerializer/.ctor/source3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.XmlSerializer3 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/.ctor/source3.vb" id="Snippet1"::: ]]> @@ -535,7 +535,7 @@ The following example contains two main classes: `PurchaseOrder` and `Test`. The The following example serializes an instance of a class that is defined in a DLL and to do so, overrides the public members found in the DLL. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSerializer/.ctor/source4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.XmlSerializer4 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/.ctor/source4.vb" id="Snippet1"::: ]]> @@ -622,7 +622,7 @@ The following example contains two main classes: `PurchaseOrder` and `Test`. The The following example constructs an that uses an that contains various properties of the XML root element, such as its namespace and element name. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSerializer/.ctor/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.XmlSerializer2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -729,7 +729,7 @@ The following example contains two main classes: `PurchaseOrder` and `Test`. The The following example serializes an instance of a class that is defined in a DLL and to do so, overrides the public members found in the class. The example also specifies an array of extra types, the default namespace for all XML elements, and the class to use that provides the XML root element information. The example assumes that the code at the beginning has been compiled into a DLL named `HighSchool`. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSerializer/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.XmlSerializer Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/.ctor/source.vb" id="Snippet1"::: ]]> @@ -934,7 +934,7 @@ The following example contains two main classes: `PurchaseOrder` and `Test`. The The following example calls the method to check whether an XML document can be deserialized. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSerializer/CanDeserialize/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.CanDeserialize Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/CanDeserialize/source.vb" id="Snippet1"::: ]]> @@ -1127,7 +1127,7 @@ The following example contains two main classes: `PurchaseOrder` and `Test`. The The following example deserializes an object using a object. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSerializer/Deserialize/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Deserialize Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Deserialize/source.vb" id="Snippet1"::: :::code language="xml" source="~/snippets/common/VS_Snippets_Remoting/Classic XmlSerializer.Deserialize Example/Common/simple.xml" id="Snippet1"::: ]]> @@ -1221,7 +1221,7 @@ The following example contains two main classes: `PurchaseOrder` and `Test`. The The following example deserializes an object using a object. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSerializer/Deserialize/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Deserialize1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Deserialize/source1.vb" id="Snippet1"::: ]]> @@ -1365,7 +1365,7 @@ The following example contains two main classes: `PurchaseOrder` and `Test`. The The following example deserializes an object using an . :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSerializer/Deserialize/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Deserialize2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Deserialize/source2.vb" id="Snippet1"::: :::code language="xml" source="~/snippets/common/VS_Snippets_Remoting/Classic XmlSerializer.Deserialize2 Example/Common/simple.xml" id="Snippet1"::: ]]> @@ -1905,7 +1905,7 @@ The following example contains two main classes: `PurchaseOrder` and `Test`. The The following example uses the method to return an array of objects. The code includes three class definitions that are each used to create an array of objects. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSerializer/FromTypes/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.FromTypes Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/FromTypes/source.vb" id="Snippet1"::: ]]> @@ -2260,7 +2260,7 @@ The following example contains two main classes: `PurchaseOrder` and `Test`. The The following example serializes an object using a object. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSerializer/Serialize/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Serialize2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Serialize/source2.vb" id="Snippet1"::: :::code language="xml" source="~/snippets/common/VS_Snippets_Remoting/Classic XmlSerializer.Serialize2 Example/Common/simple.xml" id="Snippet1"::: ]]> @@ -2367,7 +2367,7 @@ The following example contains two main classes: `PurchaseOrder` and `Test`. The The following example serializes an object using a . :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSerializer/Serialize/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Serialize Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Serialize/source.vb" id="Snippet1"::: :::code language="xml" source="~/snippets/common/VS_Snippets_Remoting/Classic XmlSerializer.Serialize Example/Common/simple.xml" id="Snippet1"::: ]]> @@ -2524,7 +2524,7 @@ The following example contains two main classes: `PurchaseOrder` and `Test`. The The following example serializes an object using an . :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSerializer/Serialize/source4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Serialize4 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Serialize/source4.vb" id="Snippet1"::: :::code language="xml" source="~/snippets/common/VS_Snippets_Remoting/Classic XmlSerializer.Serialize4 Example/Common/simple.xml" id="Snippet1"::: ]]> @@ -2633,7 +2633,7 @@ The following example contains two main classes: `PurchaseOrder` and `Test`. The The following example serializes an object with a object. The example also creates an and adds two namespaces to the object. The class that defines the serialized object is also attributed with attributes to specify the namespace for each element. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSerializer/Serialize/source3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Serialize3 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Serialize/source3.vb" id="Snippet1"::: ]]> @@ -2733,7 +2733,7 @@ The following example contains two main classes: `PurchaseOrder` and `Test`. The The following example serializes an object with a . The example also creates an object and adds two namespaces to the object. The class that defines the serialized object is also attributed with attributes to specify the namespace for each element. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSerializer/Serialize/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Serialize1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Serialize/source1.vb" id="Snippet1"::: :::code language="xml" source="~/snippets/common/VS_Snippets_Remoting/Classic XmlSerializer.Serialize1 Example/Common/simple.xml" id="Snippet1"::: ]]> @@ -2833,7 +2833,7 @@ The following example contains two main classes: `PurchaseOrder` and `Test`. The The following example serializes an object with an . The example also creates an and adds two namespaces to the object. Several instances of the class are applied to the class members to specify the namespace for each element. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSerializer/Serialize/source5.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.Serialize5 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSerializer/Serialize/source5.vb" id="Snippet1"::: :::code language="xml" source="~/snippets/common/VS_Snippets_Remoting/Classic XmlSerializer.Serialize5 Example/Common/simple.xml" id="Snippet1"::: ]]> @@ -3077,7 +3077,7 @@ The following example contains two main classes: `PurchaseOrder` and `Test`. The The following example prints information about any unknown attributes encountered while deserializing an XML document. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlAttributeEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.UnknownAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlAttributeEventArgs/Overview/source.vb" id="Snippet1"::: ]]> @@ -3158,7 +3158,7 @@ The following example contains two main classes: `PurchaseOrder` and `Test`. The ``` :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlElementEventArgs/Overview/unknownelement.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XmlSerializer.UnknownElement Example/VB/unknownelement.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlElementEventArgs/Overview/unknownelement.vb" id="Snippet1"::: ]]> @@ -3225,7 +3225,7 @@ The following example contains two main classes: `PurchaseOrder` and `Test`. The The following example prints the type of any encountered unknown node. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlNodeEventArgs/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializer.UnknownNode Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlNodeEventArgs/Overview/source.vb" id="Snippet1"::: ]]> @@ -3323,7 +3323,7 @@ The following example contains two main classes: `PurchaseOrder` and `Test`. The ``` :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/UnreferencedObjectEventArgs/Overview/unrefobj.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/UnreferencedObject Event Example/VB/unrefobj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/UnreferencedObjectEventArgs/Overview/unrefobj.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlSerializerNamespaces.xml b/xml/System.Xml.Serialization/XmlSerializerNamespaces.xml index 2d1dca18383..d84d39f0c2e 100644 --- a/xml/System.Xml.Serialization/XmlSerializerNamespaces.xml +++ b/xml/System.Xml.Serialization/XmlSerializerNamespaces.xml @@ -121,7 +121,7 @@ ns.Add("", "") The following example creates an object, and adds two prefix and namespace pairs to it. The example then passes the to the method, which serializes a `Books` object into an XML document. Using the object, the method qualifies each XML element and attribute with one of the two namespaces. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSerializerNamespaces/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializerNamespaces Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSerializerNamespaces/Overview/source.vb" id="Snippet1"::: ]]> @@ -196,7 +196,7 @@ ns.Add("", "") The following example creates an instance of the class, and adds a prefix and namespace pair to the object. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSerializerNamespaces/.ctor/xmlserializernamespaces_constructor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XmlSerializerNameSpaces_Constructor/VB/xmlserializernamespaces_constructor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSerializerNamespaces/.ctor/xmlserializernamespaces_constructor.vb" id="Snippet1"::: ]]> @@ -254,7 +254,7 @@ ns.Add("", "") The following example creates two objects, and creates a new instance from them. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSerializerNamespaces/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializerNamespaces.XmlSerializerNamespaces1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSerializerNamespaces/.ctor/source.vb" id="Snippet1"::: ]]> @@ -380,7 +380,7 @@ ns.Add("", "") The following example creates an object, and adds three prefix and namespace pairs to it by calling the method. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSerializerNamespaces/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializerNamespaces.Add Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSerializerNamespaces/Add/source.vb" id="Snippet1"::: ]]> @@ -487,7 +487,7 @@ ns.Add("", "") The following example prints each and in an object. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlSerializerNamespaces/ToArray/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlSerializerNamespaces.ToArray Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlSerializerNamespaces/ToArray/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlTextAttribute.xml b/xml/System.Xml.Serialization/XmlTextAttribute.xml index 7216f0a6e7c..854173e1db2 100644 --- a/xml/System.Xml.Serialization/XmlTextAttribute.xml +++ b/xml/System.Xml.Serialization/XmlTextAttribute.xml @@ -107,7 +107,7 @@ xmlns:xs="http://www.w3.org/2001/XMLSchema"> the following class is generated (extra spaces and remarks have been removed): :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlTextAttribute/Overview/source1.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XmlTextAttribute/vb/source.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlTextAttribute/Overview/source1.vb" id="Snippet0"::: For more information about using attributes, see [Attributes](/dotnet/standard/attributes/). @@ -118,7 +118,7 @@ xmlns:xs="http://www.w3.org/2001/XMLSchema"> ## Examples :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlTextAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlTextAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlTextAttribute/Overview/source.vb" id="Snippet1"::: ]]> @@ -201,7 +201,7 @@ xmlns:xs="http://www.w3.org/2001/XMLSchema"> The following example serializes a class that contains a public field, named `Comment`. The example applies an to the field, thereby overriding its serialization as an XML element, and instead serializing it as XML text. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlTextAttribute/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlTextAttribute.XmlTextAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlTextAttribute/.ctor/source.vb" id="Snippet1"::: ]]> @@ -269,7 +269,7 @@ xmlns:xs="http://www.w3.org/2001/XMLSchema"> ## Examples :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlTextAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlTextAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlTextAttribute/Overview/source.vb" id="Snippet1"::: ]]> @@ -403,7 +403,7 @@ xmlns:xs="http://www.w3.org/2001/XMLSchema"> ## Examples :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlTextAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlTextAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlTextAttribute/Overview/source.vb" id="Snippet1"::: ]]> @@ -481,7 +481,7 @@ xmlns:xs="http://www.w3.org/2001/XMLSchema"> ## Examples :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlTextAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlTextAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlTextAttribute/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlTypeAttribute.xml b/xml/System.Xml.Serialization/XmlTypeAttribute.xml index 32c237d3c9a..981a3ca71ed 100644 --- a/xml/System.Xml.Serialization/XmlTypeAttribute.xml +++ b/xml/System.Xml.Serialization/XmlTypeAttribute.xml @@ -84,7 +84,7 @@ The following example shows two classes to which the has been applied. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlTypeAttribute/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlTypeAttribute Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlTypeAttribute/Overview/source.vb" id="Snippet1"::: ]]> @@ -153,7 +153,7 @@ The following example creates two instances of the class that are used to override the serialization of the two classes. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlTypeAttribute/.ctor/xmltypeattribute1_2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XMLTypeAttribute1_2/VB/xmltypeattribute1_2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlTypeAttribute/.ctor/xmltypeattribute1_2.vb" id="Snippet2"::: ]]> @@ -214,7 +214,7 @@ The following example creates two instances of the class that are used to override the serialization of the two classes. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlTypeAttribute/.ctor/xmltypeattribute1_2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/XMLTypeAttribute1_2/VB/xmltypeattribute1_2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlTypeAttribute/.ctor/xmltypeattribute1_2.vb" id="Snippet2"::: ]]> @@ -340,7 +340,7 @@ The following example applies the to the `ExtraneousInfo` class, setting the property to `false`. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlTypeAttribute/IncludeInSchema/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlTypeAttribute.IncludeInSchema Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlTypeAttribute/IncludeInSchema/source.vb" id="Snippet1"::: ]]> @@ -406,7 +406,7 @@ The following example applies the to a class while setting the property. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlTypeAttribute/Namespace/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlTypeAttribute.Namespace Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlTypeAttribute/Namespace/source.vb" id="Snippet1"::: ]]> @@ -476,7 +476,7 @@ The following example applies the to the `Person` and `Job` classes. If you compile the class and pass the resulting executable file to the XML Schema Definition tool, the schema is displayed in the Output section. :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/XmlTypeAttribute/TypeName/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic XmlTypeAttribute.TypeName Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/XmlTypeAttribute/TypeName/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml.Serialization/XmlTypeMapping.xml b/xml/System.Xml.Serialization/XmlTypeMapping.xml index 5d62c8a89f5..edb58eec41b 100644 --- a/xml/System.Xml.Serialization/XmlTypeMapping.xml +++ b/xml/System.Xml.Serialization/XmlTypeMapping.xml @@ -65,7 +65,7 @@ The following example serializes an instance of a class named `Transportation` that contains a field named `Vehicle`. A is applied to the field. When the field is serialized, the XML element name is "Wheels" instead of "Vehicle". The `SerializeOverride` method creates a and sets the property of a to the . The is added to a that is used to create an . An is constructed with the , and an instance of the `Transportation` class is again serialized. Because the is used to override the serialization, the generated XML element name is now "Truck" instead of "Wheels". :::code language="csharp" source="~/snippets/csharp/System.Xml.Serialization/SoapAttributes/SoapElement/soapelementoverrides.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SoapElementOverrides/VB/soapelementoverrides.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Xml.Serialization/SoapAttributes/SoapElement/soapelementoverrides.vb" id="Snippet1"::: ]]> @@ -190,7 +190,7 @@ To set a namespace name of an object, apply a @@ -249,7 +249,7 @@ To set a namespace name of an object, apply a @@ -312,7 +312,7 @@ To set a namespace name of an object, apply a @@ -375,7 +375,7 @@ To set a namespace name of an object, apply a diff --git a/xml/System.Xml/XmlReader.xml b/xml/System.Xml/XmlReader.xml index 90e65a015fa..46ddf81a461 100644 --- a/xml/System.Xml/XmlReader.xml +++ b/xml/System.Xml/XmlReader.xml @@ -72,7 +72,7 @@ The following example code shows how to use the asynchronous API to parse XML. :::code language="csharp" source="~/snippets/csharp/System.Xml/XmlReader/Overview/program.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.xml.xmlreader.class/vb/module1.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Xml/XmlReader/Overview/module1.vb" id="Snippet6"::: ]]> diff --git a/xml/System/Action.xml b/xml/System/Action.xml index 6173374d769..af72fd2dea8 100644 --- a/xml/System/Action.xml +++ b/xml/System/Action.xml @@ -75,13 +75,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Action/Overview/delegate1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action/fs/Delegate.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.action.delegate/vb/delegate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Action/Overview/delegate.vb" id="Snippet1"::: The following example simplifies this code by instantiating the delegate instead of explicitly defining a new delegate and assigning a named method to it. :::code language="csharp" source="~/snippets/csharp/System/Action/Overview/Action.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action/fs/Action.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action/vb/Action.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Action/Overview/Action.vb" id="Snippet2"::: You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) @@ -91,7 +91,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Action/Overview/Lambda.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action/fs/Lambda.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action/vb/lambda.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Action/Overview/lambda.vb" id="Snippet4"::: ]]> diff --git a/xml/System/Action`1.xml b/xml/System/Action`1.xml index 4cee3c680eb..58528f1debb 100644 --- a/xml/System/Action`1.xml +++ b/xml/System/Action`1.xml @@ -85,13 +85,13 @@ :::code language="csharp" source="~/snippets/csharp/System/ActionT/Overview/Delegate.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~1/fs/Delegate.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/Delegate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT/Overview/Delegate.vb" id="Snippet1"::: The following example simplifies this code by instantiating the delegate instead of explicitly defining a new delegate and assigning a named method to it. :::code language="csharp" source="~/snippets/csharp/System/ActionT/Overview/Action1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~1/fs/Action1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/Action1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT/Overview/Action1.vb" id="Snippet2"::: You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) @@ -101,7 +101,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ActionT/Overview/Lambda.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~1/fs/Lambda.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/lambda.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT/Overview/lambda.vb" id="Snippet4"::: The and methods each take an delegate as a parameter. The method encapsulated by the delegate allows you to perform an action on each element in the array or list. The example uses the method to provide an illustration. @@ -112,7 +112,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ActionT/Overview/action.cs" interactive="try-dotnet-method" id="Snippet01"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action_PrintExample/fs/action.fs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action_PrintExample/vb/action.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT/Overview/action.vb" id="Snippet01"::: ]]> diff --git a/xml/System/Action`2.xml b/xml/System/Action`2.xml index 6adf20787db..23f19cfc645 100644 --- a/xml/System/Action`2.xml +++ b/xml/System/Action`2.xml @@ -110,13 +110,13 @@ :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2/Overview/Delegate.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~2/fs/Delegate.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/Delegate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT1,T2/Overview/Delegate.vb" id="Snippet1"::: The following example simplifies this code by instantiating the delegate instead of explicitly defining a new delegate and assigning a named method to it. :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2/Overview/Action2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~2/fs/Action2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/action2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT1,T2/Overview/action2.vb" id="Snippet2"::: You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) @@ -126,7 +126,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2/Overview/Lambda.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~2/fs/Lambda.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/lambda.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT1,T2/Overview/lambda.vb" id="Snippet4"::: ]]> diff --git a/xml/System/Action`3.xml b/xml/System/Action`3.xml index 0d10e7fb0c6..7a05a3e24b9 100644 --- a/xml/System/Action`3.xml +++ b/xml/System/Action`3.xml @@ -124,13 +124,13 @@ :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2,T3/Overview/Delegate.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~3/fs/Delegate.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Delegate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT1,T2,T3/Overview/Delegate.vb" id="Snippet1"::: The following example simplifies this code by instantiating the delegate instead of explicitly defining a new delegate and assigning a named method to it. :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2,T3/Overview/Action3.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~3/fs/Action3.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Action3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT1,T2,T3/Overview/Action3.vb" id="Snippet2"::: You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) @@ -140,7 +140,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2,T3/Overview/Lambda.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~3/fs/Lambda.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/lambda.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT1,T2,T3/Overview/lambda.vb" id="Snippet4"::: ]]> diff --git a/xml/System/Action`4.xml b/xml/System/Action`4.xml index e96028705d4..4a5130d99a9 100644 --- a/xml/System/Action`4.xml +++ b/xml/System/Action`4.xml @@ -118,13 +118,13 @@ :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2,T3,T4/Overview/Delegate.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~4/fs/Delegate.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Delegate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/Delegate.vb" id="Snippet1"::: The following example simplifies this code by instantiating the delegate instead of explicitly defining a new delegate and assigning a named method to it. :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2,T3,T4/Overview/Action4.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~4/fs/Action4.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Action4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/Action4.vb" id="Snippet2"::: You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) @@ -134,7 +134,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2,T3,T4/Overview/Lambda.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~4/fs/Lambda.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/lambda.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/lambda.vb" id="Snippet4"::: ]]> diff --git a/xml/System/ActivationContext.xml b/xml/System/ActivationContext.xml index 9b36d7d2be9..aad8822bc8a 100644 --- a/xml/System/ActivationContext.xml +++ b/xml/System/ActivationContext.xml @@ -49,7 +49,7 @@ The following code example demonstrates the use of an object to obtain the for a manifest-based application. For correct results, execute this code example as a manifest-based application. :::code language="csharp" source="~/snippets/csharp/System/ActivationContext/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ActivationContext/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActivationContext/Overview/program.vb" id="Snippet1"::: ]]> @@ -339,7 +339,7 @@ The following code example demonstrates the use of an object to obtain the for a manifest-based application. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System/ActivationContext/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ActivationContext/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActivationContext/Overview/program.vb" id="Snippet2"::: ]]> diff --git a/xml/System/Activator.xml b/xml/System/Activator.xml index 003463d1e27..21ac5a3d008 100644 --- a/xml/System/Activator.xml +++ b/xml/System/Activator.xml @@ -101,7 +101,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Activator/Overview/ActivatorX.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/ActivatorX/fs/ActivatorX.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ActivatorX/VB/ActivatorX.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Activator/Overview/ActivatorX.vb" id="Snippet1"::: ]]> @@ -411,7 +411,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Activator/Overview/source2.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/ActivatorX/fs/source2.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ActivatorX/VB/source2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Activator/Overview/source2.vb" id="Snippet4"::: ]]> @@ -584,19 +584,19 @@ Note: In .NET for Win :::code language="csharp" source="~/snippets/csharp/System/Activator/CreateInstance/personinfo.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.activator.createinstance/fs/personinfo.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/personinfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Activator/CreateInstance/personinfo.vb" id="Snippet1"::: The following example calls the method to instantiate the `Person` class. It requires a reference to PersonInfo.dll to be added to the project. Because the method calls the `Person` class parameterless constructor, the example assigns a value to its `Name` property. :::code language="csharp" source="~/snippets/csharp/System/Activator/CreateInstance/createinstanceex1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.activator.createinstance/fs/createinstanceex1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/createinstanceex1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Activator/CreateInstance/createinstanceex1.vb" id="Snippet2"::: However, is frequently called to instantiate a type that crosses machine boundaries or that is not known at design time. In this case, you cannot include a reference to the assembly in the project and cannot make early-bound calls to the type's members. To work around this limitation, the following example uses the method along with reflection to assign a value to the `Person` object's `Name` property and to display its value. :::code language="csharp" source="~/snippets/csharp/System/Activator/CreateInstance/createinstanceex1a.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.activator.createinstance/fs/createinstanceex1a.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/createinstanceex1a.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Activator/CreateInstance/createinstanceex1a.vb" id="Snippet3"::: ]]> @@ -816,13 +816,13 @@ Note: In .NET for Win :::code language="csharp" source="~/snippets/csharp/System/Activator/CreateInstance/CreateInstance5.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.activator.createinstance/fs/CreateInstance5.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/CreateInstance5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Activator/CreateInstance/CreateInstance5.vb" id="Snippet5"::: The following example creates a jagged array whose elements are arguments to be passed to a constructor. The example then passes each array to the method to invoke the appropriate string constructor. :::code language="csharp" source="~/snippets/csharp/System/Activator/CreateInstance/createinstance2.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.activator.createinstance/fs/createinstance2.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/createinstance2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Activator/CreateInstance/createinstance2.vb" id="Snippet4"::: ]]> @@ -1903,7 +1903,7 @@ An error occurred when attempting remote activation in a target specified in generic method in application code, because the type must be known at compile time. If the type is known at compile time, normal instantiation syntax can be used (`new` operator in C#, `New` in Visual Basic). If the type is not known at compile time, you can call a non-generic overload of . @@ -1998,7 +1998,7 @@ Note: In .NET for Win :::code language="csharp" source="~/snippets/csharp/System/Activator/Overview/ActivatorX.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/ActivatorX/fs/ActivatorX.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ActivatorX/VB/ActivatorX.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Activator/Overview/ActivatorX.vb" id="Snippet3"::: ]]> diff --git a/xml/System/AggregateException.xml b/xml/System/AggregateException.xml index c8ade762787..b120953d406 100644 --- a/xml/System/AggregateException.xml +++ b/xml/System/AggregateException.xml @@ -88,7 +88,7 @@ :::code language="csharp" source="~/snippets/csharp/System/AggregateException/Overview/exception1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.aggregateexception.class/fs/exception1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.aggregateexception.class/vb/exception1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AggregateException/Overview/exception1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/AppContext.xml b/xml/System/AppContext.xml index 9256dbb0d0c..7e8695e47bf 100644 --- a/xml/System/AppContext.xml +++ b/xml/System/AppContext.xml @@ -309,7 +309,7 @@ In .NET 5 and later versions, for bundled assemblies, the value returned is the :::code language="csharp" source="~/snippets/csharp/System/AppContext/Overview/TestValue1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.AppContext.Class/fs/TestValue1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.AppContext.Class/vb/TestValue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppContext/SetSwitch/TestValue1.vb" id="Snippet1"::: ]]> @@ -446,7 +446,7 @@ In .NET 5 and later versions, for bundled assemblies, the value returned is the :::code language="csharp" source="~/snippets/csharp/System/AppContext/Overview/TestValue1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.AppContext.Class/fs/TestValue1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.AppContext.Class/vb/TestValue1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppContext/SetSwitch/TestValue1.vb" id="Snippet2"::: ]]> diff --git a/xml/System/AppDomain.xml b/xml/System/AppDomain.xml index 39e02ed2b50..389b562c875 100644 --- a/xml/System/AppDomain.xml +++ b/xml/System/AppDomain.xml @@ -120,7 +120,7 @@ Application domains, which are represented by objects, h :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomainX/cpp/AppDomainX.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/Overview/AppDomainX.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/Overview/AppDomainX.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomainX/VB/AppDomainX.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/Overview/AppDomainX.vb" id="Snippet1"::: ]]> @@ -463,7 +463,7 @@ Application domains, which are represented by objects, h :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_AssemblyLoad/CPP/assemblyload.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/AssemblyLoad/assemblyload.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/AssemblyLoad/assemblyload.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_AssemblyLoad/VB/assemblyload.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/AssemblyLoad/assemblyload.vb" id="Snippet1"::: ]]> @@ -558,7 +558,7 @@ Application domains, which are represented by objects, h :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AssemblyResolve/CPP/assemblyresolve.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/AssemblyResolve/assemblyresolve.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/AssemblyResolve/assemblyresolve.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AssemblyResolve/VB/assemblyresolve.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/AssemblyResolve/assemblyresolve.vb" id="Snippet1"::: ]]> @@ -631,7 +631,7 @@ Application domains, which are represented by objects, h :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ADSetup/CPP/adsetup.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/BaseDirectory/adsetup.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/BaseDirectory/adsetup.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ADSetup/VB/adsetup.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/BaseDirectory/adsetup.vb" id="Snippet1"::: ]]> @@ -722,7 +722,7 @@ Application domains, which are represented by objects, h :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ADClearPrivatePath/CPP/adclearprivatepath.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/ClearPrivatePath/adclearprivatepath.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/ClearPrivatePath/adclearprivatepath.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ADClearPrivatePath/VB/adclearprivatepath.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/ClearPrivatePath/adclearprivatepath.vb" id="Snippet1"::: ]]> @@ -878,7 +878,7 @@ Application domains, which are represented by objects, h :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_CreateComInstanceFrom/CPP/createcominstancefrom.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/CreateComInstanceFrom/createcominstancefrom.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/CreateComInstanceFrom/createcominstancefrom.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_CreateComInstanceFrom/VB/createcominstancefrom.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/CreateComInstanceFrom/createcominstancefrom.vb" id="Snippet1"::: ]]> @@ -1065,7 +1065,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_Setup/CPP/setup.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/CreateDomain/setup.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/CreateDomain/setup.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_Setup/VB/setup.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/CreateDomain/setup.vb" id="Snippet1"::: ]]> @@ -1136,7 +1136,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_Setup/CPP/setup.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/CreateDomain/setup.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/CreateDomain/setup.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_Setup/VB/setup.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/CreateDomain/setup.vb" id="Snippet1"::: ]]> @@ -1206,7 +1206,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_Setup/CPP/setup.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/CreateDomain/setup.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/CreateDomain/setup.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_Setup/VB/setup.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/CreateDomain/setup.vb" id="Snippet1"::: ]]> @@ -1354,7 +1354,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_Setup/CPP/setup.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/CreateDomain/setup.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/CreateDomain/setup.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_Setup/VB/setup.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/CreateDomain/setup.vb" id="Snippet1"::: ]]> @@ -1944,7 +1944,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/CreateInstanceAndUnwrap2/cpp/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/CreateInstanceAndUnwrap/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/CreateInstanceAndUnwrap/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CreateInstanceAndUnwrap2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/CreateInstanceAndUnwrap/source.vb" id="Snippet1"::: ]]> @@ -2053,7 +2053,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ADDyno/CPP/addyno.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/CreateInstanceAndUnwrap/addyno.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/CreateInstanceAndUnwrap/addyno.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ADDyno/VB/addyno.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/CreateInstanceAndUnwrap/addyno.vb" id="Snippet1"::: ]]> @@ -2174,7 +2174,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_CreateInstance_IgnoreCase/CPP/ignorecase.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/CreateInstanceAndUnwrap/ignorecase.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/CreateInstanceAndUnwrap/ignorecase.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_CreateInstance_IgnoreCase/VB/ignorecase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/CreateInstanceAndUnwrap/ignorecase.vb" id="Snippet1"::: ]]> @@ -2275,7 +2275,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_CreateInstance_IgnoreCase/CPP/ignorecase.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/CreateInstanceAndUnwrap/ignorecase.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/CreateInstanceAndUnwrap/ignorecase.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_CreateInstance_IgnoreCase/VB/ignorecase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/CreateInstanceAndUnwrap/ignorecase.vb" id="Snippet1"::: ]]> @@ -2410,7 +2410,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.appdomain.createinstancefrom_stringstring/cpp/example.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/CreateInstanceFrom/example.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/CreateInstanceFrom/example.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.createinstancefrom_stringstring/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/CreateInstanceFrom/example.vb" id="Snippet1"::: ]]> @@ -3241,7 +3241,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ADApplicationBase/CPP/adapplicationbase.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/CurrentDomain/adapplicationbase.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/CurrentDomain/adapplicationbase.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ADApplicationBase/VB/adapplicationbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/CurrentDomain/adapplicationbase.vb" id="Snippet1"::: ]]> @@ -3320,7 +3320,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_DefineDynamicAssembly/CPP/definedynamicassembly.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_DefineDynamicAssembly/VB/definedynamicassembly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.vb" id="Snippet1"::: ]]> @@ -3400,7 +3400,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/DefineDynamicAssemblyWithAttributes/cpp/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/DefineDynamicAssembly/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/DefineDynamicAssembly/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DefineDynamicAssemblyWithAttributes/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/DefineDynamicAssembly/source.vb" id="Snippet1"::: ]]> @@ -3490,7 +3490,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_DefineDynamicAssembly/CPP/definedynamicassembly.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_DefineDynamicAssembly/VB/definedynamicassembly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.vb" id="Snippet1"::: ]]> @@ -3569,7 +3569,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_DefineDynamicAssembly/CPP/definedynamicassembly.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_DefineDynamicAssembly/VB/definedynamicassembly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.vb" id="Snippet1"::: ]]> @@ -3722,7 +3722,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_DefineDynamicAssembly/CPP/definedynamicassembly.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_DefineDynamicAssembly/VB/definedynamicassembly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.vb" id="Snippet1"::: ]]> @@ -3811,7 +3811,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_DefineDynamicAssembly/CPP/definedynamicassembly.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_DefineDynamicAssembly/VB/definedynamicassembly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.vb" id="Snippet1"::: ]]> @@ -3973,7 +3973,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_DefineDynamicAssembly/CPP/definedynamicassembly.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_DefineDynamicAssembly/VB/definedynamicassembly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.vb" id="Snippet1"::: ]]> @@ -4064,7 +4064,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_DefineDynamicAssembly/CPP/definedynamicassembly.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_DefineDynamicAssembly/VB/definedynamicassembly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.vb" id="Snippet1"::: ]]> @@ -4161,7 +4161,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_DefineDynamicAssembly/CPP/definedynamicassembly.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_DefineDynamicAssembly/VB/definedynamicassembly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.vb" id="Snippet1"::: ]]> @@ -4261,7 +4261,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_DefineDynamicAssembly/CPP/definedynamicassembly.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_DefineDynamicAssembly/VB/definedynamicassembly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/DefineDynamicAssembly/definedynamicassembly.vb" id="Snippet1"::: ]]> @@ -4415,21 +4415,21 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_DoCallBack/CPP/docallback_static.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/DoCallBack/docallback_static.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/DoCallBack/docallback_static.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_DoCallBack/VB/docallback_static.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/DoCallBack/docallback_static.vb" id="Snippet1"::: The following sample demonstrates using the method by value. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_DoCallBack/CPP/docallback_byval.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/DoCallBack/docallback_byval.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/DoCallBack/docallback_byval.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_DoCallBack/VB/docallback_byval.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/DoCallBack/docallback_byval.vb" id="Snippet2"::: The following sample demonstrates using the method by reference. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_DoCallBack/CPP/docallback_byref.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/DoCallBack/docallback_byref.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/DoCallBack/docallback_byref.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_DoCallBack/VB/docallback_byref.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/DoCallBack/docallback_byref.vb" id="Snippet3"::: ]]> @@ -4641,7 +4641,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ADDynamicBase/CPP/addynamicbase.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/DynamicDirectory/addynamicbase.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/DynamicDirectory/addynamicbase.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ADDynamicBase/VB/addynamicbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/DynamicDirectory/addynamicbase.vb" id="Snippet1"::: ]]> @@ -4782,7 +4782,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_ExecuteAssembly/CPP/executeassembly.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/ExecuteAssembly/executeassembly.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/ExecuteAssembly/executeassembly.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_ExecuteAssembly/VB/executeassembly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/ExecuteAssembly/executeassembly.vb" id="Snippet1"::: ]]> @@ -4864,7 +4864,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_ExecuteAssembly/CPP/executeassembly.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/ExecuteAssembly/executeassembly.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/ExecuteAssembly/executeassembly.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_ExecuteAssembly/VB/executeassembly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/ExecuteAssembly/executeassembly.vb" id="Snippet1"::: ]]> @@ -4961,7 +4961,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_ExecuteAssembly/CPP/executeassembly.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/ExecuteAssembly/executeassembly.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/ExecuteAssembly/executeassembly.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_ExecuteAssembly/VB/executeassembly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/ExecuteAssembly/executeassembly.vb" id="Snippet1"::: ]]> @@ -5045,7 +5045,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_ExecuteAssembly/CPP/executeassembly.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/ExecuteAssembly/executeassembly.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/ExecuteAssembly/executeassembly.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_ExecuteAssembly/VB/executeassembly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/ExecuteAssembly/executeassembly.vb" id="Snippet1"::: ]]> @@ -5155,7 +5155,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_ExecuteAssembly/CPP/executeassembly.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/ExecuteAssembly/executeassembly.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/ExecuteAssembly/executeassembly.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_ExecuteAssembly/VB/executeassembly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/ExecuteAssembly/executeassembly.vb" id="Snippet1"::: ]]> @@ -5240,7 +5240,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_ExecuteAssembly/CPP/executeassembly.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/ExecuteAssembly/executeassembly.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/ExecuteAssembly/executeassembly.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_ExecuteAssembly/VB/executeassembly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/ExecuteAssembly/executeassembly.vb" id="Snippet1"::: ]]> @@ -5822,7 +5822,7 @@ This method overload uses the information from the :::code language="csharp" source="~/snippets/csharp/System/AppDomain/FirstChanceException/example.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/FirstChanceException/example.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.firstchanceexception/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/FirstChanceException/example.vb" id="Snippet1"::: ]]> @@ -5894,7 +5894,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ADApplicationBase/CPP/adapplicationbase.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/CurrentDomain/adapplicationbase.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/CurrentDomain/adapplicationbase.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ADApplicationBase/VB/adapplicationbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/CurrentDomain/adapplicationbase.vb" id="Snippet1"::: ]]> @@ -5960,7 +5960,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ADGetAssemblies/CPP/adgetassemblies.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/GetAssemblies/adgetassemblies.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/GetAssemblies/adgetassemblies.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ADGetAssemblies/VB/adgetassemblies.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/GetAssemblies/adgetassemblies.vb" id="Snippet1"::: ]]> @@ -6146,7 +6146,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ADGetData/CPP/adgetdata.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/GetData/adgetdata.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/GetData/adgetdata.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ADGetData/VB/adgetdata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/GetData/adgetdata.vb" id="Snippet1"::: ]]> @@ -6254,7 +6254,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.AppDomain.IsDefaultAppDomain/CPP/System.AppDomain.IsDefaultAppDomain.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/Id/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/Id/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.AppDomain.IsDefaultAppDomain/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/Id/source.vb" id="Snippet1"::: ]]> @@ -6424,7 +6424,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.AppDomain.IsDefaultAppDomain/CPP/System.AppDomain.IsDefaultAppDomain.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/Id/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/Id/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.AppDomain.IsDefaultAppDomain/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/Id/source.vb" id="Snippet1"::: ]]> @@ -6568,7 +6568,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="csharp" source="~/snippets/csharp/System/AppDomain/IsFullyTrusted/example.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/IsFullyTrusted/example.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.isfullytrusted/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/IsFullyTrusted/example.vb" id="Snippet1"::: ]]> @@ -6716,7 +6716,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_LoadRaw/CPP/loadraw.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/Load/loadraw.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/Load/loadraw.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_LoadRaw/VB/loadraw.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/Load/loadraw.vb" id="Snippet1"::: ]]> @@ -6801,7 +6801,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.appdomain.load/cpp/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/Load/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/Load/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.load/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/Load/source.vb" id="Snippet1"::: The assembly is loaded into both domains because does not derive from , and therefore the return value of the method cannot be marshaled. Instead, the common language runtime tries to load the assembly into the calling application domain. The assemblies that are loaded into the two application domains might be different if the path settings for the two application domains are different. @@ -6984,7 +6984,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_LoadRaw/CPP/loadraw.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/Load/loadraw.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/Load/loadraw.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_LoadRaw/VB/loadraw.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/Load/loadraw.vb" id="Snippet1"::: ]]> @@ -7197,7 +7197,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_LoadRaw/CPP/loadraw.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/Load/loadraw.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/Load/loadraw.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_LoadRaw/VB/loadraw.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/Load/loadraw.vb" id="Snippet1"::: ]]> @@ -7774,7 +7774,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain.ReflectionOnlyGetAssemblies/CPP/reflectiononly.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/ReflectionOnlyGetAssemblies/reflectiononly.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/ReflectionOnlyGetAssemblies/reflectiononly.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain.ReflectionOnlyGetAssemblies/VB/reflectiononly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/ReflectionOnlyGetAssemblies/reflectiononly.vb" id="Snippet1"::: ]]> @@ -7989,7 +7989,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ADSetAppDomainPolicy/CPP/adsetappdomainpolicy.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/SetAppDomainPolicy/adsetappdomainpolicy.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/SetAppDomainPolicy/adsetappdomainpolicy.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ADSetAppDomainPolicy/VB/adsetappdomainpolicy.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/SetAppDomainPolicy/adsetappdomainpolicy.vb" id="Snippet1"::: ]]> @@ -8177,7 +8177,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ADGetData/CPP/adgetdata.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/GetData/adgetdata.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/GetData/adgetdata.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ADGetData/VB/adgetdata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/GetData/adgetdata.vb" id="Snippet1"::: ]]> @@ -8321,7 +8321,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ADDynamicBase/CPP/addynamicbase.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/DynamicDirectory/addynamicbase.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/DynamicDirectory/addynamicbase.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ADDynamicBase/VB/addynamicbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/DynamicDirectory/addynamicbase.vb" id="Snippet1"::: ]]> @@ -8399,7 +8399,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ADPrincipal/CPP/adprincipal.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/SetPrincipalPolicy/adprincipal.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/SetPrincipalPolicy/adprincipal.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ADPrincipal/VB/adprincipal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/SetPrincipalPolicy/adprincipal.vb" id="Snippet1"::: ]]> @@ -8479,7 +8479,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/adproperties/CPP/adproperties.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/SetShadowCopyFiles/adproperties.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/SetShadowCopyFiles/adproperties.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/adproperties/VB/adproperties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/SetShadowCopyFiles/adproperties.vb" id="Snippet1"::: ]]> @@ -8576,7 +8576,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ADShadowCopy/CPP/adshadowcopy.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/SetShadowCopyPath/adshadowcopy.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/SetShadowCopyPath/adshadowcopy.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ADShadowCopy/VB/adshadowcopy.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/SetShadowCopyPath/adshadowcopy.vb" id="Snippet1"::: ]]> @@ -8649,7 +8649,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ADPrincipal/CPP/adprincipal.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/SetPrincipalPolicy/adprincipal.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/SetPrincipalPolicy/adprincipal.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ADPrincipal/VB/adprincipal.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/SetPrincipalPolicy/adprincipal.vb" id="Snippet1"::: ]]> @@ -9029,7 +9029,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ADToString/CPP/adtostring.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/ToString/adtostring.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/ToString/adtostring.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ADToString/VB/adtostring.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/ToString/adtostring.vb" id="Snippet1"::: ]]> @@ -9121,7 +9121,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomain_TypeResolve/CPP/typeresolve.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/TypeResolve/typeresolve.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/TypeResolve/typeresolve.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_TypeResolve/VB/typeresolve.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/TypeResolve/typeresolve.vb" id="Snippet1"::: ]]> @@ -9195,7 +9195,7 @@ The following example demonstrates the @@ -9276,7 +9276,7 @@ The threads in `domain` are terminated using the diff --git a/xml/System/AppDomainManager.xml b/xml/System/AppDomainManager.xml index d12feb118c5..d21d22fea3d 100644 --- a/xml/System/AppDomainManager.xml +++ b/xml/System/AppDomainManager.xml @@ -58,7 +58,7 @@ The following example shows a very simple implementation of . :::code language="csharp" source="~/snippets/csharp/System/AppDomainManager/Overview/customAppDomainManager.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.AppDomainManager/VB/customAppDomainManager.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomainManager/Overview/customAppDomainManager.vb" id="Snippet1"::: ]]> @@ -347,7 +347,7 @@ The following example shows an override of the property for a custom application domain manager. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System/AppDomainManager/Overview/customAppDomainManager.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.AppDomainManager/VB/customAppDomainManager.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomainManager/Overview/customAppDomainManager.vb" id="Snippet3"::: ]]> @@ -426,7 +426,7 @@ The following example shows an override of the method for a custom application domain manager. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System/AppDomainManager/Overview/customAppDomainManager.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.AppDomainManager/VB/customAppDomainManager.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomainManager/Overview/customAppDomainManager.vb" id="Snippet2"::: ]]> diff --git a/xml/System/AppDomainSetup.xml b/xml/System/AppDomainSetup.xml index 09f901420bc..af0f5d9b1b9 100644 --- a/xml/System/AppDomainSetup.xml +++ b/xml/System/AppDomainSetup.xml @@ -293,7 +293,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomainInitializer/cpp/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomainSetup/AppDomainInitializer/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomainSetup/AppDomainInitializer/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomainInitializer/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomainSetup/AppDomainInitializer/source.vb" id="Snippet1"::: ]]> @@ -342,7 +342,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/AppDomainInitializer/cpp/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomainSetup/AppDomainInitializer/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomainSetup/AppDomainInitializer/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomainInitializer/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomainSetup/AppDomainInitializer/source.vb" id="Snippet1"::: ]]> @@ -505,7 +505,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ADApplicationBase/CPP/adapplicationbase.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/CurrentDomain/adapplicationbase.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/CurrentDomain/adapplicationbase.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ADApplicationBase/VB/adapplicationbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/CurrentDomain/adapplicationbase.vb" id="Snippet1"::: ]]> @@ -555,7 +555,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ADMultiDomain/CPP/admultidomain.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomainSetup/ApplicationName/admultidomain.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomainSetup/ApplicationName/admultidomain.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ADMultiDomain/VB/admultidomain.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomainSetup/ApplicationName/admultidomain.vb" id="Snippet1"::: ]]> @@ -933,7 +933,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ADDynamicBase/CPP/addynamicbase.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/DynamicDirectory/addynamicbase.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/DynamicDirectory/addynamicbase.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ADDynamicBase/VB/addynamicbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/DynamicDirectory/addynamicbase.vb" id="Snippet1"::: ]]> @@ -1056,7 +1056,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ADDyno/CPP/addyno.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/CreateInstanceAndUnwrap/addyno.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/CreateInstanceAndUnwrap/addyno.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ADDyno/VB/addyno.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/CreateInstanceAndUnwrap/addyno.vb" id="Snippet1"::: ]]> diff --git a/xml/System/AppDomainUnloadedException.xml b/xml/System/AppDomainUnloadedException.xml index 6b10192a135..69efff95089 100644 --- a/xml/System/AppDomainUnloadedException.xml +++ b/xml/System/AppDomainUnloadedException.xml @@ -96,7 +96,7 @@ :::code language="csharp" source="~/snippets/csharp/System/AppDomainUnloadedException/Overview/Sample.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomainUnloadedException/Overview/Sample.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomainUnloadedException/vb/Sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomainUnloadedException/Overview/Sample.vb" id="Snippet1"::: Example 2 @@ -105,7 +105,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/ADUnload/CPP/adunload.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/Unload/adunload.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/Unload/adunload.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ADUnload/VB/adunload.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/Unload/adunload.vb" id="Snippet1"::: ]]> diff --git a/xml/System/ApplicationId.xml b/xml/System/ApplicationId.xml index 862fad460e9..7a208a06bdb 100644 --- a/xml/System/ApplicationId.xml +++ b/xml/System/ApplicationId.xml @@ -81,7 +81,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ApplicationId/Overview/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/ApplicationId/Overview/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ApplicationIdentity/VB/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ApplicationId/Overview/program.vb" id="Snippet1"::: ]]> @@ -285,7 +285,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ApplicationId/Overview/program.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/ApplicationId/Overview/program.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ApplicationIdentity/VB/program.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/ApplicationId/Overview/program.vb" id="Snippet8"::: ]]> @@ -458,7 +458,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ApplicationId/Overview/program.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/ApplicationId/Overview/program.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ApplicationIdentity/VB/program.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/ApplicationId/Overview/program.vb" id="Snippet7"::: ]]> @@ -524,7 +524,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ApplicationId/Overview/program.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/ApplicationId/Overview/program.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ApplicationIdentity/VB/program.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/ApplicationId/Overview/program.vb" id="Snippet9"::: ]]> @@ -585,7 +585,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ApplicationId/Overview/program.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/ApplicationId/Overview/program.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ApplicationIdentity/VB/program.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/ApplicationId/Overview/program.vb" id="Snippet11"::: ]]> @@ -695,7 +695,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ApplicationId/Overview/program.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/ApplicationId/Overview/program.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ApplicationIdentity/VB/program.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/ApplicationId/Overview/program.vb" id="Snippet10"::: ]]> diff --git a/xml/System/ApplicationIdentity.xml b/xml/System/ApplicationIdentity.xml index 92bedc2091d..91fefd11518 100644 --- a/xml/System/ApplicationIdentity.xml +++ b/xml/System/ApplicationIdentity.xml @@ -59,7 +59,7 @@ The following code example demonstrates the use of an object to obtain the for a manifest-based application. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System/ActivationContext/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ActivationContext/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActivationContext/Overview/program.vb" id="Snippet2"::: ]]> @@ -221,7 +221,7 @@ http://testserver/ActivationContext/ActivationContext.application The following code example demonstrates the use of an object to obtain the value of the property for a manifest-based application. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System/ActivationContext/Overview/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ActivationContext/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActivationContext/Overview/program.vb" id="Snippet3"::: ]]> @@ -276,7 +276,7 @@ http://testserver/ActivationContext/ActivationContext.application The following code example demonstrates the use of an object to obtain the value of the property for a manifest-based application. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System/ActivationContext/Overview/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ActivationContext/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActivationContext/Overview/program.vb" id="Snippet3"::: ]]> diff --git a/xml/System/ArgumentException.xml b/xml/System/ArgumentException.xml index ac078826f2e..62415ff38f0 100644 --- a/xml/System/ArgumentException.xml +++ b/xml/System/ArgumentException.xml @@ -104,7 +104,7 @@ The following example demonstrates how to throw and catch an diff --git a/xml/System/ArgumentOutOfRangeException.xml b/xml/System/ArgumentOutOfRangeException.xml index 11eea68442d..1e0ec8f6f40 100644 --- a/xml/System/ArgumentOutOfRangeException.xml +++ b/xml/System/ArgumentOutOfRangeException.xml @@ -97,49 +97,49 @@ The conditions in which an exception i :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/NoElements.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/NoElements.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoElements.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/NoElements.vb" id="Snippet4"::: To prevent the exception, check whether the collection's `Count` property is greater than zero before attempting to retrieve any members, as the following code fragment does. :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/NoElements.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/NoElements.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoElements.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/NoElements.vb" id="Snippet5"::: 2. In some cases, the exception may occur because you are attempting to add a member to a collection by using an index that does not exist, rather than by calling the method, such as `Add`, that exists for this purpose. The following example attempts to add an element to a collection by using a non-existent index rather than calling the method. :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/NoElements2.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/NoElements2.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoElements2.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/NoElements2.vb" id="Snippet13"::: The following code fragment corrects this error: :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/NoElements2.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/NoElements2.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoElements2.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/NoElements2.vb" id="Snippet14"::: 3. You're attempting to retrieve an item whose index is negative. This usually occurs because you've searched a collection for the index of a particular element and have erroneously assumed that the search is successful. In the following example, the call to the method fails to find a string equal to "Z" and so returns -1. However, this is an invalid index value. :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/BadSearch.cs" interactive="try-dotnet" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/BadSearch.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/BadSearch.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/BadSearch.vb" id="Snippet6"::: To prevent the exception, check that the search is successful by making sure that the returned index is greater than or equal to zero before attempting to retrieve the item from the collection, as the following code fragment does. :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/BadSearch.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/BadSearch.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/BadSearch.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/BadSearch.vb" id="Snippet7"::: 4. You're attempting to retrieve an element whose index is equal to the value of the collection's `Count` property, as the following example illustrates. :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/OOR2.cs" interactive="try-dotnet" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/OOR2.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/OOR2.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/OOR2.vb" id="Snippet8"::: Because collections in .NET use zero-based indexing, the first element of the collection is at index 0, and the last element is at index `Count` - 1. You can eliminate the error by ensuring that you access the last element at index `Count` - 1, as the following code does. :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/OOR2.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/OOR2.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/OOR2.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/OOR2.vb" id="Snippet9"::: - You are attempting to perform a string operation by calling a string manipulation method, and the starting index does not exist in the string. @@ -151,13 +151,13 @@ The conditions in which an exception i :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/EmptyString1.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/EmptyString1.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/EmptyString1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/EmptyString1.vb" id="Snippet15"::: You can eliminate the exception by testing whether the string's is greater than zero or by calling the method to ensure that the string is not `null` or empty. The following code fragment does the latter. In this case, if the string is `null` or empty, the `GetFirstCharacter` method returns U+0000. :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/EmptyString1.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/EmptyString1.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/EmptyString1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/EmptyString1.vb" id="Snippet16"::: 2. You're manipulating a string based on the position of a substring within that string, and you've failed to determine whether the substring was actually found. @@ -165,13 +165,13 @@ The conditions in which an exception i :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/NoFind1.cs" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/NoFind1.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoFind1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/NoFind1.vb" id="Snippet17"::: To eliminate the exception, validate the value returned by the string search method before calling the string manipulation method. :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/NoFind2.cs" interactive="try-dotnet" id="Snippet18"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/NoFind2.fs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoFind2.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/NoFind2.vb" id="Snippet18"::: 3. You've attempted to extract a substring that is outside the range of the current string. @@ -195,7 +195,7 @@ The conditions in which an exception i :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/FindWords1.cs" interactive="try-dotnet" id="Snippet19"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/FindWords1.fs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/FindWords1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/FindWords1.vb" id="Snippet19"::: - You have passed a negative number to a method with an argument that requires only positive numbers and zero, or you have passed either a negative number or zero to a method with an argument that requires only positive numbers. @@ -203,19 +203,19 @@ The conditions in which an exception i :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/OOR1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/OOR1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/OOR1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/OOR1.vb" id="Snippet1"::: To correct the error, ensure that the value of the invalid argument is non-negative. You can do this by providing a valid value, as the following code fragment does. :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/OOR1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/OOR1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/OOR1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/OOR1.vb" id="Snippet2"::: You can also validate the input and, if it is invalid, take some action. The following code fragment displays an error message instead of calling the method. :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/OOR1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/OOR1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/OOR1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/OOR1.vb" id="Snippet3"::: - A race condition exists in an app that is multithreaded or has tasks that execute asynchronously and that updates an array or collection. @@ -223,7 +223,7 @@ The conditions in which an exception i :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/Race1.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/Race1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/Race1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/Race1.vb" id="Snippet11"::: In this case, two resources are accessed from multiple threads: @@ -241,7 +241,7 @@ The conditions in which an exception i :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/Race2.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/Race2.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/Race2.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/Race2.vb" id="Snippet12"::: uses the HRESULT COR_E_ARGUMENTOUTOFRANGE, which has the value 0x80131502. @@ -253,7 +253,7 @@ The following example defines a class to contain information about an invited gu :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/program.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/ArgumentOutOfRangeException/FS/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ArgumentOutOfRangeException/VB/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Array.xml b/xml/System/Array.xml index 0b4b9c18474..3ff9f6ec22f 100644 --- a/xml/System/Array.xml +++ b/xml/System/Array.xml @@ -221,7 +221,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/AsReadOnlyT/arrayasreadonly.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array.AsReadOnly/FS/arrayasreadonly.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.AsReadOnly/VB/arrayasreadonly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/AsReadOnlyT/arrayasreadonly.vb" id="Snippet1"::: ]]> @@ -801,7 +801,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/BinarySearchT/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/Array_SortSearch/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Array_SortSearch/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/BinarySearchT/source.vb" id="Snippet1"::: ]]> @@ -932,7 +932,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/BinarySearchT/source1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/Array_SortSearchComparer/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Array_SortSearchComparer/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/BinarySearchT/source1.vb" id="Snippet1"::: ]]> @@ -1310,13 +1310,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/Clear/example.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array.Clear/fs/example.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clear/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/Clear/example.vb" id="Snippet1"::: The following example defines a `TimeZoneTime` structure that includes a field and a field. It then calls the method to clear one element in a two-element array of `TimeZoneTime` values. The method sets the value of the cleared element to the default value of a object, which is `null`, and the default value of a object, which is . :::code language="csharp" source="~/snippets/csharp/System/Array/Clear/clearstruct1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array.Clear/fs/clearstruct1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clear/vb/clearstruct1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/Clear/clearstruct1.vb" id="Snippet2"::: ]]> @@ -1410,7 +1410,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/Clone/arrayclone.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array.Clone/FS/arrayclone.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clone/VB/arrayclone.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/Clone/arrayclone.vb" id="Snippet1"::: ]]> @@ -1615,7 +1615,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/ConvertAllTInput,TOutput/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/Array_ConvertAll/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Array_ConvertAll/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/ConvertAllTInput,TOutput/source.vb" id="Snippet1"::: ]]> @@ -3275,19 +3275,19 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/ExistsT/exists3.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.exists/fs/exists3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/ExistsT/exists3.vb" id="Snippet3"::: The following example uses the method to indicate whether any names in a string array begin with a specified character. The example instantiates a `StringSearcher` object by passing the string to search for to its class constructor. The `StringSearcher.StartsWith` method has same signature as the delegate. When the method is called, each member of the array is passed to the delegate until it returns `true` or iterates all the elements in the array. :::code language="csharp" source="~/snippets/csharp/System/Array/ExistsT/exists1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.exists/fs/exists1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/ExistsT/exists1.vb" id="Snippet1"::: You can also use a lambda expression rather than explicitly define a method whose signature corresponds to that of the delegate. The following example replaces the `StringSearcher` class and its `StartsWith` method with a lambda expression. :::code language="csharp" source="~/snippets/csharp/System/Array/ExistsT/exists2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.exists/fs/exists2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/ExistsT/exists2.vb" id="Snippet2"::: ]]> @@ -3495,13 +3495,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/FindT/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.find/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.find/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/FindT/source.vb" id="Snippet1"::: Rather than explicitly defining a method with the necessary signature, instantiating a delegate, and passing the delegate to the method, it is customary to use a lambda expression. The following example is identical to the previous one, except that it uses a lambda expression as the `match` argument. :::code language="csharp" source="~/snippets/csharp/System/Array/FindT/lambda.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.find/fs/lambda.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.find/vb/lambda.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/FindT/lambda.vb" id="Snippet2"::: ]]> @@ -3595,7 +3595,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/FindAllT/findall.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.findall/fs/findall.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.findall/vb/findall.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/FindAllT/findall.vb" id="Snippet1"::: The following code example demonstrates the , , and generic methods. An array of strings is created, containing 8 dinosaur names, two of which (at positions 1 and 5) end with "saurus". The code example also defines a search predicate method named `EndsWithSaurus`, which accepts a string parameter and returns a Boolean value indicating whether the input string ends in "saurus". @@ -3610,7 +3610,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/FindAllT/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/Array_FindEtAl/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Array_FindEtAl/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/FindAllT/source.vb" id="Snippet1"::: ]]> @@ -3655,7 +3655,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/FindIndexT/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/Array_FindIndex/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Array_FindIndex/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/FindIndexT/source.vb" id="Snippet1"::: ]]> @@ -4020,7 +4020,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/FindAllT/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/Array_FindEtAl/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Array_FindEtAl/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/FindAllT/source.vb" id="Snippet1"::: ]]> @@ -4065,7 +4065,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/FindLastIndexT/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/Array_FindLastIndex/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Array_FindLastIndex/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/FindLastIndexT/source.vb" id="Snippet1"::: ]]> @@ -4415,7 +4415,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/ForEachT/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.foreach/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.foreach/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/ForEachT/source.vb" id="Snippet1"::: ]]> @@ -4504,7 +4504,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/GetEnumerator/array_getenumerator.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array_GetEnumerator/FS/array_getenumerator.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array_GetEnumerator/VB/array_getenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/GetEnumerator/array_getenumerator.vb" id="Snippet1"::: ]]> @@ -4577,7 +4577,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/GetLength/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.getlength/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.getlength/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/GetLength/source.vb" id="Snippet1"::: ]]> @@ -4736,7 +4736,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/GetLowerBound/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.getupperbound/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.getupperbound/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/GetLowerBound/source.vb" id="Snippet1"::: ]]> @@ -4821,7 +4821,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/GetLowerBound/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.getupperbound/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.getupperbound/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/GetLowerBound/source.vb" id="Snippet1"::: ]]> @@ -4852,7 +4852,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/GetValue/array_getsetvalue.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array_GetSetValue/FS/array_getsetvalue.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array_GetSetValue/VB/array_getsetvalue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/GetValue/array_getsetvalue.vb" id="Snippet1"::: ]]> @@ -5839,7 +5839,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/IndexOfT/source.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/Array_IndexOf/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Array_IndexOf/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/IndexOfT/source.vb" id="Snippet1"::: ]]> @@ -5926,7 +5926,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/IndexOfT/source.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/Array_IndexOf/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Array_IndexOf/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/IndexOfT/source.vb" id="Snippet1"::: ]]> @@ -6017,7 +6017,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/IndexOfT/source.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/Array_IndexOf/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Array_IndexOf/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/IndexOfT/source.vb" id="Snippet1"::: ]]> @@ -6289,7 +6289,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/IsSynchronized/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array.SyncRoot/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.SyncRoot/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/IsSynchronized/source.vb" id="Snippet1"::: ]]> @@ -6689,7 +6689,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/LastIndexOfT/source.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/Array_LastIndexOf/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Array_LastIndexOf/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/LastIndexOfT/source.vb" id="Snippet1"::: ]]> @@ -6776,7 +6776,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/LastIndexOfT/source.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/Array_LastIndexOf/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Array_LastIndexOf/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/LastIndexOfT/source.vb" id="Snippet1"::: ]]> @@ -6867,7 +6867,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/LastIndexOfT/source.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/Array_LastIndexOf/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Array_LastIndexOf/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/LastIndexOfT/source.vb" id="Snippet1"::: ]]> @@ -6952,7 +6952,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/Length/length1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.length/fs/length1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.length/vb/length1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/Length/length1.vb" id="Snippet1"::: ]]> @@ -7154,7 +7154,7 @@ int[,,] TDArray = new int[1,1,1]; :::code language="csharp" source="~/snippets/csharp/System/Array/Rank/rank1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.rank/fs/rank1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.rank/vb/rank1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/Rank/rank1.vb" id="Snippet1"::: ]]> @@ -7248,7 +7248,7 @@ int[,,] TDArray = new int[1,1,1]; :::code language="csharp" source="~/snippets/csharp/System/Array/ResizeT/resizexd.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array.Resize/FS/resizexd.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Resize/VB/resizexd.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/ResizeT/resizexd.vb" id="Snippet2"::: @@ -7257,7 +7257,7 @@ int[,,] TDArray = new int[1,1,1]; :::code language="csharp" source="~/snippets/csharp/System/Array/ResizeT/arrayresize.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array.Resize/FS/arrayresize.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Resize/VB/arrayresize.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/ResizeT/arrayresize.vb" id="Snippet1"::: ]]> @@ -7343,7 +7343,7 @@ int[,,] TDArray = new int[1,1,1]; :::code language="csharp" source="~/snippets/csharp/System/Array/Reverse/reversejagged.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.reverse/fs/reversejagged.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.reverse/vb/reversejagged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/Reverse/reversejagged.vb" id="Snippet1"::: @@ -7592,7 +7592,7 @@ int[,,] TDArray = new int[1,1,1]; :::code language="csharp" source="~/snippets/csharp/System/Array/GetValue/array_getsetvalue.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array_GetSetValue/FS/array_getsetvalue.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array_GetSetValue/VB/array_getsetvalue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/GetValue/array_getsetvalue.vb" id="Snippet1"::: ]]> @@ -8354,7 +8354,7 @@ int[,,] TDArray = new int[1,1,1]; :::code language="csharp" source="~/snippets/csharp/System/Array/Sort/arraysort.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array.Sort/FS/arraysort.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Sort/VB/arraysort.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/Sort/arraysort.vb" id="Snippet1"::: ]]> @@ -8462,7 +8462,7 @@ int[,,] TDArray = new int[1,1,1]; :::code language="csharp" source="~/snippets/csharp/System/Array/Sort/arraysort2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array.Sort2/FS/arraysort2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Sort2/VB/arraysort2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/Sort/arraysort2.vb" id="Snippet1"::: ]]> @@ -8585,7 +8585,7 @@ This method is an O(`n` log `n`) operation, where `n` is the @@ -8716,7 +8716,7 @@ This method is an O(`n` log `n`) operation, where `n` is the @@ -8826,7 +8826,7 @@ This method is an O(`n` log `n`) operation, where `n` is the @@ -8946,7 +8946,7 @@ This method is an O(`n` log `n`) operation, where `n` is the @@ -9086,7 +9086,7 @@ This method is an O(`n` log `n`) operation, where `n` is the @@ -9236,7 +9236,7 @@ This method is an O(`n` log `n`) operation, where `n` is the @@ -9377,7 +9377,7 @@ This method is an O(`n` log `n`) operation, where `n` is the @@ -9496,7 +9496,7 @@ This method is an O(`n` log `n`) operation, where `n` is the @@ -9600,7 +9600,7 @@ This method is an O(`n` log `n`) operation, where `n` is the @@ -9718,7 +9718,7 @@ This method is an O(`n` log `n`) operation, where `n` is the @@ -9851,7 +9851,7 @@ This method is an O(`n` log `n`) operation, where `n` is the @@ -9994,7 +9994,7 @@ This method is an O(`n` log `n`) operation, where `n` is the @@ -10134,7 +10134,7 @@ This method is an O(`n` log `n`) operation, where `n` is the @@ -10277,7 +10277,7 @@ This method is an O(`n` log `n`) operation, where `n` is the @@ -10438,7 +10438,7 @@ This method is an O(`n` log `n`) operation, where `n` is the @@ -10543,7 +10543,7 @@ This property implements the @@ -11543,13 +11543,13 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Array/TrueForAllT/trueforall2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.trueforall/fs/trueforall2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.trueforall/vb/trueforall2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/TrueForAllT/trueforall2.vb" id="Snippet2"::: The following example is similar to the first, except that it passes the string array to the method along with a lambda expression that determines whether a particular array element ends with the string representation of a number. :::code language="csharp" source="~/snippets/csharp/System/Array/TrueForAllT/trueforall1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.trueforall/fs/trueforall1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.trueforall/vb/trueforall1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/TrueForAllT/trueforall1.vb" id="Snippet1"::: In both cases, the method returns `false` as soon as it encounters the first array element that does not end in a number. Otherwise, it returns `true` after iterating all the elements in the array. diff --git a/xml/System/ArraySegment`1.xml b/xml/System/ArraySegment`1.xml index 89c3bdff228..0e7938f8773 100644 --- a/xml/System/ArraySegment`1.xml +++ b/xml/System/ArraySegment`1.xml @@ -120,7 +120,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ArraySegmentT/Overview/segmentexample.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.ArraySegment/FS/segmentexample.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ArraySegment/VB/segmentexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArraySegmentT/Overview/segmentexample.vb" id="Snippet2"::: Note, however, that although the structure can be used to divide an array into distinct segments, the segments are not completely independent of one another. The property returns the entire original array, not a copy of the array; therefore, changes made to the array returned by the property are made to the original array. If this is undesirable, you should perform operations on a copy of the array, rather than an object that represents a portion of the array. @@ -136,7 +136,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ArraySegmentT/Overview/example1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.arraysegment.class/fs/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.arraysegment.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArraySegmentT/Overview/example1.vb" id="Snippet1"::: @@ -145,7 +145,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ArraySegmentT/Overview/arraysegment.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.ArraySegment/FS/arraysegment.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ArraySegment/VB/arraysegment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArraySegmentT/Overview/arraysegment.vb" id="Snippet1"::: ]]> @@ -171,7 +171,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ArraySegmentT/Overview/arraysegment.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.ArraySegment/FS/arraysegment.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ArraySegment/VB/arraysegment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArraySegmentT/Overview/arraysegment.vb" id="Snippet1"::: ]]> @@ -360,7 +360,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ArraySegmentT/Overview/arraysegment.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.ArraySegment/FS/arraysegment.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ArraySegment/VB/arraysegment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArraySegmentT/Overview/arraysegment.vb" id="Snippet1"::: ]]> @@ -561,7 +561,7 @@ The underlying array of is @@ -946,7 +946,7 @@ The underlying array of is @@ -1805,7 +1805,7 @@ The underlying array of is diff --git a/xml/System/ArrayTypeMismatchException.xml b/xml/System/ArrayTypeMismatchException.xml index 1067bb13e76..c953e39b0de 100644 --- a/xml/System/ArrayTypeMismatchException.xml +++ b/xml/System/ArrayTypeMismatchException.xml @@ -93,7 +93,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ArrayTypeMismatchException/Overview/class1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.ArrayTypeMismatch/FS/class1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ArrayTypeMismatch/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArrayTypeMismatchException/Overview/class1.vb" id="Snippet1"::: ]]> @@ -172,7 +172,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ArrayTypeMismatchException/.ctor/arraytypemismatch_constructor1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/ArrayTypeMisMatch_Constructor1/FS/arraytypemismatch_constructor1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ArrayTypeMisMatch_Constructor1/VB/arraytypemismatch_constructor1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArrayTypeMismatchException/.ctor/arraytypemismatch_constructor1.vb" id="Snippet1"::: ]]> @@ -241,7 +241,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ArrayTypeMismatchException/.ctor/arraytypemismatch_constructor2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/ArrayTypeMisMatch_Constructor2/FS/arraytypemismatch_constructor2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ArrayTypeMisMatch_Constructor2/VB/arraytypemismatch_constructor2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArrayTypeMismatchException/.ctor/arraytypemismatch_constructor2.vb" id="Snippet1"::: ]]> @@ -377,7 +377,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ArrayTypeMismatchException/.ctor/arraytypemismatch_constructor3.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/ArrayTypeMisMatch_Constructor3/FS/arraytypemismatch_constructor3.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ArrayTypeMisMatch_Constructor3/VB/arraytypemismatch_constructor3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArrayTypeMismatchException/.ctor/arraytypemismatch_constructor3.vb" id="Snippet1"::: ]]> diff --git a/xml/System/AsyncCallback.xml b/xml/System/AsyncCallback.xml index 50fecaa9d41..c79215329c7 100644 --- a/xml/System/AsyncCallback.xml +++ b/xml/System/AsyncCallback.xml @@ -81,7 +81,7 @@ :::code language="csharp" source="~/snippets/csharp/System/AsyncCallback/Overview/AsyncDelegateNoStateObject.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/AsyncDesignPattern/FS/AsyncDelegateNoStateObject.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AsyncDesignPattern/VB/AsyncDelegateNoState.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/AsyncCallback/Overview/AsyncDelegateNoState.vb" id="Snippet4"::: ]]> diff --git a/xml/System/Attribute.xml b/xml/System/Attribute.xml index a4068c53df0..24b1aa642d3 100644 --- a/xml/System/Attribute.xml +++ b/xml/System/Attribute.xml @@ -101,7 +101,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Attribute/Overview/customattribute.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/AnimalAttributes/FS/customattribute.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AnimalAttributes/VB/customattribute.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/Overview/customattribute.vb" id="Snippet1"::: ]]> @@ -161,7 +161,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Attribute/.ctor/getcustattrparam.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Attribute.GetCustomAttribute/FS/getcustattrparam.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.GetCustomAttribute/VB/getcustattrparam.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/.ctor/getcustattrparam.vb" id="Snippet2"::: ]]> @@ -242,7 +242,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/Equals/equals.cs" interactive="try-dotnet"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Attribute.Equals/FS/equals.fs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.Equals/VB/equals.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/Equals/equals.vb"::: ]]> @@ -325,7 +325,7 @@ When implementing your own class derived from , you can o   :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttribute/id1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/IsDefined/FS/id1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IsDefined/VB/id1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttribute/id1.vb" id="Snippet1"::: ]]> @@ -403,7 +403,7 @@ When implementing your own class derived from , you can o   :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttribute/id4.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/IsDefined/FS/id4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IsDefined/VB/id4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttribute/id4.vb" id="Snippet4"::: ]]> @@ -476,7 +476,7 @@ When implementing your own class derived from , you can o   :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttribute/id2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/IsDefined/FS/id2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IsDefined/VB/id2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttribute/id2.vb" id="Snippet2"::: ]]> @@ -551,7 +551,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/.ctor/getcustattrparam.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Attribute.GetCustomAttribute/FS/getcustattrparam.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.GetCustomAttribute/VB/getcustattrparam.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/.ctor/getcustattrparam.vb" id="Snippet1"::: ]]> @@ -631,7 +631,7 @@ When implementing your own class derived from , you can o   :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttribute/id1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/IsDefined/FS/id1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IsDefined/VB/id1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttribute/id1.vb" id="Snippet1"::: ]]> @@ -710,7 +710,7 @@ When implementing your own class derived from , you can o   :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttribute/id4.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/IsDefined/FS/id4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IsDefined/VB/id4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttribute/id4.vb" id="Snippet4"::: ]]> @@ -785,7 +785,7 @@ When implementing your own class derived from , you can o   :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttribute/id2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/IsDefined/FS/id2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IsDefined/VB/id2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttribute/id2.vb" id="Snippet2"::: ]]> @@ -862,7 +862,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/.ctor/getcustattrprminh.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Attribute.GetCustomAttribute/FS/getcustattrprminh.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.GetCustomAttribute/VB/getcustattrprminh.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/.ctor/getcustattrprminh.vb" id="Snippet3"::: ]]> @@ -941,7 +941,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttributes/ca1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/GetCustomAttributes/FS/ca1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttributes/ca1.vb" id="Snippet1"::: ]]> @@ -1007,7 +1007,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttributes/ca4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/GetCustomAttributes/FS/ca4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttributes/ca4.vb" id="Snippet4"::: ]]> @@ -1068,7 +1068,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttributes/ca2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/GetCustomAttributes/FS/ca2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttributes/ca2.vb" id="Snippet2"::: ]]> @@ -1131,7 +1131,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttributes/ca5.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/GetCustomAttributes/FS/ca5.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttributes/ca5.vb" id="Snippet5"::: ]]> @@ -1192,7 +1192,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttributes/ca1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/GetCustomAttributes/FS/ca1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttributes/ca1.vb" id="Snippet1"::: ]]> @@ -1259,7 +1259,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttributes/ca1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/GetCustomAttributes/FS/ca1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttributes/ca1.vb" id="Snippet1"::: ]]> @@ -1329,7 +1329,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttributes/ca4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/GetCustomAttributes/FS/ca4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttributes/ca4.vb" id="Snippet4"::: ]]> @@ -1397,7 +1397,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttributes/ca2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/GetCustomAttributes/FS/ca2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttributes/ca2.vb" id="Snippet2"::: ]]> @@ -1457,7 +1457,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttributes/ca2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/GetCustomAttributes/FS/ca2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttributes/ca2.vb" id="Snippet2"::: ]]> @@ -1530,7 +1530,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttributes/ca5.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/GetCustomAttributes/FS/ca5.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttributes/ca5.vb" id="Snippet5"::: ]]> @@ -1597,7 +1597,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttributes/ca5.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/GetCustomAttributes/FS/ca5.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttributes/ca5.vb" id="Snippet5"::: ]]> @@ -1669,7 +1669,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttributes/ca1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/GetCustomAttributes/FS/ca1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttributes/ca1.vb" id="Snippet1"::: ]]> @@ -1746,7 +1746,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttributes/ca4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/GetCustomAttributes/FS/ca4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttributes/ca4.vb" id="Snippet4"::: ]]> @@ -1818,7 +1818,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttributes/ca2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/GetCustomAttributes/FS/ca2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttributes/ca2.vb" id="Snippet2"::: ]]> @@ -1893,7 +1893,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttributes/ca5.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/GetCustomAttributes/FS/ca5.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttributes/ca5.vb" id="Snippet5"::: ]]> @@ -1973,7 +1973,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttributes/ca4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/GetCustomAttributes/FS/ca4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GetCustomAttributes/VB/ca4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttributes/ca4.vb" id="Snippet4"::: ]]> @@ -2043,7 +2043,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetHashCode/hashcode.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/GetHashCode/FS/hashcode.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GetHashCode/VB/hashcode.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetHashCode/hashcode.vb" id="Snippet1"::: ]]> @@ -2104,7 +2104,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/IsDefaultAttribute/defattr.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/IsDefaultAttribute/FS/defattr.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IsDefaultAttribute/VB/defattr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/IsDefaultAttribute/defattr.vb" id="Snippet1"::: ]]> @@ -2180,7 +2180,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttribute/id1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/IsDefined/FS/id1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IsDefined/VB/id1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttribute/id1.vb" id="Snippet1"::: ]]> @@ -2251,7 +2251,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttribute/id4.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/IsDefined/FS/id4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IsDefined/VB/id4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttribute/id4.vb" id="Snippet4"::: ]]> @@ -2321,7 +2321,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttribute/id2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/IsDefined/FS/id2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IsDefined/VB/id2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttribute/id2.vb" id="Snippet2"::: ]]> @@ -2389,7 +2389,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttribute/id5.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/IsDefined/FS/id5.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IsDefined/VB/id5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttribute/id5.vb" id="Snippet5"::: ]]> @@ -2461,7 +2461,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttribute/id1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/IsDefined/FS/id1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IsDefined/VB/id1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttribute/id1.vb" id="Snippet1"::: ]]> @@ -2533,7 +2533,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttribute/id4.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/IsDefined/FS/id4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IsDefined/VB/id4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttribute/id4.vb" id="Snippet4"::: ]]> @@ -2611,7 +2611,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttribute/id2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/IsDefined/FS/id2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IsDefined/VB/id2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttribute/id2.vb" id="Snippet2"::: ]]> @@ -2676,7 +2676,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/GetCustomAttribute/id5.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/IsDefined/FS/id5.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IsDefined/VB/id5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/GetCustomAttribute/id5.vb" id="Snippet5"::: ]]> @@ -2750,7 +2750,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/Match/match.cs" interactive="try-dotnet"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/Match/FS/match.fs"::: - [!code-vb[Match#1](~/snippets/visualbasic/VS_Snippets_CLR/Match/VB/match.vb)] + [!code-vb[Match#1](~/snippets/visualbasic/System/Attribute/Match/match.vb)] ]]> @@ -3005,7 +3005,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/TypeId/typeid.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Attribute.TypeId/FS/typeid.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.TypeId/VB/typeid.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/TypeId/typeid.vb" id="Snippet1"::: ]]> diff --git a/xml/System/AttributeTargets.xml b/xml/System/AttributeTargets.xml index a48e6eadd02..01dfbde7bac 100644 --- a/xml/System/AttributeTargets.xml +++ b/xml/System/AttributeTargets.xml @@ -79,7 +79,7 @@ :::code language="csharp" source="~/snippets/csharp/System/AttributeTargets/Overview/attrtargs.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/AttrTargs/FS/attrtargs.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AttrTargs/VB/AttrTargs.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AttributeTargets/Overview/AttrTargs.vb" id="Snippet1"::: ]]> diff --git a/xml/System/AttributeUsageAttribute.xml b/xml/System/AttributeUsageAttribute.xml index 3d6cd43f930..d4e4b5df1f8 100644 --- a/xml/System/AttributeUsageAttribute.xml +++ b/xml/System/AttributeUsageAttribute.xml @@ -271,13 +271,13 @@ :::code language="csharp" source="~/snippets/csharp/System/AttributeUsageAttribute/Inherited/Inherited1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.AttributeUsageAttribute.Inherited/fs/Inherited1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.AttributeUsageAttribute.Inherited/vb/Inherited1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AttributeUsageAttribute/Inherited/Inherited1.vb" id="Snippet1"::: The example then defines two base classes. The first, `BaseA`, has a single method, `MethodA`. The second, `BaseB`, has a single method, `MethodB`. `BaseA` and `MethodA` are tagged with the `InheritedAttribute` attribute, and `BaseB` and `MethodB` are tagged with the `NotInheritedAttribute` attribute. `DerivedA` inherits from `BaseA` and overrides its `MethodA` method. `DerivedB` inherits from `BaseB` and overrides its `MethodB` method. :::code language="csharp" source="~/snippets/csharp/System/AttributeUsageAttribute/Inherited/Inherited1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.AttributeUsageAttribute.Inherited/fs/Inherited1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.AttributeUsageAttribute.Inherited/vb/Inherited1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/AttributeUsageAttribute/Inherited/Inherited1.vb" id="Snippet2"::: As the output from the example shows, `DerivedA` and `DerivedA.MethodA` inherit the `InheritedAttribute` attribute, but `DerivedB` and `DerivedB.MethodB` do not inherit the `NotInheritedAttribute` attribute. diff --git a/xml/System/BadImageFormatException.xml b/xml/System/BadImageFormatException.xml index c28d039692b..9531c95f164 100644 --- a/xml/System/BadImageFormatException.xml +++ b/xml/System/BadImageFormatException.xml @@ -84,7 +84,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BadImageFormatException/Overview/condition1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.badimageformatexception.class/fs/condition1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/condition1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/BadImageFormatException/Overview/condition1.vb" id="Snippet1"::: To address this exception, access the methods defined in the DLL by using the features provided by your development language, such as the `Declare` statement in Visual Basic or the attribute with the `extern` keyword in C# and F#. @@ -101,13 +101,13 @@ :::code language="csharp" source="~/snippets/csharp/System/BadImageFormatException/Overview/stringlib.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.badimageformatexception.class/fs/stringlib.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/stringlib.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/BadImageFormatException/Overview/stringlib.vb" id="Snippet2"::: The following example uses reflection to load an assembly named StringLib.dll. If the source code is compiled with a .NET Framework 1.1 compiler, a is thrown by the method. :::code language="csharp" source="~/snippets/csharp/System/BadImageFormatException/Overview/loadstringlib.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.badimageformatexception.class/fs/loadstringlib.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/loadstringlib.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/BadImageFormatException/Overview/loadstringlib.vb" id="Snippet3"::: To address this exception, make sure that the assembly whose code is executing and that throws the exception, and the assembly to be loaded, both target compatible versions of .NET. @@ -115,7 +115,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BadImageFormatException/Overview/targetplatform1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.badimageformatexception.class/fs/targetplatform1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/targetplatform1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/BadImageFormatException/Overview/targetplatform1.vb" id="Snippet4"::: - Reflecting on C++ executable files might throw this exception. This is most likely caused by the C++ compiler stripping the relocation addresses or the .Reloc section from the executable file. To preserve the .relocation address in a C++ executable file, specify /fixed:no when linking. diff --git a/xml/System/Base64FormattingOptions.xml b/xml/System/Base64FormattingOptions.xml index 017ba17e799..128d31e7883 100644 --- a/xml/System/Base64FormattingOptions.xml +++ b/xml/System/Base64FormattingOptions.xml @@ -71,7 +71,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Base64FormattingOptions/Overview/ToBase64String3.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.Convert.ToBase64String/fs/ToBase64String3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String3.vb" id="Snippet3"::: As the output from the example shows, the succeeds in restoring the original byte array; the line break characters are ignored during the conversion. diff --git a/xml/System/BitConverter.xml b/xml/System/BitConverter.xml index d39d21fd84a..d45a46d0a53 100644 --- a/xml/System/BitConverter.xml +++ b/xml/System/BitConverter.xml @@ -91,7 +91,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/Overview/example1.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.Class/FS/example1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/example1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/Overview/example1.vb" id="Snippet3"::: The order of bytes in the array returned by the method overloads (as well as the order of bits in the integer returned by the method) depends on whether the computer architecture is little-endian or big-endian. Similarly, the order of bytes in the array and returned by the `To`*IntegerValue* methods and the method depends on whether the computer architecture is little-endian or big-endian. The endianness of an architecture is indicated by the property, which returns `true` on little-endian systems and `false` on big-endian systems. On little-endian systems, lower-order bytes precede higher-order bytes. On big-endian system, higher-order bytes precede lower-order bytes. The following table illustrates the difference in the byte arrays that result from passing the integer 1,234,567,890 (0x499602D2) to the method. The bytes are listed in order from the byte at index 0 to the byte at index 3. @@ -108,7 +108,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/Overview/networkorder1.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.Class/FS/networkorder1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/networkorder1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/Overview/networkorder1.vb" id="Snippet4"::: - If systems sending and receiving data can have different endianness and the data to be transmitted consists of signed integers, call the method to convert the data to network byte order and the method to convert it to the order required by the recipient. @@ -117,7 +117,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/Overview/bitconv.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.Class/FS/bitconv.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/bitconv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/Overview/bitconv.vb" id="Snippet1"::: ]]> @@ -189,7 +189,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/DoubleToInt64Bits/dbltobits.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.DoubleInt64/FS/dbltobits.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.DoubleInt64/VB/dbltobits.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/DoubleToInt64Bits/dbltobits.vb" id="Snippet2"::: ]]> @@ -311,7 +311,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/GetBytes/bytesbool.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/FS/bytesbool.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/bytesbool.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/GetBytes/bytesbool.vb" id="Snippet1"::: ]]> @@ -377,7 +377,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/GetBytes/byteschar.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/FS/byteschar.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/byteschar.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/GetBytes/byteschar.vb" id="Snippet2"::: ]]> @@ -449,7 +449,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/GetBytes/bytesdouble.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/FS/bytesdouble.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/bytesdouble.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/GetBytes/bytesdouble.vb" id="Snippet4"::: ]]> @@ -594,7 +594,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/GetBytes/bytesint16.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/FS/bytesint16.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/VB/bytesint16.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/GetBytes/bytesint16.vb" id="Snippet3"::: ]]> @@ -666,7 +666,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/GetBytes/bytesint32.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/FS/bytesint32.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/VB/bytesint32.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/GetBytes/bytesint32.vb" id="Snippet2"::: ]]> @@ -738,7 +738,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/GetBytes/bytesint64.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/FS/bytesint64.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/VB/bytesint64.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/GetBytes/bytesint64.vb" id="Snippet1"::: ]]> @@ -810,7 +810,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/GetBytes/bytessingle.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/FS/bytessingle.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/bytessingle.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/GetBytes/bytessingle.vb" id="Snippet3"::: ]]> @@ -923,7 +923,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/GetBytes/bytesuint16.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/FS/bytesuint16.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/VB/bytesuint16.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/GetBytes/bytesuint16.vb" id="Snippet3"::: ]]> @@ -995,7 +995,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/GetBytes/bytesuint32.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/FS/bytesuint32.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/VB/bytesuint32.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/GetBytes/bytesuint32.vb" id="Snippet2"::: ]]> @@ -1067,7 +1067,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/GetBytes/bytesuint64.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/FS/bytesuint64.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/VB/bytesuint64.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/GetBytes/bytesuint64.vb" id="Snippet1"::: ]]> @@ -1302,7 +1302,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/DoubleToInt64Bits/bitstodbl.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.DoubleInt64/FS/bitstodbl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.DoubleInt64/VB/bitstodbl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/DoubleToInt64Bits/bitstodbl.vb" id="Snippet1"::: ]]> @@ -1366,7 +1366,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/Overview/littleend.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.Class/FS/littleend.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/littleend.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/Overview/littleend.vb" id="Snippet2"::: ]]> @@ -1564,7 +1564,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToBoolean/batobool.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/FS/batobool.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batobool.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToBoolean/batobool.vb" id="Snippet1"::: ]]> @@ -1679,7 +1679,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToBoolean/batochar.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/FS/batochar.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batochar.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToBoolean/batochar.vb" id="Snippet2"::: ]]> @@ -1802,7 +1802,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToBoolean/batodouble.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/FS/batodouble.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batodouble.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToBoolean/batodouble.vb" id="Snippet3"::: ]]> @@ -2090,7 +2090,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToInt16/batoint16.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToXXX.SInts/FS/batoint16.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.SInts/VB/batoint16.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToInt16/batoint16.vb" id="Snippet1"::: ]]> @@ -2213,7 +2213,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToInt32/toint32.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.bitconverter.toint32/fs/toint32.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.bitconverter.toint32/vb/toint32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToInt32/toint32.vb" id="Snippet1"::: ]]> @@ -2336,7 +2336,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToInt16/batoint64.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToXXX.SInts/FS/batoint64.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.SInts/VB/batoint64.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToInt16/batoint64.vb" id="Snippet3"::: ]]> @@ -2459,7 +2459,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToBoolean/batosingle.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/FS/batosingle.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batosingle.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToBoolean/batosingle.vb" id="Snippet4"::: ]]> @@ -2543,7 +2543,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToString/batostring.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToString/FS/batostring.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToString/VB/batostring.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToString/batostring.vb" id="Snippet1"::: ]]> @@ -2612,7 +2612,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToString/batostringii.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToString/FS/batostringii.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToString/VB/batostringii.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToString/batostringii.vb" id="Snippet2"::: ]]> @@ -2685,7 +2685,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToString/batostringii.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToString/FS/batostringii.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToString/VB/batostringii.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToString/batostringii.vb" id="Snippet2"::: ]]> @@ -2908,7 +2908,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToUInt16/batouint16.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/FS/batouint16.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/VB/batouint16.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToUInt16/batouint16.vb" id="Snippet1"::: ]]> @@ -3037,7 +3037,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToUInt16/batouint32.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/FS/batouint32.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/VB/batouint32.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToUInt16/batouint32.vb" id="Snippet2"::: ]]> @@ -3166,7 +3166,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToUInt16/batouint64.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/FS/batouint64.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/VB/batouint64.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToUInt16/batouint64.vb" id="Snippet3"::: ]]> diff --git a/xml/System/Boolean.xml b/xml/System/Boolean.xml index 33a6e1108cb..92006fa8225 100644 --- a/xml/System/Boolean.xml +++ b/xml/System/Boolean.xml @@ -203,7 +203,7 @@ The following code example demonstrates generic and nongeneric versions of the < :::code language="csharp" source="~/snippets/csharp/System/Boolean/CompareTo/cat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Boolean/CompareTo/cat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/T.CompareTo/VB/cat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Boolean/CompareTo/cat.vb" id="Snippet1"::: ]]> @@ -701,7 +701,7 @@ The following code example illustrates the use of :::code language="csharp" source="~/snippets/csharp/System/Boolean/Parse/booleanmembers.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Boolean/Parse/booleanmembers.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Boolean/VB/booleanmembers.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Boolean/Parse/booleanmembers.vb" id="Snippet2"::: ]]> @@ -1972,7 +1972,7 @@ The following example illustrates the method. :::code language="csharp" source="~/snippets/csharp/System/Boolean/Parse/booleanmembers.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Boolean/Parse/booleanmembers.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Boolean/VB/booleanmembers.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Boolean/Parse/booleanmembers.vb" id="Snippet1"::: ]]> @@ -2262,7 +2262,7 @@ The following example calls the method to pars :::code language="csharp" source="~/snippets/csharp/System/Boolean/TryParse/tryparseex.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Boolean/TryParse/tryparseex.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.boolean.tryparse/vb/tryparseex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Boolean/TryParse/tryparseex.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Buffer.xml b/xml/System/Buffer.xml index 2745efbc38e..8fb329e8e3b 100644 --- a/xml/System/Buffer.xml +++ b/xml/System/Buffer.xml @@ -78,7 +78,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Buffer/Overview/buffer.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Buffer.BlockCopy/FS/buffer.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.BlockCopy/VB/buffer.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Buffer/Overview/buffer.vb" id="Snippet1"::: ]]> @@ -155,20 +155,20 @@ :::code language="csharp" source="~/snippets/csharp/System/Buffer/Overview/overlap1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Buffer.BlockCopy/FS/overlap1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.BlockCopy/VB/overlap1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Buffer/Overview/overlap1.vb" id="Snippet3"::: In the following example, the values of bytes 12-28 in an array named `arr` are copied to bytes 0-16. Again, despite the overlapping range, the values of the source bytes are successfully copied. :::code language="csharp" source="~/snippets/csharp/System/Buffer/Overview/overlap1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Buffer.BlockCopy/FS/overlap1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.BlockCopy/VB/overlap1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Buffer/Overview/overlap1.vb" id="Snippet4"::: ## Examples The following example copies regions of arrays by using the method. For each operation, it lists the source and destination arrays as both an array of values and as a sequence of bytes. The example illustrates the importance of considering a system's endianness when working with the method: Because Windows systems are little-endian, the lower-order bytes of a primitive data type's value precede the higher-order bytes. :::code language="csharp" source="~/snippets/csharp/System/Buffer/Overview/bcopy.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Buffer.BlockCopy/FS/bcopy.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.BlockCopy/VB/bcopy.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Buffer/Overview/bcopy.vb" id="Snippet2"::: ]]> @@ -248,7 +248,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Buffer/ByteLength/bytelength.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Buffer.Bytes/FS/bytelength.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.Bytes/VB/bytelength.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Buffer/ByteLength/bytelength.vb" id="Snippet1"::: ]]> @@ -327,7 +327,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Buffer/ByteLength/getbyte.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Buffer.Bytes/FS/getbyte.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.Bytes/VB/getbyte.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Buffer/ByteLength/getbyte.vb" id="Snippet3"::: ]]> @@ -560,7 +560,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Buffer/ByteLength/setbyte.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Buffer.Bytes/FS/setbyte.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.Bytes/VB/setbyte.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Buffer/ByteLength/setbyte.vb" id="Snippet2"::: ]]> diff --git a/xml/System/Byte.xml b/xml/System/Byte.xml index 6540c5f72d4..33dd96c9fa4 100644 --- a/xml/System/Byte.xml +++ b/xml/System/Byte.xml @@ -404,7 +404,7 @@ The following code example demonstrates generic and non-generic versions of the `CompareTo` method for several value and reference types. :::code language="csharp" source="~/snippets/csharp/System/Boolean/CompareTo/cat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/T.CompareTo/VB/cat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Boolean/CompareTo/cat.vb" id="Snippet1"::: ]]> @@ -491,7 +491,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/CompareTo/systembyte.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte Examples/FS/systembyte.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte Examples/VB/systembyte.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/CompareTo/systembyte.vb" id="Snippet3"::: ]]> @@ -723,7 +723,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Equals/eq.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.byte.equals/fs/eq.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.byte.equals/vb/eq.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/Equals/eq.vb" id="Snippet1"::: ]]> @@ -1261,7 +1261,7 @@ For , this method matches the IEEE 754: :::code language="csharp" source="~/snippets/csharp/System/Byte/CompareTo/systembyte.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte Examples/FS/systembyte.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte Examples/VB/systembyte.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/CompareTo/systembyte.vb" id="Snippet1"::: ]]> @@ -1372,7 +1372,7 @@ For , this method matches the IEEE 754: :::code language="csharp" source="~/snippets/csharp/System/Byte/CompareTo/systembyte.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte Examples/FS/systembyte.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte Examples/VB/systembyte.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/CompareTo/systembyte.vb" id="Snippet1"::: ]]> @@ -1466,7 +1466,7 @@ For , this method matches the IEEE 754: :::code language="csharp" source="~/snippets/csharp/System/Byte/Parse/parse.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte.Parse/FS/parse.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.Parse/VB/parse.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/Parse/parse.vb" id="Snippet1"::: ]]> @@ -1680,7 +1680,7 @@ For , this method matches the IEEE 754: :::code language="csharp" source="~/snippets/csharp/System/Byte/Parse/parse.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte.Parse/FS/parse.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.Parse/VB/parse.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/Parse/parse.vb" id="Snippet3"::: ]]> @@ -1797,7 +1797,7 @@ For , this method matches the IEEE 754: :::code language="csharp" source="~/snippets/csharp/System/Byte/Parse/parse.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte.Parse/FS/parse.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.Parse/VB/parse.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/Parse/parse.vb" id="Snippet2"::: ]]> @@ -2033,7 +2033,7 @@ For , this method matches the IEEE 754: :::code language="csharp" source="~/snippets/csharp/System/Byte/Parse/parse.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte.Parse/FS/parse.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.Parse/VB/parse.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/Parse/parse.vb" id="Snippet4"::: ]]> @@ -6075,7 +6075,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Byte/ToString/NewByteMembers.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte.ToString/FS/NewByteMembers.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.ToString/VB/NewByteMembers.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/ToString/NewByteMembers.vb" id="Snippet2"::: ]]> @@ -6175,7 +6175,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Byte/ToString/NewByteMembers.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte.ToString/FS/NewByteMembers.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.ToString/VB/NewByteMembers.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/ToString/NewByteMembers.vb" id="Snippet3"::: ]]> @@ -6270,7 +6270,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Byte/ToString/NewByteMembers.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte.ToString/FS/NewByteMembers.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.ToString/VB/NewByteMembers.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/ToString/NewByteMembers.vb" id="Snippet4"::: ]]> @@ -6375,7 +6375,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Byte/ToString/NewByteMembers.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte.ToString/FS/NewByteMembers.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.ToString/VB/NewByteMembers.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/ToString/NewByteMembers.vb" id="Snippet5"::: ]]> @@ -6738,7 +6738,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Byte/TryParse/TryParse.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte.TryParse/fs/TryParse.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.TryParse/vb/TryParse.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/TryParse/TryParse.vb" id="Snippet1"::: ]]> @@ -7108,7 +7108,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Byte/TryParse/TryParse2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte.TryParse/fs/TryParse2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.TryParse/vb/TryParse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/TryParse/TryParse2.vb" id="Snippet2"::: ]]> diff --git a/xml/System/Char.xml b/xml/System/Char.xml index e6502c2ff2a..4c5b0ae2ffc 100644 --- a/xml/System/Char.xml +++ b/xml/System/Char.xml @@ -263,7 +263,7 @@ The following code example demonstrates some of the methods in All members of this type are thread safe. Members that appear to modify instance state actually return a new instance initialized with the new value. As with any other type, reading and writing to a shared variable that contains an instance of this type must be protected by a lock to guarantee thread safety. @@ -371,7 +371,7 @@ The following code example demonstrates some of the methods in @@ -464,7 +464,7 @@ The following code example demonstrates some of the methods in @@ -534,7 +534,7 @@ The following code example demonstrates some of the methods in @@ -564,7 +564,7 @@ The following code example demonstrates some of the methods in @@ -840,7 +840,7 @@ The following code example demonstrates some of the methods in @@ -964,7 +964,7 @@ The following code example demonstrates some of the methods in @@ -1048,7 +1048,7 @@ The following code example demonstrates some of the methods in @@ -1129,7 +1129,7 @@ The following code example demonstrates some of the methods in @@ -1788,7 +1788,7 @@ The method does not validate that `maxInclusive` is greater than or equal :::code language="csharp" source="~/snippets/csharp/System/Char/IsControl/IsControl1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsControl/FS/IsControl1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsControl/VB/IsControl1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsControl/IsControl1.vb" id="Snippet1"::: ]]> @@ -1858,7 +1858,7 @@ The method does not validate that `maxInclusive` is greater than or equal :::code language="csharp" source="~/snippets/csharp/System/Char/IsControl/IsControl2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsControl/FS/IsControl2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsControl/VB/IsControl2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsControl/IsControl2.vb" id="Snippet2"::: ]]> @@ -1889,7 +1889,7 @@ The method does not validate that `maxInclusive` is greater than or equal :::code language="csharp" source="~/snippets/csharp/System/Char/IsDigit/isdigit.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsDigit/FS/isdigit.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsDigit/VB/isdigit.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsDigit/isdigit.vb" id="Snippet4"::: ]]> @@ -2051,7 +2051,7 @@ The method does not validate that `maxInclusive` is greater than or equal :::code language="csharp" source="~/snippets/csharp/System/Char/IsHighSurrogate/sur.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/char.surrogate/FS/sur.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/char.surrogate/VB/sur.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsHighSurrogate/sur.vb" id="Snippet1"::: ]]> @@ -2211,7 +2211,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsLetter/isletter.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsLetter/FS/isletter.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLetter/VB/isletter.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsLetter/isletter.vb" id="Snippet5"::: ]]> @@ -2389,7 +2389,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsLetterOrDigit/isletterordigit.cs" interactive="try-dotnet" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsLetterOrDigit/FS/isletterordigit.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLetterOrDigit/VB/isletterordigit.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsLetterOrDigit/isletterordigit.vb" id="Snippet6"::: ]]> @@ -2551,7 +2551,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsLower/islower.cs" interactive="try-dotnet" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsLower/FS/islower.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLower/VB/islower.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsLower/islower.vb" id="Snippet7"::: ]]> @@ -2711,7 +2711,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsHighSurrogate/sur.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/char.surrogate/FS/sur.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/char.surrogate/VB/sur.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsHighSurrogate/sur.vb" id="Snippet1"::: ]]> @@ -2914,7 +2914,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsNumber/isnumber1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsNumber/FS/isnumber1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsNumber/VB/isnumber1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsNumber/isnumber1.vb" id="Snippet1"::: @@ -2923,7 +2923,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsNumber/isnumber.cs" interactive="try-dotnet" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsNumber/FS/isnumber.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsNumber/VB/isnumber.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsNumber/isnumber.vb" id="Snippet8"::: ]]> @@ -3004,7 +3004,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsNumber/isnumber1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsNumber/FS/isnumber1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsNumber/VB/isnumber1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsNumber/isnumber1.vb" id="Snippet2"::: @@ -3013,7 +3013,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsNumber/isnumber.cs" interactive="try-dotnet" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsNumber/FS/isnumber.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsNumber/VB/isnumber.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsNumber/isnumber.vb" id="Snippet8"::: ]]> @@ -3143,7 +3143,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsPunctuation/ispunctuation.cs" interactive="try-dotnet" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsPunctuation/FS/ispunctuation.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsPunctuation/VB/ispunctuation.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsPunctuation/ispunctuation.vb" id="Snippet9"::: ]]> @@ -3571,7 +3571,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsSeparator/isseparator1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsSeparator/FS/isseparator1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSeparator/VB/isseparator1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsSeparator/isseparator1.vb" id="Snippet1"::: ]]> @@ -3658,7 +3658,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsSeparator/isseparator.cs" interactive="try-dotnet" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsSeparator/FS/isseparator.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSeparator/VB/isseparator.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsSeparator/isseparator.vb" id="Snippet10"::: ]]> @@ -3689,7 +3689,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsSurrogate/issurrogate.cs" interactive="try-dotnet" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsSurrogate/FS/issurrogate.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSurrogate/VB/issurrogate.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsSurrogate/issurrogate.vb" id="Snippet11"::: ]]> @@ -3844,7 +3844,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsHighSurrogate/sur.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/char.surrogate/FS/sur.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/char.surrogate/VB/sur.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsHighSurrogate/sur.vb" id="Snippet1"::: ]]> @@ -4015,7 +4015,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsSymbol/issymbol.cs" interactive="try-dotnet" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsSymbol/FS/issymbol.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSymbol/VB/issymbol.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsSymbol/issymbol.vb" id="Snippet12"::: ]]> @@ -4365,7 +4365,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsWhiteSpace/iswhitespace.cs" interactive="try-dotnet" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsWhiteSpace/FS/iswhitespace.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsWhiteSpace/VB/iswhitespace.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsWhiteSpace/iswhitespace.vb" id="Snippet14"::: ]]> @@ -4683,7 +4683,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/Parse/parse.cs" interactive="try-dotnet" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.Parse/FS/parse.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.Parse/VB/parse.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/Parse/parse.vb" id="Snippet15"::: ]]> @@ -9252,7 +9252,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Char/ToLower/tolower.cs" interactive="try-dotnet" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.ToLower/FS/tolower.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.ToLower/VB/tolower.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/ToLower/tolower.vb" id="Snippet16"::: ]]> @@ -9476,7 +9476,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Char/ToString/tostring.cs" interactive="try-dotnet" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.ToString/FS/tostring.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.ToString/VB/tostring.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/ToString/tostring.vb" id="Snippet17"::: ]]> @@ -9734,7 +9734,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Char/ToUpper/toupper1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.char.toupper/fs/toupper1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.char.toupper/vb/toupper1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/ToUpper/toupper1.vb" id="Snippet1"::: ]]> @@ -9810,7 +9810,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Char/ToUpper/toupper5.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.char.toupper/fs/toupper5.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.char.toupper/vb/toupper5.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/ToUpper/toupper5.vb" id="Snippet2"::: ]]> @@ -9959,7 +9959,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Char/TryParse/tp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/T.TryParse/FS/tp.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/T.TryParse/VB/tp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/TryParse/tp.vb" id="Snippet1"::: ]]> diff --git a/xml/System/CharEnumerator.xml b/xml/System/CharEnumerator.xml index 42064ab1eb7..5960bb4745c 100644 --- a/xml/System/CharEnumerator.xml +++ b/xml/System/CharEnumerator.xml @@ -100,13 +100,13 @@ :::code language="csharp" source="~/snippets/csharp/System/CharEnumerator/Overview/CharEnumerator1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.CharEnumerator.Class/fs/CharEnumerator1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CharEnumerator.Class/vb/CharEnumerator1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/CharEnumerator/Overview/CharEnumerator1.vb" id="Snippet1"::: Note, however, that the same operation can be performed somewhat more intuitively by using `foreach` (in C#) or `For Each` (in Visual Basic), as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/CharEnumerator/Overview/CharEnumerator1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.CharEnumerator.Class/fs/CharEnumerator1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CharEnumerator.Class/vb/CharEnumerator1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/CharEnumerator/Overview/CharEnumerator1.vb" id="Snippet2"::: ]]> @@ -239,13 +239,13 @@ :::code language="csharp" source="~/snippets/csharp/System/CharEnumerator/Overview/CharEnumerator1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.CharEnumerator.Class/fs/CharEnumerator1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CharEnumerator.Class/vb/CharEnumerator1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/CharEnumerator/Overview/CharEnumerator1.vb" id="Snippet1"::: Note, however, that the same operation can be performed somewhat more intuitively by using `foreach` (in C#) or `For Each` (in Visual Basic), as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/CharEnumerator/Overview/CharEnumerator1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.CharEnumerator.Class/fs/CharEnumerator1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CharEnumerator.Class/vb/CharEnumerator1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/CharEnumerator/Overview/CharEnumerator1.vb" id="Snippet2"::: ]]> @@ -364,13 +364,13 @@ :::code language="csharp" source="~/snippets/csharp/System/CharEnumerator/Overview/CharEnumerator1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.CharEnumerator.Class/fs/CharEnumerator1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CharEnumerator.Class/vb/CharEnumerator1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/CharEnumerator/Overview/CharEnumerator1.vb" id="Snippet1"::: Note, however, that the same operation can be performed somewhat more intuitively by using `foreach` (in C#) or `For Each` (in Visual Basic), as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/CharEnumerator/Overview/CharEnumerator1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.CharEnumerator.Class/fs/CharEnumerator1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CharEnumerator.Class/vb/CharEnumerator1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/CharEnumerator/Overview/CharEnumerator1.vb" id="Snippet2"::: ]]> diff --git a/xml/System/Comparison`1.xml b/xml/System/Comparison`1.xml index 08ca145715f..26e9c00d7b6 100644 --- a/xml/System/Comparison`1.xml +++ b/xml/System/Comparison`1.xml @@ -110,13 +110,13 @@ :::code language="csharp" source="~/snippets/csharp/System/ComparisonT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/List`1_SortComparison/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_SortComparison/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ComparisonT/Overview/source.vb" id="Snippet1"::: The following example uses the delegate to sort the elements of a collection of `CityInfo` objects. `CityInfo` is an application-defined class that contains information about a city and its population. The example defines three methods, `CompareByName`, `CompareByPopulation`, and `CompareByNames`, that offer three different ways of ordering the `CityInfo` objects. Each method is assigned to the `comparison` argument of the method. :::code language="csharp" source="~/snippets/csharp/System/ComparisonT/Overview/comparisont1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.comparison`1/fs/comparisont1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.comparison`1/vb/comparisont1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ComparisonT/Overview/comparisont1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Console.xml b/xml/System/Console.xml index f5401098e5e..90f8b8a28fe 100644 --- a/xml/System/Console.xml +++ b/xml/System/Console.xml @@ -130,7 +130,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/BackgroundColor/backgroundcolor1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.console.backgroundcolor/fs/backgroundcolor1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.console.backgroundcolor/vb/backgroundcolor1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/BackgroundColor/backgroundcolor1.vb" id="Snippet1"::: A get operation for a Windows-based application, in which a console does not exist, returns . Unix systems don't provide any general mechanism to fetch the current console colors. Because of that, returns `(ConsoleColor)-1` until it is set in explicit way (using the setter). @@ -141,7 +141,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/BackgroundColor/foregroundcolor3.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.consolecolor/fs/foregroundcolor3.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/vb/foregroundcolor3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/BackgroundColor/foregroundcolor3.vb" id="Snippet1"::: ]]> @@ -229,7 +229,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/Beep/beep.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.beep/FS/beep.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.beep/VB/beep.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Beep/beep.vb" id="Snippet1"::: ]]> @@ -301,7 +301,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/Beep/b2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.beep2/FS/b2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.beep2/VB/b2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Beep/b2.vb" id="Snippet1"::: ]]> @@ -397,7 +397,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/BufferHeight/hw.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.bufferHW/FS/hw.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.bufferHW/VB/hw.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/BufferHeight/hw.vb" id="Snippet1"::: ]]> @@ -496,7 +496,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/BufferHeight/hw.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.bufferHW/FS/hw.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.bufferHW/VB/hw.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/BufferHeight/hw.vb" id="Snippet1"::: ]]> @@ -606,7 +606,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/CancelKeyPress/ckp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.cancelkeypress/fs/ckp.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.cancelkeypress/vb/ckp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/CancelKeyPress/ckp.vb" id="Snippet1"::: ]]> @@ -740,7 +740,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/Clear/clear1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.console.clear/fs/clear1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.console.clear/vb/clear1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Clear/clear1.vb" id="Snippet1"::: The example relies on a `GetKeyPress` method to validate the user's selection of a foreground and background color. @@ -748,7 +748,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/Clear/lts.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.cursorLTS/FS/lts.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.cursorLTS/VB/lts.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Clear/lts.vb" id="Snippet1"::: ]]> @@ -827,7 +827,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/Clear/lts.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.cursorLTS/FS/lts.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.cursorLTS/VB/lts.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Clear/lts.vb" id="Snippet1"::: ]]> @@ -921,7 +921,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/CursorSize/csize.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.cursorsize/FS/csize.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.cursorsize/VB/csize.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/CursorSize/csize.vb" id="Snippet1"::: ]]> @@ -1003,7 +1003,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/Clear/lts.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.cursorLTS/FS/lts.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.cursorLTS/VB/lts.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Clear/lts.vb" id="Snippet1"::: ]]> @@ -1093,7 +1093,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/CursorVisible/vis.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.cursorvis/FS/vis.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.cursorvis/VB/vis.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/CursorVisible/vis.vb" id="Snippet1"::: ]]> @@ -1157,7 +1157,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/Error/error1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.console.error/fs/error1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.console.error/vb/error1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Error/error1.vb" id="Snippet1"::: @@ -1166,13 +1166,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/Error/expandtabsex.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/Console-EXPANDTABSEX/FS/expandtabsex.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Console-EXPANDTABSEX/VB/expandtabsex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Error/expandtabsex.vb" id="Snippet1"::: The following example is a simple text file viewer that displays the contents of one or more text files to the console. If there are no command line arguments, or if any files passed as command line arguments do not exist, the example calls the method to redirect error information to a file, calls the method in the process of reacquiring the standard error stream, and indicates that error information was written to a file. :::code language="csharp" source="~/snippets/csharp/System/Console/Error/viewtextfile.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.console.openstandarderror/fs/viewtextfile.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.console.openstandarderror/vb/viewtextfile.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Error/viewtextfile.vb" id="Snippet1"::: Note that the property is set to `true` before reacquiring the error stream. This ensures that output will be sent to the console immediately rather than buffered. @@ -1262,13 +1262,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/BackgroundColor/Example2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.consolecolor/fs/Example2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/vb/Example2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/BackgroundColor/Example2.vb" id="Snippet2"::: The following example saves the values of the enumeration to an array and stores the current values of the and properties to variables. It then changes the foreground color to each color in the enumeration except to the color that matches the current background, and it changes the background color to each color in the enumeration except to the color that matches the current foreground. (If the foreground color is the same as the background color, the text isn't visible.) Finally, it calls the method to restore the original console colors. :::code language="csharp" source="~/snippets/csharp/System/Console/BackgroundColor/foregroundcolor3.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.consolecolor/fs/foregroundcolor3.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/vb/foregroundcolor3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/BackgroundColor/foregroundcolor3.vb" id="Snippet1"::: ]]> @@ -1415,7 +1415,7 @@ Columns are numbered from left to right starting at 0. Rows are numbered from to :::code language="csharp" source="~/snippets/csharp/System/Console/In/consolein.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/consolein/FS/consolein.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/consolein/VB/consolein.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/In/consolein.vb" id="Snippet1"::: ]]> @@ -1716,7 +1716,7 @@ Columns are numbered from left to right starting at 0. Rows are numbered from to :::code language="csharp" source="~/snippets/csharp/System/Console/KeyAvailable/ka.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.keyavailable/FS/ka.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.keyavailable/VB/ka.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/KeyAvailable/ka.vb" id="Snippet1"::: ]]> @@ -2171,7 +2171,7 @@ Columns are numbered from left to right starting at 0. Rows are numbered from to :::code language="csharp" source="~/snippets/csharp/System/Console/Error/viewtextfile.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.console.openstandarderror/fs/viewtextfile.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.console.openstandarderror/vb/viewtextfile.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Error/viewtextfile.vb" id="Snippet1"::: Note that the property is set to `true` before reacquiring the error stream. This ensures that output will be sent to the console immediately rather than buffered. @@ -2320,7 +2320,7 @@ The following example illustrates the use of the `OpenStandardInput` method. :::code language="csharp" source="~/snippets/csharp/System/Console/OpenStandardInput/decode.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.OpenStandartInput/FS/decode.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.OpenStandartInput/VB/decode.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/Console/OpenStandardInput/decode.vb" id="Snippet1"::: ]]> @@ -2460,7 +2460,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/OpenStandardOutput/inserttabs.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-INSERTTABS/FS/inserttabs.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-INSERTTABS/VB/inserttabs.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/OpenStandardOutput/inserttabs.vb" id="Snippet1"::: ]]> @@ -2524,7 +2524,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/OpenStandardOutput/inserttabs.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-INSERTTABS/FS/inserttabs.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-INSERTTABS/VB/inserttabs.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/OpenStandardOutput/inserttabs.vb" id="Snippet1"::: ]]> @@ -2595,7 +2595,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Out/out1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.console.out/fs/out1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.console.out/vb/out1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Out/out1.vb" id="Snippet1"::: ]]> @@ -2762,7 +2762,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Read/read.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.read/FS/read.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.read/VB/read.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Read/read.vb" id="Snippet1"::: ]]> @@ -2854,7 +2854,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/ReadKey/ReadKey1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.Console.ReadKey/fs/ReadKey1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Console.ReadKey/vb/ReadKey1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/ReadKey/ReadKey1.vb" id="Snippet1"::: Note that this overload of the method by default echoes any displayable keys that the user presses to the console. To suppress them, call the method with an `intercept` argument of `true`. @@ -2862,7 +2862,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/ReadKey/rk.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.readkey1/FS/rk.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.readkey1/VB/rk.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/ReadKey/rk.vb" id="Snippet1"::: ]]> @@ -2954,13 +2954,13 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/ReadKey/ReadKey2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.Console.ReadKey/fs/ReadKey2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Console.ReadKey/vb/ReadKey2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/ReadKey/ReadKey2.vb" id="Snippet2"::: The following example uses the method to display information about the key pressed by a user without echoing that key to the console. :::code language="csharp" source="~/snippets/csharp/System/Console/ReadKey/rkbool.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.readkey2/FS/rkbool.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.readkey2/VB/rkbool.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/ReadKey/rkbool.vb" id="Snippet1"::: ]]> @@ -3034,7 +3034,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/ReadLine/ReadLineSimple.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.ReadLine/fs/ReadLineSimple.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.ReadLine/vb/ReadLineSimple.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/ReadLine/ReadLineSimple.vb" id="Snippet6"::: - If standard input is redirected to a file, the method reads a line of text from a file. For example, the following is a text file named ReadLine1.txt: @@ -3051,7 +3051,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/ReadLine/ReadLine3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.ReadLine/fs/ReadLine3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.ReadLine/vb/ReadLine3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/ReadLine/ReadLine3.vb" id="Snippet3"::: After compiling the example to an executable named ReadLine1.exe, you can run it from the command line to read the contents of the file and display them to the console. The syntax is: @@ -3069,14 +3069,14 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/ReadLine/ReadLine2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.ReadLine/fs/ReadLine2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.ReadLine/vb/ReadLine2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/ReadLine/ReadLine2.vb" id="Snippet1"::: ## Examples The following example requires two command line arguments: the name of an existing text file, and the name of a file to write the output to. It opens the existing text file and redirects the standard input from the keyboard to that file. It also redirects the standard output from the console to the output file. It then uses the method to read each line in the file, replaces every sequence of four spaces with a tab character, and uses the method to write the result to the output file. :::code language="csharp" source="~/snippets/csharp/System/Console/OpenStandardOutput/inserttabs.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-INSERTTABS/FS/inserttabs.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-INSERTTABS/VB/inserttabs.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/OpenStandardOutput/inserttabs.vb" id="Snippet1"::: ]]> @@ -3161,7 +3161,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/BackgroundColor/foregroundcolor3.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.consolecolor/fs/foregroundcolor3.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/vb/foregroundcolor3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/BackgroundColor/foregroundcolor3.vb" id="Snippet1"::: ]]> @@ -3229,7 +3229,7 @@ This method can be used to reacquire the standard output stream after it has bee The following example demonstrates the , , , , , , and properties; and the , , and methods. The example draws a grid pattern in the screen buffer based on the screen buffer width. Then the example moves the console window in response to which of the UP ARROW, DOWN ARROW, LEFT ARROW, or RIGHT ARROW console keys is pressed. The grid pattern helps you see the movement of the console window relative to the screen buffer. :::code language="csharp" source="~/snippets/csharp/System/Console/SetBufferSize/wlt.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.windowLT/VB/wlt.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/SetBufferSize/wlt.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.windowLT/FS/wlt.fs" id="Snippet1"::: ]]> @@ -3333,7 +3333,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Clear/lts.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.cursorLTS/FS/lts.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.cursorLTS/VB/lts.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Clear/lts.vb" id="Snippet1"::: ]]> @@ -3414,7 +3414,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/SetError/SetError1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.SetError/fs/SetError1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.SetError/vb/SetError1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/SetError/SetError1.vb" id="Snippet1"::: ]]> @@ -3504,7 +3504,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/OpenStandardOutput/inserttabs.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-INSERTTABS/FS/inserttabs.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-INSERTTABS/VB/inserttabs.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/OpenStandardOutput/inserttabs.vb" id="Snippet1"::: ]]> @@ -3573,7 +3573,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/SetOut/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.console.setout/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.console.setout/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/SetOut/source.vb" id="Snippet1"::: The actual object returned by may be a synchronized wrapper around the provided text writer. @@ -3582,7 +3582,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/OpenStandardOutput/inserttabs.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-INSERTTABS/FS/inserttabs.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-INSERTTABS/VB/inserttabs.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/OpenStandardOutput/inserttabs.vb" id="Snippet1"::: ]]> @@ -3660,7 +3660,7 @@ This method can be used to reacquire the standard output stream after it has bee The following example demonstrates the , , , , , , and properties; and the , , and methods. The example draws a grid pattern in the screen buffer based on the screen buffer width. Then the example moves the console window in response to which of the UP ARROW, DOWN ARROW, LEFT ARROW, or RIGHT ARROW console keys is pressed. The grid pattern helps you see the movement of the console window relative to the screen buffer. :::code language="csharp" source="~/snippets/csharp/System/Console/SetBufferSize/wlt.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.windowLT/VB/wlt.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/SetBufferSize/wlt.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.windowLT/FS/wlt.fs" id="Snippet1"::: ]]> @@ -3759,7 +3759,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/SetWindowSize/sws.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.setwindowsize/FS/sws.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.setwindowsize/VB/sws.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/SetWindowSize/sws.vb" id="Snippet1"::: ]]> @@ -3854,7 +3854,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Title/mytitle.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.title/FS/mytitle.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.title/VB/mytitle.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Title/mytitle.vb" id="Snippet1"::: ]]> @@ -3946,7 +3946,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/ReadKey/rk.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.readkey1/FS/rk.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.readkey1/VB/rk.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/ReadKey/rk.vb" id="Snippet1"::: ]]> @@ -4055,7 +4055,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/SetWindowSize/sws.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.setwindowsize/FS/sws.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.setwindowsize/VB/sws.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/SetWindowSize/sws.vb" id="Snippet1"::: ]]> @@ -4143,7 +4143,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WindowLeft/windowleft1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.console.windowleft/fs/windowleft1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.console.windowleft/vb/windowleft1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WindowLeft/windowleft1.vb" id="Snippet1"::: ]]> @@ -4222,7 +4222,7 @@ This method can be used to reacquire the standard output stream after it has bee The following example demonstrates the , , , , , , and properties; and the , , and methods. The example draws a grid pattern in the screen buffer based on the screen buffer width. Then the example moves the console window in response to which of the UP ARROW, DOWN ARROW, LEFT ARROW, or RIGHT ARROW console keys is pressed. The grid pattern helps you see the movement of the console window relative to the screen buffer. :::code language="csharp" source="~/snippets/csharp/System/Console/SetBufferSize/wlt.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.windowLT/VB/wlt.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/SetBufferSize/wlt.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.windowLT/FS/wlt.fs" id="Snippet1"::: ]]> @@ -4335,7 +4335,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/SetWindowSize/sws.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.setwindowsize/FS/sws.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.setwindowsize/VB/sws.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/SetWindowSize/sws.vb" id="Snippet1"::: ]]> @@ -4417,7 +4417,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -4477,7 +4477,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -4592,7 +4592,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -4657,7 +4657,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -4722,7 +4722,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -4787,7 +4787,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -4853,7 +4853,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -4945,7 +4945,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -5011,7 +5011,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -5082,7 +5082,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -5153,7 +5153,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -5251,13 +5251,13 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/wl.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.writelineFmt1/fs/wl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.writelineFmt1/vb/wl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/wl.vb" id="Snippet1"::: The following example illustrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -5366,7 +5366,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/WriteParams1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.console.write/fs/WriteParams1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.console.write/vb/WriteParams1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/WriteParams1.vb" id="Snippet1"::: Note that the example calls the method rather than the method because it attempts to display the value of the `Person.Remarks` property on the same line. To do this, it examines the value of the and properties to determine whether there is enough space for the remark to fit. If there is, it displays the line. If not, it writes a line, indents three spaces, and displays the remark. @@ -5374,7 +5374,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/WriteParams2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.console.write/fs/WriteParams2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.console.write/vb/WriteParams2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/WriteParams2.vb" id="Snippet2"::: ]]> @@ -5597,13 +5597,13 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/wl.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.writelineFmt1/fs/wl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.writelineFmt1/vb/wl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/wl.vb" id="Snippet1"::: The following example illustrates the use of the `Write` method. :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -5707,13 +5707,13 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/wl.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.writelineFmt1/fs/wl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.writelineFmt1/vb/wl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/wl.vb" id="Snippet1"::: The following example illustrates the use of the `Write` method. :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -5893,7 +5893,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/newline1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/newline1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/newline1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/newline1.vb" id="Snippet2"::: ]]> @@ -5962,7 +5962,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/writeline_boolean1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/writeline_boolean1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/writeline_boolean1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/writeline_boolean1.vb" id="Snippet4"::: ]]> @@ -6027,7 +6027,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/tipcalc.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/tipcalc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb" id="Snippet1"::: ]]> @@ -6151,7 +6151,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/tipcalc.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/tipcalc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb" id="Snippet1"::: ]]> @@ -6218,7 +6218,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/tipcalc.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/tipcalc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb" id="Snippet1"::: ]]> @@ -6285,7 +6285,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/tipcalc.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/tipcalc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb" id="Snippet1"::: ]]> @@ -6352,7 +6352,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/tipcalc.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/tipcalc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb" id="Snippet1"::: ]]> @@ -6420,7 +6420,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/writeline_obj1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/writeline_obj1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/writeline_obj1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/writeline_obj1.vb" id="Snippet3"::: ]]> @@ -6514,7 +6514,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/tipcalc.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/tipcalc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb" id="Snippet1"::: ]]> @@ -6582,7 +6582,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/newline1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/newline1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/newline1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/newline1.vb" id="Snippet2"::: ]]> @@ -6655,7 +6655,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/tipcalc.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/tipcalc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb" id="Snippet1"::: ]]> @@ -6728,7 +6728,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/tipcalc.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/tipcalc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb" id="Snippet1"::: ]]> @@ -6828,13 +6828,13 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/WriteLine6.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/WriteLine6.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/WriteLine6.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/WriteLine6.vb" id="Snippet6"::: The following example calls the method to display the current date. Note that the format item in the `format` argument uses the "D" [standard date and time format string](/dotnet/standard/base-types/standard-date-and-time-format-strings) to display the date in the long date format of the current culture. :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/WriteLine7.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/WriteLine7.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/WriteLine7.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/WriteLine7.vb" id="Snippet7"::: ]]> @@ -6943,13 +6943,13 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/wl.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.writelineFmt1/fs/wl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.writelineFmt1/vb/wl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/wl.vb" id="Snippet1"::: The following example is a tip calculator that calculates an 18% tip and uses the method to display the amount of the original charge, the amount of the tip, and the total amount. The example is a console application that requires the user to supply the amount of the original charge as a command-line parameter. :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/tipcalc.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/tipcalc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb" id="Snippet1"::: ]]> @@ -7176,13 +7176,13 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/wl.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.writelineFmt1/fs/wl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.writelineFmt1/vb/wl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/wl.vb" id="Snippet1"::: The following example is a tip calculator that calculates an 18% tip and uses the method to display the amount of the original charge, the amount of the tip, and the total amount. The example is a console application that requires the user to supply the amount of the original charge as a command-line parameter. :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/tipcalc.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/tipcalc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb" id="Snippet1"::: ]]> @@ -7288,13 +7288,13 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/wl.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.writelineFmt1/fs/wl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.writelineFmt1/vb/wl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/wl.vb" id="Snippet1"::: The following example is a tip calculator that calculates an 18% tip and uses the method to display the amount of the original charge, the amount of the tip, and the total amount. The example is a console application that requires the user to supply the amount of the original charge as a command-line parameter. :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/tipcalc.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/tipcalc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb" id="Snippet1"::: ]]> diff --git a/xml/System/ConsoleCancelEventArgs.xml b/xml/System/ConsoleCancelEventArgs.xml index 06e6f1304b6..c0ed7635c90 100644 --- a/xml/System/ConsoleCancelEventArgs.xml +++ b/xml/System/ConsoleCancelEventArgs.xml @@ -63,7 +63,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/CancelKeyPress/ckp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.cancelkeypress/fs/ckp.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.cancelkeypress/vb/ckp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/CancelKeyPress/ckp.vb" id="Snippet1"::: ]]> @@ -123,7 +123,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/CancelKeyPress/ckp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.cancelkeypress/fs/ckp.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.cancelkeypress/vb/ckp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/CancelKeyPress/ckp.vb" id="Snippet1"::: ]]> @@ -182,7 +182,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/CancelKeyPress/ckp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.cancelkeypress/fs/ckp.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.cancelkeypress/vb/ckp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/CancelKeyPress/ckp.vb" id="Snippet1"::: ]]> diff --git a/xml/System/ConsoleCancelEventHandler.xml b/xml/System/ConsoleCancelEventHandler.xml index 1e266232ed0..4b6fca56745 100644 --- a/xml/System/ConsoleCancelEventHandler.xml +++ b/xml/System/ConsoleCancelEventHandler.xml @@ -70,7 +70,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/CancelKeyPress/ckp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.cancelkeypress/fs/ckp.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.cancelkeypress/vb/ckp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/CancelKeyPress/ckp.vb" id="Snippet1"::: ]]> diff --git a/xml/System/ConsoleColor.xml b/xml/System/ConsoleColor.xml index 1066b439525..f877279391a 100644 --- a/xml/System/ConsoleColor.xml +++ b/xml/System/ConsoleColor.xml @@ -57,7 +57,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/BackgroundColor/foregroundcolor3.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.consolecolor/fs/foregroundcolor3.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/vb/foregroundcolor3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/BackgroundColor/foregroundcolor3.vb" id="Snippet1"::: ]]> diff --git a/xml/System/ConsoleKey.xml b/xml/System/ConsoleKey.xml index 2ada2cca609..17e3ebab3ba 100644 --- a/xml/System/ConsoleKey.xml +++ b/xml/System/ConsoleKey.xml @@ -60,7 +60,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ConsoleKey/Overview/ConsoleKey1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.ConsoleKey/fs/ConsoleKey1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ConsoleKey/vb/ConsoleKey1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ConsoleKey/Overview/ConsoleKey1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/ConsoleKeyInfo.xml b/xml/System/ConsoleKeyInfo.xml index 891effcec0d..564c47aa66e 100644 --- a/xml/System/ConsoleKeyInfo.xml +++ b/xml/System/ConsoleKeyInfo.xml @@ -78,7 +78,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/ReadKey/rk.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.readkey1/FS/rk.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.readkey1/VB/rk.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/ReadKey/rk.vb" id="Snippet1"::: ]]> @@ -282,7 +282,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ConsoleKeyInfo/Equals/equals.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.ConsoleKeyInfo.Equals/fs/equals.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ConsoleKeyInfo.Equals/vb/equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ConsoleKeyInfo/Equals/equals.vb" id="Snippet1"::: ]]> @@ -340,7 +340,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ConsoleKeyInfo/GetHashCode/hash.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.ConsoleKeyInfo.GetHashcode/fs/hash.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ConsoleKeyInfo.GetHashcode/vb/hash.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ConsoleKeyInfo/GetHashCode/hash.vb" id="Snippet1"::: ]]> @@ -392,7 +392,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/ReadKey/rk.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.readkey1/FS/rk.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.readkey1/VB/rk.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/ReadKey/rk.vb" id="Snippet1"::: ]]> @@ -449,7 +449,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ConsoleKeyInfo/KeyChar/keychar1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.consolekeyinfo.keychar/fs/keychar1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.consolekeyinfo.keychar/vb/keychar1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ConsoleKeyInfo/KeyChar/keychar1.vb" id="Snippet1"::: ]]> @@ -501,7 +501,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/ReadKey/rk.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.readkey1/FS/rk.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.readkey1/VB/rk.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/ReadKey/rk.vb" id="Snippet1"::: ]]> diff --git a/xml/System/ConsoleModifiers.xml b/xml/System/ConsoleModifiers.xml index 909239a9869..e09a3543c61 100644 --- a/xml/System/ConsoleModifiers.xml +++ b/xml/System/ConsoleModifiers.xml @@ -66,7 +66,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/ReadKey/rk.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.readkey1/FS/rk.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.readkey1/VB/rk.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/ReadKey/rk.vb" id="Snippet1"::: ]]> diff --git a/xml/System/ConsoleSpecialKey.xml b/xml/System/ConsoleSpecialKey.xml index 747a498ccba..bb858ee943d 100644 --- a/xml/System/ConsoleSpecialKey.xml +++ b/xml/System/ConsoleSpecialKey.xml @@ -62,7 +62,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/CancelKeyPress/ckp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/console.cancelkeypress/fs/ckp.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/console.cancelkeypress/vb/ckp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/CancelKeyPress/ckp.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Convert.xml b/xml/System/Convert.xml index 78f6b374e74..82b96075218 100644 --- a/xml/System/Convert.xml +++ b/xml/System/Convert.xml @@ -174,7 +174,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ChangeType/convertchangetype.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ChangeType/convertchangetype.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/convertchangetype/VB/convertchangetype.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ChangeType/convertchangetype.vb" id="Snippet1"::: ]]> @@ -198,13 +198,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ChangeType/changetype_enum2.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ChangeType/changetype_enum2.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype_enum2.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ChangeType/changetype_enum2.vb" id="Snippet5"::: The method can convert a nullable type to another type. However, it cannot convert another type to a value of a nullable type, even if is the underlying type of the .To perform the conversion, you can use a casting operator (in C#) or a conversion function (in Visual Basic). The following example illustrates the conversion to and from a nullable type. :::code language="csharp" source="~/snippets/csharp/System/Convert/ChangeType/changetype_nullable.cs" interactive="try-dotnet" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ChangeType/changetype_nullable.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype_nullable.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ChangeType/changetype_nullable.vb" id="Snippet7"::: @@ -281,7 +281,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ChangeType/changetype01.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ChangeType/changetype01.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype01.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ChangeType/changetype01.vb" id="Snippet2"::: ]]> @@ -389,13 +389,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ChangeType/changetype03.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ChangeType/changetype03.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype03.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ChangeType/changetype03.vb" id="Snippet3"::: The following example creates an instance of the `Temperature` class and calls the method to convert it to the basic numeric types supported by .NET and to a . It illustrates that the method wraps a call to the source type's implementation. :::code language="csharp" source="~/snippets/csharp/System/Convert/ChangeType/changetype03.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ChangeType/changetype03.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype03.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ChangeType/changetype03.vb" id="Snippet4"::: ]]> @@ -419,13 +419,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ChangeType/changetype_enum2.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ChangeType/changetype_enum2.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype_enum2.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ChangeType/changetype_enum2.vb" id="Snippet5"::: The method can convert a nullable type to another type. However, it cannot convert another type to a value of a nullable type, even if is the underlying type of the . To perform the conversion, you can use a casting operator (in C#) or a conversion function (in Visual Basic). The following example illustrates the conversion to and from a nullable type. :::code language="csharp" source="~/snippets/csharp/System/Convert/ChangeType/changetype_nullable_1.cs" interactive="try-dotnet" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ChangeType/changetype_nullable_1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype_nullable_1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ChangeType/changetype_nullable_1.vb" id="Snippet8"::: @@ -506,7 +506,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ChangeType/changetype00.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ChangeType/changetype00.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype00.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ChangeType/changetype00.vb" id="Snippet1"::: ]]> @@ -581,7 +581,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/DBNull/dbnull1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/DBNull/dbnull1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.dbnull/vb/dbnull1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/DBNull/dbnull1.vb" id="Snippet1"::: ]]> @@ -667,7 +667,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/FromBase64CharArray/class1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/FromBase64CharArray/class1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert UUEncodeDecode functions/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/FromBase64CharArray/class1.vb" id="Snippet3"::: The following example demonstrates the and methods. The input is divided into groups of three bytes (24 bits) each. Consequently, each group consists of four 6-bit numbers where each number ranges from decimal 0 to 63. In this example, there are 85 3-byte groups with one byte remaining. The first group consists of the hexadecimal values 00, 01, and 02, which yield four 6-bit values equal to decimal 0, 0, 4, and 2. Those four values correspond to the base-64 digits, "A", "A", "E", and "C", at the beginning of the output. @@ -675,7 +675,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/FromBase64CharArray/tb64ca.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/FromBase64CharArray/tb64ca.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/convert.tobase64chararray/VB/tb64ca.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/FromBase64CharArray/tb64ca.vb" id="Snippet1"::: ]]> @@ -770,13 +770,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Base64FormattingOptions/Overview/ToBase64String2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Base64FormattingOptions/Overview/ToBase64String2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String2.vb" id="Snippet1"::: The following is a more complex example that creates a 20-element array of 32-bit integers. It then uses the method to convert each element into a byte array, which it stores in the appropriate position in a buffer by calling the method. This buffer is then passed to the method to create a UUencoded (base-64) string. It then calls the method to decode the UUencoded string, and calls the method to convert each set of four bytes (the size of a 32-bit integer) to an integer. The output from the example shows that the original array has been successfully restored. :::code language="csharp" source="~/snippets/csharp/System/Base64FormattingOptions/Overview/ToBase64String.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Base64FormattingOptions/Overview/ToBase64String.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String.vb" id="Snippet2"::: ]]> @@ -1084,7 +1084,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/IsDBNull/Form1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/IsDBNull/Form1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/IsDBNull/Form1.vb" id="Snippet1"::: > [!NOTE] > is used to indicate a value that is missing. It is not equivalent to `null` or to . Therefore, code such as `Convert.IsDBNull(null)` in C# or `Convert.IsDBNull(Nothing)` in Visual Basic returns`false`. @@ -1096,7 +1096,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/IsDBNull/Form1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/IsDBNull/Form1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/IsDBNull/Form1.vb" id="Snippet2"::: ]]> @@ -1193,7 +1193,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/FromBase64CharArray/class1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/FromBase64CharArray/class1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert UUEncodeDecode functions/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/FromBase64CharArray/class1.vb" id="Snippet2"::: ]]> @@ -1302,7 +1302,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/FromBase64CharArray/tb64ca.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/FromBase64CharArray/tb64ca.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/convert.tobase64chararray/VB/tb64ca.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/FromBase64CharArray/tb64ca.vb" id="Snippet1"::: ]]> @@ -1406,13 +1406,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Base64FormattingOptions/Overview/ToBase64String2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Base64FormattingOptions/Overview/ToBase64String2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String2.vb" id="Snippet1"::: The following is a more complex example that creates a 20-element array of 32-bit integers. It then uses the method to convert each element into a byte array, which it stores in the appropriate position in a buffer by calling the method. This buffer is then passed to the method to create a UUencoded (base-64) string. It then calls the method to decode the UUencoded string, and calls the method to convert each set of four bytes (the size of a 32-bit integer) to an integer. The output from the example shows that the original array has been successfully restored. :::code language="csharp" source="~/snippets/csharp/System/Base64FormattingOptions/Overview/ToBase64String.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Base64FormattingOptions/Overview/ToBase64String.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String.vb" id="Snippet2"::: ]]> @@ -1495,7 +1495,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Base64FormattingOptions/Overview/ToBase64String3.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Base64FormattingOptions/Overview/ToBase64String3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String3.vb" id="Snippet3"::: As the output from the example shows, the succeeds in restoring the original byte array; the line break characters are ignored during the conversion. @@ -1725,7 +1725,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBase64String/tb64s.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBase64String/tb64s.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/convert.tobase64string/VB/tb64s.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBase64String/tb64s.vb" id="Snippet1"::: ]]> @@ -1865,7 +1865,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/toboolean2.cs" interactive="try-dotnet-method" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/toboolean2.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb" id="Snippet12"::: ]]> @@ -1975,7 +1975,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet20"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet20"::: ]]> @@ -2039,7 +2039,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/toboolean2.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/toboolean2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb" id="Snippet2"::: ]]> @@ -2103,7 +2103,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet1"::: ]]> @@ -2167,7 +2167,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/toboolean2.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/toboolean2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb" id="Snippet3"::: ]]> @@ -2231,7 +2231,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/toboolean2.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/toboolean2.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb" id="Snippet4"::: ]]> @@ -2295,7 +2295,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/toboolean2.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/toboolean2.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb" id="Snippet5"::: ]]> @@ -2367,7 +2367,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/toboolean2.cs" interactive="try-dotnet-method" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/toboolean2.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb" id="Snippet11"::: ]]> @@ -2445,7 +2445,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/toboolean2.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/toboolean2.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb" id="Snippet6"::: ]]> @@ -2509,7 +2509,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/toboolean2.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/toboolean2.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb" id="Snippet7"::: ]]> @@ -2588,7 +2588,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/ToBoolean1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/ToBoolean1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/ToBoolean1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/ToBoolean1.vb" id="Snippet1"::: ]]> @@ -2660,7 +2660,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/toboolean2.cs" interactive="try-dotnet-method" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/toboolean2.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb" id="Snippet8"::: ]]> @@ -2730,7 +2730,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/toboolean2.cs" interactive="try-dotnet-method" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/toboolean2.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb" id="Snippet9"::: ]]> @@ -2800,7 +2800,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/toboolean2.cs" interactive="try-dotnet-method" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/toboolean2.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb" id="Snippet10"::: ]]> @@ -2879,7 +2879,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/objectifp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/objectifp.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToXXX_Object_IFP/VB/objectifp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/objectifp.vb" id="Snippet1"::: ]]> @@ -3034,7 +3034,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte1.vb" id="Snippet1"::: ]]> @@ -3151,7 +3151,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte1.vb" id="Snippet2"::: ]]> @@ -3265,7 +3265,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet18"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet18"::: ]]> @@ -3330,7 +3330,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet2"::: ]]> @@ -3394,7 +3394,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte1.vb" id="Snippet3"::: ]]> @@ -3458,7 +3458,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte1.vb" id="Snippet4"::: ]]> @@ -3522,7 +3522,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte1.vb" id="Snippet5"::: ]]> @@ -3592,7 +3592,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte1.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte1.vb" id="Snippet6"::: ]]> @@ -3670,7 +3670,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte1.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte1.vb" id="Snippet7"::: ]]> @@ -3735,7 +3735,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet19"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet19"::: ]]> @@ -3806,7 +3806,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/ToByte5.cs" interactive="try-dotnet" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/ToByte5.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte5.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte5.vb" id="Snippet15"::: ]]> @@ -3879,7 +3879,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte1.cs" interactive="try-dotnet-method" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte1.vb" id="Snippet8"::: ]]> @@ -3949,7 +3949,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte1.cs" interactive="try-dotnet-method" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte1.vb" id="Snippet9"::: ]]> @@ -4019,7 +4019,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte1.cs" interactive="try-dotnet-method" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte1.vb" id="Snippet10"::: ]]> @@ -4091,13 +4091,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte3.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte3.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte3.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte3.vb" id="Snippet12"::: The following example instantiates several `ByteString` objects and calls the method to convert them to byte values. It illustrates that the method wraps a call to the method of the object to be converted. :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte3.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte3.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte3.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte3.vb" id="Snippet13"::: ]]> @@ -4179,7 +4179,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte4.cs" interactive="try-dotnet" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte4.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte4.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte4.vb" id="Snippet14"::: ]]> @@ -4251,13 +4251,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet3"::: When performing binary operations or numeric conversions, it is always the responsibility of the developer to verify that a method or operator is using the appropriate numeric representation to interpret a particular value. The following example illustrates one technique for ensuring that the method does not inappropriately use unsigned binary representation when it converts a hexadecimal string representation to a value. The example determines whether a value represents a signed or an unsigned integer while it is converting that value to its string representation. When the example converts the value back to a value, it checks whether the original value was a signed integer. If so, and if its high-order bit is set (which indicates that the value is negative and that it uses two's complement instead of unsigned binary representation), the method throws an exception. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet4"::: @@ -4266,7 +4266,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte2.cs" interactive="try-dotnet" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte2.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte2.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte2.vb" id="Snippet11"::: ]]> @@ -4403,7 +4403,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToChar/tochar1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToChar/tochar1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tochar/vb/tochar1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToChar/tochar1.vb" id="Snippet1"::: ]]> @@ -4560,7 +4560,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet17"::: ]]> @@ -4672,7 +4672,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToChar/tochar1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToChar/tochar1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tochar/vb/tochar1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToChar/tochar1.vb" id="Snippet2"::: ]]> @@ -4736,7 +4736,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToChar/tochar1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToChar/tochar1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tochar/vb/tochar1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToChar/tochar1.vb" id="Snippet3"::: ]]> @@ -4800,7 +4800,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet8"::: ]]> @@ -4870,7 +4870,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToChar/tochar1.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToChar/tochar1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tochar/vb/tochar1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToChar/tochar1.vb" id="Snippet9"::: ]]> @@ -4948,7 +4948,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToChar/tochar1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToChar/tochar1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tochar/vb/tochar1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToChar/tochar1.vb" id="Snippet4"::: ]]> @@ -5068,7 +5068,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToChar/tochar1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToChar/tochar1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tochar/vb/tochar1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToChar/tochar1.vb" id="Snippet5"::: ]]> @@ -5139,7 +5139,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToChar/tochar1.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToChar/tochar1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tochar/vb/tochar1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToChar/tochar1.vb" id="Snippet6"::: ]]> @@ -5207,7 +5207,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToChar/tochar1.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToChar/tochar1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tochar/vb/tochar1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToChar/tochar1.vb" id="Snippet7"::: ]]> @@ -5277,7 +5277,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToChar/tochar1.cs" interactive="try-dotnet-method" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToChar/tochar1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tochar/vb/tochar1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToChar/tochar1.vb" id="Snippet8"::: ]]> @@ -5351,7 +5351,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/objectifp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/objectifp.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToXXX_Object_IFP/VB/objectifp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/objectifp.vb" id="Snippet1"::: ]]> @@ -5440,7 +5440,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToChar/stringnonnum.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToChar/stringnonnum.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToNonNum_String/VB/stringnonnum.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToChar/stringnonnum.vb" id="Snippet2"::: ]]> @@ -5971,7 +5971,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDateTime/ToDateTime1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDateTime/ToDateTime1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/ToDateTime1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDateTime/ToDateTime1.vb" id="Snippet1"::: ]]> @@ -6157,7 +6157,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDateTime/ToDateTime2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDateTime/ToDateTime2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/ToDateTime2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDateTime/ToDateTime2.vb" id="Snippet2"::: ]]> @@ -6399,7 +6399,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDateTime/todatetime4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDateTime/todatetime4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/todatetime4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDateTime/todatetime4.vb" id="Snippet4"::: ]]> @@ -6482,7 +6482,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDateTime/ToDateTime3.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDateTime/ToDateTime3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/ToDateTime3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDateTime/ToDateTime3.vb" id="Snippet3"::: ]]> @@ -6559,7 +6559,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal11.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal11.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal11.vb" id="Snippet1"::: ]]> @@ -6622,7 +6622,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet18"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet18"::: ]]> @@ -6682,7 +6682,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet17"::: ]]> @@ -6847,7 +6847,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/ToDecimal1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/ToDecimal1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDecimal/vb/ToDecimal1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/ToDecimal1.vb" id="Snippet2"::: @@ -6856,7 +6856,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet5"::: ]]> @@ -6922,7 +6922,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal11.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal11.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal11.vb" id="Snippet2"::: ]]> @@ -6985,7 +6985,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal11.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal11.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal11.vb" id="Snippet3"::: ]]> @@ -7048,7 +7048,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet10"::: ]]> @@ -7117,7 +7117,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal11.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal11.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal11.vb" id="Snippet4"::: ]]> @@ -7196,7 +7196,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal11.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal11.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal11.vb" id="Snippet5"::: ]]> @@ -7259,7 +7259,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/ToDecimal1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/ToDecimal1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDecimal/vb/ToDecimal1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/ToDecimal1.vb" id="Snippet1"::: @@ -7268,7 +7268,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal11.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal11.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal11.vb" id="Snippet6"::: ]]> @@ -7339,7 +7339,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet15"::: ]]> @@ -7411,7 +7411,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal11.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal11.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal11.vb" id="Snippet7"::: ]]> @@ -7480,7 +7480,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal11.cs" interactive="try-dotnet-method" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal11.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal11.vb" id="Snippet8"::: ]]> @@ -7549,7 +7549,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal11.cs" interactive="try-dotnet-method" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal11.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal11.vb" id="Snippet9"::: ]]> @@ -7622,13 +7622,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal2.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal2.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal2.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal2.vb" id="Snippet10"::: The following example shows that when a `Temperature` object is passed as a parameter to the method, the implementation of the `Temperature` class is called to perform the conversion. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal2.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal2.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal2.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal2.vb" id="Snippet11"::: ]]> @@ -7713,7 +7713,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal3.cs" interactive="try-dotnet" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal3.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal3.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal3.vb" id="Snippet12"::: ]]> @@ -7791,7 +7791,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet1"::: ]]> @@ -7853,7 +7853,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet2"::: ]]> @@ -8014,7 +8014,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet5"::: ]]> @@ -8129,7 +8129,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDouble/todouble1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDouble/todouble1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/todouble1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDouble/todouble1.vb" id="Snippet1"::: ]]> @@ -8191,7 +8191,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet3"::: ]]> @@ -8253,7 +8253,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDouble/todouble1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDouble/todouble1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/todouble1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDouble/todouble1.vb" id="Snippet2"::: ]]> @@ -8321,7 +8321,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDouble/todouble1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDouble/todouble1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/todouble1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDouble/todouble1.vb" id="Snippet3"::: ]]> @@ -8399,7 +8399,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDouble/todouble1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDouble/todouble1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/todouble1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDouble/todouble1.vb" id="Snippet4"::: ]]> @@ -8461,7 +8461,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet6"::: ]]> @@ -8532,7 +8532,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDouble/example8.cs" interactive="try-dotnet" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDouble/example8.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/example8.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDouble/example8.vb" id="Snippet8"::: ]]> @@ -8604,7 +8604,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDouble/todouble1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDouble/todouble1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/todouble1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDouble/todouble1.vb" id="Snippet5"::: ]]> @@ -8672,7 +8672,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDouble/todouble1.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDouble/todouble1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/todouble1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDouble/todouble1.vb" id="Snippet6"::: ]]> @@ -8740,7 +8740,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDouble/todouble1.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDouble/todouble1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/todouble1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDouble/todouble1.vb" id="Snippet7"::: ]]> @@ -8814,7 +8814,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/objectifp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/objectifp.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToXXX_Object_IFP/VB/objectifp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/objectifp.vb" id="Snippet1"::: ]]> @@ -8894,7 +8894,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDouble/todouble.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDouble/todouble.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToReals_String/VB/todouble.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDouble/todouble.vb" id="Snippet2"::: ]]> @@ -9248,7 +9248,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet1"::: ]]> @@ -9310,7 +9310,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet2"::: ]]> @@ -9372,7 +9372,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet3"::: ]]> @@ -9486,7 +9486,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet4"::: ]]> @@ -9552,7 +9552,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet5"::: ]]> @@ -9670,7 +9670,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet6"::: ]]> @@ -9734,7 +9734,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet7"::: ]]> @@ -9804,7 +9804,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet8"::: ]]> @@ -9882,7 +9882,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet9"::: ]]> @@ -9945,7 +9945,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet10"::: ]]> @@ -10019,7 +10019,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToSInts_String/VB/toint16.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16.vb" id="Snippet3"::: ]]> @@ -10092,7 +10092,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet11"::: ]]> @@ -10162,7 +10162,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet12"::: ]]> @@ -10232,7 +10232,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet13"::: ]]> @@ -10306,7 +10306,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/objectifp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/objectifp.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToXXX_Object_IFP/VB/objectifp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/objectifp.vb" id="Snippet1"::: ]]> @@ -10384,7 +10384,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToSInts_String/VB/toint16.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16.vb" id="Snippet3"::: ]]> @@ -10456,13 +10456,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet5"::: When performing binary operations or numeric conversions, it is always the responsibility of the developer to verify that a method is using the appropriate numeric representation to interpret a particular value. As the following example illustrates, you can ensure that the method handles overflows appropriately by first retrieving the sign of the numeric value before converting it to its hexadecimal string representation. Throw an exception if the original value was positive but the conversion back to an integer yields a negative value. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet6"::: @@ -10471,7 +10471,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_2.cs" interactive="try-dotnet" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_2.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_2.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_2.vb" id="Snippet14"::: ]]> @@ -10561,7 +10561,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet1":::   ]]> @@ -10623,7 +10623,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet2":::   ]]> @@ -10690,7 +10690,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet3"::: ]]> @@ -10808,7 +10808,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet4":::   ]]> @@ -10874,7 +10874,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet5":::   ]]> @@ -10940,7 +10940,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet6":::   ]]> @@ -11054,7 +11054,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet7"::: ]]> @@ -11124,7 +11124,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet8"::: ]]> @@ -11202,7 +11202,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet9"::: ]]> @@ -11265,7 +11265,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet10"::: ]]> @@ -11339,7 +11339,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet11"::: ]]> @@ -11411,7 +11411,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet12"::: ]]> @@ -11479,7 +11479,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet13"::: ]]> @@ -11549,7 +11549,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet14"::: ]]> @@ -11625,7 +11625,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/objectifp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/objectifp.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToXXX_Object_IFP/VB/objectifp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/objectifp.vb" id="Snippet1"::: ]]> @@ -11705,7 +11705,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_2.cs" interactive="try-dotnet" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_2.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_2.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_2.vb" id="Snippet15"::: ]]> @@ -11776,13 +11776,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet1"::: When performing binary operations or numeric conversions, it is always the responsibility of the developer to verify that a method is using the appropriate numeric representation to interpret a particular value. As the following example illustrates, you can ensure that the method handles overflows appropriately by first retrieving the sign of the numeric value before converting it to its hexadecimal string representation. Throw an exception if the original value was positive but the conversion back to an integer yields a negative value. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet2"::: ]]> @@ -11872,7 +11872,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet1"::: ]]> @@ -11934,7 +11934,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet2"::: ]]> @@ -11996,7 +11996,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet3"::: ]]> @@ -12108,7 +12108,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet4"::: ]]> @@ -12180,7 +12180,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet5"::: ]]> @@ -12246,7 +12246,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet6"::: ]]> @@ -12360,7 +12360,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet7"::: ]]> @@ -12428,7 +12428,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet8"::: ]]> @@ -12506,7 +12506,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet9"::: ]]> @@ -12569,7 +12569,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet10"::: ]]> @@ -12643,7 +12643,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet11"::: ]]> @@ -12715,7 +12715,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet12"::: ]]> @@ -12783,7 +12783,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet13"::: ]]> @@ -12851,7 +12851,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet14"::: ]]> @@ -12927,7 +12927,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/objectifp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/objectifp.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToXXX_Object_IFP/VB/objectifp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/objectifp.vb" id="Snippet1"::: ]]> @@ -13011,7 +13011,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_3.cs" interactive="try-dotnet" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_3.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_3.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_3.vb" id="Snippet16"::: ]]> @@ -13082,19 +13082,19 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet7"::: When performing binary operations or numeric conversions, it is always the responsibility of the developer to verify that a method is using the appropriate numeric representation to interpret a particular value. As the following example illustrates, you can ensure that the method handles overflows appropriately by first determining whether a value represents an unsigned or a signed type when converting it to its hexadecimal string representation. Throw an exception if the original value was an unsigned type but the conversion back to an integer yields a value whose sign bit is on. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" interactive="try-dotnet-method" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet8"::: The following example attempts to interpret each element in a string array as a hexadecimal string and convert it to a long integer. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_2.cs" interactive="try-dotnet" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_2.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_2.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_2.vb" id="Snippet15"::: ]]> @@ -13190,7 +13190,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet1"::: ]]> @@ -13258,7 +13258,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet2"::: ]]> @@ -13328,7 +13328,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet3"::: ]]> @@ -13454,7 +13454,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet4"::: ]]> @@ -13526,7 +13526,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet5"::: ]]> @@ -13598,7 +13598,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet6"::: ]]> @@ -13668,7 +13668,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet7"::: ]]> @@ -13738,7 +13738,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet8"::: ]]> @@ -13814,7 +13814,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet9"::: ]]> @@ -13951,7 +13951,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet9"::: ]]> @@ -14031,7 +14031,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/tosbyte.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/tosbyte.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToSInts_String/VB/tosbyte.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/tosbyte.vb" id="Snippet4"::: ]]> @@ -14104,7 +14104,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet11"::: ]]> @@ -14174,7 +14174,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet12"::: ]]> @@ -14244,7 +14244,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet13"::: ]]> @@ -14324,13 +14324,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte2.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte2.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte2.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte2.vb" id="Snippet14"::: The following example shows how the implementation of the `ByteString` class is called by the method. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte2.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte2.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte2.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte2.vb" id="Snippet15"::: ]]> @@ -14425,7 +14425,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/tosbyte.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/tosbyte.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToSInts_String/VB/tosbyte.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/tosbyte.vb" id="Snippet4"::: ]]> @@ -14505,13 +14505,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet9"::: When performing binary operations or numeric conversions, it is always the responsibility of the developer to verify that a method is using the appropriate numeric representation to interpret a particular value. As the following example illustrates, you can ensure that the method handles overflows appropriately by first determining whether a value represents an unsigned or a signed type when converting it to its hexadecimal string representation. Throw an exception if the original value was an unsigned type but the conversion back to a signed byte yields a value whose sign bit is on. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet10"::: @@ -14520,7 +14520,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte3.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte3.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte3.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte3.vb" id="Snippet16"::: ]]> @@ -14610,7 +14610,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet1"::: ]]> @@ -14672,7 +14672,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet2"::: ]]> @@ -14835,7 +14835,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet3"::: ]]> @@ -14900,7 +14900,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet4"::: ]]> @@ -14964,7 +14964,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet5"::: ]]> @@ -15026,7 +15026,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet6"::: ]]> @@ -15088,7 +15088,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet7"::: ]]> @@ -15156,7 +15156,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet8"::: ]]> @@ -15234,7 +15234,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet9"::: ]]> @@ -15357,7 +15357,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet10"::: ]]> @@ -15429,7 +15429,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet11"::: ]]> @@ -15497,7 +15497,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet12"::: ]]> @@ -15565,7 +15565,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet13"::: ]]> @@ -15639,13 +15639,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle2.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle2.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle2.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle2.vb" id="Snippet14"::: The following example illustrates how a call to the method, in turn, calls the implementation of the `Temperature` class. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle2.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle2.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle2.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle2.vb" id="Snippet15"::: ]]> @@ -15725,7 +15725,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle3.cs" interactive="try-dotnet" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle3.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle3.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle3.vb" id="Snippet16"::: ]]> @@ -15808,7 +15808,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/ToString_Bool1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/ToString_Bool1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString/vb/ToString_Bool1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/ToString_Bool1.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Convert.ToString/fs/ToString_Bool1.fs" id="Snippet1"::: ]]> @@ -15876,7 +15876,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/ToString.Byte1.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/ToString.Byte1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString/vb/ToString.Byte1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/ToString.Byte1.vb" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Convert.ToString/fs/ToString_Byte1.fs" id="Snippet3"::: ]]> @@ -15944,7 +15944,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet14"::: ]]> @@ -16011,7 +16011,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring1.vb" id="Snippet1"::: ]]> @@ -16078,7 +16078,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet15"::: ]]> @@ -16145,7 +16145,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet7"::: ]]> @@ -16212,7 +16212,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring1.vb" id="Snippet2"::: ]]> @@ -16277,7 +16277,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring7.cs" interactive="try-dotnet" id="Snippet27"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring7.fs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring7.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring7.vb" id="Snippet27"::: ]]> @@ -16344,7 +16344,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring6.cs" interactive="try-dotnet-method" id="Snippet28"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring6.fs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring6.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring6.vb" id="Snippet28"::: ]]> @@ -16412,7 +16412,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring1.vb" id="Snippet3"::: ]]> @@ -16485,7 +16485,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring1.vb" id="Snippet4"::: ]]> @@ -16552,7 +16552,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring1.vb" id="Snippet5"::: ]]> @@ -16619,7 +16619,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring_string1.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring_string1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString/vb/tostring_string1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring_string1.vb" id="Snippet2"::: ]]> @@ -16692,7 +16692,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring1.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring1.vb" id="Snippet6"::: ]]> @@ -16765,7 +16765,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring1.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring1.vb" id="Snippet7"::: ]]> @@ -16838,7 +16838,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring1.cs" interactive="try-dotnet-method" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring1.vb" id="Snippet8"::: ]]> @@ -16915,7 +16915,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/nonnumeric.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/nonnumeric.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString.IFormatProvider/VB/nonnumeric.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/nonnumeric.vb" id="Snippet2"::: ]]> @@ -16992,7 +16992,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" interactive="try-dotnet-method" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet16"::: ]]> @@ -17067,7 +17067,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring2.cs" interactive="try-dotnet-method" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring2.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring2.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring2.vb" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.convert.tostring2/fs/tostring2.fs" id="Snippet9"::: ]]> @@ -17147,7 +17147,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/nonnumeric.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/nonnumeric.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString.IFormatProvider/VB/nonnumeric.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/nonnumeric.vb" id="Snippet2"::: ]]> @@ -17224,7 +17224,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet13"::: ]]> @@ -17301,7 +17301,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" interactive="try-dotnet-method" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet14"::: ]]> @@ -17378,7 +17378,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" interactive="try-dotnet-method" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet15"::: ]]> @@ -17455,7 +17455,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" interactive="try-dotnet-method" id="Snippet19"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet19"::: ]]> @@ -17530,7 +17530,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring2.cs" interactive="try-dotnet-method" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring2.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring2.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring2.vb" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.convert.tostring2/fs/tostring2.fs" id="Snippet10"::: ]]> @@ -17610,7 +17610,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" interactive="try-dotnet-method" id="Snippet20"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet20"::: ]]> @@ -17685,7 +17685,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring2.cs" interactive="try-dotnet-method" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring2.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring2.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring2.vb" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.convert.tostring2/fs/tostring2.fs" id="Snippet11"::: ]]> @@ -17765,7 +17765,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" interactive="try-dotnet-method" id="Snippet21"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet21"::: ]]> @@ -17840,7 +17840,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring2.cs" interactive="try-dotnet-method" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring2.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring2.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring2.vb" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.convert.tostring2/fs/tostring2.fs" id="Snippet12"::: ]]> @@ -17915,13 +17915,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring5.cs" interactive="try-dotnet" id="Snippet26"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring5.fs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring5.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring5.vb" id="Snippet26"::: The following example defines a `Temperature` class that implements the interface but does not implement the interface. Its implementation represents the `Temperature` value in Celsius, Fahrenheit, or Kelvin, depending on the format string. The example also defines a `TemperatureProvider` class that implements and provides a randomly generated format string that is used by the implementation of the `Temperature` class. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring_obj30.cs" interactive="try-dotnet" id="Snippet30"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring_obj30.fs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring_obj30.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring_obj30.vb" id="Snippet30"::: ]]> @@ -18004,7 +18004,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" interactive="try-dotnet-method" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet17"::: ]]> @@ -18081,7 +18081,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" id="Snippet18"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet18"::: ]]> @@ -18150,7 +18150,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/nonnumeric.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/nonnumeric.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString.IFormatProvider/VB/nonnumeric.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/nonnumeric.vb" id="Snippet2"::: ]]> @@ -18233,7 +18233,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" interactive="try-dotnet-method" id="Snippet22"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet22"::: ]]> @@ -18316,7 +18316,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" interactive="try-dotnet-method" id="Snippet23"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet23"::: ]]> @@ -18399,7 +18399,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" interactive="try-dotnet-method" id="Snippet24"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet24"::: ]]> @@ -18479,7 +18479,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet1"::: ]]> @@ -18547,7 +18547,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet2"::: ]]> @@ -18615,7 +18615,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet3"::: ]]> @@ -18739,7 +18739,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet4"::: ]]> @@ -18811,7 +18811,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet5"::: ]]> @@ -18883,7 +18883,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet6"::: ]]> @@ -18953,7 +18953,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet7"::: ]]> @@ -19023,7 +19023,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet8"::: ]]> @@ -19099,7 +19099,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet9"::: ]]> @@ -19177,7 +19177,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet10"::: ]]> @@ -19248,7 +19248,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet11"::: ]]> @@ -19328,7 +19328,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet12"::: ]]> @@ -19458,7 +19458,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet13"::: ]]> @@ -19528,7 +19528,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet14"::: ]]> @@ -19610,13 +19610,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_3.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_3.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_3.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_3.vb" id="Snippet16"::: The following example shows that a call to the method that passes a `HexString` object as a parameter, in turn, calls the implementation of the `HexString` class. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_3.cs" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_3.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_3.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_3.vb" id="Snippet17"::: ]]> @@ -19706,7 +19706,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_4.cs" id="Snippet18"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_4.fs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_4.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_4.vb" id="Snippet18"::: ]]> @@ -19783,13 +19783,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet11"::: When performing binary operations or numeric conversions, it is always the responsibility of the developer to verify that a method or operator is using the appropriate numeric representation to interpret a particular value. The following example illustrates one technique for ensuring that the method does not inappropriately use binary representation to interpret a value that uses two's complement representation when converting a hexadecimal string to a value. The example determines whether a value represents a signed or an unsigned integer while it is converting that value to its string representation. When the example converts the value to a value, it checks whether the original value was a signed integer. If so, and if its high-order bit is set (which indicates that the original value was negative), the method throws an exception. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet12"::: @@ -19798,7 +19798,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_2.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_2.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_2.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_2.vb" id="Snippet15"::: ]]> @@ -19894,7 +19894,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet1"::: ]]> @@ -19962,7 +19962,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet2"::: ]]> @@ -20030,7 +20030,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet3"::: ]]> @@ -20154,7 +20154,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet4"::: ]]> @@ -20226,7 +20226,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet5"::: ]]> @@ -20298,7 +20298,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet6"::: ]]> @@ -20368,7 +20368,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet7"::: ]]> @@ -20438,7 +20438,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet8"::: ]]> @@ -20514,7 +20514,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet9"::: ]]> @@ -20592,7 +20592,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet10"::: ]]> @@ -20663,7 +20663,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet11"::: ]]> @@ -20743,7 +20743,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet12"::: ]]> @@ -20815,7 +20815,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet13"::: ]]> @@ -20941,7 +20941,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet14"::: ]]> @@ -21023,13 +21023,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_4.cs" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_4.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_4.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_4.vb" id="Snippet17"::: The following example shows that a call to the method that passes a `HexString` object as a parameter, in turn, calls the implementation of the `HexString` class. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_4.cs" id="Snippet18"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_4.fs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_4.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_4.vb" id="Snippet18"::: ]]> @@ -21119,7 +21119,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_2.cs" interactive="try-dotnet" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_2.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_2.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_2.vb" id="Snippet15"::: ]]> @@ -21196,13 +21196,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" interactive="try-dotnet-method" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet13"::: When performing binary operations or numeric conversions, it is always the responsibility of the developer to verify that a method or operator is using the appropriate numeric representation to interpret a particular value. The following example illustrates one technique for ensuring that the method does not inappropriately use binary representation to interpret a value that uses two's complement representation when converting a hexadecimal string to a value. The example determines whether a value represents a signed or an unsigned integer while it is converting that value to its string representation. When the example converts the value to a value, it checks whether the original value was a signed integer. If so, and if its high-order bit is set (which indicates that the original value was negative), the method throws an exception. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" interactive="try-dotnet-method" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet14"::: @@ -21211,7 +21211,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_3.cs" interactive="try-dotnet-method" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_3.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_3.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_3.vb" id="Snippet16"::: ]]> @@ -21307,7 +21307,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet1"::: ]]> @@ -21375,7 +21375,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet2"::: ]]> @@ -21443,7 +21443,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet3"::: ]]> @@ -21567,7 +21567,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet4"::: ]]> @@ -21643,7 +21643,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet5"::: ]]> @@ -21715,7 +21715,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet6"::: ]]> @@ -21785,7 +21785,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet7"::: ]]> @@ -21855,7 +21855,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet8"::: ]]> @@ -21931,7 +21931,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet9"::: ]]> @@ -22009,7 +22009,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet10"::: ]]> @@ -22080,7 +22080,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet11"::: ]]> @@ -22160,7 +22160,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet12"::: ]]> @@ -22232,7 +22232,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet13"::: ]]> @@ -22300,7 +22300,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet14"::: ]]> @@ -22438,13 +22438,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_4.cs" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_4.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_4.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_4.vb" id="Snippet17"::: The following example shows that a call to the method that passes a `HexString` object as a parameter, in turn, calls the implementation of the `HexString` class. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_4.cs" id="Snippet18"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_4.fs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_4.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_4.vb" id="Snippet18"::: ]]> @@ -22534,7 +22534,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_2.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_2.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_2.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_2.vb" id="Snippet15"::: ]]> @@ -22611,13 +22611,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet15"::: When performing binary operations or numeric conversions, it is always the responsibility of the developer to verify that a method or operator is using the appropriate numeric representation to interpret a particular value. The following example illustrates one technique for ensuring that the method does not inappropriately use binary representation to interpret a value that uses two's complement representation when converting a hexadecimal string to a value. The example determines whether a value represents a signed or an unsigned integer while it is converting that value to its string representation. When the example converts the value to a value, it checks whether the original value was a signed integer. If so, and if its high-order bit is set (which indicates that the original value was negative), the method throws an exception. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet16"::: @@ -22626,7 +22626,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_3.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_3.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_3.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_3.vb" id="Snippet16"::: ]]> diff --git a/xml/System/Converter`2.xml b/xml/System/Converter`2.xml index b4c5412d8ab..8727c685388 100644 --- a/xml/System/Converter`2.xml +++ b/xml/System/Converter`2.xml @@ -97,14 +97,14 @@ The following code example defines a method named `PointFToPoint` that converts a structure to a structure. The example then creates an array of structures, creates a `Converter` delegate (`Converter(Of PointF, Point)` in Visual Basic) to represent the `PointFToPoint` method, and passes the delegate to the method. The method passes each element of the input list to the `PointFToPoint` method and puts the converted elements into a new list of structures. Both lists are displayed. :::code language="csharp" source="~/snippets/csharp/System/Array/ConvertAllTInput,TOutput/source.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Array_ConvertAll/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/ConvertAllTInput,TOutput/source.vb" id="Snippet1"::: Example 2 The following code example defines a method named `PointFToPoint` that converts a structure to a structure. The example then creates a of structures, creates a `Converter` delegate (`Converter(Of PointF, Point)` in Visual Basic) to represent the `PointFToPoint` method, and passes the delegate to the method. The method passes each element of the input list to the `PointFToPoint` method and puts the converted elements into a new list of structures. Both lists are displayed. :::code language="csharp" source="~/snippets/csharp/System/ConverterTInput,TOutput/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/List`1_ConvertAll/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ConverterTInput,TOutput/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System/DBNull.xml b/xml/System/DBNull.xml index 8d5067aa949..88d92952333 100644 --- a/xml/System/DBNull.xml +++ b/xml/System/DBNull.xml @@ -102,7 +102,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DBNull/Overview/DBNullExamples.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DBNull.Class/fs/DBNullExamples.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DBNull.Class/vb/DBNullExamples.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DBNull/Overview/DBNullExamples.vb" id="Snippet1"::: ]]> @@ -1246,7 +1246,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DBNull/Overview/DBNullExamples.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DBNull.Class/fs/DBNullExamples.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DBNull.Class/vb/DBNullExamples.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DBNull/Overview/DBNullExamples.vb" id="Snippet1"::: ]]> diff --git a/xml/System/DateTime.xml b/xml/System/DateTime.xml index 75b3cb5636a..3fa80cc853c 100644 --- a/xml/System/DateTime.xml +++ b/xml/System/DateTime.xml @@ -213,7 +213,7 @@ :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/datetime.ctor_Int64/FS/ticks.fs" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/DateTime/.ctor/ticks.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/datetime.ctor_Int64/VB/ticks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/.ctor/ticks.vb" id="Snippet1"::: ]]> @@ -404,7 +404,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTime/.ctor/ctorexample1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.constructor/fs/ctorexample1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/.ctor/ctorexample1.vb" id="Snippet1"::: ]]> @@ -483,7 +483,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTime/.ctor/ctorexample2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.constructor/fs/ctorexample2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/.ctor/ctorexample2.vb" id="Snippet2"::: ]]> @@ -572,7 +572,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTime/.ctor/ctorexample1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.constructor/fs/ctorexample1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/.ctor/ctorexample1.vb" id="Snippet3"::: ]]> @@ -668,7 +668,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTime/.ctor/ctorexample1.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.constructor/fs/ctorexample1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/.ctor/ctorexample1.vb" id="Snippet7"::: ]]> @@ -767,7 +767,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTime/.ctor/ctorexample4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.constructor/fs/ctorexample4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/.ctor/ctorexample4.vb" id="Snippet4"::: ]]> @@ -870,7 +870,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTime/.ctor/ctorexample1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.constructor/fs/ctorexample1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/.ctor/ctorexample1.vb" id="Snippet5"::: ]]> @@ -973,7 +973,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTime/.ctor/ctorexample1.cs" interactive="try-dotnet-method" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.constructor/fs/ctorexample1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/.ctor/ctorexample1.vb" id="Snippet8"::: ]]> @@ -1080,7 +1080,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTime/.ctor/ctorexample6.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.constructor/fs/ctorexample6.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample6.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/.ctor/ctorexample6.vb" id="Snippet6"::: ]]> @@ -1277,7 +1277,7 @@ For applications in which portability of date and time data or a limited degree :::code language="csharp" source="~/snippets/csharp/System/DateTime/.ctor/ctorexample9.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.constructor/fs/ctorexample9.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample9.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/.ctor/ctorexample9.vb" id="Snippet9"::: ]]> @@ -1653,7 +1653,7 @@ For applications in which portability of date and time data or a limited degree :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/DateTime.Add/FS/class1.fs" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/DateTime/Add/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DateTime.Add/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Add/class1.vb" id="Snippet1"::: ]]> @@ -1726,7 +1726,7 @@ For applications in which portability of date and time data or a limited degree :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/DateTime.AddDays/FS/class1.fs" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/DateTime/AddDays/class1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DateTime.AddDays/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/AddDays/class1.vb" id="Snippet1"::: ]]> @@ -1797,7 +1797,7 @@ For applications in which portability of date and time data or a limited degree :::code language="csharp" source="~/snippets/csharp/System/DateTime/AddHours/AddHours1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.AddHours/fs/AddHours1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.AddHours/vb/AddHours1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/AddHours/AddHours1.vb" id="Snippet1"::: ]]> @@ -1918,7 +1918,7 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/AddMilliseconds/addmilliseconds2.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.addmilliseconds/fs/addmilliseconds2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addmilliseconds/vb/addmilliseconds2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/AddMilliseconds/addmilliseconds2.vb" id="Snippet1"::: ]]> @@ -1988,7 +1988,7 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/AddMinutes/addminutes1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.addminutes/fs/addminutes1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addminutes/vb/addminutes1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/AddMinutes/addminutes1.vb" id="Snippet1"::: ]]> @@ -2060,7 +2060,7 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/AddMonths/addmonths1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.addmonths/fs/addmonths1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addmonths/vb/addmonths1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/AddMonths/addmonths1.vb" id="Snippet1"::: ]]> @@ -2132,7 +2132,7 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/AddSeconds/addseconds1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.addseconds/fs/addseconds1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addseconds/vb/addseconds1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/AddSeconds/addseconds1.vb" id="Snippet1"::: ]]> @@ -2265,7 +2265,7 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/AddYears/addyears1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.addyears/fs/addyears1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addyears/vb/addyears1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/AddYears/addyears1.vb" id="Snippet1"::: ]]> @@ -2353,7 +2353,7 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/Compare/compare1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.compare/fs/compare1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.compare/vb/compare1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Compare/compare1.vb" id="Snippet1"::: ]]> @@ -2466,7 +2466,7 @@ The value parameter is rounded to the nearest integer. :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/DateTime.CompareTo.2/FS/CompareTo_CS1_24564.fs" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/DateTime/CompareTo/CompareTo_CS1_24564.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DateTime.CompareTo.2/VB/CompareTo_VB1_24564.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/CompareTo/CompareTo_VB1_24564.vb" id="Snippet1"::: ]]> @@ -2556,7 +2556,7 @@ The value parameter is rounded to the nearest integer. :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/DateTime.CompareTo/FS/class1.fs" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/DateTime/CompareTo/class1.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DateTime.CompareTo/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/CompareTo/class1.vb" id="Snippet1"::: ]]> @@ -2629,7 +2629,7 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/Date/Date1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Date/fs/Date1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Date/vb/Date1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Date/Date1.vb" id="Snippet1"::: ]]> @@ -2685,20 +2685,20 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/Day/Day1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Day/fs/Day1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Day/vb/Day1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Day/Day1.vb" id="Snippet1"::: Similarly, the following example uses both the property and the method to retrieve the day of the month when the current culture is ar-SA, which uses Hijri as its default calendar. :::code language="csharp" source="~/snippets/csharp/System/DateTime/Day/Day2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Day/fs/Day2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Day/vb/Day2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Day/Day2.vb" id="Snippet2"::: ## Examples The following example demonstrates the property. :::code language="csharp" source="~/snippets/csharp/System/DateTime/Day/class1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Minute etc/FS/class1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Minute etc/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Day/class1.vb" id="Snippet1"::: ]]> @@ -2767,7 +2767,7 @@ The value parameter is rounded to the nearest integer. :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/DateTime.DayOfWeek/FS/dow.fs" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/DateTime/DayOfWeek/dow.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DateTime.DayOfWeek/VB/dow.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/DayOfWeek/dow.vb" id="Snippet1"::: ]]> @@ -2828,7 +2828,7 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/DayOfYear/dayofyear2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.dayofyear/fs/dayofyear2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.dayofyear/vb/dayofyear2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/DayOfYear/dayofyear2.vb" id="Snippet1"::: ]]> @@ -2898,13 +2898,13 @@ The value parameter is rounded to the nearest integer. :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/DateTime.DaysInMonth/FS/class1.fs" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/DateTime/DaysInMonth/class1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DateTime.DaysInMonth/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/DaysInMonth/class1.vb" id="Snippet1"::: The following example displays the number of days in each month of a year specified in an integer array. :::code language="csharp" source="~/snippets/csharp/System/DateTime/DaysInMonth/daysinmonth3.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.daysinmonth/fs/daysinmonth3.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.daysinmonth/vb/daysinmonth3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/DaysInMonth/daysinmonth3.vb" id="Snippet1"::: ]]> @@ -3073,7 +3073,7 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/Equals/sample.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Equals-Instance/fs/sample.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Equals-Instance/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Equals/sample.vb" id="Snippet1"::: ]]> @@ -3150,7 +3150,7 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/Equals/sample.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Equals-Instance/fs/sample.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Equals-Instance/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Equals/sample.vb" id="Snippet1"::: ]]> @@ -3220,7 +3220,7 @@ The value parameter is rounded to the nearest integer. :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/DateTime.Equals/FS/class1.fs" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/DateTime/Equals/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DateTime.Equals/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Equals/class1.vb" id="Snippet1"::: ]]> @@ -3343,7 +3343,7 @@ The value parameter is rounded to the nearest integer. :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/DateTime.FromFileTime/FS/class1.fs" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/DateTime/FromFileTime/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DateTime.FromFileTime/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/FromFileTime/class1.vb" id="Snippet1"::: ]]> @@ -3360,7 +3360,7 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/FromFileTime/fromfiletime1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.fromfiletime/fs/fromfiletime1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.fromfiletime/vb/fromfiletime1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/FromFileTime/fromfiletime1.vb" id="Snippet1"::: @@ -3573,7 +3573,7 @@ The value parameter is rounded to the nearest integer. :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/DateTime.GetDateTimeFormats/FS/class1.fs" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/DateTime/GetDateTimeFormats/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DateTime.GetDateTimeFormats/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/GetDateTimeFormats/class1.vb" id="Snippet1"::: The example displays the following output: @@ -3782,7 +3782,7 @@ July, 2009 :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/DateTime.GetDateTimeFormats/FS/class1.fs" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System/DateTime/GetDateTimeFormats/class1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DateTime.GetDateTimeFormats/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/GetDateTimeFormats/class1.vb" id="Snippet3"::: ]]> @@ -3863,7 +3863,7 @@ July, 2009 :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/DateTime.GetDateTimeFormats/FS/class1.fs" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System/DateTime/GetDateTimeFormats/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DateTime.GetDateTimeFormats/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/GetDateTimeFormats/class1.vb" id="Snippet2"::: The example displays the following output: @@ -4051,7 +4051,7 @@ juillet 2009 :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/DateTime.GetDateTimeFormats/FS/class1.fs" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System/DateTime/GetDateTimeFormats/class1.cs" interactive="try-dotnet-method" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DateTime.GetDateTimeFormats/VB/class1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/GetDateTimeFormats/class1.vb" id="Snippet4"::: ]]> @@ -4222,7 +4222,7 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/Hour/Hour1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Hour/fs/Hour1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Hour/vb/Hour1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Hour/Hour1.vb" id="Snippet1"::: @@ -4231,7 +4231,7 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/Day/class1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Minute etc/FS/class1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Minute etc/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Day/class1.vb" id="Snippet1"::: ]]> @@ -4357,7 +4357,7 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/IsLeapYear/IsLeapYear1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.IsLeapYear/fs/IsLeapYear1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.IsLeapYear/vb/IsLeapYear1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/IsLeapYear/IsLeapYear1.vb" id="Snippet1"::: ]]> @@ -4427,7 +4427,7 @@ juillet 2009 :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/DateTime.Kind_Suite/fs/ks.fs" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/DateTime/Kind/ks.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DateTime.Kind_Suite/vb/ks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Kind/ks.vb" id="Snippet1"::: ]]> @@ -4490,7 +4490,7 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/MaxValue/MinValue.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.MinValue/fs/MinValue.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.MinValue/vb/MinValue.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/MaxValue/MinValue.vb" id="Snippet2"::: ]]> @@ -4583,19 +4583,19 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/Millisecond/Millisecond.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Millisecond/fs/Millisecond.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Millisecond/vb/Millisecond.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Millisecond/Millisecond.vb" id="Snippet1"::: You can also display the millisecond component together with the other components of a date and time value by using the "o" standard format specifier. For example: :::code language="csharp" source="~/snippets/csharp/System/DateTime/Millisecond/Millisecond.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Millisecond/fs/Millisecond.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Millisecond/vb/Millisecond.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Millisecond/Millisecond.vb" id="Snippet2"::: However, the "o" format specifier is intended less for displaying than for round-tripping or storing a value. You can also display milliseconds together with other date and time components by using a custom format string, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/DateTime/Millisecond/Millisecond.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Millisecond/fs/Millisecond.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Millisecond/vb/Millisecond.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Millisecond/Millisecond.vb" id="Snippet3"::: @@ -4604,7 +4604,7 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/Day/class1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Minute etc/FS/class1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Minute etc/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Day/class1.vb" id="Snippet1"::: ]]> @@ -4666,7 +4666,7 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/Day/class1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Minute etc/FS/class1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Minute etc/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Day/class1.vb" id="Snippet1"::: ]]> @@ -4723,7 +4723,7 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/MaxValue/MinValue.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.MinValue/fs/MinValue.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.MinValue/vb/MinValue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/MaxValue/MinValue.vb" id="Snippet1"::: The and properties can be used to ensure that a value lies within the supported range before passing it to a constructor. The code in the Example section illustrates this usage. @@ -4734,7 +4734,7 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/MaxValue/MinValue.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.MinValue/fs/MinValue.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.MinValue/vb/MinValue.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/MaxValue/MinValue.vb" id="Snippet2"::: ]]> @@ -4790,7 +4790,7 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/Day/class1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Minute etc/FS/class1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Minute etc/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Day/class1.vb" id="Snippet1"::: ]]> @@ -4876,7 +4876,7 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/Now/now1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.now/fs/now1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.now/vb/now1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Now/now1.vb" id="Snippet2"::: The resolution of this property depends on the system timer, which depends on the underlying operating system. It tends to be between 0.5 and 15 milliseconds. As a result, repeated calls to the property in a short time interval, such as in a loop, may return the same value. @@ -4894,7 +4894,7 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/Now/now2.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.now/fs/now2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.now/vb/now2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Now/now2.vb" id="Snippet3"::: ]]> @@ -4958,7 +4958,7 @@ juillet 2009 :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/DateTime Operators/FS/class1.fs" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/DateTime/op_Addition/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DateTime Operators/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/op_Addition/class1.vb" id="Snippet1"::: ]]> @@ -5037,7 +5037,7 @@ juillet 2009 :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/DateTime Operators/FS/class1.fs" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System/DateTime/op_Addition/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DateTime Operators/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/op_Addition/class1.vb" id="Snippet2"::: ]]> @@ -5458,7 +5458,7 @@ juillet 2009 :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/DateTime.Subtraction/FS/class1.fs" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/DateTime/op_Subtraction/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DateTime.Subtraction/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/op_Subtraction/class1.vb" id="Snippet1"::: ]]> @@ -5528,7 +5528,7 @@ juillet 2009 :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/DateTime.Subtraction/FS/class1.fs" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/DateTime/op_Subtraction/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DateTime.Subtraction/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/op_Subtraction/class1.vb" id="Snippet1"::: ]]> @@ -5613,7 +5613,7 @@ The following example parses strings in each of these formats by using the forma :::code language="csharp" source="~/snippets/csharp/System/DateTime/Parse/Parse6.cs"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Parse/fs/Parse6.fs"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse6.vb"::: +:::code language="vb" source="~/snippets/visualbasic/System/DateTime/Parse/Parse6.vb"::: If the input string represents a leap day in a leap year in the calendar used by the parsing method (see [Parsing and cultural conventions](#Culture)), the method parses the string successfully. If the input string represents a leap day in a non-leap year, the method throws a . @@ -5687,13 +5687,13 @@ The `DateTime.Parse` overloads return a value whose property during a formatting and parsing operation by using the flag. The following example illustrates how the flag affects the parsing operation on values that are converted to strings by using the "o", "r", or "u" format specifier. :::code language="csharp" source="~/snippets/csharp/System/DateTime/Parse/Parse5.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Parse/fs/Parse5.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Parse/Parse5.vb" id="Snippet5"::: ## Examples @@ -5784,7 +5784,7 @@ It handles the exception that is thrown when the m :::code language="csharp" source="~/snippets/csharp/System/DateTime/Parse/Parse1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Parse/fs/Parse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Parse/Parse1.vb" id="Snippet1"::: ]]> @@ -5928,7 +5928,7 @@ The following example parses an array of date strings by using the conventions o :::code language="csharp" source="~/snippets/csharp/System/DateTime/Parse/Parse3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Parse/fs/Parse3.fs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse3.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System/DateTime/Parse/Parse3.vb" id="Snippet3"::: ]]> @@ -6082,7 +6082,7 @@ The following example demonstrates the @@ -6217,7 +6217,7 @@ The following example demonstrates the @@ -6482,7 +6482,7 @@ The following example demonstrates the @@ -6624,7 +6624,7 @@ The following example demonstrates the @@ -6713,7 +6713,7 @@ The following example demonstrates the @@ -6788,7 +6788,7 @@ The following example demonstrates the @@ -6880,7 +6880,7 @@ The following example demonstrates the @@ -6969,7 +6969,7 @@ The following example demonstrates the @@ -7997,7 +7997,7 @@ In general, the ticks represent the time according to the time zone specified by :::code language="csharp" source="~/snippets/csharp/System/DateTime/Ticks/Ticks.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Ticks/fs/Ticks.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Ticks/vb/Ticks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Ticks/Ticks.vb" id="Snippet1"::: ]]> @@ -8066,7 +8066,7 @@ In general, the ticks represent the time according to the time zone specified by :::code language="csharp" source="~/snippets/csharp/System/DateTime/TimeOfDay/timeofday1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.timeofday/fs/timeofday1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.timeofday/vb/timeofday1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/TimeOfDay/timeofday1.vb" id="Snippet1"::: ]]> @@ -8182,7 +8182,7 @@ In general, the ticks represent the time according to the time zone specified by :::code language="csharp" source="~/snippets/csharp/System/DateTime/Today/Today1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Today/fs/Today1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Today/vb/Today1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Today/Today1.vb" id="Snippet1"::: ]]> @@ -8246,7 +8246,7 @@ In general, the ticks represent the time according to the time zone specified by :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/DateTime.ToFileTime/FS/class1.fs" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/DateTime/ToFileTime/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DateTime.ToFileTime/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/ToFileTime/class1.vb" id="Snippet1"::: ]]> @@ -8262,7 +8262,7 @@ In general, the ticks represent the time according to the time zone specified by :::code language="csharp" source="~/snippets/csharp/System/DateTime/FromFileTime/fromfiletime1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.fromfiletime/fs/fromfiletime1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.fromfiletime/vb/fromfiletime1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/FromFileTime/fromfiletime1.vb" id="Snippet1"::: @@ -8405,13 +8405,13 @@ In general, the ticks represent the time according to the time zone specified by :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/DateTime.ToLocalTime ToUniversalTime/FS/class1.fs" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/DateTime/ToLocalTime/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DateTime.ToLocalTime ToUniversalTime/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/ToLocalTime/class1.vb" id="Snippet1"::: The following example uses the method to demonstrate how the property influences the and conversion methods. :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/DateTime.Kind_Suite/fs/ks.fs" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/DateTime/Kind/ks.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DateTime.Kind_Suite/vb/ks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Kind/ks.vb" id="Snippet1"::: ]]> @@ -8422,7 +8422,7 @@ In general, the ticks represent the time according to the time zone specified by :::code language="csharp" source="~/snippets/csharp/System/DateTime/ToLocalTime/tolocaltime1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.tolocaltime/fs/tolocaltime1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tolocaltime/vb/tolocaltime1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/ToLocalTime/tolocaltime1.vb" id="Snippet1"::: @@ -8492,7 +8492,7 @@ The following example demonstrates the @@ -8566,7 +8566,7 @@ The value of the current object is formatted using the pa :::code language="csharp" source="~/snippets/csharp/System/DateTime/ToLongTimeString/sls.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.tolongtimestring/fs/sls.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tolongtimestring/vb/sls.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/ToLongTimeString/sls.vb" id="Snippet1"::: ]]> @@ -8697,7 +8697,7 @@ The value of the current object is formatted using the pa :::code language="csharp" source="~/snippets/csharp/System/DateTime/ToShortDateString/ToShortDateString.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.ToShortDateString/fs/ToShortDateString.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToShortDateString/vb/ToShortDateString.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/ToShortDateString/ToShortDateString.vb" id="Snippet1"::: ]]> @@ -8771,7 +8771,7 @@ The value of the current object is formatted using the pa :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/DateTime.ToShortLongString/fs/sls.fs" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/DateTime/ToLongDateString/sls.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DateTime.ToShortLongString/vb/sls.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/ToLongDateString/sls.vb" id="Snippet1"::: ]]> @@ -8859,7 +8859,7 @@ The following example illustrates how the string representation of a @@ -8869,7 +8869,7 @@ The following example illustrates how the string representation of a @@ -8969,7 +8969,7 @@ The following example illustrates how the string representation of a @@ -8979,7 +8979,7 @@ The following example illustrates how the string representation of a @@ -9073,14 +9073,14 @@ The following example illustrates how the string representation of a value. The thread current culture for the example is en-US. :::code language="csharp" source="~/snippets/csharp/System/DateTime/ToString/ToString2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.ToString/fs/ToString2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/ToString2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/ToString/ToString2.vb" id="Snippet2"::: ]]> @@ -9095,7 +9095,7 @@ The following example illustrates how the string representation of a @@ -9194,7 +9194,7 @@ The following example illustrates how the string representation of a value using the invariant . @@ -9215,7 +9215,7 @@ The following example illustrates how the string representation of a @@ -9300,13 +9300,13 @@ The following example illustrates how the string representation of a method to demonstrate how the property influences the and conversion methods. :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/DateTime.Kind_Suite/fs/ks.fs" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/DateTime/Kind/ks.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DateTime.Kind_Suite/vb/ks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Kind/ks.vb" id="Snippet1"::: ]]> @@ -9319,7 +9319,7 @@ The following example illustrates how the string representation of a + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/ToUniversalTime/touniversaltime.vb" id="Snippet1"::: @@ -9592,7 +9592,7 @@ The following example illustrates how the string representation of a @@ -9830,7 +9830,7 @@ The following example illustrates the @@ -10143,7 +10143,7 @@ The following example illustrates the @@ -10288,7 +10288,7 @@ The following example illustrates the @@ -10411,7 +10411,7 @@ The following example illustrates the @@ -10469,7 +10469,7 @@ The following example illustrates the diff --git a/xml/System/DateTimeOffset.xml b/xml/System/DateTimeOffset.xml index ca70581ffd9..610a554b627 100644 --- a/xml/System/DateTimeOffset.xml +++ b/xml/System/DateTimeOffset.xml @@ -140,7 +140,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Overview/Type.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Type/fs/Type.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Type/vb/Type.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Overview/Type.vb" id="Snippet1"::: - Type conversion operations. @@ -240,7 +240,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/.ctor/Constructors.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/fs/Constructors.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/vb/Constructors.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/.ctor/Constructors.vb" id="Snippet1"::: ]]> @@ -314,7 +314,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/.ctor/Constructors.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/fs/Constructors.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/vb/Constructors.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/.ctor/Constructors.vb" id="Snippet3"::: ]]> @@ -388,7 +388,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/.ctor/Constructors.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/fs/Constructors.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/vb/Constructors.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/.ctor/Constructors.vb" id="Snippet4"::: @@ -397,7 +397,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/.ctor/Constructors.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/fs/Constructors.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/vb/Constructors.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/.ctor/Constructors.vb" id="Snippet2"::: ]]> @@ -514,7 +514,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/.ctor/Constructors.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/fs/Constructors.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/vb/Constructors.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/.ctor/Constructors.vb" id="Snippet5"::: ]]> @@ -621,7 +621,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/.ctor/Constructors.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/fs/Constructors.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/vb/Constructors.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/.ctor/Constructors.vb" id="Snippet7"::: ]]> @@ -730,7 +730,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/.ctor/Constructors.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/fs/Constructors.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/vb/Constructors.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/.ctor/Constructors.vb" id="Snippet8"::: ]]> @@ -1037,7 +1037,7 @@ The property is earlier than :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet1"::: ]]> @@ -1118,7 +1118,7 @@ In .NET 6 and earlier versions, the `days` parameter is rounded to the nearest m :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet2"::: ]]> @@ -1195,7 +1195,7 @@ In .NET 6 and earlier versions, the `hours` parameter is rounded to the nearest :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet3"::: ]]> @@ -1459,7 +1459,7 @@ In .NET 6 and earlier versions, the `minutes` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet4"::: ]]> @@ -1682,7 +1682,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet6"::: ]]> @@ -1766,7 +1766,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Compare/Syntax.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/fs/Syntax.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/vb/Syntax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Compare/Syntax.vb" id="Snippet1"::: In other words, the method determines whether two objects represent a single point in time. It directly compares neither dates and times nor offsets. @@ -1777,7 +1777,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods2.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods2.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods2.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods2.vb" id="Snippet7"::: ]]> @@ -1862,7 +1862,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods3.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods3.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods3.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods3.vb" id="Snippet8"::: ]]> @@ -1926,7 +1926,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet1"::: ]]> @@ -1992,7 +1992,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet2"::: ]]> @@ -2062,7 +2062,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet10"::: ]]> @@ -2119,13 +2119,13 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet4"::: Note that the string returned by calling the `ToString` method of the enumeration member that is returned by this property is not localized. To extract a string that contains the weekday name of the current culture or of a specific culture, call the method with the "dddd" custom format specifier. For example, the following code displays the weekday name for a date using the `fr-fr` culture. :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet5"::: @@ -2134,7 +2134,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet3"::: ]]> @@ -2296,7 +2296,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Compare/Syntax.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/fs/Syntax.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/vb/Syntax.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Compare/Syntax.vb" id="Snippet2"::: In other words, the method determines whether two objects represent a single point in time. It directly compares neither dates and times nor offsets. To determine whether two objects represent the same time and have the same offset value, use the method. @@ -2311,7 +2311,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet9"::: ]]> @@ -2380,7 +2380,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Compare/Syntax.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/fs/Syntax.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/vb/Syntax.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Compare/Syntax.vb" id="Snippet3"::: In other words, the method determines whether the current object and a specified object represent a single point in time. It directly compares neither dates and times nor offsets. To determine whether two objects represent the same time and have the same offset value, use the method. @@ -2393,7 +2393,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet10"::: ]]> @@ -2456,7 +2456,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Compare/Syntax.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/fs/Syntax.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/vb/Syntax.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Compare/Syntax.vb" id="Snippet4"::: In other words, the method determines whether the two objects represent a single point in time. It directly compares neither dates and times nor offsets. To determine whether two objects represent the same time and have the same offset value, use the method. @@ -2467,7 +2467,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet11"::: ]]> @@ -2535,7 +2535,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet12"::: ]]> @@ -2604,7 +2604,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/FromFileTime/FileTime.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.FromFileTime/fs/FileTime.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.FromFileTime/vb/FileTime.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/FromFileTime/FileTime.vb" id="Snippet1"::: ]]> @@ -2843,7 +2843,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet6"::: ]]> @@ -2911,7 +2911,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet7"::: ]]> @@ -3070,7 +3070,7 @@ If you rely on properties such as or @@ -3138,7 +3138,7 @@ If you rely on properties such as or @@ -3259,7 +3259,7 @@ If you rely on properties such as or @@ -3359,13 +3359,13 @@ If you rely on properties such as or and properties to determine the resolution of the system clock. It displays the time only when the value of its millisecond component has changed. :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet11"::: ]]> @@ -3428,7 +3428,7 @@ If you rely on properties such as or @@ -3496,7 +3496,7 @@ If you rely on properties such as or method instead. @@ -3567,13 +3567,13 @@ If you rely on properties such as or method determines whether the two objects represent a single point in time. It directly compares neither dates and times nor offsets. To determine whether two objects represent the same time and have the same offset value, use the method. @@ -3638,17 +3638,17 @@ If you rely on properties such as or method instead. They can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Operators/vb/Operators.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/op_Addition/Operators.vb" id="Snippet4"::: Before evaluating the `left` and `right` operands, the operator converts both values to Coordinated Universal Time (UTC). The operation is equivalent to the following: :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Compare/Syntax.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/fs/Syntax.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/vb/Syntax.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Compare/Syntax.vb" id="Snippet5"::: The equivalent method for this operator is ]]> @@ -3710,17 +3710,17 @@ If you rely on properties such as or method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Operators/vb/Operators.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/op_Addition/Operators.vb" id="Snippet6"::: Before evaluating the `left` and `right` operands, the operator converts both values to Coordinated Universal Time (UTC). The operation is equivalent to the following: :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Compare/Syntax.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/fs/Syntax.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/vb/Syntax.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Compare/Syntax.vb" id="Snippet6"::: The equivalent method for this operator is ]]> @@ -3779,7 +3779,7 @@ If you rely on properties such as or constructor. The offset of the resulting object depends on the value of the property of the `dateTime` parameter: @@ -3852,19 +3852,19 @@ If you rely on properties such as or method determines whether the two objects represent different points in time. It directly compares neither dates and times nor offsets. Languages that do not support custom operators can call the method instead. In addition, some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Operators/vb/Operators.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/op_Addition/Operators.vb" id="Snippet9"::: The equivalent method for this operator is ]]> @@ -3926,17 +3926,17 @@ If you rely on properties such as or method instead. In addition, some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Operators/vb/Operators.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/op_Addition/Operators.vb" id="Snippet11"::: The equivalent method for this operator is ]]> @@ -3998,17 +3998,17 @@ If you rely on properties such as or method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Operators/vb/Operators.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/op_Addition/Operators.vb" id="Snippet13"::: Before evaluating the `left` and `right` operands, the operator converts both values to Coordinated Universal Time (UTC). The operation is equivalent to the following: :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Compare/Syntax.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/fs/Syntax.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/vb/Syntax.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Compare/Syntax.vb" id="Snippet9"::: The equivalent method for this operator is ]]> @@ -4082,7 +4082,7 @@ If you rely on properties such as or method instead. @@ -4154,7 +4154,7 @@ If you rely on properties such as or method instead. @@ -4259,7 +4259,7 @@ If you rely on properties such as or @@ -4413,7 +4413,7 @@ If you rely on properties such as or @@ -4592,7 +4592,7 @@ If you rely on properties such as or @@ -4728,7 +4728,7 @@ If you rely on properties such as or do not :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ParseExact/ParseExact.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.ParseExact/fs/ParseExact.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ParseExact/vb/ParseExact.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ParseExact/ParseExact.vb" id="Snippet2"::: The following example uses a variety of values to parse an array of strings that are expected to conform to [ISO 8601](/dotnet/standard/base-types/standard-date-and-time-format-strings#the-round-trip-o-o-format-specifier). As the output from the example shows, strings that are in the proper format fail to parse if: @@ -5240,7 +5240,7 @@ Strings that do not specify a UTC offset are assumed to have the offset of the l :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ParseExact/ParseExact.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.ParseExact/fs/ParseExact.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ParseExact/vb/ParseExact.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ParseExact/ParseExact.vb" id="Snippet3"::: ]]> @@ -5339,7 +5339,7 @@ Strings that do not specify a UTC offset are assumed to have the offset of the l :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet14"::: ]]> @@ -5421,7 +5421,7 @@ Strings that do not specify a UTC offset are assumed to have the offset of the l :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet13"::: ]]> @@ -5491,7 +5491,7 @@ Strings that do not specify a UTC offset are assumed to have the offset of the l :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet14"::: ]]> @@ -5731,7 +5731,7 @@ Strings that do not specify a UTC offset are assumed to have the offset of the l :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet15"::: ]]> @@ -5794,7 +5794,7 @@ Strings that do not specify a UTC offset are assumed to have the offset of the l :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet16"::: ]]> @@ -5923,7 +5923,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet15"::: ]]> @@ -5988,7 +5988,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ToOffset/ToOffset.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.ToOffset/fs/ToOffset.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ToOffset/vb/ToOffset.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ToOffset/ToOffset.vb" id="Snippet1"::: ]]> @@ -6086,7 +6086,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ToString/ToString.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.ToString/fs/ToString.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ToString/vb/ToString.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ToString/ToString.vb" id="Snippet1"::: ]]> @@ -6096,7 +6096,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/fs/datetimeoffset.tostring.argumentoutofrangeexception2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception2.vb" id="Snippet2"::: @@ -6180,7 +6180,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ToString/ToString.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.ToString/fs/ToString.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ToString/vb/ToString.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ToString/ToString.vb" id="Snippet2"::: ]]> @@ -6190,7 +6190,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/fs/datetimeoffset.tostring.argumentoutofrangeexception1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception1.vb" id="Snippet1"::: @@ -6283,7 +6283,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ToString/ToString.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.ToString/fs/ToString.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ToString/vb/ToString.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ToString/ToString.vb" id="Snippet3"::: ]]> @@ -6298,7 +6298,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception3.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/fs/datetimeoffset.tostring.argumentoutofrangeexception3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception3.vb" id="Snippet3"::: Standard Date and Time Format Strings Custom Date and Time Format Strings @@ -6400,7 +6400,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ToString/ToString.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.ToString/fs/ToString.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ToString/vb/ToString.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ToString/ToString.vb" id="Snippet4"::: ]]> @@ -6415,7 +6415,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/fs/datetimeoffset.tostring.argumentoutofrangeexception4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception4.vb" id="Snippet4"::: Standard Date and Time Format Strings Custom Date and Time Format Strings @@ -6509,7 +6509,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet16"::: ]]> @@ -6624,7 +6624,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ToUnixTimeSeconds/tounixtimeseconds1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetimeoffset.tounixtimeseconds/fs/tounixtimeseconds1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tounixtimeseconds/vb/tounixtimeseconds1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ToUnixTimeSeconds/tounixtimeseconds1.vb" id="Snippet1"::: ]]> @@ -6899,7 +6899,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/TryParse/TryParse.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.TryParse/fs/TryParse.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.TryParse/vb/TryParse.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/TryParse/TryParse.vb" id="Snippet1"::: ]]> @@ -7171,7 +7171,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/TryParse/TryParse.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.TryParse/fs/TryParse.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.TryParse/vb/TryParse.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/TryParse/TryParse.vb" id="Snippet2"::: ]]> @@ -7530,7 +7530,7 @@ This method parses the string representation of a date that matches any one of t :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/TryParseExact/TryParseExact.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.TryParseExact/fs/TryParseExact.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.TryParseExact/vb/TryParseExact.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/TryParseExact/TryParseExact.vb" id="Snippet1"::: The following example uses a variety of values to parse an array of strings that are expected to conform to [ISO 8601](/dotnet/standard/base-types/standard-date-and-time-format-strings#the-round-trip-o-o-format-specifier). As the output from the example shows, strings that are in the proper format fail to parse if: @@ -7677,7 +7677,7 @@ Strings that do not specify a UTC offset are assumed to have the offset of the l :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/TryParseExact/TryParseExact.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.TryParseExact/fs/TryParseExact.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.TryParseExact/vb/TryParseExact.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/TryParseExact/TryParseExact.vb" id="Snippet2"::: ]]> @@ -7792,7 +7792,7 @@ Strings that do not specify a UTC offset are assumed to have the offset of the l :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet17"::: ]]> @@ -7854,7 +7854,7 @@ Strings that do not specify a UTC offset are assumed to have the offset of the l :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet18"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet18"::: ]]> @@ -7976,7 +7976,7 @@ Strings that do not specify a UTC offset are assumed to have the offset of the l :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet19"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet19"::: ]]> diff --git a/xml/System/DayOfWeek.xml b/xml/System/DayOfWeek.xml index 41b1d32a7c6..72838cc782b 100644 --- a/xml/System/DayOfWeek.xml +++ b/xml/System/DayOfWeek.xml @@ -74,7 +74,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTime/DayOfWeek/dow.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/DateTime.DayOfWeek/FS/dow.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/DateTime.DayOfWeek/VB/dow.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/DayOfWeek/dow.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Decimal.xml b/xml/System/Decimal.xml index 49d500c730a..62ec8d375c8 100644 --- a/xml/System/Decimal.xml +++ b/xml/System/Decimal.xml @@ -353,7 +353,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/.ctor/ctordo.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/.ctor/ctordo.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/VB/ctordo.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/.ctor/ctordo.vb" id="Snippet2"::: ]]> @@ -415,7 +415,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/.ctor/ctori.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/.ctor/ctori.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctori.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/.ctor/ctori.vb" id="Snippet1"::: ]]> @@ -492,7 +492,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/.ctor/ctoriarr.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/.ctor/ctoriarr.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/VB/ctoriarr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/.ctor/ctoriarr.vb" id="Snippet1"::: ]]> @@ -556,7 +556,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/.ctor/ctorl.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/.ctor/ctorl.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctorl.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/.ctor/ctorl.vb" id="Snippet3"::: ]]> @@ -656,7 +656,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/.ctor/ctors.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/.ctor/ctors.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/VB/ctors.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/.ctor/ctors.vb" id="Snippet1"::: ]]> @@ -724,7 +724,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/.ctor/ctorui.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/.ctor/ctorui.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctorui.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/.ctor/ctorui.vb" id="Snippet2"::: ]]> @@ -786,7 +786,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/.ctor/ctorul.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/.ctor/ctorul.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctorul.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/.ctor/ctorul.vb" id="Snippet4"::: ]]> @@ -856,13 +856,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/.ctor/ctoriiibby.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/.ctor/ctoriiibby.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/VB/ctoriiibby.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/.ctor/ctoriiibby.vb" id="Snippet2"::: The following example uses the method to retrieve the component parts of an array. It then uses this array in the call to the constructor to instantiate a new value. :::code language="csharp" source="~/snippets/csharp/System/Decimal/.ctor/ctor2a.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/.ctor/ctor2a.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.ctor/vb/ctor2a.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/.ctor/ctor2a.vb" id="Snippet1"::: ]]> @@ -970,7 +970,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/Overview/source.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Overview/source.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Decimal Example/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Add/source.vb" id="Snippet5"::: ]]> @@ -1042,7 +1042,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/Ceiling/ceiling1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Ceiling/ceiling1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ceiling/vb/Ceiling1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Ceiling/Ceiling1.vb" id="Snippet1"::: ]]> @@ -1176,7 +1176,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/Compare/Compare1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Compare/Compare1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.Compare/vb/Compare1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Compare/Compare1.vb" id="Snippet1"::: ]]> @@ -1287,7 +1287,7 @@ The following code example demonstrates generic and nongeneric versions of the method for several value and reference types. :::code language="csharp" source="~/snippets/csharp/System/Boolean/CompareTo/cat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/T.CompareTo/VB/cat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Boolean/CompareTo/cat.vb" id="Snippet1"::: ]]> @@ -1380,7 +1380,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/CompareTo/cto_eq_obj.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/CompareTo/cto_eq_obj.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/VB/cto_eq_obj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/CompareTo/cto_eq_obj.vb" id="Snippet1"::: ]]> @@ -1748,7 +1748,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/Divide/Divide1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Divide/Divide1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.Divide/vb/Divide1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Divide/Divide1.vb" id="Snippet1"::: ]]> @@ -1847,7 +1847,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/Equals/equalsoverl.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Equals/equalsoverl.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.equals/vb/equalsoverl.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Equals/equalsoverl.vb" id="Snippet2"::: @@ -1923,7 +1923,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/CompareTo/cto_eq_obj.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/CompareTo/cto_eq_obj.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/VB/cto_eq_obj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/CompareTo/cto_eq_obj.vb" id="Snippet1"::: ]]> @@ -1932,7 +1932,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/Equals/equalsoverl.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Equals/equalsoverl.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.equals/vb/equalsoverl.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Equals/equalsoverl.vb" id="Snippet2"::: @@ -2001,7 +2001,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/CompareTo/comp_equal.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/CompareTo/comp_equal.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/VB/comp_equal.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/CompareTo/comp_equal.vb" id="Snippet2"::: ]]> @@ -2082,7 +2082,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/Ceiling/ceiling1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Ceiling/ceiling1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ceiling/vb/Ceiling1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Ceiling/Ceiling1.vb" id="Snippet1"::: ]]> @@ -2142,7 +2142,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/FromOACurrency/fromoacurrency.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/FromOACurrency/fromoacurrency.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.OACurrency/VB/fromoacurrency.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/FromOACurrency/fromoacurrency.vb" id="Snippet2"::: ]]> @@ -2224,13 +2224,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/GetBits/getbits.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/GetBits/getbits.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Get_Bits_Hash_Type/VB/getbits.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/GetBits/getbits.vb" id="Snippet2"::: The following example uses the method to retrieve the component parts of an array. It then uses this array in the call to the constructor to instantiate a new value. :::code language="csharp" source="~/snippets/csharp/System/Decimal/.ctor/ctor2a.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/.ctor/ctor2a.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.ctor/vb/ctor2a.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/.ctor/ctor2a.vb" id="Snippet1"::: ]]> @@ -2379,7 +2379,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/GetBits/gettypecode.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/GetBits/gettypecode.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Get_Bits_Hash_Type/VB/gettypecode.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/GetBits/gettypecode.vb" id="Snippet3"::: ]]> @@ -2815,7 +2815,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/Overview/source.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Overview/source.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Decimal Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Add/source.vb" id="Snippet2"::: ]]> @@ -2972,7 +2972,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/MinusOne/fields.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/MinusOne/fields.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Fields/VB/fields.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/MinusOne/fields.vb" id="Snippet1"::: ]]> @@ -3036,7 +3036,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/MinusOne/fields.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/MinusOne/fields.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Fields/VB/fields.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/MinusOne/fields.vb" id="Snippet1"::: ]]> @@ -3108,7 +3108,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/Multiply/mul_div_rem.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Multiply/mul_div_rem.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Mul_Div_Rem/VB/mul_div_rem.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Multiply/mul_div_rem.vb" id="Snippet1"::: ]]> @@ -3176,7 +3176,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/Negate/floor_neg_trunc.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Negate/floor_neg_trunc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Flr_Neg_Rnd_Trnc/VB/floor_neg_trunc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Negate/floor_neg_trunc.vb" id="Snippet1"::: ]]> @@ -3231,7 +3231,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/MinusOne/fields.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/MinusOne/fields.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Fields/VB/fields.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/MinusOne/fields.vb" id="Snippet1"::: ]]> @@ -3307,7 +3307,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/addition1.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/addition1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/addition1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/addition1.vb" id="Snippet3"::: If the language you're using doesn't support custom operators, call the method instead. @@ -3378,13 +3378,13 @@ For , this method matches the IE Some languages (such as Visual Basic) that lack an increment operator can call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/decrement1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/decrement1.vb" id="Snippet5"::: If your language does not support custom operators, call the method instead, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/decrement2.cs" interactive="try-dotnet" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/decrement2.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/decrement2.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/decrement2.vb" id="Snippet6"::: ]]> @@ -3458,7 +3458,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/division1.cs" interactive="try-dotnet" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/division1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/division1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/division1.vb" id="Snippet7"::: If the language you're using doesn't support custom operators, call the method instead. @@ -3537,7 +3537,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/equality1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/equality1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/equality1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/equality1.vb" id="Snippet1"::: If the language you're using doesn't support custom operators, call the method instead. @@ -3617,7 +3617,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/ctos_byte.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/ctos_byte.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctos_byte.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/ctos_byte.vb" id="Snippet4"::: ]]> @@ -3683,7 +3683,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/ctochar.cs" interactive="try-dotnet" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/ctochar.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctochar.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/ctochar.vb" id="Snippet6"::: ]]> @@ -3751,7 +3751,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/ctosgl_dbl.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/ctosgl_dbl.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctosgl_dbl.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/ctosgl_dbl.vb" id="Snippet5"::: ]]> @@ -3816,7 +3816,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/ctou_int16.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/ctou_int16.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int16.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/ctou_int16.vb" id="Snippet3"::: ]]> @@ -3882,7 +3882,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/ctou_int32.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/ctou_int32.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int32.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/ctou_int32.vb" id="Snippet2"::: ]]> @@ -3948,7 +3948,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/ctou_int64.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/ctou_int64.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int64.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/ctou_int64.vb" id="Snippet1"::: ]]> @@ -4023,7 +4023,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/tosbyte.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/tosbyte.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators.explicit/vb/tosbyte.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/tosbyte.vb" id="Snippet1"::: ]]> @@ -4093,7 +4093,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/tosingle1.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/tosingle1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators.explicit/vb/tosingle1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/tosingle1.vb" id="Snippet2"::: ]]> @@ -4166,7 +4166,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/ctou_int16.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/ctou_int16.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int16.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/ctou_int16.vb" id="Snippet3"::: ]]> @@ -4241,7 +4241,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/ctou_int32.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/ctou_int32.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int32.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/ctou_int32.vb" id="Snippet2"::: ]]> @@ -4317,7 +4317,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/ctou_int64.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/ctou_int64.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int64.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/ctou_int64.vb" id="Snippet1"::: ]]> @@ -4381,7 +4381,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/cfromdouble.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/cfromdouble.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/VB/cfromdouble.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/cfromdouble.vb" id="Snippet2"::: ]]> @@ -4448,7 +4448,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/cfromsingle.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/cfromsingle.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/VB/cfromsingle.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/cfromsingle.vb" id="Snippet3"::: ]]> @@ -4528,11 +4528,11 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/greaterthan1.cs" interactive="try-dotnet" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/greaterthan1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthan1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/greaterthan1.vb" id="Snippet8"::: Languages that do not support custom operators can call the method instead. They may also be able to call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthan2.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/greaterthan2.vb" id="Snippet9"::: The equivalent method for this operator is ]]> @@ -4606,11 +4606,11 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/greaterthanorequal1.cs" interactive="try-dotnet" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/greaterthanorequal1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthanorequal1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/greaterthanorequal1.vb" id="Snippet10"::: Languages that do not support custom operators can call the method instead. They may also be able to call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthanorequal2.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/greaterthanorequal2.vb" id="Snippet11"::: The equivalent method for this operator is ]]> @@ -4694,7 +4694,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Implicit/cfrombyte.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Implicit/cfrombyte.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfrombyte.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Implicit/cfrombyte.vb" id="Snippet4"::: ]]> @@ -4758,7 +4758,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/cfromchar.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/cfromchar.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/VB/cfromchar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/cfromchar.vb" id="Snippet1"::: ]]> @@ -4822,7 +4822,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Implicit/cfromint16.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Implicit/cfromint16.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromint16.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Implicit/cfromint16.vb" id="Snippet3"::: ]]> @@ -4886,7 +4886,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Implicit/cfromint32.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Implicit/cfromint32.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromint32.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Implicit/cfromint32.vb" id="Snippet2"::: ]]> @@ -4950,7 +4950,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Implicit/cfromint64.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Implicit/cfromint64.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromint64.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Implicit/cfromint64.vb" id="Snippet1"::: ]]> @@ -5022,7 +5022,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Implicit/cfromsbyte.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Implicit/cfromsbyte.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromsbyte.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Implicit/cfromsbyte.vb" id="Snippet4"::: ]]> @@ -5094,7 +5094,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Implicit/cfromuint16.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Implicit/cfromuint16.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfromuint16.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Implicit/cfromuint16.vb" id="Snippet3"::: ]]> @@ -5166,7 +5166,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Implicit/cfromuint32.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Implicit/cfromuint32.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfromuint32.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Implicit/cfromuint32.vb" id="Snippet2"::: ]]> @@ -5238,7 +5238,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Implicit/cfromuint64.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Implicit/cfromuint64.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfromuint64.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Implicit/cfromuint64.vb" id="Snippet1"::: ]]> @@ -5306,13 +5306,13 @@ For , this method matches the IE Some languages (such as Visual Basic) that lack an increment operator can call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/increment1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/increment1.vb" id="Snippet13"::: If your language does not support custom operators, call the method instead, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/increment2.cs" interactive="try-dotnet" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/increment2.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/increment2.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/increment2.vb" id="Snippet14"::: ]]> @@ -5387,7 +5387,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/inequality1.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/inequality1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/inequality1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/inequality1.vb" id="Snippet2"::: If the language you're using doesn't support custom operators, you can test for inequality by using one of the following techniques: @@ -5467,11 +5467,11 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/lessthan1.cs" interactive="try-dotnet" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/lessthan1.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthan1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/lessthan1.vb" id="Snippet15"::: Languages that do not support custom operators can call the method instead. They may also be able to call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthan2.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/lessthan2.vb" id="Snippet16"::: The equivalent method for this operator is ]]> @@ -5545,11 +5545,11 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/lessthanorequal1.cs" interactive="try-dotnet" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/lessthanorequal1.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthanorequal1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/lessthanorequal1.vb" id="Snippet17"::: Languages that do not support custom operators can call the method instead. They may also be able to call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthanorequal2.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/lessthanorequal2.vb" id="Snippet18"::: The equivalent method for this operator is ]]> @@ -5616,7 +5616,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/modulus1.cs" interactive="try-dotnet" id="Snippet19"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/modulus1.fs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/modulus1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/modulus1.vb" id="Snippet19"::: The sign of the value returned by the remainder operation depends on the sign of dividend. If dividend is positive, the remainder operation returns a positive result; if it is negative, the remainder operation returns a negative result. @@ -5695,7 +5695,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/multiply1.cs" interactive="try-dotnet" id="Snippet20"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/multiply1.fs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/multiply1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/multiply1.vb" id="Snippet20"::: If the language you're using doesn't support custom operators, call the method instead. @@ -5771,7 +5771,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/subtraction1.cs" interactive="try-dotnet" id="Snippet21"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/subtraction1.fs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/subtraction1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/subtraction1.vb" id="Snippet21"::: If the language you're using doesn't support custom operators, call the method instead. @@ -5991,14 +5991,12 @@ For , this method matches the IE If during a parse operation a separator is encountered in the `s` parameter, and the applicable currency or number decimal and group separators are the same, the parse operation assumes that the separator is a decimal separator rather than a group separator. For more information about separators, see , , , and . - - ## Examples The following code example uses the method to parse string representations of values. :::code language="csharp" source="~/snippets/csharp/System/Decimal/Parse/parse.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Parse/parse.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Parse/VB/parse.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Parse/parse.vb" id="Snippet1"::: ]]> @@ -6216,7 +6214,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/Parse/parse.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Parse/parse.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Parse/VB/parse.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Parse/parse.vb" id="Snippet2"::: ]]> @@ -6332,7 +6330,7 @@ For , this method matches the IE The following example is the button click event handler of a Web form. It uses the array returned by the property to determine the user's locale. It then instantiates a object that corresponds to that locale. The object that belongs to that object is then passed to the method to convert the user's input to a value. :::code language="csharp" source="~/snippets/csharp/System/Decimal/Parse/Default.aspx.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ParseMethod/vb/Default.aspx.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Parse/Default.aspx.vb" id="Snippet3"::: ]]> @@ -6571,7 +6569,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/Parse/parse.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Parse/parse.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Parse/VB/parse.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Parse/parse.vb" id="Snippet3"::: ]]> @@ -6648,7 +6646,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/Remainder/remainder.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Remainder/remainder.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.remainder/vb/remainder.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Remainder/remainder.vb" id="Snippet1"::: ]]> @@ -6723,7 +6721,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/Round/Round1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Round/Round1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.Round/vb/Round1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Round/Round1.vb" id="Snippet1"::: ]]> @@ -6797,7 +6795,7 @@ This method is equivalent to calling the @@ -6874,7 +6872,7 @@ The following example displays values returned by the @@ -6953,7 +6951,7 @@ If you specify or @@ -7102,7 +7100,7 @@ It is recommended that a function return `1`, `0`, and `-1`, respectively. :::code language="csharp" source="~/snippets/csharp/System/Decimal/Overview/source.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Overview/source.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Decimal Example/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Add/source.vb" id="Snippet4"::: ]]> @@ -9842,7 +9840,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToByte/tobyte_1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToByte/tobyte_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.tobyte/vb/tobyte_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToByte/tobyte_1.vb" id="Snippet1"::: ]]> @@ -9918,7 +9916,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToDouble/tosgl_dbl.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToDouble/tosgl_dbl.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.ToXXX/VB/tosgl_dbl.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToDouble/tosgl_dbl.vb" id="Snippet5"::: ]]> @@ -9984,7 +9982,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToInt16/toint16_1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToInt16/toint16_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.toint16/vb/toint16_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToInt16/toint16_1.vb" id="Snippet1"::: ]]> @@ -10060,7 +10058,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToInt32/toint32_1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToInt32/toint32_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.toint32/vb/toint32_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToInt32/toint32_1.vb" id="Snippet1"::: ]]> @@ -10136,7 +10134,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToInt64/toint64_1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToInt64/toint64_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.toint64/vb/toint64_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToInt64/toint64_1.vb" id="Snippet1"::: ]]> @@ -10195,7 +10193,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/FromOACurrency/tooacurrency.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/FromOACurrency/tooacurrency.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.OACurrency/VB/tooacurrency.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/FromOACurrency/tooacurrency.vb" id="Snippet1"::: ]]> @@ -10267,7 +10265,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToSByte/tosbyte1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToSByte/tosbyte1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.tosbyte/vb/tosbyte1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToSByte/tosbyte1.vb" id="Snippet1"::: ]]> @@ -10344,7 +10342,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToDouble/tosgl_dbl.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToDouble/tosgl_dbl.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.ToXXX/VB/tosgl_dbl.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToDouble/tosgl_dbl.vb" id="Snippet5"::: ]]> @@ -10438,13 +10436,13 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToString/ToString2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToString/ToString2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.ToString/VB/ToString2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToString/ToString2.vb" id="Snippet2"::: The following example displays the amount of money in an account. :::code language="csharp" source="~/snippets/csharp/System/Decimal/Overview/source.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Overview/source.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Decimal Example/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Add/source.vb" id="Snippet5"::: ]]> @@ -10547,7 +10545,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToString/ToString2.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToString/ToString2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.ToString/VB/ToString2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToString/ToString2.vb" id="Snippet3"::: ]]> @@ -10649,7 +10647,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToString/ToString2.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToString/ToString2.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.ToString/VB/ToString2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToString/ToString2.vb" id="Snippet4"::: ]]> @@ -10756,7 +10754,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToString/ToString2.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToString/ToString2.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.ToString/VB/ToString2.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToString/ToString2.vb" id="Snippet5"::: ]]> @@ -10836,7 +10834,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToUInt16/touint16_1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToUInt16/touint16_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.touint16/vb/touint16_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToUInt16/touint16_1.vb" id="Snippet1"::: ]]> @@ -10917,7 +10915,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToUInt32/touint32_1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToUInt32/touint32_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.touint32/vb/touint32_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToUInt32/touint32_1.vb" id="Snippet1"::: ]]> @@ -10998,7 +10996,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToUInt64/touint64_1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToUInt64/touint64_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.touint64/vb/touint64_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToUInt64/touint64_1.vb" id="Snippet1"::: ]]> @@ -11076,7 +11074,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/Negate/floor_neg_trunc.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Negate/floor_neg_trunc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Flr_Neg_Rnd_Trnc/VB/floor_neg_trunc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Negate/floor_neg_trunc.vb" id="Snippet1"::: ]]> @@ -11442,7 +11440,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/TryParse/TryParse.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/TryParse/TryParse.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.TryParse/vb/TryParse.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/TryParse/TryParse.vb" id="Snippet1"::: ]]> @@ -11801,7 +11799,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/TryParse/TryParse.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/TryParse/TryParse.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.TryParse/vb/TryParse.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/TryParse/TryParse.vb" id="Snippet2"::: ]]> @@ -11865,7 +11863,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/MinusOne/fields.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/MinusOne/fields.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Fields/VB/fields.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/MinusOne/fields.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Delegate.xml b/xml/System/Delegate.xml index c6cc1124c01..d5d42e1a739 100644 --- a/xml/System/Delegate.xml +++ b/xml/System/Delegate.xml @@ -2107,7 +2107,7 @@ The number, order, or type of parameters listed in is i :::code language="csharp" source="~/snippets/csharp/System/Delegate/GetInvocationList/GetInvocationList1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.Delegate.GetInvocationList/fs/GetInvocationList1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Delegate.GetInvocationList/vb/GetInvocationList1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Delegate/GetInvocationList/GetInvocationList1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/DivideByZeroException.xml b/xml/System/DivideByZeroException.xml index 5cd1234a188..52537437a64 100644 --- a/xml/System/DivideByZeroException.xml +++ b/xml/System/DivideByZeroException.xml @@ -74,7 +74,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DivideByZeroException/Overview/exception2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.dividebyzeroexception.class/fs/exception2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.dividebyzeroexception.class/vb/exception2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DivideByZeroException/Overview/exception2.vb" id="Snippet2"::: For more information, see and . @@ -99,7 +99,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DivideByZeroException/Overview/exception1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.dividebyzeroexception.class/fs/exception1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.dividebyzeroexception.class/vb/exception1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DivideByZeroException/Overview/exception1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Double.xml b/xml/System/Double.xml index 8adbb5ae6ba..0fd019af1ab 100644 --- a/xml/System/Double.xml +++ b/xml/System/Double.xml @@ -1157,7 +1157,7 @@ This computes `arctan(x) / π` in the interval `[-0.5, +0.5]`. The following code example demonstrates generic and nongeneric versions of the method for several value and reference types. :::code language="csharp" source="~/snippets/csharp/System/Boolean/CompareTo/cat.cs" interactive="try-dotnet" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/T.CompareTo/VB/cat.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/Boolean/CompareTo/cat.vb" id="Snippet1"::: ]]> @@ -1230,7 +1230,7 @@ The following code example illustrates the use of `CompareTo` in the context of :::code language="csharp" source="~/snippets/csharp/System/Double/CompareTo/doublesample.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/CompareTo/doublesample.fs" id="Snippet16"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double/VB/doublesample.vb" id="Snippet16"::: +:::code language="vb" source="~/snippets/visualbasic/System/Double/IsInfinity/doublesample.vb" id="Snippet16"::: ]]> @@ -1854,7 +1854,7 @@ Euler's number is approximately 2.7182818284590452354. :::code language="csharp" source="~/snippets/csharp/System/Double/Equals/equalsoverl.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/Equals/equalsoverl.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.double.equals/vb/equalsoverl.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/Equals/equalsoverl.vb" id="Snippet2"::: @@ -1923,7 +1923,7 @@ Euler's number is approximately 2.7182818284590452354. :::code language="csharp" source="~/snippets/csharp/System/Double/Epsilon/Equals_25051.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/Epsilon/Equals_25051.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Epsilon/vb/Equals_25051.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/Equals/Equals_25051.vb" id="Snippet3"::: For alternatives to calling the method, see the documentation for the overload. @@ -1941,7 +1941,7 @@ Euler's number is approximately 2.7182818284590452354. :::code language="csharp" source="~/snippets/csharp/System/Double/Equals/equalsoverl.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/Equals/equalsoverl.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.double.equals/vb/equalsoverl.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/Equals/equalsoverl.vb" id="Snippet2"::: @@ -2644,7 +2644,7 @@ A return value of `false` does not imply that @@ -2778,7 +2778,7 @@ This method correctly handles floating-point values and so `2.0` and `3.0` will :::code language="csharp" source="~/snippets/csharp/System/Double/CompareTo/doublesample.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/CompareTo/doublesample.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double/VB/doublesample.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/IsInfinity/doublesample.vb" id="Snippet8"::: ]]> @@ -2893,13 +2893,13 @@ This method correctly handles floating-point values and so `2.0` and `3.0` will :::code language="csharp" source="~/snippets/csharp/System/Double/CompareTo/doublesample.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/CompareTo/doublesample.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double/VB/doublesample.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/IsInfinity/doublesample.vb" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System/Double/CompareTo/doublesample.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/CompareTo/doublesample.fs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double/VB/doublesample.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System/Double/IsInfinity/doublesample.vb" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System/Double/CompareTo/doublesample.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/CompareTo/doublesample.fs" id="Snippet9"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double/VB/doublesample.vb" id="Snippet9"::: +:::code language="vb" source="~/snippets/visualbasic/System/Double/IsInfinity/doublesample.vb" id="Snippet9"::: ]]> @@ -3113,7 +3113,7 @@ A return value of `false` does not imply that @@ -3854,7 +3854,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/Double/MaxValue/maxvalueex.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/MaxValue/maxvalueex.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.double.maxvalue/vb/maxvalueex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/MaxValue/maxvalueex.vb" id="Snippet1"::: @@ -3863,7 +3863,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/Double/Overview/source.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/Overview/source.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Double Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/MaxValue/source.vb" id="Snippet2"::: ]]> @@ -4153,7 +4153,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/Double/MinValue/minvalueex.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/MinValue/minvalueex.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.double.minvalue/vb/minvalueex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/MinValue/minvalueex.vb" id="Snippet1"::: ## Examples @@ -4161,7 +4161,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/Double/Overview/source.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/Overview/source.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Double Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/MaxValue/source.vb" id="Snippet2"::: ]]> @@ -4256,19 +4256,19 @@ A method or operator returns when the result of an oper :::code language="csharp" source="~/snippets/csharp/System/Double/NaN/nan1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/NaN/nan1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.double.nan/vb/nan1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/Double/NaN/nan1.vb" id="Snippet1"::: In addition, a method call with a value or an operation on a value returns , as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/Double/NaN/nan1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/NaN/nan1.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.double.nan/vb/nan1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/Double/NaN/nan1.vb" id="Snippet2"::: Use the method to determine whether a value is not a number. The operator considers two values to be unequal to one another. In general, operators cannot be used to compare with other values, although comparison methods (such as and ) can. The following example illustrates the difference in behavior between comparison operators and methods. :::code language="csharp" source="~/snippets/csharp/System/Double/NaN/double.nan4.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/NaN/double.nan4.fs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.double.nan/vb/double.nan4.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System/Double/NaN/double.nan4.vb" id="Snippet4"::: ## Examples @@ -4276,7 +4276,7 @@ The following example illustrates the use of . :::code language="csharp" source="~/snippets/csharp/System/Double/CompareTo/doublesample.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/CompareTo/doublesample.fs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double/VB/doublesample.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System/Double/IsInfinity/doublesample.vb" id="Snippet7"::: ]]> @@ -4340,7 +4340,7 @@ The following code example illustrates the use of @@ -4839,7 +4839,7 @@ The following code example illustrates the use of data type, the method throws an . @@ -4852,7 +4852,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and :::code language="csharp" source="~/snippets/csharp/System/Double/Overview/source.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/Overview/source.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Double Example/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/MaxValue/source.vb" id="Snippet5"::: ]]> @@ -5066,7 +5066,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and :::code language="csharp" source="~/snippets/csharp/System/Double/Parse/parse2.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/Parse/parse2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Parse/vb/parse2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/Parse/parse2.vb" id="Snippet3"::: On .NET Framework and .NET Core 2.2 and earlier versions, if `s` is out of range of the data type, the method throws an . @@ -5079,7 +5079,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and :::code language="csharp" source="~/snippets/csharp/System/Double/Parse/Parse.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/Parse/Parse.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Parse/vb/Parse.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/Parse/Parse.vb" id="Snippet1"::: ]]> @@ -5192,7 +5192,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and :::code language="csharp" source="~/snippets/csharp/System/Double/Parse/parse2.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/Parse/parse2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Parse/vb/parse2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/Parse/parse2.vb" id="Snippet3"::: On .NET Framework and .NET Core 2.2 and earlier versions, if `s` is out of range of the data type, the method throws an . @@ -5204,7 +5204,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and The following example is the button click event handler of a Web form. It uses the array returned by the property to determine the user's locale. It then instantiates a object that corresponds to that locale. The object that belongs to that object is then passed to the method to convert the user's input to a value. :::code language="csharp" source="~/snippets/csharp/System/Decimal/Parse/Default.aspx.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ParseMethod/vb/Default.aspx.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Parse/Default.aspx.vb" id="Snippet2"::: ]]> @@ -5455,7 +5455,7 @@ If `s` is out of range of the data type, the method returns :::code language="csharp" source="~/snippets/csharp/System/Double/Parse/parse2.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/Parse/parse2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Parse/vb/parse2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/Parse/parse2.vb" id="Snippet3"::: On .NET Framework and .NET Core 2.2 and earlier versions, if `s` is out of range of the data type, the method throws an . @@ -5468,7 +5468,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and :::code language="csharp" source="~/snippets/csharp/System/Double/Parse/Parse3.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/Parse/Parse3.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Parse/vb/Parse3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/Parse/Parse3.vb" id="Snippet2"::: ]]> @@ -5583,7 +5583,7 @@ The following code example illustrates the use of @@ -9343,13 +9343,13 @@ Tau is approximately 6.2831853071795864769. :::code language="csharp" source="~/snippets/csharp/System/Double/ToString/ToString1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/ToString/ToString1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/ToString1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/ToString/ToString1.vb" id="Snippet1"::: The following example illustrates the use of . :::code language="csharp" source="~/snippets/csharp/System/Double/CompareTo/doublesample.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/CompareTo/doublesample.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double/VB/doublesample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/IsInfinity/doublesample.vb" id="Snippet3"::: ]]> @@ -9469,13 +9469,13 @@ Tau is approximately 6.2831853071795864769. :::code language="csharp" source="~/snippets/csharp/System/Double/ToString/ToString1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/ToString/ToString1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/ToString1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/ToString/ToString1.vb" id="Snippet2"::: The following example illustrates the use of , taking a and an as parameters. :::code language="csharp" source="~/snippets/csharp/System/Double/Overview/source.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/Overview/source.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Double Example/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/MaxValue/source.vb" id="Snippet4"::: ]]> @@ -9579,13 +9579,13 @@ Tau is approximately 6.2831853071795864769. :::code language="csharp" source="~/snippets/csharp/System/Double/ToString/ToString7.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/ToString/ToString7.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/ToString7.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/ToString/ToString7.vb" id="Snippet7"::: The following example displays several values using the supported standard numeric format specifiers together with three custom numeric format strings. One of those custom format strings illustrates how to pad a value with leading zeros. In addition, the example uses precision specifiers with each standard format specifier except for "R". The values of the precision specifiers range from 0 to 3. To convert the numeric values to strings, the example uses the formatting conventions of the en-US culture. :::code language="csharp" source="~/snippets/csharp/System/Double/ToString/ToString1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/ToString/ToString1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/ToString1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/ToString/ToString1.vb" id="Snippet3"::: ]]> @@ -9596,7 +9596,7 @@ Tau is approximately 6.2831853071795864769. :::code language="csharp" source="~/snippets/csharp/System/Double/ToString/roundtripex2.cs" interactive="try-dotnet" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/ToString/roundtripex2.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/roundtripex2.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/ToString/roundtripex2.vb" id="Snippet6"::: Formatting Types in .NET @@ -9703,13 +9703,13 @@ Tau is approximately 6.2831853071795864769. :::code language="csharp" source="~/snippets/csharp/System/Double/ToString/ToString1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/ToString/ToString1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/ToString1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/ToString/ToString1.vb" id="Snippet4"::: The following example illustrates the use of , taking a and an as parameters. :::code language="csharp" source="~/snippets/csharp/System/Double/Overview/source.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/Overview/source.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Double Example/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/MaxValue/source.vb" id="Snippet4"::: ]]> @@ -9718,7 +9718,7 @@ Tau is approximately 6.2831853071795864769. :::code language="csharp" source="~/snippets/csharp/System/Double/ToString/roundtripex1.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/ToString/roundtripex1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/roundtripex1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/ToString/roundtripex1.vb" id="Snippet5"::: Formatting Types in .NET @@ -10082,7 +10082,7 @@ Tau is approximately 6.2831853071795864769. :::code language="csharp" source="~/snippets/csharp/System/Double/TryParse/tryparse2.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/TryParse/tryparse2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.TryParse/vb/tryparse2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/TryParse/tryparse2.vb" id="Snippet3"::: On .NET Framework and .NET Core 2.2 and earlier versions, if `s` is out of range of the data type, the method throws an . @@ -10095,7 +10095,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and :::code language="csharp" source="~/snippets/csharp/System/Double/TryParse/tryparse1a.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/TryParse/tryparse1a.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.TryParse/vb/tryparse1a.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/TryParse/tryparse1a.vb" id="Snippet1"::: ]]> @@ -10479,7 +10479,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and :::code language="csharp" source="~/snippets/csharp/System/Double/TryParse/tryparse2.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/TryParse/tryparse2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.TryParse/vb/tryparse2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/TryParse/tryparse2.vb" id="Snippet3"::: On .NET Framework and .NET Core 2.2 and earlier versions, if `s` is out of range of the data type, the method throws an . @@ -10492,7 +10492,7 @@ On .NET Core 3.0 and later versions, no exception is thrown when `s` is out of r :::code language="csharp" source="~/snippets/csharp/System/Double/TryParse/TryParse1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/TryParse/TryParse1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.TryParse/vb/TryParse1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/TryParse/TryParse1.vb" id="Snippet2"::: ]]> diff --git a/xml/System/EntryPointNotFoundException.xml b/xml/System/EntryPointNotFoundException.xml index 019a2954bda..3602539e2f3 100644 --- a/xml/System/EntryPointNotFoundException.xml +++ b/xml/System/EntryPointNotFoundException.xml @@ -70,13 +70,13 @@ :::code language="csharp" source="~/snippets/csharp/System/EntryPointNotFoundException/Overview/nofunction1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/EntryPointNotFoundException/Overview/nofunction1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/nofunction1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/EntryPointNotFoundException/Overview/nofunction1.vb" id="Snippet1"::: - The call to a function in a Windows DLL cannot be resolved because the name used in the method call does not match a name found in the assembly. Frequently, this occurs because the field is either implicitly or explicitly set to `true`, the called method includes one or more string parameters and has both an ANSI and a Unicode version, and the name used in the method call does not correspond to the name of this ANSI or Unicode version. The following example provides an illustration by attempting to call the Windows `MessageBox` function in User32.dll. Because the first method definition specifies for string marshaling, the common language looks for the wide-character version of the function, `MessageBoxW`, instead of the name used in the method call, `MessageBox`. The second method definition corrects this problem by calling the `MessageBoxW` instead of the `MessageBox` function. :::code language="csharp" source="~/snippets/csharp/System/EntryPointNotFoundException/Overview/badcall1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/EntryPointNotFoundException/Overview/badcall1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/badcall1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/EntryPointNotFoundException/Overview/badcall1.vb" id="Snippet2"::: - You're trying to call a function in a dynamic link library by its simple name rather than its decorated name. Typically, the C++ compiler generates a decorated name for DLL functions. For example, the following C++ code defines a function named `Double` in a library named TestDll.dll. @@ -86,13 +86,13 @@ :::code language="csharp" source="~/snippets/csharp/System/EntryPointNotFoundException/Overview/mangle1.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/EntryPointNotFoundException/Overview/mangle1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/mangle1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/EntryPointNotFoundException/Overview/mangle1.vb" id="Snippet7"::: However, if the function is called by using its decorated name (in this case, `?Double@@YAHH@Z`), the function call succeeds, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/EntryPointNotFoundException/Overview/mangle2.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/EntryPointNotFoundException/Overview/mangle2.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/mangle2.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/EntryPointNotFoundException/Overview/mangle2.vb" id="Snippet8"::: You can find the decorated names of functions exported by a DLL by using a utility such as Dumpbin.exe. @@ -100,19 +100,19 @@ :::code language="csharp" source="~/snippets/csharp/System/EntryPointNotFoundException/Overview/stringutilities.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/EntryPointNotFoundException/Overview/stringutilities.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/stringutilities.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/EntryPointNotFoundException/Overview/stringutilities.vb" id="Snippet3"::: Then compile and execute the following example, which attempts to call the `StringUtilities.SayGoodMorning` method in the StringUtilities.dll dynamic link library as if it were unmanaged code. The result is an exception. :::code language="csharp" source="~/snippets/csharp/System/EntryPointNotFoundException/Overview/importassembly1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/EntryPointNotFoundException/Overview/importassembly1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/importassembly1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/EntryPointNotFoundException/Overview/importassembly1.vb" id="Snippet4"::: To eliminate the exception, add a reference to the managed assembly and access the `StringUtilities.SayGoodMorning` method just as you would access any other method in managed code, as the following example does. :::code language="csharp" source="~/snippets/csharp/System/EntryPointNotFoundException/Overview/fiximportassembly1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/EntryPointNotFoundException/Overview/fiximportassembly1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/fiximportassembly1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/EntryPointNotFoundException/Overview/fiximportassembly1.vb" id="Snippet5"::: - You are trying to call a method in a COM DLL as if it were a Windows DLL. To access a COM DLL, select the **Add Reference** option in Visual Studio to add a reference to the project, and then select the type library from the **COM** tab. diff --git a/xml/System/Enum.xml b/xml/System/Enum.xml index af7a7817a38..63aabb9b435 100644 --- a/xml/System/Enum.xml +++ b/xml/System/Enum.xml @@ -216,7 +216,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/CompareTo/EnumCompareTo.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/CompareTo/EnumCompareTo.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/enumcompareto/VB/EnumCompareTo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/CompareTo/EnumCompareTo.vb" id="Snippet1"::: ]]> @@ -302,13 +302,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/Equals/EnumEquals.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/Equals/EnumEquals.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/enumequals/VB/EnumEquals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/Equals/EnumEquals.vb" id="Snippet1"::: The following example defines two enumeration types, `SledDog` and `WorkDog`. The `SledDog` enumeration has two members, `SledDog.AlaskanMalamute` and `SledDog.Malamute`, that have the same underlying value. The call to the method indicates that these values are equal because their underlying values are the same. The `SledDog.Malamute` and `WorkDog.Newfoundland` members have the same underlying value, although they represent different enumeration types. A call to the method indicates that these values are not equal. :::code language="csharp" source="~/snippets/csharp/System/Enum/Equals/enumequals1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/Equals/enumequals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.equals/vb/enumequals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/Equals/enumequals1.vb" id="Snippet1"::: ]]> @@ -397,7 +397,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/Format/EnumFormat.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/Format/EnumFormat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/enumformat/VB/EnumFormat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/Format/EnumFormat.vb" id="Snippet1"::: ]]> @@ -542,7 +542,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/GetName/EnumGetName.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/GetName/EnumGetName.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/enumgetname/VB/EnumGetName.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/GetName/EnumGetName.vb" id="Snippet1"::: ]]> @@ -671,7 +671,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/GetNames/getnames1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/GetNames/getnames1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.getnames/vb/getnames1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/GetNames/getnames1.vb" id="Snippet1"::: If there are enumerated constants with same value, the order of their corresponding names is unspecified. @@ -680,7 +680,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/GetNames/EnumGetNames.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/GetNames/EnumGetNames.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/enumgetnames/VB/EnumGetNames.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/GetNames/EnumGetNames.vb" id="Snippet1"::: ]]> @@ -861,7 +861,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/GetUnderlyingType/getunderlyingtype1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/GetUnderlyingType/getunderlyingtype1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.getunderlyingtype/vb/getunderlyingtype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/GetUnderlyingType/getunderlyingtype1.vb" id="Snippet1"::: ]]> @@ -936,7 +936,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/GetValues/getvalues1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/GetValues/getvalues1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.getvalues/vb/getvalues1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/GetValues/getvalues1.vb" id="Snippet1"::: The method returns an array that contains a value for each member of the `enumType` enumeration. If multiple members have the same value, the returned array includes duplicate values. In this case, calling the method with each value in the returned array does not restore the unique names assigned to members that have duplicate values. To retrieve all the names of enumeration members successfully, call the method. @@ -944,20 +944,20 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/GetValues/getvalues_reflectiononly.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/GetValues/getvalues_reflectiononly.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.getvalues/vb/getvalues_reflectiononly.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/GetValues/getvalues_reflectiononly.vb" id="Snippet2"::: The assembly is loaded in a reflection-only context, a object that represents the `Pets` enumeration is instantiated, an array of objects is retrieved, and the field values are displayed to the console. :::code language="csharp" source="~/snippets/csharp/System/Enum/GetValues/getvalues_reflectiononly.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/GetValues/getvalues_reflectiononly.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.getvalues/vb/getvalues_reflectiononly.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/GetValues/getvalues_reflectiononly.vb" id="Snippet3"::: ## Examples The following example illustrates the use of . :::code language="csharp" source="~/snippets/csharp/System/Enum/GetValues/EnumGetValues.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/GetValues/EnumGetValues.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/enumgetvalues/VB/EnumGetValues.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/GetValues/EnumGetValues.vb" id="Snippet1"::: ]]> @@ -1181,7 +1181,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/HasFlag/hasflag0.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/HasFlag/hasflag0.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.hasflag/vb/hasflag0.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/HasFlag/hasflag0.vb" id="Snippet1"::: The method is designed to be used with enumeration types that are marked with the attribute and can be used to determine whether multiple bit fields are set. For enumeration types that are not marked with the attribute, call either the method or the method. @@ -1192,7 +1192,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/HasFlag/hasflag1.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/HasFlag/hasflag1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.hasflag/vb/hasflag1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/HasFlag/hasflag1.vb" id="Snippet2"::: ]]> @@ -1280,7 +1280,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/IsDefined/isdefined1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/IsDefined/isdefined1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Enum.IsDefined/vb/IsDefined1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/IsDefined/IsDefined1.vb" id="Snippet1"::: ]]> @@ -1303,7 +1303,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/IsDefined/isdefined2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/IsDefined/isdefined2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Enum.IsDefined/vb/isdefined2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/IsDefined/isdefined2.vb" id="Snippet2"::: You can determine whether multiple bit fields are set by calling the method. @@ -1494,7 +1494,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/Parse/ParseExample1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/Parse/ParseExample1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Enum.Parse/vb/ParseExample1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/Parse/ParseExample1.vb" id="Snippet1"::: This operation is case-sensitive. @@ -1503,7 +1503,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/Parse/EnumParse.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/Parse/EnumParse.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/enumparse/VB/EnumParse.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/Parse/EnumParse.vb" id="Snippet1"::: ]]> @@ -1655,7 +1655,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/Parse/ParseExample2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/Parse/ParseExample2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Enum.Parse/vb/ParseExample2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/Parse/ParseExample2.vb" id="Snippet2"::: ]]> @@ -3724,13 +3724,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/ToString/tostringbyvalue1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/ToString/tostringbyvalue1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tostring/vb/tostringbyvalue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/ToString/tostringbyvalue1.vb" id="Snippet1"::: The following method call attempts to retrieve the name of a member of the Shade enumeration whose underlying value is 1. The method can return either "Gray" or "Grey", and your code should not make any assumptions about which string will be returned. :::code language="csharp" source="~/snippets/csharp/System/Enum/ToString/tostringbyvalue1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/ToString/tostringbyvalue1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tostring/vb/tostringbyvalue1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/ToString/tostringbyvalue1.vb" id="Snippet2"::: @@ -3879,7 +3879,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/ToString/tostr.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/ToString/tostr.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/enum.tostring/VB/tostr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/ToString/tostr.vb" id="Snippet1"::: ]]> @@ -3892,13 +3892,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/ToString/tostringbyvalue1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/ToString/tostringbyvalue1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tostring/vb/tostringbyvalue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/ToString/tostringbyvalue1.vb" id="Snippet1"::: The following method call attempts to retrieve the name of a member of the Shade enumeration whose underlying value is 1. The method can return either "Gray" or "Grey", and your code should not make any assumptions about which string will be returned. :::code language="csharp" source="~/snippets/csharp/System/Enum/ToString/tostringbyvalue1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/ToString/tostringbyvalue1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tostring/vb/tostringbyvalue1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/ToString/tostringbyvalue1.vb" id="Snippet3"::: @@ -4454,7 +4454,7 @@ If the parse operation fails, the `result` parameter contains the default value :::code language="csharp" source="~/snippets/csharp/System/Enum/TryParseTEnum/tryparse1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/TryParseTEnum/tryparse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tryparse/vb/tryparse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/TryParseTEnum/tryparse1.vb" id="Snippet1"::: ]]> @@ -4614,7 +4614,7 @@ If the parse operation fails, the `result` parameter contains the default value :::code language="csharp" source="~/snippets/csharp/System/Enum/TryParseTEnum/tryparse2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/TryParseTEnum/tryparse2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tryparse/vb/tryparse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/TryParseTEnum/tryparse2.vb" id="Snippet2"::: ]]> diff --git a/xml/System/Environment+SpecialFolder.xml b/xml/System/Environment+SpecialFolder.xml index e807b410c1e..3caaa16bebc 100644 --- a/xml/System/Environment+SpecialFolder.xml +++ b/xml/System/Environment+SpecialFolder.xml @@ -74,7 +74,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Environment+SpecialFolder/Overview/getfolderpath.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Environment+SpecialFolder/Overview/getfolderpath.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Environment.GetFolderPath/VB/getfolderpath.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Environment+SpecialFolder/Overview/getfolderpath.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Environment.xml b/xml/System/Environment.xml index 788eee1d2fd..848df945e22 100644 --- a/xml/System/Environment.xml +++ b/xml/System/Environment.xml @@ -82,7 +82,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Environment/Overview/env0.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Environment/Overview/env0.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/environment.class/VB/env0.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Environment/Overview/env0.vb" id="Snippet1"::: ]]> @@ -150,7 +150,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Environment/CommandLine/commandline.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Environment/CommandLine/commandline.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/environment.CommandLine/VB/commandline.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Environment/CommandLine/commandline.vb" id="Snippet1"::: ]]> @@ -260,7 +260,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Environment/CurrentDirectory/Vars1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Environment/CurrentDirectory/Vars1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Environment/VB/Vars1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Environment/CurrentDirectory/Vars1.vb" id="Snippet4"::: ]]> @@ -471,7 +471,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Environment/ExitCode/double.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Environment/ExitCode/double.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.environment.exitcode/vb/double.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Environment/ExitCode/double.vb" id="Snippet1"::: The example can then be invoked from a batch file such as the following, which makes its error codes accessible by using the `ERRORLEVEL` command. @@ -518,7 +518,7 @@ Invalid argument :::code language="csharp" source="~/snippets/csharp/System/Environment/ExitCode/double1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Environment/ExitCode/double1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.environment.exitcode/vb/double1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Environment/ExitCode/double1.vb" id="Snippet2"::: ]]> @@ -592,7 +592,7 @@ Invalid argument :::code language="csharp" source="~/snippets/csharp/System/Environment/ExpandEnvironmentVariables/expandenvironmentvariables.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Environment/ExpandEnvironmentVariables/expandenvironmentvariables.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/environment.ExpandEnvironmentVariables/VB/expandenvironmentvariables.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Environment/ExpandEnvironmentVariables/expandenvironmentvariables.vb" id="Snippet1"::: ]]> @@ -688,7 +688,7 @@ Calling the `Environment.FailFast` method to terminate execution of an applicati :::code language="csharp" source="~/snippets/csharp/System/Environment/FailFast/ff.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Environment/FailFast/ff.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/environment.FailFast/vb/ff.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Environment/FailFast/ff.vb" id="Snippet1"::: ]]> @@ -854,7 +854,7 @@ In .NET 5 and later versions, for single-file publishing, the first element is t :::code language="csharp" source="~/snippets/csharp/System/Environment/GetCommandLineArgs/getcommandlineargs.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Environment/GetCommandLineArgs/getcommandlineargs.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Environment.GetCommandLineArgs/VB/getcommandlineargs.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Environment/GetCommandLineArgs/getcommandlineargs.vb" id="Snippet1"::: ]]> @@ -935,13 +935,13 @@ The following example uses the method with each member of the enumeration to establish that the variable can be retrieved only from the current process environment block. Finally, if the example created the variable, it deletes it. :::code language="csharp" source="~/snippets/csharp/System/Environment/GetEnvironmentVariable/getenvironmentvariableex1.cs"::: :::code language="fsharp" source="~/snippets/fsharp/System/Environment/GetEnvironmentVariable/getenvironmentvariableex1.fs"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.environment.getenvironmentvariable/vb/getenvironmentvariableex1.vb"::: +:::code language="vb" source="~/snippets/visualbasic/System/Environment/SetEnvironmentVariable/getenvironmentvariableex1.vb"::: ]]> @@ -1018,7 +1018,7 @@ The following example creates environment variables for the @@ -1122,7 +1122,7 @@ The following example demonstrates the @@ -1207,7 +1207,7 @@ The following example creates environment variables for the @@ -1296,7 +1296,7 @@ The following example creates environment variables for the @@ -1440,7 +1440,7 @@ The following example creates environment variables for the @@ -1697,7 +1697,7 @@ The following example creates environment variables for the @@ -1766,7 +1766,7 @@ The following example creates environment variables for the @@ -1941,7 +1941,7 @@ For more information about processor groups and logical processors, see [Process :::code language="csharp" source="~/snippets/csharp/System/Environment/ProcessorCount/pc.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Environment/ProcessorCount/pc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/environment.processorcount/VB/pc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Environment/ProcessorCount/pc.vb" id="Snippet1"::: ]]> @@ -2093,7 +2093,7 @@ The following example attempts to retrieve the value of an environment variable :::code language="csharp" source="~/snippets/csharp/System/Environment/GetEnvironmentVariable/getenvironmentvariableex1.cs"::: :::code language="fsharp" source="~/snippets/fsharp/System/Environment/GetEnvironmentVariable/getenvironmentvariableex1.fs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.environment.getenvironmentvariable/vb/getenvironmentvariableex1.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System/Environment/SetEnvironmentVariable/getenvironmentvariableex1.vb"::: ]]> @@ -2217,7 +2217,7 @@ The following example creates environment variables for the @@ -2337,7 +2337,7 @@ The following example creates environment variables for the @@ -2401,7 +2401,7 @@ The following example creates environment variables for the @@ -2532,7 +2532,7 @@ The following example creates environment variables for the @@ -2696,7 +2696,7 @@ The following example creates environment variables for the @@ -2767,7 +2767,7 @@ The following example creates environment variables for the @@ -2833,7 +2833,7 @@ The following example creates environment variables for the @@ -2894,7 +2894,7 @@ The following example creates environment variables for the diff --git a/xml/System/EnvironmentVariableTarget.xml b/xml/System/EnvironmentVariableTarget.xml index 68e8055b37e..c190456731f 100644 --- a/xml/System/EnvironmentVariableTarget.xml +++ b/xml/System/EnvironmentVariableTarget.xml @@ -87,7 +87,7 @@ The following example uses the enumerati :::code language="csharp" source="~/snippets/csharp/System/Environment/GetEnvironmentVariable/gsev.cs"::: :::code language="fsharp" source="~/snippets/fsharp/System/Environment/GetEnvironmentVariable/gsev.fs"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/environment.getsetenvar/VB/gsev.vb"::: +:::code language="vb" source="~/snippets/visualbasic/System/Environment/GetEnvironmentVariables/gsev.vb"::: ]]> diff --git a/xml/System/EventArgs.xml b/xml/System/EventArgs.xml index 59ea6de3a62..69cdc8637e0 100644 --- a/xml/System/EventArgs.xml +++ b/xml/System/EventArgs.xml @@ -77,7 +77,7 @@ :::code language="csharp" source="~/snippets/csharp/System/EventArgs/Overview/programwithdata.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/EventArgs/Overview/programwithdata.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventsoverview/vb/module1withdata.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/EventArgs/Overview/module1withdata.vb" id="Snippet6"::: ]]> @@ -201,7 +201,7 @@ :::code language="csharp" source="~/snippets/csharp/System/EventArgs/Overview/programnodata.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/EventArgs/Overview/programnodata.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventsoverview/vb/module1nodata.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/EventArgs/Overview/module1nodata.vb" id="Snippet5"::: ]]> diff --git a/xml/System/EventHandler`1.xml b/xml/System/EventHandler`1.xml index fdf57f7c14e..71d1fcb4949 100644 --- a/xml/System/EventHandler`1.xml +++ b/xml/System/EventHandler`1.xml @@ -115,7 +115,7 @@ The following example shows an event named `ThresholdReached`. The event is asso :::code language="csharp" source="~/snippets/csharp/System/EventArgs/Overview/programwithdata.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/EventArgs/Overview/programwithdata.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/eventsoverview/vb/module1withdata.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/EventArgs/Overview/module1withdata.vb" id="Snippet6"::: ]]> diff --git a/xml/System/Exception.xml b/xml/System/Exception.xml index 6cb8f1b74d6..b4aca621528 100644 --- a/xml/System/Exception.xml +++ b/xml/System/Exception.xml @@ -170,7 +170,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Exception/.ctor/new.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/.ctor/new.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Ctor/VB/new.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/.ctor/new.vb" id="Snippet1"::: ]]> @@ -239,7 +239,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Exception/.ctor/news.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/.ctor/news.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Ctor/VB/news.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/.ctor/news.vb" id="Snippet2"::: ]]> @@ -312,7 +312,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Exception/.ctor/getobjdata.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/.ctor/getobjdata.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.GetObjectData/VB/getobjdata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/.ctor/getobjdata.vb" id="Snippet1"::: ]]> @@ -389,7 +389,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Exception/.ctor/newsi.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/.ctor/newsi.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Ctor/VB/newsi.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/.ctor/newsi.vb" id="Snippet3"::: ]]> @@ -522,7 +522,7 @@ The following example demonstrates how to add and retrieve information using the :::code language="csharp" source="~/snippets/csharp/System/Exception/GetBaseException/getbaseexc.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/GetBaseException/getbaseexc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.GetBaseException/VB/getbaseexc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/GetBaseException/getbaseexc.vb" id="Snippet1"::: ]]> @@ -605,7 +605,7 @@ The following example demonstrates how to add and retrieve information using the :::code language="csharp" source="~/snippets/csharp/System/Exception/.ctor/getobjdata.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/.ctor/getobjdata.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.GetObjectData/VB/getobjdata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/.ctor/getobjdata.vb" id="Snippet1"::: ]]> @@ -730,7 +730,7 @@ The following example demonstrates how to add and retrieve information using the :::code language="csharp" source="~/snippets/csharp/System/Exception/HelpLink/properties.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/HelpLink/properties.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Properties/VB/properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/HelpLink/properties.vb" id="Snippet1"::: ]]> @@ -798,7 +798,7 @@ The following example demonstrates how to add and retrieve information using the :::code language="csharp" source="~/snippets/csharp/System/Exception/HResult/hresult.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/HResult/hresult.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.HResult/VB/hresult.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/HResult/hresult.vb" id="Snippet1"::: ]]> @@ -873,7 +873,7 @@ The following example demonstrates how to add and retrieve information using the :::code language="csharp" source="~/snippets/csharp/System/Exception/InnerException/innerex.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/InnerException/innerex.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/InnerEx/VB/innerex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/InnerException/innerex.vb" id="Snippet1"::: ]]> @@ -949,7 +949,7 @@ The following code example throws and then catches an ex :::code language="csharp" source="~/snippets/csharp/System/Exception/HelpLink/properties.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/HelpLink/properties.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Properties/VB/properties.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/Exception/HelpLink/properties.vb" id="Snippet1"::: ]]> @@ -1094,7 +1094,7 @@ The following code example throws and then catches an ex :::code language="csharp" source="~/snippets/csharp/System/Exception/HelpLink/properties.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/HelpLink/properties.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Properties/VB/properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/HelpLink/properties.vb" id="Snippet1"::: ]]> @@ -1172,7 +1172,7 @@ The following code example throws and then catches an ex :::code language="csharp" source="~/snippets/csharp/System/Exception/HelpLink/properties.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/HelpLink/properties.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Properties/VB/properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/HelpLink/properties.vb" id="Snippet1"::: ]]> @@ -1252,7 +1252,7 @@ The following code example throws and then catches an ex :::code language="csharp" source="~/snippets/csharp/System/Exception/HelpLink/properties.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/HelpLink/properties.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Properties/VB/properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/HelpLink/properties.vb" id="Snippet1"::: ]]> @@ -1329,7 +1329,7 @@ The following code example throws and then catches an ex :::code language="csharp" source="~/snippets/csharp/System/Exception/ToString/ToStringEx1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/ToString/ToStringEx1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.exception.tostring/vb/ToStringEx1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/ToString/ToStringEx1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/FlagsAttribute.xml b/xml/System/FlagsAttribute.xml index edb613384a8..9d1732d71da 100644 --- a/xml/System/FlagsAttribute.xml +++ b/xml/System/FlagsAttribute.xml @@ -113,13 +113,13 @@ :::code language="csharp" source="~/snippets/csharp/System/FlagsAttribute/Overview/flags1.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/FlagsAttribute/Overview/flags1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.FlagsAttribute/VB/flags1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/FlagsAttribute/.ctor/flags1.vb" id="Snippet2"::: The following example illustrates the use of the `FlagsAttribute` attribute and shows the effect on the method of using `FlagsAttribute` on an declaration. :::code language="csharp" source="~/snippets/csharp/System/FlagsAttribute/Overview/flags.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/FlagsAttribute/Overview/flags.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.FlagsAttribute/VB/flags.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/FlagsAttribute/.ctor/flags.vb" id="Snippet1"::: ]]> diff --git a/xml/System/FormatException.xml b/xml/System/FormatException.xml index 408440a12eb..76c9c71b84f 100644 --- a/xml/System/FormatException.xml +++ b/xml/System/FormatException.xml @@ -102,37 +102,37 @@ :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/iformattable1.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/iformattable1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/iformattable1.vb" id="Snippet7"::: This exception results from a coding error. To correct the error, either remove the format string or substitute a valid one. The following example corrects the error by replacing the invalid format string with the "C" (currency) format string. :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/iformattable2.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/iformattable2.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable2.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/iformattable2.vb" id="Snippet8"::: A exception can also be thrown by parsing methods, such as and , that require the string to be parsed to conform exactly to the pattern specified by a format string. In the following example, the string representation of a GUID is expected to conform to the pattern specified by the "G" standard format string. However, the structure's implementation of does not support the "G" format string. :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/iformattable3.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/iformattable3.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable3.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/iformattable3.vb" id="Snippet9"::: This exception also results from a coding error. To correct it, call a parsing method that doesn't require a precise format, such as or , or substitute a valid format string. The following example corrects the error by calling the method. :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/iformattable4.cs" interactive="try-dotnet" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/iformattable4.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable4.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/iformattable4.vb" id="Snippet10"::: - One or more of the indexes of the format items in a [composite format string](/dotnet/standard/base-types/composite-formatting) is greater than the indexes of the items in the object list or parameter array. In the following example, the largest index of a format item in the format string is 3. Because the indexes of items in the object list are zero-based, this format string would require the object list to have four items. Instead, it has only three, `dat`, `temp`, and `scale`, so the code results in a exception at run time:. :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/example1.vb" id="Snippet1"::: In this case, the exception is a result of developer error. It should be corrected rather than handled in a `try/catch` block by making sure that each item in the object list corresponds to the index of a format item. To correct this example, change the index of the second format item to refer to the `dat` variable, and decrement the index of each subsequent format item by one. :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/example2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/example2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/example2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/example2.vb" id="Snippet2"::: - The composite format string isn't well-formed. When this happens, the exception is always a result of developer error. It should be corrected rather than handled in a `try/catch` block. @@ -140,37 +140,37 @@ :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/qa3.cs" id="Snippet23"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/qa3.fs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/qa3.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/qa3.vb" id="Snippet23"::: The recommended technique for including literal braces in a composite format string is to include them in the object list and use format items to insert them into the result string. For example, you can modify the previous composite format string as shown here. :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/qa3.cs" interactive="try-dotnet-method" id="Snippet24"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/qa3.fs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/qa3.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/qa3.vb" id="Snippet24"::: The exception is also thrown if your format string contains a typo. The following call to the method omits a closing brace and pairs an opening brace with a closing bracket. :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/example3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/example3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/example3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/example3.vb" id="Snippet3"::: To correct the error, ensure that all opening and closing braces correspond. :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/example3.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/example3.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/example3.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/example3.vb" id="Snippet4"::: - You've supplied the object list in a composite formatting method as a strongly typed parameter array, and the exception indicates that the index of one or more format items exceeds the number of arguments in the object list. This occurs because no explicit conversion between array types exists, so instead the compiler treats the array as a single argument rather than as a parameter array. For example, the following call to the method throws a exception, although the highest index of the format items is 3, and the parameter array of type has four elements. :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/qa1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/qa1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/qa1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/qa1.vb" id="Snippet5"::: Instead of handling this exception, you should eliminate its cause. Because neither Visual Basic nor C# can convert an integer array to an object array, you have to perform the conversion yourself before calling the composite formatting method. The following example provides one implementation. :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/qa2.cs" interactive="try-dotnet" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/qa2.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/qa2.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/qa2.vb" id="Snippet6"::: uses the HRESULT COR_E_FORMAT, which has the value 0x80131537. diff --git a/xml/System/FormattableString.xml b/xml/System/FormattableString.xml index c5060baf19e..e501ed4330d 100644 --- a/xml/System/FormattableString.xml +++ b/xml/System/FormattableString.xml @@ -269,7 +269,7 @@ Within the scope of that import directive, an interpolated string may be formatt :::code language="csharp" source="~/snippets/csharp/System/FormattableString/Format/Composite1.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormattableString/Format/Composite1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Formatting.Composite/vb/Composite1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormattableString/Format/Composite1.vb" id="Snippet9"::: the composite format string is `"Name = {0}, hours = {1:hh}"`. diff --git a/xml/System/Func`1.xml b/xml/System/Func`1.xml index 00f5d96d263..5b44f6913da 100644 --- a/xml/System/Func`1.xml +++ b/xml/System/Func`1.xml @@ -94,13 +94,13 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncTResult/Overview/Delegate.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~1/fs/Delegate.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Delegate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncTResult/Overview/Delegate.vb" id="Snippet1"::: The following example simplifies this code by instantiating the delegate instead of explicitly defining a new delegate and assigning a named method to it. :::code language="csharp" source="~/snippets/csharp/System/FuncTResult/Overview/Func1.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~1/fs/Func1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Func1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncTResult/Overview/Func1.vb" id="Snippet2"::: You can use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) @@ -110,7 +110,7 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncTResult/Overview/Lambda.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~1/fs/Lambda.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Lambda.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncTResult/Overview/Lambda.vb" id="Snippet4"::: The underlying type of a lambda expression is one of the generic `Func` delegates. This makes it possible to pass a lambda expression as a parameter without explicitly assigning it to a delegate. In particular, because many methods of types in the namespace have `Func` parameters, you can pass these methods a lambda expression without explicitly instantiating a `Func` delegate. @@ -125,7 +125,7 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncTResult/Overview/Example.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~1/fs/Example.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Example.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncTResult/Overview/Example.vb" id="Snippet5"::: ]]> diff --git a/xml/System/Func`2.xml b/xml/System/Func`2.xml index bea947cce2b..90464333ef9 100644 --- a/xml/System/Func`2.xml +++ b/xml/System/Func`2.xml @@ -109,13 +109,13 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT,TResult/Overview/Delegate.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~2/fs/Delegate.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Delegate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT,TResult/Overview/Delegate.vb" id="Snippet1"::: The following example simplifies this code by instantiating the delegate instead of explicitly defining a new delegate and assigning a named method to it. :::code language="csharp" source="~/snippets/csharp/System/FuncT,TResult/Overview/Func2_1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~2/fs/Func2_1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Func2_1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT,TResult/Overview/Func2_1.vb" id="Snippet2"::: You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) @@ -125,7 +125,7 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT,TResult/Overview/Lambda.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~2/fs/Lambda.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Lambda.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT,TResult/Overview/Lambda.vb" id="Snippet4"::: The underlying type of a lambda expression is one of the generic `Func` delegates. This makes it possible to pass a lambda expression as a parameter without explicitly assigning it to a delegate. In particular, because many methods of types in the namespace have parameters, you can pass these methods a lambda expression without explicitly instantiating a delegate. @@ -136,7 +136,7 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT,TResult/Overview/Example.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~2/fs/Example.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Example.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT,TResult/Overview/Example.vb" id="Snippet5"::: ]]> diff --git a/xml/System/Func`3.xml b/xml/System/Func`3.xml index a579d49c817..8b7193bb080 100644 --- a/xml/System/Func`3.xml +++ b/xml/System/Func`3.xml @@ -123,13 +123,13 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,TResult/Overview/Delegate.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~3/fs/Delegate.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Delegate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,TResult/Overview/Delegate.vb" id="Snippet1"::: The following example simplifies this code by instantiating a delegate instead of explicitly defining a new delegate and assigning a named method to it. :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,TResult/Overview/Func3.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~3/fs/Func3.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Func3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,TResult/Overview/Func3.vb" id="Snippet2"::: You can use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) @@ -139,7 +139,7 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,TResult/Overview/Lambda.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~3/fs/Lambda.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/lambda.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,TResult/Overview/lambda.vb" id="Snippet4"::: The underlying type of a lambda expression is one of the generic `Func` delegates. This makes it possible to pass a lambda expression as a parameter without explicitly assigning it to a delegate. In particular, because many methods of types in the namespace have parameters, you can pass these methods a lambda expression without explicitly instantiating a delegate. @@ -150,7 +150,7 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,TResult/Overview/Example.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~3/fs/Example.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Example.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,TResult/Overview/Example.vb" id="Snippet5"::: ]]> diff --git a/xml/System/Func`4.xml b/xml/System/Func`4.xml index 1767e31ecdd..bda964b5fa1 100644 --- a/xml/System/Func`4.xml +++ b/xml/System/Func`4.xml @@ -137,13 +137,13 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,T3,TResult/Overview/Delegate.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/FuncT1,T2,T3,TResult/Overview/Delegate.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Delegate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,T3,TResult/Overview/Delegate.vb" id="Snippet1"::: The following example simplifies this code by instantiating the delegate instead of explicitly defining a new delegate and assigning a named method to it. :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,T3,TResult/Overview/Func4.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/FuncT1,T2,T3,TResult/Overview/Func4.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Func4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,T3,TResult/Overview/Func4.vb" id="Snippet2"::: You can use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) @@ -153,7 +153,7 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,T3,TResult/Overview/Lambda.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/FuncT1,T2,T3,TResult/Overview/Lambda.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Lambda.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,T3,TResult/Overview/Lambda.vb" id="Snippet4"::: The underlying type of a lambda expression is one of the generic `Func` delegates. This makes it possible to pass a lambda expression as a parameter without explicitly assigning it to a delegate. In particular, because many methods of types in the namespace have `Func` parameters, you can pass these methods a lambda expression without explicitly instantiating a `Func` delegate. @@ -164,7 +164,7 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,TResult/Overview/Example.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~3/fs/Example.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Example.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,TResult/Overview/Example.vb" id="Snippet5"::: ]]> diff --git a/xml/System/Func`5.xml b/xml/System/Func`5.xml index c830d290a97..836d8e74684 100644 --- a/xml/System/Func`5.xml +++ b/xml/System/Func`5.xml @@ -125,13 +125,13 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,T3,T4,TResult/Overview/Delegate.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/FuncT1,T2,T3,T4,TResult/Overview/Delegate.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Delegate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,T3,T4,TResult/Overview/Delegate.vb" id="Snippet1"::: The following example simplifies this code by instantiating the delegate instead of explicitly defining a new delegate and assigning a named method to it. :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,T3,T4,TResult/Overview/Func5.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/FuncT1,T2,T3,T4,TResult/Overview/Func5.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Func5.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,T3,T4,TResult/Overview/Func5.vb" id="Snippet2"::: You can use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) @@ -141,7 +141,7 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,T3,T4,TResult/Overview/Lambda.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/FuncT1,T2,T3,T4,TResult/Overview/Lambda.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Lambda.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,T3,T4,TResult/Overview/Lambda.vb" id="Snippet4"::: The underlying type of a lambda expression is one of the generic `Func` delegates. This makes it possible to pass a lambda expression as a parameter without explicitly assigning it to a delegate. In particular, because many methods of types in the namespace have `Func` parameters, you can pass these methods a lambda expression without explicitly instantiating a `Func` delegate. @@ -152,7 +152,7 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,TResult/Overview/Example.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~3/fs/Example.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Example.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,TResult/Overview/Example.vb" id="Snippet5"::: ]]> diff --git a/xml/System/GC.xml b/xml/System/GC.xml index 43cc55c10b6..136f4eb92e4 100644 --- a/xml/System/GC.xml +++ b/xml/System/GC.xml @@ -66,7 +66,7 @@ The following example uses several GC methods to get generation and memory infor :::code language="csharp" source="~/snippets/csharp/System/GC/Overview/class1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/Overview/class1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.gc.collect int example/VB/class1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/GC/Overview/class1.vb" id="Snippet1"::: ]]> @@ -318,7 +318,7 @@ Skipping zero-initialization using this API only has a material performance bene :::code language="csharp" source="~/snippets/csharp/System/GC/CancelFullGCNotification/Program.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/CancelFullGCNotification/Program.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GCNotification/vb/program.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/GC/CancelFullGCNotification/program.vb" id="Snippet7"::: ]]> @@ -399,7 +399,7 @@ Skipping zero-initialization using this API only has a material performance bene :::code language="csharp" source="~/snippets/csharp/System/GC/Collect/lohcompactionmode1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/Collect/lohcompactionmode1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.gcsettings/vb/lohcompactionmode1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/GC/Collect/lohcompactionmode1.vb" id="Snippet1"::: @@ -408,7 +408,7 @@ Skipping zero-initialization using this API only has a material performance bene :::code language="csharp" source="~/snippets/csharp/System/GC/Collect/class1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/Collect/class1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.GC.Collect Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/GC/Collect/class1.vb" id="Snippet1"::: ]]> @@ -479,7 +479,7 @@ Skipping zero-initialization using this API only has a material performance bene :::code language="csharp" source="~/snippets/csharp/System/GC/Overview/class1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/Overview/class1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.gc.collect int example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/GC/Overview/class1.vb" id="Snippet1"::: ]]> @@ -561,7 +561,7 @@ Skipping zero-initialization using this API only has a material performance bene :::code language="csharp" source="~/snippets/csharp/System/GC/Collect/Program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/Collect/Program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.GC.GCCollectionMode/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/GC/Collect/program.vb" id="Snippet1"::: ]]> @@ -716,7 +716,7 @@ Skipping zero-initialization using this API only has a material performance bene :::code language="csharp" source="~/snippets/csharp/System/GC/Collect/collect4.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/Collect/collect4.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.gc.collect/vb/collect4.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/GC/Collect/collect4.vb" id="Snippet1"::: Specifying `true` for the `compacting` argument guarantees a compacting, full blocking garbage collection. Setting the property to ensures that both the LOH and SOH are compacted. @@ -849,7 +849,7 @@ Skipping zero-initialization using this API only has a material performance bene :::code language="csharp" source="~/snippets/csharp/System/GC/EndNoGCRegion/endnogcregion1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/EndNoGCRegion/endnogcregion1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.gc.endnogcregion/vb/endnogcregion1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/GC/EndNoGCRegion/endnogcregion1.vb" id="Snippet1"::: ]]> @@ -1099,7 +1099,7 @@ The following example demonstrates how to use the @@ -1167,7 +1167,7 @@ The following example demonstrates the use of the @@ -1280,7 +1280,7 @@ The following example demonstrates the use of the @@ -1390,7 +1390,7 @@ The following example demonstrates the use of the @@ -1464,7 +1464,7 @@ The following example demonstrates the use of the @@ -1605,7 +1605,7 @@ The following example demonstrates the use of the @@ -1802,7 +1802,7 @@ The following example demonstrates the use of the @@ -1887,7 +1887,7 @@ If `obj` does not have a finalizer or the GC has already signaled the finalizer :::code language="csharp" source="~/snippets/csharp/System/GC/SuppressFinalize/suppressfinalize1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/SuppressFinalize/suppressfinalize1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.gc.suppressfinalize/vb/suppressfinalize1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/GC/SuppressFinalize/suppressfinalize1.vb" id="Snippet1"::: ]]> @@ -2286,7 +2286,7 @@ If `obj` does not have a finalizer or the GC has already signaled the finalizer :::code language="csharp" source="~/snippets/csharp/System/GC/CancelFullGCNotification/Program.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/CancelFullGCNotification/Program.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GCNotification/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/GC/CancelFullGCNotification/program.vb" id="Snippet3"::: ]]> @@ -2468,7 +2468,7 @@ If `obj` does not have a finalizer or the GC has already signaled the finalizer :::code language="csharp" source="~/snippets/csharp/System/GC/CancelFullGCNotification/Program.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/CancelFullGCNotification/Program.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GCNotification/vb/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/GC/CancelFullGCNotification/program.vb" id="Snippet4"::: ]]> @@ -2640,7 +2640,7 @@ If `obj` does not have a finalizer or the GC has already signaled the finalizer :::code language="csharp" source="~/snippets/csharp/System/GC/WaitForPendingFinalizers/class1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/WaitForPendingFinalizers/class1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.GC.WaitForPendingFinalizers Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/GC/WaitForPendingFinalizers/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/GCCollectionMode.xml b/xml/System/GCCollectionMode.xml index e8f1f59b1b8..7a55157e929 100644 --- a/xml/System/GCCollectionMode.xml +++ b/xml/System/GCCollectionMode.xml @@ -67,7 +67,7 @@ :::code language="csharp" source="~/snippets/csharp/System/GC/Collect/Program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/Collect/Program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.GC.GCCollectionMode/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/GC/Collect/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System/GCNotificationStatus.xml b/xml/System/GCNotificationStatus.xml index f18a68f6349..ee7c7657e71 100644 --- a/xml/System/GCNotificationStatus.xml +++ b/xml/System/GCNotificationStatus.xml @@ -61,7 +61,7 @@ :::code language="csharp" source="~/snippets/csharp/System/GC/CancelFullGCNotification/Program.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/CancelFullGCNotification/Program.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/GCNotification/vb/program.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/GC/CancelFullGCNotification/program.vb" id="Snippet8"::: ]]> diff --git a/xml/System/Guid.xml b/xml/System/Guid.xml index eda4448fc66..a0ebb49ad6b 100644 --- a/xml/System/Guid.xml +++ b/xml/System/Guid.xml @@ -320,7 +320,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Guid/.ctor/ctor1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/.ctor/ctor1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.ctor/vb/ctor1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/.ctor/ctor1.vb" id="Snippet1"::: ]]> @@ -498,7 +498,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Guid/.ctor/ctor2.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/.ctor/ctor2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.ctor/vb/ctor2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/.ctor/ctor2.vb" id="Snippet2"::: ]]> @@ -714,7 +714,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Guid/CompareTo/compareto2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/CompareTo/compareto2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.compareto/vb/compareto2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/CompareTo/compareto2.vb" id="Snippet1"::: ]]> @@ -811,7 +811,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Guid/CompareTo/compareto1.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/CompareTo/compareto1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.compareto/vb/compareto1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/CompareTo/compareto1.vb" id="Snippet2"::: ]]> @@ -936,7 +936,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Guid/Empty/empty.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/Empty/empty.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.empty/vb/empty.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/Empty/empty.vb" id="Snippet1"::: ]]> @@ -1197,7 +1197,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Guid/NewGuid/ng.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/NewGuid/ng.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.newguid/vb/ng.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/NewGuid/ng.vb" id="Snippet1"::: ]]> @@ -1260,7 +1260,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Guid/Empty/empty.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/Empty/empty.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.empty/vb/empty.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/Empty/empty.vb" id="Snippet1"::: ]]> @@ -1647,7 +1647,7 @@ After trimming, the length of the read-only character span is 0. :::code language="csharp" source="~/snippets/csharp/System/Guid/Parse/parseex1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/Parse/parseex1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/parseex1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/Parse/parseex1.vb" id="Snippet3"::: ]]> @@ -1932,7 +1932,7 @@ The method requires the read-only character spa :::code language="csharp" source="~/snippets/csharp/System/Guid/Parse/parseexactex1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/Parse/parseexactex1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/parseexactex1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/Parse/parseexactex1.vb" id="Snippet4"::: ]]> @@ -2224,7 +2224,7 @@ Because the `provider` parameter is ignored, you cannot use it to provide a cust :::code language="csharp" source="~/snippets/csharp/System/Guid/ToByteArray/tobytearray3.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/ToByteArray/tobytearray3.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.tobytearray/vb/tobytearray3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/ToByteArray/tobytearray3.vb" id="Snippet1"::: ]]> @@ -2746,7 +2746,7 @@ Because the `provider` parameter is ignored, you cannot use it to provide a cust :::code language="csharp" source="~/snippets/csharp/System/Guid/Parse/tryparseex1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/Parse/tryparseex1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/tryparseex1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/Parse/tryparseex1.vb" id="Snippet2"::: ]]> @@ -3029,7 +3029,7 @@ Because the `provider` parameter is ignored, you cannot use it to provide a cust :::code language="csharp" source="~/snippets/csharp/System/Guid/Parse/tryparseexactex1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/Parse/tryparseexactex1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/tryparseexactex1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/Parse/tryparseexactex1.vb" id="Snippet5"::: ]]> diff --git a/xml/System/HashCode.xml b/xml/System/HashCode.xml index 26daeef7738..67b6426f50a 100644 --- a/xml/System/HashCode.xml +++ b/xml/System/HashCode.xml @@ -64,7 +64,7 @@ The static methods in this class combine the default hash codes of *up to eight* :::code language="csharp" source="~/snippets/csharp/System/HashCode/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/HashCode/Overview/example1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/HashCode/Overview/example1.vb" id="Snippet1"::: > [!IMPORTANT] > must be called at most once per instance of . @@ -73,20 +73,20 @@ The instance methods in this class combine the hash codes of *more than eight* v :::code language="csharp" source="~/snippets/csharp/System/HashCode/Overview/example2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/HashCode/Overview/example2.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example2.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/HashCode/Overview/example2.vb" id="Snippet1"::: The instance methods also combine the hash codes produced by a specific implementation. :::code language="csharp" source="~/snippets/csharp/System/HashCode/Overview/example3.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/HashCode/Overview/example3.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example3.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/HashCode/Overview/example3.vb" id="Snippet1"::: The structure must be passed by-reference to other methods, as it is a value type. :::code language="csharp" source="~/snippets/csharp/System/HashCode/Overview/example4.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/HashCode/Overview/example4.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example4.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/HashCode/Overview/example4.vb" id="Snippet1"::: ]]> diff --git a/xml/System/IAsyncResult.xml b/xml/System/IAsyncResult.xml index ebbdd5e27e6..15c701bb4a2 100644 --- a/xml/System/IAsyncResult.xml +++ b/xml/System/IAsyncResult.xml @@ -76,10 +76,10 @@ For more information and more examples of calling methods asynchronously by using delegates, see [Calling Synchronous Methods Asynchronously](/dotnet/standard/asynchronous-programming-patterns/calling-synchronous-methods-asynchronously). :::code language="csharp" source="~/snippets/csharp/System/IAsyncResult/Overview/TestMethod.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/TestMethod.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IAsyncResult/Overview/TestMethod.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/IAsyncResult/Overview/waithandle.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/WaitHandle.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System/IAsyncResult/Overview/WaitHandle.vb" id="Snippet3"::: ]]> @@ -150,9 +150,9 @@ For more information about how this callback example works, and more examples of calling methods asynchronously by using delegates, see [Calling Synchronous Methods Asynchronously](/dotnet/standard/asynchronous-programming-patterns/calling-synchronous-methods-asynchronously). :::code language="csharp" source="~/snippets/csharp/System/IAsyncResult/Overview/TestMethod.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/TestMethod.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IAsyncResult/Overview/TestMethod.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/IAsyncResult/Overview/callback.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/callback.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System/IAsyncResult/Overview/callback.vb" id="Snippet5"::: ]]> @@ -225,9 +225,9 @@ For more information and more examples of calling methods asynchronously by using delegates, see [Calling Synchronous Methods Asynchronously](/dotnet/standard/asynchronous-programming-patterns/calling-synchronous-methods-asynchronously). :::code language="csharp" source="~/snippets/csharp/System/IAsyncResult/Overview/TestMethod.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/TestMethod.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IAsyncResult/Overview/TestMethod.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/IAsyncResult/Overview/waithandle.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/WaitHandle.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System/IAsyncResult/Overview/WaitHandle.vb" id="Snippet3"::: ]]> @@ -358,9 +358,9 @@ For more information and more examples of calling methods asynchronously by using delegates, see [Calling Synchronous Methods Asynchronously](/dotnet/standard/asynchronous-programming-patterns/calling-synchronous-methods-asynchronously). :::code language="csharp" source="~/snippets/csharp/System/IAsyncResult/Overview/TestMethod.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/TestMethod.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IAsyncResult/Overview/TestMethod.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/IAsyncResult/Overview/polling.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AsyncDelegateExamples/VB/polling.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System/IAsyncResult/Overview/polling.vb" id="Snippet4"::: ]]> diff --git a/xml/System/IComparable.xml b/xml/System/IComparable.xml index 96e6dc7f0e8..4fade8aa2a5 100644 --- a/xml/System/IComparable.xml +++ b/xml/System/IComparable.xml @@ -76,7 +76,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IComparable/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IComparable/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IComparable Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IComparable/Overview/source.vb" id="Snippet1"::: ]]> @@ -166,7 +166,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IComparable/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IComparable/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IComparable Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IComparable/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System/IComparable`1.xml b/xml/System/IComparable`1.xml index 8571195f5a4..94d52934982 100644 --- a/xml/System/IComparable`1.xml +++ b/xml/System/IComparable`1.xml @@ -83,7 +83,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IComparableT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IComparableT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IComparable`1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IComparableT/Overview/source.vb" id="Snippet1"::: ]]> @@ -184,7 +184,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IComparableT/Overview/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IComparableT/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/IComparable`1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IComparableT/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System/IConvertible.xml b/xml/System/IConvertible.xml index fcdc6bf661e..ef41e4a2c9f 100644 --- a/xml/System/IConvertible.xml +++ b/xml/System/IConvertible.xml @@ -74,7 +74,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IConvertible/Overview/iconvertible.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IConvertible/Overview/iconvertible.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IConvertible/VB/iconvertible.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IConvertible/Overview/iconvertible.vb" id="Snippet1"::: ]]> diff --git a/xml/System/ICustomFormatter.xml b/xml/System/ICustomFormatter.xml index c40d2ad0d50..0ec16590133 100644 --- a/xml/System/ICustomFormatter.xml +++ b/xml/System/ICustomFormatter.xml @@ -77,13 +77,13 @@ :::code language="csharp" source="~/snippets/csharp/System/ICustomFormatter/Overview/myformatter.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/ICustomFormatter/Overview/myformatter.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.icustomformatter.class/vb/myformatter.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ICustomFormatter/Overview/myformatter.vb" id="Snippet1"::: `MyFormatter` can then be used to provide custom formatting by passing a `MyFormatter` object as the `provider` parameter of the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/ICustomFormatter/Overview/myformatter.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/ICustomFormatter/Overview/myformatter.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.icustomformatter.class/vb/myformatter.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ICustomFormatter/Overview/myformatter.vb" id="Snippet2"::: ]]> @@ -176,7 +176,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ICustomFormatter/Overview/myformatter.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/ICustomFormatter/Overview/myformatter.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.icustomformatter.class/vb/myformatter.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/ICustomFormatter/Overview/myformatter.vb" id="Snippet4"::: The `arg` parameter is the object in the object list whose zero-based position corresponds to the index of a particular format item. @@ -188,7 +188,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ICustomFormatter/Overview/myformatter.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/ICustomFormatter/Overview/myformatter.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.icustomformatter.class/vb/myformatter.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/ICustomFormatter/Overview/myformatter.vb" id="Snippet3"::: @@ -197,13 +197,13 @@ :::code language="csharp" source="~/snippets/csharp/System/ICustomFormatter/Overview/myformatter.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/ICustomFormatter/Overview/myformatter.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.icustomformatter.class/vb/myformatter.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ICustomFormatter/Overview/myformatter.vb" id="Snippet1"::: `MyFormatter` can then be used to provide custom formatting by passing a `MyFormatter` object as the `provider` parameter of the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/ICustomFormatter/Overview/myformatter.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/ICustomFormatter/Overview/myformatter.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.icustomformatter.class/vb/myformatter.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ICustomFormatter/Overview/myformatter.vb" id="Snippet2"::: ]]> diff --git a/xml/System/IDisposable.xml b/xml/System/IDisposable.xml index a2bcbafa428..3996b2f9e6b 100644 --- a/xml/System/IDisposable.xml +++ b/xml/System/IDisposable.xml @@ -60,7 +60,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IDisposable/Overview/idisposabledispose.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IDisposable/Overview/idisposabledispose.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IDisposable.Dispose Example/VB/idisposabledispose.vb" id="Snippet1":::id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IDisposable/Overview/idisposabledispose.vb" id="Snippet1":::id="Snippet1"::: ]]> @@ -144,7 +144,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IDisposable/Overview/idisposabledispose.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IDisposable/Overview/idisposabledispose.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IDisposable.Dispose Example/VB/idisposabledispose.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IDisposable/Overview/idisposabledispose.vb" id="Snippet1"::: ]]> diff --git a/xml/System/IEquatable`1.xml b/xml/System/IEquatable`1.xml index 200a889e652..308e7722494 100644 --- a/xml/System/IEquatable`1.xml +++ b/xml/System/IEquatable`1.xml @@ -70,7 +70,7 @@ For more information about implementing the interfa :::code language="csharp" source="~/snippets/csharp/System/IEquatableT/Equals/EqualsExample.cs" id="Person"::: :::code language="fsharp" source="~/snippets/fsharp/System/IEquatableT/Equals/EqualsExample.fs" id="Person"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.GenericIEquatable.Equals/vb/EqualsExample.vb" id="Person"::: + :::code language="vb" source="~/snippets/visualbasic/System/IEquatableT/Overview/EqualsExample.vb" id="Person"::: ]]> @@ -174,13 +174,13 @@ For more information about implementing the interfa :::code language="csharp" source="~/snippets/csharp/System/IEquatableT/Equals/EqualsExample.cs" id="Person"::: :::code language="fsharp" source="~/snippets/fsharp/System/IEquatableT/Equals/EqualsExample.fs" id="Person"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.GenericIEquatable.Equals/vb/EqualsExample.vb" id="Person"::: + :::code language="vb" source="~/snippets/visualbasic/System/IEquatableT/Overview/EqualsExample.vb" id="Person"::: When a `Person` is stored in a , `Contains` uses its implementation to search for a match. :::code language="csharp" source="~/snippets/csharp/System/IEquatableT/Equals/EqualsExample.cs" id="PersonSample"::: :::code language="fsharp" source="~/snippets/fsharp/System/IEquatableT/Equals/EqualsExample.fs" id="PersonSample"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.GenericIEquatable.Equals/vb/EqualsExample.vb" id="PersonSample"::: + :::code language="vb" source="~/snippets/visualbasic/System/IEquatableT/Overview/EqualsExample.vb" id="PersonSample"::: ]]> diff --git a/xml/System/IFormatProvider.xml b/xml/System/IFormatProvider.xml index db7b4fc4c57..e29de402b6f 100644 --- a/xml/System/IFormatProvider.xml +++ b/xml/System/IFormatProvider.xml @@ -80,19 +80,19 @@ :::code language="csharp" source="~/snippets/csharp/System/IFormatProvider/Overview/provider2.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/IFormatProvider/Overview/provider2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IFormatProvider.Class/vb/provider2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/IFormatProvider/Overview/provider2.vb" id="Snippet3"::: The following example illustrates the use of a class that implements the interface and the method. The `AcctNumberFormat` class converts an value that represents an account number to a formatted 12-digit account number. Its `GetFormat` method returns a reference to the current `AcctNumberFormat` instance if the `formatType` parameter refers to a class that implements ; otherwise, `GetFormat` returns `null`. :::code language="csharp" source="~/snippets/csharp/System/IFormatProvider/Overview/Provider.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/IFormatProvider/Overview/Provider.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IFormatProvider.Class/vb/Provider.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/IFormatProvider/Overview/Provider.vb" id="Snippet2"::: The class that implements can then be used in a call to a formatting and parsing operation. For example, the following code calls the method to generate a string that contains a formatted 12-digit account number. :::code language="csharp" source="~/snippets/csharp/System/IFormatProvider/Overview/Provider.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IFormatProvider/Overview/Provider.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IFormatProvider.Class/vb/Provider.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IFormatProvider/Overview/Provider.vb" id="Snippet1"::: ]]> @@ -166,13 +166,13 @@ :::code language="csharp" source="~/snippets/csharp/System/IFormatProvider/Overview/Provider.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/IFormatProvider/Overview/Provider.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IFormatProvider.Class/vb/Provider.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/IFormatProvider/Overview/Provider.vb" id="Snippet2"::: An instance of the `AcctNumberFormat` class can then be passed as an argument to a method that provides formatting or parsing services. For example, the following code passes an `AcctNumberFormat` class to the method to generate a formatted 12-digit account number. :::code language="csharp" source="~/snippets/csharp/System/IFormatProvider/Overview/Provider.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IFormatProvider/Overview/Provider.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IFormatProvider.Class/vb/Provider.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IFormatProvider/Overview/Provider.vb" id="Snippet1"::: ]]> diff --git a/xml/System/IFormattable.xml b/xml/System/IFormattable.xml index bbafc2feb4f..d855aec8cb3 100644 --- a/xml/System/IFormattable.xml +++ b/xml/System/IFormattable.xml @@ -92,13 +92,13 @@ :::code language="csharp" source="~/snippets/csharp/System/IFormattable/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IFormattable/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iformattable/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IFormattable/Overview/example1.vb" id="Snippet1"::: The following example then calls the implementation either directly or by using a composite format string. :::code language="csharp" source="~/snippets/csharp/System/IFormattable/Overview/example1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/IFormattable/Overview/example1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iformattable/vb/example1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/IFormattable/Overview/example1.vb" id="Snippet2"::: ]]> @@ -206,7 +206,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IFormattable/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IFormattable/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iformattable/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IFormattable/Overview/example1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/IObservable`1.xml b/xml/System/IObservable`1.xml index 4bd0aac80c2..e7d6938968c 100644 --- a/xml/System/IObservable`1.xml +++ b/xml/System/IObservable`1.xml @@ -84,19 +84,19 @@ :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/provider.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/provider.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/provider.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/provider.vb" id="Snippet5"::: The `LocationTracker` class provides the implementation. Its `TrackLocation` method is passed a nullable `Location` object that contains the latitude and longitude data. If the `Location` value is not `null`, the `TrackLocation` method calls the method of each observer. :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/provider.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/provider.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/provider.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/provider.vb" id="Snippet6"::: If the `Location` value is `null`, the `TrackLocation` method instantiates a `LocationUnknownException` object, which is shown in the following example. It then calls each observer's method and passes it the `LocationUnknownException` object. Note that `LocationUnknownException` derives from , but does not add any new members. :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/provider.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/provider.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/provider.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/provider.vb" id="Snippet7"::: Observers register to receive notifications from a `LocationTracker` object by calling its method, which assigns a reference to the observer object to a private generic object. The method returns an `Unsubscriber` object, which is an implementation that enables observers to stop receiving notifications. The `LocationTracker` class also includes an `EndTransmission` method. When no further location data is available, the method calls each observer's method and then clears the internal list of observers. @@ -104,13 +104,13 @@ :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/observer.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/observer.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/observer.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/observer.vb" id="Snippet8"::: The following code then instantiates the provider and the observer. :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/program.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/program.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/module1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/module1.vb" id="Snippet9"::: ]]> @@ -181,7 +181,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/provider.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/provider.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/provider.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/provider.vb" id="Snippet13"::: ]]> diff --git a/xml/System/IObserver`1.xml b/xml/System/IObserver`1.xml index 156147b2d6c..539d2e6c54d 100644 --- a/xml/System/IObserver`1.xml +++ b/xml/System/IObserver`1.xml @@ -82,25 +82,25 @@ :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/provider.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/provider.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/provider.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/provider.vb" id="Snippet5"::: The `LocationReporter` class provides the implementation. It displays information about the current location to the console. Its constructor includes a `name` parameter, which allows the `LocationReporter` instance to identify itself in its string output. It also includes a `Subscribe` method, which wraps a call to the provider's method. This enables the method to assign the returned reference to a private variable. The `LocationReporter` class also includes an `Unsubscribe` method, which calls the method of the object returned by the method. The following code defines the `LocationReporter` class. :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/observer.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/observer.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/observer.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/observer.vb" id="Snippet8"::: The `LocationTracker` class provides the implementation. Its `TrackLocation` method is passed a nullable `Location` object that contains the latitude and longitude data. If the `Location` value is not `null`, the `TrackLocation` method calls the method of each observer. :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/provider.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/provider.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/provider.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/provider.vb" id="Snippet6"::: If the `Location` value is `null`, the `TrackLocation` method instantiates a `LocationNotFoundException` object, which is shown in the following example. It then calls each observer's method and passes it the `LocationNotFoundException` object. Note that `LocationNotFoundException` derives from but does not add any new members. :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/provider.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/provider.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/provider.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/provider.vb" id="Snippet7"::: Observers register to receive notifications from a `TrackLocation` object by calling its method, which assigns a reference to the observer object to a private generic object. The method returns an `Unsubscriber` object, which is an implementation that enables observers to stop receiving notifications. The `LocationTracker` class also includes an `EndTransmission` method. When no further location data is available, the method calls each observer's method and then clears the internal list of observers. @@ -108,7 +108,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/program.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/program.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/module1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/module1.vb" id="Snippet9"::: ]]> @@ -168,7 +168,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/observer.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/observer.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/observer.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/observer.vb" id="Snippet11"::: ]]> @@ -230,7 +230,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/observer.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/observer.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/observer.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/observer.vb" id="Snippet10"::: ]]> @@ -292,7 +292,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/observer.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/observer.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/observer.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/observer.vb" id="Snippet12"::: ]]> diff --git a/xml/System/IndexOutOfRangeException.xml b/xml/System/IndexOutOfRangeException.xml index 41b9b65a30f..adfa471c10c 100644 --- a/xml/System/IndexOutOfRangeException.xml +++ b/xml/System/IndexOutOfRangeException.xml @@ -82,13 +82,13 @@ :::code language="csharp" source="~/snippets/csharp/System/IndexOutOfRangeException/Overview/length1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/IndexOutOfRangeException/Overview/length1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/length1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/IndexOutOfRangeException/Overview/length1.vb" id="Snippet3"::: To correct the error, you can use code like the following. :::code language="csharp" source="~/snippets/csharp/System/IndexOutOfRangeException/Overview/length2.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/IndexOutOfRangeException/Overview/length2.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/length2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/IndexOutOfRangeException/Overview/length2.vb" id="Snippet4"::: Alternately, instead of iterating all the elements in the array by their index, you can use the `foreach` statement (in C#), the `for...in` statement (in F#), or the `For Each` statement (in Visual Basic). @@ -96,19 +96,19 @@ :::code language="csharp" source="~/snippets/csharp/System/IndexOutOfRangeException/Overview/Uninit1.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/IndexOutOfRangeException/Overview/Uninit1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/Uninit1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/IndexOutOfRangeException/Overview/Uninit1.vb" id="Snippet10"::: - Using a value returned by a search method to iterate a portion of an array or collection starting at a particular index position. If you forget to check whether the search operation found a match, the runtime throws an exception, as shown in this example. :::code language="csharp" source="~/snippets/csharp/System/IndexOutOfRangeException/Overview/negative1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/IndexOutOfRangeException/Overview/negative1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/negative1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/IndexOutOfRangeException/Overview/negative1.vb" id="Snippet5"::: In this case, the method returns -1, which is an invalid index value, when it fails to find a match. To correct this error, check the search method's return value before iterating the array, as shown in this example. :::code language="csharp" source="~/snippets/csharp/System/IndexOutOfRangeException/Overview/negative2.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/IndexOutOfRangeException/Overview/negative2.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/negative2.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/IndexOutOfRangeException/Overview/negative2.vb" id="Snippet6"::: - Trying to use or enumerate a result set, collection, or array returned by a query without testing whether the returned object has any valid data. @@ -137,13 +137,13 @@ :::code language="csharp" source="~/snippets/csharp/System/IndexOutOfRangeException/Overview/nonzero1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IndexOutOfRangeException/Overview/nonzero1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/nonzero1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IndexOutOfRangeException/Overview/nonzero1.vb" id="Snippet1"::: To correct the error, as the following example does, you can call the method instead of making assumptions about the starting index of an array. :::code language="csharp" source="~/snippets/csharp/System/IndexOutOfRangeException/Overview/nonzero2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/IndexOutOfRangeException/Overview/nonzero2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/nonzero2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/IndexOutOfRangeException/Overview/nonzero2.vb" id="Snippet2"::: Note that when you call the method to get the starting index of an array, you should also call the method to get its ending index. @@ -151,13 +151,13 @@ :::code language="csharp" source="~/snippets/csharp/System/IndexOutOfRangeException/Overview/foreach1.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/IndexOutOfRangeException/Overview/foreach1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/foreach1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/IndexOutOfRangeException/Overview/foreach1.vb" id="Snippet7"::: The iteration construct returns each value in an array or collection, not its index. To eliminate the exception, use this code. :::code language="csharp" source="~/snippets/csharp/System/IndexOutOfRangeException/Overview/foreach2.cs" interactive="try-dotnet" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/IndexOutOfRangeException/Overview/foreach2.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/foreach2.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/IndexOutOfRangeException/Overview/foreach2.vb" id="Snippet8"::: - Providing an invalid column name to the property. diff --git a/xml/System/Int16.xml b/xml/System/Int16.xml index 0c001b4f50d..293dadeee80 100644 --- a/xml/System/Int16.xml +++ b/xml/System/Int16.xml @@ -454,7 +454,7 @@ The following code example demonstrates generic and nongeneric versions of the method for several value and reference types. :::code language="csharp" source="~/snippets/csharp/System/Boolean/CompareTo/cat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/T.CompareTo/VB/cat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Boolean/CompareTo/cat.vb" id="Snippet1"::: ]]> @@ -858,7 +858,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Int16/Equals/equalsoverl.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.int16.equals/fs/equalsoverl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.int16.equals/vb/equalsoverl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/Equals/equalsoverl.vb" id="Snippet1"::: @@ -927,7 +927,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Int16/Equals/int16_equals.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/Int16_Equals/FS/int16_equals.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Int16_Equals/VB/int16_equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/Equals/int16_equals.vb" id="Snippet1"::: ]]> @@ -936,7 +936,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Int16/Equals/equalsoverl.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.int16.equals/fs/equalsoverl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.int16.equals/vb/equalsoverl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/Equals/equalsoverl.vb" id="Snippet1"::: @@ -1494,7 +1494,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int16/MaxValue/MaxValue.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.MaxValue/fs/MaxValue.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.MaxValue/vb/MaxValue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/MaxValue/MaxValue.vb" id="Snippet1"::: ]]> @@ -1656,7 +1656,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int16/MaxValue/MaxValue.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.MaxValue/fs/MaxValue.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.MaxValue/vb/MaxValue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/MaxValue/MaxValue.vb" id="Snippet1"::: ]]> @@ -1750,7 +1750,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int16/Parse/Parse.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.Parse/fs/Parse.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.Parse/vb/Parse.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/Parse/Parse.vb" id="Snippet1"::: ]]> @@ -1960,7 +1960,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int16/Parse/Parse2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.Parse/fs/Parse2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.Parse/vb/Parse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/Parse/Parse2.vb" id="Snippet2"::: ]]> @@ -2073,7 +2073,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int16/Parse/Parse.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.Parse/fs/Parse.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.Parse/vb/Parse.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/Parse/Parse.vb" id="Snippet4"::: ]]> @@ -2305,7 +2305,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int16/Parse/Parse.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.Parse/fs/Parse.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.Parse/vb/Parse.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/Parse/Parse.vb" id="Snippet3"::: ]]> @@ -6142,7 +6142,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int16/ToString/ToString1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.ToString/fs/ToString1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.ToString/vb/ToString1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/ToString/ToString1.vb" id="Snippet1"::: ]]> @@ -6243,7 +6243,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int16/ToString/ToString1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.ToString/fs/ToString1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.ToString/vb/ToString1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/ToString/ToString1.vb" id="Snippet2"::: ]]> @@ -6339,7 +6339,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int16/ToString/ToString1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.ToString/fs/ToString1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.ToString/vb/ToString1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/ToString/ToString1.vb" id="Snippet3"::: ]]> @@ -6447,7 +6447,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int16/ToString/ToString1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.ToString/fs/ToString1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.ToString/vb/ToString1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/ToString/ToString1.vb" id="Snippet4"::: ]]> @@ -6802,7 +6802,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int16/TryParse/TryParse1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.TryParse/fs/TryParse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.TryParse/vb/TryParse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/TryParse/TryParse1.vb" id="Snippet1"::: Some of the strings that the method is unable to convert in this example are: @@ -7188,7 +7188,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int16/TryParse/TryParse2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.TryParse/fs/TryParse2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.TryParse/vb/TryParse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/TryParse/TryParse2.vb" id="Snippet2"::: ]]> diff --git a/xml/System/Int32.xml b/xml/System/Int32.xml index 4be344a2c74..ff0d7b9db0d 100644 --- a/xml/System/Int32.xml +++ b/xml/System/Int32.xml @@ -482,7 +482,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Int32/CompareTo/CompareTo1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int32.CompareTo/fs/CompareTo1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.CompareTo/vb/CompareTo1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/CompareTo/CompareTo1.vb" id="Snippet1"::: ]]> @@ -893,7 +893,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Int32/Equals/equalsoverloads2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.int32.equals/fs/equalsoverloads2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.int32.equals/vb/equalsoverloads2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/Equals/equalsoverloads2.vb" id="Snippet1"::: @@ -968,7 +968,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Int32/Equals/int32_equals.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/Int32_Equals/FS/int32_equals.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Int32_Equals/VB/int32_equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/Equals/int32_equals.vb" id="Snippet1"::: ]]> @@ -977,7 +977,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Int32/Equals/equalsoverloads2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.int32.equals/fs/equalsoverloads2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.int32.equals/vb/equalsoverloads2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/Equals/equalsoverloads2.vb" id="Snippet1"::: @@ -1548,7 +1548,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int32/MaxValue/maxvalue1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.int32.maxvalue/fs/maxvalue1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.int32.maxvalue/vb/maxvalue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/MaxValue/maxvalue1.vb" id="Snippet1"::: ]]> @@ -1708,7 +1708,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int32/MaxValue/maxvalue1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.int32.maxvalue/fs/maxvalue1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.int32.maxvalue/vb/maxvalue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/MaxValue/maxvalue1.vb" id="Snippet1"::: ]]> @@ -1802,7 +1802,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int32/Parse/Parse1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int32.Parse/fs/Parse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.Parse/vb/Parse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/Parse/Parse1.vb" id="Snippet1"::: ]]> @@ -2015,7 +2015,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int32/Parse/Parse2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int32.Parse/fs/Parse2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.Parse/vb/Parse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/Parse/Parse2.vb" id="Snippet2"::: ]]> @@ -2134,7 +2134,7 @@ For this method matches the IEE The following example is the button click event handler of a Web form. It uses the array returned by the property to determine the user's locale. It then instantiates a object that corresponds to that locale. The object that belongs to that object is then passed to the method to convert the user's input to an value. :::code language="csharp" source="~/snippets/csharp/System/Decimal/Parse/Default.aspx.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ParseMethod/vb/Default.aspx.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Parse/Default.aspx.vb" id="Snippet4"::: ]]> @@ -2371,7 +2371,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int32/Parse/Parse3.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int32.Parse/fs/Parse3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.Parse/vb/Parse3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/Parse/Parse3.vb" id="Snippet3"::: ]]> @@ -6223,7 +6223,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int32/ToString/ToString.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int32.ToString/fs/ToString.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.ToString/vb/ToString.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/ToString/ToString.vb" id="Snippet1"::: ]]> @@ -6336,7 +6336,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int32/ToString/ToString.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int32.ToString/fs/ToString.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.ToString/vb/ToString.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/ToString/ToString.vb" id="Snippet2"::: ]]> @@ -6442,7 +6442,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int32/ToString/ToString.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int32.ToString/fs/ToString.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.ToString/vb/ToString.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/ToString/ToString.vb" id="Snippet3"::: ]]> @@ -6558,7 +6558,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int32/ToString/ToString.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int32.ToString/fs/ToString.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.ToString/vb/ToString.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/ToString/ToString.vb" id="Snippet4"::: ]]> @@ -6915,7 +6915,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int32/TryParse/TryParse1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int32.TryParse/fs/TryParse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.TryParse/vb/TryParse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/TryParse/TryParse1.vb" id="Snippet1"::: Some of the strings that the method is unable to convert in this example are: @@ -7307,7 +7307,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int32/TryParse/TryParse2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int32.TryParse/fs/TryParse2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.TryParse/vb/TryParse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/TryParse/TryParse2.vb" id="Snippet2"::: ]]> diff --git a/xml/System/Int64.xml b/xml/System/Int64.xml index c04151b833b..2b19916dbf8 100644 --- a/xml/System/Int64.xml +++ b/xml/System/Int64.xml @@ -475,7 +475,7 @@ The following code example demonstrates generic and nongeneric versions of the method for several value and reference types. :::code language="csharp" source="~/snippets/csharp/System/Boolean/CompareTo/cat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/T.CompareTo/VB/cat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Boolean/CompareTo/cat.vb" id="Snippet1"::: ]]> @@ -880,7 +880,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Int64/Equals/equalsoverl.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.int64.equals/fs/equalsoverl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.int64.equals/vb/equalsoverl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int64/Equals/equalsoverl.vb" id="Snippet1"::: @@ -947,7 +947,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Int64/Equals/int64_equals.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR/Int64_Equals/FS/int64_equals.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Int64_Equals/VB/int64_equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int64/Equals/int64_equals.vb" id="Snippet1"::: ]]> @@ -956,7 +956,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Int64/Equals/equalsoverl.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.int64.equals/fs/equalsoverl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.int64.equals/vb/equalsoverl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int64/Equals/equalsoverl.vb" id="Snippet1"::: @@ -1749,7 +1749,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int64/Parse/Parse1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.int64.parse/fs/Parse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.int64.parse/vb/Parse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int64/Parse/Parse1.vb" id="Snippet1"::: ]]> @@ -1962,7 +1962,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int64/Parse/Parse2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.int64.parse/fs/Parse2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.int64.parse/vb/Parse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int64/Parse/Parse2.vb" id="Snippet2"::: ]]> @@ -2078,7 +2078,7 @@ For this method matches the IEE The following example is the button click event handler of a Web form. It uses the array returned by the property to determine the user's locale. It then instantiates a object that corresponds to that locale. The object that belongs to that object is then passed to the method to convert the user's input to an value. :::code language="csharp" source="~/snippets/csharp/System/Decimal/Parse/Default.aspx.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ParseMethod/vb/Default.aspx.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Parse/Default.aspx.vb" id="Snippet5"::: ]]> @@ -2309,7 +2309,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int64/Parse/Parse3.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.int64.parse/fs/Parse3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.int64.parse/vb/Parse3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int64/Parse/Parse3.vb" id="Snippet3"::: ]]> @@ -6146,7 +6146,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int64/ToString/ToString.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int64.ToString/fs/ToString.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int64.ToString/vb/ToString.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int64/ToString/ToString.vb" id="Snippet1"::: ]]> @@ -6255,7 +6255,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int64/ToString/ToString.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int64.ToString/fs/ToString.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int64.ToString/vb/ToString.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int64/ToString/ToString.vb" id="Snippet2"::: ]]> @@ -6357,7 +6357,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int64/ToString/ToString.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int64.ToString/fs/ToString.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int64.ToString/vb/ToString.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int64/ToString/ToString.vb" id="Snippet3"::: ]]> @@ -6473,7 +6473,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int64/ToString/ToString.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int64.ToString/fs/ToString.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int64.ToString/vb/ToString.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int64/ToString/ToString.vb" id="Snippet4"::: ]]> @@ -6836,7 +6836,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int64/TryParse/TryParse1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int64.TryParse/fs/TryParse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int64.TryParse/vb/TryParse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int64/TryParse/TryParse1.vb" id="Snippet1"::: Some of the strings that the method is unable to convert in this example are: @@ -7227,7 +7227,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int64/TryParse/TryParse2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int64.TryParse/fs/TryParse2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int64.TryParse/vb/TryParse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int64/TryParse/TryParse2.vb" id="Snippet2"::: ]]> diff --git a/xml/System/IntPtr.xml b/xml/System/IntPtr.xml index ef308dcadf4..ed56056ff13 100644 --- a/xml/System/IntPtr.xml +++ b/xml/System/IntPtr.xml @@ -306,7 +306,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.intptr/cpp/topointer.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/IntPtr/ToPointer/topointer.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IntPtr/ToPointer/topointer.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.intptr/vb/topointer.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IntPtr/Overview/topointer.vb" id="Snippet1"::: ]]> @@ -623,7 +623,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IntPtr/Add/add1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IntPtr/Add/add1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.add/vb/add1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IntPtr/Add/add1.vb" id="Snippet1"::: ]]> @@ -1811,7 +1811,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/IntPtr/op_Addition/addition1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IntPtr/op_Addition/addition1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.op_addition/vb/addition1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IntPtr/op_Addition/addition1.vb" id="Snippet1"::: Languages that do not support custom operators can call the method instead. @@ -2431,7 +2431,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/IntPtr/op_Addition/op_subtraction1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/IntPtr/op_Addition/op_subtraction1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.op_addition/vb/op_subtraction1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/IntPtr/op_Addition/op_subtraction1.vb" id="Snippet2"::: Languages that do not support custom operators can call the method instead. @@ -3130,7 +3130,7 @@ It is recommended that a function return `1`, `0`, and `-1`, respectively. :::code language="csharp" source="~/snippets/csharp/System/IntPtr/Subtract/subtract1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IntPtr/Subtract/subtract1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.subtract/vb/subtract1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IntPtr/Subtract/subtract1.vb" id="Snippet1"::: ]]> @@ -6837,7 +6837,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/IntPtr/Zero/zero4.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/IntPtr/Zero/zero4.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.zero/vb/zero4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/IntPtr/Zero/zero4.vb" id="Snippet2"::: > [!NOTE] > Although is equivalent to `null` for Windows API functions with parameters or return values that can be either pointers or `null`, is not equivalent to `null`. Passing `null` to the `IntPtr.Zero.Equals` method always returns `false`. @@ -6846,7 +6846,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/IntPtr/Zero/zero2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IntPtr/Zero/zero2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.zero/vb/zero2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IntPtr/Zero/zero2.vb" id="Snippet1"::: ]]> diff --git a/xml/System/InvalidTimeZoneException.xml b/xml/System/InvalidTimeZoneException.xml index b57cadc78dc..9eae6b7cbf7 100644 --- a/xml/System/InvalidTimeZoneException.xml +++ b/xml/System/InvalidTimeZoneException.xml @@ -338,7 +338,7 @@ The following code tries to retrieve a object that represents the Central Standard Time zone. If an occurs in the `RetrieveTimeZone` method call, the exception handler wraps the exception in a new object, which it returns to the caller. The caller's exception handler then displays information about both the outer and inner exceptions. :::code language="csharp" source="~/snippets/csharp/System/InvalidTimeZoneException/.ctor/TimeZoneNotFoundException.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZoneNotFoundException.Class/vb/TimeZoneNotFoundException.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/InvalidTimeZoneException/.ctor/TimeZoneNotFoundException.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Lazy`1.xml b/xml/System/Lazy`1.xml index 94c828cc310..83c1f835b0c 100644 --- a/xml/System/Lazy`1.xml +++ b/xml/System/Lazy`1.xml @@ -147,38 +147,38 @@ :::code language="csharp" source="~/snippets/csharp/System/LazyT/Overview/example.cs" id="Snippetnewlazy"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/Overview/example.fs" id="Snippetnewlazy"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/example.vb" id="Snippetnewlazy"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/Overview/example.vb" id="Snippetnewlazy"::: The factory method shows the creation of the object, with a placeholder for further initialization: :::code language="csharp" source="~/snippets/csharp/System/LazyT/Overview/example.cs" id="Snippetfactoryfunc"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/Overview/example.fs" id="Snippetfactoryfunc"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/example.vb" id="Snippetfactoryfunc"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/Overview/example.vb" id="Snippetfactoryfunc"::: Note that the first two code sections could be combined by using a lambda function, as shown here: :::code language="csharp" source="~/snippets/csharp/System/LazyT/Overview/lambda.cs" id="Snippetinitwithlambda"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/Overview/lambda.fs" id="Snippetinitwithlambda"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/lambda.vb" id="Snippetinitwithlambda"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/Overview/lambda.vb" id="Snippetinitwithlambda"::: The example pauses, to indicate that an indeterminate period may elapse before lazy initialization occurs. When you press the **Enter** key, the example creates and starts three threads. The `ThreadProc` method that's used by all three threads calls the property. The first time this happens, the `LargeObject` instance is created: :::code language="csharp" source="~/snippets/csharp/System/LazyT/Overview/example.cs" id="Snippetvalueprop"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/Overview/example.fs" id="Snippetvalueprop"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/example.vb" id="Snippetvalueprop"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/Overview/example.vb" id="Snippetvalueprop"::: The constructor of the `LargeObject` class, which includes the last key section of code, displays a message and records the identity of the initializing thread. The output from the program appears at the end of the full code listing. :::code language="csharp" source="~/snippets/csharp/System/LazyT/Overview/example.cs" id="Snippetlargector"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/Overview/example.fs" id="Snippetlargector"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/example.vb" id="Snippetlargector"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/Overview/example.vb" id="Snippetlargector"::: > [!NOTE] > For simplicity, this example uses a global instance of , and all the methods are `static` (`Shared` in Visual Basic). These are not requirements for the use of lazy initialization. :::code language="csharp" source="~/snippets/csharp/System/LazyT/Overview/example.cs" id="Snippetall"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/Overview/example.fs" id="Snippetall"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/example.vb" id="Snippetall"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/Overview/example.vb" id="Snippetall"::: ]]> @@ -259,13 +259,13 @@ :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example.cs" id="Snippetnewlazy"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example.fs" id="Snippetnewlazy"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctor/vb/example.vb" id="Snippetnewlazy"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example.vb" id="Snippetnewlazy"::: The example creates and starts three threads that block on a object, so that the example can release the threads all at once. The `ThreadProc` method that's used by all three threads calls the property to get the `LargeObject` instance: :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example.cs" id="Snippetvalueprop"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example.fs" id="Snippetvalueprop"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctor/vb/example.vb" id="Snippetvalueprop"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example.vb" id="Snippetvalueprop"::: The class provides locking, so that only one thread is allowed to create the `LargeObject` instance. The example demonstrates that the other threads all get the same instance. @@ -274,7 +274,7 @@ :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example.cs" id="Snippetall"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example.fs" id="Snippetall"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctor/vb/example.vb" id="Snippetall"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example.vb" id="Snippetall"::: ]]> @@ -348,7 +348,7 @@ :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example1.cs" id="Snippetall"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example1.fs" id="Snippetall"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorbool/vb/example.vb" id="Snippetall"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example1.vb" id="Snippetall"::: ]]> @@ -417,19 +417,19 @@ :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example2.cs" id="Snippetnewlazy"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example2.fs" id="Snippetnewlazy"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfunc/vb/example.vb" id="Snippetnewlazy"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example2.vb" id="Snippetnewlazy"::: The example creates and starts three threads. The `ThreadProc` method that's used by all three threads calls the property to get the `LargeObject` instance: :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example2.cs" id="Snippetvalueprop"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example2.fs" id="Snippetvalueprop"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfunc/vb/example.vb" id="Snippetvalueprop"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example2.vb" id="Snippetvalueprop"::: In the constructor of the `LargeObject` class, the third key section of code throws an exception the first time a `LargeObject` instance is created, but thereafter allows instance creation to occur: :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example2.cs" id="Snippetlargector"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example2.fs" id="Snippetlargector"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfunc/vb/example.vb" id="Snippetlargector"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example2.vb" id="Snippetlargector"::: When the example is run, the first thread that tries to create an instance of `LargeObject` fails, and the exception is caught. You might expect that the next thread would successfully create an instance, but the object has cached the exception. Because of this, all three threads throw the exception. @@ -438,7 +438,7 @@ :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example2.cs" id="Snippetall"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example2.fs" id="Snippetall"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfunc/vb/example.vb" id="Snippetall"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example2.vb" id="Snippetall"::: ]]> @@ -510,19 +510,19 @@ :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example5.cs" id="Snippetnewlazy"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example5.fs" id="Snippetnewlazy"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorltsm/vb/example.vb" id="Snippetnewlazy"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example5.vb" id="Snippetnewlazy"::: The example creates and starts three threads that block on a object, so that the example can release the threads all at once. In the `ThreadProc` method that's used by all three threads, calling the property creates the `LargeObject` instance: :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example5.cs" id="Snippetvalueprop"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example5.fs" id="Snippetvalueprop"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorltsm/vb/example.vb" id="Snippetvalueprop"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example5.vb" id="Snippetvalueprop"::: Because the constructor for the instance specified , all three threads are allowed to create `LargeObject` instances. The example demonstrates this by displaying console messages in the constructor and in the finalizer of the `LargeObject` class: :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example5.cs" id="Snippetctorfinalizer"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example5.fs" id="Snippetctorfinalizer"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorltsm/vb/example.vb" id="Snippetctorfinalizer"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example5.vb" id="Snippetctorfinalizer"::: However, the object ensures that only one instance is used by all threads. The output from the example shows that all three threads use the same instance, and also shows that the other two instances can be reclaimed by garbage collection. @@ -531,7 +531,7 @@ :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example5.cs" id="Snippetall"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example5.fs" id="Snippetall"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorltsm/vb/example.vb" id="Snippetall"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example5.vb" id="Snippetall"::: ]]> @@ -653,19 +653,19 @@ An instance created with this constructor is usable by multiple threads concurre :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example3.cs" id="Snippetnewlazy"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example3.fs" id="Snippetnewlazy"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncbool/vb/example.vb" id="Snippetnewlazy"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example3.vb" id="Snippetnewlazy"::: In the call to the constructor, the `isThreadSafe` parameter is `false`, so the is not thread safe. Because it's not thread safe, the example calls the property three times on the same thread: :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example3.cs" id="Snippetvalueprop"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example3.fs" id="Snippetvalueprop"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncbool/vb/example.vb" id="Snippetvalueprop"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example3.vb" id="Snippetvalueprop"::: In the constructor of the `LargeObject` class, the third key section of code throws an exception the first time a `LargeObject` instance is created, but thereafter allows instance creation to occur: :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example3.cs" id="Snippetlargector"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example3.fs" id="Snippetlargector"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncbool/vb/example.vb" id="Snippetlargector"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example3.vb" id="Snippetlargector"::: When the example is run, the first attempt to create an instance of `LargeObject` fails, and the exception is caught. You might expect that the next attempt would succeed, but the object has cached the exception. Because of this, all three attempts throw the exception. @@ -674,7 +674,7 @@ An instance created with this constructor is usable by multiple threads concurre :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example3.cs" id="Snippetall"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example3.fs" id="Snippetall"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncbool/vb/example.vb" id="Snippetall"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example3.vb" id="Snippetall"::: ]]> @@ -748,7 +748,7 @@ An instance created with this constructor is usable by multiple threads concurre :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example4.cs" id="Snippetnewlazy"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example4.fs" id="Snippetnewlazy"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncltsm/vb/example.vb" id="Snippetnewlazy"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example4.vb" id="Snippetnewlazy"::: The lazy initializer uses a function to perform the initialization. In this case, a function is required because there is no parameterless constructor for the `LargeObject` class. @@ -756,13 +756,13 @@ An instance created with this constructor is usable by multiple threads concurre :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example4.cs" id="Snippetvalueprop"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example4.fs" id="Snippetvalueprop"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncltsm/vb/example.vb" id="Snippetvalueprop"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example4.vb" id="Snippetvalueprop"::: In the third key section of code, the lazy initialization function is called to create the `LargeObject` instance. The function throws an exception the first time it's called: :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example4.cs" id="Snippetfactoryfunc"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example4.fs" id="Snippetfactoryfunc"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncltsm/vb/example.vb" id="Snippetfactoryfunc"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example4.vb" id="Snippetfactoryfunc"::: With any other setting, an unhandled exception in the initialization function would be cached. However, suppresses exception caching. The output from the example demonstrates that a subsequent attempt to initialize the object succeeds. @@ -773,7 +773,7 @@ An instance created with this constructor is usable by multiple threads concurre :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example4.cs" id="Snippetctorfinalizer"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example4.fs" id="Snippetctorfinalizer"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncltsm/vb/example.vb" id="Snippetctorfinalizer"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example4.vb" id="Snippetctorfinalizer"::: The object ensures that only one instance is used by all threads (except the thread where the initialization function throws an exception). The output from the example shows this. @@ -782,7 +782,7 @@ An instance created with this constructor is usable by multiple threads concurre :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example4.cs" id="Snippetall"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example4.fs" id="Snippetall"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncltsm/vb/example.vb" id="Snippetall"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example4.vb" id="Snippetall"::: ]]> diff --git a/xml/System/MarshalByRefObject.xml b/xml/System/MarshalByRefObject.xml index a6753f7438b..617021d9f4b 100644 --- a/xml/System/MarshalByRefObject.xml +++ b/xml/System/MarshalByRefObject.xml @@ -87,7 +87,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/CreateInstanceAndUnwrap2/cpp/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/CreateInstanceAndUnwrap/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/CreateInstanceAndUnwrap/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/CreateInstanceAndUnwrap2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/CreateInstanceAndUnwrap/source.vb" id="Snippet1"::: **Example 2** @@ -96,7 +96,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/RemotingServices.SetObjectUriForMarshal/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/MarshalByRefObject/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/MarshalByRefObject/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/RemotingServices.SetObjectUriForMarshal/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/MarshalByRefObject/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Math.xml b/xml/System/Math.xml index 057784c4229..7b801c83543 100644 --- a/xml/System/Math.xml +++ b/xml/System/Math.xml @@ -69,7 +69,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Math/Overview/mathsample.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Overview/mathsample.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MathSample/VB/mathsample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Overview/mathsample.vb" id="Snippet1"::: ]]> @@ -228,7 +228,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Math/Abs/abs2.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Abs/abs2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Abs/abs2.vb" id="Snippet2"::: ]]> @@ -301,7 +301,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Math/Abs/abs3.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Abs/abs3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Abs/abs3.vb" id="Snippet3"::: ]]> @@ -376,7 +376,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Math/Abs/abs4.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Abs/abs4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Abs/abs4.vb" id="Snippet4"::: ]]> @@ -451,7 +451,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Math/Abs/abs5.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Abs/abs5.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Abs/abs5.vb" id="Snippet5"::: ]]> @@ -576,7 +576,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Math/Abs/abs6.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Abs/abs6.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs6.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Abs/abs6.vb" id="Snippet6"::: ]]> @@ -653,7 +653,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Math/Abs/abs7.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Abs/abs7.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs7.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Abs/abs7.vb" id="Snippet7"::: ]]> @@ -730,7 +730,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Math/Overview/mathsample.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Overview/mathsample.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MathSample/VB/mathsample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Overview/mathsample.vb" id="Snippet1"::: ]]> @@ -866,7 +866,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Math/Overview/mathsample.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Overview/mathsample.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MathSample/VB/mathsample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Overview/mathsample.vb" id="Snippet1"::: ]]> @@ -1002,7 +1002,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Math/Atan/atan.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Atan/atan.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/math.atanx/VB/atan.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Atan/atan.vb" id="Snippet1"::: ]]> @@ -1101,7 +1101,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Math/Atan/atan.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Atan/atan.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/math.atanx/VB/atan.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Atan/atan.vb" id="Snippet1"::: ]]> @@ -1223,7 +1223,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Math/BigMul/bigmul.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/BigMul/bigmul.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/math.bigmul/VB/bigmul.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/BigMul/bigmul.vb" id="Snippet1"::: ]]> @@ -1673,7 +1673,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Math/Ceiling/Ceiling1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Ceiling/Ceiling1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Ceiling/vb/Ceiling1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Ceiling/Ceiling1.vb" id="Snippet1"::: ]]> @@ -1756,7 +1756,7 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969 :::code language="csharp" source="~/snippets/csharp/System/Math/Ceiling/Ceiling1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Ceiling/Ceiling1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Ceiling/vb/Ceiling1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Ceiling/Ceiling1.vb" id="Snippet2"::: ]]> @@ -2702,7 +2702,7 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969 :::code language="csharp" source="~/snippets/csharp/System/Math/Cos/sincos.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Cos/sincos.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.SinCos/VB/sincos.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Cos/sincos.vb" id="Snippet1"::: ]]> @@ -2777,7 +2777,7 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969 :::code language="csharp" source="~/snippets/csharp/System/Math/Cosh/sinhcosh.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Cosh/sinhcosh.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.SinhCosh/VB/sinhcosh.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Cosh/sinhcosh.vb" id="Snippet1"::: ]]> @@ -3379,7 +3379,7 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969 :::code language="csharp" source="~/snippets/csharp/System/Math/DivRem/divrem1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/DivRem/divrem1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.divrem/vb/divrem1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/DivRem/divrem1.vb" id="Snippet1"::: ]]> @@ -3454,7 +3454,7 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969 :::code language="csharp" source="~/snippets/csharp/System/Math/DivRem/divrem2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/DivRem/divrem2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.divrem/vb/divrem2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/DivRem/divrem2.vb" id="Snippet2"::: ]]> @@ -3520,7 +3520,7 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969 :::code language="csharp" source="~/snippets/csharp/System/Math/E/efield.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/E/efield.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.E/VB/efield.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/E/efield.vb" id="Snippet1"::: ]]> @@ -3599,7 +3599,7 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969 :::code language="csharp" source="~/snippets/csharp/System/Math/Exp/exp.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Exp/exp.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Exp/VB/exp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Exp/exp.vb" id="Snippet1"::: ]]> @@ -3685,7 +3685,7 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969 :::code language="csharp" source="~/snippets/csharp/System/Math/Ceiling/Ceiling1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Ceiling/Ceiling1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Ceiling/vb/Ceiling1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Ceiling/Ceiling1.vb" id="Snippet1"::: ]]> @@ -3769,7 +3769,7 @@ Dim i2 As Integer = CInt(Math.Floor(d2)) ' Result: 7968 :::code language="csharp" source="~/snippets/csharp/System/Math/Ceiling/Ceiling1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Ceiling/Ceiling1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Ceiling/vb/Ceiling1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Ceiling/Ceiling1.vb" id="Snippet2"::: ]]> @@ -3918,7 +3918,7 @@ Remainder = (Math.Abs(dividend) - (Math.Abs(divisor) * :::code language="csharp" source="~/snippets/csharp/System/Math/IEEERemainder/ieeeremainder1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/IEEERemainder/ieeeremainder1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.ieeeremainder/vb/ieeeremainder1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/IEEERemainder/ieeeremainder1.vb" id="Snippet1"::: ]]> @@ -4072,14 +4072,12 @@ Remainder = (Math.Abs(dividend) - (Math.Abs(divisor) * This method calls into the underlying C runtime, and the exact result or valid input range may differ between different operating systems or architectures. - - ## Examples The following example illustrates the method. :::code language="csharp" source="~/snippets/csharp/System/Math/LogMethod/log1.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/LogMethod/log1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Log_Overloads/VB/log1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/LogMethod/log1.vb" id="Snippet2"::: ]]> @@ -4231,14 +4229,12 @@ Remainder = (Math.Abs(dividend) - (Math.Abs(divisor) * ## Remarks This method calls into the underlying C runtime, and the exact result or valid input range may differ between different operating systems or architectures. - - ## Examples The following example uses to evaluate certain logarithmic identities for selected values. :::code language="csharp" source="~/snippets/csharp/System/Math/LogMethod/loggen.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/LogMethod/loggen.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Log_Overloads/VB/loggen.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/LogMethod/loggen.vb" id="Snippet1"::: ]]> @@ -4327,7 +4323,7 @@ Remainder = (Math.Abs(dividend) - (Math.Abs(divisor) * :::code language="csharp" source="~/snippets/csharp/System/Math/Log10/log10.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Log10/log10.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Log10/VB/log10.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Log10/log10.vb" id="Snippet1"::: ]]> @@ -4416,7 +4412,7 @@ The following example demonstrates how to use the meth :::code language="csharp" source="~/snippets/csharp/System/Math/Max/max.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Max/max.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/math.max/VB/max.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/Math/Max/max.vb" id="Snippet1"::: ]]> @@ -5309,7 +5305,7 @@ The following example demonstrates how to use the meth :::code language="csharp" source="~/snippets/csharp/System/Math/Min/min.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Min/min.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/math.min/VB/min.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/Math/Min/min.vb" id="Snippet1"::: ]]> @@ -6240,7 +6236,7 @@ The following example demonstrates how to use the meth :::code language="csharp" source="~/snippets/csharp/System/Math/Overview/mathsample.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Overview/mathsample.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MathSample/VB/mathsample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Overview/mathsample.vb" id="Snippet1"::: ]]> @@ -6344,7 +6340,7 @@ The following example uses the method to calculate the :::code language="csharp" source="~/snippets/csharp/System/Math/Pow/pow1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Pow/pow1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.pow/vb/pow1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/Math/Pow/pow1.vb" id="Snippet1"::: ]]> @@ -6514,7 +6510,7 @@ The following example illustrates the bias that can result from consistently rou :::code language="csharp" source="~/snippets/csharp/System/Decimal/Round/mean1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Round/mean1.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/mean1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/Decimal/Round/mean1.vb" id="Snippet2"::: By default, the method uses the round to nearest even convention. The following table lists the overloads of the method and the rounding convention that each uses. @@ -6538,7 +6534,7 @@ The following example illustrates the problem. It repeatedly adds .1 to 11.0 and :::code language="csharp" source="~/snippets/csharp/System/Decimal/Round/precision1.cs" interactive="try-dotnet" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Round/precision1.fs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/precision1.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System/Decimal/Round/precision1.vb" id="Snippet7"::: Problems of precision in rounding midpoint values are most likely to arise in the following conditions: @@ -6556,7 +6552,7 @@ Problems of precision in rounding midpoint values are most likely to arise in th :::code language="csharp" source="~/snippets/csharp/System/Decimal/Round/precision2.cs" interactive="try-dotnet" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Round/precision2.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/precision2.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Round/precision2.vb" id="Snippet8"::: #### Rounding and single-precision floating-point values @@ -6564,7 +6560,7 @@ The method includes overloads that accept arguments :::code language="csharp" source="~/snippets/csharp/System/Decimal/Round/single1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Round/single1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/single1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/Decimal/Round/single1.vb" id="Snippet1"::: This unexpected result is due to a loss of precision in the conversion of the value to a . Because the resulting value of 16.325000762939453 is not a midpoint value and is greater than 16.325, it is always rounded upward. @@ -6656,7 +6652,7 @@ The following example demonstrates the @@ -6757,7 +6753,7 @@ The following example demonstrates rounding to the nearest integer value. :::code language="csharp" source="~/snippets/csharp/System/Math/Round/round2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Round/round2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/round2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Round/round2.vb" id="Snippet1"::: @@ -6834,7 +6830,7 @@ The following example rounds decimal values with two fractional digits to values :::code language="csharp" source="~/snippets/csharp/System/Decimal/Round/source.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Round/source.fs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/source.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System/Decimal/Round/source.vb" id="Snippet3"::: ]]> @@ -6917,7 +6913,7 @@ The following example displays values returned by the @@ -7010,7 +7006,7 @@ The following example rounds double values with two fractional digits to doubles :::code language="csharp" source="~/snippets/csharp/System/Math/Round/round3.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Round/round3.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/round3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Round/round3.vb" id="Snippet2"::: @@ -7086,7 +7082,7 @@ The following example displays values returned by the @@ -7097,7 +7093,7 @@ The following example displays values returned by the @@ -7181,7 +7177,7 @@ The following example demonstrates how to use the me :::code language="csharp" source="~/snippets/csharp/System/Decimal/Round/mpr.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Round/mpr.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/mpr.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/Decimal/Round/mpr.vb" id="Snippet1"::: ]]> @@ -7266,7 +7262,7 @@ The following example demonstrates how to use the @@ -7279,7 +7275,7 @@ The following example demonstrates how to use the @@ -7430,7 +7426,7 @@ The following example demonstrates how to use the @@ -7516,7 +7512,7 @@ The following example demonstrates how to use the @@ -7604,7 +7600,7 @@ The following example demonstrates how to use the @@ -7690,7 +7686,7 @@ The following example demonstrates how to use the @@ -7776,7 +7772,7 @@ The following example demonstrates how to use the @@ -7940,7 +7936,7 @@ The following example demonstrates how to use the @@ -8026,7 +8022,7 @@ The following example demonstrates how to use the @@ -8103,7 +8099,7 @@ The following example demonstrates how to use the @@ -8239,7 +8235,7 @@ The following example demonstrates how to use the @@ -8324,7 +8320,7 @@ The following example demonstrates how to use the @@ -8400,7 +8396,7 @@ The following example demonstrates how to use the @@ -8475,7 +8471,7 @@ The following example demonstrates how to use the @@ -8595,7 +8591,7 @@ The following example demonstrates how to use the @@ -8674,7 +8670,7 @@ Dim i As Integer = CInt(Math.Truncate(d)) ' Result: 164 :::code language="csharp" source="~/snippets/csharp/System/Math/Truncate/Truncate1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Truncate/Truncate1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Truncate/vb/Truncate1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Truncate/Truncate1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/MidpointRounding.xml b/xml/System/MidpointRounding.xml index 9b96ffb4ecb..84dc1cf7dfc 100644 --- a/xml/System/MidpointRounding.xml +++ b/xml/System/MidpointRounding.xml @@ -70,7 +70,7 @@ The following example demonstrates the method in conjunction with the `MidpointRounding` enumeration: :::code language="csharp" source="~/snippets/csharp/System/Decimal/Round/mpr.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/mpr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Round/mpr.vb" id="Snippet1"::: ]]> diff --git a/xml/System/MissingFieldException.xml b/xml/System/MissingFieldException.xml index ebce9895726..9bdc56b8ad6 100644 --- a/xml/System/MissingFieldException.xml +++ b/xml/System/MissingFieldException.xml @@ -85,7 +85,7 @@ :::code language="csharp" source="~/snippets/csharp/System/MissingFieldException/Overview/MissingMethodException.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/MissingFieldException/Overview/MissingMethodException.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MissingMethodException/vb/missingmethodexception.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/MissingFieldException/Overview/missingmethodexception.vb" id="Snippet1"::: ]]> @@ -444,7 +444,7 @@ :::code language="csharp" source="~/snippets/csharp/System/MissingFieldException/Overview/MissingMethodException.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/MissingFieldException/Overview/MissingMethodException.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MissingMethodException/vb/missingmethodexception.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/MissingFieldException/Overview/missingmethodexception.vb" id="Snippet3"::: ]]> diff --git a/xml/System/MissingMemberException.xml b/xml/System/MissingMemberException.xml index 0e513307cde..a85a6a2cc0e 100644 --- a/xml/System/MissingMemberException.xml +++ b/xml/System/MissingMemberException.xml @@ -89,7 +89,7 @@ :::code language="csharp" source="~/snippets/csharp/System/MissingFieldException/Overview/MissingMethodException.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/MissingFieldException/Overview/MissingMethodException.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MissingMethodException/vb/missingmethodexception.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/MissingFieldException/Overview/missingmethodexception.vb" id="Snippet1"::: ]]> @@ -626,7 +626,7 @@ :::code language="csharp" source="~/snippets/csharp/System/MissingFieldException/Overview/MissingMethodException.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/MissingFieldException/Overview/MissingMethodException.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MissingMethodException/vb/missingmethodexception.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/MissingFieldException/Overview/missingmethodexception.vb" id="Snippet4"::: ]]> diff --git a/xml/System/MissingMethodException.xml b/xml/System/MissingMethodException.xml index 8a14ae9f330..7dc322ef1e5 100644 --- a/xml/System/MissingMethodException.xml +++ b/xml/System/MissingMethodException.xml @@ -90,7 +90,7 @@ The exact timing of when statically referenced methods are loaded is unspecified :::code language="csharp" source="~/snippets/csharp/System/MissingFieldException/Overview/MissingMethodException.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/MissingFieldException/Overview/MissingMethodException.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MissingMethodException/vb/missingmethodexception.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/MissingFieldException/Overview/missingmethodexception.vb" id="Snippet1"::: ]]> @@ -453,7 +453,7 @@ The exact timing of when statically referenced methods are loaded is unspecified :::code language="csharp" source="~/snippets/csharp/System/MissingFieldException/Overview/MissingMethodException.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/MissingFieldException/Overview/MissingMethodException.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MissingMethodException/vb/missingmethodexception.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/MissingFieldException/Overview/missingmethodexception.vb" id="Snippet2"::: ]]> diff --git a/xml/System/MulticastDelegate.xml b/xml/System/MulticastDelegate.xml index 2600887cbc6..b55d1eb8251 100644 --- a/xml/System/MulticastDelegate.xml +++ b/xml/System/MulticastDelegate.xml @@ -91,7 +91,7 @@ :::code language="csharp" source="~/snippets/csharp/System/MulticastDelegate/Overview/delegatestring.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/MulticastDelegate/Overview/delegatestring.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Multicast Delegate Introduction/VB/delegatestring.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/MulticastDelegate/Overview/delegatestring.vb" id="Snippet1"::: ]]> diff --git a/xml/System/NonSerializedAttribute.xml b/xml/System/NonSerializedAttribute.xml index d7047ce1383..1e37e4d9f51 100644 --- a/xml/System/NonSerializedAttribute.xml +++ b/xml/System/NonSerializedAttribute.xml @@ -106,7 +106,7 @@ public event ChangedEventHandler Changed; :::code language="csharp" source="~/snippets/csharp/System/NonSerializedAttribute/Overview/s.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/NonSerializedAttribute/Overview/s.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SerializationAttributes/VB/s.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/NonSerializedAttribute/Overview/s.vb" id="Snippet1"::: ]]> diff --git a/xml/System/NotImplementedException.xml b/xml/System/NotImplementedException.xml index c91d1b369a2..88385c7b585 100644 --- a/xml/System/NotImplementedException.xml +++ b/xml/System/NotImplementedException.xml @@ -77,7 +77,7 @@ The following example throws this exception for a method that has not been devel :::code language="csharp" source="~/snippets/csharp/System/NotImplementedException/Overview/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/NotImplementedException/Overview/program.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.notimplementedexception/vb/program.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/NotImplementedException/Overview/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System/NullReferenceException.xml b/xml/System/NullReferenceException.xml index c4ba8e27ddd..fe04f76faab 100644 --- a/xml/System/NullReferenceException.xml +++ b/xml/System/NullReferenceException.xml @@ -84,25 +84,25 @@ A exception is thrown when you try to acces :::code language="csharp" source="~/snippets/csharp/System/NullReferenceException/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullReferenceException/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullReferenceException/Overview/example1.vb" id="Snippet1"::: Some compilers issue a warning when they compile this code. Others issue an error, and the compilation fails. To address this problem, instantiate the object so that its value is no longer `null`. The following example does this by calling a type's class constructor. :::code language="csharp" source="~/snippets/csharp/System/NullReferenceException/Overview/example1a.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullReferenceException/Overview/example1a.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/example1a.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullReferenceException/Overview/example1a.vb" id="Snippet2"::: - You forgot to dimension an array before initializing it. In the following example, `values` is declared to be an integer array, but the number of elements that it contains is never specified. The attempt to initialize its values therefore throws a exception. :::code language="csharp" source="~/snippets/csharp/System/NullReferenceException/Overview/Array3.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullReferenceException/Overview/Array3.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array3.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullReferenceException/Overview/Array3.vb" id="Snippet10"::: You can eliminate the exception by declaring the number of elements in the array before initializing it, as the following example does. :::code language="csharp" source="~/snippets/csharp/System/NullReferenceException/Overview/Array4.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullReferenceException/Overview/Array4.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array4.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullReferenceException/Overview/Array4.vb" id="Snippet11"::: For more information on declaring and initializing arrays, see [Arrays](/dotnet/csharp/programming-guide/arrays/) and [Arrays](/dotnet/visual-basic/programming-guide/language-features/arrays/). @@ -112,13 +112,13 @@ A exception is thrown when you try to acces :::code language="csharp" source="~/snippets/csharp/System/NullReferenceException/Overview/nullreturn2.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullReferenceException/Overview/nullreturn2.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/nullreturn2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullReferenceException/Overview/nullreturn2.vb" id="Snippet4"::: To address this problem, test the method's return value to ensure that it's not `null` before calling any of its members, as the following example does. :::code language="csharp" source="~/snippets/csharp/System/NullReferenceException/Overview/nullreturn2.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullReferenceException/Overview/nullreturn2a.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/nullreturn2a.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullReferenceException/Overview/nullreturn2a.vb" id="Snippet5"::: - You're using an expression (for example, you chained a list of methods or properties together) to retrieve a value and, although you're checking whether the value is `null`, the runtime still throws a exception. This occurs because one of the intermediate values in the expression returns `null`. As a result, your test for `null` is never evaluated. @@ -126,13 +126,13 @@ A exception is thrown when you try to acces :::code language="csharp" source="~/snippets/csharp/System/NullReferenceException/Overview/Chain1.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullReferenceException/Overview/Chain1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Chain1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullReferenceException/Overview/Chain1.vb" id="Snippet6"::: The exception is thrown because `pages.CurrentPage` returns `null` if no page information is stored in the cache. This exception can be corrected by testing the value of the `CurrentPage` property before retrieving the current `Page` object's `Title` property, as the following example does: :::code language="csharp" source="~/snippets/csharp/System/NullReferenceException/Overview/Chain2.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullReferenceException/Overview/Chain2.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Chain2.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullReferenceException/Overview/Chain2.vb" id="Snippet7"::: - You're enumerating the elements of an array that contains reference types, and your attempt to process one of the elements throws a exception. @@ -140,19 +140,19 @@ A exception is thrown when you try to acces :::code language="csharp" source="~/snippets/csharp/System/NullReferenceException/Overview/Array1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullReferenceException/Overview/Array1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullReferenceException/Overview/Array1.vb" id="Snippet8"::: This exception occurs if you assume that each element of the array must contain a non-null value, and the value of the array element is in fact `null`. The exception can be eliminated by testing whether the element is `null` before performing any operation on that element, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/NullReferenceException/Overview/Array2.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullReferenceException/Overview/Array2.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array2.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullReferenceException/Overview/Array2.vb" id="Snippet9"::: - A method when it accesses a member of one of its arguments, but that argument is `null`. The `PopulateNames` method in the following example throws the exception at the line `names.Add(arrName);`. :::code language="csharp" source="~/snippets/csharp/System/NullReferenceException/Overview/example2.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullReferenceException/Overview/example2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/example2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullReferenceException/Overview/example2.vb" id="Snippet3"::: To address this issue, make sure that the argument passed to the method is not `null`, or handle the thrown exception in a `try…catch…finally` block. For more information, see [Exceptions](/dotnet/standard/exceptions/). diff --git a/xml/System/Nullable.xml b/xml/System/Nullable.xml index 81bcff2d07e..8e616d661fe 100644 --- a/xml/System/Nullable.xml +++ b/xml/System/Nullable.xml @@ -284,7 +284,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Nullable/GetUnderlyingType/gut.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Nullable/GetUnderlyingType/gut.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullable_GetUnderlyingType/vb/gut.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Nullable/GetUnderlyingType/gut.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Nullable`1.xml b/xml/System/Nullable`1.xml index 2915fc1f71e..b6336ade323 100644 --- a/xml/System/Nullable`1.xml +++ b/xml/System/Nullable`1.xml @@ -72,7 +72,7 @@ The following code example defines three rows of a table in the Microsoft Pubs s :::code language="csharp" source="~/snippets/csharp/System/NullableT/Overview/tarow.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullableT/Overview/tarow.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.class/vb/tarow.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/NullableT/Overview/tarow.vb" id="Snippet1"::: ]]> @@ -207,7 +207,7 @@ The following code example defines three rows of a table in the Microsoft Pubs s :::code language="csharp" source="~/snippets/csharp/System/NullableT/Equals/eq.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullableT/Equals/eq.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.Equals/vb/eq.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullableT/Equals/eq.vb" id="Snippet1"::: ]]> @@ -277,7 +277,7 @@ The following code example defines three rows of a table in the Microsoft Pubs s :::code language="csharp" source="~/snippets/csharp/System/NullableT/GetValueOrDefault/gvod.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullableT/GetValueOrDefault/gvod.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.GetValueOrDefault/vb/gvod.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullableT/GetValueOrDefault/gvod.vb" id="Snippet1"::: ]]> @@ -471,7 +471,7 @@ The following code example defines three rows of a table in the Microsoft Pubs s :::code language="csharp" source="~/snippets/csharp/System/NullableT/HasValue/hasvalue2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullableT/HasValue/hasvalue2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullable~1.hasvalue/vb/hasvalue2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullableT/HasValue/hasvalue2.vb" id="Snippet1"::: ]]> @@ -535,7 +535,7 @@ The following code example defines three rows of a table in the Microsoft Pubs s :::code language="csharp" source="~/snippets/csharp/System/NullableT/op_Explicit/explicit1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullableT/op_Explicit/explicit1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullable~1.conversion/vb/explicit1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullableT/op_Explicit/explicit1.vb" id="Snippet1"::: ]]> @@ -660,7 +660,7 @@ The following code example defines three rows of a table in the Microsoft Pubs s :::code language="csharp" source="~/snippets/csharp/System/NullableT/ToString/ts.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullableT/ToString/ts.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.ToString/vb/ts.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullableT/ToString/ts.vb" id="Snippet1"::: ]]> @@ -730,7 +730,7 @@ The following code example defines three rows of a table in the Microsoft Pubs s :::code language="csharp" source="~/snippets/csharp/System/NullableT/HasValue/hasvalue2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullableT/HasValue/hasvalue2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullable~1.hasvalue/vb/hasvalue2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullableT/HasValue/hasvalue2.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Object.xml b/xml/System/Object.xml index 2cfed09ff01..b6ded90702d 100644 --- a/xml/System/Object.xml +++ b/xml/System/Object.xml @@ -68,7 +68,7 @@ The following example defines a Point type derived from the :::code language="csharp" source="~/snippets/csharp/System/Object/Overview/ObjectX.cs" interactive="try-dotnet" id="snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Object/Overview/ObjectX.fs" id="snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObjectX/vb/objectX.vb" id="snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/Object/Overview/objectX.vb" id="snippet1"::: ]]> Public static ( in Visual Basic) members of this type are thread safe. Instance members are not guaranteed to be thread-safe. @@ -280,7 +280,7 @@ The following example defines a Point type derived from the :::code language="csharp" source="~/snippets/csharp/System/Object/Equals/equals_static2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Object/Equals/equals_static2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.object.equals/vb/equals_static2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Object/Equals/equals_static2.vb" id="Snippet1"::: ]]> @@ -514,7 +514,7 @@ For an additional example that overrides the me :::code language="csharp" source="~/snippets/csharp/System/Object/GetType/gettype1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Object/GetType/gettype1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.object.gettype/vb/gettype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Object/GetType/gettype1.vb" id="Snippet1"::: > [!NOTE] > To determine whether an object is a specific type, you can use your language's type comparison keyword or construct. For example, you can use the `TypeOf…Is` construct in Visual Basic or the `is` keyword in C#. @@ -523,7 +523,7 @@ For an additional example that overrides the me :::code language="csharp" source="~/snippets/csharp/System/Object/GetType/GetTypeEx2.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Object/GetType/GetTypeEx2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.object.gettype/vb/GetTypeEx2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Object/GetType/GetTypeEx2.vb" id="Snippet2"::: The object exposes the metadata associated with the class of the current . @@ -535,7 +535,7 @@ For an additional example that overrides the me :::code language="csharp" source="~/snippets/csharp/System/Object/GetType/gettype.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Object/GetType/gettype.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ECMA-System.Object.GetType/VB/gettype.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Object/GetType/gettype.vb" id="Snippet1"::: ]]> @@ -691,7 +691,7 @@ To illustrate the difference between a shallow and a deep copy operation, consid :::code language="csharp" source="~/snippets/csharp/System/Object/ReferenceEquals/referenceequals4.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Object/ReferenceEquals/referenceequals4.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.object.referenceequals/vb/referenceequals4.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Object/ReferenceEquals/referenceequals4.vb" id="Snippet1"::: For information on boxing value types, see [Boxing and Unboxing](/dotnet/csharp/programming-guide/types/boxing-and-unboxing). @@ -699,7 +699,7 @@ To illustrate the difference between a shallow and a deep copy operation, consid :::code language="csharp" source="~/snippets/csharp/System/Object/ReferenceEquals/referenceequalsa.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Object/ReferenceEquals/referenceequalsa.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.object.referenceequals/vb/referenceequalsa.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Object/ReferenceEquals/referenceequalsa.vb" id="Snippet2"::: For more information about string interning, see . @@ -711,7 +711,7 @@ To illustrate the difference between a shallow and a deep copy operation, consid :::code language="csharp" source="~/snippets/csharp/System/Object/ReferenceEquals/referenceequals.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Object/ReferenceEquals/referenceequals.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ECMA-System.Object.ReferenceEquals/vb/referenceequals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Object/ReferenceEquals/referenceequals.vb" id="Snippet1"::: ]]> diff --git a/xml/System/ObjectDisposedException.xml b/xml/System/ObjectDisposedException.xml index 2b1b6db63e2..48548c36547 100644 --- a/xml/System/ObjectDisposedException.xml +++ b/xml/System/ObjectDisposedException.xml @@ -74,7 +74,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ObjectDisposedException/Overview/dispose1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/ObjectDisposedException/Overview/dispose1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.objectdisposedexception/vb/dispose1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ObjectDisposedException/Overview/dispose1.vb" id="Snippet1"::: - You've called an object's `Close` method, and you're trying to access an instance member that gets or sets the object's state. Often, the `Close` method provides a type's public implementation of the method. The same is true for `CloseAsync` and ``. @@ -89,7 +89,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ObjectDisposedException/Overview/objdispexc.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/ObjectDisposedException/Overview/objdispexc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObjDispEx/VB/objdispexc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ObjectDisposedException/Overview/objdispexc.vb" id="Snippet1"::: This code produces the following output: diff --git a/xml/System/ObsoleteAttribute.xml b/xml/System/ObsoleteAttribute.xml index e43a7e87bac..6b7236a0e21 100644 --- a/xml/System/ObsoleteAttribute.xml +++ b/xml/System/ObsoleteAttribute.xml @@ -81,7 +81,7 @@ The following example defines a class that contains a property and a method that :::code language="csharp" source="~/snippets/csharp/System/ObsoleteAttribute/Overview/obsoleteattributeex1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/ObsoleteAttribute/Overview/obsoleteattributeex1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ObsoleteAttribute/vb/obsoleteattributeex1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/ObsoleteAttribute/Overview/obsoleteattributeex1.vb" id="Snippet1"::: ]]> @@ -373,7 +373,7 @@ This property represents the unique ID that can be used to suppress the warnings :::code language="csharp" source="~/snippets/csharp/System/ObsoleteAttribute/IsError/obsoleteattribute_message.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/ObsoleteAttribute/IsError/obsoleteattribute_message.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.obsoleteattribute.message/vb/obsoleteattribute_message.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ObsoleteAttribute/IsError/obsoleteattribute_message.vb" id="Snippet1"::: ]]> @@ -430,7 +430,7 @@ This property represents the unique ID that can be used to suppress the warnings :::code language="csharp" source="~/snippets/csharp/System/ObsoleteAttribute/IsError/obsoleteattribute_message.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/ObsoleteAttribute/IsError/obsoleteattribute_message.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.obsoleteattribute.message/vb/obsoleteattribute_message.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ObsoleteAttribute/IsError/obsoleteattribute_message.vb" id="Snippet1"::: ]]> diff --git a/xml/System/OperatingSystem.xml b/xml/System/OperatingSystem.xml index b39dc3f722b..d810c3ccdf5 100644 --- a/xml/System/OperatingSystem.xml +++ b/xml/System/OperatingSystem.xml @@ -96,7 +96,7 @@ :::code language="csharp" source="~/snippets/csharp/System/OperatingSystem/Overview/osinfo1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/OperatingSystem/Overview/osinfo1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.environment.osversion/vb/osinfo1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/OperatingSystem/Overview/osinfo1.vb" id="Snippet1"::: ]]> @@ -208,7 +208,7 @@ :::code language="csharp" source="~/snippets/csharp/System/OperatingSystem/Clone/clone.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/OperatingSystem/Clone/clone.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.OperatingSystem.Clone/VB/clone.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/OperatingSystem/Clone/clone.vb" id="Snippet1"::: ]]> @@ -1126,7 +1126,7 @@ :::code language="csharp" source="~/snippets/csharp/System/OperatingSystem/Platform/plat_ver.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/OperatingSystem/Platform/plat_ver.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.OperatingSystem.Platform_Version/VB/plat_ver.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/OperatingSystem/Platform/plat_ver.vb" id="Snippet1"::: ]]> @@ -1187,7 +1187,7 @@ :::code language="csharp" source="~/snippets/csharp/System/OperatingSystem/ServicePack/sp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/OperatingSystem/ServicePack/sp.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/OperatingSystem.ServicePack/VB/sp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/OperatingSystem/ServicePack/sp.vb" id="Snippet1"::: ]]> @@ -1250,7 +1250,7 @@ For a list of Windows operating system versions and their corresponding version :::code language="csharp" source="~/snippets/csharp/System/OperatingSystem/ToString/ctor_tostr.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/OperatingSystem/ToString/ctor_tostr.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.OperatingSystem.Ctor_ToString/VB/ctor_tostr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/OperatingSystem/ToString/ctor_tostr.vb" id="Snippet1"::: ]]> @@ -1312,7 +1312,7 @@ For a list of Windows operating system versions and their corresponding version :::code language="csharp" source="~/snippets/csharp/System/OperatingSystem/Platform/plat_ver.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/OperatingSystem/Platform/plat_ver.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.OperatingSystem.Platform_Version/VB/plat_ver.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/OperatingSystem/Platform/plat_ver.vb" id="Snippet1"::: ]]> @@ -1373,7 +1373,7 @@ For a list of Windows operating system versions and their corresponding version :::code language="csharp" source="~/snippets/csharp/System/OperatingSystem/VersionString/osvs.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/OperatingSystem/VersionString/osvs.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/OperatingSystem.VersionString/VB/osvs.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/OperatingSystem/VersionString/osvs.vb" id="Snippet1"::: ]]> diff --git a/xml/System/OutOfMemoryException.xml b/xml/System/OutOfMemoryException.xml index 050d581e7db..4d5506d0efd 100644 --- a/xml/System/OutOfMemoryException.xml +++ b/xml/System/OutOfMemoryException.xml @@ -92,7 +92,7 @@ An exception has two major causes: :::code language="csharp" source="~/snippets/csharp/System/OutOfMemoryException/Overview/failfast1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/OutOfMemoryException/Overview/failfast1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.outofmemoryexception/vb/failfast1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/OutOfMemoryException/Overview/failfast1.vb" id="Snippet2"::: Some of the conditions under which the exception is thrown and the actions you can take to eliminate it include the following: @@ -102,7 +102,7 @@ You are attempting to increase the length of a :::code language="csharp" source="~/snippets/csharp/System/OutOfMemoryException/Overview/sb_example1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/OutOfMemoryException/Overview/sb_example1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.outofmemoryexception/vb/sb_example1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/OutOfMemoryException/Overview/sb_example1.vb" id="Snippet1"::: You can do either of the following to address the error: @@ -142,13 +142,13 @@ The following example gets a array that consists of 200 million floating-point v :::code language="csharp" source="~/snippets/csharp/System/OutOfMemoryException/Overview/data1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/OutOfMemoryException/Overview/data1.fs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.outofmemoryexception/vb/data1.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System/OutOfMemoryException/Overview/data1.vb" id="Snippet3"::: The following example eliminates the exception by processing the incoming data without storing the entire data set in memory, serializing the data to a file if necessary to permit further processing (these lines are commented out in the example, since in this case they produce a file whose size is greater than 1GB), and returning the calculated mean and the number of cases to the calling routine. :::code language="csharp" source="~/snippets/csharp/System/OutOfMemoryException/Overview/data2.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/OutOfMemoryException/Overview/data2.fs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.outofmemoryexception/vb/data2.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System/OutOfMemoryException/Overview/data2.vb" id="Snippet4"::: **You are repeatedly concatenating large strings.** diff --git a/xml/System/OverflowException.xml b/xml/System/OverflowException.xml index f3b95f21907..af2edc15c08 100644 --- a/xml/System/OverflowException.xml +++ b/xml/System/OverflowException.xml @@ -74,13 +74,13 @@ :::code language="csharp" source="~/snippets/csharp/System/OverflowException/Overview/arithmetic1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/OverflowException/Overview/arithmetic1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.overflowexception/vb/arithmetic1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/OverflowException/Overview/arithmetic1.vb" id="Snippet1"::: - A casting or conversion operation attempts to perform a narrowing conversion, and the value of the source data type is outside the range of the target data type. The following example illustrates the that is thrown by the attempt to convert a large unsigned byte value to a signed byte value. :::code language="csharp" source="~/snippets/csharp/System/OverflowException/Overview/arithmetic1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/OverflowException/Overview/arithmetic1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.overflowexception/vb/arithmetic1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/OverflowException/Overview/arithmetic1.vb" id="Snippet2"::: In each case, the result of the operation is a value that is less than the `MinValue` property or greater than the `MaxValue` property of the data type that results from the operation. diff --git a/xml/System/ParamArrayAttribute.xml b/xml/System/ParamArrayAttribute.xml index 7a9cd0dece4..dd1f502b283 100644 --- a/xml/System/ParamArrayAttribute.xml +++ b/xml/System/ParamArrayAttribute.xml @@ -85,13 +85,13 @@ :::code language="csharp" source="~/snippets/csharp/System/ParamArrayAttribute/Overview/Example.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/ParamArrayAttribute/Overview/Example.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ParamArrayAttribute/vb/Example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ParamArrayAttribute/Overview/Example.vb" id="Snippet1"::: The following example illustrates three different calls to the `Temperature.Display` method. In the first, the method is passed an array of format strings. In the second, the method is passed four individual format strings as arguments. In the third, the method is called with no arguments. As the output from the example illustrates, the Visual Basic and C# compilers translate this into a call to the `Display` method with an empty string array. :::code language="csharp" source="~/snippets/csharp/System/ParamArrayAttribute/Overview/Example.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/ParamArrayAttribute/Overview/Example.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ParamArrayAttribute/vb/Example.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ParamArrayAttribute/Overview/Example.vb" id="Snippet2"::: ]]> diff --git a/xml/System/PlatformID.xml b/xml/System/PlatformID.xml index 9b80370990e..e3b6f308c92 100644 --- a/xml/System/PlatformID.xml +++ b/xml/System/PlatformID.xml @@ -75,7 +75,7 @@ :::code language="csharp" source="~/snippets/csharp/System/PlatformID/Overview/pid.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/PlatformID/Overview/pid.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/platformID.class/VB/pid.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/PlatformID/Overview/pid.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Predicate`1.xml b/xml/System/Predicate`1.xml index 3ea49b58159..cd9158b322f 100644 --- a/xml/System/Predicate`1.xml +++ b/xml/System/Predicate`1.xml @@ -84,7 +84,7 @@ :::code language="csharp" source="~/snippets/csharp/System/PredicateT/Overview/predicate1.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/PredicateT/Overview/predicate1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/vb/predicate1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/PredicateT/Overview/predicate1.vb" id="Snippet3"::: @@ -93,13 +93,13 @@ :::code language="csharp" source="~/snippets/csharp/System/PredicateT/Overview/predicateex2.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/PredicateT/Overview/predicateex2.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/vb/predicateex2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/PredicateT/Overview/predicateex2.vb" id="Snippet4"::: The following example is identical to the previous example, except that it uses a lambda expression to represent the delegate. Each element of the `points` array is passed to the lambda expression until the expression finds an element that meets the search criteria. In this case, the lambda expression returns `true` if the product of the X and Y fields is greater than 100,000. :::code language="csharp" source="~/snippets/csharp/System/PredicateT/Overview/predicateex1.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/PredicateT/Overview/predicateex1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/vb/predicateex1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/PredicateT/Overview/predicateex1.vb" id="Snippet2"::: ]]> diff --git a/xml/System/Random.xml b/xml/System/Random.xml index c2732aca1ba..4fe8ac59747 100644 --- a/xml/System/Random.xml +++ b/xml/System/Random.xml @@ -79,13 +79,13 @@ The following example creates a single random number generator and calls its @@ -168,7 +168,7 @@ The following example uses the parameterless constructor to instantiate three @@ -228,7 +228,7 @@ The following example uses the parameterless constructor to instantiate three object that you use to generate all the random numbers in your application. This yields slightly better performance, since instantiating a random number generator is fairly expensive. @@ -239,7 +239,7 @@ The following example uses the parameterless constructor to instantiate three @@ -603,12 +603,12 @@ The following example uses the parameterless constructor to instantiate three to generate a sequence of random numbers whose distribution differs from the uniform distribution generated by the method of the base class. It overrides the method to provide the distribution of random numbers, and overrides the method to use series of random numbers. :::code language="csharp" source="~/snippets/csharp/System/Random/Next/sample.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Sample/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Random/Next/sample.vb" id="Snippet1"::: ]]> @@ -679,13 +679,13 @@ The following example uses the parameterless constructor to instantiate three property is supplied as a the `maxValue` parameter. :::code language="csharp" source="~/snippets/csharp/System/Random/Overview/next1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Random.Next/FS/next1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Random/Overview/next1.vb" id="Snippet3"::: ]]> @@ -759,13 +759,13 @@ The following example uses the parameterless constructor to instantiate three property is supplied as a the `maxValue` parameter. :::code language="csharp" source="~/snippets/csharp/System/Random/Overview/next4.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Random.Next/FS/next4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Random/Overview/next4.vb" id="Snippet4"::: ]]> @@ -969,13 +969,13 @@ Each element of the span of bytes is set to a random number greater than or equa :::code language="csharp" source="~/snippets/csharp/System/Random/.ctor/ctor.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Random.Ctor/FS/ctor.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Ctor/VB/ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Random/.ctor/ctor.vb" id="Snippet1"::: The following example calls the method to generate 100 random numbers and displays their frequency distribution. :::code language="csharp" source="~/snippets/csharp/System/Random/NextDouble/nextdouble1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.random.nextdouble/fs/nextdouble1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.random.nextdouble/vb/nextdouble1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Random/NextDouble/nextdouble1.vb" id="Snippet2"::: ]]> @@ -1200,7 +1200,7 @@ Each element of the span of bytes is set to a random number greater than or equa :::code language="csharp" source="~/snippets/csharp/System/Random/Next/sample.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Random.Sample/FS/sample.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Sample/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Random/Next/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System/RuntimeTypeHandle.xml b/xml/System/RuntimeTypeHandle.xml index 426dde0eb56..7b5d382d7f2 100644 --- a/xml/System/RuntimeTypeHandle.xml +++ b/xml/System/RuntimeTypeHandle.xml @@ -88,7 +88,7 @@ :::code language="csharp" source="~/snippets/csharp/System/RuntimeTypeHandle/Overview/type_gettypehandle.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/RuntimeTypeHandle/Overview/type_gettypehandle.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetTypeHandle/VB/type_gettypehandle.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/RuntimeTypeHandle/Overview/type_gettypehandle.vb" id="Snippet1"::: ]]> diff --git a/xml/System/SByte.xml b/xml/System/SByte.xml index 5b8f2425a5b..5200b71dbec 100644 --- a/xml/System/SByte.xml +++ b/xml/System/SByte.xml @@ -538,7 +538,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Boolean/CompareTo/cat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Boolean/CompareTo/cat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/T.CompareTo/VB/cat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Boolean/CompareTo/cat.vb" id="Snippet1"::: ]]> @@ -1471,7 +1471,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/SByte/MaxValue/MaxValue1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/MaxValue/MaxValue1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.MaxValue/vb/MaxValue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/MaxValue/MaxValue1.vb" id="Snippet1"::: ]]> @@ -1631,7 +1631,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/SByte/MaxValue/MaxValue1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/MaxValue/MaxValue1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.MaxValue/vb/MaxValue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/MaxValue/MaxValue1.vb" id="Snippet1"::: ]]> @@ -1731,7 +1731,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/SByte/Parse/parseex1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/Parse/parseex1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/Parse/parseex1.vb" id="Snippet1"::: ]]> @@ -1955,7 +1955,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/SByte/Parse/parseex2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/Parse/parseex2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/Parse/parseex2.vb" id="Snippet2"::: ]]> @@ -2083,7 +2083,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/SByte/Parse/parseex3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/Parse/parseex3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/Parse/parseex3.vb" id="Snippet3"::: ]]> @@ -2343,7 +2343,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/SByte/Parse/parse_1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/Parse/parse_1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.Parse/VB/parse_1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/Parse/parse_1.vb" id="Snippet2"::: ]]> @@ -6155,7 +6155,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/SByte/ToString/tostring2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/ToString/tostring2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/ToString/tostring2.vb" id="Snippet2"::: ]]> @@ -6258,7 +6258,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/SByte/ToString/tostring3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/ToString/tostring3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/ToString/tostring3.vb" id="Snippet3"::: ]]> @@ -6354,7 +6354,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/SByte/ToString/tostring4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/ToString/tostring4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/ToString/tostring4.vb" id="Snippet4"::: ]]> @@ -6462,7 +6462,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/SByte/ToString/tostring5.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/ToString/tostring5.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/ToString/tostring5.vb" id="Snippet5"::: ]]> @@ -6833,7 +6833,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/SByte/TryParse/TryParse1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/TryParse/TryParse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.TryParse/vb/TryParse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/TryParse/TryParse1.vb" id="Snippet1"::: ]]> @@ -7230,7 +7230,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/SByte/TryParse/tryparse2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/TryParse/tryparse2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.TryParse/vb/tryparse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/TryParse/tryparse2.vb" id="Snippet2"::: ]]> diff --git a/xml/System/SerializableAttribute.xml b/xml/System/SerializableAttribute.xml index 7dde21553eb..0606f4e86e2 100644 --- a/xml/System/SerializableAttribute.xml +++ b/xml/System/SerializableAttribute.xml @@ -94,7 +94,7 @@ :::code language="csharp" source="~/snippets/csharp/System/NonSerializedAttribute/Overview/s.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/NonSerializedAttribute/Overview/s.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/SerializationAttributes/VB/s.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/NonSerializedAttribute/Overview/s.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Single.xml b/xml/System/Single.xml index 13b01da402d..41d85b8c87b 100644 --- a/xml/System/Single.xml +++ b/xml/System/Single.xml @@ -1149,7 +1149,7 @@ The following code example demonstrates the me :::code language="csharp" source="~/snippets/csharp/System/Single/CompareTo/singlesample.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/CompareTo/singlesample.fs" id="Snippet16"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb" id="Snippet16"::: +:::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/singlesample.vb" id="Snippet16"::: ]]> @@ -1230,7 +1230,7 @@ The following code example demonstrates generic and nongeneric versions of the < :::code language="csharp" source="~/snippets/csharp/System/Boolean/CompareTo/cat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Boolean/CompareTo/cat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/T.CompareTo/VB/cat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Boolean/CompareTo/cat.vb" id="Snippet1"::: ]]> @@ -1860,13 +1860,13 @@ This is known as Euler's number and is approximately 2.7182818284590452354. :::code language="csharp" source="~/snippets/csharp/System/Single/Epsilon/SingleEquals_25051.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/Epsilon/SingleEquals_25051.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Epsilon/vb/SingleEquals_25051.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/SingleEquals_25051.vb" id="Snippet3"::: Rather than comparing for equality, one recommended technique involves defining an acceptable margin of difference between two values (such as .01% of one of the values). If the absolute value of the difference between the two values is less than or equal to that margin, the difference is likely to be due to differences in precision and, therefore, the values are likely to be equal. The following example uses this technique to compare .33333 and 1/3, the two values that the previous code example found to be unequal. :::code language="csharp" source="~/snippets/csharp/System/Single/Epsilon/SingleEquals_25051.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/Epsilon/SingleEquals_25051.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Epsilon/vb/SingleEquals_25051.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/SingleEquals_25051.vb" id="Snippet4"::: In this case, the values are equal. @@ -1882,7 +1882,7 @@ This is known as Euler's number and is approximately 2.7182818284590452354. :::code language="csharp" source="~/snippets/csharp/System/Single/CompareTo/singlesample.cs" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/CompareTo/singlesample.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/singlesample.vb" id="Snippet17"::: ]]> @@ -1891,7 +1891,7 @@ This is known as Euler's number and is approximately 2.7182818284590452354. :::code language="csharp" source="~/snippets/csharp/System/Single/Equals/equalsoverl.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/Equals/equalsoverl.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.single.equals/vb/equalsoverl.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/equalsoverl.vb" id="Snippet2"::: @@ -1951,7 +1951,7 @@ This is known as Euler's number and is approximately 2.7182818284590452354. :::code language="csharp" source="~/snippets/csharp/System/Single/Equals/equalsoverl.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/Equals/equalsoverl.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.single.equals/vb/equalsoverl.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/equalsoverl.vb" id="Snippet2"::: @@ -2655,7 +2655,7 @@ A return value of `false` does not imply that @@ -2789,7 +2789,7 @@ This method correctly handles floating-point values and so `2.0` and `3.0` will :::code language="csharp" source="~/snippets/csharp/System/Single/CompareTo/singlesample.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/CompareTo/singlesample.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/singlesample.vb" id="Snippet8"::: ]]> @@ -2910,7 +2910,7 @@ This method correctly handles floating-point values and so `2.0` and `3.0` will :::code language="csharp" source="~/snippets/csharp/System/Single/CompareTo/singlesample.cs" interactive="try-dotnet-method" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/CompareTo/singlesample.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/singlesample.vb" id="Snippet13"::: ]]> @@ -3130,7 +3130,7 @@ A return value of `false` does not imply that @@ -3871,7 +3871,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/Single/MaxValue/maxvalueex.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/MaxValue/maxvalueex.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.single.maxvalue/vb/maxvalueex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/MaxValue/maxvalueex.vb" id="Snippet1"::: @@ -3880,7 +3880,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/Single/CompareTo/singlesample.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/CompareTo/singlesample.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/singlesample.vb" id="Snippet4"::: ]]> @@ -4171,7 +4171,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/Single/MinValue/minvalueex.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/MinValue/minvalueex.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.single.minvalue/vb/minvalueex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/MinValue/minvalueex.vb" id="Snippet1"::: @@ -4180,7 +4180,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/Single/CompareTo/singlesample.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/CompareTo/singlesample.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/singlesample.vb" id="Snippet5"::: ]]> @@ -4277,19 +4277,19 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/Single/NaN/nan1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/NaN/nan1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.single.nan/vb/nan1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/NaN/nan1.vb" id="Snippet1"::: In addition, a method call with a value or an operation on a value returns , as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/Single/NaN/nan1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/NaN/nan1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.single.nan/vb/nan1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/NaN/nan1.vb" id="Snippet2"::: Use the method to determine whether a value is not a number. In general, operators cannot be used to compare with other values, although comparison methods (such as and ) can. The following example illustrates the difference in behavior between comparison operators and methods. :::code language="csharp" source="~/snippets/csharp/System/Single/NaN/single.nan4.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/NaN/single.nan4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.single.nan/vb/single.nan4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/NaN/single.nan4.vb" id="Snippet4"::: @@ -4298,7 +4298,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/Single/CompareTo/singlesample.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/CompareTo/singlesample.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/singlesample.vb" id="Snippet7"::: ]]> @@ -4364,7 +4364,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/Single/CompareTo/singlesample.cs" interactive="try-dotnet-method" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/CompareTo/singlesample.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/singlesample.vb" id="Snippet9"::: ]]> @@ -4868,7 +4868,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and :::code language="csharp" source="~/snippets/csharp/System/Single/Parse/parse1.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/Parse/parse1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Parse/VB/parse1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Parse/parse1.vb" id="Snippet2"::: ]]> @@ -5105,7 +5105,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and :::code language="csharp" source="~/snippets/csharp/System/Single/Parse/parse2.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/Parse/parse2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Parse/VB/parse2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Parse/parse2.vb" id="Snippet3"::: ]]> @@ -5232,7 +5232,7 @@ Some examples of `s` are "100", "-123,456,789", "123.45e+6", "+500", "5e2", "3.1 The following example is the button click event handler of a Web form. It uses the array returned by the property to determine the user's locale. It then instantiates a object that corresponds to that locale. The object that belongs to that object is then passed to the method to convert the user's input to a value. :::code language="csharp" source="~/snippets/csharp/System/Decimal/Parse/Default.aspx.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ParseMethod/vb/Default.aspx.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Parse/Default.aspx.vb" id="Snippet1"::: ]]> @@ -5496,7 +5496,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and :::code language="csharp" source="~/snippets/csharp/System/Single/Parse/parse3.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/Parse/parse3.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Parse/VB/parse3.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Parse/parse3.vb" id="Snippet4"::: ]]> @@ -5613,7 +5613,7 @@ Pi is approximately 3.1415926535897932385. :::code language="csharp" source="~/snippets/csharp/System/Single/CompareTo/singlesample.cs" interactive="try-dotnet-method" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/CompareTo/singlesample.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/singlesample.vb" id="Snippet10"::: ]]> @@ -9374,13 +9374,13 @@ Tau is approximately 6.2831853071795864769. :::code language="csharp" source="~/snippets/csharp/System/Single/ToString/ToString1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/ToString/ToString1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.ToString/VB/ToString1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/ToString/ToString1.vb" id="Snippet1"::: The following code example illustrates the use of the method along with the method. :::code language="csharp" source="~/snippets/csharp/System/Single/CompareTo/singlesample.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/CompareTo/singlesample.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/singlesample.vb" id="Snippet3"::: ]]> @@ -9500,7 +9500,7 @@ Tau is approximately 6.2831853071795864769. :::code language="csharp" source="~/snippets/csharp/System/Single/ToString/ToString1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/ToString/ToString1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.ToString/VB/ToString1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/ToString/ToString1.vb" id="Snippet2"::: ]]> @@ -9604,13 +9604,13 @@ Tau is approximately 6.2831853071795864769. :::code language="csharp" source="~/snippets/csharp/System/Single/ToString/ToString7.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/ToString/ToString7.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.ToString/VB/ToString7.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/ToString/ToString7.vb" id="Snippet7"::: The following example displays several values using each of the supported standard numeric format specifiers together with two custom numeric format strings. One of those custom format strings illustrates how to pad a value with leading zeros. In converting the numeric values to strings, the example uses the formatting conventions of the en-US culture. :::code language="csharp" source="~/snippets/csharp/System/Single/ToString/ToString1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/ToString/ToString1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.ToString/VB/ToString1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/ToString/ToString1.vb" id="Snippet3"::: ]]> @@ -9720,7 +9720,7 @@ Tau is approximately 6.2831853071795864769. :::code language="csharp" source="~/snippets/csharp/System/Single/ToString/ToString1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/ToString/ToString1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.ToString/VB/ToString1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/ToString/ToString1.vb" id="Snippet4"::: ]]> @@ -10090,7 +10090,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and :::code language="csharp" source="~/snippets/csharp/System/Single/TryParse/tryparse1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/TryParse/tryparse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.single.tryparse/vb/tryparse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/TryParse/tryparse1.vb" id="Snippet1"::: ]]> @@ -10482,7 +10482,7 @@ If `s` is out of range of the data type, the method throws :::code language="csharp" source="~/snippets/csharp/System/Single/TryParse/tryparse1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/TryParse/tryparse1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.single.tryparse/vb/tryparse1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/TryParse/tryparse1.vb" id="Snippet2"::: ]]> diff --git a/xml/System/StackOverflowException.xml b/xml/System/StackOverflowException.xml index 6daf88e0e72..c7f0313df24 100644 --- a/xml/System/StackOverflowException.xml +++ b/xml/System/StackOverflowException.xml @@ -79,7 +79,7 @@ You can't catch a `StackOverflowException` object with a `try`/`catch` block, an :::code language="csharp" source="~/snippets/csharp/System/StackOverflowException/Overview/example1a.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/StackOverflowException/Overview/example1a.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.stackoverflowexception.class/vb/example1a.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/StackOverflowException/Overview/example1a.vb" id="Snippet1"::: ]]> diff --git a/xml/System/String.xml b/xml/System/String.xml index 89fb7ab0d2b..ab5c9e61be2 100644 --- a/xml/System/String.xml +++ b/xml/System/String.xml @@ -821,14 +821,14 @@ In C#, the property is an indexer. In Visual Basic :::code language="csharp" source="~/snippets/csharp/System/String/Chars/chars1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Chars/chars1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.chars/vb/chars1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Chars/chars1.vb" id="Snippet1"::: ## Examples The following example demonstrates how you can use this indexer in a routine to validate a string. :::code language="csharp" source="~/snippets/csharp/System/String/Chars/uri_ishexdigit.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Chars/uri_ishexdigit.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Uri_IsHexDigit/VB/uri_ishexdigit.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Chars/uri_ishexdigit.vb" id="Snippet1"::: ]]> @@ -1017,26 +1017,26 @@ Unexpected results can occur when comparisons are affected by culture-specific c :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet10"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet10"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet10"::: Compare the path name to "file" using an ordinal comparison. The correct code to do this is as follows: :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet11"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet11"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet11"::: ## Examples The following example calls the method to compare three sets of strings. :::code language="csharp" source="~/snippets/csharp/System/String/Compare/compare02.cs" interactive="try-dotnet-method" id="Snippet18"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/compare02.fs" id="Snippet18"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/compare02.vb" id="Snippet18"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/compare02.vb" id="Snippet18"::: In the following example, the `ReverseStringComparer` class demonstrates how you can evaluate two strings with the method. :::code language="csharp" source="~/snippets/csharp/System/String/Compare/ArrayListSample.cs" interactive="try-dotnet" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/ArrayListSample.fs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ArrayList/VB/ArrayListSample.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/ArrayListSample.vb" id="Snippet7"::: ]]> @@ -1045,7 +1045,7 @@ In the following example, the `ReverseStringComparer` class demonstrates how you :::code language="csharp" source="~/snippets/csharp/System/String/Compare/compare21.cs" id="Snippet21"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/compare21.fs" id="Snippet21"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/compare21.vb" id="Snippet21"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/compare21.vb" id="Snippet21"::: To recognize ignorable characters in a string comparison, call the method and supply a value of either or for the `comparisonType` parameter. @@ -1147,20 +1147,20 @@ Unexpected results can occur when comparisons are affected by culture-specific c :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet12"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet12"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet12"::: Compare the path name to "file" using an ordinal comparison. The correct code to do this is as follows: :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet13"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet13"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet13"::: ## Examples The following example demonstrates that the method is equivalent to using or when comparing strings. :::code language="csharp" source="~/snippets/csharp/System/String/Compare/compare02.cs" interactive="try-dotnet-method" id="Snippet18"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/compare02.fs" id="Snippet18"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/compare02.vb" id="Snippet18"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/compare02.vb" id="Snippet18"::: ]]> @@ -1169,7 +1169,7 @@ The following example demonstrates that the method and supply a value of either or for the parameter. @@ -1267,20 +1267,20 @@ Unexpected results can occur when comparisons are affected by culture-specific c :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet16"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet16"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet16"::: Compare the path name to "file" using an ordinal comparison. The correct code to do this is as follows: :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet17"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet17"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet17"::: ## Examples The following example compares three versions of the letter "I". The results are affected by the choice of culture, whether case is ignored, and whether an ordinal comparison is performed. :::code language="csharp" source="~/snippets/csharp/System/String/Compare/cmpcmp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/cmpcmp.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.CompareCmp/vb/cmpcmp.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/cmpcmp.vb" id="Snippet1"::: ]]> @@ -1387,20 +1387,20 @@ Unexpected results can occur when comparisons are affected by culture-specific c :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet14"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet14"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet14"::: Compare the path name to "file" using an ordinal comparison. The correct code to do this is as follows: :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet15"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet15"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet15"::: ## Examples The following example demonstrates how culture can affect a comparison. In Czech - Czech Republic culture, "ch" is a single character that is greater than "d". However, in English - United States culture, "ch" consists of two characters, and "c" is less than "d". :::code language="csharp" source="~/snippets/csharp/System/String/Compare/string.comp4.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/string.comp4.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.comp4/VB/string.comp4.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/string.comp4.vb" id="Snippet1"::: ]]> @@ -1409,7 +1409,7 @@ The following example demonstrates how culture can affect a comparison. In Czech :::code language="csharp" source="~/snippets/csharp/System/String/Compare/compare23.cs" id="Snippet23"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/compare23.fs" id="Snippet23"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/compare23.vb" id="Snippet23"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/compare23.vb" id="Snippet23"::: To recognize ignorable characters in a string comparison, call the method and supply a value of either or for the parameter. @@ -1512,7 +1512,7 @@ The following example compares two strings in three different ways: Use linguist :::code language="csharp" source="~/snippets/csharp/System/String/Compare/Example.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/Example.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/Example.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/Example.vb" id="Snippet1"::: ]]> @@ -1622,20 +1622,20 @@ Unexpected results can occur when comparisons are affected by culture-specific c :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet2"::: Compare the path name to "file" using an ordinal comparison. The correct code to do this is as follows: :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet3"::: ## Examples The following example compares two substrings. :::code language="csharp" source="~/snippets/csharp/System/String/Compare/comp3.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/comp3.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.compare3/VB/comp3.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/comp3.vb" id="Snippet1"::: ]]> @@ -1756,20 +1756,20 @@ Unexpected results can occur when comparisons are affected by culture-specific c :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet4"::: The path name needs to be compared in an invariant manner. The correct code to do this is as follows. :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet5"::: ## Examples The following example performs two comparisons of two substrings that only differ in case. The first comparison ignores case and the second comparison considers case. :::code language="csharp" source="~/snippets/csharp/System/String/Compare/comp4.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/comp4.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.compare4/VB/comp4.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/comp4.vb" id="Snippet1"::: ]]> @@ -1893,20 +1893,20 @@ Unexpected results can occur when comparisons are affected by culture-specific c :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet8"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet8"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet8"::: Compare the path name to "file" using an ordinal comparison. The correct code to do this is as follows: :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet9"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet9"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet9"::: ## Examples The following example compares two substrings. :::code language="csharp" source="~/snippets/csharp/System/String/Compare/comp3.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/comp3.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.compare3/VB/comp3.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/comp3.vb" id="Snippet1"::: ]]> @@ -2028,20 +2028,20 @@ Unexpected results can occur when comparisons are affected by culture-specific c :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet6"::: Compare the path name to "file" using an ordinal comparison. The correct code to do this is as follows: :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet7"::: ## Examples The following example compares two substrings using different cultures and ignoring the case of the substrings. The choice of culture affects how the letter "I" is compared. :::code language="csharp" source="~/snippets/csharp/System/String/Compare/comp5.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/comp5.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.compare5/VB/comp5.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/comp5.vb" id="Snippet1"::: ]]> @@ -2163,7 +2163,7 @@ The following example uses the @@ -2288,7 +2288,7 @@ The following example performs and ordinal comparison of two strings that only d :::code language="csharp" source="~/snippets/csharp/System/String/CompareOrdinal/comp0.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/CompareOrdinal/comp0.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.compareordinal/VB/comp0.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/CompareOrdinal/comp0.vb" id="Snippet1"::: ]]> @@ -2397,7 +2397,7 @@ This following example demonstrates that :::code language="csharp" source="~/snippets/csharp/System/String/CompareOrdinal/stringcompareordinal.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/CompareOrdinal/stringcompareordinal.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StringCompareOrdinal/VB/stringcompareordinal.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/CompareOrdinal/stringcompareordinal.vb" id="Snippet1"::: ]]> @@ -2526,7 +2526,7 @@ The following example uses the method with an :::code language="csharp" source="~/snippets/csharp/System/String/CompareTo/extostring.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/CompareTo/extostring.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ExToString/VB/extostring.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/CompareTo/extostring.vb" id="Snippet1"::: ]]> @@ -2537,7 +2537,7 @@ The following example uses the method with an :::code language="csharp" source="~/snippets/csharp/System/String/CompareTo/compareto1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/CompareTo/compareto1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.compareto/vb/compareto1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/CompareTo/compareto1.vb" id="Snippet1"::: To recognize ignorable characters in a string comparison, call the method. @@ -2644,13 +2644,13 @@ The following example uses the method to compa :::code language="csharp" source="~/snippets/csharp/System/String/CompareTo/stringcompareto.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/CompareTo/stringcompareto.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/StringCompareTo/VB/stringcompareto.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/CompareTo/stringcompareto.vb" id="Snippet1"::: The following example demonstrates generic and non-generic versions of the CompareTo method for several value and reference types. :::code language="csharp" source="~/snippets/csharp/System/Boolean/CompareTo/cat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Boolean/CompareTo/cat.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/T.CompareTo/VB/cat.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/Boolean/CompareTo/cat.vb" id="Snippet1"::: ]]> @@ -2659,7 +2659,7 @@ The following example demonstrates generic and non-generic versions of the Compa :::code language="csharp" source="~/snippets/csharp/System/String/CompareTo/compareto2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/CompareTo/compareto2.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.compareto/vb/compareto2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/CompareTo/compareto2.vb" id="Snippet2"::: To recognize ignorable characters in a string comparison, call the method. @@ -2760,14 +2760,14 @@ If `values` is an empty `IEnumerable(Of String)`, the method returns object of type , which it then passes to the method. :::code language="csharp" source="~/snippets/csharp/System/String/Concat/concat1.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Concat/concat1.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.concat/vb/concat1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Concat/concat1.vb" id="Snippet2"::: ]]> @@ -2840,7 +2840,7 @@ The following example demonstrates the method. :::code language="csharp" source="~/snippets/csharp/System/String/Concat/string.concat5.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Concat/string.concat5.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.concat5/VB/string.concat5.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Concat/string.concat5.vb" id="Snippet1"::: ]]> @@ -2919,7 +2919,7 @@ The following example demonstrates the use of the :::code language="csharp" source="~/snippets/csharp/System/String/Concat/stringconcat1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Concat/stringconcat1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stringconcat1/VB/stringconcat1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Concat/stringconcat1.vb" id="Snippet1"::: ]]> @@ -3104,7 +3104,7 @@ The following example demonstrates the use of the :::code language="csharp" source="~/snippets/csharp/System/String/Concat/stringconcat3.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Concat/stringconcat3.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stringconcat3/VB/stringconcat3.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Concat/stringconcat3.vb" id="Snippet1"::: ]]> @@ -3178,7 +3178,7 @@ The following example demonstrates the method. :::code language="csharp" source="~/snippets/csharp/System/String/Concat/string.concat5.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Concat/string.concat5.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.concat5/VB/string.concat5.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Concat/string.concat5.vb" id="Snippet1"::: ]]> @@ -3300,7 +3300,7 @@ The following example concatenates a person's first, middle, and last name. :::code language="csharp" source="~/snippets/csharp/System/String/Concat/stringconcat4.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Concat/stringconcat4.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stringconcat4/VB/stringconcat4.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Concat/stringconcat4.vb" id="Snippet1"::: ]]> @@ -3371,7 +3371,7 @@ The following example demonstrates the method. :::code language="csharp" source="~/snippets/csharp/System/String/Concat/string.concat5.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Concat/string.concat5.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.concat5/VB/string.concat5.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Concat/string.concat5.vb" id="Snippet1"::: ]]> @@ -3495,7 +3495,7 @@ The following example uses the method to concaten :::code language="csharp" source="~/snippets/csharp/System/String/Concat/Concat6.cs" interactive="try-dotnet" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Concat/Concat6.fs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.concat/vb/Concat6.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Concat/Concat6.vb" id="Snippet6"::: ]]> @@ -3569,7 +3569,7 @@ The following example illustrates the use of the @@ -3698,7 +3698,7 @@ The following example defines an array of four-letter words and stores their ind :::code language="csharp" source="~/snippets/csharp/System/String/Concat/concat4.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Concat/concat4.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.concat/vb/concat4.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Concat/concat4.vb" id="Snippet1"::: ]]> @@ -3781,7 +3781,7 @@ The following example defines a very simple `Animal` class that contains the nam :::code language="csharp" source="~/snippets/csharp/System/String/Concat/concat3.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Concat/concat3.fs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.concat/vb/concat3.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Concat/concat3.vb" id="Snippet4"::: ]]> @@ -3903,8 +3903,8 @@ To perform a culture-sensitive or ordinal case-insensitive comparison: :::code language="fsharp" source="~/snippets/fsharp/System/String/Contains/ContainsExt1.fs" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/String/Contains/ContainsExt1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Contains/ContainsExt1.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Contains/vb/ContainsExt1.vb" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Contains/vb/ContainsExt1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Contains/ContainsExt1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Contains/ContainsExt1.vb" id="Snippet2"::: If you are interested in the position of the substring `value` in the current instance, you can call the method to get the starting position of its first occurrence, or you can call the method to get the starting position of its last occurrence. The example includes a call to the method if a substring is found in a string instance. @@ -3913,7 +3913,7 @@ The following example determines whether the string "fox" is a substring of a fa :::code language="csharp" source="~/snippets/csharp/System/String/Contains/cont.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Contains/cont.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.contains/VB/cont.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Contains/cont.vb" id="Snippet1"::: ]]> @@ -4205,7 +4205,7 @@ The following example demonstrates the method. :::code language="csharp" source="~/snippets/csharp/System/String/CopyTo/stringcopyto.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/CopyTo/stringcopyto.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stringcopyto/VB/stringcopyto.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/CopyTo/stringcopyto.vb" id="Snippet1"::: ]]> @@ -4583,13 +4583,13 @@ The following example indicates whether each string in an array ends with a peri :::code language="csharp" source="~/snippets/csharp/System/String/EndsWith/EndsWith1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/EndsWith/EndsWith1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.String.EndsWith/vb/EndsWith1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/EndsWith/EndsWith1.vb" id="Snippet1"::: The following example defines a `StripEndTags` method that uses the method to remove HTML end tags from the end of a line. Note that the `StripEndTags` method is called recursively to ensure that multiple HTML end tags at the end of the line are removed. :::code language="csharp" source="~/snippets/csharp/System/String/EndsWith/stringendswith.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/EndsWith/stringendswith.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stringendswith/VB/stringendswith.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/EndsWith/stringendswith.vb" id="Snippet1"::: ]]> @@ -4671,7 +4671,7 @@ The following example determines whether a string ends with a particular substri :::code language="csharp" source="~/snippets/csharp/System/String/EndsWith/ewcmp.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/EndsWith/ewcmp.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.EndsWithCmp/vb/ewcmp.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/EndsWith/ewcmp.vb" id="Snippet1"::: ]]> @@ -4750,7 +4750,7 @@ The following example determines whether a string occurs at the end of another s :::code language="csharp" source="~/snippets/csharp/System/String/EndsWith/ewci.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/EndsWith/ewci.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.EndsWithCI/vb/ewci.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/EndsWith/ewci.vb" id="Snippet1"::: ]]> @@ -4887,7 +4887,7 @@ The following example demonstrates the method. :::code language="csharp" source="~/snippets/csharp/System/String/Equals/equals.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Equals/equals.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.equals/VB/equals.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Equals/equals.vb" id="Snippet1"::: ]]> @@ -4976,7 +4976,7 @@ The following example demonstrates the method. It :::code language="csharp" source="~/snippets/csharp/System/String/Equals/equalsex1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Equals/equalsex1.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.equals/vb/equalsex1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Equals/equalsex1.vb" id="Snippet2"::: ]]> @@ -5050,7 +5050,7 @@ The following example demonstrates the method. :::code language="csharp" source="~/snippets/csharp/System/String/Equals/equals.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Equals/equals.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.equals/VB/equals.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Equals/equals.vb" id="Snippet1"::: ]]> @@ -5130,7 +5130,7 @@ The following example creates a string array that consists of an uppercase "I", :::code language="csharp" source="~/snippets/csharp/System/String/Equals/eqcmp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Equals/eqcmp.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.equals/vb/eqcmp.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Equals/eqcmp.vb" id="Snippet1"::: ]]> @@ -5207,7 +5207,7 @@ The following example compares three sets of strings by using each member of the :::code language="csharp" source="~/snippets/csharp/System/String/Equals/equals_ex3.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Equals/equals_ex3.fs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.equals/vb/equals_ex3.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Equals/equals_ex3.vb" id="Snippet3"::: ]]> @@ -5316,7 +5316,7 @@ The following example uses the @@ -5422,13 +5422,13 @@ This example creates a string that contains data on the high and low temperature :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/format5.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/format5.fs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format5.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/format5.vb" id="Snippet5"::: You can also pass the objects to be formatted as an array rather than as an argument list. :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/format_paramarray1.cs" interactive="try-dotnet" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/format_paramarray1.fs" id="Snippet10"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format_paramarray1.vb" id="Snippet10"::: +:::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/format_paramarray1.vb" id="Snippet10"::: ]]> @@ -5699,7 +5699,7 @@ This example uses the @@ -6000,7 +6000,7 @@ This example uses the @@ -6185,7 +6185,7 @@ This example uses the @@ -6547,7 +6547,7 @@ The following example iterates the characters in several strings and displays in :::code language="csharp" source="~/snippets/csharp/System/String/GetEnumerator/getenumerator.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/GetEnumerator/getenumerator.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.GetEnumerator/VB/getenumerator.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/GetEnumerator/getenumerator.vb" id="Snippet1"::: ]]> @@ -6630,7 +6630,7 @@ In .NET Framework desktop apps, you can use the [\ metho :::code language="csharp" source="~/snippets/csharp/System/String/GetHashCode/gethashcode.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/GetHashCode/gethashcode.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.GetHashCode/VB/gethashcode.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/GetHashCode/gethashcode.vb" id="Snippet1"::: ]]> @@ -6910,7 +6910,7 @@ The following example displays the enumerated constant fo :::code language="csharp" source="~/snippets/csharp/System/String/GetTypeCode/gtc.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/GetTypeCode/gtc.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.gettypecode/VB/gtc.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/GetTypeCode/gtc.vb" id="Snippet1"::: ]]> @@ -6994,7 +6994,7 @@ The following example demonstrates how you can search a for :::code language="csharp" source="~/snippets/csharp/System/String/IndexOf/indexof_c.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IndexOf/indexof_c.fs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/indexof_c.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOf/indexof_c.vb" id="Snippet5"::: ]]> @@ -7062,20 +7062,20 @@ Character sets include ignorable characters, which are characters that are not c :::code language="csharp" source="~/snippets/csharp/System/String/IndexOf/ignorable21.cs" id="Snippet21"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IndexOf/ignorable21.fs" id="Snippet21"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable21.vb" id="Snippet21"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOf/ignorable21.vb" id="Snippet21"::: ## Examples The following example searches for the "n" in "animal". Because string indexes begin at zero rather than one, the method indicates that the "n" is at position 1. :::code language="csharp" source="~/snippets/csharp/System/String/IndexOf/simple1.cs" interactive="try-dotnet-method" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IndexOf/simple1.fs" id="Snippet12"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/simple1.vb" id="Snippet12"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOf/simple1.vb" id="Snippet12"::: The following example uses the method to determine the starting position of an animal name in a sentence. It then uses this position to insert an adjective that describes the animal into the sentence. :::code language="csharp" source="~/snippets/csharp/System/String/IndexOf/stringinsert.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IndexOf/stringinsert.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stringinsert/VB/stringinsert.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOf/stringinsert.vb" id="Snippet1"::: ]]> @@ -7160,7 +7160,7 @@ The following example demonstrates the method. :::code language="csharp" source="~/snippets/csharp/System/String/IndexOf/ixof1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IndexOf/ixof1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.indexof1/VB/ixof1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOf/ixof1.vb" id="Snippet1"::: ]]> @@ -7286,14 +7286,14 @@ Character sets include ignorable characters, which are characters that are not c :::code language="csharp" source="~/snippets/csharp/System/String/IndexOf/ignorable22.cs" id="Snippet22"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IndexOf/ignorable22.fs" id="Snippet22"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable22.vb" id="Snippet22"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOf/ignorable22.vb" id="Snippet22"::: ## Examples The following example searches for all occurrences of a specified string within a target string. :::code language="csharp" source="~/snippets/csharp/System/String/IndexOf/stringindexof4.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IndexOf/stringindexof4.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stringindexof4/VB/stringindexof4.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOf/stringindexof4.vb" id="Snippet1"::: ]]> @@ -7381,7 +7381,7 @@ The following example demonstrates three overloads of the @@ -7396,7 +7396,7 @@ In the following example, the +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOf/ignorable26.vb" id="Snippet26"::: @@ -7471,7 +7471,7 @@ The following example demonstrates the method. :::code language="csharp" source="~/snippets/csharp/System/String/IndexOf/indexofcii.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IndexOf/indexofcii.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/indexofcii.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOf/indexofcii.vb" id="Snippet1"::: ]]> @@ -7554,14 +7554,14 @@ Character sets include ignorable characters, which are characters that are not c :::code language="csharp" source="~/snippets/csharp/System/String/IndexOf/ignorable23.cs" id="Snippet23"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IndexOf/ignorable23.fs" id="Snippet23"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable23.vb" id="Snippet23"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOf/ignorable23.vb" id="Snippet23"::: ## Examples The following example finds the index of all occurrences of the string "he" within a substring of another string. Note that the number of characters to be searched must be recalculated for each search iteration. :::code language="csharp" source="~/snippets/csharp/System/String/IndexOf/ixof8.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IndexOf/ixof8.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.indexof8/VB/ixof8.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOf/ixof8.vb" id="Snippet1"::: ]]> @@ -7655,7 +7655,7 @@ The following example demonstrates three overloads of the @@ -7672,7 +7672,7 @@ In the following example, the +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOf/ignorable25.vb" id="Snippet25"::: @@ -7748,7 +7748,7 @@ The following example demonstrates three overloads of the @@ -7773,7 +7773,7 @@ In the following example, the +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOf/ignorable24.vb" id="Snippet24"::: @@ -7857,7 +7857,7 @@ The following example finds the first vowel in a string. :::code language="csharp" source="~/snippets/csharp/System/String/IndexOfAny/IndexOfAny1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IndexOfAny/IndexOfAny1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.String.IndexOfAny/vb/IndexOfAny1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOfAny/IndexOfAny1.vb" id="Snippet1"::: ]]> @@ -7939,7 +7939,7 @@ The following example finds the index of the occurrence of any character of the :::code language="csharp" source="~/snippets/csharp/System/String/IndexOfAny/ixany2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IndexOfAny/ixany2.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.indexofany2/VB/ixany2.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOfAny/ixany2.vb" id="Snippet1"::: ]]> @@ -8032,7 +8032,7 @@ The following example finds the index of the occurrence of any character of the :::code language="csharp" source="~/snippets/csharp/System/String/IndexOfAny/ixany3.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IndexOfAny/ixany3.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.indexofany3/VB/ixany3.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOfAny/ixany3.vb" id="Snippet1"::: ]]> @@ -8122,13 +8122,13 @@ The following example inserts a space character in the fourth character position :::code language="csharp" source="~/snippets/csharp/System/String/Insert/Insert1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Insert/Insert1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Insert/vb/Insert1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Insert/Insert1.vb" id="Snippet1"::: The following console application prompts the users to enter one or more adjectives to describe two animals. It then calls the method to insert the text entered by the user into a string. :::code language="csharp" source="~/snippets/csharp/System/String/IndexOf/stringinsert.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IndexOf/stringinsert.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stringinsert/VB/stringinsert.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOf/stringinsert.vb" id="Snippet1"::: ]]> @@ -8286,7 +8286,7 @@ This method does not return a Boolean value. If you call the method because you :::code language="csharp" source="~/snippets/csharp/System/String/IsInterned/isinternedex1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IsInterned/isinternedex1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.isinterned/vb/isinternedex1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IsInterned/isinternedex1.vb" id="Snippet1"::: > [!NOTE] > You can override the use of the intern pool when you use [Ngen.exe (Native Image Generator)](/dotnet/framework/tools/ngen-exe-native-image-generator) to install an assembly to the native image cache on a local computer. For more information, see Performance Considerations in the Remarks section for the property. @@ -8296,7 +8296,7 @@ The following example demonstrates that literal strings are interned automatical :::code language="csharp" source="~/snippets/csharp/System/String/IsInterned/isin.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IsInterned/isin.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.isinterned/VB/isin.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IsInterned/isin.vb" id="Snippet1"::: ]]> @@ -8321,7 +8321,7 @@ The following example determines whether a string is successfully normalized to :::code language="csharp" source="~/snippets/csharp/System/String/IsNormalized/norm.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IsNormalized/norm.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.normalize/VB/norm.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IsNormalized/norm.vb" id="Snippet1"::: ]]> @@ -8586,7 +8586,7 @@ The following example examines three strings and determines whether each string :::code language="csharp" source="~/snippets/csharp/System/String/IsNullOrWhiteSpace/isnullorwhitespace.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IsNullOrWhiteSpace/isnullorwhitespace.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.isnullorwhitespace/vb/isnullorwhitespace.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IsNullOrWhiteSpace/isnullorwhitespace.vb" id="Snippet2"::: White-space characters are defined by the Unicode standard. The method interprets any character that returns a value of `true` when it is passed to the method as a white-space character. @@ -8595,7 +8595,7 @@ The following example creates a string array, and then passes each element of th :::code language="csharp" source="~/snippets/csharp/System/String/IsNullOrWhiteSpace/isnullorwhitespace1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IsNullOrWhiteSpace/isnullorwhitespace1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.isnullorwhitespace/vb/isnullorwhitespace1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IsNullOrWhiteSpace/isnullorwhitespace1.vb" id="Snippet1"::: ]]> @@ -8915,14 +8915,14 @@ If `separator` is `null`, an empty string ( object of type , which it then passes to the method. :::code language="csharp" source="~/snippets/csharp/System/String/Join/join3.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Join/join3.fs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join3.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Join/join3.vb" id="Snippet3"::: ]]> @@ -9024,7 +9024,7 @@ The following example uses the Sieve of Eratosthenes algorithm to calculate the :::code language="csharp" source="~/snippets/csharp/System/String/Join/join1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Join/join1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Join/join1.vb" id="Snippet1"::: ]]> @@ -9036,7 +9036,7 @@ The following example uses the Sieve of Eratosthenes algorithm to calculate the :::code language="csharp" source="~/snippets/csharp/System/String/Join/joinfix1.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Join/joinfix1.fs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/joinfix1.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Join/joinfix1.vb" id="Snippet6"::: @@ -9242,7 +9242,7 @@ The following example demonstrates the method. :::code language="csharp" source="~/snippets/csharp/System/String/Join/stringjoin.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Join/stringjoin.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stringjoin/VB/stringjoin.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Join/stringjoin.vb" id="Snippet1"::: ]]> @@ -9409,7 +9409,7 @@ The following example concatenates two elements from an array of names of fruit. :::code language="csharp" source="~/snippets/csharp/System/String/Join/join2.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Join/join2.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.join2/VB/join2.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Join/join2.vb" id="Snippet1"::: ]]> @@ -9572,14 +9572,14 @@ This method is particular useful with Language-Integrated Query (LINQ) query exp :::code language="csharp" source="~/snippets/csharp/System/String/Join/join5.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Join/join5.fs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join5.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Join/join5.vb" id="Snippet5"::: ## Examples The following example uses the Sieve of Eratosthenes algorithm to calculate the prime numbers that are less than or equal to 100. It assigns the result to a object of type integer, which it then passes to the method. :::code language="csharp" source="~/snippets/csharp/System/String/Join/join6.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Join/join6.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Join/join6.vb" id="Snippet1"::: ]]> @@ -9669,7 +9669,7 @@ The following example defines an `ExtractFilename` method that uses the @@ -9748,14 +9748,14 @@ In the following example, the "), the example uses the method to locate the start of the end tag. :::code language="csharp" source="~/snippets/csharp/System/String/LastIndexOf/lastindexof_example2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/LastIndexOf/lastindexof_example2.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.LastIndexOf/vb/lastindexof_example2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/LastIndexOf/lastindexof_example2.vb" id="Snippet2"::: ]]> @@ -9831,7 +9831,7 @@ The following example finds the index of all occurrences of a character in a str :::code language="csharp" source="~/snippets/csharp/System/String/LastIndexOf/lastixof1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/LastIndexOf/lastixof1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.lastindexof1/VB/lastixof1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/LastIndexOf/lastixof1.vb" id="Snippet1"::: ]]> @@ -9905,14 +9905,14 @@ Character sets include ignorable characters, which are characters that are not c :::code language="csharp" source="~/snippets/csharp/System/String/LastIndexOf/lastindexof22.cs" id="Snippet22"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/LastIndexOf/lastindexof22.fs" id="Snippet22"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.LastIndexOf/vb/lastindexof22.vb" id="Snippet22"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/LastIndexOf/lastindexof22.vb" id="Snippet22"::: ## Examples The following example finds the index of all occurrences of a string in target string, working from the end of the target string to the start of the target string. :::code language="csharp" source="~/snippets/csharp/System/String/LastIndexOf/lastixof7.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/LastIndexOf/lastixof7.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.LastIndexOf7/VB/lastixof7.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/LastIndexOf/lastixof7.vb" id="Snippet1"::: ]]> @@ -10009,7 +10009,7 @@ The following example demonstrates three overloads of the @@ -10024,7 +10024,7 @@ In the following example, the +:::code language="vb" source="~/snippets/visualbasic/System/String/LastIndexOf/lastindexof26.vb" id="Snippet26"::: @@ -10099,7 +10099,7 @@ The following example finds the index of all occurrences of a character in a sub :::code language="csharp" source="~/snippets/csharp/System/String/LastIndexOf/lastixof2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/LastIndexOf/lastixof2.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.lastindexof2/VB/lastixof2.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/LastIndexOf/lastixof2.vb" id="Snippet1"::: ]]> @@ -10181,14 +10181,14 @@ In the following example, the method is used :::code language="csharp" source="~/snippets/csharp/System/String/LastIndexOf/lastindexof23.cs" id="Snippet23"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/LastIndexOf/lastindexof23.fs" id="Snippet23"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.LastIndexOf/vb/lastindexof23.vb" id="Snippet23"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/LastIndexOf/lastindexof23.vb" id="Snippet23"::: ## Examples The following example finds the index of all occurrences of a string in substring, working from the end of the substring to the start of the substring. :::code language="csharp" source="~/snippets/csharp/System/String/LastIndexOf/lastixof8.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/LastIndexOf/lastixof8.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.LastIndexOf8/VB/lastixof8.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/LastIndexOf/lastixof8.vb" id="Snippet1"::: ]]> @@ -10289,7 +10289,7 @@ The following example demonstrates three overloads of the @@ -10309,7 +10309,7 @@ In the following example, the +:::code language="vb" source="~/snippets/visualbasic/System/String/LastIndexOf/lastindexof25.vb" id="Snippet25"::: @@ -10389,7 +10389,7 @@ The following example demonstrates three overloads of the @@ -10426,7 +10426,7 @@ In the following example, the +:::code language="vb" source="~/snippets/visualbasic/System/String/LastIndexOf/lastindexof24.vb" id="Snippet24"::: @@ -10504,7 +10504,7 @@ The following example finds the index of the last occurrence of any character in :::code language="csharp" source="~/snippets/csharp/System/String/LastIndexOfAny/lastixany1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/LastIndexOfAny/lastixany1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.LastIndexOfAny1/VB/lastixany1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/LastIndexOfAny/lastixany1.vb" id="Snippet1"::: ]]> @@ -10581,7 +10581,7 @@ The following example finds the index of the last occurrence of any character in :::code language="csharp" source="~/snippets/csharp/System/String/LastIndexOfAny/lastixany2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/LastIndexOfAny/lastixany2.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.LastIndexOfAny2/VB/lastixany2.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/LastIndexOfAny/lastixany2.vb" id="Snippet1"::: ]]> @@ -10667,7 +10667,7 @@ The following example finds the index of the last occurrence of any character in :::code language="csharp" source="~/snippets/csharp/System/String/LastIndexOfAny/lastixany3.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/LastIndexOfAny/lastixany3.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.LastIndexOfAny3/VB/lastixany3.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/LastIndexOfAny/lastixany3.vb" id="Snippet1"::: ]]> @@ -10744,14 +10744,14 @@ In some languages, such as C and C++, a null character indicates the end of a st :::code language="csharp" source="~/snippets/csharp/System/String/Overview/System.String.Class.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Overview/System.String.Class.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Class/vb/System.String.Class.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Length/System.String.Class.vb" id="Snippet1"::: ## Examples The following example demonstrates the property. :::code language="csharp" source="~/snippets/csharp/System/String/Length/length.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Length/length.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.length/VB/length.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Length/length.vb" id="Snippet1"::: ]]> @@ -10774,7 +10774,7 @@ The following example normalizes a string to each of four normalization forms, c :::code language="csharp" source="~/snippets/csharp/System/String/IsNormalized/norm.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IsNormalized/norm.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.normalize/VB/norm.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IsNormalized/norm.vb" id="Snippet1"::: ]]> @@ -11522,7 +11522,7 @@ The following example demonstrates the method. Th :::code language="csharp" source="~/snippets/csharp/System/String/Remove/r.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Remove/r.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.remove/VB/r.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Remove/r.vb" id="Snippet1"::: ]]> @@ -11610,7 +11610,7 @@ The following example demonstrates how you can remove the middle name from a com :::code language="csharp" source="~/snippets/csharp/System/String/Remove/stringremove.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Remove/stringremove.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stringremove/VB/stringremove.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Remove/stringremove.vb" id="Snippet1"::: ]]> @@ -11709,14 +11709,14 @@ Because this method returns the modified string, you can chain together successi :::code language="csharp" source="~/snippets/csharp/System/String/Replace/replace2.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Replace/replace2.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.replace/vb/replace2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Replace/replace2.vb" id="Snippet2"::: ## Examples The following example creates a comma separated value list by substituting commas for the blanks between a series of numbers. :::code language="csharp" source="~/snippets/csharp/System/String/Replace/string.replace1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Replace/string.replace1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.replace1/VB/string.replace1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Replace/string.replace1.vb" id="Snippet1"::: ]]> @@ -11811,14 +11811,14 @@ Because this method returns the modified string, you can chain together successi :::code language="csharp" source="~/snippets/csharp/System/String/Replace/replace1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Replace/replace1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.replace/vb/replace1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Replace/replace1.vb" id="Snippet1"::: ## Examples The following example demonstrates how you can use the method to correct a spelling error. :::code language="csharp" source="~/snippets/csharp/System/String/Replace/stringreplace.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Replace/stringreplace.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/stringreplace/VB/stringreplace.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Replace/stringreplace.vb" id="Snippet1"::: ]]> @@ -11899,7 +11899,7 @@ Because this method returns the modified string, you can chain together successi :::code language="csharp" source="~/snippets/csharp/System/String/Replace/replace1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Replace/replace1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.replace/vb/replace1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Replace/replace1.vb" id="Snippet1"::: ]]> @@ -11983,7 +11983,7 @@ Because this method returns the modified string, you can chain together successi :::code language="csharp" source="~/snippets/csharp/System/String/Replace/replace1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Replace/replace1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.replace/vb/replace1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Replace/replace1.vb" id="Snippet1"::: ]]> @@ -13274,7 +13274,7 @@ The following example defines a `StripStartTags` method that uses the @@ -13355,13 +13355,13 @@ The following example searches for the string "the" at the beginning of a longer :::code language="csharp" source="~/snippets/csharp/System/String/StartsWith/StartsWith2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/StartsWith/StartsWith2.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.startswith/vb/StartsWith2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/StartsWith/StartsWith2.vb" id="Snippet2"::: The following example determines whether a string starts with a particular substring. It initializes a two-dimensional string array. The first element in the second dimension contains a string, and the second element contains the string to search for at the start of the first string. The results are affected by the choice of culture, whether case is ignored, and whether an ordinal comparison is performed. Note that when the string instance contains a ligature, culture-sensitive comparisons with its consecutive characters successfully match. :::code language="csharp" source="~/snippets/csharp/System/String/StartsWith/startswith1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/StartsWith/startswith1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.startswith/vb/startswith1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/StartsWith/startswith1.vb" id="Snippet1"::: ]]> @@ -13440,7 +13440,7 @@ The following example determines whether a string occurs at the beginning of ano :::code language="csharp" source="~/snippets/csharp/System/String/StartsWith/swci.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/StartsWith/swci.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.StartsWithCI/vb/swci.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/StartsWith/swci.vb" id="Snippet1"::: ]]> @@ -13532,13 +13532,13 @@ The following example demonstrates obtaining a substring from a string. :::code language="csharp" source="~/snippets/csharp/System/String/Substring/Substring10.cs" interactive="try-dotnet-method" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Substring/Substring10.fs" id="Snippet10"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring10.vb" id="Snippet10"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Substring/Substring10.vb" id="Snippet10"::: The following example uses the method to separate key/value pairs that are delimited by an equals (`=`) character. :::code language="csharp" source="~/snippets/csharp/System/String/Substring/Substring1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Substring/Substring1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Substring/Substring1.vb" id="Snippet1"::: The method is used to get the position of the equals character in the string. The call to the method extracts the key name, which starts from the first character in the string and extends for the number of characters returned by the call to the method. The call to the method then extracts the value assigned to the key. It starts at one character position beyond the equals character and extends to the end of the string. @@ -13633,13 +13633,13 @@ If the substring should extend from `startIndex` to a specified character sequen :::code language="csharp" source="~/snippets/csharp/System/String/Substring/Substring2.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Substring/Substring2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/String/Substring/Substring2.vb" id="Snippet2"::: - If you've searched for multiple characters that are to mark the end of the substring, the `length` parameter equals `endIndex` + `endMatchLength` - `startIndex`, where `endIndex` is the return value of the or method, and `endMatchLength` is the length of the character sequence that marks the end of the substring. The following example extracts a block of text that contains an XML `` element. :::code language="csharp" source="~/snippets/csharp/System/String/Substring/Substring3.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Substring/Substring3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/String/Substring/Substring3.vb" id="Snippet3"::: - If the character or character sequence is not included in the end of the substring, the `length` parameter equals `endIndex` - `startIndex`, where `endIndex` is the return value of the or method. @@ -13650,7 +13650,7 @@ The following example illustrates a simple call to the method in the following three cases to isolate substrings within a string. In two cases the substrings are used in comparisons, and in the third case an exception is thrown because invalid parameters are specified. @@ -13668,7 +13668,7 @@ The following example uses the method to separ :::code language="csharp" source="~/snippets/csharp/System/String/Substring/Substring1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Substring/Substring1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Substring/Substring1.vb" id="Snippet1"::: The method is used to get the position of the equals character in the string. The call to the method extracts the key name, which starts from the first character in the string and extends for the number of characters returned by the call to the method. The call to the method then extracts the value assigned to the key. It starts at one character position beyond the equals character and extends to the end of the string. @@ -13851,7 +13851,7 @@ The following example uses the method with an :::code language="csharp" source="~/snippets/csharp/System/String/CompareTo/extostring.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/CompareTo/extostring.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ExToString/VB/extostring.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/CompareTo/extostring.vb" id="Snippet1"::: ]]> @@ -13897,7 +13897,7 @@ The following example displays the enumerated constant fo :::code language="csharp" source="~/snippets/csharp/System/String/GetTypeCode/gtc.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/GetTypeCode/gtc.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.gettypecode/VB/gtc.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/GetTypeCode/gtc.vb" id="Snippet1"::: ]]> @@ -15172,7 +15172,7 @@ The following example calls the method to ex :::code language="csharp" source="~/snippets/csharp/System/String/ToCharArray/ToCharArray1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/ToCharArray/ToCharArray1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.tochararray/vb/ToCharArray1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/ToCharArray/ToCharArray1.vb" id="Snippet1"::: ]]> @@ -15261,7 +15261,7 @@ The following example converts a substring within a string to an array of charac :::code language="csharp" source="~/snippets/csharp/System/String/ToCharArray/tocharry1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/ToCharArray/tocharry1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.ToCharArray1/VB/tocharry1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/ToCharArray/tocharry1.vb" id="Snippet1"::: ]]> @@ -15512,7 +15512,7 @@ The following example defines a string array that contains a single word in a nu :::code language="csharp" source="~/snippets/csharp/System/String/ToLowerInvariant/tolowerinvariant.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/ToLowerInvariant/tolowerinvariant.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.tolowerinvariant/vb/tolowerinvariant.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/ToLowerInvariant/tolowerinvariant.vb" id="Snippet1"::: ]]> @@ -15595,7 +15595,7 @@ The following example demonstrates the method.N :::code language="csharp" source="~/snippets/csharp/System/String/ToString/string.tostring.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/ToString/string.tostring.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/string.tostring/VB/string.tostring.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/ToString/string.tostring.vb" id="Snippet1"::: ]]> @@ -15997,7 +15997,7 @@ The following example uses the @@ -16146,7 +16146,7 @@ The following example uses the `Trim(System.Char[])` method to remove space, ast :::code language="csharp" source="~/snippets/csharp/System/String/Trim/Trim1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Trim/Trim1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Trim/vb/Trim1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Trim/Trim1.vb" id="Snippet1"::: ]]> @@ -16338,7 +16338,7 @@ The following example demonstrates how you can use the `TrimEnd(System.Char[])` :::code language="csharp" source="~/snippets/csharp/System/String/TrimEnd/sample2.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/TrimEnd/sample2.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.TrimEnd/vb/Sample2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/TrimEnd/Sample2.vb" id="Snippet2"::: ]]> @@ -16530,19 +16530,19 @@ The following example demonstrates the basic functionality of the method to trim white space and comment characters from lines of source code. The `StripComments` method wraps a call to and passes it a character array that contains a space and the comment character, which is an apostrophe ( ' ) in Visual Basic and a slash ( / ) in C# or F#. The method is also called to remove leading white space when evaluating whether a string is a comment. :::code language="csharp" source="~/snippets/csharp/System/String/TrimStart/sample.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/TrimStart/sample.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.TrimStart/vb/sample.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/TrimStart/sample.vb" id="Snippet2"::: The following example then illustrates a call to the `StripComments` method. :::code language="csharp" source="~/snippets/csharp/System/String/TrimStart/sample.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/TrimStart/sample.fs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.TrimStart/vb/sample.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/TrimStart/sample.vb" id="Snippet3"::: ]]> diff --git a/xml/System/StringComparer.xml b/xml/System/StringComparer.xml index 52eed485071..28e89ab9250 100644 --- a/xml/System/StringComparer.xml +++ b/xml/System/StringComparer.xml @@ -92,7 +92,7 @@ The following example demonstrates the properties and the @@ -366,7 +366,7 @@ The following example demonstrates the properties and the @@ -480,7 +480,7 @@ The following example demonstrates the properties and the object in a local variable rather than retrieve the value of the property multiple times. @@ -491,7 +491,7 @@ The following example demonstrates the properties and the @@ -557,7 +557,7 @@ The following example demonstrates the properties and the object in a local variable rather than retrieve the value of the property multiple times. @@ -943,7 +943,7 @@ The following example demonstrates the properties and the @@ -1180,7 +1180,7 @@ A "well-known ordinal comparer" describes a comparer that behaves identically to :::code language="csharp" source="~/snippets/csharp/System/StringComparer/Overview/omni.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/StringComparer/Overview/omni.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.StringComparer/vb/omni.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/StringComparer/Overview/omni.vb" id="Snippet1"::: ]]> @@ -1245,7 +1245,7 @@ A "well-known ordinal comparer" describes a comparer that behaves identically to :::code language="csharp" source="~/snippets/csharp/System/StringComparer/Overview/omni.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/StringComparer/Overview/omni.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.StringComparer/vb/omni.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/StringComparer/Overview/omni.vb" id="Snippet1"::: ]]> diff --git a/xml/System/StringComparison.xml b/xml/System/StringComparison.xml index 86280785b39..0b02ebb94c4 100644 --- a/xml/System/StringComparison.xml +++ b/xml/System/StringComparison.xml @@ -80,7 +80,7 @@ :::code language="csharp" source="~/snippets/csharp/System/String/Equals/equals_ex3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Equals/equals_ex3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.equals/vb/equals_ex3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/String/Equals/equals_ex3.vb" id="Snippet3"::: ]]> diff --git a/xml/System/ThreadStaticAttribute.xml b/xml/System/ThreadStaticAttribute.xml index a9b3ea6c041..14c0d2e9fdf 100644 --- a/xml/System/ThreadStaticAttribute.xml +++ b/xml/System/ThreadStaticAttribute.xml @@ -86,7 +86,7 @@ The following example code demonstrates how to use the `ThreadStaticAttribute` t :::code language="csharp" source="~/snippets/csharp/System/ThreadStaticAttribute/Overview/threadsafe2a.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/ThreadStaticAttribute/Overview/threadsafe2a.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threadstaticattribute/vb/threadsafe2a.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ThreadStaticAttribute/Overview/threadsafe2a.vb" id="Snippet1"::: ]]> diff --git a/xml/System/TimeSpan.xml b/xml/System/TimeSpan.xml index 6598a9592ae..a8518d2f5e4 100644 --- a/xml/System/TimeSpan.xml +++ b/xml/System/TimeSpan.xml @@ -124,7 +124,7 @@ The following example instantiates a object that represen :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Overview/structure1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Overview/structure1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.class/vb/structure1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Overview/structure1.vb" id="Snippet1"::: :::code language="powershell" source="~/snippets/powershell/VS_Snippets_CLR_System/system.timespan.class/ps/structure1.ps1"::: ]]> @@ -201,7 +201,7 @@ The following example instantiates a object that represen :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/.ctor/ctorl.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/.ctor/ctorl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctorl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/.ctor/ctorl.vb" id="Snippet1"::: ]]> @@ -273,7 +273,7 @@ The following example instantiates a object that represen :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/.ctor/ctoriii.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/.ctor/ctoriii.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctoriii.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/.ctor/ctoriii.vb" id="Snippet2"::: ]]> @@ -342,7 +342,7 @@ The following example instantiates a object that represen :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/.ctor/ctoriiii.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/.ctor/ctoriiii.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctoriiii.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/.ctor/ctoriiii.vb" id="Snippet3"::: ]]> @@ -413,7 +413,7 @@ The following example instantiates a object that represen :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/.ctor/ctoriiiii.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/.ctor/ctoriiiii.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctoriiiii.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/.ctor/ctoriiiii.vb" id="Snippet4"::: ]]> @@ -531,7 +531,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Add/add1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Add/add1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.add/vb/add1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Add/add1.vb" id="Snippet1"::: ]]> @@ -613,7 +613,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Compare/compare1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Compare/compare1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.compare/vb/compare1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Compare/compare1.vb" id="Snippet1"::: ]]> @@ -724,7 +724,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/CompareTo/cto_eq_obj.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/CompareTo/cto_eq_obj.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Compare_Equals/VB/cto_eq_obj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/CompareTo/cto_eq_obj.vb" id="Snippet1"::: ]]> @@ -814,7 +814,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/Boolean/CompareTo/cat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Boolean/CompareTo/cat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/T.CompareTo/VB/cat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Boolean/CompareTo/cat.vb" id="Snippet1"::: ]]> @@ -877,7 +877,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Days/properties.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Days/properties.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Properties/VB/properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Days/properties.vb" id="Snippet1"::: ]]> @@ -1020,7 +1020,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Duration/dura_nega_una.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Duration/dura_nega_una.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Dura_Nega_Unary/VB/dura_nega_una.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Duration/dura_nega_una.vb" id="Snippet1"::: ]]> @@ -1104,7 +1104,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/CompareTo/cto_eq_obj.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/CompareTo/cto_eq_obj.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Compare_Equals/VB/cto_eq_obj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/CompareTo/cto_eq_obj.vb" id="Snippet1"::: ]]> @@ -1175,7 +1175,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/Boolean/CompareTo/cat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Boolean/CompareTo/cat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/T.CompareTo/VB/cat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Boolean/CompareTo/cat.vb" id="Snippet1"::: ]]> @@ -1240,7 +1240,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/CompareTo/comp_equal.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/CompareTo/comp_equal.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Compare_Equals/VB/comp_equal.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/CompareTo/comp_equal.vb" id="Snippet2"::: ]]> @@ -1303,7 +1303,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.FromMinutes/vb/System.TimeSpan.FromMinutes.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.vb" id="Snippet2"::: @@ -1312,7 +1312,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/FromDays/fromdays.cs" interactive="try-dotnet" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/FromDays/fromdays.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromdays.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/FromDays/fromdays.vb" id="Snippet6"::: ]]> @@ -1465,7 +1465,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.FromMinutes/vb/System.TimeSpan.FromMinutes.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.vb" id="Snippet3"::: @@ -1474,7 +1474,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/FromDays/fromhours.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/FromDays/fromhours.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromhours.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/FromDays/fromhours.vb" id="Snippet5"::: ]]> @@ -1704,7 +1704,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.FromMinutes/vb/System.TimeSpan.FromMinutes.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.vb" id="Snippet4"::: @@ -1713,7 +1713,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/FromDays/frommillisec.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/FromDays/frommillisec.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/frommillisec.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/FromDays/frommillisec.vb" id="Snippet2"::: ]]> @@ -1859,7 +1859,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.FromMinutes/vb/System.TimeSpan.FromMinutes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.vb" id="Snippet1"::: @@ -1868,7 +1868,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/FromDays/fromminutes.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/FromDays/fromminutes.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromminutes.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/FromDays/fromminutes.vb" id="Snippet4"::: ]]> @@ -2017,7 +2017,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.FromMinutes/vb/System.TimeSpan.FromMinutes.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.vb" id="Snippet5"::: @@ -2026,7 +2026,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/FromDays/fromseconds.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/FromDays/fromseconds.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromseconds.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/FromDays/fromseconds.vb" id="Snippet3"::: ]]> @@ -2184,7 +2184,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/FromDays/fromticks.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/FromDays/fromticks.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromticks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/FromDays/fromticks.vb" id="Snippet1"::: ]]> @@ -2252,7 +2252,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/GetHashCode/hashcode.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/GetHashCode/hashcode.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.GetHashCode/VB/hashcode.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/GetHashCode/hashcode.vb" id="Snippet1"::: ]]> @@ -2315,7 +2315,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Days/properties.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Days/properties.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Properties/VB/properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Days/properties.vb" id="Snippet1"::: ]]> @@ -2409,7 +2409,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/MaxValue/fields.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/MaxValue/fields.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Fields/VB/fields.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/MaxValue/fields.vb" id="Snippet1"::: ]]> @@ -2653,7 +2653,7 @@ The property represents whole microseconds, :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Days/properties.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Days/properties.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Properties/VB/properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Days/properties.vb" id="Snippet1"::: ]]> @@ -2834,7 +2834,7 @@ The property represents whole microseconds, :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Days/properties.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Days/properties.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Properties/VB/properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Days/properties.vb" id="Snippet1"::: ]]> @@ -2956,7 +2956,7 @@ The property represents whole microseconds, :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/MaxValue/fields.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/MaxValue/fields.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Fields/VB/fields.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/MaxValue/fields.vb" id="Snippet1"::: ]]> @@ -3132,7 +3132,7 @@ The value of this constant is 100. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Duration/dura_nega_una.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Duration/dura_nega_una.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Dura_Nega_Unary/VB/dura_nega_una.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Duration/dura_nega_una.vb" id="Snippet1"::: ]]> @@ -3195,7 +3195,7 @@ The value of this constant is 100. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/op_Addition/operators1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/op_Addition/operators1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.operators/vb/operators1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/op_Addition/operators1.vb" id="Snippet1"::: Languages that do not support custom operators can call the method instead. @@ -3352,7 +3352,7 @@ The value of this constant is 100. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/op_Equality/relationalops.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/op_Equality/relationalops.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.RelationalOps/VB/relationalops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/op_Equality/relationalops.vb" id="Snippet1"::: ]]> @@ -3424,7 +3424,7 @@ The value of this constant is 100. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/op_Equality/relationalops.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/op_Equality/relationalops.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.RelationalOps/VB/relationalops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/op_Equality/relationalops.vb" id="Snippet1"::: ]]> @@ -3495,7 +3495,7 @@ The value of this constant is 100. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/op_Equality/relationalops.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/op_Equality/relationalops.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.RelationalOps/VB/relationalops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/op_Equality/relationalops.vb" id="Snippet1"::: ]]> @@ -3566,7 +3566,7 @@ The value of this constant is 100. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/op_Equality/relationalops.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/op_Equality/relationalops.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.RelationalOps/VB/relationalops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/op_Equality/relationalops.vb" id="Snippet1"::: ]]> @@ -3637,7 +3637,7 @@ The value of this constant is 100. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/op_Equality/relationalops.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/op_Equality/relationalops.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.RelationalOps/VB/relationalops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/op_Equality/relationalops.vb" id="Snippet1"::: ]]> @@ -3708,7 +3708,7 @@ The value of this constant is 100. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/op_Equality/relationalops.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/op_Equality/relationalops.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.RelationalOps/VB/relationalops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/op_Equality/relationalops.vb" id="Snippet1"::: ]]> @@ -3862,7 +3862,7 @@ The value of this constant is 100. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/op_Addition/Subtraction1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/op_Addition/Subtraction1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.operators/vb/Subtraction1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/op_Addition/Subtraction1.vb" id="Snippet2"::: ]]> @@ -3923,7 +3923,7 @@ The value of this constant is 100. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Duration/dura_nega_una.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Duration/dura_nega_una.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Dura_Nega_Unary/VB/dura_nega_una.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Duration/dura_nega_una.vb" id="Snippet1"::: ]]> @@ -3984,7 +3984,7 @@ The value of this constant is 100. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Duration/dura_nega_una.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Duration/dura_nega_una.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Dura_Nega_Unary/VB/dura_nega_una.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Duration/dura_nega_una.vb" id="Snippet1"::: ]]> @@ -4323,7 +4323,7 @@ The following example defines an array of @@ -4434,7 +4434,7 @@ The following example defines an array of @@ -4670,7 +4670,7 @@ The following example defines an array of @@ -4787,7 +4787,7 @@ The following example defines an array of @@ -4864,7 +4864,7 @@ The following example defines an array of @@ -5130,7 +5130,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Days/properties.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Days/properties.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Properties/VB/properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Days/properties.vb" id="Snippet1"::: ]]> @@ -5197,7 +5197,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/MaxValue/fields.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/MaxValue/fields.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Fields/VB/fields.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/MaxValue/fields.vb" id="Snippet1"::: ]]> @@ -5263,7 +5263,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/MaxValue/fields.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/MaxValue/fields.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Fields/VB/fields.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/MaxValue/fields.vb" id="Snippet1"::: ]]> @@ -5367,7 +5367,7 @@ The value of this constant is 10. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/MaxValue/fields.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/MaxValue/fields.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Fields/VB/fields.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/MaxValue/fields.vb" id="Snippet1"::: ]]> @@ -5433,7 +5433,7 @@ The value of this constant is 10. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/MaxValue/fields.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/MaxValue/fields.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Fields/VB/fields.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/MaxValue/fields.vb" id="Snippet1"::: ]]> @@ -5499,7 +5499,7 @@ The value of this constant is 10. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/MaxValue/fields.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/MaxValue/fields.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Fields/VB/fields.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/MaxValue/fields.vb" id="Snippet1"::: ]]> @@ -5591,7 +5591,7 @@ The value of this constant is 10. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/ToString/ToString1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/ToString/ToString1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.ToString/vb/ToString1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/ToString/ToString1.vb" id="Snippet1"::: ]]> @@ -5683,7 +5683,7 @@ The value of this constant is 10. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/ToString/tostring3.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/ToString/tostring3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.ToString/vb/tostring3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/ToString/tostring3.vb" id="Snippet3"::: ]]> @@ -5781,7 +5781,7 @@ The value of this constant is 10. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/ToString/tostring4.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/ToString/tostring4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.ToString/vb/tostring4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/ToString/tostring4.vb" id="Snippet4"::: ]]> @@ -5847,7 +5847,7 @@ The value of this constant is 10. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/TotalDays/totaldays.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/TotalDays/totaldays.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totaldays/vb/totaldays.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/TotalDays/totaldays.vb" id="Snippet1"::: ]]> @@ -5915,7 +5915,7 @@ The value of this constant is 10. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/TotalHours/totalhours.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/TotalHours/totalhours.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalhours/vb/totalhours.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/TotalHours/totalhours.vb" id="Snippet1"::: ]]> @@ -6025,7 +6025,7 @@ The property represents whole and fract :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/TotalMilliseconds/totalmilliseconds.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/TotalMilliseconds/totalmilliseconds.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalmilliseconds/vb/totalmilliseconds.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/TotalMilliseconds/totalmilliseconds.vb" id="Snippet1"::: ]]> @@ -6093,7 +6093,7 @@ The property represents whole and fract :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/TotalMinutes/totalminutes.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/TotalMinutes/totalminutes.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalminutes/vb/totalminutes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/TotalMinutes/totalminutes.vb" id="Snippet1"::: ]]> @@ -6209,7 +6209,7 @@ The property represents whole and fracti :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/TotalSeconds/totalseconds.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/TotalSeconds/totalseconds.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalseconds/vb/totalseconds.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/TotalSeconds/totalseconds.vb" id="Snippet1"::: ]]> @@ -6830,7 +6830,7 @@ The following example defines an array of @@ -6939,7 +6939,7 @@ The following example defines an array of @@ -7178,7 +7178,7 @@ The following example defines an array of @@ -7291,7 +7291,7 @@ The following example defines an array of @@ -7353,7 +7353,7 @@ The following example defines an array of diff --git a/xml/System/TimeZoneInfo+AdjustmentRule.xml b/xml/System/TimeZoneInfo+AdjustmentRule.xml index 8e5ab6b376b..3cdf4567b44 100644 --- a/xml/System/TimeZoneInfo+AdjustmentRule.xml +++ b/xml/System/TimeZoneInfo+AdjustmentRule.xml @@ -87,7 +87,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+AdjustmentRule/Overview/System.TimeZone2.AdjustmentRule.Class.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+AdjustmentRule/Overview/System.TimeZone2.AdjustmentRule.Class.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.AdjustmentRule.Class/vb/System.TimeZone2.AdjustmentRule.Class.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+AdjustmentRule/Overview/System.TimeZone2.AdjustmentRule.Class.vb" id="Snippet3"::: The following is a small portion of the output that is generated by the example. The exact output will vary depending on the operating system and the date on which the example is run. @@ -262,7 +262,7 @@ dateVariable.Date :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+AdjustmentRule/Overview/System.TimeZone2.AdjustmentRule.Class.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+AdjustmentRule/Overview/System.TimeZone2.AdjustmentRule.Class.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.AdjustmentRule.Class/vb/System.TimeZone2.AdjustmentRule.Class.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+AdjustmentRule/Overview/System.TimeZone2.AdjustmentRule.Class.vb" id="Snippet1"::: ]]> @@ -396,7 +396,7 @@ dateVariable.Date :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+AdjustmentRule/DateEnd/DateStart1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+AdjustmentRule/DateEnd/DateStart1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.TimeZoneInfo.AdjustmentRule.DateStart/vb/DateStart1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+AdjustmentRule/DateEnd/DateStart1.vb" id="Snippet1"::: ]]> @@ -468,7 +468,7 @@ dateVariable.Date :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+AdjustmentRule/DateEnd/DateStart1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+AdjustmentRule/DateEnd/DateStart1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.TimeZoneInfo.AdjustmentRule.DateStart/vb/DateStart1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+AdjustmentRule/DateEnd/DateStart1.vb" id="Snippet1"::: ]]> @@ -740,7 +740,7 @@ TimeZoneTime = BaseUtcOffset + DaylightDelta + UtcTime :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+AdjustmentRule/Overview/System.TimeZone2.AdjustmentRule.Class.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+AdjustmentRule/Overview/System.TimeZone2.AdjustmentRule.Class.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.AdjustmentRule.Class/vb/System.TimeZone2.AdjustmentRule.Class.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+AdjustmentRule/Overview/System.TimeZone2.AdjustmentRule.Class.vb" id="Snippet2"::: This code displays the following output to the console: diff --git a/xml/System/TimeZoneInfo+TransitionTime.xml b/xml/System/TimeZoneInfo+TransitionTime.xml index 21bb2fa540a..86adf807012 100644 --- a/xml/System/TimeZoneInfo+TransitionTime.xml +++ b/xml/System/TimeZoneInfo+TransitionTime.xml @@ -162,7 +162,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/System.TimeZone2.TransitionTime.Class.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.vb" id="Snippet2"::: ]]> @@ -247,7 +247,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/System.TimeZone2.TransitionTime.Class.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.vb" id="Snippet2"::: ]]> @@ -329,7 +329,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/System.TimeZone2.TransitionTime.Class.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.vb" id="Snippet3"::: ]]> @@ -390,7 +390,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/System.TimeZone2.TransitionTime.Class.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.vb" id="Snippet4"::: ]]> @@ -472,7 +472,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/System.TimeZone2.TransitionTime.Class.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.vb" id="Snippet1"::: ]]> @@ -539,7 +539,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/System.TimeZone2.TransitionTime.Class.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.vb" id="Snippet7"::: ]]> @@ -653,7 +653,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/example1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/example1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/example1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/example1.vb" id="Snippet5"::: ]]> @@ -714,7 +714,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/System.TimeZone2.TransitionTime.Class.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.vb" id="Snippet4"::: ]]> @@ -1015,7 +1015,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/System.TimeZone2.TransitionTime.Class.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.vb" id="Snippet6"::: ]]> @@ -1086,7 +1086,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/System.TimeZone2.TransitionTime.Class.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.vb" id="Snippet4"::: ]]> diff --git a/xml/System/TimeZoneInfo.xml b/xml/System/TimeZoneInfo.xml index 7b000f669f8..8bb5a842225 100644 --- a/xml/System/TimeZoneInfo.xml +++ b/xml/System/TimeZoneInfo.xml @@ -193,7 +193,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/BaseUtcOffset/TimeZone2_Examples.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/BaseUtcOffset/TimeZone2_Examples.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Class/VB/TimeZone2_Examples.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/BaseUtcOffset/TimeZone2_Examples.vb" id="Snippet1"::: ]]> @@ -252,7 +252,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/ClearCachedData/System.TimeZone2.BestPractices.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/ClearCachedData/System.TimeZone2.BestPractices.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.BestPractices/vb/System.TimeZone2.BestPractices.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/ClearCachedData/System.TimeZone2.BestPractices.vb" id="Snippet1"::: ]]> @@ -357,7 +357,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/ConvertTime/converttime1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/ConvertTime/converttime1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timezoneinfo.converttime/vb/converttime1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/ConvertTime/converttime1.vb" id="Snippet1"::: ]]> @@ -435,7 +435,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/ConvertTime/converttime2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/ConvertTime/converttime2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timezoneinfo.converttime/vb/converttime2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/ConvertTime/converttime2.vb" id="Snippet2"::: ]]> @@ -532,7 +532,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/ConvertTime/TimeZone2Concepts.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/ConvertTime/TimeZone2Concepts.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Concepts/VB/TimeZone2Concepts.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/ConvertTime/TimeZone2Concepts.vb" id="Snippet9"::: ]]> @@ -803,7 +803,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/System.TimeZone2.Conversions.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/System.TimeZone2.Conversions.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Conversions/vb/System.TimeZone2.Conversions.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/System.TimeZone2.Conversions.vb" id="Snippet3"::: ]]> @@ -896,7 +896,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/ConvertTime/TimeZone2Concepts.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/ConvertTime/TimeZone2Concepts.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Concepts/VB/TimeZone2Concepts.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/ConvertTime/TimeZone2Concepts.vb" id="Snippet8"::: ]]> @@ -987,7 +987,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/System.TimeZone2.Conversions.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/System.TimeZone2.Conversions.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Conversions/vb/System.TimeZone2.Conversions.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/System.TimeZone2.Conversions.vb" id="Snippet1"::: ]]> @@ -1061,7 +1061,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/convertdt2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/convertdt2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Conversions/vb/convertdt2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/convertdt2.vb" id="Snippet2"::: ]]> @@ -1183,7 +1183,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/CreateCustomTimeZone/System.TimeZone2.CreateTimeZone.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/CreateCustomTimeZone/System.TimeZone2.CreateTimeZone.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.CreateTimeZone/vb/System.TimeZone2.CreateTimeZone.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/CreateCustomTimeZone/System.TimeZone2.CreateTimeZone.vb" id="Snippet1"::: ]]> @@ -1314,7 +1314,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/CreateCustomTimeZone/System.TimeZone2.CreateTimeZone.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/CreateCustomTimeZone/System.TimeZone2.CreateTimeZone.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.CreateTimeZone/vb/System.TimeZone2.CreateTimeZone.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/CreateCustomTimeZone/System.TimeZone2.CreateTimeZone.vb" id="Snippet2"::: ]]> @@ -1464,7 +1464,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/CreateCustomTimeZone/System.TimeZone2.CreateTimeZone.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/CreateCustomTimeZone/System.TimeZone2.CreateTimeZone.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.CreateTimeZone/vb/System.TimeZone2.CreateTimeZone.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/CreateCustomTimeZone/System.TimeZone2.CreateTimeZone.vb" id="Snippet3"::: ]]> @@ -1559,7 +1559,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/DaylightName/IsDaylightSavingTime.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/DaylightName/IsDaylightSavingTime.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.IsDaylightSavingTime/vb/IsDaylightSavingTime.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/DaylightName/IsDaylightSavingTime.vb" id="Snippet1"::: ]]> @@ -1629,7 +1629,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/BaseUtcOffset/ShowTimeZoneNames1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/BaseUtcOffset/ShowTimeZoneNames1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Class/VB/ShowTimeZoneNames1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/BaseUtcOffset/ShowTimeZoneNames1.vb" id="Snippet2"::: ]]> @@ -1718,7 +1718,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/Equals/equals1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/Equals/equals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timezoneinfo.equals/vb/equals1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/Equals/equals1.vb" id="Snippet1"::: ]]> @@ -1813,7 +1813,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/BaseUtcOffset/TimeZone2_Examples.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/BaseUtcOffset/TimeZone2_Examples.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Class/VB/TimeZone2_Examples.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/BaseUtcOffset/TimeZone2_Examples.vb" id="Snippet7"::: ]]> @@ -1882,7 +1882,7 @@ The following example uses the @@ -1952,7 +1952,7 @@ The following example uses the @@ -2023,7 +2023,7 @@ The following example uses the @@ -2115,13 +2115,13 @@ The following example uses the @@ -2333,7 +2333,7 @@ The following example uses the @@ -2458,7 +2458,7 @@ The following example uses the @@ -2615,7 +2615,7 @@ The following example uses the @@ -2682,7 +2682,7 @@ The following example uses the @@ -2776,7 +2776,7 @@ The following example uses the @@ -2931,7 +2931,7 @@ The following example uses the if the value of the `dateTime` parameter's property is ; otherwise, the method returns `false`. @@ -2944,7 +2944,7 @@ The following example uses the @@ -3085,7 +3085,7 @@ The following example uses the @@ -3172,7 +3172,7 @@ The following example uses the @@ -3240,7 +3240,7 @@ The following example uses the @@ -3304,7 +3304,7 @@ The following example uses the @@ -3480,7 +3480,7 @@ The following example uses the @@ -3858,7 +3858,7 @@ If the application is running on a Windows OS version that lacks the ICU library :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/BaseUtcOffset/TimeZone2_Examples.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/BaseUtcOffset/TimeZone2_Examples.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Class/VB/TimeZone2_Examples.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/BaseUtcOffset/TimeZone2_Examples.vb" id="Snippet3"::: ]]> diff --git a/xml/System/TimeZoneNotFoundException.xml b/xml/System/TimeZoneNotFoundException.xml index 9ecff7bab99..c9ccdc40181 100644 --- a/xml/System/TimeZoneNotFoundException.xml +++ b/xml/System/TimeZoneNotFoundException.xml @@ -317,7 +317,7 @@ :::code language="csharp" source="~/snippets/csharp/System/InvalidTimeZoneException/.ctor/TimeZoneNotFoundException.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/InvalidTimeZoneException/.ctor/TimeZoneNotFoundException.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZoneNotFoundException.Class/vb/TimeZoneNotFoundException.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/InvalidTimeZoneException/.ctor/TimeZoneNotFoundException.vb" id="Snippet1"::: ]]> diff --git a/xml/System/TimeoutException.xml b/xml/System/TimeoutException.xml index 322b6b3bee5..ac1ef30eba7 100644 --- a/xml/System/TimeoutException.xml +++ b/xml/System/TimeoutException.xml @@ -86,7 +86,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeoutException/Overview/to.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeoutException/Overview/to.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TimeoutException.class/VB/to.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeoutException/Overview/to.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Tuple.xml b/xml/System/Tuple.xml index 34cab811020..cf655dc5b77 100644 --- a/xml/System/Tuple.xml +++ b/xml/System/Tuple.xml @@ -75,13 +75,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/example1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/example1.vb" id="Snippet1"::: Creating the same tuple object by using a helper method is more straightforward, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/example1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/example1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.class/vb/example1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/example1.vb" id="Snippet2"::: The helper methods directly support the creation of tuple objects that have from one to eight components (that is, singletons through octuples). Although there is no practical limit to the number of components a tuple may have, helper methods are not available to create a tuple with nine or more components. To create such a tuple, you must call the constructor. @@ -95,7 +95,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/createntuple.cs" interactive="try-dotnet-method" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/createntuple.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/createntuple.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/createntuple.vb" id="Snippet17"::: ]]> @@ -185,13 +185,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet1"::: This code is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet2"::: ]]> @@ -272,13 +272,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet3"::: This code is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet4"::: ]]> @@ -370,13 +370,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet5"::: This code is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet6"::: ]]> @@ -479,13 +479,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet7"::: This code is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet8"::: ]]> @@ -599,13 +599,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet9"::: This code is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet10"::: ]]> @@ -730,13 +730,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet11"::: This code is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet12"::: ]]> @@ -872,13 +872,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet13"::: This code is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet14"::: ]]> @@ -1033,13 +1033,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/createntuple.cs" interactive="try-dotnet-method" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/createntuple.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/createntuple.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/createntuple.vb" id="Snippet17"::: This is equivalent to the following example, which uses the class constructor instead of the factory creation method. Note that instantiating a object in this way involves considerably more code, because you must declare a nested object as the object's eighth component to produce an octuple. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/ctor8.cs" id="Snippet20"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/ctor8.fs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/ctor8.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/ctor8.vb" id="Snippet20"::: ]]> diff --git a/xml/System/Tuple`1.xml b/xml/System/Tuple`1.xml index 197a7e34c1e..5a9dbfc4ccc 100644 --- a/xml/System/Tuple`1.xml +++ b/xml/System/Tuple`1.xml @@ -154,13 +154,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet1"::: This is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet2"::: ]]> @@ -244,7 +244,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1/Equals/equals1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1/Equals/equals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.equals/vb/equals1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1/Equals/equals1.vb" id="Snippet1"::: ]]> @@ -359,7 +359,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1/Item1/item1.vb" id="Snippet1"::: ]]> @@ -448,7 +448,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/compareto2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/compareto2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.compareto/vb/compareto2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/compareto2.vb" id="Snippet2"::: ]]> @@ -529,7 +529,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1/Equals/equals2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1/Equals/equals2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.equals/vb/equals2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1/Equals/equals2.vb" id="Snippet2"::: ]]> @@ -682,7 +682,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/compareto1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/compareto1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.compareto/vb/compareto1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/compareto1.vb" id="Snippet1"::: ]]> @@ -852,7 +852,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.tostring/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1/ToString/tostring1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Tuple`2.xml b/xml/System/Tuple`2.xml index a2605e197ec..44351edf06a 100644 --- a/xml/System/Tuple`2.xml +++ b/xml/System/Tuple`2.xml @@ -115,13 +115,13 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2/Overview/example1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2/Overview/example1.vb" id="Snippet1"::: - To return multiple values from a method without the use of `out` parameters (in C#) or `ByRef` parameters (in Visual Basic). For example, the following example uses a object to return the quotient and the remainder that result from integer division. :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2/Overview/item1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2/Overview/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2/Overview/item1.vb" id="Snippet1"::: - To pass multiple values to a method through a single parameter. For example, the method has a single parameter that lets you supply one value to the method that the thread executes at startup. If you supply a object as the method argument, you can supply the thread's startup routine with two items of data. @@ -187,13 +187,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet3"::: This is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet4"::: ]]> @@ -271,7 +271,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2/Equals/equals1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2/Equals/equals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.equals/vb/equals1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2/Equals/equals1.vb" id="Snippet1"::: ]]> @@ -378,7 +378,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2/Overview/item1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2/Overview/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2/Overview/item1.vb" id="Snippet1"::: ]]> @@ -441,7 +441,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2/Overview/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2/Overview/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2/Overview/item1.vb" id="Snippet1"::: ]]> @@ -532,7 +532,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2/System.Collections.IStructuralComparable.CompareTo/compareto2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2/System.Collections.IStructuralComparable.CompareTo/compareto2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.compareto/vb/compareto2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2/System.Collections.IStructuralComparable.CompareTo/compareto2.vb" id="Snippet2"::: ]]> @@ -613,7 +613,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2/Equals/equals2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2/Equals/equals2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.equals/vb/equals2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2/Equals/equals2.vb" id="Snippet2"::: ]]> @@ -766,7 +766,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2/System.Collections.IStructuralComparable.CompareTo/compareto1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2/System.Collections.IStructuralComparable.CompareTo/compareto1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.compareto/vb/compareto1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2/System.Collections.IStructuralComparable.CompareTo/compareto1.vb" id="Snippet1"::: ]]> @@ -936,7 +936,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.tostring/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2/ToString/tostring1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Tuple`3.xml b/xml/System/Tuple`3.xml index 2b240b805e2..d9b8952f8c7 100644 --- a/xml/System/Tuple`3.xml +++ b/xml/System/Tuple`3.xml @@ -124,7 +124,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3/Overview/example1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3/Overview/example1.vb" id="Snippet1"::: - To return multiple values from a method without the use of `out` parameters (in C#) or `ByRef` parameters (in Visual Basic). For example, the previous example returns its summary test score statistics in a object. @@ -194,13 +194,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet5"::: This is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet6"::: ]]> @@ -278,7 +278,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3/Equals/equals1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3/Equals/equals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.equals/vb/equals1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3/Equals/equals1.vb" id="Snippet1"::: ]]> @@ -385,7 +385,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3/Overview/example1.vb" id="Snippet1"::: ]]> @@ -448,7 +448,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3/Overview/example1.vb" id="Snippet1"::: ]]> @@ -511,7 +511,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3/Overview/example1.vb" id="Snippet1"::: ]]> @@ -602,7 +602,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3/System.Collections.IStructuralComparable.CompareTo/compareto2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3/System.Collections.IStructuralComparable.CompareTo/compareto2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.compareto/vb/compareto2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3/System.Collections.IStructuralComparable.CompareTo/compareto2.vb" id="Snippet2"::: ]]> @@ -683,7 +683,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3/Equals/equals2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3/Equals/equals2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.equals/vb/equals2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3/Equals/equals2.vb" id="Snippet2"::: ]]> @@ -835,7 +835,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3/System.Collections.IStructuralComparable.CompareTo/compareto1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3/System.Collections.IStructuralComparable.CompareTo/compareto1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.compareto/vb/compareto1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3/System.Collections.IStructuralComparable.CompareTo/compareto1.vb" id="Snippet1"::: ]]> @@ -1005,7 +1005,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.tostring/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3/ToString/tostring1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Tuple`4.xml b/xml/System/Tuple`4.xml index d424cfae786..81eea73022f 100644 --- a/xml/System/Tuple`4.xml +++ b/xml/System/Tuple`4.xml @@ -133,7 +133,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4/Overview/example1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4/Overview/example1.vb" id="Snippet1"::: - To return multiple values from a method without the use of `out` parameters (in C#) or `ByRef` parameters (in Visual Basic). For example, the previous example returns its computed statistics, along with the name of the pitcher, in an array of objects. @@ -205,13 +205,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet7"::: This is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet8"::: ]]> @@ -289,7 +289,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4/Equals/equals1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4/Equals/equals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.equals/vb/equals1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4/Equals/equals1.vb" id="Snippet1"::: ]]> @@ -396,7 +396,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4/Item1/item1.vb" id="Snippet1"::: ]]> @@ -459,7 +459,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4/Item1/item1.vb" id="Snippet1"::: ]]> @@ -522,7 +522,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4/Item1/item1.vb" id="Snippet1"::: ]]> @@ -585,7 +585,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4/Item1/item1.vb" id="Snippet1"::: ]]> @@ -676,7 +676,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4/System.Collections.IStructuralComparable.CompareTo/compareto2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4/System.Collections.IStructuralComparable.CompareTo/compareto2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.compareto/vb/compareto2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4/System.Collections.IStructuralComparable.CompareTo/compareto2.vb" id="Snippet2"::: ]]> @@ -756,7 +756,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4/Equals/equals2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4/Equals/equals2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.equals/vb/equals2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4/Equals/equals2.vb" id="Snippet2"::: ]]> @@ -908,7 +908,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4/System.Collections.IStructuralComparable.CompareTo/compareto1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4/System.Collections.IStructuralComparable.CompareTo/compareto1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.compareto/vb/compareto1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4/System.Collections.IStructuralComparable.CompareTo/compareto1.vb" id="Snippet1"::: ]]> @@ -1078,7 +1078,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.tostring/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4/ToString/tostring1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Tuple`5.xml b/xml/System/Tuple`5.xml index 1f81c411c03..6d0f90c7d1b 100644 --- a/xml/System/Tuple`5.xml +++ b/xml/System/Tuple`5.xml @@ -142,7 +142,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Overview/example1.vb" id="Snippet1"::: - To return multiple values from a method without the use of `out` parameters (in C#) or `ByRef` parameters (in Visual Basic). For example, the previous example returns its computed statistics, along with the name of the player, in an array of objects. @@ -216,13 +216,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet9"::: This is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet10"::: ]]> @@ -300,7 +300,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Equals/equals1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5/Equals/equals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.equals/vb/equals1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Equals/equals1.vb" id="Snippet1"::: ]]> @@ -407,7 +407,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Item1/item1.vb" id="Snippet1"::: ]]> @@ -470,7 +470,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Item1/item1.vb" id="Snippet1"::: ]]> @@ -533,7 +533,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Item1/item1.vb" id="Snippet1"::: ]]> @@ -596,7 +596,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Item1/item1.vb" id="Snippet1"::: ]]> @@ -659,7 +659,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Item1/item1.vb" id="Snippet1"::: ]]> @@ -748,7 +748,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5/System.Collections.IStructuralComparable.CompareTo/compareto2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5/System.Collections.IStructuralComparable.CompareTo/compareto2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.compareto/vb/compareto2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/System.Collections.IStructuralComparable.CompareTo/compareto2.vb" id="Snippet2"::: ]]> @@ -828,7 +828,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Equals/equals2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5/Equals/equals2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.equals/vb/equals2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Equals/equals2.vb" id="Snippet2"::: ]]> @@ -980,7 +980,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5/System.Collections.IStructuralComparable.CompareTo/compareto1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5/System.Collections.IStructuralComparable.CompareTo/compareto1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.compareto/vb/compareto1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/System.Collections.IStructuralComparable.CompareTo/compareto1.vb" id="Snippet1"::: ]]> @@ -1150,7 +1150,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.tostring/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/ToString/tostring1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Tuple`6.xml b/xml/System/Tuple`6.xml index 9b5f596cbb8..f5b6dbbd5ae 100644 --- a/xml/System/Tuple`6.xml +++ b/xml/System/Tuple`6.xml @@ -151,7 +151,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Overview/example1.vb" id="Snippet1"::: - To return multiple values from a method without the use of `out` parameters (in C#) or `ByRef` parameters (in Visual Basic). For example, the previous example returns its computed statistics, along with the city name, in a object. @@ -227,13 +227,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet11"::: This is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet12"::: ]]> @@ -311,7 +311,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Equals/equals1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/Equals/equals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.equals/vb/equals1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Equals/equals1.vb" id="Snippet1"::: ]]> @@ -418,7 +418,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.vb" id="Snippet1"::: ]]> @@ -481,7 +481,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.vb" id="Snippet1"::: ]]> @@ -544,7 +544,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.vb" id="Snippet1"::: ]]> @@ -607,7 +607,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.vb" id="Snippet1"::: ]]> @@ -670,7 +670,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.vb" id="Snippet1"::: ]]> @@ -733,7 +733,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.vb" id="Snippet1"::: ]]> @@ -830,7 +830,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.compareto/vb/compareto2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto2.vb" id="Snippet2"::: ]]> @@ -910,7 +910,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Equals/equals2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/Equals/equals2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.equals/vb/equals2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Equals/equals2.vb" id="Snippet2"::: ]]> @@ -1062,7 +1062,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.compareto/vb/compareto1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto1.vb" id="Snippet1"::: ]]> @@ -1231,7 +1231,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.tostring/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/ToString/tostring1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Tuple`7.xml b/xml/System/Tuple`7.xml index 19d0db054cc..da4959eb788 100644 --- a/xml/System/Tuple`7.xml +++ b/xml/System/Tuple`7.xml @@ -160,7 +160,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Overview/example1.vb" id="Snippet1"::: - To return multiple values from a method without the use of `out` parameters (in C#) or `ByRef` parameters (in Visual Basic). For example, the previous example returns its computed statistics, along with the city name, in a object. @@ -238,13 +238,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet13"::: This is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet14"::: ]]> @@ -322,7 +322,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Equals/equals1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Equals/equals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.equals/vb/equals1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Equals/equals1.vb" id="Snippet1"::: ]]> @@ -429,7 +429,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.vb" id="Snippet1"::: ]]> @@ -492,7 +492,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.vb" id="Snippet1"::: ]]> @@ -555,7 +555,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.vb" id="Snippet1"::: ]]> @@ -618,7 +618,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.vb" id="Snippet1"::: ]]> @@ -681,7 +681,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.vb" id="Snippet1"::: ]]> @@ -744,7 +744,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.vb" id="Snippet1"::: ]]> @@ -807,7 +807,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.vb" id="Snippet1"::: ]]> @@ -904,7 +904,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/System.Collections.IStructuralComparable.CompareTo/compareto2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/System.Collections.IStructuralComparable.CompareTo/compareto2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.compareto/vb/compareto2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/System.Collections.IStructuralComparable.CompareTo/compareto2.vb" id="Snippet2"::: ]]> @@ -985,7 +985,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Equals/equals2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Equals/equals2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.equals/vb/equals2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Equals/equals2.vb" id="Snippet2"::: ]]> @@ -1137,7 +1137,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/System.Collections.IStructuralComparable.CompareTo/compareto1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/System.Collections.IStructuralComparable.CompareTo/compareto1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.compareto/vb/compareto1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/System.Collections.IStructuralComparable.CompareTo/compareto1.vb" id="Snippet1"::: ]]> @@ -1306,7 +1306,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.tostring/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/ToString/tostring1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Tuple`8.xml b/xml/System/Tuple`8.xml index 3f55741df20..c688dc9146d 100644 --- a/xml/System/Tuple`8.xml +++ b/xml/System/Tuple`8.xml @@ -156,13 +156,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/createntuple.cs" interactive="try-dotnet-method" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/createntuple.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/createntuple.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/createntuple.vb" id="Snippet17"::: You can also instantiate an n-tuple object with eight or more components by calling the constructor. The following example uses the constructor to create an 8-tuple that is equivalent to the tuple created in the previous example. :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Overview/octuple1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Overview/octuple1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.class/vb/octuple1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Overview/octuple1.vb" id="Snippet1"::: > [!NOTE] > To create an n-tuple with nine or more components, you must call the constructor. The static factory methods of the class do not support the creation of `Tuple` objects with more than eight components. @@ -173,7 +173,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/example.cs" id="Snippet19"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/example.fs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/example.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/example.vb" id="Snippet19"::: You can retrieve the value of the tuple's first seven components by using the read-only , , , , , , and instance properties. Any additional components are nested and can be retrieved from the property. In the previous example, the through properties retrieve the first through seventh components of the tuple. The eighth through fourteenth components are contained in the tuple that is nested at the second level, and are represented by the `Rest.Item1` through `Rest.Item7` properties. The fifteenth through seventeenth components are contained in the tuple that is nested at the third level, and are represented by the `Rest.Rest.Item1` though `Rest.Rest.Item3` properties. @@ -261,13 +261,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/createntuple.cs" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/createntuple.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/createntuple.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/createntuple.vb" id="Snippet17"::: This is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Overview/octuple1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Overview/octuple1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.class/vb/octuple1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Overview/octuple1.vb" id="Snippet1"::: However, the static method cannot be used to create a tuple object with more than eight components. @@ -288,7 +288,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/example.cs" id="Snippet19"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/example.fs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/example.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/example.vb" id="Snippet19"::: ]]> @@ -369,7 +369,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Equals/equals1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Equals/equals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.equals/vb/equals1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Equals/equals1.vb" id="Snippet1"::: ]]> @@ -476,7 +476,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.vb" id="Snippet1"::: ]]> @@ -539,7 +539,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.vb" id="Snippet1"::: ]]> @@ -602,7 +602,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.vb" id="Snippet1"::: ]]> @@ -665,7 +665,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.vb" id="Snippet1"::: ]]> @@ -728,7 +728,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.vb" id="Snippet1"::: ]]> @@ -791,7 +791,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.vb" id="Snippet1"::: ]]> @@ -854,7 +854,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.vb" id="Snippet1"::: ]]> @@ -908,7 +908,7 @@ You can dynamically determine the number of components in a nested `Tuple` object that is returned by the property by extracting the digit from its type name. The following example provides an illustration. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/rest.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/rest.vb" id="Snippet2"::: @@ -917,7 +917,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.vb" id="Snippet1"::: ]]> @@ -1014,7 +1014,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/System.Collections.IStructuralComparable.CompareTo/compareto2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/System.Collections.IStructuralComparable.CompareTo/compareto2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.compareto/vb/compareto2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/System.Collections.IStructuralComparable.CompareTo/compareto2.vb" id="Snippet2"::: ]]> @@ -1237,7 +1237,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/System.Collections.IStructuralComparable.CompareTo/compareto1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/System.Collections.IStructuralComparable.CompareTo/compareto1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.compareto/vb/compareto1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/System.Collections.IStructuralComparable.CompareTo/compareto1.vb" id="Snippet1"::: ]]> @@ -1410,7 +1410,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.tostring/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/ToString/tostring1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Type.xml b/xml/System/Type.xml index 97cbad5fcec..15373d20539 100644 --- a/xml/System/Type.xml +++ b/xml/System/Type.xml @@ -101,7 +101,7 @@ The code example uses the to invoke the This type is thread safe. @@ -255,7 +255,7 @@ The code example uses the to invoke the @@ -361,13 +361,13 @@ TopNamespace.Sub\+Namespace.ContainingClass+NestedClass, MyAssembly, Version=1.3 :::code language="csharp" source="~/snippets/csharp/System/Type/Assembly/type_assembly.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/Assembly/type_assembly.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_Assembly/VB/type_assembly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/Assembly/type_assembly.vb" id="Snippet1"::: The following example compares the strings returned by the method and the , , and `AssemblyQualifiedName` properties. :::code language="csharp" source="~/snippets/csharp/System/Type/AssemblyQualifiedName/fullname1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/AssemblyQualifiedName/fullname1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.tostring/vb/fullname1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/AssemblyQualifiedName/fullname1.vb" id="Snippet1"::: ]]> @@ -439,7 +439,7 @@ TopNamespace.Sub\+Namespace.ContainingClass+NestedClass, MyAssembly, Version=1.3 The following example uses the property. :::code language="csharp" source="~/snippets/csharp/System/Type/Attributes/attributes1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.attributes/vb/attributes1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/Attributes/attributes1.vb" id="Snippet1"::: ]]> @@ -507,7 +507,7 @@ TopNamespace.Sub\+Namespace.ContainingClass+NestedClass, MyAssembly, Version=1.3 :::code language="csharp" source="~/snippets/csharp/System/Type/BaseType/remarks.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/BaseType/remarks.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.basetype/vb/remarks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/BaseType/remarks.vb" id="Snippet1"::: For the constructed type `C` (`C(Of Integer)` in Visual Basic), the property returns `B`. @@ -522,13 +522,13 @@ TopNamespace.Sub\+Namespace.ContainingClass+NestedClass, MyAssembly, Version=1.3 :::code language="csharp" source="~/snippets/csharp/System/Type/BaseType/testbasetype.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/BaseType/testbasetype.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TestBaseType/VB/testbasetype.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/BaseType/testbasetype.vb" id="Snippet1"::: The following example uses recursion to list the complete inheritance hierarchy of each class found in an assembly. The example defines a class named `C` that derives from a class named `B`, which, in turn, derives from a class named `A`. :::code language="csharp" source="~/snippets/csharp/System/Type/BaseType/basetype3.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/BaseType/basetype3.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.basetype/vb/basetype3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/BaseType/basetype3.vb" id="Snippet2"::: ]]> @@ -597,7 +597,7 @@ TopNamespace.Sub\+Namespace.ContainingClass+NestedClass, MyAssembly, Version=1.3 :::code language="csharp" source="~/snippets/csharp/System/Type/ContainsGenericParameters/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/ContainsGenericParameters/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.HasUnboundGenericParameters/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/ContainsGenericParameters/source.vb" id="Snippet1"::: ]]> @@ -680,7 +680,7 @@ TopNamespace.Sub\+Namespace.ContainingClass+NestedClass, MyAssembly, Version=1.3 :::code language="csharp" source="~/snippets/csharp/System/Type/DeclaringMethod/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/DeclaringMethod/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/MethodInfo.Generics/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/DeclaringMethod/source.vb" id="Snippet1"::: ]]> @@ -754,7 +754,7 @@ TopNamespace.Sub\+Namespace.ContainingClass+NestedClass, MyAssembly, Version=1.3 :::code language="csharp" source="~/snippets/csharp/System/Type/DeclaringType/remarks.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/DeclaringType/remarks.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.declaringtype/vb/remarks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/DeclaringType/remarks.vb" id="Snippet1"::: If the current represents a type parameter in the definition of a generic type or generic method, the and properties identify the generic type definition or generic method definition where the generic type parameter was originally defined: @@ -858,7 +858,7 @@ TopNamespace.Sub\+Namespace.ContainingClass+NestedClass, MyAssembly, Version=1.3 :::code language="csharp" source="~/snippets/csharp/System/Type/DefaultBinder/type_defaultbinder.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/DefaultBinder/type_defaultbinder.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_DefaultBinder/VB/type_defaultbinder.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/DefaultBinder/type_defaultbinder.vb" id="Snippet1"::: ]]> @@ -1040,7 +1040,7 @@ TopNamespace.Sub\+Namespace.ContainingClass+NestedClass, MyAssembly, Version=1.3 :::code language="csharp" source="~/snippets/csharp/System/Type/Equals/EqualsEx1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/Equals/EqualsEx1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Type.Equals/vb/EqualsEx1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/Equals/EqualsEx1.vb" id="Snippet1"::: Two things are particularly worth noting about the example: @@ -1181,7 +1181,7 @@ TopNamespace.Sub\+Namespace.ContainingClass+NestedClass, MyAssembly, Version=1.3 :::code language="csharp" source="~/snippets/csharp/System/Type/FilterAttribute/type_filterattribute.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/FilterAttribute/type_filterattribute.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_FilterAttribute/VB/type_filterattribute.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/FilterAttribute/type_filterattribute.vb" id="Snippet1"::: ]]> @@ -1301,7 +1301,7 @@ TopNamespace.Sub\+Namespace.ContainingClass+NestedClass, MyAssembly, Version=1.3 :::code language="csharp" source="~/snippets/csharp/System/Type/FilterNameIgnoreCase/type_filternameignorecase.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/FilterNameIgnoreCase/type_filternameignorecase.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_FilterNameIgnoreCase/VB/type_filternameignorecase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/FilterNameIgnoreCase/type_filternameignorecase.vb" id="Snippet1"::: ]]> @@ -1394,7 +1394,7 @@ TopNamespace.Sub\+Namespace.ContainingClass+NestedClass, MyAssembly, Version=1.3 :::code language="csharp" source="~/snippets/csharp/System/Type/FindInterfaces/type_findinterfaces.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/FindInterfaces/type_findinterfaces.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_FindInterfaces/VB/type_findinterfaces.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/FindInterfaces/type_findinterfaces.vb" id="Snippet1"::: ]]> @@ -1529,7 +1529,7 @@ The `filter` argument can be a custom delegate of type @@ -1605,7 +1605,7 @@ The `filter` argument can be a custom delegate of type object represents an array type, a pointer type, or a `byref` type that is based on a generic type parameter. @@ -1623,7 +1623,7 @@ The `filter` argument can be a custom delegate of type property returns `true`), but the type is not a generic type definition (that is, the property returns `false` @@ -1631,7 +1631,7 @@ The `filter` argument can be a custom delegate of type that is not `null`, you can use the method to get the generic type definition, as the example illustrates. @@ -1644,13 +1644,13 @@ The `filter` argument can be a custom delegate of type method and the , `FullName`, and properties. :::code language="csharp" source="~/snippets/csharp/System/Type/AssemblyQualifiedName/fullname1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/AssemblyQualifiedName/fullname1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.tostring/vb/fullname1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/AssemblyQualifiedName/fullname1.vb" id="Snippet1"::: ]]> @@ -1713,7 +1713,7 @@ The `filter` argument can be a custom delegate of type @@ -1783,7 +1783,7 @@ The `filter` argument can be a custom delegate of type for `GetSomething`, and from that you can obtain the return type. When you examine the type parameters of the return type, returns 0 for both. The position of `V` is 0 because `V` is the first type parameter in the type parameter list for class `A`. The position of `X` is 0 because `X` is the first type parameter in the type parameter list for `GetSomething`. @@ -1797,7 +1797,7 @@ The `filter` argument can be a custom delegate of type @@ -1925,7 +1925,7 @@ The `filter` argument can be a custom delegate of type @@ -2076,7 +2076,7 @@ The `filter` argument can be a custom delegate of type @@ -2262,7 +2262,7 @@ The `filter` argument can be a custom delegate of type @@ -2424,7 +2424,7 @@ The `filter` argument can be a custom delegate of type @@ -2899,7 +2899,7 @@ If the current represents a generic type parameter, the @@ -2970,7 +2970,7 @@ If the current represents a generic type parameter, the @@ -3327,7 +3327,7 @@ If the current represents a generic type parameter, the @@ -3438,7 +3438,7 @@ If the current represents a generic type parameter, the @@ -3553,7 +3553,7 @@ If the current represents a generic type parameter, the @@ -3657,7 +3657,7 @@ If the current represents a generic type parameter, the @@ -3755,7 +3755,7 @@ If the current represents a generic type parameter, the @@ -3883,7 +3883,7 @@ If the current represents a generic type parameter, the @@ -3995,7 +3995,7 @@ If the current represents a generic type parameter, the @@ -4282,7 +4282,7 @@ In .NET 6 and earlier versions, the method does :::code language="csharp" source="~/snippets/csharp/System/Type/IsGenericParameter/source.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsGenericParameter/source.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericTypeDefinition/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsGenericParameter/source.vb" id="Snippet2"::: ]]> @@ -4346,7 +4346,7 @@ In .NET 6 and earlier versions, the method does :::code language="csharp" source="~/snippets/csharp/System/Type/GenericParameterAttributes/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GenericParameterAttributes/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.GetGenericParameterConstraints/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GenericParameterAttributes/source.vb" id="Snippet1"::: ]]> @@ -4422,7 +4422,7 @@ In .NET 6 and earlier versions, the method does :::code language="csharp" source="~/snippets/csharp/System/Type/GetGenericTypeDefinition/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetGenericTypeDefinition/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.GetGenericTypeDefinition/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetGenericTypeDefinition/source.vb" id="Snippet1"::: ]]> @@ -4500,7 +4500,7 @@ In .NET 6 and earlier versions, the method does :::code language="csharp" source="~/snippets/csharp/System/Type/GetHashCode/type_gethashcode_getfields.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetHashCode/type_gethashcode_getfields.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetHashCode_GetFields/VB/type_gethashcode_getfields.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetHashCode/type_gethashcode_getfields.vb" id="Snippet1"::: ]]> @@ -4603,7 +4603,7 @@ In .NET 6 and earlier versions, the method does :::code language="csharp" source="~/snippets/csharp/System/Type/GetInterface/type_getinterface.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetInterface/type_getinterface.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetInterface/VB/type_getinterface.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetInterface/type_getinterface.vb" id="Snippet1"::: ]]> @@ -4706,7 +4706,7 @@ In .NET 6 and earlier versions, the method does :::code language="csharp" source="~/snippets/csharp/System/Type/GetInterface/type_getinterface.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetInterface/type_getinterface.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetInterface/VB/type_getinterface.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetInterface/type_getinterface.vb" id="Snippet2"::: ]]> @@ -4791,7 +4791,7 @@ In .NET 6 and earlier versions, the method does :::code language="csharp" source="~/snippets/csharp/System/Type/GetInterfaceMap/interfacemapping1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetInterfaceMap/interfacemapping1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.getinterfacemap/vb/interfacemapping1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetInterfaceMap/interfacemapping1.vb" id="Snippet1"::: ]]> @@ -4888,7 +4888,7 @@ The current instance or argument is an open ge :::code language="csharp" source="~/snippets/csharp/System/Type/GetInterfaces/type_getinterfaces1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetInterfaces/type_getinterfaces1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetInterfaces1/VB/type_getinterfaces1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetInterfaces/type_getinterfaces1.vb" id="Snippet1"::: ]]> @@ -5004,7 +5004,7 @@ The current instance or argument is an open ge :::code language="csharp" source="~/snippets/csharp/System/Type/GetMember/type_getmember.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetMember/type_getmember.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetMember/VB/type_getmember.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetMember/type_getmember.vb" id="Snippet1"::: ]]> @@ -5124,7 +5124,7 @@ The current instance or argument is an open ge :::code language="csharp" source="~/snippets/csharp/System/Type/GetMember/type_getmember.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetMember/type_getmember.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetMember/VB/type_getmember.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetMember/type_getmember.vb" id="Snippet2"::: ]]> @@ -5244,7 +5244,7 @@ The current instance or argument is an open ge :::code language="csharp" source="~/snippets/csharp/System/Type/GetMember/type_getmember.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetMember/type_getmember.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetMember/VB/type_getmember.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetMember/type_getmember.vb" id="Snippet3"::: ]]> @@ -5366,7 +5366,7 @@ Members include properties, methods, constructors, fields, events, and nested ty :::code language="csharp" source="~/snippets/csharp/System/Type/GetMembers/type_getmembers1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetMembers/type_getmembers1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetMembers1/VB/type_getmembers1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetMembers/type_getmembers1.vb" id="Snippet1"::: ]]> @@ -5482,7 +5482,7 @@ In .NET 6 and earlier versions, the method does :::code language="csharp" source="~/snippets/csharp/System/Type/GetMembers/type_getmembers2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetMembers/type_getmembers2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetMembers2/VB/type_getmembers2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetMembers/type_getmembers2.vb" id="Snippet1"::: ]]> @@ -5622,7 +5622,7 @@ This method can be used to find a constructed generic member given a member from :::code language="csharp" source="~/snippets/csharp/System/Type/GetMethod/GetMethodWithOverloads2.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetMethod/GetMethodWithOverloads2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Type.GetMethod/vb/GetMethodWithOverloads2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetMethod/GetMethodWithOverloads2.vb" id="Snippet3"::: You can do one of the following to retrieve a specific method: @@ -5646,7 +5646,7 @@ This method can be used to find a constructed generic member given a member from :::code language="csharp" source="~/snippets/csharp/System/Type/GetMethod/type_getmethod1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetMethod/type_getmethod1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetMethod1/VB/type_getmethod1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetMethod/type_getmethod1.vb" id="Snippet1"::: ]]> @@ -5755,7 +5755,7 @@ This method can be used to find a constructed generic member given a member from :::code language="csharp" source="~/snippets/csharp/System/Type/GetMethod/GetMethodWithOverloads1.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetMethod/GetMethodWithOverloads1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Type.GetMethod/vb/GetMethodWithOverloads1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetMethod/GetMethodWithOverloads1.vb" id="Snippet2"::: You can do one of the following to retrieve a specific method: @@ -5779,7 +5779,7 @@ This method can be used to find a constructed generic member given a member from :::code language="csharp" source="~/snippets/csharp/System/Type/GetMethod/type_getmethod2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetMethod/type_getmethod2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetMethod2/VB/type_getmethod2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetMethod/type_getmethod2.vb" id="Snippet1"::: ]]> @@ -5887,13 +5887,13 @@ This method can be used to find a constructed generic member given a member from :::code language="csharp" source="~/snippets/csharp/System/Type/GetMethod/type_getmethod4.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetMethod/type_getmethod4.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetMethod4/VB/type_getmethod4.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetMethod/type_getmethod4.vb" id="Snippet1"::: The following example retrieves objects that represent the `Add` methods of a non-generic type (the class), an open generic type (the class), and a closed generic type (the `List(Of String)` type. :::code language="csharp" source="~/snippets/csharp/System/Type/GetMethod/GetMethod1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetMethod/GetMethod1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Type.GetMethod/vb/GetMethod1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetMethod/GetMethod1.vb" id="Snippet1"::: The example defines a `GetAddMethod` method that retrieves the appropriate object. To provide the `types` argument for an open generic type, it calls the method. To provide the `types` argument for a closed generic type, it retrieves the value of the property. @@ -6436,7 +6436,7 @@ One of the elements in the array is @@ -6714,7 +6714,7 @@ One of the elements in the array is @@ -7275,7 +7275,7 @@ If the current represents a type parameter in the definition The following example creates a class with two public methods and one protected method, creates a `Type` object corresponding to `MyTypeClass`, gets all public and non-public methods, and displays their names. :::code language="csharp" source="~/snippets/csharp/System/Type/GetMethods/type_getmethods2.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetMethods2/VB/type_getmethods2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetMethods/type_getmethods2.vb" id="Snippet1"::: ]]> @@ -7605,7 +7605,7 @@ If the current represents a type parameter in the definition The following example defines a nested class and a `struct` in `MyClass`, and then obtains objects of the nested types using the type of `MyClass`. :::code language="csharp" source="~/snippets/csharp/System/Type/GetNestedTypes/type_getnestedtypes.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetNestedTypes/VB/type_getnestedtypes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetNestedTypes/type_getnestedtypes.vb" id="Snippet1"::: ]]> @@ -7706,7 +7706,7 @@ If the current represents a type parameter in the definition The following example creates two nested public classes and two nested protected classes, and displays information for classes that match the specified binding constraints. :::code language="csharp" source="~/snippets/csharp/System/Type/GetNestedTypes/type_getnestedclassesabs.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetNestedClassesAbs/VB/type_getnestedclassesabs.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetNestedTypes/type_getnestedclassesabs.vb" id="Snippet1"::: ]]> @@ -7863,7 +7863,7 @@ If the current represents a type parameter in the definition :::code language="csharp" source="~/snippets/csharp/System/Type/GetProperties/type_gettypecode.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetProperties/type_gettypecode.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetTypeCode/VB/type_gettypecode.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetProperties/type_gettypecode.vb" id="Snippet2"::: ]]> @@ -7971,7 +7971,7 @@ In .NET 6 and earlier versions, the method d :::code language="csharp" source="~/snippets/csharp/System/Type/GetProperties/type_getproperties2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetProperties/type_getproperties2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetProperties2/VB/type_getproperties2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetProperties/type_getproperties2.vb" id="Snippet1"::: ]]> @@ -8153,7 +8153,7 @@ The following example retrieves the `Type` object of a user-defined class, retri :::code language="csharp" source="~/snippets/csharp/System/Type/GetProperty/type_getproperty2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetProperty/type_getproperty2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetProperty2/VB/type_getproperty2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetProperty/type_getproperty2.vb" id="Snippet1"::: ]]> @@ -8249,7 +8249,7 @@ The following example retrieves the `Type` object of a user-defined class, retri :::code language="csharp" source="~/snippets/csharp/System/Type/GetProperty/type_getproperty_types.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetProperty/type_getproperty_types.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetProperty_Types/VB/type_getproperty_types.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetProperty/type_getproperty_types.vb" id="Snippet1"::: ]]> @@ -8347,7 +8347,7 @@ The following example retrieves the `Type` object of a user-defined class, retri :::code language="csharp" source="~/snippets/csharp/System/Type/GetProperty/type_getproperty3.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetProperty/type_getproperty3.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetProperty3/VB/type_getproperty3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetProperty/type_getproperty3.vb" id="Snippet1"::: ]]> @@ -8573,7 +8573,7 @@ The following example retrieves the `Type` object of a user-defined class, retri :::code language="csharp" source="~/snippets/csharp/System/Type/GetProperty/type_getproperty21.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetProperty/type_getproperty21.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetProperty5/VB/type_getproperty2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetProperty/type_getproperty21.vb" id="Snippet1"::: ]]> @@ -9144,7 +9144,7 @@ Type.GetType("System.Collections.Generic.Dictionary`2[System.String,[MyType,MyAs :::code language="csharp" source="~/snippets/csharp/System/Type/GetType/type_gettype.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetType/type_gettype.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetType/VB/type_gettype.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetType/type_gettype.vb" id="Snippet1"::: ]]> @@ -9356,7 +9356,7 @@ Type.GetType("System.Collections.Generic.Dictionary`2[System.String,[MyType,MyAs :::code language="csharp" source="~/snippets/csharp/System/Type/GetType/type_gettype.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetType/type_gettype.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_GetType/VB/type_gettype.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetType/type_gettype.vb" id="Snippet1"::: ]]> @@ -10077,7 +10077,7 @@ Calling this method overload is the same as calling the @@ -10147,7 +10147,7 @@ Calling this method overload is the same as calling the @@ -10294,7 +10294,7 @@ Calling this method overload is the same as calling the @@ -10303,7 +10303,7 @@ Calling this method overload is the same as calling the should only be used to retrieve the GUID of an unmanaged COM object, and the resulting object that is passed to the method must represent an unmanaged COM object. @@ -10396,7 +10396,7 @@ Calling this method overload is the same as calling the @@ -10405,7 +10405,7 @@ Calling this method overload is the same as calling the should only be used to retrieve the GUID of an unmanaged COM object, and the resulting object that is passed to the method must represent an unmanaged COM object. @@ -10489,7 +10489,7 @@ Calling this method overload is the same as calling the @@ -10498,7 +10498,7 @@ Calling this method overload is the same as calling the should only be used to retrieve the GUID of an unmanaged COM object, and the resulting object that is passed to the method must represent an unmanaged COM object. @@ -10591,7 +10591,7 @@ Calling this method overload is the same as calling the @@ -10600,7 +10600,7 @@ Calling this method overload is the same as calling the should only be used to retrieve the GUID of an unmanaged COM object, and the resulting object that is passed to the method must represent an unmanaged COM object. @@ -10672,7 +10672,7 @@ Calling this method overload is the same as calling the @@ -10843,7 +10843,7 @@ Calling this method overload is the same as calling the @@ -10928,7 +10928,7 @@ Calling this method overload is the same as calling the @@ -11019,7 +11019,7 @@ Calling this method overload is the same as calling the @@ -11085,7 +11085,7 @@ Calling this method overload is the same as calling the @@ -11150,7 +11150,7 @@ Calling this method overload is the same as calling the @@ -11218,7 +11218,7 @@ Calling this method overload is the same as calling the @@ -11283,7 +11283,7 @@ Calling this method overload is the same as calling the @@ -11471,7 +11471,7 @@ Calling this method overload is the same as calling the @@ -12092,7 +12092,7 @@ Calling this method overload is the same as calling the @@ -12158,7 +12158,7 @@ Calling this method overload is the same as calling the @@ -12243,7 +12243,7 @@ GetType(Array).IsAssignableFrom(type) :::code language="csharp" source="~/snippets/csharp/System/Type/IsArray/isarray2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsArray/isarray2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isarray/vb/isarray2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsArray/isarray2.vb" id="Snippet1"::: ]]> @@ -12303,7 +12303,7 @@ GetType(Array).IsAssignableFrom(type) :::code language="csharp" source="~/snippets/csharp/System/Type/IsArrayImpl/type_isarrayimpl.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsArrayImpl/type_isarrayimpl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_IsArrayImpl/VB/type_isarrayimpl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsArrayImpl/type_isarrayimpl.vb" id="Snippet1"::: ]]> @@ -12390,13 +12390,13 @@ GetType(Array).IsAssignableFrom(type) :::code language="csharp" source="~/snippets/csharp/System/Type/IsAssignableFrom/IsAssignableFrom3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsAssignableFrom/IsAssignableFrom3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isassignablefrom/vb/IsAssignableFrom3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsAssignableFrom/IsAssignableFrom3.vb" id="Snippet3"::: This method thus ensures that a line of code like the following will execute at runtime without throwing an exception or a similar exception: :::code language="csharp" source="~/snippets/csharp/System/Type/IsAssignableFrom/IsAssignableFrom3.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsAssignableFrom/IsAssignableFrom3.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isassignablefrom/vb/IsAssignableFrom3.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsAssignableFrom/IsAssignableFrom3.vb" id="Snippet4"::: This method can be overridden by a derived class. @@ -12407,7 +12407,7 @@ GetType(Array).IsAssignableFrom(type) :::code language="csharp" source="~/snippets/csharp/System/Type/IsAssignableFrom/isassignablefrom_ex1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsAssignableFrom/isassignablefrom_ex1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isassignablefrom/vb/isassignablefrom_ex1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsAssignableFrom/isassignablefrom_ex1.vb" id="Snippet1"::: @@ -12416,13 +12416,13 @@ GetType(Array).IsAssignableFrom(type) :::code language="csharp" source="~/snippets/csharp/System/Type/IsAssignableFrom/testisassignablefrom.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsAssignableFrom/testisassignablefrom.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TestIsAssignableFrom/VB/testisassignablefrom.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsAssignableFrom/testisassignablefrom.vb" id="Snippet1"::: In the following example, the current instance is a object that represents the class. `GenericWithConstraint` is a generic type whose generic type parameter must be of type . Passing its generic type parameter to the `IsAssignableFrom` method indicates that an instance of the generic type parameter can be assigned to an object. :::code language="csharp" source="~/snippets/csharp/System/Type/IsAssignableFrom/IsAssignableFrom2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsAssignableFrom/IsAssignableFrom2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isassignablefrom/vb/IsAssignableFrom2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsAssignableFrom/IsAssignableFrom2.vb" id="Snippet2"::: ]]> @@ -12608,7 +12608,7 @@ GetType(Array).IsAssignableFrom(type) :::code language="csharp" source="~/snippets/csharp/System/Type/IsAutoLayout/type_isautolayout.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsAutoLayout/type_isautolayout.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_IsAutoLayout/VB/type_isautolayout.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsAutoLayout/type_isautolayout.vb" id="Snippet1"::: ]]> @@ -12680,7 +12680,7 @@ GetType(Array).IsAssignableFrom(type) :::code language="csharp" source="~/snippets/csharp/System/Type/HasElementTypeImpl/type_haselementtypeimpl.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/HasElementTypeImpl/type_haselementtypeimpl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_HasElementTypeImpl/VB/type_haselementtypeimpl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/HasElementTypeImpl/type_haselementtypeimpl.vb" id="Snippet1"::: ]]> @@ -12838,7 +12838,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance :::code language="csharp" source="~/snippets/csharp/System/Type/IsClass/type_isclass.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsClass/type_isclass.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_IsClass/VB/type_isclass.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsClass/type_isclass.vb" id="Snippet1"::: ]]> @@ -13071,7 +13071,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance :::code language="csharp" source="~/snippets/csharp/System/Type/IsContextful/type_iscontextful.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsContextful/type_iscontextful.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_IsContextful/VB/type_iscontextful.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsContextful/type_iscontextful.vb" id="Snippet1"::: ]]> @@ -13133,7 +13133,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance :::code language="csharp" source="~/snippets/csharp/System/Type/IsContextfulImpl/type_iscontextfulimpl.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsContextfulImpl/type_iscontextfulimpl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_IsContextfulImpl/VB/type_iscontextfulimpl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsContextfulImpl/type_iscontextfulimpl.vb" id="Snippet1"::: ]]> @@ -13210,7 +13210,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance :::code language="csharp" source="~/snippets/csharp/System/Type/IsEnum/testisenum.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsEnum/testisenum.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TestIsEnum/VB/testisenum.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsEnum/testisenum.vb" id="Snippet1"::: ]]> @@ -13393,7 +13393,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance :::code language="csharp" source="~/snippets/csharp/System/Type/IsExplicitLayout/type_isexplicitlayout.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsExplicitLayout/type_isexplicitlayout.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_IsExplicitLayout/VB/type_isexplicitlayout.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsExplicitLayout/type_isexplicitlayout.vb" id="Snippet1"::: ]]> @@ -13536,7 +13536,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance :::code language="csharp" source="~/snippets/csharp/System/Type/GetGenericArguments/source.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetGenericArguments/source.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericParameter/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetGenericArguments/source.vb" id="Snippet2"::: ]]> @@ -13610,7 +13610,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance :::code language="csharp" source="~/snippets/csharp/System/Type/IsGenericType/remarks.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsGenericType/remarks.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericType/vb/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsGenericType/remarks.vb" id="Snippet2"::: The following table shows examples that use and build on the classes `Base`, `Derived`, and `G`. When the C++ and C# code is the same, only one entry is shown. @@ -13630,7 +13630,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance :::code language="csharp" source="~/snippets/csharp/System/Type/IsGenericType/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsGenericType/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericType/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsGenericType/source.vb" id="Snippet1"::: ]]> @@ -13695,7 +13695,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance :::code language="csharp" source="~/snippets/csharp/System/Type/IsGenericParameter/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsGenericParameter/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericTypeDefinition/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsGenericParameter/source.vb" id="Snippet1"::: ]]> @@ -13872,7 +13872,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance :::code language="csharp" source="~/snippets/csharp/System/Type/IsInstanceOfType/testisinstanceoftype.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsInstanceOfType/testisinstanceoftype.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TestIsInstanceOfType/VB/testisinstanceoftype.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsInstanceOfType/testisinstanceoftype.vb" id="Snippet1"::: ]]> @@ -13943,7 +13943,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance :::code language="csharp" source="~/snippets/csharp/System/Type/IsInterface/type_isinterface.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsInterface/type_isinterface.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_IsInterface/VB/type_isinterface.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsInterface/type_isinterface.vb" id="Snippet1"::: ]]> @@ -14016,7 +14016,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance :::code language="csharp" source="~/snippets/csharp/System/Type/IsLayoutSequential/type_islayoutsequential.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsLayoutSequential/type_islayoutsequential.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_IsLayoutSequential/VB/type_islayoutsequential.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsLayoutSequential/type_islayoutsequential.vb" id="Snippet1"::: ]]> @@ -14076,7 +14076,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance :::code language="csharp" source="~/snippets/csharp/System/Type/IsContextful/type_iscontextful.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsContextful/type_iscontextful.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_IsContextful/VB/type_iscontextful.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsContextful/type_iscontextful.vb" id="Snippet1"::: ]]> @@ -14136,7 +14136,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance :::code language="csharp" source="~/snippets/csharp/System/Type/IsMarshalByRefImpl/type_ismarshalbyrefimpl.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsMarshalByRefImpl/type_ismarshalbyrefimpl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_IsMarshalByRefImpl/VB/type_ismarshalbyrefimpl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsMarshalByRefImpl/type_ismarshalbyrefimpl.vb" id="Snippet1"::: ]]> @@ -14206,7 +14206,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance The following example creates an outer class with a number of nested classes that have various types of visibility. It then retrieves the value of a number of visibility-related properties for the parent type and each of its nested types. :::code language="csharp" source="~/snippets/csharp/System/Type/IsNested/isnestedfamilyandassembly1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isnestedfamandassem/vb/isnestedfamilyandassembly1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsNested/isnestedfamilyandassembly1.vb" id="Snippet1"::: ]]> @@ -14274,7 +14274,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance The following example creates an outer class with a number of nested classes that have various types of visibility. It then retrieves the value of a number of visibility-related properties for the parent type and each of its nested types. :::code language="csharp" source="~/snippets/csharp/System/Type/IsNested/isnestedfamilyandassembly1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isnestedfamandassem/vb/isnestedfamilyandassembly1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsNested/isnestedfamilyandassembly1.vb" id="Snippet1"::: ]]> @@ -14342,7 +14342,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance The following example creates an outer class with a number of nested classes that have various types of visibility. It then retrieves the value of a number of visibility-related properties for the parent type and each of its nested types. :::code language="csharp" source="~/snippets/csharp/System/Type/IsNested/isnestedfamilyandassembly1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isnestedfamandassem/vb/isnestedfamilyandassembly1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsNested/isnestedfamilyandassembly1.vb" id="Snippet1"::: ]]> @@ -14407,7 +14407,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance The following example creates an outer class with a number of nested classes that have various types of visibility. It then retrieves the value of a number of visibility-related properties for the parent type and each of its nested types. :::code language="csharp" source="~/snippets/csharp/System/Type/IsNested/isnestedfamilyandassembly1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isnestedfamandassem/vb/isnestedfamilyandassembly1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsNested/isnestedfamilyandassembly1.vb" id="Snippet1"::: ]]> @@ -14474,7 +14474,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance The following example creates an outer class with a number of nested classes that have various types of visibility. It then retrieves the value of a number of visibility-related properties for the parent type and each of its nested types. :::code language="csharp" source="~/snippets/csharp/System/Type/IsNested/isnestedfamilyandassembly1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isnestedfamandassem/vb/isnestedfamilyandassembly1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsNested/isnestedfamilyandassembly1.vb" id="Snippet1"::: ]]> @@ -14537,7 +14537,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance The following example creates an outer class with a number of nested classes that have various types of visibility. It then retrieves the value of a number of visibility-related properties for the parent type and each of its nested types. :::code language="csharp" source="~/snippets/csharp/System/Type/IsNested/isnestedfamilyandassembly1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isnestedfamandassem/vb/isnestedfamilyandassembly1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsNested/isnestedfamilyandassembly1.vb" id="Snippet1"::: ]]> @@ -14606,7 +14606,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance The following example creates an outer class with a number of nested classes that have various types of visibility. It then retrieves the value of a number of visibility-related properties for the parent type and each of its nested types. :::code language="csharp" source="~/snippets/csharp/System/Type/IsNested/isnestedfamilyandassembly1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isnestedfamandassem/vb/isnestedfamilyandassembly1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsNested/isnestedfamilyandassembly1.vb" id="Snippet1"::: ]]> @@ -14755,7 +14755,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance :::code language="csharp" source="~/snippets/csharp/System/Type/HasElementTypeImpl/type_haselementtypeimpl.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/HasElementTypeImpl/type_haselementtypeimpl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_HasElementTypeImpl/VB/type_haselementtypeimpl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/HasElementTypeImpl/type_haselementtypeimpl.vb" id="Snippet1"::: ]]> @@ -14863,7 +14863,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance :::code language="csharp" source="~/snippets/csharp/System/Type/IsContextful/type_iscontextful.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsContextful/type_iscontextful.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_IsContextful/VB/type_iscontextful.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsContextful/type_iscontextful.vb" id="Snippet1"::: ]]> @@ -14935,7 +14935,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance :::code language="csharp" source="~/snippets/csharp/System/Type/IsPrimitiveImpl/type_isprimitiveimpl.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsPrimitiveImpl/type_isprimitiveimpl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_IsPrimitiveImpl/VB/type_isprimitiveimpl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsPrimitiveImpl/type_isprimitiveimpl.vb" id="Snippet1"::: ]]> @@ -15019,7 +15019,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance :::code language="csharp" source="~/snippets/csharp/System/Type/IsPublic/type_ispublic.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsPublic/type_ispublic.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type.IsPublic/VB/type_ispublic.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsPublic/type_ispublic.vb" id="Snippet1"::: For nested classes, ignore the results of `IsPublic` and `IsNotPublic` and pay attention only to the results of and . @@ -15083,7 +15083,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance :::code language="csharp" source="~/snippets/csharp/System/Type/IsSealed/type_issealed.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsSealed/type_issealed.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_IsSealed/VB/type_issealed.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsSealed/type_issealed.vb" id="Snippet1"::: ]]> @@ -15343,7 +15343,7 @@ Types that are defined in the .NET Standard are not marked with @@ -15522,7 +15522,7 @@ A signature type is a restricted type that can be passed to the represents a type parameter in the definition of a generic type or generic method, it derives from its class constraint or from if it has no class constraint. @@ -15538,7 +15538,7 @@ A signature type is a restricted type that can be passed to the @@ -15778,7 +15778,7 @@ A signature type is a restricted type that can be passed to the @@ -15951,7 +15951,7 @@ If the value of this property is `true` for an array type, it can be used to cre :::code language="csharp" source="~/snippets/csharp/System/Type/IsVisible/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsVisible/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsVisible/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsVisible/source.vb" id="Snippet1"::: ]]> @@ -15976,7 +15976,7 @@ If the value of this property is `true` for an array type, it can be used to cre :::code language="csharp" source="~/snippets/csharp/System/Type/MakeByRefType/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/MakeByRefType/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.MakeXxxType/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/MakeByRefType/source.vb" id="Snippet1"::: ]]> @@ -16197,7 +16197,7 @@ If the value of this property is `true` for an array type, it can be used to cre :::code language="csharp" source="~/snippets/csharp/System/Type/MakeByRefType/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/MakeByRefType/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.MakeXxxType/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/MakeByRefType/source.vb" id="Snippet1"::: ]]> @@ -16459,7 +16459,7 @@ The following example uses the method to c :::code language="csharp" source="~/snippets/csharp/System/Type/MakeByRefType/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/MakeByRefType/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.MakeXxxType/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/MakeByRefType/source.vb" id="Snippet1"::: ]]> @@ -16663,7 +16663,7 @@ The following example uses the method to c :::code language="csharp" source="~/snippets/csharp/System/Type/Module/type_tostring.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/Module/type_tostring.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_ToString/VB/type_tostring.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/Module/type_tostring.vb" id="Snippet1"::: ]]> @@ -16769,7 +16769,7 @@ The following example uses the method to c :::code language="csharp" source="~/snippets/csharp/System/Type/Module/type_tostring.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/Module/type_tostring.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_ToString/VB/type_tostring.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/Module/type_tostring.vb" id="Snippet1"::: ]]> @@ -17139,7 +17139,7 @@ The following example uses the method to c :::code language="csharp" source="~/snippets/csharp/System/Type/StructLayoutAttribute/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/StructLayoutAttribute/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type.StructLayoutAttribute/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/StructLayoutAttribute/source.vb" id="Snippet1"::: ]]> @@ -17406,13 +17406,13 @@ The following example uses the method to c :::code language="csharp" source="~/snippets/csharp/System/Type/Module/type_tostring.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/Module/type_tostring.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_ToString/VB/type_tostring.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/Module/type_tostring.vb" id="Snippet1"::: The following example compares the strings returned by the `ToString` method and the , , and properties. :::code language="csharp" source="~/snippets/csharp/System/Type/AssemblyQualifiedName/fullname1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/AssemblyQualifiedName/fullname1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.tostring/vb/fullname1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/AssemblyQualifiedName/fullname1.vb" id="Snippet1"::: ]]> @@ -17480,7 +17480,7 @@ The following example uses the method to c :::code language="csharp" source="~/snippets/csharp/System/Type/TypeHandle/type_typehandle.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/TypeHandle/type_typehandle.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Type_TypeHandle/VB/type_typehandle.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/TypeHandle/type_typehandle.vb" id="Snippet1"::: ]]> diff --git a/xml/System/TypeCode.xml b/xml/System/TypeCode.xml index f49fa67ab00..18b36d818f0 100644 --- a/xml/System/TypeCode.xml +++ b/xml/System/TypeCode.xml @@ -71,7 +71,7 @@ The following code example demonstrates how the enumeration can be used. In a decision block inside the WriteObjectInfo method, the of an parameter is examined, and an appropriate message is written to the console. :::code language="csharp" source="~/snippets/csharp/System/Type/GetTypeCode/iconvertible.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TypeCode/VB/iconvertible.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetTypeCode/iconvertible.vb" id="Snippet2"::: ]]> diff --git a/xml/System/TypeLoadException.xml b/xml/System/TypeLoadException.xml index 82a40161832..78a8f2d92f0 100644 --- a/xml/System/TypeLoadException.xml +++ b/xml/System/TypeLoadException.xml @@ -224,7 +224,7 @@ The exact timing of when statically referenced types are loaded is unspecified. The following code example demonstrates the constructor. It contains a method that generates a with a custom message, and displays the error message to the console. :::code language="csharp" source="~/snippets/csharp/System/TypeLoadException/.ctor/typeloadexception_constructor2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeLoadException_Constructor2/VB/typeloadexception_constructor2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TypeLoadException/.ctor/typeloadexception_constructor2.vb" id="Snippet1"::: ]]> @@ -296,7 +296,7 @@ The exact timing of when statically referenced types are loaded is unspecified. The following example generates an exception, and serializes the exception data to a file, and then reconstitutes the exception. For this code example to run, you must provide the fully qualified assembly name. For information about how to obtain the fully qualified assembly name, see [Assembly Names](/dotnet/standard/assembly/names). :::code language="csharp" source="~/snippets/csharp/System/TypeLoadException/.ctor/typeloadexception_getobjectdata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeLoadException_GetObjectData/VB/typeloadexception_getobjectdata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TypeLoadException/.ctor/typeloadexception_getobjectdata.vb" id="Snippet1"::: ]]> @@ -368,7 +368,7 @@ The exact timing of when statically referenced types are loaded is unspecified. The following code example demonstrates the constructor. It contains a method that generates a , catches that exception, and throws a new with a custom message, including the original as the inner exception. :::code language="csharp" source="~/snippets/csharp/System/TypeLoadException/.ctor/typeloadexception_constructor3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeLoadException_Constructor3/VB/typeloadexception_constructor3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TypeLoadException/.ctor/typeloadexception_constructor3.vb" id="Snippet1"::: ]]> @@ -451,7 +451,7 @@ The exact timing of when statically referenced types are loaded is unspecified. The following example generates an exception, and serializes the exception data to a file, and then reconstitutes the exception. For this code example to run, you must provide the fully qualified assembly name. For information about how to obtain the fully qualified assembly name, see [Assembly Names](/dotnet/standard/assembly/names). :::code language="csharp" source="~/snippets/csharp/System/TypeLoadException/.ctor/typeloadexception_getobjectdata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeLoadException_GetObjectData/VB/typeloadexception_getobjectdata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TypeLoadException/.ctor/typeloadexception_getobjectdata.vb" id="Snippet1"::: ]]> @@ -522,7 +522,7 @@ The exact timing of when statically referenced types are loaded is unspecified. The following example attempts to load a non-existent type from the mscorlib assembly. The resulting exception is caught, and the and values are displayed. For this code example to run, you must provide the fully qualified assembly name. For information about how to obtain the fully qualified assembly name, see [Assembly Names](/dotnet/standard/assembly/names). :::code language="csharp" source="~/snippets/csharp/System/TypeLoadException/Message/typeloadexception_typename.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeLoadException_TypeName/VB/typeloadexception_typename.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TypeLoadException/Message/typeloadexception_typename.vb" id="Snippet1"::: ]]> @@ -577,7 +577,7 @@ The exact timing of when statically referenced types are loaded is unspecified. The following example attempts to load a non-existent type from the mscorlib assembly. The resulting exception is caught, and the and values are displayed. For this code example to run, you must provide the fully qualified assembly name. For information about how to obtain the fully qualified assembly name, see [Assembly Names](/dotnet/standard/assembly/names). :::code language="csharp" source="~/snippets/csharp/System/TypeLoadException/Message/typeloadexception_typename.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/TypeLoadException_TypeName/VB/typeloadexception_typename.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TypeLoadException/Message/typeloadexception_typename.vb" id="Snippet1"::: ]]> diff --git a/xml/System/TypedReference.xml b/xml/System/TypedReference.xml index 1117a0f44a2..9178bf6039c 100644 --- a/xml/System/TypedReference.xml +++ b/xml/System/TypedReference.xml @@ -73,7 +73,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.typedreference/cpp/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/TypedReference/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TypedReference/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.typedreference/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TypedReference/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System/UInt16.xml b/xml/System/UInt16.xml index 6a68d28c104..cb0c756de98 100644 --- a/xml/System/UInt16.xml +++ b/xml/System/UInt16.xml @@ -413,7 +413,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UInt16/CompareTo/source.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/CompareTo/source.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/UInt16 Example/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/CompareTo/source.vb" id="Snippet3"::: ]]> @@ -507,7 +507,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Boolean/CompareTo/cat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Boolean/CompareTo/cat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/T.CompareTo/VB/cat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Boolean/CompareTo/cat.vb" id="Snippet1"::: ]]> @@ -792,7 +792,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UInt16/Equals/uint16_equals.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/Equals/uint16_equals.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/UInt16_Equals/VB/uint16_equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/Equals/uint16_equals.vb" id="Snippet1"::: ]]> @@ -801,7 +801,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UInt16/Equals/equalsoverl.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/Equals/equalsoverl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.equals/vb/equalsoverl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/Equals/equalsoverl.vb" id="Snippet1"::: @@ -867,7 +867,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UInt16/Equals/equalsoverl.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/Equals/equalsoverl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.equals/vb/equalsoverl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/Equals/equalsoverl.vb" id="Snippet1"::: @@ -1280,7 +1280,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt16/MaxValue/MaxValue.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/MaxValue/MaxValue.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.UInt16.MaxValue/vb/MaxValue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/MaxValue/MaxValue.vb" id="Snippet1"::: ]]> @@ -1391,7 +1391,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt16/MaxValue/MaxValue.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/MaxValue/MaxValue.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.UInt16.MaxValue/vb/MaxValue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/MaxValue/MaxValue.vb" id="Snippet1"::: ]]> @@ -1492,7 +1492,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt16/Parse/parseex5.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/Parse/parseex5.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.parse/vb/parseex5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/Parse/parseex5.vb" id="Snippet5"::: ]]> @@ -1720,7 +1720,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt16/Parse/parseex2.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/Parse/parseex2.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.parse/vb/parseex2.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/Parse/parseex2.vb" id="Snippet6"::: ]]> @@ -1846,7 +1846,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt16/Parse/parseex3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/Parse/parseex3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.parse/vb/parseex3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/Parse/parseex3.vb" id="Snippet3"::: ]]> @@ -2104,7 +2104,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt16/Parse/parseex4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/Parse/parseex4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.parse/vb/parseex4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/Parse/parseex4.vb" id="Snippet4"::: ]]> @@ -6129,7 +6129,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt16/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.tostring/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/ToString/tostring1.vb" id="Snippet1"::: ]]> @@ -6223,7 +6223,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt16/ToString/tostring2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/ToString/tostring2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.tostring/vb/tostring2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/ToString/tostring2.vb" id="Snippet2"::: ]]> @@ -6324,7 +6324,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt16/ToString/tostring3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/ToString/tostring3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.tostring/vb/tostring3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/ToString/tostring3.vb" id="Snippet3"::: ]]> @@ -6436,7 +6436,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt16/ToString/tostring4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/ToString/tostring4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.tostring/vb/tostring4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/ToString/tostring4.vb" id="Snippet4"::: ]]> @@ -6810,7 +6810,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt16/TryParse/tryparse11.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/TryParse/tryparse11.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tryparse/vb/tryparse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/TryParse/tryparse1.vb" id="Snippet1"::: ]]> @@ -7232,7 +7232,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt16/TryParse/tryparse2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/TryParse/tryparse2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.tryparse/vb/tryparse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/TryParse/tryparse2.vb" id="Snippet2"::: ]]> diff --git a/xml/System/UInt32.xml b/xml/System/UInt32.xml index 29ce9263424..a7892d35e4d 100644 --- a/xml/System/UInt32.xml +++ b/xml/System/UInt32.xml @@ -447,7 +447,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UInt32/CompareTo/source.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt32/CompareTo/source.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/UInt32 Example/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt32/CompareTo/source.vb" id="Snippet3"::: ]]> @@ -541,7 +541,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Boolean/CompareTo/cat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Boolean/CompareTo/cat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/T.CompareTo/VB/cat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Boolean/CompareTo/cat.vb" id="Snippet1"::: ]]> @@ -832,7 +832,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UInt32/Equals/uint32_equals.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt32/Equals/uint32_equals.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/UInt32_Equals/VB/uint32_equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt32/Equals/uint32_equals.vb" id="Snippet1"::: ]]> @@ -841,7 +841,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UInt32/Equals/equalsoverl.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt32/Equals/equalsoverl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.equals/vb/equalsoverl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt32/Equals/equalsoverl.vb" id="Snippet1"::: @@ -908,7 +908,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UInt32/Equals/equalsoverl.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt32/Equals/equalsoverl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.equals/vb/equalsoverl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt32/Equals/equalsoverl.vb" id="Snippet1"::: @@ -1333,7 +1333,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt32/MaxValue/MaxValue1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt32/MaxValue/MaxValue1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.UInt32.MaxValue/vb/MaxValue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt32/MaxValue/MaxValue1.vb" id="Snippet1"::: ]]> @@ -1444,7 +1444,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt32/CompareTo/source.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt32/CompareTo/source.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/UInt32 Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt32/CompareTo/source.vb" id="Snippet2"::: ]]> @@ -1545,7 +1545,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt32/Parse/parse1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt32/Parse/parse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.parse/vb/parse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt32/Parse/parse1.vb" id="Snippet1"::: ]]> @@ -1769,7 +1769,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt32/Parse/parseex2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt32/Parse/parseex2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.parse/vb/parseex2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt32/Parse/parseex2.vb" id="Snippet2"::: ]]> @@ -1895,7 +1895,7 @@ For this method matches the IEEE 754:2 The following example is the button click event handler of a Web form. It uses the array returned by the property to determine the user's locale. It then instantiates a object that corresponds to that locale. The object that belongs to that object is then passed to the method to convert the user's input to a value. :::code language="csharp" source="~/snippets/csharp/System/Decimal/Parse/Default.aspx.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ParseMethod/vb/Default.aspx.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Parse/Default.aspx.vb" id="Snippet6"::: ]]> @@ -2153,7 +2153,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt32/Parse/parseex4.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt32/Parse/parseex4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.parse/vb/parseex4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt32/Parse/parseex4.vb" id="Snippet4"::: ]]> @@ -6185,7 +6185,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt32/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt32/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tostring/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt32/ToString/tostring1.vb" id="Snippet1"::: ]]> @@ -6279,7 +6279,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt32/ToString/tostring2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt32/ToString/tostring2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tostring/vb/tostring2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt32/ToString/tostring2.vb" id="Snippet2"::: ]]> @@ -6380,7 +6380,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt32/ToString/tostring3.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt32/ToString/tostring3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tostring/vb/tostring3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt32/ToString/tostring3.vb" id="Snippet3"::: ]]> @@ -6496,7 +6496,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt32/ToString/tostring4.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt32/ToString/tostring4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tostring/vb/tostring4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt32/ToString/tostring4.vb" id="Snippet4"::: ]]> @@ -6870,7 +6870,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt16/TryParse/tryparse11.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/TryParse/tryparse11.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tryparse/vb/tryparse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/TryParse/tryparse1.vb" id="Snippet1"::: ]]> @@ -7275,7 +7275,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt16/TryParse/tryparse21.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/TryParse/tryparse21.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tryparse/vb/tryparse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/TryParse/tryparse21.vb" id="Snippet2"::: ]]> diff --git a/xml/System/UInt64.xml b/xml/System/UInt64.xml index 8d8164e4bf9..cb6fbac6f7c 100644 --- a/xml/System/UInt64.xml +++ b/xml/System/UInt64.xml @@ -445,7 +445,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UInt64/CompareTo/source.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/CompareTo/source.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/UInt64 Example/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/CompareTo/source.vb" id="Snippet3"::: ]]> @@ -539,7 +539,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Boolean/CompareTo/cat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Boolean/CompareTo/cat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/T.CompareTo/VB/cat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Boolean/CompareTo/cat.vb" id="Snippet1"::: ]]> @@ -824,7 +824,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UInt64/Equals/equals1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/Equals/equals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.equals/vb/equals1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/Equals/equals1.vb" id="Snippet1"::: ]]> @@ -833,7 +833,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UInt64/Equals/equalsoverl.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/Equals/equalsoverl.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.equals/vb/equalsoverl.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/Equals/equalsoverl.vb" id="Snippet2"::: @@ -900,7 +900,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UInt64/Equals/uint64_equals.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/Equals/uint64_equals.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/UInt64_Equals/VB/uint64_equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/Equals/uint64_equals.vb" id="Snippet1"::: ]]> @@ -909,7 +909,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UInt64/Equals/equalsoverl.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/Equals/equalsoverl.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.equals/vb/equalsoverl.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/Equals/equalsoverl.vb" id="Snippet2"::: @@ -1322,7 +1322,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt64/MaxValue/MaxValue1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/MaxValue/MaxValue1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.UInt64.MaxValue/vb/MaxValue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/MaxValue/MaxValue1.vb" id="Snippet1"::: ]]> @@ -1433,7 +1433,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt64/MaxValue/MaxValue1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/MaxValue/MaxValue1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.UInt64.MaxValue/vb/MaxValue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/MaxValue/MaxValue1.vb" id="Snippet1"::: ]]> @@ -1534,7 +1534,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt64/Parse/parse1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/Parse/parse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.parse/vb/parse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/Parse/parse1.vb" id="Snippet1"::: ]]> @@ -1756,7 +1756,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt64/Parse/parseex2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/Parse/parseex2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.parse/vb/parseex2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/Parse/parseex2.vb" id="Snippet2"::: ]]> @@ -1881,7 +1881,7 @@ For this method matches the IEEE 754:2 The following example is the button click event handler of a Web form. It uses the array returned by the property to determine the user's locale. It then instantiates a object that corresponds to that locale. The object that belongs to that object is then passed to the method to convert the user's input to a value. :::code language="csharp" source="~/snippets/csharp/System/Decimal/Parse/Default.aspx.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/ParseMethod/vb/Default.aspx.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Parse/Default.aspx.vb" id="Snippet1"::: ]]> @@ -2136,7 +2136,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt64/Parse/parseex4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/Parse/parseex4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.parse/vb/parseex4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/Parse/parseex4.vb" id="Snippet4"::: ]]> @@ -6157,7 +6157,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt64/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tostring/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/ToString/tostring1.vb" id="Snippet1"::: ]]> @@ -6251,7 +6251,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt64/ToString/tostring2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/ToString/tostring2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tostring/vb/tostring2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/ToString/tostring2.vb" id="Snippet2"::: ]]> @@ -6352,7 +6352,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt64/ToString/tostring3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/ToString/tostring3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tostring/vb/tostring3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/ToString/tostring3.vb" id="Snippet3"::: ]]> @@ -6464,7 +6464,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt64/ToString/tostring4.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/ToString/tostring4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tostring/vb/tostring4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/ToString/tostring4.vb" id="Snippet4"::: ]]> @@ -6837,7 +6837,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt64/TryParse/tryparse1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/TryParse/tryparse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tryparse/vb/tryparse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/TryParse/tryparse1.vb" id="Snippet1"::: ]]> @@ -7242,7 +7242,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt64/TryParse/tryparse2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/TryParse/tryparse2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tryparse/vb/tryparse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/TryParse/tryparse2.vb" id="Snippet2"::: ]]> diff --git a/xml/System/UIntPtr.xml b/xml/System/UIntPtr.xml index a41d48c3df0..9e84362faab 100644 --- a/xml/System/UIntPtr.xml +++ b/xml/System/UIntPtr.xml @@ -532,7 +532,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UIntPtr/Add/add1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UIntPtr/Add/add1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uintptr.add/vb/add1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UIntPtr/Add/add1.vb" id="Snippet1"::: ]]> @@ -1476,7 +1476,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UIntPtr/op_Addition/op_addition1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UIntPtr/op_Addition/op_addition1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uintptr.op_addition/vb/op_addition1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UIntPtr/op_Addition/op_addition1.vb" id="Snippet1"::: Languages that do not support custom operators can call the method instead. @@ -2019,7 +2019,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UIntPtr/op_Addition/op_subtraction1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/UIntPtr/op_Addition/op_subtraction1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uintptr.op_addition/vb/op_subtraction1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/UIntPtr/op_Addition/op_subtraction1.vb" id="Snippet2"::: Languages that do not support custom operators can call the method instead. @@ -2700,7 +2700,7 @@ It is recommended that a function return `1`, `0`, and `-1`, respectively. :::code language="csharp" source="~/snippets/csharp/System/UIntPtr/Subtract/subtract1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UIntPtr/Subtract/subtract1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uintptr.subtract/vb/subtract1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UIntPtr/Subtract/subtract1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/UnauthorizedAccessException.xml b/xml/System/UnauthorizedAccessException.xml index fe56d704e68..df6d9115eab 100644 --- a/xml/System/UnauthorizedAccessException.xml +++ b/xml/System/UnauthorizedAccessException.xml @@ -85,7 +85,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UnauthorizedAccessException/Overview/withio.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UnauthorizedAccessException/Overview/withio.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.unauthorizedaccessexception/vb/withio.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UnauthorizedAccessException/Overview/withio.vb" id="Snippet1"::: ]]> diff --git a/xml/System/UnhandledExceptionEventArgs.xml b/xml/System/UnhandledExceptionEventArgs.xml index 7712ed40891..42e92a57161 100644 --- a/xml/System/UnhandledExceptionEventArgs.xml +++ b/xml/System/UnhandledExceptionEventArgs.xml @@ -177,7 +177,7 @@ :::code language="csharp" source="~/snippets/csharp/System/AppDomain/UnhandledException/unhandledexception.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/UnhandledException/unhandledexception.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/AppDomain_UnhandledException/VB/unhandledexception.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UnhandledExceptionEventArgs/ExceptionObject/unhandledexception.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Uri.xml b/xml/System/Uri.xml index 4e378e6e4dc..4c197337191 100644 --- a/xml/System/Uri.xml +++ b/xml/System/Uri.xml @@ -106,7 +106,7 @@ The following example creates an instance of the class and use :::code language="csharp" source="~/snippets/csharp/System/Uri/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Uri/Overview/source.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic Uri Example/VB/source.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/Uri/Overview/source.vb" id="Snippet1"::: The following code snippet shows example values of the various properties on the class. @@ -204,7 +204,7 @@ The following code snippet shows example values of the various properties on the :::code language="csharp" source="~/snippets/csharp/System/Uri/.ctor/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Uri/.ctor/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.Uri Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Uri/.ctor/source.vb" id="Snippet1"::: ]]> @@ -453,7 +453,7 @@ The following code snippet shows example values of the various properties on the :::code language="csharp" source="~/snippets/csharp/System/Uri/.ctor/source1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Uri/.ctor/source1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.Uri1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Uri/.ctor/source1.vb" id="Snippet1"::: ]]> @@ -750,7 +750,7 @@ The following code snippet shows example values of the various properties on the :::code language="csharp" source="~/snippets/csharp/System/Uri/.ctor/source2.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Uri/.ctor/source2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic Uri.Uri3 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Uri/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -871,7 +871,7 @@ The following code snippet shows example values of the various properties on the :::code language="csharp" source="~/snippets/csharp/System/Uri/.ctor/nclurienhancements.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Uri/.ctor/nclurienhancements.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLUriEnhancements/VB/nclurienhancements.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Uri/.ctor/nclurienhancements.vb" id="Snippet2"::: ]]> @@ -1014,7 +1014,7 @@ The URI formed by combining and @@ -1131,7 +1131,7 @@ The URI formed by combining and @@ -1191,7 +1191,7 @@ The URI formed by combining and @@ -1251,7 +1251,7 @@ The URI formed by combining and @@ -1380,7 +1380,7 @@ The URI formed by combining and @@ -1454,7 +1454,7 @@ The URI formed by combining and @@ -1694,7 +1694,7 @@ If you used an escaped string to construct this instance (for example, `"http:// :::code language="csharp" source="~/snippets/csharp/System/Uri/.ctor/nclurienhancements.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Uri/.ctor/nclurienhancements.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLUriEnhancements/VB/nclurienhancements.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Uri/.ctor/nclurienhancements.vb" id="Snippet4"::: As explained in Remarks, unescape the host name before resolving it. You can use the method to unescape the host name, and you can resolve it by calling the method. @@ -1779,7 +1779,7 @@ If you used an escaped string to construct this instance (for example, `"http:// :::code language="csharp" source="~/snippets/csharp/System/Uri/CheckSchemeName/uriexamples.cs" interactive="try-dotnet-method" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Uri/CheckSchemeName/uriexamples.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLUriExamples/VB/uriexamples.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Uri/CheckSchemeName/uriexamples.vb" id="Snippet8"::: ]]> @@ -2199,7 +2199,7 @@ If you used an escaped string to construct this instance (for example, `"http:// :::code language="csharp" source="~/snippets/csharp/System/Uri/CheckSchemeName/uriexamples.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Uri/CheckSchemeName/uriexamples.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLUriExamples/VB/uriexamples.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Uri/CheckSchemeName/uriexamples.vb" id="Snippet4"::: ]]> @@ -2259,7 +2259,7 @@ If you used an escaped string to construct this instance (for example, `"http:// :::code language="csharp" source="~/snippets/csharp/System/Uri/CheckSchemeName/uriexamples.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Uri/CheckSchemeName/uriexamples.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLUriExamples/VB/uriexamples.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Uri/CheckSchemeName/uriexamples.vb" id="Snippet1"::: ]]> @@ -2387,7 +2387,7 @@ If you used an escaped string to construct this instance (for example, `"http:// :::code language="csharp" source="~/snippets/csharp/System/Uri/CheckSchemeName/uriexamples.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Uri/CheckSchemeName/uriexamples.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLUriExamples/VB/uriexamples.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Uri/CheckSchemeName/uriexamples.vb" id="Snippet4"::: ]]> @@ -2471,7 +2471,7 @@ The following examples show a URI and the results of calling @@ -2574,7 +2574,7 @@ The following examples show a URI and the results of calling @@ -2634,7 +2634,7 @@ The following examples show a URI and the results of calling @@ -2695,7 +2695,7 @@ The following examples show a URI and the results of calling @@ -2752,7 +2752,7 @@ The following examples show a URI and the results of calling @@ -3003,7 +3003,7 @@ The following examples show a URI and the results of calling @@ -3062,7 +3062,7 @@ The following examples show a URI and the results of calling @@ -3183,7 +3183,7 @@ The following examples show a URI and the results of calling @@ -3244,7 +3244,7 @@ The following examples show a URI and the results of calling @@ -3306,7 +3306,7 @@ The following examples show a URI and the results of calling @@ -3366,7 +3366,7 @@ The following examples show a URI and the results of calling @@ -3487,7 +3487,7 @@ The following examples show a URI and the results of calling @@ -3707,7 +3707,7 @@ The following examples show a URI and the results of calling @@ -3796,7 +3796,7 @@ The following examples show a URI and the results of calling @@ -3872,7 +3872,7 @@ The following examples show a URI and the results of calling @@ -3941,7 +3941,7 @@ The following examples show a URI and the results of calling @@ -4007,7 +4007,7 @@ The following examples show a URI and the results of calling @@ -4073,7 +4073,7 @@ The following examples show a URI and the results of calling @@ -4192,7 +4192,7 @@ The following examples show a URI and the results of calling @@ -4252,7 +4252,7 @@ The following examples show a URI and the results of calling @@ -4316,7 +4316,7 @@ The following examples show a URI and the results of calling @@ -4394,7 +4394,7 @@ The following examples show a URI and the results of calling @@ -4446,7 +4446,7 @@ The following examples show a URI and the results of calling @@ -4535,7 +4535,7 @@ The following examples show a URI and the results of calling @@ -4740,7 +4740,7 @@ The following examples show a URI and the results of calling @@ -5365,7 +5365,7 @@ The following examples show a URI and the results of calling @@ -5416,7 +5416,7 @@ The following examples show a URI and the results of calling @@ -5497,7 +5497,7 @@ The following examples show a URI and the results of calling @@ -5548,7 +5548,7 @@ The following examples show a URI and the results of calling @@ -5599,7 +5599,7 @@ The following examples show a URI and the results of calling @@ -5650,7 +5650,7 @@ The following examples show a URI and the results of calling @@ -5779,7 +5779,7 @@ The following examples show a URI and the results of calling @@ -5833,7 +5833,7 @@ The following examples show a URI and the results of calling @@ -6044,7 +6044,7 @@ The property was originally designed to indicate t :::code language="csharp" source="~/snippets/csharp/System/Uri/CheckSchemeName/uriexamples.cs" interactive="try-dotnet-method" id="Snippet18"::: :::code language="fsharp" source="~/snippets/fsharp/System/Uri/CheckSchemeName/uriexamples.fs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLUriExamples/VB/uriexamples.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System/Uri/CheckSchemeName/uriexamples.vb" id="Snippet18"::: ]]> @@ -6103,7 +6103,7 @@ The property was originally designed to indicate t :::code language="csharp" source="~/snippets/csharp/System/Uri/CheckSchemeName/uriexamples.cs" interactive="try-dotnet-method" id="Snippet18"::: :::code language="fsharp" source="~/snippets/fsharp/System/Uri/CheckSchemeName/uriexamples.fs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/NCLUriExamples/VB/uriexamples.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System/Uri/CheckSchemeName/uriexamples.vb" id="Snippet18"::: ]]> diff --git a/xml/System/UriBuilder.xml b/xml/System/UriBuilder.xml index 6e6fe4891fd..44e76ae6629 100644 --- a/xml/System/UriBuilder.xml +++ b/xml/System/UriBuilder.xml @@ -345,7 +345,7 @@ Note: In @@ -413,7 +413,7 @@ Note: In @@ -485,7 +485,7 @@ Note: In @@ -559,7 +559,7 @@ Note: In @@ -704,7 +704,7 @@ The property contains any text following a fra :::code language="csharp" source="~/snippets/csharp/System/UriBuilder/Fragment/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UriBuilder/Fragment/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/Classic UriBuilder.Fragment Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UriBuilder/Fragment/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System/ValueType.xml b/xml/System/ValueType.xml index 6119481da39..c057f1d802d 100644 --- a/xml/System/ValueType.xml +++ b/xml/System/ValueType.xml @@ -78,13 +78,13 @@ :::code language="csharp" source="~/snippets/csharp/System/ValueType/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/ValueType/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.valuetype.structure/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ValueType/Overview/example1.vb" id="Snippet1"::: The following example illustrates calls to the methods of the `Utility` class. :::code language="csharp" source="~/snippets/csharp/System/ValueType/Overview/example1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/ValueType/Overview/example1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.valuetype.structure/vb/example1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ValueType/Overview/example1.vb" id="Snippet2"::: ]]> @@ -349,7 +349,7 @@ The following example demonstrates how the class, which overrides . diff --git a/xml/System/Version.xml b/xml/System/Version.xml index 26994421a53..e82c3662a36 100644 --- a/xml/System/Version.xml +++ b/xml/System/Version.xml @@ -119,7 +119,7 @@ The following example uses the :::code language="csharp" source="~/snippets/csharp/System/Version/Overview/example1.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Version/Overview/example1.fs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Version.Class/vb/example1.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System/Version/Overview/example1.vb" id="Snippet6"::: ]]> @@ -446,7 +446,7 @@ The following example uses the :::code language="csharp" source="~/snippets/csharp/System/Version/.ctor/rev.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Version/.ctor/rev.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.version.revision/vb/rev.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Version/.ctor/rev.vb" id="Snippet1"::: ]]> @@ -509,7 +509,7 @@ The following example uses the :::code language="csharp" source="~/snippets/csharp/System/Version/.ctor/rev.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Version/.ctor/rev.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.version.revision/vb/rev.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Version/.ctor/rev.vb" id="Snippet1"::: ]]> @@ -759,7 +759,7 @@ The following example uses the :::code language="csharp" source="~/snippets/csharp/System/Boolean/CompareTo/cat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Boolean/CompareTo/cat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/T.CompareTo/VB/cat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Boolean/CompareTo/cat.vb" id="Snippet1"::: ]]> @@ -957,7 +957,7 @@ The following example uses the :::code language="csharp" source="~/snippets/csharp/System/Version/.ctor/rev.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Version/.ctor/rev.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.version.revision/vb/rev.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Version/.ctor/rev.vb" id="Snippet1"::: ]]> @@ -1071,7 +1071,7 @@ The following example uses the :::code language="csharp" source="~/snippets/csharp/System/Version/.ctor/rev.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Version/.ctor/rev.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.version.revision/vb/rev.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Version/.ctor/rev.vb" id="Snippet1"::: ]]> @@ -1133,7 +1133,7 @@ The following example uses the :::code language="csharp" source="~/snippets/csharp/System/Version/.ctor/rev.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Version/.ctor/rev.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.version.revision/vb/rev.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Version/.ctor/rev.vb" id="Snippet1"::: ]]> @@ -1193,7 +1193,7 @@ The following example uses the :::code language="csharp" source="~/snippets/csharp/System/Version/.ctor/rev.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Version/.ctor/rev.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.version.revision/vb/rev.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Version/.ctor/rev.vb" id="Snippet1"::: ]]> @@ -1707,7 +1707,7 @@ where `major`, `minor`, `build`, and `revision` are the string representations o :::code language="csharp" source="~/snippets/csharp/System/Version/Parse/parse1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Version/Parse/parse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.version.parse/vb/parse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Version/Parse/parse1.vb" id="Snippet1"::: ]]> @@ -1777,7 +1777,7 @@ where `major`, `minor`, `build`, and `revision` are the string representations o :::code language="csharp" source="~/snippets/csharp/System/Version/.ctor/rev.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Version/.ctor/rev.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.version.revision/vb/rev.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Version/.ctor/rev.vb" id="Snippet1"::: ]]> @@ -2541,7 +2541,7 @@ where `major`, `minor`, `build`, and `revision` are the string representations o :::code language="csharp" source="~/snippets/csharp/System/Version/TryParse/tryparse1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Version/TryParse/tryparse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.version.tryparse/vb/tryparse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Version/TryParse/tryparse1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/WeakReference.xml b/xml/System/WeakReference.xml index f3e8086ecee..df306c57a57 100644 --- a/xml/System/WeakReference.xml +++ b/xml/System/WeakReference.xml @@ -88,7 +88,7 @@ :::code language="csharp" source="~/snippets/csharp/System/WeakReference/Overview/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/WeakReference/Overview/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/WeakReference/vb/Module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/WeakReference/Overview/Module1.vb" id="Snippet1"::: ]]> @@ -223,7 +223,7 @@ :::code language="csharp" source="~/snippets/csharp/System/WeakReference/Overview/program.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/WeakReference/Overview/program.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/WeakReference/vb/Module1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/WeakReference/Overview/Module1.vb" id="Snippet2"::: ]]> @@ -557,7 +557,7 @@ :::code language="csharp" source="~/snippets/csharp/System/WeakReference/Overview/program.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/WeakReference/Overview/program.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/WeakReference/vb/Module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/WeakReference/Overview/Module1.vb" id="Snippet3"::: ]]>